(()=>{var t={6942:(t,e)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=s(t,o(r)))}return t}function o(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)a.call(t,r)&&t[r]&&(e=s(e,r));return e}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()}},e={};function r(a){var n=e[a];if(void 0!==n)return n.exports;var o=e[a]={exports:{}};return t[a](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var a in e)r.o(e,a)&&!r.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t=window.wp.blocks,e=(window.wp.i18n,window.wp.blockEditor),a=window.wp.data;var n=r(6942),o=r.n(n);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(t){const{attributes:r}=t,{dummyBlockID:a}=r,n=a?.charAt(a.length-1),i=e.useBlockProps.save({className:o()("gkit-tab-pane",{active:"0"===n})}),c=e.useInnerBlocksProps.save({className:"gkit-tab-fadeIn"});return(0,s.jsx)("div",{...i,children:(0,s.jsx)("div",{...c})})}}],{advancedTabItem:l}=window.gutenkit.editorIcon;(0,t.registerBlockType)(i.UU,{edit:function({attributes:t,setAttributes:r,context:n,clientId:i}){const{useHasProActive:c}=window.GkitHelpers,l=c(),d=(0,a.select)("core/block-editor").getBlockIndex(i)===n["gutenkit/tab-activeIndex"],u=(0,e.useBlockProps)({className:o()("gkit-tab-pane",{active:d})});!d&&u.className.includes("active")&&(u.className=u.className.replace("active",""));const p=(0,e.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:t}){const{dummyBlockID:r}=t,a=r?.charAt(r.length-1),n=e.useBlockProps.save({className:o()("gkit-tab-pane",{active:"0"===a})}),i=e.useInnerBlocksProps.save({className:"gkit-tab-fadeIn"});return(0,s.jsx)("div",{...n,children:(0,s.jsx)("div",{...i})})},deprecated:c})})()})();