(()=>{var e={6942(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];r&&(e=s(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()}};const t={};function r(n){const a=t[n];if(void 0!==a)return a.exports;const o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var a=t[n++],o=t[n++];r.o(e,a)?0===o&&n++:0===o?Object.defineProperty(e,a,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,a,{enumerable:!0,get:o})}else for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";const e=window.wp.blocks,t=(window.wp.i18n,window.wp.blockEditor),n=window.wp.data;var a=r(6942),o=r.n(a);const s=window.ReactJSXRuntime,i=JSON.parse('{"UU":"gutenkit/advanced-tab-item","uK":{"blockID":{"type":"string"},"blockClass":{"type":"string"},"blocksCSS":{"type":"object"},"dummyBlockID":{"type":"string"}}}'),c=[{attributes:i.uK,save(e){const{attributes:r}=e,{dummyBlockID:n}=r,a=n?.charAt(n.length-1),i=t.useBlockProps.save({className:o()("gkit-tab-pane",{active:"0"===a})}),c=t.useInnerBlocksProps.save({className:"gkit-tab-fadeIn"});return(0,s.jsx)("div",{...i,children:(0,s.jsx)("div",{...c})})}}],{advancedTabItem:l}=window.gutenkit.editorIcon;(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:r,context:a,clientId:i}){const{useHasProActive:c}=window.GkitHelpers,l=c(),d=(0,n.select)("core/block-editor").getBlockIndex(i)===a["gutenkit/tab-activeIndex"],u=(0,t.useBlockProps)({className:o()("gkit-tab-pane",{active:d})});!d&&u.className.includes("active")&&(u.className=u.className.replace("active",""));const p=(0,t.useInnerBlocksProps)({className:"gkit-tab-fadeIn"},{templateLock:!1,allowedBlocks:!!l||["gutenkit/advanced-paragraph"],template:[["gutenkit/advanced-paragraph",{content:"Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast"}]]});return(0,s.jsx)("div",{...u,children:void 0!==l&&(0,s.jsx)("div",{...p})})},icon:{src:l},save:function({attributes:e}){const{dummyBlockID:r}=e,n=r?.charAt(r.length-1),a=t.useBlockProps.save({className:o()("gkit-tab-pane",{active:"0"===n})}),i=t.useInnerBlocksProps.save({className:"gkit-tab-fadeIn"});return(0,s.jsx)("div",{...a,children:(0,s.jsx)("div",{...i})})},deprecated:c})})()})();