���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC /*! This file is auto-generated */ (()=>{var e={2321:e=>{e.exports=function(e){return e&&"__experimental"in e&&!1!==e.__experimental}},7734:e=>{"use strict";e.exports=function e(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var n,r,a;if(Array.isArray(t)){if((n=t.length)!=o.length)return!1;for(r=n;0!=r--;)if(!e(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!e(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if((n=t.length)!=o.length)return!1;for(r=n;0!=r--;)if(t[r]!==o[r])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,a[r]))return!1;for(r=n;0!=r--;){var i=a[r];if(!e(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}},9681:e=>{var t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ẻ:"e",ẽ:"e",ẹ:"e",ể:"e",ễ:"e",ệ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ỉ:"i",ị:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ỏ:"o",ọ:"o",ổ:"o",ỗ:"o",ộ:"o",ờ:"o",ở:"o",ỡ:"o",ớ:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",ủ:"u",ụ:"u",ử:"u",ữ:"u",ự:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},o=Object.keys(t).join("|"),n=new RegExp(o,"g"),r=new RegExp(o,"");function a(e){return t[e]}var i=function(e){return e.replace(n,a)};e.exports=i,e.exports.has=function(e){return!!e.match(r)},e.exports.remove=i}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{__experimentalGetCoreBlocks:()=>NB,__experimentalRegisterExperimentalCoreBlocks:()=>IB,privateApis:()=>BB,registerCoreBlocks:()=>TB});var e={};o.r(e),o.d(e,{init:()=>lt,metadata:()=>at,name:()=>it,settings:()=>st});var t={};o.r(t),o.d(t,{init:()=>Bt,metadata:()=>Ct,name:()=>jt,settings:()=>St});var r={};o.r(r),o.d(r,{init:()=>ro,metadata:()=>to,name:()=>oo,settings:()=>no});var a={};o.r(a),o.d(a,{init:()=>Io,metadata:()=>Bo,name:()=>No,settings:()=>To});var i={};o.r(i),o.d(i,{init:()=>Oo,metadata:()=>Eo,name:()=>$o,settings:()=>Go});var s={};o.r(s),o.d(s,{init:()=>Jo,metadata:()=>Zo,name:()=>Qo,settings:()=>Ko});var l={};o.r(l),o.d(l,{init:()=>rn,metadata:()=>tn,name:()=>on,settings:()=>nn});var c={};o.r(c),o.d(c,{init:()=>bn,metadata:()=>gn,name:()=>hn,settings:()=>xn});var u={};o.r(u),o.d(u,{init:()=>Sn,metadata:()=>wn,name:()=>Cn,settings:()=>jn});var d={};o.r(d),o.d(d,{init:()=>An,metadata:()=>Mn,name:()=>zn,settings:()=>Rn});var p={};o.r(p),o.d(p,{init:()=>er,metadata:()=>Jn,name:()=>Yn,settings:()=>Xn});var m={};o.r(m),o.d(m,{init:()=>pr,metadata:()=>cr,name:()=>ur,settings:()=>dr});var g={};o.r(g),o.d(g,{init:()=>xr,metadata:()=>mr,name:()=>gr,settings:()=>hr});var h={};o.r(h),o.d(h,{init:()=>wr,metadata:()=>vr,name:()=>fr,settings:()=>kr});var x={};o.r(x),o.d(x,{init:()=>Nr,metadata:()=>jr,name:()=>Sr,settings:()=>Br});var b={};o.r(b),o.d(b,{init:()=>Lr,metadata:()=>zr,name:()=>Rr,settings:()=>Ar});var _={};o.r(_),o.d(_,{init:()=>Er,metadata:()=>Dr,name:()=>Fr,settings:()=>Vr});var y={};o.r(y),o.d(y,{init:()=>Wr,metadata:()=>Or,name:()=>Ur,settings:()=>qr});var v={};o.r(v),o.d(v,{init:()=>aa,metadata:()=>oa,name:()=>na,settings:()=>ra});var f={};o.r(f),o.d(f,{init:()=>da,metadata:()=>la,name:()=>ca,settings:()=>ua});var k={};o.r(k),o.d(k,{init:()=>_a,metadata:()=>ha,name:()=>xa,settings:()=>ba});var w={};o.r(w),o.d(w,{init:()=>Ca,metadata:()=>fa,name:()=>ka,settings:()=>wa});var C={};o.r(C),o.d(C,{init:()=>Ia,metadata:()=>Ba,name:()=>Na,settings:()=>Ta});var j={};o.r(j),o.d(j,{init:()=>Da,metadata:()=>Aa,name:()=>La,settings:()=>Ha});var S={};o.r(S),o.d(S,{init:()=>Rs,metadata:()=>Ps,name:()=>Ms,settings:()=>zs});var B={};o.r(B),o.d(B,{init:()=>Es,metadata:()=>Ds,name:()=>Fs,settings:()=>Vs});var N={};o.r(N),o.d(N,{init:()=>Pl,metadata:()=>Nl,name:()=>Tl,settings:()=>Il});var T={};o.r(T),o.d(T,{init:()=>Zl,metadata:()=>Ul,name:()=>ql,settings:()=>Wl});var I={};o.r(I),o.d(I,{init:()=>rc,metadata:()=>tc,name:()=>oc,settings:()=>nc});var P={};o.r(P),o.d(P,{init:()=>xc,metadata:()=>mc,name:()=>gc,settings:()=>hc});var M={};o.r(M),o.d(M,{init:()=>kc,metadata:()=>yc,name:()=>vc,settings:()=>fc});var z={};o.r(z),o.d(z,{init:()=>Pc,metadata:()=>Nc,name:()=>Tc,settings:()=>Ic});var R={};o.r(R),o.d(R,{init:()=>qu,metadata:()=>Gu,name:()=>Ou,settings:()=>Uu});var A={};o.r(A),o.d(A,{init:()=>cd,metadata:()=>id,name:()=>sd,settings:()=>ld});var L={};o.r(L),o.d(L,{init:()=>Md,metadata:()=>Td,name:()=>Id,settings:()=>Pd});var H={};o.r(H),o.d(H,{init:()=>Dd,metadata:()=>Ad,name:()=>Ld,settings:()=>Hd});var D={};o.r(D),o.d(D,{init:()=>Wd,metadata:()=>Od,name:()=>Ud,settings:()=>qd});var F={};o.r(F),o.d(F,{init:()=>kp,metadata:()=>yp,name:()=>vp,settings:()=>fp});var V={};o.r(V),o.d(V,{init:()=>Bp,metadata:()=>Cp,name:()=>jp,settings:()=>Sp});var E={};o.r(E),o.d(E,{init:()=>Hp,metadata:()=>Rp,name:()=>Ap,settings:()=>Lp});var $={};o.r($),o.d($,{init:()=>dm,metadata:()=>lm,name:()=>cm,settings:()=>um});var G={};o.r(G),o.d(G,{init:()=>Cm,metadata:()=>fm,name:()=>km,settings:()=>wm});var O={};o.r(O),o.d(O,{init:()=>Tm,metadata:()=>Sm,name:()=>Bm,settings:()=>Nm});var U={};o.r(U),o.d(U,{init:()=>xg,metadata:()=>mg,name:()=>gg,settings:()=>hg});var q={};o.r(q),o.d(q,{init:()=>kg,metadata:()=>yg,name:()=>vg,settings:()=>fg});var W={};o.r(W),o.d(W,{init:()=>Tg,metadata:()=>Sg,name:()=>Bg,settings:()=>Ng});var Z={};o.r(Z),o.d(Z,{init:()=>ix,metadata:()=>nx,name:()=>rx,settings:()=>ax});var Q={};o.r(Q),o.d(Q,{init:()=>vx,metadata:()=>bx,name:()=>_x,settings:()=>yx});var K={};o.r(K),o.d(K,{init:()=>Ix,metadata:()=>Bx,name:()=>Nx,settings:()=>Tx});var J={};o.r(J),o.d(J,{init:()=>Lx,metadata:()=>zx,name:()=>Rx,settings:()=>Ax});var Y={};o.r(Y),o.d(Y,{init:()=>qx,metadata:()=>Gx,name:()=>Ox,settings:()=>Ux});var X={};o.r(X),o.d(X,{init:()=>rb,metadata:()=>tb,name:()=>ob,settings:()=>nb});var ee={};o.r(ee),o.d(ee,{init:()=>cb,metadata:()=>ib,name:()=>sb,settings:()=>lb});var te={};o.r(te),o.d(te,{init:()=>Ib,metadata:()=>Bb,name:()=>Nb,settings:()=>Tb});var oe={};o.r(oe),o.d(oe,{init:()=>Hb,metadata:()=>Rb,name:()=>Ab,settings:()=>Lb});var ne={};o.r(ne),o.d(ne,{init:()=>Gb,metadata:()=>Vb,name:()=>Eb,settings:()=>$b});var re={};o.r(re),o.d(re,{init:()=>Zb,metadata:()=>Ub,name:()=>qb,settings:()=>Wb});var ae={};o.r(ae),o.d(ae,{init:()=>e_,metadata:()=>Jb,name:()=>Yb,settings:()=>Xb});var ie={};o.r(ie),o.d(ie,{init:()=>a_,metadata:()=>o_,name:()=>n_,settings:()=>r_});var se={};o.r(se),o.d(se,{init:()=>u_,metadata:()=>s_,name:()=>l_,settings:()=>c_});var le={};o.r(le),o.d(le,{init:()=>h_,metadata:()=>p_,name:()=>m_,settings:()=>g_});var ce={};o.r(ce),o.d(ce,{init:()=>j_,metadata:()=>k_,name:()=>w_,settings:()=>C_});var ue={};o.r(ue),o.d(ue,{init:()=>R_,metadata:()=>P_,name:()=>M_,settings:()=>z_});var de={};o.r(de),o.d(de,{init:()=>V_,metadata:()=>H_,name:()=>D_,settings:()=>F_});var pe={};o.r(pe),o.d(pe,{init:()=>X_,metadata:()=>K_,name:()=>J_,settings:()=>Y_});var me={};o.r(me),o.d(me,{init:()=>sy,metadata:()=>ry,name:()=>ay,settings:()=>iy});var ge={};o.r(ge),o.d(ge,{init:()=>gy,metadata:()=>dy,name:()=>py,settings:()=>my});var he={};o.r(he),o.d(he,{init:()=>Cy,metadata:()=>fy,name:()=>ky,settings:()=>wy});var xe={};o.r(xe),o.d(xe,{init:()=>Py,metadata:()=>Ny,name:()=>Ty,settings:()=>Iy});var be={};o.r(be),o.d(be,{init:()=>Hy,metadata:()=>Ry,name:()=>Ay,settings:()=>Ly});var _e={};o.r(_e),o.d(_e,{init:()=>Oy,metadata:()=>Ey,name:()=>$y,settings:()=>Gy});var ye={};o.r(ye),o.d(ye,{init:()=>uv,metadata:()=>sv,name:()=>lv,settings:()=>cv});var ve={};o.r(ve),o.d(ve,{init:()=>ff,metadata:()=>_f,name:()=>yf,settings:()=>vf});var fe={};o.r(fe),o.d(fe,{init:()=>Sf,metadata:()=>wf,name:()=>Cf,settings:()=>jf});var ke={};o.r(ke),o.d(ke,{init:()=>Rf,metadata:()=>Pf,name:()=>Mf,settings:()=>zf});var we={};o.r(we),o.d(we,{init:()=>Ff,metadata:()=>Lf,name:()=>Hf,settings:()=>Df});var Ce={};o.r(Ce),o.d(Ce,{init:()=>Of,metadata:()=>Ef,name:()=>$f,settings:()=>Gf});var je={};o.r(je),o.d(je,{init:()=>Qf,metadata:()=>qf,name:()=>Wf,settings:()=>Zf});var Se={};o.r(Se),o.d(Se,{init:()=>rk,metadata:()=>tk,name:()=>ok,settings:()=>nk});var Be={};o.r(Be),o.d(Be,{init:()=>wk,metadata:()=>vk,name:()=>fk,settings:()=>kk});var Ne={};o.r(Ne),o.d(Ne,{init:()=>Ek,metadata:()=>Dk,name:()=>Fk,settings:()=>Vk});var Te={};o.r(Te),o.d(Te,{init:()=>Uk,metadata:()=>$k,name:()=>Gk,settings:()=>Ok});var Ie={};o.r(Ie),o.d(Ie,{init:()=>Kk,metadata:()=>Wk,name:()=>Zk,settings:()=>Qk});var Pe={};o.r(Pe),o.d(Pe,{init:()=>cw,metadata:()=>iw,name:()=>sw,settings:()=>lw});var Me={};o.r(Me),o.d(Me,{init:()=>bw,metadata:()=>gw,name:()=>hw,settings:()=>xw});var ze={};o.r(ze),o.d(ze,{init:()=>Cw,metadata:()=>fw,name:()=>kw,settings:()=>ww});var Re={};o.r(Re),o.d(Re,{init:()=>Aw,metadata:()=>Mw,name:()=>zw,settings:()=>Rw});var Ae={};o.r(Ae),o.d(Ae,{init:()=>Gw,metadata:()=>Vw,name:()=>Ew,settings:()=>$w});var Le={};o.r(Le),o.d(Le,{init:()=>Yw,metadata:()=>Qw,name:()=>Kw,settings:()=>Jw});var He={};o.r(He),o.d(He,{init:()=>cC,metadata:()=>iC,name:()=>sC,settings:()=>lC});var De={};o.r(De),o.d(De,{init:()=>_C,metadata:()=>hC,name:()=>xC,settings:()=>bC});var Fe={};o.r(Fe),o.d(Fe,{init:()=>MC,metadata:()=>TC,name:()=>IC,settings:()=>PC});var Ve={};o.r(Ve),o.d(Ve,{init:()=>_j,metadata:()=>hj,name:()=>xj,settings:()=>bj});var Ee={};o.r(Ee),o.d(Ee,{init:()=>Tj,metadata:()=>Sj,name:()=>Bj,settings:()=>Nj});var $e={};o.r($e),o.d($e,{init:()=>Aj,metadata:()=>Mj,name:()=>zj,settings:()=>Rj});var Ge={};o.r(Ge),o.d(Ge,{init:()=>_S,metadata:()=>hS,name:()=>xS,settings:()=>bS});var Oe={};o.r(Oe),o.d(Oe,{init:()=>wS,metadata:()=>vS,name:()=>fS,settings:()=>kS});var Ue={};o.r(Ue),o.d(Ue,{init:()=>TS,metadata:()=>SS,name:()=>BS,settings:()=>NS});var qe={};o.r(qe),o.d(qe,{init:()=>DS,metadata:()=>AS,name:()=>LS,settings:()=>HS});var We={};o.r(We),o.d(We,{init:()=>sB,metadata:()=>rB,name:()=>aB,settings:()=>iB});var Ze={};o.r(Ze),o.d(Ze,{init:()=>kB,metadata:()=>yB,name:()=>vB,settings:()=>fB});const Qe=window.wp.blocks,Ke=window.wp.primitives,Je=window.ReactJSXRuntime,Ye=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z"})});function Xe(e){if(!e)return;const{metadata:t,settings:o,name:n}=e;return(0,Qe.registerBlockType)({name:n,...t},o)}const et=window.wp.components,tt=window.wp.i18n,ot=window.wp.blockEditor,nt=window.wp.serverSideRender;var rt=o.n(nt);const at={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/archives",title:"Archives",category:"widgets",description:"Display a date archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showLabel:{type:"boolean",default:!0},showPostCounts:{type:"boolean",default:!1},type:{type:"string",default:"monthly"}},supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-archives-editor"},{name:it}=at,st={icon:Ye,example:{},edit:function({attributes:e,setAttributes:t}){const{showLabel:o,showPostCounts:n,displayAsDropdown:r,type:a}=e;return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsxs)(et.PanelBody,{title:(0,tt.__)("Settings"),children:[(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Display as dropdown"),checked:r,onChange:()=>t({displayAsDropdown:!r})}),r&&(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show label"),checked:o,onChange:()=>t({showLabel:!o})}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show post counts"),checked:n,onChange:()=>t({showPostCounts:!n})}),(0,Je.jsx)(et.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Group by:"),options:[{label:(0,tt.__)("Year"),value:"yearly"},{label:(0,tt.__)("Month"),value:"monthly"},{label:(0,tt.__)("Week"),value:"weekly"},{label:(0,tt.__)("Day"),value:"daily"}],value:a,onChange:e=>t({type:e})})]})}),(0,Je.jsx)("div",{...(0,ot.useBlockProps)(),children:(0,Je.jsx)(et.Disabled,{children:(0,Je.jsx)(rt(),{block:"core/archives",skipBlockSupportAttributes:!0,attributes:e})})})]})}},lt=()=>Xe({name:it,metadata:at,settings:st}),ct=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{fillRule:"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",clipRule:"evenodd"})});function ut(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t{const{getSettings:t}=e(ot.store),{__experimentalDiscussionSettings:o}=t();return o}));return e}const bt=window.wp.element,_t={who:"authors",per_page:-1,_fields:"id,name",context:"view"};const yt=function({value:e,onChange:t}){const[o,n]=(0,bt.useState)(),r=(0,gt.useSelect)((e=>{const{getUsers:t}=e(mt.store);return t(_t)}),[]);if(!r)return null;const a=r.map((e=>({label:e.name,value:e.id})));return(0,Je.jsx)(et.ComboboxControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("User"),help:(0,tt.__)("Select the avatar user to display, if it is blank it will use the post/page author."),value:e,onChange:t,options:o||a,onFilterValueChange:e=>n(a.filter((t=>t.label.toLowerCase().startsWith(e.toLowerCase()))))})},vt=({setAttributes:e,avatar:t,attributes:o,selectUser:n})=>(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsxs)(et.PanelBody,{title:(0,tt.__)("Settings"),children:[(0,Je.jsx)(et.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:(0,tt.__)("Image size"),onChange:t=>e({size:t}),min:t.minSize,max:t.maxSize,initialPosition:o?.size,value:o?.size}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Link to user profile"),onChange:()=>e({isLink:!o.isLink}),checked:o.isLink}),o.isLink&&(0,Je.jsx)(et.ToggleControl,{label:(0,tt.__)("Open in new tab"),onChange:t=>e({linkTarget:t?"_blank":"_self"}),checked:"_blank"===o.linkTarget}),n&&(0,Je.jsx)(yt,{value:o?.userId,onChange:t=>{e({userId:t})}})]})}),ft=({setAttributes:e,attributes:t,avatar:o,blockProps:n,isSelected:r})=>{const a=(0,ot.__experimentalUseBorderProps)(t),i=(0,pt.addQueryArgs)((0,pt.removeQueryArgs)(o?.src,["s"]),{s:2*t?.size});return(0,Je.jsx)("div",{...n,children:(0,Je.jsx)(et.ResizableBox,{size:{width:t.size,height:t.size},showHandle:r,onResizeStop:(o,n,r,a)=>{e({size:parseInt(t.size+(a.height||a.width),10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,tt.isRTL)(),bottom:!0,left:(0,tt.isRTL)()},minWidth:o.minSize,maxWidth:o.maxSize,children:(0,Je.jsx)("img",{src:i,alt:o.alt,className:dt("avatar","avatar-"+t.size,"photo","wp-block-avatar__image",a.className),style:a.style})})})},kt=({attributes:e,context:t,setAttributes:o,isSelected:n})=>{const{commentId:r}=t,a=(0,ot.useBlockProps)(),i=function({commentId:e}){const[t]=(0,mt.useEntityProp)("root","comment","author_avatar_urls",e),[o]=(0,mt.useEntityProp)("root","comment","author_name",e),n=t?Object.values(t):null,r=t?Object.keys(t):null,{minSize:a,maxSize:i}=ht(r),s=xt();return{src:n?n[n.length-1]:s,minSize:a,maxSize:i,alt:o?(0,tt.sprintf)((0,tt.__)("%s Avatar"),o):(0,tt.__)("Default Avatar")}}({commentId:r});return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(vt,{avatar:i,setAttributes:o,attributes:e,selectUser:!1}),e.isLink?(0,Je.jsx)("a",{href:"#avatar-pseudo-link",className:"wp-block-avatar__link",onClick:e=>e.preventDefault(),children:(0,Je.jsx)(ft,{attributes:e,avatar:i,blockProps:a,isSelected:n,setAttributes:o})}):(0,Je.jsx)(ft,{attributes:e,avatar:i,blockProps:a,isSelected:n,setAttributes:o})]})},wt=({attributes:e,context:t,setAttributes:o,isSelected:n})=>{const{postId:r,postType:a}=t,i=function({userId:e,postId:t,postType:o}){const{authorDetails:n}=(0,gt.useSelect)((n=>{const{getEditedEntityRecord:r,getUser:a}=n(mt.store);if(e)return{authorDetails:a(e)};const i=r("postType",o,t)?.author;return{authorDetails:i?a(i):null}}),[o,t,e]),r=n?.avatar_urls?Object.values(n.avatar_urls):null,a=n?.avatar_urls?Object.keys(n.avatar_urls):null,{minSize:i,maxSize:s}=ht(a),l=xt();return{src:r?r[r.length-1]:l,minSize:i,maxSize:s,alt:n?(0,tt.sprintf)((0,tt.__)("%s Avatar"),n?.name):(0,tt.__)("Default Avatar")}}({userId:e?.userId,postId:r,postType:a}),s=(0,ot.useBlockProps)();return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(vt,{selectUser:!0,attributes:e,avatar:i,setAttributes:o}),e.isLink?(0,Je.jsx)("a",{href:"#avatar-pseudo-link",className:"wp-block-avatar__link",onClick:e=>e.preventDefault(),children:(0,Je.jsx)(ft,{attributes:e,avatar:i,blockProps:s,isSelected:n,setAttributes:o})}):(0,Je.jsx)(ft,{attributes:e,avatar:i,blockProps:s,isSelected:n,setAttributes:o})]})};const Ct={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/avatar",title:"Avatar",category:"theme",description:"Add a user’s avatar.",textdomain:"default",attributes:{userId:{type:"number"},size:{type:"number",default:96},isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},usesContext:["postType","postId","commentId"],supports:{html:!1,align:!0,alignWide:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{__experimentalSkipSerialization:!0,radius:!0,width:!0,color:!0,style:!0,__experimentalDefaultControls:{radius:!0}},color:{text:!1,background:!1,__experimentalDuotone:"img"},interactivity:{clientNavigation:!0}},selectors:{border:".wp-block-avatar img"},editorStyle:"wp-block-avatar-editor",style:"wp-block-avatar"},{name:jt}=Ct,St={icon:ct,edit:function(e){return e?.context?.commentId||null===e?.context?.commentId?(0,Je.jsx)(kt,{...e}):(0,Je.jsx)(wt,{...e})}},Bt=()=>Xe({name:jt,metadata:Ct,settings:St}),Nt=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})}),Tt=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save({attributes:e}){const{autoplay:t,caption:o,loop:n,preload:r,src:a}=e;return(0,Je.jsxs)("figure",{children:[(0,Je.jsx)("audio",{controls:"controls",src:a,autoPlay:t,loop:n,preload:r}),!ot.RichText.isEmpty(o)&&(0,Je.jsx)(ot.RichText.Content,{tagName:"figcaption",value:o})]})}}],It=window.wp.blob,Pt=window.wp.notices;function Mt(e,t){var o,n,r=0;function a(){var a,i,s=o,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;ie&&e.includes('class="wp-embedded-content"'),Et=(e,t={})=>{const{preview:o,attributes:n={}}=e,{url:r,providerNameSlug:a,type:i,...s}=n;if(!r||!(0,Qe.getBlockType)(Dt))return;const l=(e=>(0,Qe.getBlockVariations)(Dt)?.find((({patterns:t})=>((e,t=[])=>t.some((t=>e.match(t))))(e,t))))(r),c="wordpress"===a||i===Rt;if(!c&&l&&(l.attributes.providerNameSlug!==a||!a))return(0,Qe.createBlock)(Dt,{url:r,...s,...l.attributes});const u=(0,Qe.getBlockVariations)(Dt)?.find((({name:e})=>"wordpress"===e));return u&&o&&Vt(o.html)&&!c?(0,Qe.createBlock)(Dt,{url:r,...u.attributes,...t}):void 0},$t=e=>{if(!e)return e;const t=zt.reduce(((e,{className:t})=>(e.push(t),e)),["wp-has-aspect-ratio"]);let o=e;for(const e of t)o=o.replace(e,"");return o.trim()};function Gt(e,t,o=!0){if(!o)return $t(t);const n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;const r=n.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let o=0;o=n.ratio){return e-n.ratio>.1?$t(t):dt($t(t),n.className,"wp-has-aspect-ratio")}}}return t}const Ot=Mt(((e,t,o,n,r=!0)=>{if(!e)return{};const a={};let{type:i="rich"}=e;const{html:s,provider_name:l}=e,c=Ft((l||t).toLowerCase());return Vt(s)&&(i=Rt),(s||"photo"===i)&&(a.type=i,a.providerNameSlug=c),(u=o)&&zt.some((({className:e})=>u.includes(e)))||(a.className=Gt(s,o,n&&r)),a;var u})),Ut=window.wp.compose;function qt(e,t,o){return(0,gt.useSelect)((n=>n(mt.store).canUserEditEntityRecord(e,t,o)),[e,t,o])}function Wt(e={}){const t=(0,bt.useRef)(e),o=(0,bt.useRef)(!1),{getSettings:n}=(0,gt.useSelect)(ot.store);(0,bt.useLayoutEffect)((()=>{t.current=e})),(0,bt.useEffect)((()=>{if(o.current)return;if(!t.current.url||!(0,It.isBlobURL)(t.current.url))return;const e=(0,It.getBlobByURL)(t.current.url);if(!e)return;const{url:r,allowedTypes:a,onChange:i,onError:s}=t.current,{mediaUpload:l}=n();o.current=!0,l({filesList:[e],allowedTypes:a,onFileChange:([e])=>{(0,It.isBlobURL)(e?.url)||((0,It.revokeBlobURL)(r),i(e),o.current=!1)},onError:e=>{(0,It.revokeBlobURL)(r),s(e),o.current=!1}})}),[n])}function Zt(){return(0,Ut.useViewportMatch)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}const Qt=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z"})});function Kt({attributeKey:e="caption",attributes:t,setAttributes:o,isSelected:n,insertBlocksAfter:r,placeholder:a=(0,tt.__)("Add caption"),label:i=(0,tt.__)("Caption text"),showToolbarButton:s=!0,excludeElementClassName:l,className:c,readOnly:u,tagName:d="figcaption",addLabel:p=(0,tt.__)("Add caption"),removeLabel:m=(0,tt.__)("Remove caption"),icon:g=Qt,...h}){const x=t[e],b=(0,Ut.usePrevious)(x),{PrivateRichText:_}=Ht(ot.privateApis),y=_.isEmpty(x),v=_.isEmpty(b),[f,k]=(0,bt.useState)(!y);(0,bt.useEffect)((()=>{!y&&v&&k(!0)}),[y,v]),(0,bt.useEffect)((()=>{!n&&y&&k(!1)}),[n,y]);const w=(0,bt.useCallback)((e=>{e&&y&&e.focus()}),[y]);return(0,Je.jsxs)(Je.Fragment,{children:[s&&(0,Je.jsx)(ot.BlockControls,{group:"block",children:(0,Je.jsx)(et.ToolbarButton,{onClick:()=>{k(!f),f&&x&&o({[e]:void 0})},icon:g,isPressed:f,label:f?m:p})}),f&&(!_.isEmpty(x)||n)&&(0,Je.jsx)(_,{identifier:e,tagName:d,className:dt(c,l?"":(0,ot.__experimentalGetElementClassName)("caption")),ref:w,"aria-label":i,placeholder:a,value:x,onChange:t=>o({[e]:t}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>r((0,Qe.createBlock)((0,Qe.getDefaultBlockName)())),readOnly:u,...h})]})}const Jt=["audio"];const Yt=function({attributes:e,className:t,setAttributes:o,onReplace:n,isSelected:r,insertBlocksAfter:a}){const{id:i,autoplay:s,loop:l,preload:c,src:u}=e,d=!i&&(0,It.isBlobURL)(u);function p(e){return t=>{o({[e]:t})}}function m(e){if(e!==u){const t=Et({attributes:{url:e}});if(void 0!==t&&n)return void n(t);o({src:e,id:void 0})}}Wt({url:u,allowedTypes:Jt,onChange:x,onError:h});const{createErrorNotice:g}=(0,gt.useDispatch)(Pt.store);function h(e){g(e,{type:"snackbar"})}function x(e){e&&e.url?o({src:e.url,id:e.id,caption:e.caption}):o({src:void 0,id:void 0,caption:void 0})}const b=dt(t,{"is-transient":d}),_=(0,ot.useBlockProps)({className:b});return u?(0,Je.jsxs)(Je.Fragment,{children:[r&&(0,Je.jsx)(ot.BlockControls,{group:"other",children:(0,Je.jsx)(ot.MediaReplaceFlow,{mediaId:i,mediaURL:u,allowedTypes:Jt,accept:"audio/*",onSelect:x,onSelectURL:m,onError:h})}),(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsxs)(et.PanelBody,{title:(0,tt.__)("Settings"),children:[(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Autoplay"),onChange:p("autoplay"),checked:s,help:function(e){return e?(0,tt.__)("Autoplay may cause usability issues for some users."):null}}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Loop"),onChange:p("loop"),checked:l}),(0,Je.jsx)(et.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,tt._x)("Preload","noun; Audio block parameter"),value:c||"",onChange:e=>o({preload:e||void 0}),options:[{value:"",label:(0,tt.__)("Browser default")},{value:"auto",label:(0,tt.__)("Auto")},{value:"metadata",label:(0,tt.__)("Metadata")},{value:"none",label:(0,tt._x)("None","Preload value")}]})]})}),(0,Je.jsxs)("figure",{..._,children:[(0,Je.jsx)(et.Disabled,{isDisabled:!r,children:(0,Je.jsx)("audio",{controls:"controls",src:u})}),d&&(0,Je.jsx)(et.Spinner,{}),(0,Je.jsx)(Kt,{attributes:e,setAttributes:o,isSelected:r,insertBlocksAfter:a,label:(0,tt.__)("Audio caption text"),showToolbarButton:r})]})]}):(0,Je.jsx)("div",{..._,children:(0,Je.jsx)(ot.MediaPlaceholder,{icon:(0,Je.jsx)(ot.BlockIcon,{icon:Nt}),onSelect:x,onSelectURL:m,accept:"audio/*",allowedTypes:Jt,value:e,onError:h})})};const Xt={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return(0,Qe.createBlock)("core/audio",{src:(0,It.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:({named:{src:e,mp3:t,m4a:o,ogg:n,wav:r,wma:a}})=>e||t||o||n||r||a},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]},eo=Xt,to={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src",__experimentalRole:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",__experimentalRole:"content"},id:{type:"number",__experimentalRole:"content"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},{name:oo}=to,no={icon:Nt,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"},viewportWidth:350},transforms:eo,deprecated:Tt,edit:Yt,save:function({attributes:e}){const{autoplay:t,caption:o,loop:n,preload:r,src:a}=e;return a&&(0,Je.jsxs)("figure",{...ot.useBlockProps.save(),children:[(0,Je.jsx)("audio",{controls:"controls",src:a,autoPlay:t,loop:n,preload:r}),!ot.RichText.isEmpty(o)&&(0,Je.jsx)(ot.RichText.Content,{tagName:"figcaption",value:o,className:(0,ot.__experimentalGetElementClassName)("caption")})]})}},ro=()=>Xe({name:oo,metadata:to,settings:no}),ao=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),{cleanEmptyObject:io}=Ht(ot.privateApis);function so(e){if(!e?.style?.typography?.fontFamily)return e;const{fontFamily:t,...o}=e.style.typography;return{...e,style:io({...e.style,typography:o}),fontFamily:t.split("|").pop()}}const lo=e=>{const{borderRadius:t,...o}=e,n=[t,o.style?.border?.radius].find((e=>"number"==typeof e&&0!==e));return n?{...o,style:{...o.style,border:{...o.style?.border,radius:`${n}px`}}}:o};const co=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;const t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient);const{customTextColor:o,customBackgroundColor:n,customGradient:r,...a}=e;return{...a,style:t}},uo=e=>{const{color:t,textColor:o,...n}={...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0};return co(n)},po={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},mo={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){const{fontSize:o,linkTarget:n,rel:r,style:a,text:i,title:s,url:l,width:c}=e;if(!i)return null;const u=(0,ot.__experimentalGetBorderClassesAndStyles)(e),d=(0,ot.__experimentalGetColorClassesAndStyles)(e),p=(0,ot.__experimentalGetSpacingClassesAndStyles)(e),m=dt("wp-block-button__link",d.className,u.className,{"no-border-radius":0===a?.border?.radius}),g={...u.style,...d.style,...p.style},h=dt(t,{[`has-custom-width wp-block-button__width-${c}`]:c,"has-custom-font-size":o||a?.typography?.fontSize});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:h}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:m,href:l,title:s,style:g,value:i,target:n,rel:r})})}},go={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){const{fontSize:o,linkTarget:n,rel:r,style:a,text:i,title:s,url:l,width:c}=e;if(!i)return null;const u=(0,ot.__experimentalGetBorderClassesAndStyles)(e),d=(0,ot.__experimentalGetColorClassesAndStyles)(e),p=(0,ot.__experimentalGetSpacingClassesAndStyles)(e),m=dt("wp-block-button__link",d.className,u.className,{"no-border-radius":0===a?.border?.radius}),g={...u.style,...d.style,...p.style},h=dt(t,{[`has-custom-width wp-block-button__width-${c}`]:c,"has-custom-font-size":o||a?.typography?.fontSize});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:h}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:m,href:l,title:s,style:g,value:i,target:n,rel:r})})},migrate:so,isEligible:({style:e})=>e?.typography?.fontFamily},ho=[mo,go,{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...po,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible:({style:e})=>"number"==typeof e?.border?.radius,save({attributes:e,className:t}){const{fontSize:o,linkTarget:n,rel:r,style:a,text:i,title:s,url:l,width:c}=e;if(!i)return null;const u=a?.border?.radius,d=(0,ot.__experimentalGetColorClassesAndStyles)(e),p=dt("wp-block-button__link",d.className,{"no-border-radius":0===a?.border?.radius}),m={borderRadius:u||void 0,...d.style},g=dt(t,{[`has-custom-width wp-block-button__width-${c}`]:c,"has-custom-font-size":o||a?.typography?.fontSize});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:g}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:p,href:l,title:s,style:m,value:i,target:n,rel:r})})},migrate:(0,Ut.compose)(so,lo)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...po,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){const{borderRadius:o,linkTarget:n,rel:r,text:a,title:i,url:s,width:l}=e,c=(0,ot.__experimentalGetColorClassesAndStyles)(e),u=dt("wp-block-button__link",c.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...c.style},p=dt(t,{[`has-custom-width wp-block-button__width-${l}`]:l});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:p}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:u,href:s,title:i,style:d,value:a,target:n,rel:r})})},migrate:(0,Ut.compose)(so,lo)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...po,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){const{borderRadius:o,linkTarget:n,rel:r,text:a,title:i,url:s,width:l}=e,c=(0,ot.__experimentalGetColorClassesAndStyles)(e),u=dt("wp-block-button__link",c.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...c.style},p=dt(t,{[`has-custom-width wp-block-button__width-${l}`]:l});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:p}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:u,href:s,title:i,style:d,value:a,target:n,rel:r})})},migrate:(0,Ut.compose)(so,lo)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...po,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save({attributes:e}){const{borderRadius:t,linkTarget:o,rel:n,text:r,title:a,url:i}=e,s=dt("wp-block-button__link",{"no-border-radius":0===t}),l={borderRadius:t?t+"px":void 0};return(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:s,href:i,title:a,style:l,value:r,target:o,rel:n})},migrate:lo},{supports:{align:!0,alignWide:!1},attributes:{...po,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!(e.customTextColor||e.customBackgroundColor||e.customGradient||e.align),migrate:(0,Ut.compose)(lo,co,(function(e){if(!e.align)return e;const{align:t,...o}=e;return{...o,className:dt(o.className,`align${e.align}`)}})),save({attributes:e}){const{backgroundColor:t,borderRadius:o,customBackgroundColor:n,customTextColor:r,customGradient:a,linkTarget:i,gradient:s,rel:l,text:c,textColor:u,title:d,url:p}=e,m=(0,ot.getColorClassName)("color",u),g=!a&&(0,ot.getColorClassName)("background-color",t),h=(0,ot.__experimentalGetGradientClass)(s),x=dt("wp-block-button__link",{"has-text-color":u||r,[m]:m,"has-background":t||n||a||s,[g]:g,"no-border-radius":0===o,[h]:h}),b={background:a||void 0,backgroundColor:g||a||s?void 0:n,color:m?void 0:r,borderRadius:o?o+"px":void 0};return(0,Je.jsx)("div",{children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:x,href:p,title:d,style:b,value:c,target:i,rel:l})})}},{attributes:{...po,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible:e=>e.className&&e.className.includes("is-style-squared"),migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),lo(co({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:o,customTextColor:n,linkTarget:r,rel:a,text:i,textColor:s,title:l,url:c}=e,u=(0,ot.getColorClassName)("color",s),d=(0,ot.getColorClassName)("background-color",t),p=dt("wp-block-button__link",{"has-text-color":s||n,[u]:u,"has-background":t||o,[d]:d}),m={backgroundColor:d?void 0:o,color:u?void 0:n};return(0,Je.jsx)("div",{children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:p,href:c,title:l,style:m,value:i,target:r,rel:a})})}},{attributes:{...po,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:uo,save({attributes:e}){const{url:t,text:o,title:n,backgroundColor:r,textColor:a,customBackgroundColor:i,customTextColor:s}=e,l=(0,ot.getColorClassName)("color",a),c=(0,ot.getColorClassName)("background-color",r),u=dt("wp-block-button__link",{"has-text-color":a||s,[l]:l,"has-background":r||i,[c]:c}),d={backgroundColor:c?void 0:i,color:l?void 0:s};return(0,Je.jsx)("div",{children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:u,href:t,title:n,style:d,value:o})})}},{attributes:{...po,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:o,title:n,align:r,color:a,textColor:i}=e,s={backgroundColor:a,color:i};return(0,Je.jsx)("div",{className:`align${r}`,children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:t,title:n,style:s,value:o})})},migrate:uo},{attributes:{...po,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:o,title:n,align:r,color:a,textColor:i}=e;return(0,Je.jsx)("div",{className:`align${r}`,style:{backgroundColor:a},children:(0,Je.jsx)(ot.RichText.Content,{tagName:"a",href:t,title:n,style:{color:i},value:o})})},migrate:uo}],xo=ho,bo="noreferrer noopener",_o="_blank",yo="nofollow";function vo(e){return e.toString().replace(/<\/?a[^>]*>/g,"")}const fo=window.wp.keycodes,ko=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),wo=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})}),Co=[...ot.__experimentalLinkControl.DEFAULT_LINK_SETTINGS,{id:"nofollow",title:(0,tt.__)("Mark as nofollow")}];function jo({selectedWidth:e,setAttributes:t}){return(0,Je.jsx)(et.PanelBody,{title:(0,tt.__)("Settings"),children:(0,Je.jsx)(et.ButtonGroup,{"aria-label":(0,tt.__)("Button width"),children:[25,50,75,100].map((o=>(0,Je.jsxs)(et.Button,{size:"small",variant:o===e?"primary":void 0,onClick:()=>{var n;t({width:e===(n=o)?void 0:n})},children:[o,"%"]},o)))})})}const So=function(e){const{attributes:t,setAttributes:o,className:n,isSelected:r,onReplace:a,mergeBlocks:i,clientId:s,context:l}=e,{tagName:c,textAlign:u,linkTarget:d,placeholder:p,rel:m,style:g,text:h,url:x,width:b,metadata:_}=t,y=c||"a",[v,f]=(0,bt.useState)(null),k=(0,ot.__experimentalUseBorderProps)(t),w=(0,ot.__experimentalUseColorProps)(t),C=(0,ot.__experimentalGetSpacingClassesAndStyles)(t),j=(0,ot.__experimentalGetShadowClassesAndStyles)(t),S=(0,bt.useRef)(),B=(0,bt.useRef)(),N=(0,ot.useBlockProps)({ref:(0,Ut.useMergeRefs)([f,S]),onKeyDown:function(e){fo.isKeyboardEvent.primary(e,"k")?L(e):fo.isKeyboardEvent.primaryShift(e,"k")&&(H(),B.current?.focus())}}),T=(0,ot.useBlockEditingMode)(),[I,P]=(0,bt.useState)(!1),M=!!x,z=d===_o,R=!!m?.includes(yo),A="a"===y;function L(e){e.preventDefault(),P(!0)}function H(){o({url:void 0,linkTarget:void 0,rel:void 0}),P(!1)}(0,bt.useEffect)((()=>{r||P(!1)}),[r]);const D=(0,bt.useMemo)((()=>({url:x,opensInNewTab:z,nofollow:R})),[x,z,R]),F=function(e){const{replaceBlocks:t,selectionChange:o}=(0,gt.useDispatch)(ot.store),{getBlock:n,getBlockRootClientId:r,getBlockIndex:a}=(0,gt.useSelect)(ot.store),i=(0,bt.useRef)(e);return i.current=e,(0,Ut.useRefEffect)((e=>{function s(e){if(e.defaultPrevented||e.keyCode!==fo.ENTER)return;const{content:s,clientId:l}=i.current;if(s.length)return;e.preventDefault();const c=n(r(l)),u=a(l),d=(0,Qe.cloneBlock)({...c,innerBlocks:c.innerBlocks.slice(0,u)}),p=(0,Qe.createBlock)((0,Qe.getDefaultBlockName)()),m=c.innerBlocks.slice(u+1),g=m.length?[(0,Qe.cloneBlock)({...c,innerBlocks:m})]:[];t(c.clientId,[d,p,...g],1),o(p.clientId)}return e.addEventListener("keydown",s),()=>{e.removeEventListener("keydown",s)}}),[])}({content:h,clientId:s}),V=(0,Ut.useMergeRefs)([F,B]),{lockUrlControls:E=!1}=(0,gt.useSelect)((e=>{if(!r)return{};const t=Ht(e(Qe.store)).getBlockBindingsSource(_?.bindings?.url?.source);return{lockUrlControls:!!_?.bindings?.url&&!t?.canUserEditValue({select:e,context:l,args:_?.bindings?.url?.args})}}),[r,_?.bindings?.url]);return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("div",{...N,className:dt(N.className,{[`has-custom-width wp-block-button__width-${b}`]:b,"has-custom-font-size":N.style.fontSize}),children:(0,Je.jsx)(ot.RichText,{ref:V,"aria-label":(0,tt.__)("Button text"),placeholder:p||(0,tt.__)("Add text…"),value:h,onChange:e=>o({text:vo(e)}),withoutInteractiveFormatting:!0,className:dt(n,"wp-block-button__link",w.className,k.className,{[`has-text-align-${u}`]:u,"no-border-radius":0===g?.border?.radius},(0,ot.__experimentalGetElementClassName)("button")),style:{...k.style,...w.style,...C.style,...j.style},onReplace:a,onMerge:i,identifier:"text"})}),(0,Je.jsxs)(ot.BlockControls,{group:"block",children:["default"===T&&(0,Je.jsx)(ot.AlignmentControl,{value:u,onChange:e=>{o({textAlign:e})}}),!M&&A&&!E&&(0,Je.jsx)(et.ToolbarButton,{name:"link",icon:ko,title:(0,tt.__)("Link"),shortcut:fo.displayShortcut.primary("k"),onClick:L}),M&&A&&!E&&(0,Je.jsx)(et.ToolbarButton,{name:"link",icon:wo,title:(0,tt.__)("Unlink"),shortcut:fo.displayShortcut.primaryShift("k"),onClick:H,isActive:!0})]}),A&&r&&(I||M)&&!E&&(0,Je.jsx)(et.Popover,{placement:"bottom",onClose:()=>{P(!1),B.current?.focus()},anchor:v,focusOnMount:!!I&&"firstElement",__unstableSlotName:"__unstable-block-tools-after",shift:!0,children:(0,Je.jsx)(ot.__experimentalLinkControl,{value:D,onChange:({url:e,opensInNewTab:t,nofollow:n})=>o(function({rel:e="",url:t="",opensInNewTab:o,nofollow:n}){let r,a=e;if(o)r=_o,a=a?.includes(bo)?a:a+` ${bo}`;else{const e=new RegExp(`\\b${bo}\\s*`,"g");a=a?.replace(e,"").trim()}if(n)a=a?.includes(yo)?a:a+` ${yo}`;else{const e=new RegExp(`\\b${yo}\\s*`,"g");a=a?.replace(e,"").trim()}return{url:(0,pt.prependHTTP)(t),linkTarget:r,rel:a||void 0}}({rel:m,url:e,opensInNewTab:t,nofollow:n})),onRemove:()=>{H(),B.current?.focus()},forceIsEditingLink:I,settings:Co})}),(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsx)(jo,{selectedWidth:b,setAttributes:o})}),(0,Je.jsx)(ot.InspectorControls,{group:"advanced",children:A&&(0,Je.jsx)(et.TextControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Link rel"),value:m||"",onChange:e=>o({rel:e})})})]})};const Bo={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},textAlign:{type:"string"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",__experimentalRole:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",__experimentalRole:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",__experimentalRole:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",__experimentalRole:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",__experimentalRole:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,splitting:!0,align:!1,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalSelector:".wp-block-button .wp-block-button__link",interactivity:{clientNavigation:!0}},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button"},{name:No}=Bo,To={icon:ao,example:{attributes:{className:"is-style-fill",text:(0,tt.__)("Call to Action")}},edit:So,save:function({attributes:e,className:t}){const{tagName:o,type:n,textAlign:r,fontSize:a,linkTarget:i,rel:s,style:l,text:c,title:u,url:d,width:p}=e,m=o||"a",g="button"===m,h=n||"button",x=(0,ot.__experimentalGetBorderClassesAndStyles)(e),b=(0,ot.__experimentalGetColorClassesAndStyles)(e),_=(0,ot.__experimentalGetSpacingClassesAndStyles)(e),y=(0,ot.__experimentalGetShadowClassesAndStyles)(e),v=dt("wp-block-button__link",b.className,x.className,{[`has-text-align-${r}`]:r,"no-border-radius":0===l?.border?.radius},(0,ot.__experimentalGetElementClassName)("button")),f={...x.style,...b.style,..._.style,...y.style},k=dt(t,{[`has-custom-width wp-block-button__width-${p}`]:p,"has-custom-font-size":a||l?.typography?.fontSize});return(0,Je.jsx)("div",{...ot.useBlockProps.save({className:k}),children:(0,Je.jsx)(ot.RichText.Content,{tagName:m,type:g?h:null,className:v,href:g?null:d,title:u,style:f,value:c,target:g?null:i,rel:g?null:s})})},deprecated:xo,merge:(e,{text:t=""})=>({...e,text:(e.text||"")+t})},Io=()=>Xe({name:No,metadata:Bo,settings:To}),Po=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z"})}),Mo=e=>{if(e.layout)return e;const{contentJustification:t,orientation:o,...n}=e;return(t||o)&&Object.assign(n,{layout:{type:"flex",...t&&{justifyContent:t},...o&&{orientation:o}}}),n},zo=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:({contentJustification:e,orientation:t})=>!!e||!!t,migrate:Mo,save:({attributes:{contentJustification:e,orientation:t}})=>(0,Je.jsx)("div",{...ot.useBlockProps.save({className:dt({[`is-content-justification-${e}`]:e,"is-vertical":"vertical"===t})}),children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})},{supports:{align:["center","left","right"],anchor:!0},save:()=>(0,Je.jsx)("div",{children:(0,Je.jsx)(ot.InnerBlocks.Content,{})}),isEligible:({align:e})=>e&&["center","left","right"].includes(e),migrate:e=>Mo({...e,align:void 0,contentJustification:e.align})}],Ro=zo,Ao=window.wp.richText;function Lo(e,t,o){if(!e)return;const{supports:n}=(0,Qe.getBlockType)(t),r=[];if(["core/paragraph","core/heading","core/image","core/button"].includes(t)&&o&&r.push("id","bindings"),!1!==n.renaming&&r.push("name"),!r.length)return;const a=Object.entries(e).reduce(((e,[t,n])=>r.includes(t)?(e[t]="bindings"===t?o(n):n,e):e),{});return Object.keys(a).length?a:void 0}const Ho={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>(0,Qe.createBlock)("core/buttons",{},e.map((e=>(0,Qe.createBlock)("core/button",e))))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,Qe.createBlock)("core/buttons",{},e.map((e=>{const{content:t,metadata:o}=e,n=(0,Ao.__unstableCreateElement)(document,t),r=n.innerText||"",a=n.querySelector("a"),i=a?.getAttribute("href");return(0,Qe.createBlock)("core/button",{text:r,url:i,metadata:Lo(o,"core/button",(({content:e})=>({text:e})))})}))),isMatch:e=>e.every((e=>{const t=(0,Ao.__unstableCreateElement)(document,e.content),o=t.innerText||"",n=t.querySelectorAll("a");return o.length<=30&&n.length<=1}))}]},Do=Ho,Fo={name:"core/button",attributesToCopy:["backgroundColor","border","className","fontFamily","fontSize","gradient","style","textColor","width"]};const Vo=function({attributes:e,className:t}){var o;const{fontSize:n,layout:r,style:a}=e,i=(0,ot.useBlockProps)({className:dt(t,{"has-custom-font-size":n||a?.typography?.fontSize})}),{hasButtonVariations:s}=(0,gt.useSelect)((e=>({hasButtonVariations:e(Qe.store).getBlockVariations("core/button","inserter").length>0})),[]),l=(0,ot.useInnerBlocksProps)(i,{defaultBlock:Fo,directInsert:!s,template:[["core/button"]],templateInsertUpdatesSelection:!0,orientation:null!==(o=r?.orientation)&&void 0!==o?o:"horizontal"});return(0,Je.jsx)("div",{...l})};const Eo={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/buttons",title:"Buttons",category:"design",allowedBlocks:["core/button"],description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],html:!1,__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:$o}=Eo,Go={icon:Po,example:{innerBlocks:[{name:"core/button",attributes:{text:(0,tt.__)("Find out more")}},{name:"core/button",attributes:{text:(0,tt.__)("Contact us")}}]},deprecated:Ro,transforms:Do,edit:Vo,save:function({attributes:e,className:t}){const{fontSize:o,style:n}=e,r=ot.useBlockProps.save({className:dt(t,{"has-custom-font-size":o||n?.typography?.fontSize})}),a=ot.useInnerBlocksProps.save(r);return(0,Je.jsx)("div",{...a})}},Oo=()=>Xe({name:$o,metadata:Eo,settings:Go}),Uo=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})}),qo=Mt((e=>{if(!e)return{};const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()+1}}));const Wo={from:[{type:"block",blocks:["core/archives"],transform:()=>(0,Qe.createBlock)("core/calendar")}],to:[{type:"block",blocks:["core/archives"],transform:()=>(0,Qe.createBlock)("core/archives")}]},Zo={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site’s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{align:!0,color:{link:!0,__experimentalSkipSerialization:["text","background"],__experimentalDefaultControls:{background:!0,text:!0},__experimentalSelector:"table, th"},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-calendar"},{name:Qo}=Zo,Ko={icon:Uo,example:{},edit:function({attributes:e}){const t=(0,ot.useBlockProps)(),{date:o,hasPosts:n,hasPostsResolved:r}=(0,gt.useSelect)((e=>{const{getEntityRecords:t,hasFinishedResolution:o}=e(mt.store),n={status:"publish",per_page:1},r=t("postType","post",n),a=o("getEntityRecords",["postType","post",n]);let i;const s=e("core/editor");if(s){"post"===s.getEditedPostAttribute("type")&&(i=s.getEditedPostAttribute("date"))}return{date:i,hasPostsResolved:a,hasPosts:a&&1===r?.length}}),[]);return n?(0,Je.jsx)("div",{...t,children:(0,Je.jsx)(et.Disabled,{children:(0,Je.jsx)(rt(),{block:"core/calendar",attributes:{...e,...qo(o)}})})}):(0,Je.jsx)("div",{...t,children:(0,Je.jsx)(et.Placeholder,{icon:Uo,label:(0,tt.__)("Calendar"),children:r?(0,tt.__)("No published posts found."):(0,Je.jsx)(et.Spinner,{})})})},transforms:Wo},Jo=()=>Xe({name:Qo,metadata:Zo,settings:Ko}),Yo=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})}),Xo=window.wp.htmlEntities,en=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"})});const tn={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/categories",title:"Categories List",category:"widgets",description:"Display a list of all categories.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1},showEmpty:{type:"boolean",default:!1}},supports:{align:!0,html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:on}=tn,nn={icon:Yo,example:{},edit:function e({attributes:{displayAsDropdown:t,showHierarchy:o,showPostCounts:n,showOnlyTopLevel:r,showEmpty:a},setAttributes:i,className:s}){const l=(0,Ut.useInstanceId)(e,"blocks-category-select"),c={per_page:-1,hide_empty:!a,context:"view"};r&&(c.parent=0);const{records:u,isResolving:d}=(0,mt.useEntityRecords)("taxonomy","category",c),p=e=>u?.length?null===e?u:u.filter((({parent:t})=>t===e)):[],m=e=>t=>i({[e]:t}),g=e=>e?(0,Xo.decodeEntities)(e).trim():(0,tt.__)("(Untitled)"),h=e=>{const t=p(e.id),{id:r,link:a,count:i,name:s}=e;return(0,Je.jsxs)("li",{className:`cat-item cat-item-${r}`,children:[(0,Je.jsx)("a",{href:a,target:"_blank",rel:"noreferrer noopener",children:g(s)}),n&&` (${i})`,o&&!!t.length&&(0,Je.jsx)("ul",{className:"children",children:t.map((e=>h(e)))})]},r)},x=(e,t)=>{const{id:r,count:a,name:i}=e,s=p(r);return[(0,Je.jsxs)("option",{className:`level-${t}`,children:[Array.from({length:3*t}).map((()=>" ")),g(i),n&&` (${a})`]},r),o&&!!s.length&&s.map((e=>x(e,t+1)))]},b=!u?.length||t||d?"div":"ul",_=dt(s,{"wp-block-categories-list":!!u?.length&&!t&&!d,"wp-block-categories-dropdown":!!u?.length&&t&&!d}),y=(0,ot.useBlockProps)({className:_});return(0,Je.jsxs)(b,{...y,children:[(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsxs)(et.PanelBody,{title:(0,tt.__)("Settings"),children:[(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Display as dropdown"),checked:t,onChange:m("displayAsDropdown")}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show post counts"),checked:n,onChange:m("showPostCounts")}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show only top level categories"),checked:r,onChange:m("showOnlyTopLevel")}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show empty categories"),checked:a,onChange:m("showEmpty")}),!r&&(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Show hierarchy"),checked:o,onChange:m("showHierarchy")})]})}),d&&(0,Je.jsx)(et.Placeholder,{icon:en,label:(0,tt.__)("Categories"),children:(0,Je.jsx)(et.Spinner,{})}),!d&&0===u?.length&&(0,Je.jsx)("p",{children:(0,tt.__)("Your site does not have any posts, so there is nothing to display here at the moment.")}),!d&&u?.length>0&&(t?(()=>{const e=p(o?0:null);return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(et.VisuallyHidden,{as:"label",htmlFor:l,children:(0,tt.__)("Categories")}),(0,Je.jsxs)("select",{id:l,children:[(0,Je.jsx)("option",{children:(0,tt.__)("Select Category")}),e.map((e=>x(e,0)))]})]})})():p(o?0:null).map((e=>h(e))))]})}},rn=()=>Xe({name:on,metadata:tn,settings:nn}),an=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})}),sn=({clientId:e})=>{const{replaceBlocks:t}=(0,gt.useDispatch)(ot.store),o=(0,gt.useSelect)((t=>t(ot.store).getBlock(e)),[e]);return(0,Je.jsx)(et.ToolbarButton,{onClick:()=>t(o.clientId,(0,Qe.rawHandler)({HTML:(0,Qe.serialize)(o)})),children:(0,tt.__)("Convert to blocks")})},ln=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});function cn({onClick:e,isModalFullScreen:t}){return(0,Ut.useViewportMatch)("small","<")?null:(0,Je.jsx)(et.Button,{onClick:e,icon:ln,isPressed:t,label:t?(0,tt.__)("Exit fullscreen"):(0,tt.__)("Enter fullscreen")})}function un(e){const t=(0,gt.useSelect)((e=>e(ot.store).getSettings().styles));return(0,bt.useEffect)((()=>{const{baseURL:o,suffix:n,settings:r}=window.wpEditorL10n.tinymce;return window.tinymce.EditorManager.overrideDefaults({base_url:o,suffix:n}),window.wp.oldEditor.initialize(e.id,{tinymce:{...r,setup(e){e.on("init",(()=>{const o=e.getDoc();t.forEach((({css:e})=>{const t=o.createElement("style");t.innerHTML=e,o.head.appendChild(t)}))}))}}}),()=>{window.wp.oldEditor.remove(e.id)}}),[]),(0,Je.jsx)("textarea",{...e})}function dn(e){const{clientId:t,attributes:{content:o},setAttributes:n,onReplace:r}=e,[a,i]=(0,bt.useState)(!1),[s,l]=(0,bt.useState)(!1),c=`editor-${t}`,u=()=>o?i(!1):r([]);return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(ot.BlockControls,{children:(0,Je.jsx)(et.ToolbarGroup,{children:(0,Je.jsx)(et.ToolbarButton,{onClick:()=>i(!0),children:(0,tt.__)("Edit")})})}),o&&(0,Je.jsx)(bt.RawHTML,{children:o}),(a||!o)&&(0,Je.jsxs)(et.Modal,{title:(0,tt.__)("Classic Editor"),onRequestClose:u,shouldCloseOnClickOutside:!1,overlayClassName:"block-editor-freeform-modal",isFullScreen:s,className:"block-editor-freeform-modal__content",headerActions:(0,Je.jsx)(cn,{onClick:()=>l(!s),isModalFullScreen:s}),children:[(0,Je.jsx)(un,{id:c,defaultValue:o}),(0,Je.jsxs)(et.Flex,{className:"block-editor-freeform-modal__actions",justify:"flex-end",expanded:!1,children:[(0,Je.jsx)(et.FlexItem,{children:(0,Je.jsx)(et.Button,{variant:"tertiary",onClick:u,children:(0,tt.__)("Cancel")})}),(0,Je.jsx)(et.FlexItem,{children:(0,Je.jsx)(et.Button,{variant:"primary",onClick:()=>{n({content:window.wp.oldEditor.getContent(c)}),i(!1)},children:(0,tt.__)("Save")})})]})]})]})}const{wp:pn}=window;function mn({clientId:e,attributes:{content:t},setAttributes:o,onReplace:n}){const{getMultiSelectedBlockClientIds:r}=(0,gt.useSelect)(ot.store),a=(0,bt.useRef)(!1);return(0,bt.useEffect)((()=>{if(!a.current)return;const o=window.tinymce.get(`editor-${e}`);if(!o)return;o.getContent()!==t&&o.setContent(t||"")}),[e,t]),(0,bt.useEffect)((()=>{const{baseURL:i,suffix:s}=window.wpEditorL10n.tinymce;function l(e){let a;t&&e.on("loadContent",(()=>e.setContent(t))),e.on("blur",(()=>{a=e.selection.getBookmark(2,!0);const t=document.querySelector(".interface-interface-skeleton__content"),n=t.scrollTop;return r()?.length||o({content:e.getContent()}),e.once("focus",(()=>{a&&(e.selection.moveToBookmark(a),t.scrollTop!==n&&(t.scrollTop=n))})),!1})),e.on("mousedown touchstart",(()=>{a=null}));const i=(0,Ut.debounce)((()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,o({content:t}))}),250);e.on("Paste Change input Undo Redo",i),e.on("remove",i.cancel),e.on("keydown",(t=>{fo.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==fo.BACKSPACE&&t.keyCode!==fo.DELETE||!function(e){const t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:o}=t;o&&t.keyCode===fo.F10&&t.stopPropagation()})),e.on("init",(()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())}))}function c(){const{settings:t}=window.wpEditorL10n.tinymce;pn.oldEditor.initialize(`editor-${e}`,{tinymce:{...t,inline:!0,content_css:!1,fixed_toolbar_container:`#toolbar-${e}`,setup:l}})}function u(){"complete"===document.readyState&&c()}return a.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:i,suffix:s}),"complete"===document.readyState?c():document.addEventListener("readystatechange",u),()=>{document.removeEventListener("readystatechange",u),pn.oldEditor.remove(`editor-${e}`),a.current=!1}}),[]),(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("div",{id:`toolbar-${e}`,className:"block-library-classic__toolbar",onClick:function(){const t=window.tinymce.get(`editor-${e}`);t&&t.focus()},"data-placeholder":(0,tt.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},"toolbar"),(0,Je.jsx)("div",{id:`editor-${e}`,className:"wp-block-freeform block-library-rich-text__tinymce"},"editor")]})}const gn={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"raw"}},supports:{className:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-freeform-editor"},{name:hn}=gn,xn={icon:an,edit:function(e){const{clientId:t}=e,o=(0,gt.useSelect)((e=>e(ot.store).canRemoveBlock(t)),[t]),[n,r]=(0,bt.useState)(!1),a=(0,Ut.useRefEffect)((e=>{r(e.ownerDocument!==document)}),[]);return(0,Je.jsxs)(Je.Fragment,{children:[o&&(0,Je.jsx)(ot.BlockControls,{children:(0,Je.jsx)(et.ToolbarGroup,{children:(0,Je.jsx)(sn,{clientId:t})})}),(0,Je.jsx)("div",{...(0,ot.useBlockProps)({ref:a}),children:n?(0,Je.jsx)(dn,{...e}):(0,Je.jsx)(mn,{...e})})]})},save:function({attributes:e}){const{content:t}=e;return(0,Je.jsx)(bt.RawHTML,{children:t})}},bn=()=>Xe({name:hn,metadata:gn,settings:xn}),_n=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"})});function yn(e){return e.replace(/\[/g,"[")}function vn(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}const fn={from:[{type:"enter",regExp:/^```$/,transform:()=>(0,Qe.createBlock)("core/code")},{type:"block",blocks:["core/paragraph"],transform:({content:e,metadata:t})=>(0,Qe.createBlock)("core/code",{content:e,metadata:Lo(t,"core/code")})},{type:"block",blocks:["core/html"],transform:({content:e,metadata:t})=>(0,Qe.createBlock)("core/code",{content:(0,Ao.toHTMLString)({value:(0,Ao.create)({text:e})}),metadata:Lo(t,"core/code")})},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:({content:e,metadata:t})=>(0,Qe.createBlock)("core/paragraph",{content:e,metadata:Lo(t,"core/paragraph")})}]},kn=fn,wn={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"rich-text",source:"rich-text",selector:"code",__unstablePreserveWhiteSpace:!0}},supports:{align:["wide"],anchor:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{width:!0,color:!0}},color:{text:!0,background:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-code"},{name:Cn}=wn,jn={icon:_n,example:{attributes:{content:(0,tt.__)("// A “block” is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );")}},merge:(e,t)=>({content:e.content+"\n\n"+t.content}),transforms:kn,edit:function({attributes:e,setAttributes:t,onRemove:o,insertBlocksAfter:n,mergeBlocks:r}){const a=(0,ot.useBlockProps)();return(0,Je.jsx)("pre",{...a,children:(0,Je.jsx)(ot.RichText,{tagName:"code",identifier:"content",value:e.content,onChange:e=>t({content:e}),onRemove:o,onMerge:r,placeholder:(0,tt.__)("Write code…"),"aria-label":(0,tt.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:()=>n((0,Qe.createBlock)((0,Qe.getDefaultBlockName)()))})})},save:function({attributes:e}){return(0,Je.jsx)("pre",{...ot.useBlockProps.save(),children:(0,Je.jsx)(ot.RichText.Content,{tagName:"code",value:(t="string"==typeof e.content?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}),(0,Ut.pipe)(yn,vn)(t||""))})});var t}},Sn=()=>Xe({name:Cn,metadata:wn,settings:jn}),Bn=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"})}),Nn=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible:({width:e})=>isFinite(e),migrate:e=>({...e,width:`${e.width}%`}),save({attributes:e}){const{verticalAlignment:t,width:o}=e,n=dt({[`is-vertically-aligned-${t}`]:t}),r={flexBasis:o+"%"};return(0,Je.jsx)("div",{className:n,style:r,children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})}}],Tn=Nn;function In({width:e,setAttributes:t}){const[o]=(0,ot.useSettings)("spacing.units"),n=(0,et.__experimentalUseCustomUnits)({availableUnits:o||["%","px","em","rem","vw"]});return(0,Je.jsx)(et.PanelBody,{title:(0,tt.__)("Settings"),children:(0,Je.jsx)(et.__experimentalUnitControl,{label:(0,tt.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:e||"",onChange:e=>{e=0>parseFloat(e)?"0":e,t({width:e})},units:n})})}const Pn=function({attributes:{verticalAlignment:e,width:t,templateLock:o,allowedBlocks:n},setAttributes:r,clientId:a}){const i=dt("block-core-columns",{[`is-vertically-aligned-${e}`]:e}),{columnsIds:s,hasChildBlocks:l,rootClientId:c}=(0,gt.useSelect)((e=>{const{getBlockOrder:t,getBlockRootClientId:o}=e(ot.store),n=o(a);return{hasChildBlocks:t(a).length>0,rootClientId:n,columnsIds:t(n)}}),[a]),{updateBlockAttributes:u}=(0,gt.useDispatch)(ot.store),d=Number.isFinite(t)?t+"%":t,p=(0,ot.useBlockProps)({className:i,style:d?{flexBasis:d}:void 0}),m=s.length,g=s.indexOf(a)+1,h=(0,tt.sprintf)((0,tt.__)("%1$s (%2$d of %3$d)"),p["aria-label"],g,m),x=(0,ot.useInnerBlocksProps)({...p,"aria-label":h},{templateLock:o,allowedBlocks:n,renderAppender:l?void 0:ot.InnerBlocks.ButtonBlockAppender});return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(ot.BlockControls,{children:(0,Je.jsx)(ot.BlockVerticalAlignmentToolbar,{onChange:e=>{r({verticalAlignment:e}),u(c,{verticalAlignment:null})},value:e,controls:["top","center","bottom","stretch"]})}),(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsx)(In,{width:t,setAttributes:r})}),(0,Je.jsx)("div",{...x})]})};const Mn={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/column",title:"Column",category:"design",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{__experimentalOnEnter:!0,anchor:!0,reusable:!1,html:!1,color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{blockGap:!0,padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0,interactivity:{clientNavigation:!0}}},{name:zn}=Mn,Rn={icon:Bn,edit:Pn,save:function({attributes:e}){const{verticalAlignment:t,width:o}=e,n=dt({[`is-vertically-aligned-${t}`]:t});let r;if(o&&/\d/.test(o)){let e=Number.isFinite(o)?o+"%":o;if(!Number.isFinite(o)&&o?.endsWith("%")){const t=1e12;e=Math.round(Number.parseFloat(o)*t)/t+"%"}r={flexBasis:e}}const a=ot.useBlockProps.save({className:n,style:r}),i=ot.useInnerBlocksProps.save(a);return(0,Je.jsx)("div",{...i})},deprecated:Tn},An=()=>Xe({name:zn,metadata:Mn,settings:Rn}),Ln=(0,Je.jsx)(Ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.jsx)(Ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})});function Hn(e){let t,{doc:o}=Hn;o||(o=document.implementation.createHTMLDocument(""),Hn.doc=o),o.body.innerHTML=e;for(const e of o.body.firstChild.classList)if(t=e.match(/^layout-column-(\d+)$/))return Number(t[1])-1}const Dn=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor);const{customTextColor:o,customBackgroundColor:n,...r}=e;return{...r,style:t,isStackedOnMobile:!0}},save({attributes:e}){const{verticalAlignment:t,backgroundColor:o,customBackgroundColor:n,textColor:r,customTextColor:a}=e,i=(0,ot.getColorClassName)("background-color",o),s=(0,ot.getColorClassName)("color",r),l=dt({"has-background":o||n,"has-text-color":r||a,[i]:i,[s]:s,[`are-vertically-aligned-${t}`]:t}),c={backgroundColor:i?void 0:n,color:s?void 0:a};return(0,Je.jsx)("div",{className:l||void 0,style:c,children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},isEligible:(e,t)=>!!t.some((e=>/layout-column-\d+/.test(e.originalContent)))&&t.some((e=>void 0!==Hn(e.originalContent))),migrate(e,t){const o=t.reduce(((e,t)=>{const{originalContent:o}=t;let n=Hn(o);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e}),[]).map((e=>(0,Qe.createBlock)("core/column",{},e))),{columns:n,...r}=e;return[{...r,isStackedOnMobile:!0},o]},save({attributes:e}){const{columns:t}=e;return(0,Je.jsx)("div",{className:`has-${t}-columns`,children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},migrate(e,t){const{columns:o,...n}=e;return[e={...n,isStackedOnMobile:!0},t]},save({attributes:e}){const{verticalAlignment:t,columns:o}=e,n=dt(`has-${o}-columns`,{[`are-vertically-aligned-${t}`]:t});return(0,Je.jsx)("div",{className:n,children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})}}],Fn=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function Vn(e,t){const{width:o=100/t}=e.attributes;return Fn(o)}function En(e,t,o=e.length){const n=function(e,t=e.length){return e.reduce(((e,o)=>e+Vn(o,t)),0)}(e,o);return Object.fromEntries(Object.entries(function(e,t=e.length){return e.reduce(((e,o)=>{const n=Vn(o,t);return Object.assign(e,{[o.clientId]:n})}),{})}(e,o)).map((([e,o])=>[e,Fn(t*o/n)])))}function $n(e,t){return e.map((e=>({...e,attributes:{...e.attributes,width:`${t[e.clientId]}%`}})))}const Gn={name:"core/column"};function On({clientId:e,setAttributes:t,isStackedOnMobile:o}){const{count:n,canInsertColumnBlock:r,minCount:a}=(0,gt.useSelect)((t=>{const{canInsertBlockType:o,canRemoveBlock:n,getBlocks:r,getBlockCount:a}=t(ot.store),i=r(e).reduce(((e,t,o)=>(n(t.clientId)||e.push(o),e)),[]);return{count:a(e),canInsertColumnBlock:o("core/column",e),minCount:Math.max(...i)+1}}),[e]),{getBlocks:i}=(0,gt.useSelect)(ot.store),{replaceInnerBlocks:s}=(0,gt.useDispatch)(ot.store);function l(t,o){let n=i(e);const r=n.every((e=>{const t=e.attributes.width;return Number.isFinite(t?.endsWith?.("%")?parseFloat(t):t)}));const a=o>t;if(a&&r){const e=Fn(100/o),r=o-t;n=[...$n(n,En(n,100-e*r)),...Array.from({length:r}).map((()=>(0,Qe.createBlock)("core/column",{width:`${e}%`})))]}else if(a)n=[...n,...Array.from({length:o-t}).map((()=>(0,Qe.createBlock)("core/column")))];else if(ol(n,Math.max(a,e)),min:Math.max(1,a),max:Math.max(6,n)}),n>6&&(0,Je.jsx)(et.Notice,{status:"warning",isDismissible:!1,children:(0,tt.__)("This column count exceeds the recommended amount and may cause visual breakage.")})]}),(0,Je.jsx)(et.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,tt.__)("Stack on mobile"),checked:o,onChange:()=>t({isStackedOnMobile:!o})})]})}function Un({attributes:e,setAttributes:t,clientId:o}){const{isStackedOnMobile:n,verticalAlignment:r,templateLock:a}=e,i=(0,gt.useRegistry)(),{getBlockOrder:s}=(0,gt.useSelect)(ot.store),{updateBlockAttributes:l}=(0,gt.useDispatch)(ot.store),c=dt({[`are-vertically-aligned-${r}`]:r,"is-not-stacked-on-mobile":!n}),u=(0,ot.useBlockProps)({className:c}),d=(0,ot.useInnerBlocksProps)(u,{defaultBlock:Gn,directInsert:!0,orientation:"horizontal",renderAppender:!1,templateLock:a});return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(ot.BlockControls,{children:(0,Je.jsx)(ot.BlockVerticalAlignmentToolbar,{onChange:function(e){const n=s(o);i.batch((()=>{t({verticalAlignment:e}),l(n,{verticalAlignment:e})}))},value:r})}),(0,Je.jsx)(ot.InspectorControls,{children:(0,Je.jsx)(On,{clientId:o,setAttributes:t,isStackedOnMobile:n})}),(0,Je.jsx)("div",{...d})]})}function qn({clientId:e,name:t,setAttributes:o}){const{blockType:n,defaultVariation:r,variations:a}=(0,gt.useSelect)((e=>{const{getBlockVariations:o,getBlockType:n,getDefaultBlockVariation:r}=e(Qe.store);return{blockType:n(t),defaultVariation:r(t,"block"),variations:o(t,"block")}}),[t]),{replaceInnerBlocks:i}=(0,gt.useDispatch)(ot.store),s=(0,ot.useBlockProps)();return(0,Je.jsx)("div",{...s,children:(0,Je.jsx)(ot.__experimentalBlockVariationPicker,{icon:n?.icon?.src,label:n?.title,variations:a,instructions:(0,tt.__)("Divide into columns. Select a layout:"),onSelect:(t=r)=>{t.attributes&&o(t.attributes),t.innerBlocks&&i(e,(0,Qe.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!0)},allowSkip:!0})})}const Wn=e=>{const{clientId:t}=e,o=(0,gt.useSelect)((e=>e(ot.store).getBlocks(t).length>0),[t])?Un:qn;return(0,Je.jsx)(o,{...e})};const Zn=[{name:"one-column-full",title:(0,tt.__)("100"),description:(0,tt.__)("One column"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:(0,tt.__)("50 / 50"),description:(0,tt.__)("Two columns; equal split"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z"})}),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:(0,tt.__)("33 / 66"),description:(0,tt.__)("Two columns; one-third, two-thirds split"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm17 0a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H19a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:(0,tt.__)("66 / 33"),description:(0,tt.__)("Two columns; two-thirds, one-third split"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm33 0a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:(0,tt.__)("33 / 33 / 33"),description:(0,tt.__)("Three columns; equal split"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h10.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm16.5 0c0-1.105.864-2 1.969-2H29.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H18.47c-1.105 0-1.969-.895-1.969-2V10Zm17 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35.469c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:(0,tt.__)("25 / 50 / 25"),description:(0,tt.__)("Three columns; wide center column"),icon:(0,Je.jsx)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Je.jsx)(et.Path,{d:"M0 10a2 2 0 0 1 2-2h7.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm13.5 0c0-1.105.864-2 1.969-2H32.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H15.47c-1.105 0-1.969-.895-1.969-2V10Zm23 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2h-7.531c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}],Qn={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),o=e.map((({name:e,attributes:o,innerBlocks:n})=>["core/column",{width:`${t}%`},[[e,{...o},n]]]));return(0,Qe.createBlock)("core/columns",{},(0,Qe.createBlocksFromInnerBlocksTemplate)(o))},isMatch:({length:e},t)=>(1!==t.length||"core/columns"!==t[0].name)&&(e&&e<=6)},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:o,backgroundColor:n,textColor:r,style:a,mediaAlt:i,mediaId:s,mediaPosition:l,mediaSizeSlug:c,mediaType:u,mediaUrl:d,mediaWidth:p,verticalAlignment:m}=e;let g;if("image"!==u&&u)g=["core/video",{id:s,src:d}];else{g=["core/image",{...{id:s,alt:i,url:d,sizeSlug:c},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const h=[["core/column",{width:`${p}%`},[g]],["core/column",{width:100-p+"%"},t]];return"right"===l&&h.reverse(),(0,Qe.createBlock)("core/columns",{align:o,backgroundColor:n,textColor:r,style:a,verticalAlignment:m},(0,Qe.createBlocksFromInnerBlocksTemplate)(h))}}],ungroup:(e,t)=>t.flatMap((e=>e.innerBlocks))},Kn=Qn,Jn={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/columns",title:"Columns",category:"design",allowedBlocks:["core/column"],description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0,heading:!0,button:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{blockGap:{__experimentalDefault:"2em",sides:["horizontal","vertical"]},margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:"flex",flexWrap:"nowrap"}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},shadow:!0},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:Yn}=Jn,Xn={icon:Ln,variations:Zn,example:{viewportWidth:600,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,tt.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:(0,tt.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,tt.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:(0,tt.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Dn,edit:Wn,save:function({attributes:e}){const{isStackedOnMobile:t,verticalAlignment:o}=e,n=dt({[`are-vertically-aligned-${o}`]:o,"is-not-stacked-on-mobile":!t}),r=ot.useBlockProps.save({className:n}),a=ot.useInnerBlocksProps.save(r);return(0,Je.jsx)("div",{...a})},transforms:Kn},er=()=>Xe({name:Yn,metadata:Jn,settings:Xn}),tr=(0,Je.jsx)(Ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Je.jsx)(Ke.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})}),or=[{attributes:{tagName:{type:"string",default:"div"}},apiVersion:3,supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}}},save({attributes:{tagName:e}}){const t=ot.useBlockProps.save(),{className:o}=t,n=o?.split(" ")||[],r=n?.filter((e=>"wp-block-comments"!==e)),a={...t,className:r.join(" ")};return(0,Je.jsx)(e,{...a,children:(0,Je.jsx)(ot.InnerBlocks.Content,{})})}}];function nr({attributes:{tagName:e},setAttributes:t}){const o={section:(0,tt.__)("The
element should represent a standalone portion of the document that can't be better represented by another element."),aside:(0,tt.__)("The