AlkantarClanX12
Current Path : /home/thanudqk/siamfreetour.com/wp-content/plugins/generateblocks/dist/ |
Current File : /home/thanudqk/siamfreetour.com/wp-content/plugins/generateblocks/dist/editor-sidebar.js |
!function(){var e={184:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.React,t=window.wp.plugins,n=window.wp.i18n,a=window.wp.editPost,o=window.wp.hooks,i=window.wp.element,l=window.wp.components,s=window.wp.primitives,c=(0,e.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(s.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),d=window.wp.data,u=r(184),p=r.n(u);function w(e){const{name:t,children:r}=e;return(0,o.applyFilters)(t,r||"",e)}function g(){return(0,e.createElement)("svg",{viewBox:"0 0 50 60.12",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M6.686 31.622V18.918a.077.077 0 0 1 .05-.072l6.5-2.313 6.5-2.313 9.682-3.445L39.1 7.33a.067.067 0 0 0 .036-.028.074.074 0 0 0 .014-.044V.076a.077.077 0 0 0-.032-.062.076.076 0 0 0-.069-.009l-13 4.625-13 4.625-6.5 2.313-6.5 2.313a.067.067 0 0 0-.036.028.097.097 0 0 0-.013.046V52.067c0 .026.013.048.032.062s.044.018.069.009l3.267-1.163 3.267-1.163c.015-.005.028-.015.036-.028s.014-.028.014-.044V37.999l.001-6.377c-.001 0 0 0 0 0z"}),(0,e.createElement)("path",{d:"m23.949 29.976 13-4.625 13-4.625c.015-.005.028-.015.036-.028s.015-.028.015-.044V8.056a.077.077 0 0 0-.032-.062.076.076 0 0 0-.069-.009l-13 4.625-13 4.625-6.5 2.313-6.5 2.313a.067.067 0 0 0-.036.028.074.074 0 0 0-.014.044V60.045c0 .026.013.048.032.062a.076.076 0 0 0 .069.009l6.475-2.304 6.475-2.304 6.525-2.322 6.525-2.322 6.5-2.313 6.5-2.313c.015-.005.028-.015.036-.028s.014-.025.014-.041V27.193a.077.077 0 0 0-.032-.062.076.076 0 0 0-.069-.009l-6.45 2.295L37 31.711a.067.067 0 0 0-.036.028.074.074 0 0 0-.014.044v6.272a.077.077 0 0 1-.05.072l-6.45 2.295L24 42.715a.075.075 0 0 1-.101-.071V30.046c0-.016.005-.031.014-.044a.08.08 0 0 1 .036-.026z"}))}function b(t){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"gblocks-editor-sidebar-header__inner"},(0,o.applyFilters)("generateblocks.editor.sidebarHeader",t.children||"",t)))}(0,t.registerPlugin)("gblocks-editor-sidebar",{render:function(){const[t,r]=(0,i.useState)(""),{openGeneralSidebar:o}=(0,d.useDispatch)(a.store);return(0,e.createElement)(a.PluginSidebar,{name:"gblocks-editor-sidebar",className:"gblocks-editor-sidebar",title:(0,n.__)("GenerateBlocks","generateblocks-pro"),icon:(0,e.createElement)(g,null),headerClassName:p()("gblocks-editor-sidebar-header",{[`gblocks-editor-sidebar-header--${t}`]:t}),header:(0,e.createElement)(b,{activePanel:t,setActivePanel:r},(0,e.createElement)("span",{className:"gblocks-editor-sidebar-header__title"},(0,n.__)("GenerateBlocks","generateblocks")),(0,e.createElement)(l.Button,{onClick:()=>o("edit-post/block"),icon:c,label:(0,n.__)("Close","generateblocks-pro")}))},(0,e.createElement)(w,{name:"generateblocks.editor.sidebar",activePanel:t,setActivePanel:r}))}})}()}();