✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/motopress-hotel-booking/assets/blocks//blocks.min.js
"use strict";var __=wp.i18n.__,createElement=wp.element.createElement,registerBlockType=wp.blocks.registerBlockType,ServerSideRender=wp.serverSideRender||wp.components.ServerSideRender,editorControls=wp.blockEditor||wp.editor,InspectorControls=editorControls.InspectorControls,PanelBody=wp.components.PanelBody,TextControl=wp.components.TextControl,ToggleControl=wp.components.ToggleControl,SelectControl=wp.components.SelectControl,BlockControls=editorControls.BlockControls,BlockAlignmentToolbar=editorControls.BlockAlignmentToolbar,Placeholder=wp.components.Placeholder,Disabled=wp.components.Disabled;MPHBBlockEditor.isValidRoomTypeId=function(e){var t=parseInt(e);return!isNaN(t)&&0<=this.roomTypeIds.indexOf(t)};var getEditWrapperProps=function(e){var t=e.alignment;if("wide"==t||"full"==t)return{"data-align":t}};registerBlockType("motopress-hotel-booking/availability-search",{title:__("Availability Search Form","motopress-hotel-booking"),category:"hotel-booking",icon:"search",attributes:{adults:{type:"number",default:MPHBBlockEditor.minAdults},children:{type:"number",default:MPHBBlockEditor.minChildren},check_in_date:{type:"string",default:""},check_out_date:{type:"string",default:""},attributes:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[!!t.isSelected&&createElement(InspectorControls,{key:"inspector-controls"},createElement(PanelBody,{title:__("Settings","motopress-hotel-booking")},[createElement(TextControl,{label:__("Adults","motopress-hotel-booking"),help:__("The number of adults presetted in the search form.","motopress-hotel-booking"),type:"number",value:t.attributes.adults,min:MPHBBlockEditor.minAdults,max:MPHBBlockEditor.maxAdults,onChange:function(e){t.setAttributes({adults:parseInt(e)})},key:"adults-control"}),createElement(TextControl,{label:__("Children","motopress-hotel-booking"),help:__("The number of children presetted in the search form.","motopress-hotel-booking"),type:"number",value:t.attributes.children,min:MPHBBlockEditor.minChildren,max:MPHBBlockEditor.maxChildren,onChange:function(e){t.setAttributes({children:parseInt(e)})},key:"children-control"}),createElement(TextControl,{label:__("Check-in Date","motopress-hotel-booking"),help:__("Preset date. Formatted as %s","motopress-hotel-booking").replace("%s",MPHBBlockEditor.dateFormat),value:t.attributes.check_in_date,onChange:function(e){t.setAttributes({check_in_date:e})},key:"check_in_date-control"}),createElement(TextControl,{label:__("Check-out Date","motopress-hotel-booking"),help:__("Preset date. Formatted as %s","motopress-hotel-booking").replace("%s",MPHBBlockEditor.dateFormat),value:t.attributes.check_out_date,onChange:function(e){t.setAttributes({check_out_date:e})},key:"check_out_date-control"}),createElement(TextControl,{label:__("Custom attributes for advanced search.","motopress-hotel-booking"),help:__("Comma-separated slugs of attributes.","motopress-hotel-booking"),value:t.attributes.attributes,onChange:function(e){t.setAttributes({attributes:e})},key:"attributes-control"})])),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/availability-search",attributes:t.attributes}))]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/availability-calendar",{title:__("Availability Calendar","motopress-hotel-booking"),description:__("Display availability calendar of the current accommodation type or by ID.","motopress-hotel-booking"),category:"hotel-booking",icon:"calendar-alt",attributes:{id:{type:"string",default:""},monthstoshow:{type:"string",default:"2"},display_price:{type:"boolean",default:!1},truncate_price:{type:"boolean",default:!0},display_currency:{type:"boolean",default:!1},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){var e=!!t.isSelected;MPHBBlockEditor.isValidRoomTypeId(t.attributes.id);return[e&&createElement(InspectorControls,{key:"inspector-controls"},createElement(PanelBody,{title:__("Settings","motopress-hotel-booking")},[createElement(TextControl,{label:__("Accommodation Type ID","motopress-hotel-booking"),help:__("ID of Accommodation Type to check availability.","motopress-hotel-booking"),value:t.attributes.id,onChange:function(e){t.setAttributes({id:e})},key:"id-control"}),createElement(TextControl,{label:__("How many months to show.","motopress-hotel-booking"),help:__('Set the number of columns or the number of rows and columns separated by comma. Example: "3" or "2,3"',"motopress-hotel-booking"),value:t.attributes.monthstoshow,onChange:function(e){t.setAttributes({monthstoshow:e})},key:"monthstoshow-control"}),createElement(ToggleControl,{label:__("Display per-night prices in the availability calendar.","motopress-hotel-booking"),checked:t.attributes.display_price,onChange:function(e){t.setAttributes({display_price:e})},key:"display_price-control"}),createElement(ToggleControl,{label:__("Truncate per-night prices in the availability calendar.","motopress-hotel-booking"),checked:t.attributes.truncate_price,onChange:function(e){t.setAttributes({truncate_price:e})},key:"truncate_price-control"}),createElement(ToggleControl,{label:__("Display the currency sign in the availability calendar.","motopress-hotel-booking"),checked:t.attributes.display_currency,onChange:function(e){t.setAttributes({display_currency:e})},key:"display_currency-control"})])),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Placeholder,{icon:"calendar-alt",label:__("Availability Calendar","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/search-results",{title:__("Availability Search Results","motopress-hotel-booking"),description:__("Display listing of accommodation types that meet the search criteria.","motopress-hotel-booking"),category:"hotel-booking",icon:"filter",attributes:{title:{type:"boolean",default:!0},featured_image:{type:"boolean",default:!0},gallery:{type:"boolean",default:!0},excerpt:{type:"boolean",default:!0},details:{type:"boolean",default:!0},price:{type:"boolean",default:!0},view_button:{type:"boolean",default:!0},orderby:{type:"string",default:"menu_order"},order:{type:"string",default:"DESC"},meta_key:{type:"string",default:""},meta_type:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[!!t.isSelected&&createElement(InspectorControls,{key:"inspector-controls"},[createElement(PanelBody,{title:__("Settings","motopress-hotel-booking"),key:"settings-panel"},[createElement(ToggleControl,{label:__("Title","motopress-hotel-booking"),help:__("Whether to display title of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.title,onChange:function(e){t.setAttributes({title:e})},key:"title-control"}),createElement(ToggleControl,{label:__("Featured Image","motopress-hotel-booking"),help:__("Whether to display featured image of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.featured_image,onChange:function(e){t.setAttributes({featured_image:e})},key:"featured_image-control"}),createElement(ToggleControl,{label:__("Gallery","motopress-hotel-booking"),help:__("Whether to display gallery of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.gallery,onChange:function(e){t.setAttributes({gallery:e})},key:"gallery-control"}),createElement(ToggleControl,{label:__("Excerpt (short description)","motopress-hotel-booking"),help:__("Whether to display excerpt (short description) of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.excerpt,onChange:function(e){t.setAttributes({excerpt:e})},key:"excerpt-control"}),createElement(ToggleControl,{label:__("Details","motopress-hotel-booking"),help:__("Whether to display details of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.details,onChange:function(e){t.setAttributes({details:e})},key:"details-control"}),createElement(ToggleControl,{label:__("Price","motopress-hotel-booking"),help:__("Whether to display price of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.price,onChange:function(e){t.setAttributes({price:e})},key:"price-control"}),createElement(ToggleControl,{label:__("View Button","motopress-hotel-booking"),help:__('Whether to display "View Details" button with the link to accommodation type.',"motopress-hotel-booking"),checked:t.attributes.view_button,onChange:function(e){t.setAttributes({view_button:e})},key:"view_button-control"})]),createElement(PanelBody,{title:__("Order","motopress-hotel-booking"),initialOpen:!1,key:"order-panel"},[createElement(SelectControl,{label:__("Order By","motopress-hotel-booking"),value:t.attributes.orderby,options:[{value:"none",label:__("No order","motopress-hotel-booking")},{value:"ID",label:__("Post ID","motopress-hotel-booking")},{value:"author",label:__("Post author","motopress-hotel-booking")},{value:"title",label:__("Post title","motopress-hotel-booking")},{value:"name",label:__("Post name (post slug)","motopress-hotel-booking")},{value:"date",label:__("Post date","motopress-hotel-booking")},{value:"modified",label:__("Last modified date","motopress-hotel-booking")},{value:"parent",label:__("Parent ID","motopress-hotel-booking")},{value:"rand",label:__("Random order","motopress-hotel-booking")},{value:"comment_count",label:__("Number of comments","motopress-hotel-booking")},{value:"relevance",label:__("Relevance","motopress-hotel-booking")},{value:"menu_order",label:__("Page order","motopress-hotel-booking")},{value:"meta_value",label:__("Meta value","motopress-hotel-booking")},{value:"meta_value_num",label:__("Numeric meta value","motopress-hotel-booking")},{value:"post__in",label:__("Price","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({orderby:e})},key:"orderby-control"}),createElement(SelectControl,{label:__("Order","motopress-hotel-booking"),value:t.attributes.order,options:[{value:"ASC",label:__("Ascending (1, 2, 3)","motopress-hotel-booking")},{value:"DESC",label:__("Descending (3, 2, 1)","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({order:e})},key:"order-control"}),createElement(TextControl,{label:__("Meta Name","motopress-hotel-booking"),help:__('Custom field name. Required if "orderby" is one of the "meta_value", "meta_value_num" or "meta_value_*".',"motopress-hotel-booking"),value:t.attributes.meta_key,onChange:function(e){t.setAttributes({meta_key:e})},key:"meta_key-control"}),createElement(SelectControl,{label:__("Meta Type","motopress-hotel-booking"),help:__('Specified type of the custom field. Can be used in conjunction with "orderby" = "meta_value".',"motopress-hotel-booking"),value:t.attributes.meta_type,options:[{value:"",label:__("Any","motopress-hotel-booking")},{value:"NUMERIC",label:__("Numeric","motopress-hotel-booking")},{value:"BINARY",label:__("Binary","motopress-hotel-booking")},{value:"CHAR",label:__("String","motopress-hotel-booking")},{value:"DATE",label:__("Date","motopress-hotel-booking")},{value:"TIME",label:__("Time","motopress-hotel-booking")},{value:"DATETIME",label:__("Date and time","motopress-hotel-booking")},{value:"DECIMAL",label:__("Decimal number","motopress-hotel-booking")},{value:"SIGNED",label:__("Signed number","motopress-hotel-booking")},{value:"UNSIGNED",label:__("Unsigned number","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({meta_type:e})},key:"meta_type-control"})])]),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Placeholder,{icon:"filter",label:__("Availability Search Results","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/rooms",{title:__("Accommodation Types Listing","motopress-hotel-booking"),category:"hotel-booking",icon:"admin-multisite",attributes:{title:{type:"boolean",default:!0},featured_image:{type:"boolean",default:!0},gallery:{type:"boolean",default:!0},excerpt:{type:"boolean",default:!0},details:{type:"boolean",default:!0},price:{type:"boolean",default:!0},view_button:{type:"boolean",default:!0},book_button:{type:"boolean",default:!0},ids:{type:"string",default:""},posts_per_page:{type:"string",default:""},category:{type:"string",default:""},tags:{type:"string",default:""},relation:{type:"string",default:"OR"},orderby:{type:"string",default:"menu_order"},order:{type:"string",default:"DESC"},meta_key:{type:"string",default:""},meta_type:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[!!t.isSelected&&createElement(InspectorControls,{key:"inspector-controls"},[createElement(PanelBody,{title:__("Settings","motopress-hotel-booking"),key:"settings-panel"},[createElement(ToggleControl,{label:__("Title","motopress-hotel-booking"),help:__("Whether to display title of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.title,onChange:function(e){t.setAttributes({title:e})},key:"title-control"}),createElement(ToggleControl,{label:__("Featured Image","motopress-hotel-booking"),help:__("Whether to display featured image of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.featured_image,onChange:function(e){t.setAttributes({featured_image:e})},key:"featured_image-control"}),createElement(ToggleControl,{label:__("Gallery","motopress-hotel-booking"),help:__("Whether to display gallery of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.gallery,onChange:function(e){t.setAttributes({gallery:e})},key:"gallery-control"}),createElement(ToggleControl,{label:__("Excerpt (short description)","motopress-hotel-booking"),help:__("Whether to display excerpt (short description) of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.excerpt,onChange:function(e){t.setAttributes({excerpt:e})},key:"excerpt-control"}),createElement(ToggleControl,{label:__("Details","motopress-hotel-booking"),help:__("Whether to display details of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.details,onChange:function(e){t.setAttributes({details:e})},key:"details-control"}),createElement(ToggleControl,{label:__("Price","motopress-hotel-booking"),help:__("Whether to display price of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.price,onChange:function(e){t.setAttributes({price:e})},key:"price-control"}),createElement(ToggleControl,{label:__("View Button","motopress-hotel-booking"),help:__('Whether to display "View Details" button with the link to accommodation type.',"motopress-hotel-booking"),checked:t.attributes.view_button,onChange:function(e){t.setAttributes({view_button:e})},key:"view_button-control"}),createElement(ToggleControl,{label:__("Book Button","motopress-hotel-booking"),help:__("Whether to display Book button.","motopress-hotel-booking"),checked:t.attributes.book_button,onChange:function(e){t.setAttributes({book_button:e})},key:"book_button-control"})]),createElement(PanelBody,{title:__("Query Settings","motopress-hotel-booking"),initialOpen:!1,key:"query-settings-panel"},[createElement(TextControl,{label:__("IDs","motopress-hotel-booking"),help:__("IDs of accommodations that will be shown.","motopress-hotel-booking"),value:t.attributes.ids,onChange:function(e){t.setAttributes({ids:e})},key:"ids-control"}),createElement(TextControl,{label:__("Count per page","motopress-hotel-booking"),help:__('integer, -1 to display all, default: "Blog pages show at most"',"motopress-hotel-booking"),value:t.attributes.posts_per_page,onChange:function(e){t.setAttributes({posts_per_page:e})},key:"posts_per_page-control"}),createElement(TextControl,{label:__("Categories","motopress-hotel-booking"),help:__("IDs of categories that will be shown.","motopress-hotel-booking"),value:t.attributes.category,onChange:function(e){t.setAttributes({category:e})},key:"category-control"}),createElement(TextControl,{label:__("Tags","motopress-hotel-booking"),help:__("IDs of tags that will be shown.","motopress-hotel-booking"),value:t.attributes.tags,onChange:function(e){t.setAttributes({tags:e})},key:"tags-control"}),createElement(SelectControl,{label:__("Relation","motopress-hotel-booking"),help:__("Logical relationship between each taxonomy when there is more than one.","motopress-hotel-booking"),value:t.attributes.relation,options:[{value:"AND",label:"AND"},{value:"OR",label:"OR"}],onChange:function(e){t.setAttributes({relation:e})},key:"relation-control"})]),createElement(PanelBody,{title:__("Order","motopress-hotel-booking"),initialOpen:!1,key:"order-panel"},[createElement(SelectControl,{label:__("Order By","motopress-hotel-booking"),value:t.attributes.orderby,options:[{value:"none",label:__("No order","motopress-hotel-booking")},{value:"ID",label:__("Post ID","motopress-hotel-booking")},{value:"author",label:__("Post author","motopress-hotel-booking")},{value:"title",label:__("Post title","motopress-hotel-booking")},{value:"name",label:__("Post name (post slug)","motopress-hotel-booking")},{value:"date",label:__("Post date","motopress-hotel-booking")},{value:"modified",label:__("Last modified date","motopress-hotel-booking")},{value:"parent",label:__("Parent ID","motopress-hotel-booking")},{value:"rand",label:__("Random order","motopress-hotel-booking")},{value:"comment_count",label:__("Number of comments","motopress-hotel-booking")},{value:"relevance",label:__("Relevance","motopress-hotel-booking")},{value:"menu_order",label:__("Page order","motopress-hotel-booking")},{value:"meta_value",label:__("Meta value","motopress-hotel-booking")},{value:"meta_value_num",label:__("Numeric meta value","motopress-hotel-booking")},{value:"post__in",label:__("Price","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({orderby:e})},key:"orderby-control"}),createElement(SelectControl,{label:__("Order","motopress-hotel-booking"),value:t.attributes.order,options:[{value:"ASC",label:__("Ascending (1, 2, 3)","motopress-hotel-booking")},{value:"DESC",label:__("Descending (3, 2, 1)","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({order:e})},key:"order-control"}),createElement(TextControl,{label:__("Meta Name","motopress-hotel-booking"),help:__('Custom field name. Required if "orderby" is one of the "meta_value", "meta_value_num" or "meta_value_*".',"motopress-hotel-booking"),value:t.attributes.meta_key,onChange:function(e){t.setAttributes({meta_key:e})},key:"meta_key-control"}),createElement(SelectControl,{label:__("Meta Type","motopress-hotel-booking"),help:__('Specified type of the custom field. Can be used in conjunction with "orderby" = "meta_value".',"motopress-hotel-booking"),value:t.attributes.meta_type,options:[{value:"",label:__("Any","motopress-hotel-booking")},{value:"NUMERIC",label:__("Numeric","motopress-hotel-booking")},{value:"BINARY",label:__("Binary","motopress-hotel-booking")},{value:"CHAR",label:__("String","motopress-hotel-booking")},{value:"DATE",label:__("Date","motopress-hotel-booking")},{value:"TIME",label:__("Time","motopress-hotel-booking")},{value:"DATETIME",label:__("Date and time","motopress-hotel-booking")},{value:"DECIMAL",label:__("Decimal number","motopress-hotel-booking")},{value:"SIGNED",label:__("Signed number","motopress-hotel-booking")},{value:"UNSIGNED",label:__("Unsigned number","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({meta_type:e})},key:"meta_type-control"})])]),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/rooms",attributes:t.attributes}))]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/services",{title:__("Services Listing","motopress-hotel-booking"),category:"hotel-booking",icon:"forms",attributes:{ids:{type:"string",default:""},posts_per_page:{type:"string",default:""},orderby:{type:"string",default:"menu_order"},order:{type:"string",default:"DESC"},meta_key:{type:"string",default:""},meta_type:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[!!t.isSelected&&createElement(InspectorControls,{key:"inspector-controls"},[createElement(PanelBody,{title:__("Query Settings","motopress-hotel-booking"),key:"query-settings-panel"},[createElement(TextControl,{label:__("IDs of services that will be shown. ","motopress-hotel-booking"),help:__("Comma-separated IDs.","motopress-hotel-booking"),value:t.attributes.ids,onChange:function(e){t.setAttributes({ids:e})},key:"ids-control"}),createElement(TextControl,{label:__("Count per page","motopress-hotel-booking"),help:__('Values: integer, -1 to display all, default: "Blog pages show at most"',"motopress-hotel-booking"),value:t.attributes.posts_per_page,onChange:function(e){t.setAttributes({posts_per_page:e})},key:"posts_per_page-control"})]),createElement(PanelBody,{title:__("Order","motopress-hotel-booking"),initialOpen:!1,key:"order-panel"},[createElement(SelectControl,{label:__("Order By","motopress-hotel-booking"),value:t.attributes.orderby,options:[{value:"none",label:__("No order","motopress-hotel-booking")},{value:"ID",label:__("Post ID","motopress-hotel-booking")},{value:"author",label:__("Post author","motopress-hotel-booking")},{value:"title",label:__("Post title","motopress-hotel-booking")},{value:"name",label:__("Post name (post slug)","motopress-hotel-booking")},{value:"date",label:__("Post date","motopress-hotel-booking")},{value:"modified",label:__("Last modified date","motopress-hotel-booking")},{value:"parent",label:__("Parent ID","motopress-hotel-booking")},{value:"rand",label:__("Random order","motopress-hotel-booking")},{value:"comment_count",label:__("Number of comments","motopress-hotel-booking")},{value:"relevance",label:__("Relevance","motopress-hotel-booking")},{value:"menu_order",label:__("Page order","motopress-hotel-booking")},{value:"meta_value",label:__("Meta value","motopress-hotel-booking")},{value:"meta_value_num",label:__("Numeric meta value","motopress-hotel-booking")},{value:"post__in",label:__("Price","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({orderby:e})},key:"orderby-control"}),createElement(SelectControl,{label:__("Order","motopress-hotel-booking"),value:t.attributes.order,options:[{value:"ASC",label:__("Ascending (1, 2, 3)","motopress-hotel-booking")},{value:"DESC",label:__("Descending (3, 2, 1)","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({order:e})},key:"order-control"}),createElement(TextControl,{label:__("Meta Name","motopress-hotel-booking"),help:__('Custom field name. Required if "orderby" is one of the "meta_value", "meta_value_num" or "meta_value_*".',"motopress-hotel-booking"),value:t.attributes.meta_key,onChange:function(e){t.setAttributes({meta_key:e})},key:"meta_key-control"}),createElement(SelectControl,{label:__("Meta Type","motopress-hotel-booking"),help:__('Specified type of the custom field. Can be used in conjunction with "orderby" = "meta_value".',"motopress-hotel-booking"),value:t.attributes.meta_type,options:[{value:"",label:__("Any","motopress-hotel-booking")},{value:"NUMERIC",label:__("Numeric","motopress-hotel-booking")},{value:"BINARY",label:__("Binary","motopress-hotel-booking")},{value:"CHAR",label:__("String","motopress-hotel-booking")},{value:"DATE",label:__("Date","motopress-hotel-booking")},{value:"TIME",label:__("Time","motopress-hotel-booking")},{value:"DATETIME",label:__("Date and time","motopress-hotel-booking")},{value:"DECIMAL",label:__("Decimal number","motopress-hotel-booking")},{value:"SIGNED",label:__("Signed number","motopress-hotel-booking")},{value:"UNSIGNED",label:__("Unsigned number","motopress-hotel-booking")}],onChange:function(e){t.setAttributes({meta_type:e})},key:"meta_type-control"})])]),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/services",attributes:t.attributes}))]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/room",{title:__("Single Accommodation Type","motopress-hotel-booking"),category:"hotel-booking",icon:"admin-home",attributes:{id:{type:"string",default:""},title:{type:"boolean",default:!0},featured_image:{type:"boolean",default:!0},gallery:{type:"boolean",default:!0},excerpt:{type:"boolean",default:!0},details:{type:"boolean",default:!0},price:{type:"boolean",default:!0},view_button:{type:"boolean",default:!0},book_button:{type:"boolean",default:!0},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){var e=!!t.isSelected,o=MPHBBlockEditor.isValidRoomTypeId(t.attributes.id);return[e&&createElement(InspectorControls,{key:"inspector-controls"},createElement(PanelBody,{title:__("Settings","motopress-hotel-booking")},[createElement(TextControl,{label:__("ID","motopress-hotel-booking"),help:__("ID of accommodation type to display.","motopress-hotel-booking"),value:t.attributes.id,onChange:function(e){t.setAttributes({id:e})},key:"id-control"}),createElement(ToggleControl,{label:__("Title","motopress-hotel-booking"),help:__("Whether to display title of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.title,onChange:function(e){t.setAttributes({title:e})},key:"title-control"}),createElement(ToggleControl,{label:__("Featured Image","motopress-hotel-booking"),help:__("Whether to display featured image of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.featured_image,onChange:function(e){t.setAttributes({featured_image:e})},key:"featured_image-control"}),createElement(ToggleControl,{label:__("Gallery","motopress-hotel-booking"),help:__("Whether to display gallery of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.gallery,onChange:function(e){t.setAttributes({gallery:e})},key:"gallery-control"}),createElement(ToggleControl,{label:__("Excerpt (short description)","motopress-hotel-booking"),help:__("Whether to display excerpt (short description) of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.excerpt,onChange:function(e){t.setAttributes({excerpt:e})},key:"excerpt-control"}),createElement(ToggleControl,{label:__("Details","motopress-hotel-booking"),help:__("Whether to display details of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.details,onChange:function(e){t.setAttributes({details:e})},key:"details-control"}),createElement(ToggleControl,{label:__("Price","motopress-hotel-booking"),help:__("Whether to display price of the accommodation type.","motopress-hotel-booking"),checked:t.attributes.price,onChange:function(e){t.setAttributes({price:e})},key:"price-control"}),createElement(ToggleControl,{label:__("View Button","motopress-hotel-booking"),help:__('Whether to display "View Details" button with the link to accommodation type.',"motopress-hotel-booking"),checked:t.attributes.view_button,onChange:function(e){t.setAttributes({view_button:e})},key:"view_button-control"}),createElement(ToggleControl,{label:__("Book Button","motopress-hotel-booking"),help:__("Whether to display Book button.","motopress-hotel-booking"),checked:t.attributes.book_button,onChange:function(e){t.setAttributes({book_button:e})},key:"book_button-control"})])),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),o&&createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/room",attributes:t.attributes})),!o&&createElement(Placeholder,{icon:"admin-home",label:__("Single Accommodation Type","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/checkout",{title:__("Checkout Form","motopress-hotel-booking"),description:__("Display checkout form.","motopress-hotel-booking"),category:"hotel-booking",icon:"cart",attributes:{alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Placeholder,{icon:"cart",label:__("Checkout Form","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/availability",{title:__("Booking Form","motopress-hotel-booking"),category:"hotel-booking",icon:"feedback",attributes:{id:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){var e=!!t.isSelected,o=MPHBBlockEditor.isValidRoomTypeId(t.attributes.id);return[e&&createElement(InspectorControls,{key:"inspector-controls"},createElement(PanelBody,{title:__("Settings","motopress-hotel-booking")},createElement(TextControl,{label:__("Accommodation Type ID","motopress-hotel-booking"),help:__("ID of Accommodation Type to check availability.","motopress-hotel-booking"),value:t.attributes.id,onChange:function(e){t.setAttributes({id:e})}}))),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),o&&createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/availability",attributes:t.attributes})),!o&&createElement(Placeholder,{icon:"feedback",label:__("Booking Form","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/rates",{title:__("Accommodation Rates List","motopress-hotel-booking"),category:"hotel-booking",icon:"admin-settings",attributes:{id:{type:"string",default:""},alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){var e=!!t.isSelected,o=MPHBBlockEditor.isValidRoomTypeId(t.attributes.id);return[e&&createElement(InspectorControls,{key:"inspector-controls"},createElement(PanelBody,{title:__("Settings","motopress-hotel-booking")},createElement(TextControl,{label:__("Accommodation Type ID","motopress-hotel-booking"),help:__("ID of accommodation type.","motopress-hotel-booking"),value:t.attributes.id,onChange:function(e){t.setAttributes({id:e})}}))),createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),o&&createElement(Disabled,{key:"server-side-render"},createElement(ServerSideRender,{block:"motopress-hotel-booking/rates",attributes:t.attributes})),!o&&createElement(Placeholder,{icon:"admin-settings",label:__("Accommodation Rates List","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),registerBlockType("motopress-hotel-booking/booking-confirmation",{title:__("Booking Confirmation","motopress-hotel-booking"),description:__("Display booking and payment details.","motopress-hotel-booking"),category:"hotel-booking",icon:"thumbs-up",attributes:{alignment:{type:"string",default:""}},getEditWrapperProps:getEditWrapperProps,edit:function(t){return[createElement(BlockControls,{key:"block-controls"},createElement(BlockAlignmentToolbar,{value:t.attributes.alignment,controls:["wide","full"],onChange:function(e){t.setAttributes({alignment:e})}})),createElement(Placeholder,{icon:"thumbs-up",label:__("Booking Confirmation","motopress-hotel-booking"),key:"block-placeholder"})]},save:function(){return null}}),function(l){function o(e){this.block=e,this.observer=new MutationObserver(this.onChange.bind(this)),this.observer.observe(e,{childList:!0,subtree:!0})}function e(){wp.data.subscribe(this.load.bind(this))}e.prototype={isLoaded:!(o.prototype={block:null,observer:null,onChange:function(e){var t=this;e.forEach(function(e){0<e.addedNodes.length&&e.addedNodes.forEach(t.onNodeAdded.bind(t))})},onNodeAdded:function(e){var t=e.getElementsByClassName("mphb-gutenberg-reinit");if(0<t.length){var o=l(t[0]);o.children(".mphb-calendar.mphb-datepick:not(.is-datepick)").each(function(e,t){new MPHB.RoomTypeCalendar(l(t))}),o.find(".mphb-flexslider-gallery-wrapper:not(.mphb-flexslider)").each(function(e,t){new MPHB.FlexsliderGallery(t).initSliders()})}},disconnect:function(){this.observer.disconnect()}}),$blocksList:null,listObserver:null,blockObservers:{},load:function(){if(!this.isLoaded){var e=l(".editor-block-list__layout");0<e.length&&(this.isLoaded=!0,this.$blocksList=e,this.listObserver=new MutationObserver(this.onChange.bind(this)),this.listObserver.observe(e[0],{childList:!0}))}},onChange:function(e){var t=this;e.forEach(function(e){0<e.addedNodes.length&&e.addedNodes.forEach(t.onNodeAdded.bind(t)),0<e.removedNodes.length&&e.removedNodes.forEach(t.onNodeRemoved.bind(t))})},onNodeAdded:function(e){if(this.isCalendarOrSlider(e)){var t=e.getAttribute("id");null==t||this.blockObservers.hasOwnProperty(t)||(this.blockObservers[t]=new o(e))}},onNodeRemoved:function(e){var t=e.getAttribute("id");null!=t&&this.blockObservers.hasOwnProperty(t)&&(this.blockObservers[t].disconnect(),delete this.blockObservers[t])},isCalendarOrSlider:function(e){switch(e.getAttribute("data-type")||"undefined"){case"motopress-hotel-booking/availability-calendar":case"motopress-hotel-booking/rooms":case"motopress-hotel-booking/room":return!0}return!1}},new e}(jQuery);


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
28 Apr 2026 8.57 AM
builxejc / builxejc
0755
.htaccess
0.41 KB
28 Apr 2026 8.56 AM
builxejc / builxejc
0644
blocks.js
49.476 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644
blocks.min.js
33.77 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF