�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: index.min.js Size: 42.55 KB
/home2/astrociv/public_html/gurujii.in/wp-includes/js/dist/script-modules/lazy-editor/index.min.js
var to=Object.create;var Bt=Object.defineProperty;var eo=Object.getOwnPropertyDescriptor;var oo=Object.getOwnPropertyNames;var ro=Object.getPrototypeOf,no=Object.prototype.hasOwnProperty;var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var so=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of oo(e))!no.call(t,n)&&n!==o&&Bt(t,n,{get:()=>e[n],enumerable:!(r=eo(e,n))||r.enumerable});return t};var S=(t,e,o)=>(o=t!=null?to(ro(t)):{},so(e||!t||!t.__esModule?Bt(o,"default",{value:t,enumerable:!0}):o,t));var vt=V((Sr,Wt)=>{Wt.exports=window.wp.editor});var W=V((br,Ut)=>{Ut.exports=window.wp.coreData});var N=V((vr,Dt)=>{Dt.exports=window.wp.data});var Ht=V((wr,Kt)=>{Kt.exports=window.wp.components});var U=V((xr,Jt)=>{Jt.exports=window.wp.element});var wt=V((Pr,Zt)=>{Zt.exports=window.wp.styleEngine});var re=V((Cr,oe)=>{oe.exports=window.wp.i18n});var ut=V((Ir,ne)=>{ne.exports=window.wp.blocks});var Oe=V((ln,Pe)=>{Pe.exports=window.wp.privateApis});var Lt=V((wn,Be)=>{Be.exports=window.ReactJSXRuntime});var He=V((Pn,Ke)=>{Ke.exports=window.wp.blockEditor});var We=S(vt(),1),zt=S(W(),1),Gt=S(N(),1),Ue=S(Ht(),1),De=S(U(),1);var Xt=S(W(),1),Qt=S(N(),1);function at({templateId:t}={}){let{globalStylesId:e,stylesId:o}=(0,Qt.useSelect)(r=>{let n=r(Xt.store),s=t?n.getEntityRecord("postType","wp_template",t):null;return{globalStylesId:n.__experimentalGetCurrentGlobalStylesId(),stylesId:s?.styles_id}},[t]);return o||e}function lt(t,e,o){e=Array.isArray(e)?[...e]:[e],t=Array.isArray(t)?[...t]:{...t};let r=e.pop(),n=t;for(let s of e){let i=n[s];n=n[s]=Array.isArray(i)?[...i]:{...i}}return n[r]=o,t}var b=(t,e,o)=>{let r=Array.isArray(e)?e:e.split("."),n=t;return r.forEach(s=>{n=n?.[s]}),n??o};var io=["appearanceTools","useRootPaddingAwareAlignments","background.backgroundClip","background.backgroundImage","background.backgroundRepeat","background.backgroundSize","background.backgroundPosition","background.gradient","border.color","border.radius","border.radiusSizes","border.style","border.width","shadow.presets","shadow.defaultPresets","color.background","color.button","color.caption","color.custom","color.customDuotone","color.customGradient","color.defaultDuotone","color.defaultGradients","color.defaultPalette","color.duotone","color.gradients","color.heading","color.link","color.palette","color.text","custom","dimensions.aspectRatio","dimensions.height","dimensions.minHeight","dimensions.minWidth","dimensions.width","dimensions.dimensionSizes","layout.contentSize","layout.definitions","layout.wideSize","lightbox.enabled","lightbox.allowEditing","position.fixed","position.sticky","spacing.customSpacingSize","spacing.defaultSpacingSizes","spacing.spacingSizes","spacing.spacingScale","spacing.blockGap","spacing.margin","spacing.padding","spacing.units","typography.fluid","typography.customFontSize","typography.defaultFontSizes","typography.dropCap","typography.fontFamilies","typography.fontSizes","typography.fontStyle","typography.fontWeight","typography.letterSpacing","typography.lineHeight","typography.textAlign","typography.textColumns","typography.textDecoration","typography.textIndent","typography.textShadow","typography.defaultTextShadowPresets","typography.textShadowPresets","typography.textTransform","typography.writingMode","viewport.mobile","viewport.tablet"];function Yt(t,e,o){let r=o?".blocks."+o:"",n=e?"."+e:"",s=`settings${r}${n}`,i=`settings${n}`;if(e)return b(t,s)??b(t,i);let a={};return io.forEach(l=>{let c=b(t,`settings${r}.${l}`)??b(t,`settings.${l}`);c!==void 0&&(a=lt(a,l.split("."),c))}),a}var te=S(wt(),1);var ao="1600px",lo="320px",co=1,uo=.25,fo=.75,po="14px";function qt({minimumFontSize:t,maximumFontSize:e,fontSize:o,minimumViewportWidth:r=lo,maximumViewportWidth:n=ao,scaleFactor:s=co,minimumFontSizeLimit:i}){if(i=C(i)?i:po,o){let w=C(o);if(!w?.unit||!w?.value)return null;let k=C(i,{coerceTo:w.unit});if(k?.value&&!t&&!e&&w?.value<=k?.value)return null;if(e||(e=`${w.value}${w.unit}`),!t){let _=w.unit==="px"?w.value:w.value*16,T=Math.min(Math.max(1-.075*Math.log2(_),uo),fo),L=J(w.value*T,3);k?.value&&L<k?.value?t=`${k.value}${k.unit}`:t=`${L}${w.unit}`}}let a=C(t),l=a?.unit||"rem",c=C(e,{coerceTo:l});if(!a||!c)return null;let f=C(t,{coerceTo:"rem"}),u=C(n,{coerceTo:l}),p=C(r,{coerceTo:l});if(!u||!p||!f)return null;let h=u.value-p.value;if(!h)return null;let d=J(p.value/100,3),g=J(d,3)+l,m=100*((c.value-a.value)/h),y=J((m||1)*s,3),P=`${f.value}${f.unit} + ((1vw - ${g}) * ${y})`;return`clamp(${t}, ${P}, ${e})`}function C(t,e={}){if(typeof t!="string"&&typeof t!="number")return null;isFinite(t)&&(t=`${t}px`);let{coerceTo:o,rootSizeValue:r,acceptableUnits:n}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...e},s=n?.join("|"),i=new RegExp(`^(\\d*\\.?\\d+)(${s}){1,1}$`),a=t.toString().match(i);if(!a||a.length<3)return null;let[,l,c]=a,f=parseFloat(l);return o==="px"&&(c==="em"||c==="rem")&&(f=f*r,c=o),c==="px"&&(o==="em"||o==="rem")&&(f=f/r,c=o),(o==="em"||o==="rem")&&(c==="em"||c==="rem")&&(c=o),c?{value:J(f,3),unit:c}:null}function J(t,e=3){let o=Math.pow(10,e);return Math.round(t*o)/o}function xt(t){let e=t?.fluid;return e===!0||e&&typeof e=="object"&&Object.keys(e).length>0}function go(t){let e=t?.typography??{},o=t?.layout,r=C(o?.wideSize)?o?.wideSize:null;return xt(e)&&r?{fluid:{maxViewportWidth:r,...typeof e.fluid=="object"?e.fluid:{}}}:{fluid:e?.fluid}}function ct(t,e){let{size:o}=t;if(!o||o==="0"||t?.fluid===!1||!xt(e?.typography)&&!xt(t))return o;let r=go(e)?.fluid??{},n=qt({minimumFontSize:typeof t?.fluid=="boolean"?void 0:t?.fluid?.min,maximumFontSize:typeof t?.fluid=="boolean"?void 0:t?.fluid?.max,fontSize:o,minimumFontSizeLimit:typeof r=="object"?r?.minFontSize:void 0,maximumViewportWidth:typeof r=="object"?r?.maxViewportWidth:void 0,minimumViewportWidth:typeof r=="object"?r?.minViewportWidth:void 0});return n||o}var I="body",Q=":root";function X(t){if(!t.includes(","))return[t];let e=[],o="",r=0;for(let n of t){if(n==="(")r++;else if(n===")"&&r>0)r--;else if(n===","&&r===0){e.push(o),o="";continue}o+=n}return e.push(o),e}var Y=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],valueKey:"colors",cssVarInfix:"duotone",valueFunc:({slug:t})=>`url( '#wp-duotone-${t}' )`,classes:[]},{path:["shadow","presets"],valueKey:"shadow",cssVarInfix:"shadow",classes:[]},{path:["typography","fontSizes"],valueFunc:(t,e)=>ct(t,e),valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["typography","textShadowPresets"],valueKey:"textShadow",cssVarInfix:"text-shadow",classes:[{classSuffix:"text-shadow",propertyName:"text-shadow"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:({size:t})=>t,classes:[]},{path:["border","radiusSizes"],valueKey:"size",cssVarInfix:"border-radius",classes:[]},{path:["dimensions","dimensionSizes"],valueKey:"size",cssVarInfix:"dimension",classes:[]}];function F(t,e){if(!t||!e)return e;let o=X(t),r=X(e),n=[];return o.forEach(s=>{r.forEach(i=>{n.push(`${s.trim()} ${i.trim()}`)})}),n.join(", ")}function ee(t,e){if(!t||!e)return;let o={};return Object.entries(e).forEach(([r,n])=>{typeof n=="string"&&(o[r]=F(t,n)),typeof n=="object"&&(o[r]={},Object.entries(n).forEach(([s,i])=>{o[r][s]=F(t,i)}))}),o}function Z(t,e){return t.includes(",")?X(t).map(n=>n+e).join(","):t+e}function Et(t,e){let o=`.is-style-${t}`;if(!e)return o;let r=/[^\s:]+/,n=i=>i+o;return X(e).map(i=>i.replace(r,n)).join(",")}function $t(t,e){let o=`.is-style-${t}`,r=X(e).map(n=>{let s=n.trim(),i=`${o} `;return s.startsWith(i)?s.slice(i.length):s});return Et(t,r.join(","))}function mo(t,e){if(!t||!e)return t;if(typeof t=="object"&&"ref"in t&&t?.ref){let o=(0,te.getCSSValueFromRawStyle)(b(e,t.ref));return typeof o=="object"&&o!==null&&"ref"in o&&o?.ref?void 0:o===void 0?t:o}return t}function ho(t,e){if(!t||!e||!Array.isArray(e))return t;let o=e.find(r=>r?.name===t);return o?.href?o?.href:t}function kt(t,e){if(!t||!e)return t;let o=mo(t,e);return typeof o=="object"&&o!==null&&"url"in o&&o?.url?{...o,url:ho(o.url,e?._links?.["wp:theme-file"])}:o}var E=S(ut(),1),et=S(wt(),1),$e=S(N(),1);function D(t,e="root",o={}){if(!e)return null;let{fallback:r=!1}=o,{name:n,selectors:s,supports:i}=t,a=s&&Object.keys(s).length>0,l=Array.isArray(e)?e.join("."):e,c=null;if(a&&s.root?c=s?.root:i?.__experimentalSelector?c=i.__experimentalSelector:c=".wp-block-"+n.replace("core/","").replace("/","-"),l==="root")return c;let f=Array.isArray(e)?e:e.split(".");if(f.length===1){let p=r?c:null;if(a)return b(s,`${l}.root`,null)||b(s,l,null)||p;let h=i?b(i,`${l}.__experimentalSelector`,null):void 0;return h?F(c,h):p}let u;return a&&(u=b(s,l,null)),u||(r?D(t,f[0],o):null)}for(pe={grad:.9,turn:360,rad:360/(2*Math.PI)},R=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},x=function(t,e,o){return e===void 0&&(e=0),o===void 0&&(o=Math.pow(10,e)),Math.round(o*t)/o+0},$=function(t,e,o){return e===void 0&&(e=0),o===void 0&&(o=1),t>o?o:t>e?t:e},Ft=function(t){return(t=isFinite(t)?t%360:0)<0?t+360:t},dt=function(t,e){return e===void 0&&(e=0),x(t,e)%360},Ot=function(t){return{r:$(t.r,0,255),g:$(t.g,0,255),b:$(t.b,0,255),a:$(t.a)}},pt=function(t){return{r:x(t.r),g:x(t.g),b:x(t.b),a:x(t.a,3)}},de=/^#([0-9a-f]{3,8})$/i,B=function(t,e){var o=t.charCodeAt(e);return(15&o)+9*(o>>6)},tt=function(t,e){return B(t,e)<<4|B(t,e+1)},Vt=[],q=0;q<256;q++)Vt.push((q<16?"0":"")+q.toString(16));var pe,R,x,$,Ft,dt,Ot,pt,de,B,tt,Vt,q,ft=function(t){return Vt[$(t,0,255)]},ge=function(t){var e=t.r,o=t.g,r=t.b,n=t.a,s=Math.max(e,o,r),i=s-Math.min(e,o,r),a=i?s===e?(o-r)/i:s===o?2+(r-e)/i:4+(e-o)/i:0;return{h:60*(a<0?a+6:a),s:s?i/s*100:0,v:s/255*100,a:n}},me=function(t){var e=t.h,o=t.s,r=t.v,n=t.a;e=e/360*6,o/=100,r/=100;var s=Math.floor(e),i=r*(1-o),a=r*(1-(e-s)*o),l=r*(1-(1-e+s)*o),c=s%6;return{r:255*[r,a,i,i,l,r][c],g:255*[l,r,r,a,i,i][c],b:255*[i,i,l,r,r,a][c],a:n}},se=function(t){return{h:Ft(t.h),s:$(t.s,0,100),l:$(t.l,0,100),a:$(t.a)}},ie=function(t){return{h:dt(t.h),s:x(t.s),l:x(t.l),a:x(t.a,3)}},ae=function(t){return me((o=(e=t).s,{h:e.h,s:(o*=((r=e.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:e.a}));var e,o,r},K=function(t){return{h:(e=ge(t)).h,s:(n=(200-(o=e.s))*(r=e.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:e.a};var e,o,r,n},yo=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,So=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s+([+-]?(?:\d*\.\d+|\d+))%\s+([+-]?(?:\d*\.\d+|\d+))%\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,bo=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,vo=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,le={string:[[function(t){if(!de.test(t))return null;var e=t.length;return e<=5?{r:17*B(t,1),g:17*B(t,2),b:17*B(t,3),a:e===5?x(17*B(t,4)/255,2):1}:e===7||e===9?{r:tt(t,1),g:tt(t,3),b:tt(t,5),a:e===9?x(tt(t,7)/255,2):1}:null},"hex"],[function(t){var e=bo.exec(t)||vo.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Ot({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=yo.exec(t)||So.exec(t);if(!e)return null;var o,r,n=se({h:(o=e[1],r=e[2],r===void 0&&(r="deg"),Number(o)*(pe[r]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return ae(n)},"hsl"]],object:[[function(t){var e=t.r,o=t.g,r=t.b,n=t.a,s=n===void 0?1:n;return R(e)&&R(o)&&R(r)?Ot({r:Number(e),g:Number(o),b:Number(r),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,o=t.s,r=t.l,n=t.a,s=n===void 0?1:n;if(!R(e)||!R(o)||!R(r))return null;var i=se({h:Number(e),s:Number(o),l:Number(r),a:Number(s)});return ae(i)},"hsl"],[function(t){var e=t.h,o=t.s,r=t.v,n=t.a,s=n===void 0?1:n;if(!R(e)||!R(o)||!R(r))return null;var i=(function(a){return{h:Ft(a.h),s:$(a.s,0,100),v:$(a.v,0,100),a:$(a.a)}})({h:Number(e),s:Number(o),v:Number(r),a:Number(s)});return me(i)},"hsv"]]},ce=function(t,e){for(var o=0;o<e.length;o++){var r=e[o][0](t);if(r)return[r,e[o][1]]}return[null,void 0]},wo=function(t){return typeof t=="string"?ce(t.trim(),le.string):typeof t=="object"&&t!==null?ce(t,le.object):[null,void 0]};var _t=function(t,e){var o=K(t);return{h:o.h,s:$(o.s+100*e,0,100),l:o.l,a:o.a}},Pt=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},ue=function(t,e){var o=K(t);return{h:o.h,s:o.s,l:$(o.l+100*e,0,100),a:o.a}},fe=(function(){function t(e){this.parsed=wo(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return x(Pt(this.rgba),2)},t.prototype.isDark=function(){return Pt(this.rgba)<.5},t.prototype.isLight=function(){return Pt(this.rgba)>=.5},t.prototype.toHex=function(){return e=pt(this.rgba),o=e.r,r=e.g,n=e.b,i=(s=e.a)<1?ft(x(255*s)):"","#"+ft(o)+ft(r)+ft(n)+i;var e,o,r,n,s,i},t.prototype.toRgb=function(){return pt(this.rgba)},t.prototype.toRgbString=function(){return e=pt(this.rgba),o=e.r,r=e.g,n=e.b,(s=e.a)<1?"rgba("+o+", "+r+", "+n+", "+s+")":"rgb("+o+", "+r+", "+n+")";var e,o,r,n,s},t.prototype.toHsl=function(){return ie(K(this.rgba))},t.prototype.toHslString=function(){return e=ie(K(this.rgba)),o=e.h,r=e.s,n=e.l,(s=e.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+s+")":"hsl("+o+", "+r+"%, "+n+"%)";var e,o,r,n,s},t.prototype.toHsv=function(){return e=ge(this.rgba),{h:dt(e.h),s:x(e.s),v:x(e.v),a:x(e.a,3)};var e},t.prototype.invert=function(){return j({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),j(_t(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),j(_t(this.rgba,-e))},t.prototype.grayscale=function(){return j(_t(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),j(ue(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),j(ue(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(K(this.rgba).h+e)},t.prototype.alpha=function(e){return typeof e=="number"?j({r:(o=this.rgba).r,g:o.g,b:o.b,a:e}):x(this.rgba.a,3);var o},t.prototype.hue=function(e){var o=K(this.rgba);return typeof e=="number"?j({h:e,s:o.s,l:o.l,a:o.a}):dt(o.h)},t.prototype.isEqual=function(e){return this.toHex()===j(e).toHex()},t})(),j=function(t){return t instanceof fe?t:new fe(t)};function xo(t=[]){let e={r:[],g:[],b:[],a:[]};return t.forEach(o=>{let r=j(o).toRgb();e.r.push(r.r/255),e.g.push(r.g/255),e.b.push(r.b/255),e.a.push(r.a)}),e}function he(t,e){let o=xo(e);return`
<svg
	xmlns:xlink="http://www.w3.org/1999/xlink"
	viewBox="0 0 0 0"
	width="0"
	height="0"
	focusable="false"
	role="none"
	aria-hidden="true"
	style="visibility: hidden; position: absolute; left: -9999px; overflow: hidden;"
>
	<defs>
		<filter id="${t}">
			<!--
				Use sRGB instead of linearRGB so transparency looks correct.
				Use perceptual brightness to convert to grayscale.
			-->
			<feColorMatrix color-interpolation-filters="sRGB" type="matrix" values=" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "></feColorMatrix>
			<!-- Use sRGB instead of linearRGB to be consistent with how CSS gradients work. -->
			<feComponentTransfer color-interpolation-filters="sRGB">
				<feFuncR type="table" tableValues="${o.r.join(" ")}"></feFuncR>
				<feFuncG type="table" tableValues="${o.g.join(" ")}"></feFuncG>
				<feFuncB type="table" tableValues="${o.b.join(" ")}"></feFuncB>
				<feFuncA type="table" tableValues="${o.a.join(" ")}"></feFuncA>
			</feComponentTransfer>
			<!-- Re-mask the image with the original transparency since the feColorMatrix above loses that information. -->
			<feComposite in2="SourceGraphic" operator="in"></feComposite>
		</filter>
	</defs>
</svg>`}function z(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").replace(/([a-zA-Z])([0-9])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function jt(t){if(!t)return;let e=t.match(/var:preset\|spacing\|(.+)/);return e?`var(--wp--preset--spacing--${e[1]})`:t}function Eo(t){if(!t)return null;let e=typeof t=="string";return{top:e?t:t?.top,left:e?t:t?.left}}function gt(t,e="0"){let o=Eo(t);if(!o)return null;let r=jt(o?.top)||e,n=jt(o?.left)||e;return r===n?r:`${r} ${n}`}var ye={backgroundSize:"cover",backgroundPosition:"50% 50%"};function $o(t){return typeof t=="object"&&t!==null&&"url"in t&&!!t.url}function Se(t){if(!t||!$o(t.backgroundImage))return;let e;return t?.backgroundSize||(e={backgroundSize:ye.backgroundSize}),t?.backgroundSize==="contain"&&!t?.backgroundPosition&&(e={backgroundPosition:ye.backgroundPosition}),e}var be={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-left":"0","margin-right":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-left":"2em","margin-right":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-left":"0","margin-right":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-left":"2em","margin-right":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};var ve={mobile:"480px",tablet:"782px"},we=/^(\d+|\d*\.\d+)(px|em|rem)$/,ko=16;function _o(t){return"mobile"in t||"tablet"in t}function Po(t){return!t||typeof t!="object"?{}:_o(t)?t:t.settings?.viewport??{}}function Oo(t){return typeof t=="string"&&we.test(t.trim())}function Vo(t){if(typeof t=="number")return t;if(typeof t!="string")return;let e=t.trim().match(we);if(!e)return;let o=Number.parseFloat(e[1]);return e[2]==="px"?o:o*ko}function Fo(t){let e=Po(t),o={},r={};Object.keys(ve).forEach(a=>{let l=a,c=e[l],f=Vo(c);f!==void 0&&Oo(c)&&(o[l]=c.trim(),r[l]=f)});let n=Object.keys(o);if(!n.length)return{...ve};if(n.length===1)return o;let s=o.mobile,i=o.tablet;return r.mobile>=r.tablet?{mobile:s}:{mobile:s,tablet:i}}function At(t){let e=Fo(t),o={};return e.mobile&&(o["@mobile"]=`@media (width <= ${e.mobile})`),e.tablet&&(o["@tablet"]=e.mobile?`@media (${e.mobile} < width <= ${e.tablet})`:`@media (width <= ${e.tablet})`),o}var jo={button:"wp-element-button",caption:"wp-element-caption"},Ao={__experimentalBorder:"border",color:"color",dimensions:"dimensions",spacing:"spacing",typography:"typography"},ke={"core/button":[":hover",":focus",":focus-visible",":active"],"core/navigation-link":[":hover",":focus",":focus-visible",":active"]},To={link:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],button:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],textInput:[":required",":user-valid",":user-invalid",":focus",":focus-visible","::placeholder"],select:[":hover",":focus",":focus-visible",":active"]};function Co(t="*",e={}){return Y.reduce((o,{path:r,cssVarInfix:n,classes:s})=>{if(!s)return o;let i=b(e,r,[]);return["default","theme","custom"].forEach(a=>{i[a]&&i[a].forEach(({slug:l})=>{s.forEach(({classSuffix:c,propertyName:f})=>{let u=`.has-${z(l)}-${c}`,p=t?`:where(${t})${u}`:u,h=`var(--wp--preset--${n}--${z(l)})`;o+=`${p}{${f}: ${h} !important;}`})})}),o},"")}function Io(t={}){return Y.filter(e=>e.path.at(-1)==="duotone").flatMap(e=>{let o=b(t,e.path,{});return["default","theme","custom"].filter(r=>o[r]).flatMap(r=>o[r].map(n=>he(`wp-duotone-${n.slug}`,n.colors))).join("")})}function _e(t={},e,o){let r=[];return Object.keys(t).forEach(n=>{let s=e+z(n.replace("/","-")),i=t[n];if(i instanceof Object){let a=s+o;r=[...r,..._e(i,a,o)]}else r.push(`${s}: ${i}`)}),r}var Ro=(t,e,o)=>{if(o!=="core/paragraph"||(e?.blocks?.["core/paragraph"]?.typography?.textIndent??e?.typography?.textIndent??"subsequent")!=="all")return t;let s=".wp-block-paragraph + .wp-block-paragraph",i=".wp-block-paragraph";if(s in t){let a=t[s],l={...t};return delete l[s],l[i]=a,l}return t},Mo=(t,e)=>{let o=".wp-block-button";if(!(o in t))return t;let r={...t};return r[o]=r[o].map(n=>{let s=n.match(/^width:\s*(.+)$/);if(!s)return n;let i=s[1],a=null;i.endsWith("%")&&(a=parseFloat(i));let l="var(--wp--preset--dimension--";if(a===null&&i.startsWith(l)&&i.endsWith(")")){let c=i.slice(l.length,-1),f={...e?.dimensions?.dimensionSizes??{},...e?.blocks?.["core/button"]?.dimensions?.dimensionSizes??{}};for(let u of Object.values(f))if(Array.isArray(u)){for(let p of u)if(p.slug===c&&typeof p.size=="string"&&p.size.endsWith("%")){a=parseFloat(p.size);break}if(a!==null)break}}return a===null||isNaN(a)?n:`width: calc(${a} * 1% - (var(--wp--style--block-gap, 0.5em) * (1 - ${a} / 100)))`}),r},Lo=(t,e)=>{let o={};return Object.entries(t).forEach(([r,n])=>{if(r==="root"||r==="css"||!e?.[r])return;let s=typeof n=="string";if(!s&&typeof n=="object"&&n!==null&&Object.entries(n).forEach(([i,a])=>{if(i==="root"||!e?.[r][i])return;let l={[r]:{[i]:e[r][i]}},c=ht(l);o[a]=[...o[a]||[],...c],delete e[r][i]}),s||typeof n=="object"&&n!==null&&"root"in n){let i=s?n:n.root,a={[r]:e[r]},l=ht(a);o[i]=[...o[i]||[],...l],delete e[r]}}),o};function zo(t,e,o){if(o?.find(i=>i?.background?.backgroundClip)?.background?.backgroundClip!=="text")return t;let n=e?.background?.backgroundClip,s=!!e?.background?.gradient||!!e?.background?.backgroundImage||!!e?.color?.gradient;return n&&n!=="text"?s?t:[...t,"background-image: unset"]:!n&&!s&&e?.color?.text?[...t,"-webkit-text-fill-color: currentColor"]:t}function ht(t={},e="",o,r={},n=!1){let s=I===e,i=Object.entries(E.__EXPERIMENTAL_STYLE_PROPERTY).reduce((l,[c,{value:f,properties:u,useEngine:p,rootOnly:h}])=>{if(h&&!s)return l;let d=f;if(d[0]==="elements"||p)return l;let g=b(t,d);if(c==="--wp--style--root--padding"&&(typeof g=="string"||!o))return l;if(u&&typeof g!="string")Object.entries(u).forEach(m=>{let[y,P]=m;if(!b(g,[P],!1))return;let w=y.startsWith("--")?y:z(y);l.push(`${w}: ${(0,et.getCSSValueFromRawStyle)(b(g,[P]))}`)});else if(b(t,d,!1)){let m=c.startsWith("--")?c:z(c);l.push(`${m}: ${(0,et.getCSSValueFromRawStyle)(b(t,d))}`)}return l},[]);return t.background&&(t.background?.backgroundImage&&(t.background.backgroundImage=kt(t.background.backgroundImage,r)),!s&&t.background?.backgroundImage?.id&&(t={...t,background:{...t.background,...Se(t.background)}})),(0,et.getCSSRules)(t).forEach(l=>{if(s&&(o||n)&&l.key.startsWith("padding"))return;let c=l.key.startsWith("-")?l.key:z(l.key),f=kt(l.value,r);c==="font-size"&&(f=ct({name:"",slug:"",size:f},r?.settings)),c==="aspect-ratio"&&i.push("min-height: unset"),i.push(`${c}: ${f}`)}),i}function Go({layoutDefinitions:t=be,style:e,selector:o,hasBlockGapSupport:r,hasFallbackGapSupport:n,fallbackGapValue:s}){let i="",a=e?.spacing?.blockGap,l=r?gt(a):"";n&&(o===I?l=l||"0.5em":!r&&s&&(l=s));let c=r&&a&&typeof a!="string"?gt(a.top):l;if(l&&t&&(Object.values(t).forEach(({className:f,name:u,spacingStyles:p})=>{if(!r&&u!=="flex"&&u!=="grid")return;let h=["default","constrained"].includes(u)?c:l;p?.length&&p.forEach(d=>{let g=[];if(d.rules&&Object.entries(d.rules).forEach(([m,y])=>{g.push(`${m}: ${y||h}`)}),g.length){let m="";r?m=o===I?`:root :where(.${f})${d?.selector||""}`:`:root :where(${o}-${f})${d?.selector||""}`:m=o===I?`:where(.${f}${d?.selector||""})`:`:where(${o}.${f}${d?.selector||""})`,i+=`${m} { ${g.join("; ")}; }`}})}),o===I&&r&&(i+=`${Q} { --wp--style--block-gap: ${l}; }`)),o===I&&t){let f=["block","flex","grid"];Object.values(t).forEach(({className:u,displayMode:p,baseStyles:h})=>{p&&f.includes(p)&&(i+=`${o} .${u} { display:${p}; }`),h?.length&&h.forEach(d=>{let g=[];if(d.rules&&Object.entries(d.rules).forEach(([m,y])=>{g.push(`${m}: ${y}`)}),g.length){let m=`.${u}${d?.selector||""}`;i+=`${m} { ${g.join("; ")}; }`}})})}return i}var No=["border","color","dimensions","spacing","typography","filter","outline","shadow","background"];function Bo(t,e){return mt(t,void 0,e)}function mt(t,e,o){if(!t)return{};let r=Object.entries(t),n=e?ke[e]??[]:[],i=r.filter(([a])=>No.includes(a)||n.includes(a)||o[a]).map(([a,l])=>[a,JSON.parse(JSON.stringify(l))]);return Object.fromEntries(i)}function xe(t){let{styles:e,baseStyles:o,selector:r,featureSelectors:n,name:s,elementName:i,mediaQuery:a,variationName:l}=t,c=s?ke[s]??[]:To[i??""]??[];return c.length?c.flatMap(f=>{let u=e?.[f];return!u||typeof u!="object"?[]:[{styles:JSON.parse(JSON.stringify(u)),baseStyles:[e,...o??[]],selector:r,selectorSuffix:f,mediaQuery:a,featureSelectors:n&&typeof n!="string"?n:void 0,name:s,elementName:i,variationName:l}]}):[]}function Wo(t){return t?.startsWith("::")??!1}function Ee(t,e){return Wo(e)?`:root :where(${t})${e}`:`:root :where(${Z(t,e)})`}function Uo(t,e){let{styles:o,baseStyles:r,selector:n,fallbackGapValue:s,featureSelectors:i,hasLayoutSupport:a,layoutHasBlockGapSupport:l,layoutSelector:c,name:f,elementName:u,isStyleVariation:p,variationName:h}=t;return!f&&!u?[]:Object.entries(e).flatMap(([d,g])=>{let m=o?.[d];return!m||typeof m!="object"?[]:[{styles:JSON.parse(JSON.stringify(m)),baseStyles:[o,...r??[]],selector:n,mediaQuery:g,featureSelectors:i&&typeof i!="string"?i:void 0,fallbackGapValue:s,hasLayoutSupport:a,name:f,elementName:u,isStyleVariation:p,variationName:h,layoutSelector:c,layoutHasBlockGapSupport:l}]})}function Tt(t,e){let o={...t?.elements??{}};return Object.keys(e).forEach(r=>{Object.entries(t?.[r]?.elements??{}).forEach(([n,s])=>{o[n]={...o[n]??{},[r]:s}})}),o}var Do=(t,e)=>{let o=[];if(!t?.styles)return o;let r=At(t),n=Bo(t.styles,r);return n&&o.push({styles:n,selector:I,skipSelectorWrapper:!0}),Object.entries(E.__EXPERIMENTAL_ELEMENTS).forEach(([s,i])=>{t.styles?.elements?.[s]&&o.push({styles:t.styles?.elements?.[s]??{},selector:i,elementName:s,skipSelectorWrapper:!jo[s]})}),Object.entries(t.styles?.blocks??{}).forEach(([s,i])=>{let a=mt(i,s,r),l=i;l?.css&&(a.css=l.css);let c=[],f=[];l?.variations&&Object.entries(l.variations).forEach(([u,p])=>{let h=p,d=mt(h,s,r);h?.css&&(d.css=h.css);let g=typeof e!="string"?e[s]?.styleVariationSelectors?.[u]:void 0;if(g&&typeof e!="string"){let m=e[s];f.push({styles:d,baseStyles:[l],selector:g,featureSelectors:m?.featureSelectors,fallbackGapValue:m?.fallbackGapValue,hasLayoutSupport:m?.hasLayoutSupport,isStyleVariation:!0,variationName:u,layoutSelector:g+m.selector,layoutHasBlockGapSupport:!0,name:s})}Object.entries(Tt(h,r)).forEach(([m,y])=>{y&&E.__EXPERIMENTAL_ELEMENTS[m]&&c.push({styles:y,selector:F(g,E.__EXPERIMENTAL_ELEMENTS[m]),elementName:m,isStyleVariation:!0})}),Object.entries(h?.blocks??{}).forEach(([m,y])=>{let P=typeof e!="string"?F(g,e[m]?.selector):void 0,w=typeof e!="string"?F(g,e[m]?.duotoneSelector):void 0,k=typeof e!="string"?ee(g,e[m]?.featureSelectors??{}):void 0,_=mt(y,m,r);y?.css&&(_.css=y.css),!(!P||typeof e=="string")&&(c.push({selector:P,name:m,isStyleVariation:!0,duotoneSelector:w,featureSelectors:k,fallbackGapValue:e[m]?.fallbackGapValue,hasLayoutSupport:e[m]?.hasLayoutSupport,styles:_}),Object.entries(Tt(y,r)).forEach(([T,L])=>{L&&E.__EXPERIMENTAL_ELEMENTS[T]&&c.push({styles:L,selector:F(P,E.__EXPERIMENTAL_ELEMENTS[T]),elementName:T,isStyleVariation:!0})}))})}),typeof e!="string"&&e?.[s]?.selector&&o.push({duotoneSelector:e[s].duotoneSelector,fallbackGapValue:e[s].fallbackGapValue,hasLayoutSupport:e[s].hasLayoutSupport,selector:e[s].selector,styles:a,featureSelectors:e[s].featureSelectors,name:s}),o.push(...f),Object.entries(Tt(l,r)).forEach(([u,p])=>{typeof e!="string"&&p&&e?.[s]&&E.__EXPERIMENTAL_ELEMENTS[u]&&o.push({styles:p,selector:e[s]?.selector.split(",").map(h=>E.__EXPERIMENTAL_ELEMENTS[u].split(",").map(g=>h+" "+g)).join(","),elementName:u})}),o.push(...c)}),o},Ct=(t,e)=>{let o=[];if(!t?.settings)return o;let r=i=>{let a={};return Y.forEach(({path:l})=>{let c=b(i,l,!1);c!==!1&&(a=lt(a,l,c))}),a},n=r(t.settings),s=t.settings?.custom;return(Object.keys(n).length>0||s)&&o.push({presets:n,custom:s,selector:Q}),Object.entries(t.settings?.blocks??{}).forEach(([i,a])=>{let l=a.custom;if(typeof e=="string"||!e[i])return;let c=r(a);(Object.keys(c).length>0||l)&&o.push({presets:c,custom:l,selector:e[i]?.selector,featureSelectors:e[i]?.featureSelectors})}),o};function Ko(t,e,o){if(!t||typeof t=="string")return o;let r=t[e];return typeof r=="string"?r:r&&typeof r=="object"&&typeof r.root=="string"?r.root:o}function Ho(t,e,{path:o,valueKey:r,valueFunc:n,cssVarInfix:s}){let i=b(t,o,[]),a=[];for(let l of["default","theme","custom"])if(i[l])for(let c of i[l]){let f=z(c.slug);r&&!n?a.push(`--wp--preset--${s}--${f}: ${c[r]}`):n&&typeof n=="function"&&a.push(`--wp--preset--${s}--${f}: ${n(c,e)}`)}return a}var Jo=(t,e)=>{let o=Ct(t,e),r="";for(let{presets:n,custom:s,selector:i,featureSelectors:a}of o){let l=i,c={[l]:[]};if(t?.settings)for(let u of Y){let p=Ho(n,t.settings,u);if(p.length===0)continue;let h=Ko(a,u.path[0],l);c[h]||(c[h]=[]),c[h].push(...p)}let f=_e(s,"--wp--custom--","--");f.length>0&&c[l].push(...f);for(let[u,p]of Object.entries(c))p.length>0&&(r+=`${u}{${p.join(";")};}`)}return r};function Xo(t,{tree:e,useRootPaddingAlign:o,disableLayoutStyles:r,hasBlockGapSupport:n,hasFallbackGapSupport:s,disableRootPadding:i}){let{selector:a,selectorSuffix:l,mediaQuery:c,duotoneSelector:f,styles:u,baseStyles:p,fallbackGapValue:h,hasLayoutSupport:d,featureSelectors:g,layoutSelector:m,layoutHasBlockGapSupport:y,skipSelectorWrapper:P,name:w,variationName:k}=t,_="",T=l?Z(a,l):a;if(g&&typeof g!="string"){let v=Lo(g,u);v=Ro(v,e.settings,w),v=Mo(v,e.settings),Object.entries(v).forEach(([O,H])=>{if(H.length){let it=k?$t(k,O):O,Ze=l?Ee(it,l):`:root :where(${it})`,qe=H.join(";");_+=`${Ze}{${qe};}`}})}if(f){let v={};u?.filter&&(v.filter=u.filter,delete u.filter);let O=ht(v);O.length&&(_+=`${f}{${O.join(";")};}`)}let L=m??T;!r&&(I===L||d)&&(_+=Go({style:u,selector:L,hasBlockGapSupport:y??n,hasFallbackGapSupport:s,fallbackGapValue:h}));let Ye=ht(u,T,o,e,i),Nt=zo(Ye,u,p);if(Nt?.length){let v=`:root :where(${T})`;P?v=T:l&&(v=Ee(a,l)),_+=`${v}{${Nt.join(";")};}`}if(u?.css){let v=g&&typeof g=="object"?g.css:void 0,O;typeof v=="string"?O=v:v&&typeof v=="object"&&"root"in v&&typeof v.root=="string"&&(O=v.root),O&&k&&(O=$t(k,O));let H=O??a,it=l?Z(H,l):H;_+=er(u.css,it)}return c&&_?`${c}{${_}}`:_}var Qo=(t,e,o,r,n=!1,s=!1,i={})=>{let a={blockGap:!0,blockStyles:!0,layoutStyles:!0,marginReset:!0,presets:!0,rootPadding:!0,variationStyles:!1,...i},l=Do(t,e),c=Ct(t,e),f=t?.settings?.useRootPaddingAwareAlignments,{contentSize:u,wideSize:p}=t?.settings?.layout||{},h=a.marginReset||a.rootPadding||a.layoutStyles,d="";if(a.presets&&(u||p)&&(d+=`${Q} {`,d=u?d+` --wp--style--global--content-size: ${u};`:d,d=p?d+` --wp--style--global--wide-size: ${p};`:d,d+="}"),h&&(d+=":where(body) {margin: 0;",a.rootPadding&&f&&(d+=`padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) }
				.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }
				.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0;
				`),d+="}"),a.blockStyles){let g=At(t);l.forEach(m=>{if(m.isStyleVariation&&!a.variationStyles)return;let y=Uo(m,g);[m,...y,...xe(m),...y.flatMap(xe)].forEach(P=>{d+=Xo(P,{tree:t,useRootPaddingAlign:f,disableLayoutStyles:n,hasBlockGapSupport:o,hasFallbackGapSupport:r,disableRootPadding:s})})})}if(a.layoutStyles&&(d=d+".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",d=d+".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",d=d+".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }"),a.blockGap&&o){let g=gt(t?.styles?.spacing?.blockGap)||"0.5em";d=d+`:root :where(.wp-site-blocks) > * { margin-block-start: ${g}; margin-block-end: 0; }`,d=d+":root :where(.wp-site-blocks) > :first-child { margin-block-start: 0; }",d=d+":root :where(.wp-site-blocks) > :last-child { margin-block-end: 0; }"}return a.presets&&c.forEach(({selector:g,presets:m})=>{(I===g||Q===g)&&(g="");let y=Co(g,m);y.length>0&&(d+=y)}),d};function Yo(t,e){return Ct(t,e).flatMap(({presets:r})=>Io(r))}var Zo=(t,e)=>{if(t?.selectors&&Object.keys(t.selectors).length>0)return t.selectors;let o={root:e};return Object.entries(Ao).forEach(([r,n])=>{let s=D(t,r);s&&(o[n]=s)}),o},qo=(t,e)=>{let{getBlockStyles:o}=(0,$e.select)(E.store),r={};return t.forEach(n=>{let s=n.name,i=D(n);if(!i)return;let a=D(n,"filter.duotone");if(!a){let d=D(n),g=(0,E.getBlockSupport)(n,"color.__experimentalDuotone",!1);typeof g=="string"&&d&&(a=F(d,g))}let l=!!n?.supports?.layout||!!n?.supports?.__experimentalLayout,c=n?.supports?.spacing?.blockGap,f=typeof c=="object"&&!Array.isArray(c)?c.__experimentalDefault:void 0,u=o(s),p={};u?.forEach(d=>{let g=e?`-${e}`:"",m=`${d.name}${g}`,y=Et(m,i);p[m]=y});let h=Zo(n,i);r[s]={duotoneSelector:a??void 0,fallbackGapValue:f,featureSelectors:Object.keys(h).length?h:void 0,hasLayoutSupport:l,name:s,selector:i,styleVariationSelectors:u?.length?p:void 0}}),r};function tr(t){let e=t.styles?.blocks,o=e?.["core/separator"];return o&&o.color?.background&&!o.color?.text&&!o.border?.color?{...t,styles:{...t.styles,blocks:{...e,"core/separator":{...o,color:{...o.color,text:o.color?.background}}}}}:t}function er(t,e){let o="";return!t||t.trim()===""||t.split("&").forEach(n=>{if(!n||n.trim()==="")return;if(!n.includes("{"))o+=`:root :where(${e}){${n.trim()}}`;else{let i=n.replace("}","").split("{");if(i.length!==2)return;let[a,l]=i,c=a.match(/([>+~\s]*::[a-zA-Z-]+)/),f=c?c[1]:"",u=c?a.replace(f,"").trim():a.trim(),p;u===""?p=e:p=a.startsWith(" ")?F(e,u):Z(e,u),o+=`:root :where(${p})${f}{${l.trim()}}`}}),o}function It(t={},e=[],o={}){let{hasBlockGapSupport:r,hasFallbackGapSupport:n,disableLayoutStyles:s=!1,disableRootPadding:i=!1,styleOptions:a={}}=o,l=e.length>0?e:(0,E.getBlockTypes)(),c=Yt(t,"spacing.blockGap"),f=r??c!=null,u=n??!f;if(!t?.styles||!t?.settings)return[[],{}];let p=tr(t),h=qo(l),d=Jo(p,h),g=Qo(p,h,f,u,s,i,a),m=Yo(p,h);return[[{css:d,isGlobalStyles:!0},{css:g,isGlobalStyles:!0},{css:p?.styles?.css??"",isGlobalStyles:!0},{assets:m,__unstableType:"svgs",isGlobalStyles:!0}],p.settings]}var Ce=S(W(),1),Ie=S(ut(),1),yt=S(U(),1),Re=S(N(),1);var Ve=S(W(),1),Fe=S(N(),1),je=S(U(),1);function Ae(t){let{userGlobalStyles:e}=(0,Fe.useSelect)(o=>{if(t===void 0)return{userGlobalStyles:void 0};let{getEntityRecord:r,getEditedEntityRecord:n,canUser:s}=o(Ve.store),i=s("update",{kind:"root",name:"globalStyles",id:t}),a;return typeof i=="boolean"&&(i?a=n("root","globalStyles",t):a=r("root","globalStyles",t,{context:"view"})),{userGlobalStyles:a}},[t]);return(0,je.useMemo)(()=>e?{user:e}:{user:void 0},[e])}var Te=S(Oe(),1),{unlock:A}=(0,Te.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/lazy-editor");function ot({stylesId:t}){let{editorSettings:e,blockTypes:o}=(0,Re.useSelect)(a=>({editorSettings:A(a(Ce.store)).getEditorSettings(),blockTypes:a(Ie.store).getBlockTypes()}),[]),{user:r}=Ae(t),[n]=(0,yt.useMemo)(()=>It(r,o),[r,o]),s=!!e,i=(0,yt.useMemo)(()=>s?[...e?.styles??[],...n]:[],[s,e?.styles,n]);return{isReady:s,editorSettings:(0,yt.useMemo)(()=>({...e??{},styles:i}),[e,i])}}function or(t){if(!t||Object.keys(t).length===0)return;let e=document.querySelector("script#wp-importmap[type=importmap]");if(e)try{let o=JSON.parse(e.text);o.imports||(o.imports={}),o.imports={...o.imports,...t},e.text=JSON.stringify(o,null,2)}catch(o){console.error("Failed to parse or update import map:",o)}else{let o=document.createElement("script");o.type="importmap",o.id="wp-importmap",o.text=JSON.stringify({imports:t},null,2),document.head.appendChild(o)}}function rr(t,e){return new Promise(o=>{if(!e.src){o();return}if(document.getElementById(t+"-css")){o();return}let n=document.createElement("link");n.rel="stylesheet",n.href=e.src+(e.version?"?ver="+e.version:""),n.id=t+"-css",n.media=e.media||"all",n.onload=()=>o(),n.onerror=()=>{console.error(`Failed to load stylesheet: ${t}`),o()},document.head.appendChild(n)})}function nr(t,e){if(!e.src){let r=document.createElement("script");return r.id=t+"-js",r.textContent="// Processed: "+t,r}let o=document.createElement("script");return o.src=e.src+(e.version?"?ver="+e.version:""),o.id=t+"-js",o.async=!1,o}function Me(t,e,o){let r="";if(Array.isArray(e)?r=e.join(`
`):typeof e=="string"&&(r=e),r&&r.trim()){let n=t+"-"+o+"-inline-css";if(!document.getElementById(n)){let s=document.createElement("style");s.id=n,s.textContent=r.trim(),document.head.appendChild(s)}}}function Le(t,e,o){let r=e;Array.isArray(r)&&(r=r.join(`
`));let n=document.createElement("script");return n.id=t+"-"+o+"-js",n.textContent=r.trim(),n}function ze(t){let e=new Set,o=new Set,r=[];function n(s){if(!e.has(s)){if(o.has(s)){console.warn(`Circular dependency detected for handle: ${s}`);return}o.add(s),t[s]&&(t[s].deps||[]).forEach(a=>{t[a]&&n(a)}),o.delete(s),e.add(s),t[s]&&r.push(s)}}return Object.keys(t).forEach(s=>{n(s)}),r}async function sr(t,e){let o=[];for(let r of t){if(r.src){let n=Promise.withResolvers();r.onload=()=>n.resolve(),r.onerror=()=>{console.error(`Failed to load script: ${r.id}`),n.resolve()},o.push(n.promise)}else await Promise.all(o),o=[];e.appendChild(r)}await Promise.all(o),o=[]}async function ir(t,e,o,r,n,s){s&&or(s);let i=ze(o),a=ze(t),l=[];for(let u of i){let p=r.before?.[u];p&&Me(u,p,"before"),l.push(rr(u,o[u]));let h=r.after?.[u];h&&Me(u,h,"after")}let c=[];for(let u of a){let p=e.before?.[u];p&&c.push(Le(u,p,"before")),c.push(nr(u,t[u]));let h=e.after?.[u];h&&c.push(Le(u,h,"after"))}let f=sr(c,document.body);await Promise.all([Promise.all(l),f]),n&&n.length>0&&n.forEach(u=>{let p=u.match(/<script([^>]*)>(.*?)<\/script>/is);if(p){let h=p[1],d=p[2],g=document.createElement("script"),m=h.match(/id=["']([^"']+)["']/);m&&(g.id=m[1]);let y=h.match(/type=["']([^"']+)["']/);y&&(g.type=y[1]),g.textContent=d,document.body.appendChild(g)}})}var Ge=ir;var Mt=S(W(),1),St=S(U(),1),bt=S(N(),1);var Rt;async function Ne(){return Rt||(Rt=(async()=>{let e=await A((0,bt.resolveSelect)(Mt.store)).getEditorAssets();await Ge(e.scripts||{},e.inline_scripts||{before:{},after:{}},e.styles||{},e.inline_styles||{before:{},after:{}},e.html_templates||[],e.script_modules||{})})()),Rt}function rt(){let t=(0,bt.useSelect)(r=>A(r(Mt.store)).getEditorAssets(),[]),[e,o]=(0,St.useState)(!1);return(0,St.useEffect)(()=>{t&&!e&&Ne().then(()=>{o(!0)}).catch(r=>{console.error("Failed to load editor assets:",r)})},[t,e]),{isReady:!!t&&e,assetsLoaded:e}}var M=S(Lt(),1),{Editor:ar,BackButton:lr,PreferencesModal:cr,ToolsMoreMenuGroup:ur,SiteExport:fr}=A(We.privateApis);function pr({postType:t,postId:e,settings:o,backButton:r,onActionPerformed:n,initialViewport:s,renderingMode:i}){let a=(0,Gt.useSelect)(m=>{if(t||e)return null;let{getHomePage:y}=A(m(zt.store));return y()},[t,e]),l=t||a?.postType,c=e||a?.postId,f=(0,Gt.useSelect)(m=>{if(!(!l||!c))return l==="wp_template"?c:A(m(zt.store)).getTemplateId(l,c)},[l,c]),u=at({templateId:f}),{isReady:p,editorSettings:h}=ot({stylesId:u}),{isReady:d}=rt(),g=(0,De.useMemo)(()=>({...h,...o,styles:[...h.styles??[],...o?.styles??[]]}),[h,o]);return!p||!d?(0,M.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,M.jsx)(Ue.Spinner,{})}):(0,M.jsxs)(ar,{postType:l,postId:c,templateId:f,settings:g,styles:g.styles,onActionPerformed:n,initialViewport:s,renderingMode:i,children:[r&&(0,M.jsx)(lr,{children:r}),(0,M.jsx)(cr,{}),(0,M.jsx)(ur,{children:(0,M.jsx)(fr,{})})]})}var Je=S(re(),1),st=S(U(),1),nt=S(He(),1),Xe=S(vt(),1),Qe=S(ut(),1);var G=S(Lt(),1);if(typeof document<"u"&&(typeof process>"u"||!0)&&!document.head.querySelector("style[data-wp-hash='95327475c1']")){let t=document.createElement("style");t.setAttribute("data-wp-hash","95327475c1"),t.appendChild(document.createTextNode(".lazy-editor-block-preview__container{align-items:center;border-radius:4px;display:flex;flex-direction:column;height:100%;justify-content:center}.dataviews-view-grid .lazy-editor-block-preview__container .block-editor-block-preview__container{height:100%}.dataviews-view-table .lazy-editor-block-preview__container{text-wrap:balance;text-wrap:pretty;flex-grow:0;width:96px}")),document.head.appendChild(t)}var{useStyle:dr}=A(Xe.privateApis);function gr({blocks:t,content:e,description:o}){let r=(0,st.useId)(),n=dr("color.background"),s=(0,st.useMemo)(()=>t??(0,Qe.parse)(e,{__unstableSkipMigrationLogs:!0}),[e,t]),i=!s?.length;return(0,G.jsxs)("div",{className:"lazy-editor-block-preview__container",style:{backgroundColor:n},"aria-describedby":o?r:void 0,children:[i&&(0,Je.__)("Empty."),!i&&(0,G.jsx)(nt.BlockPreview.Async,{children:(0,G.jsx)(nt.BlockPreview,{blocks:s})}),!!o&&(0,G.jsx)("div",{hidden:!0,id:r,children:o})]})}function mr({blocks:t,content:e,description:o}){let r=at(),{isReady:n,editorSettings:s}=ot({stylesId:r}),{isReady:i}=rt(),a=(0,st.useMemo)(()=>({...s,isPreviewMode:!0}),[s]);return!n||!i?null:(0,G.jsx)(nt.BlockEditorProvider,{settings:a,children:(0,G.jsx)(gr,{blocks:t,content:e,description:o})})}export{pr as Editor,mr as Preview,Ne as loadEditorAssets,rt as useEditorAssets,ot as useEditorSettings};

Directory Contents

Dirs: 0 × Files: 3
Name Size Perms Modified Actions
101.46 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
254 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
42.55 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI