PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
jetpack / jetpack_vendor / automattic / jetpack-comments / build / 909.js

909.js in Jetpack – WP Security, Backup, Speed, & Growth 16.3, at jetpack_vendor/automattic/jetpack-comments/build/909.js

257 lines 1.8 MB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! For license information please see 909.js.LICENSE.txt */
2 (self.webpackChunk_automattic_jetpack_comments=self.webpackChunk_automattic_jetpack_comments||[]).push([[909],{84939(e,t,n){"use strict";n.d(t,{A:()=>v});var r=n(65979),o=n(4676),i=n(10301),s=n(53650),a=n(99344),l=n(71757),c=n(44721),u=function(e,t,n){for(var r=0,o=0;r=o,o=(0,a.se)(),38===r&&12===o&&(t[n]=1),!(0,a.Sh)(o);)(0,a.K2)();return(0,a.di)(e,a.G1)},d=function(e,t){return(0,a.VF)(function(e,t){var n=-1,r=44;do{switch((0,a.Sh)(r)){case 0:38===r&&12===(0,a.se)()&&(t[n]=1),e[n]+=u(a.G1-1,t,n);break;case 2:e[n]+=(0,a.Tb)(r);break;case 4:if(44===r){e[++n]=58===(0,a.se)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,i.HT)(r)}}while(r=(0,a.K2)());return e}((0,a.c4)(e),t))},f=new WeakMap,p=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||f.get(n))&&!r){f.set(e,!0);for(var o=[],i=d(t,o),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},h=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function g(e,t){switch((0,i.tW)(e,t)){case 5103:return o.j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o.j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o.j+e+o.vd+e+o.MS+e+e;case 6828:case 4268:return o.j+e+o.MS+e+e;case 6165:return o.j+e+o.MS+"flex-"+e+e;case 5187:return o.j+e+(0,i.HC)(e,/(\w+).+(:[^]+)/,o.j+"box-$1$2"+o.MS+"flex-$1$2")+e;case 5443:return o.j+e+o.MS+"flex-item-"+(0,i.HC)(e,/flex-|-self/,"")+e;case 4675:return o.j+e+o.MS+"flex-line-pack"+(0,i.HC)(e,/align-content|flex-|-self/,"")+e;case 5548:return o.j+e+o.MS+(0,i.HC)(e,"shrink","negative")+e;case 5292:return o.j+e+o.MS+(0,i.HC)(e,"basis","preferred-size")+e;case 6060:return o.j+"box-"+(0,i.HC)(e,"-grow","")+o.j+e+o.MS+(0,i.HC)(e,"grow","positive")+e;case 4554:return o.j+(0,i.HC)(e,/([^-])(transform)/g,"$1"+o.j+"$2")+e;case 6187:return(0,i.HC)((0,i.HC)((0,i.HC)(e,/(zoom-|grab)/,o.j+"$1"),/(image-set)/,o.j+"$1"),e,"")+e;case 5495:case 3959:return(0,i.HC)(e,/(image-set\([^]*)/,o.j+"$1$`$1");case 4968:return(0,i.HC)((0,i.HC)(e,/(.+:)(flex-)?(.*)/,o.j+"box-pack:$3"+o.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o.j+e+e;case 4095:case 3583:case 4068:case 2532:return(0,i.HC)(e,/(.+)-inline(.+)/,o.j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.b2)(e)-1-t>6)switch((0,i.wN)(e,t+1)){case 109:if(45!==(0,i.wN)(e,t+4))break;case 102:return(0,i.HC)(e,/(.+:)(.+)-([^]+)/,"$1"+o.j+"$2-$3$1"+o.vd+(108==(0,i.wN)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.K5)(e,"stretch")?g((0,i.HC)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,i.wN)(e,t+1))break;case 6444:switch((0,i.wN)(e,(0,i.b2)(e)-3-(~(0,i.K5)(e,"!important")&&10))){case 107:return(0,i.HC)(e,":",":"+o.j)+e;case 101:return(0,i.HC)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o.j+(45===(0,i.wN)(e,14)?"inline-":"")+"box$3$1"+o.j+"$2$3$1"+o.MS+"$2box$3")+e}break;case 5936:switch((0,i.wN)(e,t+11)){case 114:return o.j+e+o.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o.j+e+o.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o.j+e+o.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o.j+e+o.MS+e+e}return e}var m=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case o.LU:e.return=g(e.value,e.length);break;case o.Sv:return(0,l.l)([(0,a.C)(e,{value:(0,i.HC)(e.value,"@","@"+o.j)})],r);case o.XZ:if(e.length)return(0,i.kg)(e.props,function(t){switch((0,i.YW)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,l.l)([(0,a.C)(e,{props:[(0,i.HC)(t,/:(read-\w+)/,":"+o.vd+"$1")]})],r);case"::placeholder":return(0,l.l)([(0,a.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,":"+o.j+"input-$1")]}),(0,a.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,":"+o.vd+"$1")]}),(0,a.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,o.MS+"input-$1")]})],r)}return""})}}],v=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,i,a=e.stylisPlugins||m,u={},d=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;d.push(e)});var f,g=[p,h],v=[l.A,(0,c.MY)(function(e){f.insert(e)})],b=(0,c.r1)(g.concat(a,v));i=function(e,t,n,r){var o;f=n,o=e?e+"{"+t.styles+"}":t.styles,(0,l.l)((0,s.wE)(o),b),r&&(y.inserted[t.name]=!0)};var y={key:t,sheet:new r.v({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:i};return y.sheet.hydrate(d),y}},45855(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(84939),o=n(38801),i=n(54045);function s(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function a(e,t,n){var r=[],o=(0,i.Rk)(e,r,n);return r.length<2?n:o+t(r)}var l=function(e){var t=(0,r.A)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var s=(0,o.J)(n,t.registered,void 0);return(0,i.sk)(t,s,!1),t.key+"-"+s.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return a(t.registered,n,c(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=(0,o.J)(n,t.registered);s(t,i)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=(0,o.J)(n,t.registered),a="animation-"+i.name;return s(t,{name:i.name,styles:"@keyframes "+a+"{"+i.styles+"}"}),a},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:i.Rk.bind(null,t.registered),merge:a.bind(null,t.registered,n)}},c=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var s in i="",o)o[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n}},92871(e,t,n){"use strict";n.d(t,{cx:()=>o});var r=(0,n(45855).A)({key:"css"}),o=(r.flush,r.hydrate,r.cx);r.merge,r.getRegisteredStyles,r.injectGlobal,r.keyframes,r.css,r.sheet,r.cache},56885(e,t,n){"use strict";function r(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(t,{A:()=>r})},78183(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(11509),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.A)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})},11509(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},26960(e,t,n){"use strict";n.d(t,{C:()=>c,E:()=>v,T:()=>f,_:()=>u,c:()=>g,h:()=>p,w:()=>d});var r=n(2376),o=n(84939),i=n(54045),s=n(38801),a=n(58875),l=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),c=l.Provider,u=function(){return(0,r.useContext)(l)},d=function(e){return(0,r.forwardRef)(function(t,n){var o=(0,r.useContext)(l);return e(t,o,n)})},f=r.createContext({});var p={}.hasOwnProperty,h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",g=function(e,t){var n={};for(var r in t)p.call(t,r)&&(n[r]=t[r]);return n[h]=e,n},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,i.SF)(t,n,r),(0,a.s)(function(){return(0,i.sk)(t,n,r)}),null},v=d(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[h],l=[o],c="";"string"==typeof e.className?c=(0,i.Rk)(t.registered,l,e.className):null!=e.className&&(c=e.className+" ");var u=(0,s.J)(l,void 0,r.useContext(f));c+=t.key+"-"+u.name;var d={};for(var g in e)p.call(e,g)&&"css"!==g&&g!==h&&(d[g]=e[g]);return d.className=c,n&&(d.ref=n),r.createElement(r.Fragment,null,r.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof a}),r.createElement(a,d))})},51505(e,t,n){"use strict";n.d(t,{AH:()=>c});var r,o,i=n(26960),s=n(2376),a=(n(58875),n(38801)),l=(n(10254),function(e,t){var n=arguments;if(null==t||!i.h.call(t,"css"))return s.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var a=2;a<r;a++)o[a]=n[a];return s.createElement.apply(null,o)});r=l||(l={}),o||(o=r.JSX||(r.JSX={}));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.J)(t)}},38801(e,t,n){"use strict";n.d(t,{J:()=>g});var r=n(56885),o=n(66789),i=n(11509),s=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.A)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,t,n){return p={name:t,styles:n,next:p},t})}return 1===o.A[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return p={name:o.name,styles:o.styles,next:p},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)p={name:s.name,styles:s.styles,next:p},s=s.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":c(a)&&(r+=u(i)+":"+d(i,a)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var l=f(e,t,s);switch(i){case"animation":case"animationName":r+=u(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var p=0;p<s.length;p++)c(s[p])&&(r+=u(i)+":"+d(i,s[p])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=p,l=n(e);return p=a,f(e,t,l)}}var h=n;if(null==t)return h;var g=t[h];return void 0!==g?g:h}var p,h=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";p=void 0;var s=e[0];null==s||void 0===s.raw?(o=!1,i+=f(n,t,s)):i+=s[0];for(var a=1;a<e.length;a++){if(i+=f(n,t,e[a]),o)i+=s[a]}h.lastIndex=0;for(var l,c="";null!==(l=h.exec(i));)c+="-"+l[1];return{name:(0,r.A)(i)+c,styles:i,next:p}}},65979(e,t,n){"use strict";n.d(t,{v:()=>r});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()},76503(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(77790),o=n(26960),i=n(38801),s=n(58875),a=n(54045),l=n(2376),c=n(78183),u=c.A,d=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?u:d},p=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.SF)(t,n,r),(0,s.s)(function(){return(0,a.sk)(t,n,r)}),null},g=function e(t,n){var s,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==n&&(s=n.label,c=n.target);var g=p(t,n,u),m=g||f(d),v=!m("as");return function(){var b=arguments,y=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==s&&y.push("label:"+s+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{var k=b[0];y.push(k[0]);for(var x=b.length,w=1;w<x;w++)y.push(b[w],k[w])}var _=(0,o.w)(function(e,t,n){var r=v&&e.as||d,s="",u=[],p=e;if(null==e.theme){for(var b in p={},e)p[b]=e[b];p.theme=l.useContext(o.T)}"string"==typeof e.className?s=(0,a.Rk)(t.registered,u,e.className):null!=e.className&&(s=e.className+" ");var k=(0,i.J)(y.concat(u),t.registered,p);s+=t.key+"-"+k.name,void 0!==c&&(s+=" "+c);var x=v&&void 0===g?f(r):m,w={};for(var _ in e)v&&"as"===_||x(_)&&(w[_]=e[_]);return w.className=s,n&&(w.ref=n),l.createElement(l.Fragment,null,l.createElement(h,{cache:t,serialized:k,isStringTag:"string"==typeof r}),l.createElement(r,w))});return _.displayName=void 0!==s?s:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=d,_.__emotion_styles=y,_.__emotion_forwardProp=g,Object.defineProperty(_,"toString",{value:function(){return"."+c}}),_.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:p(_,o,!0)})).apply(void 0,y)},_}}},66789(e,t,n){"use strict";n.d(t,{A:()=>r});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},58875(e,t,n){"use strict";let r;n.d(t,{s:()=>s});var o=n(2376),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,s=i||function(e){return e()};i||o.useLayoutEffect},54045(e,t,n){"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},86677(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(66085),o=n(16439);function i(e){var t=(0,r.A)(e);return function(e){return(0,o.A)(t,e)}}},16439(e,t,n){"use strict";n.d(t,{A:()=>o});var r={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function o(e,t){var n,o,i,s,a,l,c=[];for(n=0;n<e.length;n++){if(a=e[n],s=r[a]){for(o=s.length,i=Array(o);o--;)i[o]=c.pop();try{l=s.apply(null,i)}catch(e){return e}}else l=t.hasOwnProperty(a)?t[a]:+a;c.push(l)}return c[0]}},47928(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(86677);function o(e){var t=(0,r.A)(e);return function(e){return+t({n:e})}}},66085(e,t,n){"use strict";var r,o,i,s;function a(e){for(var t,n,a,l,c=[],u=[];t=e.match(s);){for(n=t[0],(a=e.substr(0,t.index).trim())&&c.push(a);l=u.pop();){if(i[n]){if(i[n][0]===l){n=i[n][1]||n;break}}else if(o.indexOf(l)>=0||r[l]<r[n]){u.push(l);break}c.push(l)}i[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&c.push(e),c.concat(u.reverse())}n.d(t,{A:()=>a}),r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],i={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},51488(e,t){var n,r,o;r=[e,t],n=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function s(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,n=null,r=null,s=function(){e.clientWidth!==n&&f()},a=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",f,!1),e.removeEventListener("keyup",f,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",f,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",f,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",f,!1),e.addEventListener("autosize:update",f,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:a,update:f}),l()}function l(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),f()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function d(){if(0!==e.scrollHeight){var r=u(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}}function f(){d();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o<t?"hidden"===n.overflowY&&(c("scroll"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),d(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==o){r=o;var s=i("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}}function a(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return s(e,t)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},51889(e,t,n){"use strict";n.d(t,{xQ:()=>s});var r=n(49565),o=n(82769);function i(e,t){return 0===t?e.toLowerCase():(0,o.l3)(e,t)}function s(e,t){return void 0===t&&(t={}),(0,o.fL)(e,(0,r.Cl)({transform:i},t))}},81351(e){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},93764(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach(function(t){o[t]=r(e[t],n)}),i(t).forEach(function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))}),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var s=Array.isArray(n);return s===Array.isArray(e)?s?i.arrayMerge(e,n,i):a(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})};var c=l;e.exports=c},19382(e,t,n){"use strict";n.d(t,{a:()=>i});var r=n(49565),o=n(2532);function i(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,r.Cl)({delimiter:"."},t))}},11011(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),s=Array.isArray(t)?r:o,a=0;a<i.length;a++){var l=i[a];if(void 0===(s=s.get(l)))return;var c=t[l];if(void 0===(s=s.get(c)))return}var u=s.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,s.set("_ekm_value",u),n.set(t,u),u):void 0}var o=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach(function(e,t){n.push([t,e])}),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var o,i,s;return o=e,i=[{key:"set",value:function(n,r){if(null===n||"object"!==t(n))return this._map.set(n,r),this;for(var o=Object.keys(n).sort(),i=[n,r],s=Array.isArray(n)?this._arrayTreeMap:this._objectTreeMap,a=0;a<o.length;a++){var l=o[a];s.has(l)||s.set(l,new e),s=s.get(l);var c=n[l];s.has(c)||s.set(c,new e),s=s.get(c)}var u=s.get("_ekm_value");return u&&this._map.delete(u[0]),s.set("_ekm_value",i),this._map.set(n,i),this}},{key:"get",value:function(e){if(null===e||"object"!==t(e))return this._map.get(e);var n=r(this,e);return n?n[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==t(e)?this._map.has(e):void 0!==r(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(o,i){null!==i&&"object"===t(i)&&(o=o[1]),e.call(r,o,i,n)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}],i&&n(o.prototype,i),s&&n(o,s),e}();e.exports=o},64168(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],n.get(o[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},78669(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},91626(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,s=void 0!==i&&i,a=e.findChunks,l=void 0===a?r:a,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:s,sanitize:c,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,s=e.searchWords,a=e.textToHighlight;return a=o(a),s.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),s=void 0;s=i.exec(a);){var l=s.index,c=i.lastIndex;c>l&&e.push({highlight:!1,start:l,end:c}),s.index===i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}}])},10254(e,t,n){"use strict";var r=n(1444),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?s:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var s=u(n);d&&(s=s.concat(d(n)));for(var a=l(t),g=l(n),m=0;m<s.length;++m){var v=s[m];if(!(i[v]||r&&r[v]||g&&g[v]||a&&a[v])){var b=f(n,v);try{c(t,v,b)}catch(e){}}}}return t}},65533(e,t,n){"use strict";function r(e,t){for(var n,r=t.split(".");n=r.shift();){if(!(n in e))return;e=e[n]}return e}n.d(t,{A:()=>r})},21121(e,t,n){"use strict";n.d(t,{CF:()=>l,P:()=>u,Qq:()=>c,_w:()=>a,qg:()=>s});var r,o=n(65533),i=function(){return r||(r=document.implementation.createHTMLDocument("")),r};function s(e,t){if(t){if("string"==typeof e){var n=i();n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,r){var o=t[r];return n[r]=s(e,o),n},{})}}function a(e,t){var n,r;return 1===arguments.length?(n=e,r=void 0):(n=t,r=e),function(e){var t=e;if(r&&(t=e.querySelector(r)),t)return(0,o.A)(t,n)}}function l(e,t){var n,r;return 1===arguments.length?(n=e,r=void 0):(n=t,r=e),function(e){var t=a(r,"attributes")(e);if(t&&Object.prototype.hasOwnProperty.call(t,n))return t[n].value}}function c(e){return a(e,"textContent")}function u(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,function(e){return s(e,t)})}}},98991(e,t,n){var r=n(81351);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,s=document.createElement(i);s.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&s.setAttribute("rows","1");var a=r(e,"font-size");s.style.fontSize=a,s.style.padding="0px",s.style.border="0px";var l=document.body;l.appendChild(s),n=s.offsetHeight,l.removeChild(s)}return n}},25700(e,t,n){"use strict";n.d(t,{g:()=>r});function r(e){return e.toLowerCase()}},2532(e,t,n){"use strict";n.d(t,{W:()=>s});var r=n(25700),o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],i=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,s=void 0===n?o:n,l=t.stripRegexp,c=void 0===l?i:l,u=t.transform,d=void 0===u?r.g:u,f=t.delimiter,p=void 0===f?" ":f,h=a(a(e,s,"$1\0$2"),c,"\0"),g=0,m=h.length;"\0"===h.charAt(g);)g++;for(;"\0"===h.charAt(m-1);)m--;return h.slice(g,m).split("\0").map(d).join(p)}function a(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(e,t){return e.replace(t,n)},e)}},74572(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(49565),o=n(19382);function i(e,t){return void 0===t&&(t={}),(0,o.a)(e,(0,r.Cl)({delimiter:"-"},t))}},82769(e,t,n){"use strict";n.d(t,{fL:()=>s,l3:()=>i});var r=n(49565),o=n(2532);function i(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function s(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,r.Cl)({delimiter:"",transform:i},t))}},65389(e){function t(e,t){return t.some(t=>t instanceof RegExp?t.test(e):e.includes(t))}e.exports=function(e){const n=e.prefix,r=/\s+$/.test(n)?n:`${n} `,o=e.ignoreFiles?[].concat(e.ignoreFiles):[],i=e.includeFiles?[].concat(e.includeFiles):[];return function(s){o.length&&s.source.input.file&&t(s.source.input.file,o)||i.length&&s.source.input.file&&!t(s.source.input.file,i)||s.walkRules(t=>{t.parent&&["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"].includes(t.parent.name)||(t.selectors=t.selectors.map(o=>e.exclude&&function(e,t){return t.some(t=>t instanceof RegExp?t.test(e):e===t)}(o,e.exclude)?o:e.transform?e.transform(n,o,r+o,s.source.input.file,t):r+o))})}}},99310(e,t,n){const r=n(36390);e.exports=e=>{const t=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(n){const o=r(n.value);let i=!1;o.walk(n=>{if("function"!==n.type||"url"!==n.value)return;const r=n.nodes[0].value,o=new URL(r,e.rootUrl);return o.pathname===r&&t.skipHostRelativeUrls||(n.nodes[0].value=o.toString(),i=!0),!1}),i&&(n.value=r.stringify(o))}}},e.exports.postcss=!0},36390(e,t,n){var r=n(82821),o=n(18157),i=n(95259);function s(e){return this instanceof s?(this.nodes=r(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},s.prototype.walk=function(e,t){return o(this.nodes,e,t),this},s.unit=n(90662),s.walk=o,s.stringify=i,e.exports=s},82821(e){var t="(".charCodeAt(0),n=")".charCodeAt(0),r="'".charCodeAt(0),o='"'.charCodeAt(0),i="\\".charCodeAt(0),s="/".charCodeAt(0),a=",".charCodeAt(0),l=":".charCodeAt(0),c="*".charCodeAt(0),u="u".charCodeAt(0),d="U".charCodeAt(0),f="+".charCodeAt(0),p=/^[a-f0-9?-]+$/i;e.exports=function(e){for(var h,g,m,v,b,y,k,x,w,_=[],A=e,S=0,C=A.charCodeAt(S),E=A.length,T=[{nodes:_}],I=0,j="",B="",N="";S<E;)if(C<=32){h=S;do{h+=1,C=A.charCodeAt(h)}while(C<=32);v=A.slice(S,h),m=_[_.length-1],C===n&&I?N=v:m&&"div"===m.type?(m.after=v,m.sourceEndIndex+=v.length):C===a||C===l||C===s&&A.charCodeAt(h+1)!==c&&(!w||w&&"function"===w.type&&"calc"!==w.value)?B=v:_.push({type:"space",sourceIndex:S,sourceEndIndex:h,value:v}),S=h}else if(C===r||C===o){h=S,v={type:"string",sourceIndex:S,quote:g=C===r?"'":'"'};do{if(b=!1,~(h=A.indexOf(g,h+1)))for(y=h;A.charCodeAt(y-1)===i;)y-=1,b=!b;else h=(A+=g).length-1,v.unclosed=!0}while(b);v.value=A.slice(S+1,h),v.sourceEndIndex=v.unclosed?h:h+1,_.push(v),S=h+1,C=A.charCodeAt(S)}else if(C===s&&A.charCodeAt(S+1)===c)v={type:"comment",sourceIndex:S,sourceEndIndex:(h=A.indexOf("*/",S))+2},-1===h&&(v.unclosed=!0,h=A.length,v.sourceEndIndex=h),v.value=A.slice(S+2,h),_.push(v),S=h+2,C=A.charCodeAt(S);else if(C!==s&&C!==c||!w||"function"!==w.type||"calc"!==w.value)if(C===s||C===a||C===l)v=A[S],_.push({type:"div",sourceIndex:S-B.length,sourceEndIndex:S+v.length,value:v,before:B,after:""}),B="",S+=1,C=A.charCodeAt(S);else if(t===C){h=S;do{h+=1,C=A.charCodeAt(h)}while(C<=32);if(x=S,v={type:"function",sourceIndex:S-j.length,value:j,before:A.slice(x+1,h)},S=h,"url"===j&&C!==r&&C!==o){h-=1;do{if(b=!1,~(h=A.indexOf(")",h+1)))for(y=h;A.charCodeAt(y-1)===i;)y-=1,b=!b;else h=(A+=")").length-1,v.unclosed=!0}while(b);k=h;do{k-=1,C=A.charCodeAt(k)}while(C<=32);x<k?(v.nodes=S!==k+1?[{type:"word",sourceIndex:S,sourceEndIndex:k+1,value:A.slice(S,k+1)}]:[],v.unclosed&&k+1!==h?(v.after="",v.nodes.push({type:"space",sourceIndex:k+1,sourceEndIndex:h,value:A.slice(k+1,h)})):(v.after=A.slice(k+1,h),v.sourceEndIndex=h)):(v.after="",v.nodes=[]),S=h+1,v.sourceEndIndex=v.unclosed?h:S,C=A.charCodeAt(S),_.push(v)}else I+=1,v.after="",v.sourceEndIndex=S+1,_.push(v),T.push(v),_=v.nodes=[],w=v;j=""}else if(n===C&&I)S+=1,C=A.charCodeAt(S),w.after=N,w.sourceEndIndex+=N.length,N="",I-=1,T[T.length-1].sourceEndIndex=S,T.pop(),_=(w=T[I]).nodes;else{h=S;do{C===i&&(h+=1),h+=1,C=A.charCodeAt(h)}while(h<E&&!(C<=32||C===r||C===o||C===a||C===l||C===s||C===t||C===c&&w&&"function"===w.type&&"calc"===w.value||C===s&&"function"===w.type&&"calc"===w.value||C===n&&I));v=A.slice(S,h),t===C?j=v:u!==v.charCodeAt(0)&&d!==v.charCodeAt(0)||f!==v.charCodeAt(1)||!p.test(v.slice(2))?_.push({type:"word",sourceIndex:S,sourceEndIndex:h,value:v}):_.push({type:"unicode-range",sourceIndex:S,sourceEndIndex:h,value:v}),S=h}else v=A[S],_.push({type:"word",sourceIndex:S-B.length,sourceEndIndex:S+v.length,value:v}),S+=1,C=A.charCodeAt(S);for(S=T.length-1;S;S-=1)T[S].unclosed=!0,T[S].sourceEndIndex=A.length;return T[0].nodes}},95259(e){function t(e,t){var r,o,i=e.type,s=e.value;return t&&void 0!==(o=t(e))?o:"word"===i||"space"===i?s:"string"===i?(r=e.quote||"")+s+(e.unclosed?"":r):"comment"===i?"/*"+s+(e.unclosed?"":"*/"):"div"===i?(e.before||"")+s+(e.after||""):Array.isArray(e.nodes)?(r=n(e.nodes,t),"function"!==i?r:s+"("+(e.before||"")+r+(e.after||"")+(e.unclosed?"":")")):s}function n(e,n){var r,o;if(Array.isArray(e)){for(r="",o=e.length-1;~o;o-=1)r=t(e[o],n)+r;return r}return t(e,n)}e.exports=n},90662(e){var t="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),o="e".charCodeAt(0),i="E".charCodeAt(0);e.exports=function(e){var s,a,l,c=0,u=e.length;if(0===u||!function(e){var o,i=e.charCodeAt(0);if(i===n||i===t){if((o=e.charCodeAt(1))>=48&&o<=57)return!0;var s=e.charCodeAt(2);return o===r&&s>=48&&s<=57}return i===r?(o=e.charCodeAt(1))>=48&&o<=57:i>=48&&i<=57}(e))return!1;for((s=e.charCodeAt(c))!==n&&s!==t||c++;c<u&&!((s=e.charCodeAt(c))<48||s>57);)c+=1;if(s=e.charCodeAt(c),a=e.charCodeAt(c+1),s===r&&a>=48&&a<=57)for(c+=2;c<u&&!((s=e.charCodeAt(c))<48||s>57);)c+=1;if(s=e.charCodeAt(c),a=e.charCodeAt(c+1),l=e.charCodeAt(c+2),(s===o||s===i)&&(a>=48&&a<=57||(a===n||a===t)&&l>=48&&l<=57))for(c+=a===n||a===t?3:2;c<u&&!((s=e.charCodeAt(c))<48||s>57);)c+=1;return{number:e.slice(0,c),unit:e.slice(c)}}},18157(e){e.exports=function e(t,n,r){var o,i,s,a;for(o=0,i=t.length;o<i;o+=1)s=t[o],r||(a=n(s,o,t)),!1!==a&&"function"===s.type&&Array.isArray(s.nodes)&&e(s.nodes,n,r),r&&n(s,o,t)}},15762(e,t,n){"use strict";var r=n(53761);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},28120(e,t,n){e.exports=n(15762)()},53761(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},21932(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var a=n(2376),l=n(28120),c=n(51488),u=n(98991),d="autosize:resized",f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,r=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||r?setTimeout(function(){return e.textarea&&c(e.textarea)}):this.textarea&&c(this.textarea),this.textarea&&this.textarea.addEventListener(d,this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener(d,this.onResize),c.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),r=(t.onChange,t.style),o=(t.innerRef,t.children),l=s(t,["onResize","maxRows","onChange","style","innerRef","children"]),c=this.state.lineHeight,u=n&&c?c*n:null;return a.createElement("textarea",i({},l,{onChange:this.onChange,style:u?i({},r,{maxHeight:u}):r,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),o)},t.prototype.componentDidUpdate=function(){this.textarea&&c.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.any,async:l.bool},t}(a.Component);t.TextareaAutosize=a.forwardRef(function(e,t){return a.createElement(f,i({},e,{innerRef:t}))})},17578(e,t,n){"use strict";var r=n(21932);e.exports=r.TextareaAutosize},85227(e,t,n){"use strict";var r=n(2376),o=n(40226);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(a[e]=t,e=0;e<t.length;e++)s.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){m[e]=new g(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){m[e]=new g(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){m[e]=new g(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){m[e]=new g(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){m[e]=new g(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)}),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)});var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),E=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var L,P=Object.assign;function D(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var z=!1;function V(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(1!==s||1!==a)do{if(s--,0>--a||o[s]!==i[a]){var l="\n"+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=s&&0<=a);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function F(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case w:return"Portal";case S:return"Profiler";case A:return"StrictMode";case I:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case B:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return $(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Q(e,t){Z(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return P({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function ie(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach(function(e){he.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]})});var ve=P({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,_e=null,Ae=null;function Se(e){if(e=xo(e)){if("function"!=typeof we)throw Error(i(280));var t=e.stateNode;t&&(t=_o(t),we(e.stateNode,e.type,t))}}function Ce(e){_e?Ae?Ae.push(e):Ae=[e]:_e=e}function Ee(){if(_e){var e=_e,t=Ae;if(Ae=_e=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Te(e,t){return e(t)}function Ie(){}var je=!1;function Be(e,t,n){if(je)return e(t,n);je=!0;try{return Te(e,t,n)}finally{je=!1,(null!==_e||null!==Ae)&&(Ie(),Ee())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=_o(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Me=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Me=!1}function Oe(e,t,n,r,o,i,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Le=!1,Pe=null,De=!1,ze=null,Ve={onError:function(e){Le=!0,Pe=e}};function Fe(e,t,n,r,o,i,s,a,l){Le=!1,Pe=null,Oe.apply(Ve,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ue(e){if($e(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var s=o.alternate;if(null===s){if(null!==(r=o.return)){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return Ue(o),e;if(s===r)return Ue(o),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=s;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=s;break}if(l===r){a=!0,r=o,n=s;break}l=l.sibling}if(!a){for(l=s.child;l;){if(l===n){a=!0,n=s,r=o;break}if(l===r){a=!0,r=s,n=o;break}l=l.sibling}if(!a)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var qe=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Ze=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var st=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(at(e)/lt|0)|0},at=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=268435455&n;if(0!==s){var a=s&~o;0!==a?r=dt(a):0!==(i&=s)&&(r=dt(i))}else 0!==(s=n&~o)?r=dt(s):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-st(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function kt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,wt,_t,At,St,Ct=!1,Et=[],Tt=null,It=null,jt=null,Bt=new Map,Nt=new Map,Mt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ot(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":It=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Bt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Lt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Pt(e){var t=ko(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void St(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ke=r,n.target.dispatchEvent(r),ke=null,t.shift()}return!0}function zt(e,t,n){Dt(e)&&n.delete(t)}function Vt(){Ct=!1,null!==Tt&&Dt(Tt)&&(Tt=null),null!==It&&Dt(It)&&(It=null),null!==jt&&Dt(jt)&&(jt=null),Bt.forEach(zt),Nt.forEach(zt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Vt)))}function $t(e){function t(t){return Ft(t,e)}if(0<Et.length){Ft(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ft(Tt,e),null!==It&&Ft(It,e),null!==jt&&Ft(jt,e),Bt.forEach(t),Nt.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)Pt(n),null===n.blockedOn&&Mt.shift()}var Ht=k.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var o=yt,i=Ht.transition;Ht.transition=null;try{yt=1,qt(e,t,n,r)}finally{yt=o,Ht.transition=i}}function Kt(e,t,n,r){var o=yt,i=Ht.transition;Ht.transition=null;try{yt=4,qt(e,t,n,r)}finally{yt=o,Ht.transition=i}}function qt(e,t,n,r){if(Ut){var o=Xt(e,t,n,r);if(null===o)Wr(e,t,r,Gt,n),Ot(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Lt(Tt,e,t,n,r,o),!0;case"dragenter":return It=Lt(It,e,t,n,r,o),!0;case"mouseover":return jt=Lt(jt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Bt.set(i,Lt(Bt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Lt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&xt(i),null===(i=Xt(e,t,n,r))&&Wr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Gt=null;function Xt(e,t,n,r){if(Gt=null,null!==(e=ko(e=xe(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(o):o[s]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return P(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var sn,an,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=P({},cn,{view:0,detail:0}),fn=on(dn),pn=P({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(sn=e.screenX-ln.screenX,an=e.screenY-ln.screenY):an=sn=0,ln=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:an}}),hn=on(pn),gn=on(P({},pn,{dataTransfer:0})),mn=on(P({},dn,{relatedTarget:0})),vn=on(P({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=P({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(bn),kn=on(P({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function Cn(){return Sn}var En=P({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(En),In=on(P({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=on(P({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Bn=on(P({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=P({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Nn),Rn=[9,13,27,32],On=u&&"CompositionEvent"in window,Ln=null;u&&"documentMode"in document&&(Ln=document.documentMode);var Pn=u&&"TextEvent"in window&&!Ln,Dn=u&&(!On||Ln&&8<Ln&&11>=Ln),zn=String.fromCharCode(32),Vn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Kn(e,t,n,r){Ce(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Xn(e){zr(e,0)}function Yn(e){if(q(wo(e)))return e}function Zn(e,t){if("change"===e)return t}var Qn=!1;if(u){var Jn;if(u){var er="oninput"in document;if(!er){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),er="function"==typeof tr.oninput}Jn=er}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function nr(){qn&&(qn.detachEvent("onpropertychange",rr),Gn=qn=null)}function rr(e){if("value"===e.propertyName&&Yn(Gn)){var t=[];Kn(t,Gn,e,xe(e)),Be(Xn,t)}}function or(e,t,n){"focusin"===e?(nr(),Gn=n,(qn=t).attachEvent("onpropertychange",rr)):"focusout"===e&&nr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Gn)}function sr(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function cr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=dr(n,i);var s=dr(n,r);o&&s&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,br=null,yr=null,kr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;kr||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&cr(yr,r)||(yr=r,0<(r=qr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Ar={},Sr={};function Cr(e){if(Ar[e])return Ar[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return Ar[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Er=Cr("animationend"),Tr=Cr("animationiteration"),Ir=Cr("animationstart"),jr=Cr("transitionend"),Br=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Br.set(e,t),l(t,[e])}for(var Rr=0;Rr<Nr.length;Rr++){var Or=Nr[Rr];Mr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Mr(Er,"onAnimationEnd"),Mr(Tr,"onAnimationIteration"),Mr(Ir,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(jr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,s,a,l,c){if(Fe.apply(this,arguments),Le){if(!Le)throw Error(i(198));var u=Pe;Le=!1,Pe=null,De||(De=!0,ze=u)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Dr(o,a,c),i=l}else for(s=0;s<r.length;s++){if(l=(a=r[s]).instance,c=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Dr(o,a,c),i=l}}}if(De)throw e=ze,De=!1,ze=null,e}function Vr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[$r]){e[$r]=!0,s.forEach(function(t){"selectionchange"!==t&&(Pr.has(t)||Fr(t,!1,e),Fr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Fr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var o=Wt;break;case 4:o=Kt;break;default:o=qt}n=o.bind(null,t,n,e),o=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var a=r.stateNode.containerInfo;if(a===o||8===a.nodeType&&a.parentNode===o)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;s=s.return}for(;null!==a;){if(null===(s=ko(a)))return;if(5===(l=s.tag)||6===l){r=i=s;continue e}a=a.parentNode}}r=r.return}Be(function(){var r=i,o=xe(n),s=[];e:{var a=Br.get(e);if(void 0!==a){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=jn;break;case Er:case Tr:case Ir:l=vn;break;case jr:l=Bn;break;case"scroll":l=fn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=In}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==a?a+"Capture":null:a;u=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&(null!=(g=Ne(h,f))&&u.push(Kr(h,g,p)))),d)break;h=h.return}0<u.length&&(a=new l(a,c,null,n,o),s.push({event:a,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||n===ke||!(c=n.relatedTarget||n.fromElement)||!ko(c)&&!c[mo])&&(l||a)&&(a=o.window===o?o:(a=o.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ko(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=In,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?a:wo(l),p=null==c?a:wo(c),(a=new u(g,h+"leave",l,n,o)).target=d,a.relatedTarget=p,g=null,ko(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Gr(p))h++;for(p=0,g=f;g;g=Gr(g))p++;for(;0<h-p;)u=Gr(u),h--;for(;0<p-h;)f=Gr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Gr(u),f=Gr(f)}u=null}else u=null;null!==l&&Xr(s,a,l,u,!1),null!==c&&null!==d&&Xr(s,d,c,u,!0)}if("select"===(l=(a=r?wo(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var m=Zn;else if(Wn(a))if(Qn)m=ar;else{m=ir;var v=or}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(m=sr);switch(m&&(m=m(e,r))?Kn(s,m,n,o):(v&&v(e,a,r),"focusout"===e&&(v=a._wrapperState)&&v.controlled&&"number"===a.type&&ee(a,"number",a.value)),v=r?wo(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(vr=v,br=r,yr=null);break;case"focusout":yr=br=vr=null;break;case"mousedown":kr=!0;break;case"contextmenu":case"mouseup":case"dragend":kr=!1,xr(s,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(s,n,o)}var b;if(On)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?Fn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Dn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(b=en()):(Qt="value"in(Zt=o)?Zt.value:Zt.textContent,Hn=!0)),0<(v=qr(r,y)).length&&(y=new kn(y,e,null,n,o),s.push({event:y,listeners:v}),b?y.data=b:null!==(b=$n(n))&&(y.data=b))),(b=Pn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(Vn=!0,zn);case"textInput":return(e=t.data)===zn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!On&&Fn(e,t)?(e=en(),Jt=Qt=Zt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),s.push({event:o,listeners:r}),o.data=b))}zr(s,t)})}function Kr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Kr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Kr(e,i,o))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,s=[];null!==n&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(null!==l&&l===r)break;5===a.tag&&null!==c&&(a=c,o?null!=(l=Ne(n,i))&&s.unshift(Kr(n,l,a)):o||null!=(l=Ne(n,i))&&s.push(Kr(n,l,a))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}var Yr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Zr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function eo(){}var to=null,no=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var oo="function"==typeof setTimeout?setTimeout:void 0,io="function"==typeof clearTimeout?clearTimeout:void 0,so="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==so?function(e){return so.resolve(null).then(e).catch(lo)}:oo;function lo(e){setTimeout(function(){throw e})}function co(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function fo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),ho="__reactFiber$"+po,go="__reactProps$"+po,mo="__reactContainer$"+po,vo="__reactEvents$"+po,bo="__reactListeners$"+po,yo="__reactHandles$"+po;function ko(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=fo(e);null!==e;){if(n=e[ho])return n;e=fo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function _o(e){return e[go]||null}var Ao=[],So=-1;function Co(e){return{current:e}}function Eo(e){0>So||(e.current=Ao[So],Ao[So]=null,So--)}function To(e,t){So++,Ao[So]=e.current,e.current=t}var Io={},jo=Co(Io),Bo=Co(!1),No=Io;function Mo(e,t){var n=e.type.contextTypes;if(!n)return Io;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(e){return null!=(e=e.childContextTypes)}function Oo(){Eo(Bo),Eo(jo)}function Lo(e,t,n){if(jo.current!==Io)throw Error(i(168));To(jo,t),To(Bo,n)}function Po(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,H(e)||"Unknown",o));return P({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Io,No=jo.current,To(jo,e),To(Bo,Bo.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Po(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,Eo(Bo),Eo(jo),To(jo,e)):Eo(Bo),To(Bo,n)}var Vo=null,Fo=!1,$o=!1;function Ho(e){null===Vo?Vo=[e]:Vo.push(e)}function Uo(){if(!$o&&null!==Vo){$o=!0;var e=0,t=yt;try{var n=Vo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vo=null,Fo=!1}catch(t){throw null!==Vo&&(Vo=Vo.slice(e+1)),qe(Je,Uo),t}finally{yt=t,$o=!1}}return null}var Wo=[],Ko=0,qo=null,Go=0,Xo=[],Yo=0,Zo=null,Qo=1,Jo="";function ei(e,t){Wo[Ko++]=Go,Wo[Ko++]=qo,qo=e,Go=t}function ti(e,t,n){Xo[Yo++]=Qo,Xo[Yo++]=Jo,Xo[Yo++]=Zo,Zo=e;var r=Qo;e=Jo;var o=32-st(r)-1;r&=~(1<<o),n+=1;var i=32-st(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Qo=1<<32-st(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ni(e){null!==e.return&&(ei(e,1),ti(e,1,0))}function ri(e){for(;e===qo;)qo=Wo[--Ko],Wo[Ko]=null,Go=Wo[--Ko],Wo[Ko]=null;for(;e===Zo;)Zo=Xo[--Yo],Xo[Yo]=null,Jo=Xo[--Yo],Xo[Yo]=null,Qo=Xo[--Yo],Xo[Yo]=null}var oi=null,ii=null,si=!1,ai=null;function li(e,t){var n=Bc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ci(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oi=e,ii=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oi=e,ii=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Zo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Bc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,oi=e,ii=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function di(e){if(si){var t=ii;if(t){var n=t;if(!ci(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=oi;t&&ci(e,t)?li(r,n):(e.flags=-4097&e.flags|2,si=!1,oi=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,si=!1,oi=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oi=e}function pi(e){if(e!==oi)return!1;if(!si)return fi(e),si=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=ii)){if(ui(e))throw hi(),Error(i(418));for(;t;)li(e,t),t=uo(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ii=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ii=null}}else ii=oi?uo(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=ii;e;)e=uo(e.nextSibling)}function gi(){ii=oi=null,si=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=k.ReactCurrentBatchConfig;function bi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,s=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=o.refs;null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ki(e){return(0,e._init)(e._payload)}function xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function s(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Pc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===N&&ki(i)===t.type)?((r=o(t,n.props)).ref=bi(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=bi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Oc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Pc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=bi(e,null,t),n.return=e,n;case w:return(t=Dc(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||O(t))return(t=Oc(t,e.mode,n,null)).return=e,t;yi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?c(e,t,n,r):null;case w:return n.key===o?u(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||O(n))return null!==o?null:d(e,t,n,r,null);yi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||O(r))return d(t,e=e.get(n)||null,r,o,null);yi(t,r)}return null}function g(o,i,a,l){for(var c=null,u=null,d=i,g=i=0,m=null;null!==d&&g<a.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=p(o,d,a[g],l);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(o,d),i=s(v,i,g),null===u?c=v:u.sibling=v,u=v,d=m}if(g===a.length)return n(o,d),si&&ei(o,g),c;if(null===d){for(;g<a.length;g++)null!==(d=f(o,a[g],l))&&(i=s(d,i,g),null===u?c=d:u.sibling=d,u=d);return si&&ei(o,g),c}for(d=r(o,d);g<a.length;g++)null!==(m=h(d,o,g,a[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=s(m,i,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach(function(e){return t(o,e)}),si&&ei(o,g),c}function m(o,a,l,c){var u=O(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,g=a,m=a=0,v=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var y=p(o,g,b.value,c);if(null===y){null===g&&(g=v);break}e&&g&&null===y.alternate&&t(o,g),a=s(y,a,m),null===d?u=y:d.sibling=y,d=y,g=v}if(b.done)return n(o,g),si&&ei(o,m),u;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=f(o,b.value,c))&&(a=s(b,a,m),null===d?u=b:d.sibling=b,d=b);return si&&ei(o,m),u}for(g=r(o,g);!b.done;m++,b=l.next())null!==(b=h(g,o,m,b.value,c))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),a=s(b,a,m),null===d?u=b:d.sibling=b,d=b);return e&&g.forEach(function(e){return t(o,e)}),si&&ei(o,m),u}return function e(r,i,s,l){if("object"==typeof s&&null!==s&&s.type===_&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case x:e:{for(var c=s.key,u=i;null!==u;){if(u.key===c){if((c=s.type)===_){if(7===u.tag){n(r,u.sibling),(i=o(u,s.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===N&&ki(c)===u.type){n(r,u.sibling),(i=o(u,s.props)).ref=bi(r,u,s),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}s.type===_?((i=Oc(s.props.children,r.mode,l,s.key)).return=r,r=i):((l=Rc(s.type,s.key,s.props,null,r.mode,l)).ref=bi(r,i,s),l.return=r,r=l)}return a(r);case w:e:{for(u=s.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===s.containerInfo&&i.stateNode.implementation===s.implementation){n(r,i.sibling),(i=o(i,s.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Dc(s,r.mode,l)).return=r,r=i}return a(r);case N:return e(r,i,(u=s._init)(s._payload),l)}if(te(s))return g(r,i,s,l);if(O(s))return m(r,i,s,l);yi(r,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,s)).return=r,r=i):(n(r,i),(i=Pc(s,r.mode,l)).return=r,r=i),a(r)):n(r,i)}}var wi=xi(!0),_i=xi(!1),Ai=Co(null),Si=null,Ci=null,Ei=null;function Ti(){Ei=Ci=Si=null}function Ii(e){var t=Ai.current;Eo(Ai),e._currentValue=t}function ji(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Bi(e,t){Si=e,Ei=Ci=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ka=!0),e.firstContext=null)}function Ni(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===Ci){if(null===Si)throw Error(i(308));Ci=e,Si.dependencies={lanes:0,firstContext:e}}else Ci=Ci.next=e;return t}var Mi=null;function Ri(e){null===Mi?Mi=[e]:Mi.push(e)}function Oi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ri(t)):(n.next=o.next,o.next=n),t.interleaved=n,Li(e,r)}function Li(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Di(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Tl){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Li(e,n)}return null===(o=r.interleaved)?(t.next=t,Ri(r)):(t.next=o.next,o.next=t),r.interleaved=t,Li(e,n)}function $i(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Hi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=s:i=i.next=s,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ui(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(null!==a){o.shared.pending=null;var l=a,c=l.next;l.next=null,null===s?i=c:s.next=c,s=l;var u=e.alternate;null!==u&&((a=(u=u.updateQueue).lastBaseUpdate)!==s&&(null===a?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(s=0,u=c=l=null,a=i;;){var f=a.lane,p=a.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,g=a;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=P({},d,f);break e;case 2:Pi=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,s|=f;if(null===(a=a.next)){if(null===(a=o.shared.pending))break;a=(f=a).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{s|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ll|=s,e.lanes=s,e.memoizedState=d}}function Wi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ki={},qi=Co(Ki),Gi=Co(Ki),Xi=Co(Ki);function Yi(e){if(e===Ki)throw Error(i(174));return e}function Zi(e,t){switch(To(Xi,t),To(Gi,e),To(qi,Ki),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(qi),To(qi,t)}function Qi(){Eo(qi),Eo(Gi),Eo(Xi)}function Ji(e){Yi(Xi.current);var t=Yi(qi.current),n=le(t,e.type);t!==n&&(To(Gi,e),To(qi,n))}function es(e){Gi.current===e&&(Eo(qi),Eo(Gi))}var ts=Co(0);function ns(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rs=[];function os(){for(var e=0;e<rs.length;e++)rs[e]._workInProgressVersionPrimary=null;rs.length=0}var is=k.ReactCurrentDispatcher,ss=k.ReactCurrentBatchConfig,as=0,ls=null,cs=null,us=null,ds=!1,fs=!1,ps=0,hs=0;function gs(){throw Error(i(321))}function ms(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function vs(e,t,n,r,o,s){if(as=s,ls=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,is.current=null===e||null===e.memoizedState?ea:ta,e=n(r,o),fs){s=0;do{if(fs=!1,ps=0,25<=s)throw Error(i(301));s+=1,us=cs=null,t.updateQueue=null,is.current=na,e=n(r,o)}while(fs)}if(is.current=Js,t=null!==cs&&null!==cs.next,as=0,us=cs=ls=null,ds=!1,t)throw Error(i(300));return e}function bs(){var e=0!==ps;return ps=0,e}function ys(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===us?ls.memoizedState=us=e:us=us.next=e,us}function ks(){if(null===cs){var e=ls.alternate;e=null!==e?e.memoizedState:null}else e=cs.next;var t=null===us?ls.memoizedState:us.next;if(null!==t)us=t,cs=e;else{if(null===e)throw Error(i(310));e={memoizedState:(cs=e).memoizedState,baseState:cs.baseState,baseQueue:cs.baseQueue,queue:cs.queue,next:null},null===us?ls.memoizedState=us=e:us=us.next=e}return us}function xs(e,t){return"function"==typeof t?t(e):t}function ws(e){var t=ks(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=cs,o=r.baseQueue,s=n.pending;if(null!==s){if(null!==o){var a=o.next;o.next=s.next,s.next=a}r.baseQueue=o=s,n.pending=null}if(null!==o){s=o.next,r=r.baseState;var l=a=null,c=null,u=s;do{var d=u.lane;if((as&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,a=r):c=c.next=f,ls.lanes|=d,Ll|=d}u=u.next}while(null!==u&&u!==s);null===c?a=r:c.next=l,lr(r,t.memoizedState)||(ka=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{s=o.lane,ls.lanes|=s,Ll|=s,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _s(e){var t=ks(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{s=e(s,a.action),a=a.next}while(a!==o);lr(s,t.memoizedState)||(ka=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function As(){}function Ss(e,t){var n=ls,r=ks(),o=t(),s=!lr(r.memoizedState,o);if(s&&(r.memoizedState=o,ka=!0),r=r.queue,Ps(Ts.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||null!==us&&1&us.memoizedState.tag){if(n.flags|=2048,Ns(9,Es.bind(null,n,r,o,t),void 0,null),null===Il)throw Error(i(349));30&as||Cs(n,t,o)}return o}function Cs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ls.updateQueue)?(t={lastEffect:null,stores:null},ls.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Es(e,t,n,r){t.value=n,t.getSnapshot=r,Is(t)&&js(e)}function Ts(e,t,n){return n(function(){Is(t)&&js(e)})}function Is(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function js(e){var t=Li(e,1);null!==t&&nc(t,e,1,-1)}function Bs(e){var t=ys();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xs,lastRenderedState:e},t.queue=e,e=e.dispatch=Xs.bind(null,ls,e),[t.memoizedState,e]}function Ns(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ls.updateQueue)?(t={lastEffect:null,stores:null},ls.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ms(){return ks().memoizedState}function Rs(e,t,n,r){var o=ys();ls.flags|=e,o.memoizedState=Ns(1|t,n,void 0,void 0===r?null:r)}function Os(e,t,n,r){var o=ks();r=void 0===r?null:r;var i=void 0;if(null!==cs){var s=cs.memoizedState;if(i=s.destroy,null!==r&&ms(r,s.deps))return void(o.memoizedState=Ns(t,n,i,r))}ls.flags|=e,o.memoizedState=Ns(1|t,n,i,r)}function Ls(e,t){return Rs(8390656,8,e,t)}function Ps(e,t){return Os(2048,8,e,t)}function Ds(e,t){return Os(4,2,e,t)}function zs(e,t){return Os(4,4,e,t)}function Vs(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fs(e,t,n){return n=null!=n?n.concat([e]):null,Os(4,4,Vs.bind(null,t,e),n)}function $s(){}function Hs(e,t){var n=ks();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ms(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Us(e,t){var n=ks();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ms(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ws(e,t,n){return 21&as?(lr(n,t)||(n=gt(),ls.lanes|=n,Ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ka=!0),e.memoizedState=n)}function Ks(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ss.transition;ss.transition={};try{e(!1),t()}finally{yt=n,ss.transition=r}}function qs(){return ks().memoizedState}function Gs(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ys(e))Zs(t,n);else if(null!==(n=Oi(e,t,n,r))){nc(n,e,r,ec()),Qs(n,t,r)}}function Xs(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ys(e))Zs(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,lr(a,s)){var l=t.interleaved;return null===l?(o.next=o,Ri(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Oi(e,t,o,r))&&(nc(n,e,r,o=ec()),Qs(n,t,r))}}function Ys(e){var t=e.alternate;return e===ls||null!==t&&t===ls}function Zs(e,t){fs=ds=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qs(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Js={readContext:Ni,useCallback:gs,useContext:gs,useEffect:gs,useImperativeHandle:gs,useInsertionEffect:gs,useLayoutEffect:gs,useMemo:gs,useReducer:gs,useRef:gs,useState:gs,useDebugValue:gs,useDeferredValue:gs,useTransition:gs,useMutableSource:gs,useSyncExternalStore:gs,useId:gs,unstable_isNewReconciler:!1},ea={readContext:Ni,useCallback:function(e,t){return ys().memoizedState=[e,void 0===t?null:t],e},useContext:Ni,useEffect:Ls,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Rs(4194308,4,Vs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rs(4,2,e,t)},useMemo:function(e,t){var n=ys();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ys();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Gs.bind(null,ls,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ys().memoizedState=e},useState:Bs,useDebugValue:$s,useDeferredValue:function(e){return ys().memoizedState=e},useTransition:function(){var e=Bs(!1),t=e[0];return e=Ks.bind(null,e[1]),ys().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ls,o=ys();if(si){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Il)throw Error(i(349));30&as||Cs(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Ls(Ts.bind(null,r,s,e),[e]),r.flags|=2048,Ns(9,Es.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=ys(),t=Il.identifierPrefix;if(si){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-st(Qo)-1)).toString(32)+n),0<(n=ps++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=hs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ta={readContext:Ni,useCallback:Hs,useContext:Ni,useEffect:Ps,useImperativeHandle:Fs,useInsertionEffect:Ds,useLayoutEffect:zs,useMemo:Us,useReducer:ws,useRef:Ms,useState:function(){return ws(xs)},useDebugValue:$s,useDeferredValue:function(e){return Ws(ks(),cs.memoizedState,e)},useTransition:function(){return[ws(xs)[0],ks().memoizedState]},useMutableSource:As,useSyncExternalStore:Ss,useId:qs,unstable_isNewReconciler:!1},na={readContext:Ni,useCallback:Hs,useContext:Ni,useEffect:Ps,useImperativeHandle:Fs,useInsertionEffect:Ds,useLayoutEffect:zs,useMemo:Us,useReducer:_s,useRef:Ms,useState:function(){return _s(xs)},useDebugValue:$s,useDeferredValue:function(e){var t=ks();return null===cs?t.memoizedState=e:Ws(t,cs.memoizedState,e)},useTransition:function(){return[_s(xs)[0],ks().memoizedState]},useMutableSource:As,useSyncExternalStore:Ss,useId:qs,unstable_isNewReconciler:!1};function ra(e,t){if(e&&e.defaultProps){for(var n in t=P({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function oa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:P({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ia={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Vi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Fi(e,i,o))&&(nc(t,e,o,r),$i(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Vi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Fi(e,i,o))&&(nc(t,e,o,r),$i(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=Vi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Fi(e,o,r))&&(nc(t,e,r,n),$i(t,e,r))}};function sa(e,t,n,r,o,i,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,s):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(o,i))}function aa(e,t,n){var r=!1,o=Io,i=t.contextType;return"object"==typeof i&&null!==i?i=Ni(i):(o=Ro(t)?No:jo.current,i=(r=null!=(r=t.contextTypes))?Mo(e,o):Io),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ia,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function la(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ia.enqueueReplaceState(t,t.state,null)}function ca(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Di(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ni(i):(i=Ro(t)?No:jo.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(oa(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ia.enqueueReplaceState(o,o.state,null),Ui(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ua(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function da(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fa(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var pa="function"==typeof WeakMap?WeakMap:Map;function ha(e,t,n){(n=Vi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ul||(Ul=!0,Wl=r),fa(0,t)},n}function ga(e,t,n){(n=Vi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fa(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fa(0,t),"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ma(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pa;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Sc.bind(null,e,t,n),t.then(e,e))}function va(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ba(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Vi(-1,1)).tag=2,Fi(n,t,1))),n.lanes|=1),e)}var ya=k.ReactCurrentOwner,ka=!1;function xa(e,t,n,r){t.child=null===e?_i(t,null,n,r):wi(t,e.child,n,r)}function wa(e,t,n,r,o){n=n.render;var i=t.ref;return Bi(t,o),r=vs(e,t,n,r,i,o),n=bs(),null===e||ka?(si&&n&&ni(t),t.flags|=1,xa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ua(e,t,o))}function _a(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Nc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Aa(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var s=i.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(s,r)&&e.ref===t.ref)return Ua(e,t,o)}return t.flags|=1,(e=Mc(i,r)).ref=t.ref,e.return=t,t.child=e}function Aa(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(cr(i,r)&&e.ref===t.ref){if(ka=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Ua(e,t,o);131072&e.flags&&(ka=!0)}}return Ea(e,t,n,r,o)}function Sa(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Ml,Nl),Nl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,To(Ml,Nl),Nl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Ml,Nl),Nl|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,To(Ml,Nl),Nl|=r;return xa(e,t,o,n),t.child}function Ca(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ea(e,t,n,r,o){var i=Ro(n)?No:jo.current;return i=Mo(t,i),Bi(t,o),n=vs(e,t,n,r,i,o),r=bs(),null===e||ka?(si&&r&&ni(t),t.flags|=1,xa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ua(e,t,o))}function Ta(e,t,n,r,o){if(Ro(n)){var i=!0;Do(t)}else i=!1;if(Bi(t,o),null===t.stateNode)Ha(e,t),aa(t,n,r),ca(t,n,r,o),r=!0;else if(null===e){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;"object"==typeof c&&null!==c?c=Ni(c):c=Mo(t,c=Ro(n)?No:jo.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof s.getSnapshotBeforeUpdate;d||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||l!==c)&&la(t,s,r,c),Pi=!1;var f=t.memoizedState;s.state=f,Ui(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Bo.current||Pi?("function"==typeof u&&(oa(t,n,u,r),l=t.memoizedState),(a=Pi||sa(t,n,a,r,f,l,c))?(d||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4194308)):("function"==typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):("function"==typeof s.componentDidMount&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,zi(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:ra(t.type,a),s.props=c,d=t.pendingProps,f=s.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ni(l):l=Mo(t,l=Ro(n)?No:jo.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==d||f!==l)&&la(t,s,r,l),Pi=!1,f=t.memoizedState,s.state=f,Ui(t,r,s,o);var h=t.memoizedState;a!==d||f!==h||Bo.current||Pi?("function"==typeof p&&(oa(t,n,p,r),h=t.memoizedState),(c=Pi||sa(t,n,c,r,f,h,l)||!1)?(u||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,h,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=c):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ia(e,t,n,r,i,o)}function Ia(e,t,n,r,o,i){Ca(e,t);var s=!!(128&t.flags);if(!r&&!s)return o&&zo(t,n,!1),Ua(e,t,i);r=t.stateNode,ya.current=t;var a=s&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,a,i)):xa(e,t,a,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function ja(e){var t=e.stateNode;t.pendingContext?Lo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lo(0,t.context,!1),Zi(e,t.containerInfo)}function Ba(e,t,n,r,o){return gi(),mi(o),t.flags|=256,xa(e,t,n,r),t.child}var Na,Ma,Ra,Oa={dehydrated:null,treeContext:null,retryLane:0};function La(e){return{baseLanes:e,cachePool:null,transitions:null}}function Pa(e,t,n){var r,o=t.pendingProps,s=ts.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&s)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(s|=1),To(ts,1&s),null===e)return di(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},1&o||null===a?a=Lc(l,o,0,null):(a.childLanes=0,a.pendingProps=l),e=Oc(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=La(n),t.memoizedState=Oa,e):Da(t,l));if(null!==(s=e.memoizedState)&&null!==(r=s.dehydrated))return function(e,t,n,r,o,s,a){if(n)return 256&t.flags?(t.flags&=-257,za(e,t,a,r=da(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=Lc({mode:"visible",children:r.children},o,0,null),(s=Oc(s,o,a,null)).flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,1&t.mode&&wi(t,e.child,null,a),t.child.memoizedState=La(a),t.memoizedState=Oa,s);if(!(1&t.mode))return za(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,za(e,t,a,r=da(s=Error(i(419)),r,void 0))}if(l=0!==(a&e.childLanes),ka||l){if(null!==(r=Il)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|a))?0:o)&&o!==s.retryLane&&(s.retryLane=o,Li(e,o),nc(r,e,o,-1))}return gc(),za(e,t,a,r=da(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ec.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,ii=uo(o.nextSibling),oi=t,si=!0,ai=null,null!==e&&(Xo[Yo++]=Qo,Xo[Yo++]=Jo,Xo[Yo++]=Zo,Qo=e.id,Jo=e.overflow,Zo=t),t=Da(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,s,n);if(a){a=o.fallback,l=t.mode,r=(s=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===s?(o=Mc(s,c)).subtreeFlags=14680064&s.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?a=Mc(r,a):(a=Oc(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?La(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=Oa,o}return e=(a=e.child).sibling,o=Mc(a,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Da(e,t){return(t=Lc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function za(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=Da(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Va(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ji(e.return,t,n)}function Fa(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function $a(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xa(e,t,r.children,n),2&(r=ts.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Va(e,n,t);else if(19===e.tag)Va(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(ts,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ns(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ns(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fa(t,!0,n,null,i);break;case"together":Fa(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ha(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ua(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wa(e,t){if(!si)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ka(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qa(e,t,n){var r=t.pendingProps;switch(ri(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ka(t),null;case 1:case 17:return Ro(t.type)&&Oo(),Ka(t),null;case 3:return r=t.stateNode,Qi(),Eo(Bo),Eo(jo),os(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(sc(ai),ai=null))),Ka(t),null;case 5:es(t);var o=Yi(Xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ma(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ka(t),null}if(e=Yi(qi.current),pi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[ho]=t,r[go]=s,e=!!(1&t.mode),n){case"dialog":Vr("cancel",r),Vr("close",r);break;case"iframe":case"object":case"embed":Vr("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Vr(Lr[o],r);break;case"source":Vr("error",r);break;case"img":case"image":case"link":Vr("error",r),Vr("load",r);break;case"details":Vr("toggle",r);break;case"input":Y(r,s),Vr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Vr("invalid",r);break;case"textarea":oe(r,s),Vr("invalid",r)}for(var l in be(n,s),o=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==s.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==s.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):a.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Vr("scroll",r)}switch(n){case"input":K(r),J(r,s,!0);break;case"textarea":K(r),se(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=eo)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ho]=t,e[go]=r,Na(e,t),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Vr("cancel",e),Vr("close",e),o=r;break;case"iframe":case"object":case"embed":Vr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Vr(Lr[o],e);o=r;break;case"source":Vr("error",e),o=r;break;case"img":case"image":case"link":Vr("error",e),Vr("load",e),o=r;break;case"details":Vr("toggle",e),o=r;break;case"input":Y(e,r),o=X(e,r),Vr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=P({},r,{value:void 0}),Vr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Vr("invalid",e)}for(s in be(n,o),c=o)if(c.hasOwnProperty(s)){var u=c[s];"style"===s?me(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===s?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(a.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Vr("scroll",e):null!=u&&y(e,s,u,l))}switch(n){case"input":K(e),J(e,r,!1);break;case"textarea":K(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ne(e,!!r.multiple,s,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=eo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ka(t),null;case 6:if(e&&null!=t.stateNode)Ra(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=Yi(Xi.current),Yi(qi.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(s=r.nodeValue!==n)&&null!==(e=oi))switch(e.tag){case 3:Jr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,!!(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return Ka(t),null;case 13:if(Eo(ts),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(si&&null!==ii&&1&t.mode&&!(128&t.flags))hi(),gi(),t.flags|=98560,s=!1;else if(s=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(i(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(i(317));s[ho]=t}else gi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ka(t),s=!1}else null!==ai&&(sc(ai),ai=null),s=!0;if(!s)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ts.current?0===Rl&&(Rl=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ka(t),null);case 4:return Qi(),null===e&&Hr(t.stateNode.containerInfo),Ka(t),null;case 10:return Ii(t.type._context),Ka(t),null;case 19:if(Eo(ts),null===(s=t.memoizedState))return Ka(t),null;if(r=!!(128&t.flags),null===(l=s.rendering))if(r)Wa(s,!1);else{if(0!==Rl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ns(e))){for(t.flags|=128,Wa(s,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(ts,1&ts.current|2),t.child}e=e.sibling}null!==s.tail&&Ze()>$l&&(t.flags|=128,r=!0,Wa(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ns(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wa(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!si)return Ka(t),null}else 2*Ze()-s.renderingStartTime>$l&&1073741824!==n&&(t.flags|=128,r=!0,Wa(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=s.last)?n.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ze(),t.sibling=null,n=ts.current,To(ts,r?1&n|2:1&n),t):(Ka(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Nl)&&(Ka(t),6&t.subtreeFlags&&(t.flags|=8192)):Ka(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ga(e,t){switch(ri(t),t.tag){case 1:return Ro(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qi(),Eo(Bo),Eo(jo),os(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return es(t),null;case 13:if(Eo(ts),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));gi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(ts),null;case 4:return Qi(),null;case 10:return Ii(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Na=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ma=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Yi(qi.current);var i,s=null;switch(n){case"input":o=X(e,o),r=X(e,r),s=[];break;case"select":o=P({},o,{value:void 0}),r=P({},r,{value:void 0}),s=[];break;case"textarea":o=re(e,o),r=re(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=eo)}for(u in be(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(a.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(a.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Vr("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Ra=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xa=!1,Ya=!1,Za="function"==typeof WeakSet?WeakSet:Set,Qa=null;function Ja(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ac(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Ac(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[go],delete t[vo],delete t[bo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=eo));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ya||Ja(n,t);case 6:var r=ul,o=dl;ul=null,fl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?co(e.parentNode,n):1===e.nodeType&&co(e,n),$t(e)):co(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Ya&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,void 0!==s&&(2&i||4&i)&&el(n,t,s),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Ya&&(Ja(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ac(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Ya=(r=Ya)||null!==n.memoizedState,fl(e,t,n),Ya=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach(function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));pl(s,a,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Ac(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Ac(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Ac(e,e.return,t)}}break;case 1:gl(t,e),vl(e),512&r&&null!==n&&Ja(n,n.return);break;case 5:if(gl(t,e),vl(e),512&r&&null!==n&&Ja(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Ac(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var s=e.memoizedProps,a=null!==n?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===s.type&&null!=s.name&&Z(o,s),ye(l,a);var u=ye(l,s);for(a=0;a<c.length;a+=2){var d=c[a],f=c[a+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,u)}switch(l){case"input":Q(o,s);break;case"textarea":ie(o,s);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var h=s.value;null!=h?ne(o,!!s.multiple,h,!1):p!==!!s.multiple&&(null!=s.defaultValue?ne(o,!!s.multiple,s.defaultValue,!0):ne(o,!!s.multiple,s.multiple?[]:"",!1))}o[go]=s}catch(t){Ac(e,e.return,t)}}break;case 6:if(gl(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(t){Ac(e,e.return,t)}}break;case 3:if(gl(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(t){Ac(e,e.return,t)}break;case 4:default:gl(t,e),vl(e);break;case 13:gl(t,e),vl(e),8192&(o=e.child).flags&&(s=null!==o.memoizedState,o.stateNode.isHidden=s,!s||null!==o.alternate&&null!==o.alternate.memoizedState||(Fl=Ze())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ya=(u=Ya)||d,gl(t,e),Ya=u):gl(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Qa=e,d=e.child;null!==d;){for(f=Qa=d;null!==Qa;){switch(h=(p=Qa).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Ja(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){Ac(r,n,e)}}break;case 5:Ja(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Qa=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none":(l=f.stateNode,a=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",a))}catch(t){Ac(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Ac(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),vl(e),4&r&&hl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,al(e),o);break;case 3:case 4:var s=r.stateNode.containerInfo;ll(e,al(e),s);break;default:throw Error(i(161))}}catch(t){Ac(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Qa=e,yl(e,t,n)}function yl(e,t,n){for(var r=!!(1&e.mode);null!==Qa;){var o=Qa,i=o.child;if(22===o.tag&&r){var s=null!==o.memoizedState||Xa;if(!s){var a=o.alternate,l=null!==a&&null!==a.memoizedState||Ya;a=Xa;var c=Ya;if(Xa=s,(Ya=l)&&!c)for(Qa=o;null!==Qa;)l=(s=Qa).child,22===s.tag&&null!==s.memoizedState?wl(o):null!==l?(l.return=s,Qa=l):wl(o);for(;null!==i;)Qa=i,yl(i,t,n),i=i.sibling;Qa=o,Xa=a,Ya=c}kl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Qa=i):kl(e)}}function kl(e){for(;null!==Qa;){var t=Qa;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ya||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ya)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ra(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;null!==s&&Wi(t,s,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wi(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(i(163))}Ya||512&t.flags&&ol(t)}catch(e){Ac(t,t.return,e)}}if(t===e){Qa=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qa=n;break}Qa=t.return}}function xl(e){for(;null!==Qa;){var t=Qa;if(t===e){Qa=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qa=n;break}Qa=t.return}}function wl(e){for(;null!==Qa;){var t=Qa;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Ac(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Ac(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Ac(t,i,e)}break;case 5:var s=t.return;try{ol(t)}catch(e){Ac(t,s,e)}}}catch(e){Ac(t,t.return,e)}if(t===e){Qa=null;break}var a=t.sibling;if(null!==a){a.return=t.return,Qa=a;break}Qa=t.return}}var _l,Al=Math.ceil,Sl=k.ReactCurrentDispatcher,Cl=k.ReactCurrentOwner,El=k.ReactCurrentBatchConfig,Tl=0,Il=null,jl=null,Bl=0,Nl=0,Ml=Co(0),Rl=0,Ol=null,Ll=0,Pl=0,Dl=0,zl=null,Vl=null,Fl=0,$l=1/0,Hl=null,Ul=!1,Wl=null,Kl=null,ql=!1,Gl=null,Xl=0,Yl=0,Zl=null,Ql=-1,Jl=0;function ec(){return 6&Tl?Ze():-1!==Ql?Ql:Ql=Ze()}function tc(e){return 1&e.mode?2&Tl&&0!==Bl?Bl&-Bl:null!==vi.transition?(0===Jl&&(Jl=gt()),Jl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nc(e,t,n,r){if(50<Yl)throw Yl=0,Zl=null,Error(i(185));vt(e,n,r),2&Tl&&e===Il||(e===Il&&(!(2&Tl)&&(Pl|=n),4===Rl&&ac(e,Bl)),rc(e,r),1===n&&0===Tl&&!(1&t.mode)&&($l=Ze()+500,Fo&&Uo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-st(i),a=1<<s,l=o[s];-1===l?0!==(a&n)&&0===(a&r)||(o[s]=pt(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}(e,t);var r=ft(e,e===Il?Bl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fo=!0,Ho(e)}(lc.bind(null,e)):Ho(lc.bind(null,e)),ao(function(){!(6&Tl)&&Uo()}),n=null;else{switch(kt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ic(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Ql=-1,Jl=0,6&Tl)throw Error(i(327));var n=e.callbackNode;if(wc()&&e.callbackNode!==n)return null;var r=ft(e,e===Il?Bl:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var o=Tl;Tl|=2;var s=hc();for(Il===e&&Bl===t||(Hl=null,$l=Ze()+500,fc(e,t));;)try{bc();break}catch(t){pc(e,t)}Ti(),Sl.current=s,Tl=o,null!==jl?t=0:(Il=null,Bl=0,t=Rl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ic(e,o))),1===t)throw n=Ol,fc(e,0),ac(e,r),rc(e,Ze()),n;if(6===t)ac(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=mc(e,r),2===t&&(s=ht(e),0!==s&&(r=s,t=ic(e,s))),1!==t)))throw n=Ol,fc(e,0),ac(e,r),rc(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xc(e,Vl,Hl);break;case 3:if(ac(e,r),(130023424&r)===r&&10<(t=Fl+500-Ze())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oo(xc.bind(null,e,Vl,Hl),t);break}xc(e,Vl,Hl);break;case 4:if(ac(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-st(r);s=1<<a,(a=t[a])>o&&(o=a),r&=~s}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=oo(xc.bind(null,e,Vl,Hl),r);break}xc(e,Vl,Hl);break;default:throw Error(i(329))}}}return rc(e,Ze()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Vl,Vl=n,null!==t&&sc(t)),e}function sc(e){null===Vl?Vl=e:Vl.push.apply(Vl,e)}function ac(e,t){for(t&=~Dl,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&Tl)throw Error(i(327));wc();var t=ft(e,0);if(!(1&t))return rc(e,Ze()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Ol,fc(e,0),ac(e,t),rc(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Vl,Hl),rc(e,Ze()),null}function cc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&($l=Ze()+500,Fo&&Uo())}}function uc(e){null!==Gl&&0===Gl.tag&&!(6&Tl)&&wc();var t=Tl;Tl|=1;var n=El.transition,r=yt;try{if(El.transition=null,yt=1,e)return e()}finally{yt=r,El.transition=n,!(6&(Tl=t))&&Uo()}}function dc(){Nl=Ml.current,Eo(Ml)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,io(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(ri(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:Qi(),Eo(Bo),Eo(jo),os();break;case 5:es(r);break;case 4:Qi();break;case 13:case 19:Eo(ts);break;case 10:Ii(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Il=e,jl=e=Mc(e.current,null),Bl=Nl=t,Rl=0,Ol=null,Dl=Pl=Ll=0,Vl=zl=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var s=i.next;i.next=o,r.next=s}n.pending=r}Mi=null}return e}function pc(e,t){for(;;){var n=jl;try{if(Ti(),is.current=Js,ds){for(var r=ls.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ds=!1}if(as=0,us=cs=ls=null,fs=!1,ps=0,Cl.current=null,null===n||null===n.return){Rl=1,Ol=t,jl=null;break}e:{var s=e,a=n.return,l=n,c=t;if(t=Bl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=va(a);if(null!==h){h.flags&=-257,ba(h,a,l,0,t),1&h.mode&&ma(s,u,t),c=u;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(!(1&t)){ma(s,u,t),gc();break e}c=Error(i(426))}else if(si&&1&l.mode){var v=va(a);if(null!==v){!(65536&v.flags)&&(v.flags|=256),ba(v,a,l,0,t),mi(ua(c,l));break e}}s=c=ua(c,l),4!==Rl&&(Rl=2),null===zl?zl=[s]:zl.push(s),s=a;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,Hi(s,ha(0,c,t));break e;case 1:l=c;var b=s.type,y=s.stateNode;if(!(128&s.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Kl&&Kl.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t,Hi(s,ga(s,l,t));break e}}s=s.return}while(null!==s)}kc(n)}catch(e){t=e,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function hc(){var e=Sl.current;return Sl.current=Js,null===e?Js:e}function gc(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===Il||!(268435455&Ll)&&!(268435455&Pl)||ac(Il,Bl)}function mc(e,t){var n=Tl;Tl|=2;var r=hc();for(Il===e&&Bl===t||(Hl=null,fc(e,t));;)try{vc();break}catch(t){pc(e,t)}if(Ti(),Tl=n,Sl.current=r,null!==jl)throw Error(i(261));return Il=null,Bl=0,Rl}function vc(){for(;null!==jl;)yc(jl)}function bc(){for(;null!==jl&&!Xe();)yc(jl)}function yc(e){var t=_l(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?kc(e):jl=t,Cl.current=null}function kc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ga(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Rl=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=qa(n,t,Nl)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Rl&&(Rl=5)}function xc(e,t,n){var r=yt,o=El.transition;try{El.transition=null,yt=1,function(e,t,n,r){do{wc()}while(null!==Gl);if(6&Tl)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-st(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,s),e===Il&&(jl=Il=null,Bl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||ql||(ql=!0,Ic(tt,function(){return wc(),null})),s=!!(15990&n.flags),!!(15990&n.subtreeFlags)||s){s=El.transition,El.transition=null;var a=yt;yt=1;var l=Tl;Tl|=4,Cl.current=null,function(e,t){if(to=Ut,hr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch(e){n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=a+o),f!==s||0!==r&&3!==f.nodeType||(c=a+r),3===f.nodeType&&(a+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=a),p===s&&++d===r&&(c=a),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(no={focusedElem:e,selectionRange:n},Ut=!1,Qa=t;null!==Qa;)if(e=(t=Qa).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qa=e;else for(;null!==Qa;){t=Qa;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,v=g.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:ra(t.type,m),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(i(163))}}catch(e){Ac(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qa=e;break}Qa=t.return}g=tl,tl=!1}(e,n),ml(n,e),gr(no),Ut=!!to,no=to=null,e.current=n,bl(n,e,o),Ye(),Tl=l,yt=a,El.transition=s}else e.current=n;if(ql&&(ql=!1,Gl=e,Xl=o),s=e.pendingLanes,0===s&&(Kl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,e=Wl,Wl=null,e;!!(1&Xl)&&0!==e.tag&&wc(),s=e.pendingLanes,1&s?e===Zl?Yl++:(Yl=0,Zl=e):Yl=0,Uo()}(e,t,n,r)}finally{El.transition=o,yt=r}return null}function wc(){if(null!==Gl){var e=kt(Xl),t=El.transition,n=yt;try{if(El.transition=null,yt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Xl=0,6&Tl)throw Error(i(331));var o=Tl;for(Tl|=4,Qa=e.current;null!==Qa;){var s=Qa,a=s.child;if(16&Qa.flags){var l=s.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Qa=u;null!==Qa;){var d=Qa;switch(d.tag){case 0:case 11:case 15:nl(8,d,s)}var f=d.child;if(null!==f)f.return=d,Qa=f;else for(;null!==Qa;){var p=(d=Qa).sibling,h=d.return;if(il(d),d===u){Qa=null;break}if(null!==p){p.return=h,Qa=p;break}Qa=h}}}var g=s.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Qa=s}}if(2064&s.subtreeFlags&&null!==a)a.return=s,Qa=a;else e:for(;null!==Qa;){if(2048&(s=Qa).flags)switch(s.tag){case 0:case 11:case 15:nl(9,s,s.return)}var b=s.sibling;if(null!==b){b.return=s.return,Qa=b;break e}Qa=s.return}}var y=e.current;for(Qa=y;null!==Qa;){var k=(a=Qa).child;if(2064&a.subtreeFlags&&null!==k)k.return=a,Qa=k;else e:for(a=y;null!==Qa;){if(2048&(l=Qa).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Ac(l,l.return,e)}if(l===a){Qa=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Qa=x;break e}Qa=l.return}}if(Tl=o,Uo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{yt=n,El.transition=t}}return!1}function _c(e,t,n){e=Fi(e,t=ha(0,t=ua(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Ac(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Fi(t,e=ga(t,e=ua(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function Sc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Il===e&&(Bl&n)===n&&(4===Rl||3===Rl&&(130023424&Bl)===Bl&&500>Ze()-Fl?fc(e,0):Dl|=n),rc(e,t)}function Cc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=Li(e,t))&&(vt(e,t,n),rc(e,n))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function Ic(e,t){return qe(e,t)}function jc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bc(e,t,n,r){return new jc(e,t,n,r)}function Nc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Bc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rc(e,t,n,r,o,s){var a=2;if(r=e,"function"==typeof e)Nc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case _:return Oc(n.children,o,s,t);case A:a=8,o|=8;break;case S:return(e=Bc(12,n,t,2|o)).elementType=S,e.lanes=s,e;case I:return(e=Bc(13,n,t,o)).elementType=I,e.lanes=s,e;case j:return(e=Bc(19,n,t,o)).elementType=j,e.lanes=s,e;case M:return Lc(n,o,s,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:a=10;break e;case E:a=9;break e;case T:a=11;break e;case B:a=14;break e;case N:a=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Bc(a,n,t,o)).elementType=e,t.type=r,t.lanes=s,t}function Oc(e,t,n,r){return(e=Bc(7,e,r,t)).lanes=n,e}function Lc(e,t,n,r){return(e=Bc(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function Pc(e,t,n){return(e=Bc(6,e,null,t)).lanes=n,e}function Dc(e,t,n){return(t=Bc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vc(e,t,n,r,o,i,s,a,l){return e=new zc(e,t,n,a,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Bc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Di(i),e}function Fc(e){if(!e)return Io;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Po(e,n,t)}return t}function $c(e,t,n,r,o,i,s,a,l){return(e=Vc(n,r,!0,e,0,i,0,a,l)).context=Fc(null),n=e.current,(i=Vi(r=ec(),o=tc(n))).callback=null!=t?t:null,Fi(n,i,o),e.current.lanes=o,vt(e,o,r),rc(e,r),e}function Hc(e,t,n,r){var o=t.current,i=ec(),s=tc(o);return n=Fc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Vi(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fi(o,t,s))&&(nc(e,o,s,i),$i(e,o,s)),s}function Uc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Bo.current)ka=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return ka=!1,function(e,t,n){switch(t.tag){case 3:ja(t),gi();break;case 5:Ji(t);break;case 1:Ro(t.type)&&Do(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(Ai,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(ts,1&ts.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Pa(e,t,n):(To(ts,1&ts.current),null!==(e=Ua(e,t,n))?e.sibling:null);To(ts,1&ts.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return $a(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(ts,ts.current),r)break;return null;case 22:case 23:return t.lanes=0,Sa(e,t,n)}return Ua(e,t,n)}(e,t,n);ka=!!(131072&e.flags)}else ka=!1,si&&1048576&t.flags&&ti(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ha(e,t),e=t.pendingProps;var o=Mo(t,jo.current);Bi(t,n),o=vs(null,t,r,e,o,n);var s=bs();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(s=!0,Do(t)):s=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Di(t),o.updater=ia,t.stateNode=o,o._reactInternals=t,ca(t,r,e,n),t=Ia(null,t,r,!0,s,n)):(t.tag=0,si&&s&&ni(t),xa(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ha(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Nc(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===B)return 14}return 2}(r),e=ra(r,e),o){case 0:t=Ea(null,t,r,e,n);break e;case 1:t=Ta(null,t,r,e,n);break e;case 11:t=wa(null,t,r,e,n);break e;case 14:t=_a(null,t,r,ra(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ea(e,t,r,o=t.elementType===r?o:ra(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ta(e,t,r,o=t.elementType===r?o:ra(r,o),n);case 3:e:{if(ja(t),null===e)throw Error(i(387));r=t.pendingProps,o=(s=t.memoizedState).element,zi(e,t),Ui(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated){if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=Ba(e,t,r,n,o=ua(Error(i(423)),t));break e}if(r!==o){t=Ba(e,t,r,n,o=ua(Error(i(424)),t));break e}for(ii=uo(t.stateNode.containerInfo.firstChild),oi=t,si=!0,ai=null,n=_i(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(gi(),r===o){t=Ua(e,t,n);break e}xa(e,t,r,n)}t=t.child}return t;case 5:return Ji(t),null===e&&di(t),r=t.type,o=t.pendingProps,s=null!==e?e.memoizedProps:null,a=o.children,ro(r,o)?a=null:null!==s&&ro(r,s)&&(t.flags|=32),Ca(e,t),xa(e,t,a,n),t.child;case 6:return null===e&&di(t),null;case 13:return Pa(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):xa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,wa(e,t,r,o=t.elementType===r?o:ra(r,o),n);case 7:return xa(e,t,t.pendingProps,n),t.child;case 8:case 12:return xa(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,a=o.value,To(Ai,r._currentValue),r._currentValue=a,null!==s)if(lr(s.value,a)){if(s.children===o.children&&!Bo.current){t=Ua(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){a=s.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===s.tag){(c=Vi(-1,n&-n)).tag=2;var u=s.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),ji(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===s.tag)a=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(a=s.return))throw Error(i(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ji(a,n,t),a=s.sibling}else a=s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}xa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Bi(t,n),r=r(o=Ni(o)),t.flags|=1,xa(e,t,r,n),t.child;case 14:return o=ra(r=t.type,t.pendingProps),_a(e,t,r,o=ra(r.type,o),n);case 15:return Aa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ra(r,o),Ha(e,t),t.tag=1,Ro(r)?(e=!0,Do(t)):e=!1,Bi(t,n),aa(t,r,o),ca(t,r,o,n),Ia(null,t,r,!0,e,n);case 19:return $a(e,t,n);case 22:return Sa(e,t,n)}throw Error(i(156,t.tag))};var qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qc(){}function Jc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if("function"==typeof o){var a=o;o=function(){var e=Uc(s);a.call(e)}}Hc(t,s,e,o)}else s=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Uc(s);i.call(e)}}var s=$c(t,r,e,0,null,!1,0,"",Qc);return e._reactRootContainer=s,e[mo]=s.current,Hr(8===e.nodeType?e.parentNode:e),uc(),s}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var a=r;r=function(){var e=Uc(l);a.call(e)}}var l=Vc(e,0,!1,null,0,!1,0,"",Qc);return e._reactRootContainer=l,e[mo]=l.current,Hr(8===e.nodeType?e.parentNode:e),uc(function(){Hc(t,l,n,r)}),l}(n,t,e,o,r);return Uc(s)}Xc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hc(e,t,null,null)},Xc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc(function(){Hc(null,e,null,null)}),t[mo]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&Pt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),rc(t,Ze()),!(6&Tl)&&($l=Ze()+500,Uo()))}break;case 13:uc(function(){var t=Li(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}}),Kc(e,1)}},wt=function(e){if(13===e.tag){var t=Li(e,134217728);if(null!==t)nc(t,e,134217728,ec());Kc(e,134217728)}},_t=function(e){if(13===e.tag){var t=tc(e),n=Li(e,t);if(null!==n)nc(n,e,t,ec());Kc(e,t)}},At=function(){return yt},St=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},we=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_o(r);if(!o)throw Error(i(90));q(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,Ie=uc;var eu={usingClientEntryPoint:!1,Events:[xo,wo,_o,Ce,Ee,cc]},tu={findFiberByHostInstance:ko,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(i(299));var n=!1,r="",o=qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(i(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,s="",a=qc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(s=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=$c(t,null,e,1,null!=n?n:null,o,0,s,a),e[mo]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(i(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc(function(){Jc(null,null,e,!1,function(){e._reactRootContainer=null,e[mo]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},18950(e,t,n){"use strict";var r=n(45149);t.H=r.createRoot,r.hydrateRoot},45149(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(85227)},30633(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case a:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function w(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||x(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===a||e===s||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===k||e.$$typeof===v)},t.typeOf=x},1444(e,t,n){"use strict";e.exports=n(30633)},75395(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case s:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case g:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===s||e===f||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)}},95415(e,t,n){"use strict";e.exports=n(75395)},43912(e,t,n){"use strict";var r=n(2376),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},61291(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var k=y.prototype=new b;k.constructor=y,g(k,v.prototype),k.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var o,i={},s=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)w.call(t,o)&&!A.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:s,ref:a,props:i,_owner:_.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function I(e,t,o,i,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return s=s(l=e),e=""===i?"."+T(l,0):i,x(s)?(o="",null!=e&&(o=e.replace(E,"$&/")+"/"),I(s,t,o,"",function(e){return e})):null!=s&&(C(s)&&(s=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,o+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(E,"$&/")+"/")+e)),t.push(s)),1;if(l=0,i=""===i?".":i+":",x(e))for(var c=0;c<e.length;c++){var u=i+T(a=e[c],c);l+=I(a,t,o,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(a=e.next()).done;)l+=I(a=a.value,t,o,u=i+T(a,c++),s);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],o=0;return I(e,r,"","",function(e){return t.call(n,e,o++)}),r}function B(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},M={transition:null},R={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:M,ReactCurrentOwner:_};function O(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:j,forEach:function(e,t,n){j(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=s,t.PureComponent=y,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.act=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,s=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,a=_.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)w.call(t,c)&&!A.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:s,props:o,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:B}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},t.unstable_act=O,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},2376(e,t,n){"use strict";e.exports=n(61291)},93236(e,t,n){"use strict";e.exports=n(43912)},44775(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",й:"и",Й:"И",ё:"е",Ё:"Е"},n=Object.keys(t).join("|"),r=new RegExp(n,"g"),o=new RegExp(n,"");function i(e){return t[e]}var s=function(e){return e.replace(r,i)};e.exports=s,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=s},12655(e,t){var n,r,o;r=[],void 0===(o="function"==typeof(n=function(){"use strict";var e,t,n,r,o="undefined"!=typeof window||null!=typeof window?window:this||{},i=o.cancelRequestAnimationFrame&&o.requestAnimationFrame||setTimeout,s=o.cancelRequestAnimationFrame||clearTimeout,a=[],l=0,c=!1,u=7,d=35,f=125,p=0,h=0,g=0,m={get didTimeout(){return!1},timeRemaining:function(){var e=u-(Date.now()-h);return e<0?0:e}},v=b(function(){u=22,f=66,d=0});function b(e){var t,n,r=99,o=function(){var i=Date.now()-n;i<r?t=setTimeout(o,r-i):(t=null,e())};return function(){n=Date.now(),t||(t=setTimeout(o,r))}}function y(){c&&(r&&s(r),n&&clearTimeout(n),c=!1)}function k(){125!=f&&(u=7,f=125,d=35,c&&(y(),_())),v()}function x(){r=null,n=setTimeout(A,0)}function w(){n=null,i(x)}function _(){c||(t=f-(Date.now()-h),e=Date.now(),c=!0,d&&t<d&&(t=d),t>9?n=setTimeout(w,t):(t=0,w()))}function A(){var r,o,i,s=u>9?9:1;if(h=Date.now(),c=!1,n=null,l>2||h-t-50<e)for(o=0,i=a.length;o<i&&m.timeRemaining()>s;o++)r=a.shift(),g++,r&&r(m);a.length?_():l=0}function S(e){return p++,a.push(e),_(),p}function C(e){var t=e-1-g;a[t]&&(a[t]=null)}if(o.requestIdleCallback&&o.cancelIdleCallback)try{o.requestIdleCallback(function(){},{timeout:0})}catch(e){!function(e){var t,n;if(o.requestIdleCallback=function(t,n){return n&&"number"==typeof n.timeout?e(t,n.timeout):e(t)},o.IdleCallbackDeadline&&(t=IdleCallbackDeadline.prototype)){if(!(n=Object.getOwnPropertyDescriptor(t,"timeRemaining"))||!n.configurable||!n.get)return;Object.defineProperty(t,"timeRemaining",{value:function(){return n.get.call(this)},enumerable:!0,configurable:!0})}}(o.requestIdleCallback)}else o.requestIdleCallback=S,o.cancelIdleCallback=C,o.document&&document.addEventListener&&(o.addEventListener("scroll",k,!0),o.addEventListener("resize",k),document.addEventListener("focus",k,!0),document.addEventListener("mouseover",k,!0),["click","keypress","touchstart","mousedown"].forEach(function(e){document.addEventListener(e,k,{capture:!0,passive:!0})}),o.MutationObserver&&new MutationObserver(k).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}));return{request:S,cancel:C}})?n.apply(t,r):n)||(e.exports=o)},85684(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=s(n(55027)),o=n(46286),i=s(n(96210));function s(e){return e&&e.__esModule?e:{default:e}}var a=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},l=new Map,c=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var s=Symbol("fork"),a=(0,i.default)();l.set(s,a),n(e.iterator.apply(null,e.args),function(e){return a.dispatch(e)},function(e){return a.dispatch((0,o.error)(e))});var c=a.subscribe(function(){c(),l.delete(s)});return t(s),!0},u=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var s,a=l.get(e.task);return a?s=a.subscribe(function(e){s(),t(e)}):i("join error : task not found"),!0},d=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var s,a=!1,l=function(e,n,r){a||(a=!0,e[n]=r,t(e))},c=function(e){a||i(e)};return r.default.array(e.competitors)?(s=e.competitors.map(function(){return!1}),e.competitors.forEach(function(e,t){n(e,function(e){return l(s,t,e)},c)})):function(){var t=Object.keys(e.competitors).reduce(function(e,t){return e[t]=!1,e},{});Object.keys(e.competitors).forEach(function(r){n(e.competitors[r],function(e){return l(t,r,e)},c)})}(),!0};t.default=[a,c,u,d,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe(function(e){n&&n(),t(e)});return!0}]},37151(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(55027),i=(r=o)&&r.__esModule?r:{default:r};var s=t.any=function(e,t,n,r){return r(e),!0},a=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},l=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var s={},a=Object.keys(e.value),l=0,c=!1;return a.map(function(t){n(e.value[t],function(e){return function(e,t){c||(s[e]=t,++l===a.length&&r(s))}(t,e)},function(e){return function(e,t){c||(c=!0,o(t))}(0,e)})}),!0},c=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var s=[],a=0,l=!1;return e.value.map(function(t,i){n(t,function(t){return function(t,n){l||(s[t]=n,++a===e.value.length&&r(s))}(i,t)},function(e){return function(e,t){l||(l=!0,o(t))}(0,e)})}),!0},u=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[a,u,c,l,s]},40022(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(55027),i=(r=o)&&r.__esModule?r:{default:r};var s=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(e){o(e)}return!0},a=t.cps=function(e,t,n,r,o){var s;return!!i.default.cps(e)&&((s=e.func).call.apply(s,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[s,a]},90269(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(37151)),o=i(n(55027));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=[].concat(s(arguments.length<=0||void 0===arguments[0]?[]:arguments[0]),s(r.default));return function t(n){var r,i,s,a=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],l=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],c=o.default.iterator(n)?n:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})();r=c,i=function(e){return function(t){try{var n=e?r.throw(t):r.next(t),o=n.value;if(n.done)return a(o);s(o)}catch(e){return l(e)}}},s=function n(r){e.some(function(e){return e(r,n,t,i(!1),i(!0))})},i(!1)()}}},84093(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(46286);Object.keys(r).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=a(n(90269)),i=a(n(85684)),s=a(n(40022));function a(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=s.default},96210(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},dispatch:function(t){e.slice().forEach(function(e){return e(t)})}}}},46286(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(65287),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise(function(t){setTimeout(function(){return t(!0)},e)})},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e(function(e){return t.forEach(function(t){return t(e)})}),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},55027(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(65287),s=(r=i)&&r.__esModule?r:{default:r};var a={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return a.obj(e)&&e.type===s.default.all},error:function(e){return a.obj(e)&&e.type===s.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&a.func(e.then)},iterator:function(e){return e&&a.func(e.next)&&a.func(e.throw)},fork:function(e){return a.obj(e)&&e.type===s.default.fork},join:function(e){return a.obj(e)&&e.type===s.default.join},race:function(e){return a.obj(e)&&e.type===s.default.race},call:function(e){return a.obj(e)&&e.type===s.default.call},cps:function(e){return a.obj(e)&&e.type===s.default.cps},subscribe:function(e){return a.obj(e)&&e.type===s.default.subscribe},channel:function(e){return a.obj(e)&&a.func(e.subscribe)}};t.default=a},65287(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=n},98315(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,s=o>>>1;r<s;){var a=2*(r+1)-1,l=e[a],c=a+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[a]=n,r=a);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function x(e){if(m=!1,k(e),!g)if(null!==r(c))g=!0,M(w);else{var t=r(u);null!==t&&R(x,t.startTime-e)}}function w(e,n){g=!1,m&&(m=!1,b(C),C=-1),h=!0;var i=p;try{for(k(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!I());){var s=f.callback;if("function"==typeof s){f.callback=null,p=f.priorityLevel;var a=s(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof a?f.callback=a:f===r(c)&&o(c),k(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&R(x,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,A=!1,S=null,C=-1,E=5,T=-1;function I(){return!(t.unstable_now()-T<E)}function j(){if(null!==S){var e=t.unstable_now();T=e;var n=!0;try{n=S(!0,e)}finally{n?_():(A=!1,S=null)}}else A=!1}if("function"==typeof y)_=function(){y(j)};else if("undefined"!=typeof MessageChannel){var B=new MessageChannel,N=B.port2;B.port1.onmessage=j,_=function(){N.postMessage(null)}}else _=function(){v(j,0)};function M(e){S=e,A||(A=!0,_())}function R(e,n){C=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,M(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var s=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?s+i:s:i=s,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:a=i+a,sortIndex:-1},i>s?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(m?(b(C),C=-1):m=!0,R(x,i-s))):(e.sortIndex=a,n(c,e),g||h||(g=!0,M(w))),e},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},40226(e,t,n){"use strict";e.exports=n(98315)},20745(e,t,n){"use strict";n.d(t,{_F:()=>f});var r=/^#[xX]([A-Fa-f0-9]+)$/,o=/^#([0-9]+)$/,i=/^([A-Za-z0-9]+)$/,s=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(r);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(o))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(i))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),a=/[A-Za-z]/,l=/\r\n?/g;function c(e){return s.test(e)}function u(e){return a.test(e)}var d=function(){function e(e,t,n){void 0===n&&(n="precompile"),this.delegate=e,this.entityParser=t,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||u(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){c(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();c(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();c(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!c(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),n="PUBLIC"===t.toUpperCase(),r="SYSTEM"===t.toUpperCase();(n||r)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),n?this.transitionTo("afterDoctypePublicKeyword"):r&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();c(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();c(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();c(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();c(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();c(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();c(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();c(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();c(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();c(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();c(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();c(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();c(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||u(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(l,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),f=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new d(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current("Doctype");void 0===t.publicIdentifier?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current("Doctype");void 0===t.systemIdentifier?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}()},74041(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(47928),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},o)this.options[n]=void 0!==t&&n in t?t[n]:o[n]}i.prototype.getPluralForm=function(e,t){var n,o,i,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=(0,r.A)(o)),s=this.pluralForms[e]=i),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,o){var i,s,a;return i=void 0===o?0:this.getPluralForm(e,o),s=n,t&&(s=t+this.options.contextDelimiter+n),(a=this.data[e][s])&&a[i]?a[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)}},48349(e,t,n){"use strict";n.d(t,{MA:()=>o});var r=n(2376);function o(e,t){var n=(0,r.useState)(function(){return{inputs:t,result:e()}})[0],o=(0,r.useRef)(!0),i=(0,r.useRef)(n),s=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,r.useEffect)(function(){o.current=!1,i.current=s},[s]),s.result}},61937(e,t,n){"use strict";var r=n(2376);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,s=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return a(function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})},[e,n,t]),s(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},49838(e,t,n){"use strict";var r=n(2376),o=n(22484);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,a=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(s=e,t):(s=e,a=n)}var s,a,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]);var p=s(e,d[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},22484(e,t,n){"use strict";e.exports=n(61937)},32566(e,t,n){"use strict";e.exports=n(49838)},13468(e,t,n){"use strict";n.d(t,{r:()=>i});var r=n(38992),o=n(1252);function i(e={}){(0,r.UE)(e,e.store);const t=e.store?.getState(),n={value:(0,o.Jh)(e.value,t?.value,e.defaultValue,!1)},i=(0,r.y$)(n,e.store);return{...i,setValue:e=>i.setState("value",e)}}},29626(e,t,n){"use strict";n.d(t,{I:()=>a});var r=n(38992),o=n(1252);function i(e,t){if(e.length<64)return void(t.ids&&(t.items=void 0,t.ids=void 0));if(t.items===e)return t.ids;const n=new Set;for(const t of e)n.add(t.id);return t.items=e,t.ids=n,n}function s(e,t,n){if(e.length<64)t.ids&&(t.items=void 0,t.ids=void 0);else{if(!n){n=new Set;for(const t of e)n.add(t.id)}t.items=e,t.ids=n}}function a(e={}){(0,r.UE)(e,e.store);const t=e.store?.getState(),n=(0,o.Jh)(e.items,t?.items,e.defaultItems,[]),a=(l=e.store,l?.__unstablePrivateStore);var l;const c=a?.__unstableCollectionLookup??{controlledItems:new Map(n.map(e=>[e.id,e])),registeredItems:new Map,controlledItemsSource:n,propagatedItems:n},{controlledItems:u,registeredItems:d}=c,f={items:n,renderedItems:(0,o.Jh)(t?.renderedItems,[])},p=(0,r.y$)(f,e.store),h=Object.assign((0,r.y$)({items:n,renderedItems:f.renderedItems},a),{__unstableCollectionLookup:c}),g=e=>{const t=(0,o.gH)(e,e=>e.element);h.setState("renderedItems",t),p.setState("renderedItems",t)},m=e=>{if(e!==c.controlledItemsSource){c.controlledItemsSource=e,u.clear();for(const t of e)u.set(t.id,t)}};(0,r.mj)(p,()=>(0,r.Ts)(h)),a||((0,r.B1)(p,["items"],({items:e})=>{e!==c.propagatedItems&&(c.propagatedItems=e,m(e))}),(0,r.mj)(h,()=>(0,r.vA)(h,["items"],({items:e})=>{c.propagatedItems=e,p.setState("items",e)}))),(0,r.mj)(h,()=>(0,r.vA)(h,["renderedItems"],e=>{if(e.renderedItems!==p.getState().renderedItems&&g(e.renderedItems),"function"!=typeof IntersectionObserver)return;let t=!0,n=0;const r=function(e){const t=e.find(e=>!!e.element),n=[...e].reverse().find(e=>!!e.element)?.element;let r=t?.element?.parentElement;if(!n)return(0,o.YE)(r).body;for(;r;){if(r.contains(n))return r;r=r.parentElement}return(0,o.YE)(r).body}(e.renderedItems),i=new IntersectionObserver(()=>{t?t=!1:(cancelAnimationFrame(n),n=requestAnimationFrame(()=>g(e.renderedItems)))},{root:r});for(const t of e.renderedItems)t.element&&i.observe(t.element);return()=>{cancelAnimationFrame(n),i.disconnect()}}));const v=(e,t,n)=>{const r=n?.registeredItems,o=n?.controlledItems;return n=>{const a=r?.get(n.id),l=!!a||!!o?.has(n.id);let c;h.setState(e,e=>{const o=t.ids||e.length>=64&&!l?i(e,t):void 0,a=o&&!o.has(n.id)?-1:e.findIndex(({id:e})=>e===n.id),u=e.slice();if(-1!==a){c=e[a];const t={...c,...n};u[a]=t,r?.set(n.id,t)}else u.push(n),r?.set(n.id,n),o?.add(n.id);return(t.ids||-1===a&&u.length>=64)&&s(u,t,o),u});return()=>{r&&(a?r.set(n.id,a):r.delete(n.id)),h.setState(e,e=>{const r=t.ids?i(e,t):void 0;if(!c){const o=e.filter(({id:e})=>e!==n.id);return r?.delete(n.id),t.ids&&s(o,t,r),o}const o=e.findIndex(({id:e})=>e===n.id);if(-1===o)return e;const a=e.slice();return a[o]=c,t.ids&&s(a,t,r),a})}}},b=v("items",{},c),y=v("renderedItems",{});return{...p,setState:(e,t)=>{"items"===e?p.setState("items",e=>{const n=(0,o.Qh)(t,e);return n===e?e:(c.propagatedItems=n,m(n),n)}):p.setState(e,t)},registerItem:b,renderItem:e=>(0,o.cy)(b(e),y(e)),item:e=>e?d.size?d.get(e)??u.get(e)??null:u.get(e)??null:null,__unstablePrivateStore:h}}},35756(e,t,n){"use strict";n.d(t,{_d:()=>u,es:()=>d,oi:()=>a,zf:()=>h});var r=n(29626),o=n(38992),i=n(1252);const s={id:null};function a(e,t){return e.find(e=>t?!e.disabled&&e.id!==t:!e.disabled)}function l(e,t){return e.filter(e=>e.rowId===t)}function c({items:e,fromIndex:t,step:n,rowId:r,excludeId:o}){for(let i=t;i>=0&&i<e.length;i+=n){const t=e[i];if(!t)continue;if(t.rowId!==r)continue;if(t.disabled)continue;const n=t.id;if(null==o||n!==o)return n}}function u(e,t,n=!1){const r=e.findIndex(e=>e.id===t);return[...e.slice(r+1),...n?[s]:[],...e.slice(0,r)]}function d(e){return e.length>=48?function(e){const t=e[0];if(!t)return[];let n=1;for(;n<e.length&&e[n]?.rowId===t.rowId;)n+=1;const r=e.slice(0,n);if(n===e.length)return[r];const o=[r];let i;for(;n<e.length;n+=1){const t=e[n];if(!t)continue;const r=i?i.get(t.rowId):o.find(e=>e[0]?.rowId===t.rowId);if(r){r.push(t);continue}const s=[t];o.push(s),i?i.set(t.rowId,s):4===o.length&&(i=new Map(o.map(e=>[e[0]?.rowId,e])))}return o}(e):function(e){const t=[];let n,r;for(const o of e){const e=o.rowId;if(n&&r===e){n.push(o);continue}const i=t.find(t=>t[0]?.rowId===e);i?(i.push(o),n=i):(n=[o],t.push(n)),r=e}return t}(e)}function f(e){let t=0;for(const{length:n}of e)n>t&&(t=n);return t}function p(e){return{id:"__EMPTY_ITEM__",disabled:!0,rowId:e}}function h(e={}){const t=e.store?.getState(),n=(0,r.I)(e),s=(0,i.Jh)(e.activeId,t?.activeId,e.defaultActiveId),h=(0,i.Jh)(t?.compositeElement,t?.baseElement,null),g=(0,i.Jh)(e.compositeElementInFocusOrder,e.includesBaseElement,t?.compositeElementInFocusOrder,t?.includesBaseElement,null===s),m={...n.getState(),id:(0,i.Jh)(e.id,t?.id)??`id-${Math.random().toString(36).slice(2,8)}`,activeId:s,compositeElement:h,baseElement:h,compositeElementInFocusOrder:g,includesBaseElement:g,moves:(0,i.Jh)(t?.moves,0),orientation:(0,i.Jh)(e.orientation,t?.orientation,"both"),rtl:(0,i.Jh)(e.rtl,t?.rtl,!1),virtualFocus:(0,i.Jh)(e.virtualFocus,t?.virtualFocus,!1),focusLoop:(0,i.Jh)(e.focusLoop,t?.focusLoop,!1),focusWrap:(0,i.Jh)(e.focusWrap,t?.focusWrap,!1),focusShift:(0,i.Jh)(e.focusShift,t?.focusShift,!1)},v=(0,o.y$)(m,n,e.store);(0,o.mj)(v,()=>(0,i.cy)((0,o.OH)(v,["compositeElement"],e=>{v.setState("baseElement",e.compositeElement)}),(0,o.OH)(v,["baseElement"],e=>{v.setState("compositeElement",e.baseElement)}),(0,o.OH)(v,["compositeElementInFocusOrder"],e=>{v.setState("includesBaseElement",e.compositeElementInFocusOrder)}),(0,o.OH)(v,["includesBaseElement"],e=>{v.setState("compositeElementInFocusOrder",e.includesBaseElement)}))),(0,o.mj)(v,()=>(0,o.OH)(v,["renderedItems","activeId"],e=>{v.setState("activeId",t=>void 0!==t?t:a(e.renderedItems)?.id)}));const b=(e="next",t={})=>{const r=v.getState(),o=(0,i.Jh)(t.compositeElementInFocusOrder,t.includesBaseElement,r.compositeElementInFocusOrder),{skip:s=0,activeId:h=r.activeId,focusShift:g=r.focusShift,focusLoop:m=r.focusLoop,focusWrap:b=r.focusWrap,renderedItems:y=r.renderedItems,rtl:k=r.rtl}=t,x="up"===e||"down"===e,w="next"===e||"down"===e,_=w?k&&!x:!k||x,A=g&&!s;if(!(s||b||o||null==h||x&&(A||y.some(e=>null!=e.rowId)))){let e=-1;if(y===r.renderedItems){const t=y[0];if(t&&n.item(t.id)===t){const t=n.item(h);t?.id===h&&(e=y.indexOf(t))}}-1===e&&(e=y.findIndex(e=>e.id===h));const t=y[e];if(t){const n=_?-1:1,r=c({items:y,fromIndex:e+n,step:n,rowId:t.rowId,excludeId:h});if(void 0!==r)return r;if(!m||(x?"horizontal"===m:"vertical"===m))return;return c({items:y,fromIndex:1===n?0:y.length-1,step:n,rowId:t.rowId,excludeId:h})}}let S=x?(0,i.M9)(function(e,t,n){const r=f(e);for(const o of e)for(let e=0;e<r;e+=1){const r=o[e];if(!r||n&&r.disabled){const r=0===e&&n?a(o):o[e-1];o[e]=r&&t!==r.id&&n?r:p(r?.rowId)}}return e}(d(y),h,A)):y;if(S=_?(0,i.q7)(S):S,S=x?function(e){const t=d(e),n=f(t),r=[];for(let e=0;e<n;e+=1)for(const n of t){const t=n[e];t&&r.push({...t,rowId:t.rowId?`${e}`:void 0})}return r}(S):S,null==h)return a(S)?.id;const C=S.find(e=>e.id===h);if(!C)return a(S)?.id;const E=S.some(e=>e.rowId),T=S.indexOf(C),I=S.slice(T+1),j=l(I,C.rowId);if(s){const e=function(e,t){return e.filter(e=>t?!e.disabled&&e.id!==t:!e.disabled)}(j,h);return(e.slice(s)[0]||e[e.length-1])?.id}const B=m&&(x?"horizontal"!==m:"vertical"!==m),N=E&&b&&(x?"horizontal"!==b:"vertical"!==b),M=w?(!E||x)&&B&&o:!!x&&o;if(B)return a(u(N&&!M?S:l(S,C.rowId),h,M),h)?.id;if(N){const e=a(M?j:I,h);return M?e?.id||null:e?.id}const R=a(j,h);return!R&&M?null:R?.id},y=(e,t)=>b(e,"number"==typeof t?{skip:t}:t);return{...n,...v,setCompositeElement:e=>v.setState("compositeElement",e),setBaseElement:e=>v.setState("compositeElement",e),setActiveId:e=>v.setState("activeId",e),move:e=>{void 0!==e&&(v.setState("activeId",e),v.setState("moves",e=>e+1))},first:()=>a(v.getState().renderedItems)?.id,last:()=>function(e){for(let t=e.length-1;t>=0;t-=1){const n=e[t];if(n&&!n.disabled)return n}}(v.getState().renderedItems)?.id,next:e=>y("next",e),previous:e=>y("previous",e),down:e=>y("down",e),up:e=>y("up",e)}}},46118(e,t,n){"use strict";n.d(t,{Y:()=>o});var r=n(85388);function o(e={}){return(0,r.h)(e)}},85388(e,t,n){"use strict";n.d(t,{h:()=>i});var r=n(38992),o=n(1252);function i(e={}){const t=e.store||e.disclosure?(0,r.od)(e.store,(0,r.cJ)(e.disclosure,["contentElement","disclosureElement"])):void 0;(0,r.UE)(e,t);const n=t?.getState(),i=(0,o.Jh)(e.open,n?.open,e.defaultOpen,!1),s=(0,o.Jh)(e.animated,n?.animated,!1),a={open:i,animated:s,animating:!!s&&i,mounted:i,contentElement:(0,o.Jh)(n?.contentElement,null),disclosureElement:(0,o.Jh)(n?.disclosureElement,null)},l=t?(0,r.y$)(a,t):(0,r.y$)(a);return(0,r.mj)(l,()=>(0,r.OH)(l,["animated","animating"],e=>{e.animated||l.setState("animating",!1)})),(0,r.mj)(l,()=>(0,r.B1)(l,["open"],()=>{l.getState().animated&&l.setState("animating",!0)})),(0,r.mj)(l,()=>(0,r.OH)(l,["open","animating"],e=>{l.setState("mounted",e.open||e.animating)})),{...l,disclosure:e.disclosure,setOpen:e=>l.setState("open",e),show:()=>l.setState("open",!0),hide:()=>l.setState("open",!1),toggle:()=>l.setState("open",e=>!e),stopAnimation:()=>l.setState("animating",!1),setContentElement:e=>l.setState("contentElement",e),setDisclosureElement:e=>l.setState("disclosureElement",e)}}},47836(e,t,n){"use strict";n.d(t,{y:()=>s});var r=n(76308),o=n(38992),i=n(1252);function s(e={}){const t=e.store?.getState(),n=(0,r.N)({...e,placement:(0,i.Jh)(e.placement,t?.placement,"bottom")}),s=(0,i.Jh)(e.timeout,t?.timeout,500),a={...n.getState(),timeout:s,showTimeout:(0,i.Jh)(e.showTimeout,t?.showTimeout),hideTimeout:(0,i.Jh)(e.hideTimeout,t?.hideTimeout),autoFocusOnShow:(0,i.Jh)(t?.autoFocusOnShow,!1)},l=(0,o.y$)(a,n,e.store);return{...n,...l,setAutoFocusOnShow:e=>l.setState("autoFocusOnShow",e)}}},35236(e,t,n){"use strict";n.d(t,{X:()=>a});var r=n(35756),o=n(47836),i=n(38992),s=n(1252);function a({combobox:e,parent:t,menubar:n,...a}={}){const l=!!n&&!t,c=(0,i.od)(a.store,(0,i.Up)(t,["values"]),(0,i.cJ)(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));(0,i.UE)(a,c);const u=c.getState(),d=(0,r.zf)({...a,store:c,orientation:(0,s.Jh)(a.orientation,u.orientation,"vertical")}),f=(0,o.y)({...a,store:c,placement:(0,s.Jh)(a.placement,u.placement,"bottom-start"),timeout:(0,s.Jh)(a.timeout,u.timeout,l?0:150),hideTimeout:(0,s.Jh)(a.hideTimeout,u.hideTimeout,0)}),p={...d.getState(),...f.getState(),initialFocus:(0,s.Jh)(u.initialFocus,"container"),values:(0,s.Jh)(a.values,u.values,a.defaultValues,{})},h=(0,i.y$)(p,d,f,c);return(0,i.mj)(h,()=>(0,i.OH)(h,["mounted"],e=>{e.mounted||h.setState("activeId",null)})),(0,i.mj)(h,()=>(0,i.OH)(t,["orientation"],e=>{h.setState("placement","vertical"===e.orientation?"right-start":"bottom-start")})),{...d,...f,...h,combobox:e,parent:t,menubar:n,hideAll:()=>{f.hide(),t?.hideAll()},setInitialFocus:e=>h.setState("initialFocus",e),setValues:e=>h.setState("values",e),setValue:(e,t)=>{"__proto__"!==e&&"constructor"!==e&&(Array.isArray(e)||h.setState("values",n=>{const r=n[e],o=(0,s.Qh)(t,r);return o===r?n:{...n,[e]:void 0!==o&&o}}))}}}},76308(e,t,n){"use strict";n.d(t,{N:()=>s});var r=n(46118),o=n(38992),i=n(1252);function s({popover:e,...t}={}){const n=(0,o.od)(t.store,(0,o.cJ)(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","unstable_placing"]));(0,o.UE)(t,n);const s=n?.getState(),a=(0,r.Y)({...t,store:n}),l=(0,i.Jh)(t.placement,s?.placement,"bottom"),c={...a.getState(),placement:l,currentPlacement:l,anchorElement:(0,i.Jh)(s?.anchorElement,null),popoverElement:(0,i.Jh)(s?.popoverElement,null),arrowElement:(0,i.Jh)(s?.arrowElement,null),rendered:Symbol("rendered"),unstable_placing:!1},u=(0,o.y$)(c,a,n);let d=c.anchorElement===c.disclosureElement?c.anchorElement:null;return(0,o.mj)(u,()=>(0,o.OH)(u,["anchorElement","disclosureElement"],e=>{e.anchorElement&&e.anchorElement!==d?d=null:(d=e.disclosureElement,u.setState("anchorElement",d))})),{...a,...u,setAnchorElement:e=>u.setState("anchorElement",e),setPopoverElement:e=>u.setState("popoverElement",e),setArrowElement:e=>u.setState("arrowElement",e),render:()=>u.setState("rendered",Symbol("rendered"))}}},76644(e,t,n){"use strict";n.d(t,{z:()=>s});var r=n(35756),o=n(38992),i=n(1252);function s(e={}){const t=e.store?.getState(),n=(0,r.zf)({...e,focusLoop:(0,i.Jh)(e.focusLoop,t?.focusLoop,!0)}),s={...n.getState(),value:(0,i.Jh)(e.value,t?.value,e.defaultValue,null)},a=(0,o.y$)(s,n,e.store);return{...n,...a,setValue:e=>a.setState("value",e)}}},78372(e,t,n){"use strict";n.d(t,{v:()=>i});var r=n(35756),o=n(1252);function i(e={}){const t=e.store?.getState();return(0,r.zf)({...e,orientation:(0,o.Jh)(e.orientation,t?.orientation,"horizontal"),focusLoop:(0,o.Jh)(e.focusLoop,t?.focusLoop,!0)})}},79148(e,t,n){"use strict";n.d(t,{P:()=>s});var r=n(47836),o=n(38992),i=n(1252);function s(e={}){const t=e.store?.getState(),n=(0,r.y)({...e,placement:(0,i.Jh)(e.placement,t?.placement,"top"),hideTimeout:(0,i.Jh)(e.hideTimeout,t?.hideTimeout,0)}),s={...n.getState(),type:(0,i.Jh)(e.type,t?.type,"description"),skipTimeout:(0,i.Jh)(e.skipTimeout,t?.skipTimeout,300)},a=(0,o.y$)(s,n,e.store);return{...n,...a}}},55194(e,t,n){"use strict";n.d(t,{i:()=>T,n:()=>O});var r=n(8106),o=n(72422),i=n(99442),s=n(85568),a=n(85485),l=n(8334),c=n(31024),u=n(82963),d=n(12534),f=n(52654),p=n(36319),h=n(49072),g=n(70966),m=n(43419),v=n(79729),b=n(29681),y=n(24719),k=n(94079),x=n(62786),w=n(1252),_=n(2376),A=n(93236),S=n(45934),C=n(38992);const E=new WeakSet;function T(e){return E.has(e)}const I=(0,w.nr)(),j=new WeakSet;function B(e,t,n){return!!(0,w.gR)(t,e)||(!(!n||!(0,w.gR)(n,e))||(0,u.NL)(e,t))}function N(e,t=!1){if(!e)return null;const n="current"in e?e.current:e;return n?t?(0,w.tp)(n)?n:null:n:null}function M(e){if(!e.isConnected)return[];const t=e.getRootNode(),n=t.querySelectorAll("[data-dialog][data-dialog-portal][data-open]"),r=[];let o=!1;for(const i of n){if(i===e){o=!0;continue}if(!o)continue;const n=i.getAttribute("data-dialog-portal");if(!n)continue;const s=t.getElementById(n);s&&(0,w.gR)(s,i)&&(j.has(s)||r.push(s))}return r}const R=(0,x.ab)(function({store:e,open:t,onClose:n,focusable:R=!0,modal:O=!0,portal:L=O,backdrop:P=O,hideOnEscape:D=!0,hideOnInteractOutside:z=!0,getPersistentElements:V,preventBodyScroll:F=O,autoFocusOnShow:$=!0,autoFocusOnHide:H=!0,initialFocus:U,finalFocus:W,unmountOnHide:K,unstable_treeSnapshotKey:q,...G}){const X=(0,o.cH)(),Y=(0,_.useRef)(null),Z=(0,_.useRef)(null),Q=O&&L&&!G.portalElement,J=(0,h.j)({store:e||X,open:t,setOpen(e){if(e)return;const t=Y.current;if(!t)return;const r=new Event("close",{bubbles:!1,cancelable:!0});n&&t.addEventListener("close",n,{once:!0}),t.dispatchEvent(r),r.defaultPrevented&&J.setOpen(!0)}}),{portalRef:ee,portalNode:te,domReady:ne}=(0,x.TE)(L,G.portalRef),re=G.preserveTabOrder,oe=(0,S.O$)(J,["mounted"],e=>re&&!O&&e.mounted),ie=(0,x.Bi)(G.id),se=(0,S.O$)(J,"open"),ae=(0,S.O$)(J,"mounted"),le=(0,S.O$)(J,"contentElement"),ce=(0,i.dK)(ae,G.hidden,G.alwaysVisible);(0,k.d)(le,ie,F&&!ce);const ue=(0,_.useRef)(!1),de=(0,_.useRef)(null);(0,x.UQ)(()=>(0,C.OH)(J,["open"],e=>{e.open?(ue.current=!1,de.current!==J&&(de.current=null)):de.current=null}),[J]),(0,b.c)({store:J,hideOnInteractOutside:z,domReady:ne,interactedOutsideRef:ue,focusedStoreRef:de});const{wrapElement:fe,nestedDialogs:pe}=(0,y.g)(J);G=(0,x.w7)(G,fe,[fe]);const he=(0,_.useRef)(null);I&&(0,_.useEffect)(()=>{if(!ne)return;const e=Y.current;if(!e)return;const t=(0,w.YE)(e),n=e=>{he.current=e.target};return t.addEventListener("mousedown",n,!0),()=>{t.removeEventListener("mousedown",n,!0)}},[ne]),(0,x.UQ)(()=>{if(!se)return;if(de.current===J)return;const e=Y.current;if((()=>{const{disclosureElement:t}=J.getState();return!!t&&(!T(t)&&(!!t.isConnected&&(!e||!(0,w.gR)(e,t))))})())return;const t=e=>{!function(e){E.add(e)}(e),J.setDisclosureElement(e)},n=(0,w.bq)(e,{activeDescendant:!0});if(n){if("BODY"===n.tagName){const n=he.current;if(he.current=null,!n?.isConnected)return;if(!(0,w.tp)(n))return;if(e&&(0,w.gR)(e,n))return;return void t(n)}e&&(0,w.gR)(e,n)||t(n)}},[J,se]),(0,_.useEffect)(()=>{if(!ae)return;if(!ne)return;const e=Y.current;if(!e)return;const t=(0,w.zk)(e),n=t.visualViewport||t,r=()=>{const n=t.visualViewport?.height??t.innerHeight;e.style.setProperty("--dialog-viewport-height",`${n}px`)};return r(),n.addEventListener("resize",r),()=>{n.removeEventListener("resize",r)}},[ae,ne]);const[ge,me]=(0,_.useState)(!1);(0,x.UQ)(()=>{if(!(O&&se&&ne&&le))return void me(!1);const e=()=>{me(!function(e){const t=e.querySelectorAll("[data-dialog-dismiss]");for(const n of t)if(n.closest("[data-dialog]")===e)return!0;return!1}(le))};e();const{MutationObserver:t}=(0,w.zk)(le),n=new t(e);return n.observe(le,{childList:!0,subtree:!0}),()=>n.disconnect()},[O,se,ne,le]),(0,x.UQ)(()=>{if(!(0,m.t)())return;if(se)return;if(!ae)return;if(!ne)return;const e=Y.current;return e?(0,v.t)(e):void 0},[se,ae,ne]);const ve=se&&ne,be=(0,_.useRef)(null);(0,x.UQ)(()=>{if(!(ie&&Q&&ve&&te))return void(be.current=null);const e=Y.current;if(e&&(0,w.gR)(te,e))return be.current?.portal!==te&&(be.current={portal:te,peers:M(e)}),j.add(te),()=>{j.delete(te)};be.current=null},[ie,ve,Q,te]),(0,x.UQ)(()=>{if(!ie)return;if(!ve)return;const e=Y.current;return(0,d.A)(ie,[e])},[ie,ve,q]);const ye=(0,x._q)(V);(0,x.UQ)(()=>{if(!ie)return;if(!ve)return;const{disclosureElement:e}=J.getState(),t=le??Y.current;if(!t)return;const n=[t,...ye()||[],...be.current?.peers||[],...pe.map(e=>e.getState().contentElement)],r=(0,u.ik)(t,n);return O?(0,w.cy)(r,(0,v.A)(ie,n)):(0,w.cy)(r,(0,f.r)(ie,[e,...n]))},[ie,J,ve,le,O,Q,ye,pe,q]);const ke=!!$,xe=(0,x.O4)($),[we,_e]=(0,_.useState)(!1);(0,_.useEffect)(()=>{if(!se)return;if(!ke)return;if(!ne)return;if(!le?.isConnected)return;const e=N(U,!0)||le.querySelector("[data-autofocus=true],[autofocus]")||(0,w.LC)(le,!0,L&&oe)||le,t=(0,w.tp)(e);xe(t?e:null)&&(_e(!0),queueMicrotask(()=>{const{open:t,disclosureElement:n}=J.getState();if(!t)return;const r=(0,w.bq)(le,{frame:!1}),o=r&&function(e){let t=e;for(;t.shadowRoot;){const e=t.shadowRoot.activeElement;if(!(0,w.vq)(e))break;t=e}return t}(r);de.current===J&&r&&o&&(0,w.tp)(o)&&!B(r,le,n)&&!B(o,le,n)||((0,w.tp)(e)&&e.scrollIntoView({block:"nearest",inline:"nearest"}),e.focus({preventScroll:!0}))}))},[se,ke,ne,le,U,L,oe,J,xe,de]);const Ae=!!H,Se=(0,x.O4)(H),[Ce,Ee]=(0,_.useState)(!1);(0,x.UQ)(()=>{if(se)return Ee(!0),()=>Ee(!1)},[se]);const Te=(0,_.useCallback)((e,t=!0)=>{if(ue.current)return;const{disclosureElement:n}=J.getState();if(function(e){const t=(0,w.bq)(e);return!(!t||e&&(0,w.gR)(e,t)||(0,g.t)(t,e?.id)||!(0,w.tp)(t))}(e))return;let r=N(W)||n;if(r?.id){const e=(0,w.YE)(r),t=`[aria-activedescendant="${r.id}"]`,n=e.querySelector(t);n&&(r=n)}if(r&&!(0,w.tp)(r)){const e=r.closest("[data-dialog]");if(e?.id){const t=(0,w.YE)(e),n=`[aria-controls~="${e.id}"]`,o=t.querySelector(n);o&&(r=o)}}const o=r&&(0,w.tp)(r);o||!t?Se(o?r:null)&&o&&r?.focus():requestAnimationFrame(()=>Te(e,!1))},[J,W,Se]),Ie=(0,_.useRef)(!1);(0,x.UQ)(()=>{if(se)return;if(!Ce)return;if(!Ae)return;const e=Y.current;Ie.current=!0,Te(e)},[se,Ce,ne,Ae,Te]),(0,_.useEffect)(()=>{if(!Ce)return;if(!Ae)return;const e=Y.current;return()=>{Ie.current?Ie.current=!1:Te(e)}},[Ce,Ae,Te]);const je=(0,x.O4)(D),[Be]=(0,_.useState)(()=>new WeakMap),Ne=G.onKeyDown,Me=G.onKeyDownCapture,Re=G.onFocusCapture,Oe=(0,x._q)(e=>{if(Re?.(e),!J.getState().open)return;const t=e.target;(0,w.Ll)(t)&&(0,w.gR)(e.currentTarget,t)&&(de.current=J)}),Le=(0,x._q)(e=>{if("Escape"!==e.key)return!1;if(!e.bubbles)return!1;const t=Be.get(e);if(t)return!(e.defaultPrevented&&!t.defaultPrevented)&&t.accepted;if(e.defaultPrevented)return!1;const n=Y.current;if(!ae)return!1;if(!n)return!1;if((0,u.rK)(n))return!1;const r=je(e);return Be.set(e,{accepted:r,defaultPrevented:e.defaultPrevented}),r}),Pe=(0,x._q)(e=>{const t=Le(e);return Be.delete(e),!!t&&(J.hide(),!0)}),De=(0,x._q)(e=>{const t=e.nativeEvent,n=t.cancelBubble;Ne?.(e),n?Be.delete(t):Pe(t)&&e.stopPropagation()}),ze=(0,x._q)(e=>{const t=e.nativeEvent,n=t.cancelBubble;Me?.(e),n?Be.delete(t):(e.isPropagationStopped()||t.cancelBubble)&&Pe(t)});(0,_.useEffect)(()=>{if(!ne)return;if(!ae)return;const e=le?(0,w.zk)(le):void 0;return(0,w.cy)((0,w.dg)("keydown",e=>{if("Escape"!==e.key)return;if(!e.bubbles)return;if(e.cancelBubble)return void Be.delete(e);if(Be.has(e))return;const t=Y.current;if(!t)return;const n=e.target;if(!(0,w.Ll)(n))return;const{disclosureElement:r}=J.getState();((0,w.vq)(n)&&"BODY"===n.tagName||(0,w.gR)(t,n)||!r||(0,w.gR)(r,n)||(0,w.vq)(n)&&(0,u.rK)(n,t.id)||(0,w.vq)(n)&&(0,g.t)(n,t.id))&&Le(e)&&e.cancelBubble&&Pe(e)},!0,e),(0,w.dg)("keydown",e=>{Be.has(e)&&(e.cancelBubble?Be.delete(e):Pe(e)&&e.stopPropagation())},!1,e))},[J,ne,ae,le,Pe,Le,Be]);const Ve=(G=(0,x.w7)(G,e=>(0,A.jsx)(a.F,{level:O?1:void 0,children:e}),[O])).hidden,Fe=G.alwaysVisible;G=(0,x.w7)(G,e=>(0,A.jsxs)(A.Fragment,{children:[ge&&(0,A.jsx)("button",{type:"button",tabIndex:-1,"data-dialog-hidden-dismiss":ie||"",style:(0,l.LB)(),onClick:J.hide,children:"Dismiss popup"}),e]}),[ge,ie,J]),G=(0,x.w7)(G,e=>(0,A.jsxs)(A.Fragment,{children:[!!P&&(0,A.jsx)(p.X,{store:J,backdrop:P,backdropRef:Z,hidden:Ve,alwaysVisible:Fe}),e]}),[J,P,Ve,Fe]);const[$e,He]=(0,_.useState)(),[Ue,We]=(0,_.useState)();return G={"data-dialog":"",role:"dialog",tabIndex:R?-1:void 0,"aria-labelledby":null!=(G=(0,x.w7)(G,e=>(0,A.jsx)(o.XP,{value:J,children:(0,A.jsx)(o.YH.Provider,{value:He,children:(0,A.jsx)(o.oL.Provider,{value:We,children:e})})}),[J]))["aria-label"]?void 0:$e,"aria-describedby":Ue,...G,"data-dialog-portal":Q?te?.id:void 0,id:ie,ref:(0,x.SV)(Y,G.ref),onFocusCapture:Oe,onKeyDown:De,onKeyDownCapture:ze},G=(0,s.D)({...G,autoFocusOnShow:we}),G=(0,i.aT)({store:J,...G,unstable_otherElementRef:Z}),G=(0,r.n)({...G,focusable:R}),G=(0,c.W)({portal:L,...G,portalRef:ee,preserveTabOrder:oe})});function O(e,t=o.cH){return(0,x.Rf)(function(n){const r=t(),o=n.store||r;return(0,S.O$)(o,["mounted"],e=>!n.unmountOnHide||e?.mounted||!!n.open)?(0,A.jsx)(e,{...n}):null})}const L=O((0,x.Rf)(function(e){const t=R(e);return(0,x.n)("div",t)}),o.cH),P=(0,x.Rf)(function(e){const t=(0,h.j)({open:e.open});return(0,A.jsx)(L,{...e,store:t})});(0,x.Rf)(function(e){const t=(0,o.cH)();return e.store||t||!e.unmountOnHide?(0,A.jsx)(L,{...e}):(0,A.jsx)(P,{...e})});n.d(t,["r",0,R])},16663(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{t:()=>r})},42714(e,t,n){"use strict";n.d(t,{t:()=>s});var r=n(38992);const o=Symbol("cancelled"),i=new WeakMap;function s(e){const t=e.item,n=i.get(t);if(n)return n;const s={consumedBy:null,targetId:e.getState().activeId};return i.set(t,s),(0,r.OH)(e,["moves","activeId"],(e,t)=>{if(e.moves!==t.moves)return s.consumedBy=null,void(s.targetId=e.activeId);e.activeId!==t.activeId&&(s.targetId=o)}),s}},8106(e,t,n){"use strict";n.d(t,{a:()=>d,o:()=>u,r:()=>l});var r=n(68292),o=n(62786),i=n(1252),s=n(2376);const a=Symbol("accessibleWhenDisabled");function l(e){return e.accessibleWhenDisabled??e.onLoadedMetadataCapture?.[a]}const c="data-truly-disabled";function u(e){return"true"===e.getAttribute(c)}function d(e){const t=e.getAttribute(c);return"true"===t||"false"!==t&&void 0}function f(e){return"ArrowUp"===e||"ArrowRight"===e||"ArrowDown"===e||"ArrowLeft"===e||"Home"===e||"End"===e||"PageUp"===e||"PageDown"===e}const p=(0,i.nr)(),h=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"];function g({focusable:e,trulyDisabled:t,nativeTabbable:n,supportsDisabled:r,safariTabIndex:o,tabIndexProp:i}){return e?t?n&&!r?-1:void 0:n?o&&null==i?0:i:i??0:i}function m(e,t){return(0,o._q)(n=>{e?.(n),n.defaultPrevented||t&&(n.stopPropagation(),n.preventDefault())})}let v=!1,b=!0;function y(e){const t=e.target;(0,i.vq)(t)&&!t.hasAttribute("data-focus-visible")&&(b=!1)}function k(e){if(f(e.key))b=!0;else if(!e.metaKey&&!e.ctrlKey){if(e.altKey){if(!p)return;if("Tab"!==e.key)return}b=!0}}const x=(0,o.ab)(function({focusable:e=!0,accessibleWhenDisabled:t,autoFocus:n,onFocusVisible:l,...u}){const d=(0,s.useRef)(null),[x,w]=(0,o.P1)(u,a,t);t??=x,(0,s.useEffect)(()=>{e&&(v||((0,i.dg)("mousedown",y,!0),(0,i.dg)("keydown",k,!0),v=!0))},[e]);const _=e&&(0,i.$f)(u),A=_&&!t,[S,C]=(0,s.useState)(!1),E=(0,s.useRef)(!1),T=(0,s.useRef)(null),I=(0,o._q)(e=>{T.current?.(),T.current=null,E.current=!1,e?.removeAttribute("data-focus-visible")});(0,s.useEffect)(()=>{e&&!A||(I(d.current),S&&C(!1))},[e,A,S,I]),(0,s.useEffect)(()=>{if(!e)return;if(!S)return;const t=d.current;if(!t)return;if("undefined"==typeof IntersectionObserver)return;const n=new IntersectionObserver(()=>{(0,i.tp)(t)||(E.current=!1,C(!1))});return n.observe(t),()=>n.disconnect()},[e,S]),(0,s.useEffect)(()=>()=>T.current?.(),[]);const j=m(u.onKeyPressCapture,_),B=m(u.onMouseDownCapture,_),N=m(u.onClickCapture,_),M=m(u.onAuxClickCapture,_),R=(t,n)=>{if(n&&(t.currentTarget=n),!e)return;const r=t.currentTarget;if(r&&(0,i.AJ)(r)&&(l?.(t),!t.defaultPrevented))if(r.dataset.focusVisible="true",E.current=!0,function(e){if("BUTTON"===e.tagName){const{type:t}=e;return"submit"===t}if("INPUT"===e.tagName){const{type:t}=e;return"submit"===t||"image"===t}return!1}(r)){if(T.current?.(),T.current=null,"undefined"!=typeof IntersectionObserver){const e=new IntersectionObserver(()=>{(0,i.tp)(r)||I(r)});e.observe(r),T.current=()=>e.disconnect()}}else C(!0)},O=u.onKeyDownCapture,L=(0,o._q)(t=>{if(O?.(t),t.defaultPrevented)return;if(!e)return;if(S)return;if(E.current)return;if((t.metaKey||t.altKey||t.ctrlKey)&&!f(t.key))return;if(!(0,i.uh)(t))return;const n=t.currentTarget;(0,i.nz)(n,"focusout",()=>R(t,n))}),P=u.onFocusCapture,D=(0,o._q)(t=>{if(P?.(t),t.defaultPrevented)return;if(!e)return;if(!(0,i.uh)(t))return void C(!1);const n=t.currentTarget;b||function(e){const{tagName:t,readOnly:n,type:r}=e;return"TEXTAREA"===t&&!n||"SELECT"===t&&!n||("INPUT"!==t||n?!!e.isContentEditable||!("combobox"!==e.getAttribute("role")||!e.dataset.name):h.includes(r))}(t.target)?(0,i.nz)(t.target,"focusout",()=>R(t,n)):C(!1)}),z=u.onBlur,V=(0,o._q)(t=>{z?.(t),e&&(0,i.aG)(t)&&(I(t.currentTarget),C(!1))}),F=(0,s.useContext)(r.g),$=(0,o._q)(t=>{e&&n&&t&&F&&queueMicrotask(()=>{(0,i.AJ)(t)||(0,i.tp)(t)&&t.focus()})}),[H,U]=(0,s.useState)(3);(0,o.UQ)(()=>{const e=d.current;if(!e)return;const t=function(e){let t=0;return function(e){return!e||"button"===e||"summary"===e||"input"===e||"select"===e||"textarea"===e||"a"===e}(e)&&(t|=1),function(e){return!e||"button"===e||"input"===e||"select"===e||"textarea"===e}(e)&&(t|=2),t}(e.tagName.toLowerCase());3!==t&&U(t)},[]);const W=e&&!!(1&H),K=e&&!!(2&H),[q,G]=(0,s.useState)(!1);p&&(0,s.useEffect)(()=>{if(!e)return;const t=d.current;if(!t)return;const{type:n}=t,r="INPUT"===t.tagName&&("checkbox"===n||"radio"===n);G((0,i.Bm)(t)||r)},[e]);const X=u.style,Y=(0,s.useMemo)(()=>A?{pointerEvents:"none",...X}:X,[A,X]);return u={"data-focus-visible":e&&S||void 0,"data-autofocus":n||void 0,"aria-disabled":_||void 0,...u,...w,ref:(0,o.SV)(d,$,u.ref),style:Y,tabIndex:g({focusable:e,trulyDisabled:A,nativeTabbable:W,supportsDisabled:K,safariTabIndex:q,tabIndexProp:u.tabIndex}),disabled:!(!K||!A)||void 0,[c]:_?A:void 0,contentEditable:_?void 0:u.contentEditable,onKeyPressCapture:j,onClickCapture:N,onAuxClickCapture:M,onMouseDownCapture:B,onKeyDownCapture:L,onFocusCapture:D,onBlur:V},(0,i.HR)(u)});(0,o.Rf)(function(e){const t=x(e);return(0,o.n)("div",t)});n.d(t,["n",0,x])},35575(e,t,n){"use strict";var r=n(8106),o=n(62786),i=n(1252),s=n(2376);const a=(0,o.ab)(function({store:e,showOnHover:t=!0,unstable_showOnHoverWhenDisabled:n=!0,setAnchorElement:a=!1,...l}){const c=(0,i.$f)(l),u=!1!==l.focusable,d=(0,s.useRef)(null),f=(0,s.useRef)(0),p=(0,o._q)(e=>!(!c||u)||(0,r.o)(e));(0,s.useEffect)(()=>()=>window.clearTimeout(f.current),[]),(0,s.useEffect)(()=>(0,i.dg)("mouseleave",e=>{const t=d.current;t&&e.target===t&&(window.clearTimeout(f.current),f.current=0)},!0),[]);const h=l.onMouseMove,g=(0,o.O4)(t),m=(0,o.O4)(n),v=(0,o.P$)(),b=(0,o._q)(t=>{if(h?.(t),t.defaultPrevented)return;if(f.current)return;if(!v())return;const n=t.currentTarget;if(p(n))return;if((c||(0,i.lp)(n))&&!m(t))return;if(!g(t))return;a&&e.setAnchorElement(n),e.setDisclosureElement(n);const{showTimeout:r,timeout:o}=e.getState(),s=()=>{f.current=0,v()&&(p(n)||(a&&e.setAnchorElement(n),e.show(),queueMicrotask(()=>{e.setDisclosureElement(n)})))},l=r??o;0===l?s():f.current=window.setTimeout(s,l)}),y=l.onClick,k=(0,o._q)(e=>{y?.(e),window.clearTimeout(f.current),f.current=0}),x=(0,s.useCallback)(t=>{if(d.current=t,!a)return;const{anchorElement:n}=e.getState();n?.isConnected||e.setAnchorElement(t)},[e,a]);return l={...l,ref:(0,o.SV)(x,l.ref),onMouseMove:b,onClick:k},l=(0,r.n)(l)});n.d(t,["t",0,a])},25015(e,t,n){"use strict";n.d(t,{r:()=>d});var r=n(17838),o=n(83656),i=n(80212),s=n(62786),a=n(1252),l=n(2376),c=n(93236),u=n(45934);function d(e){return Array.isArray(e)?e.toString():e}const f="input";function p(e,t){t?e.indeterminate=!0:e.indeterminate&&(e.indeterminate=!1)}const h=(0,s.ab)(function({store:e,name:t,value:n,checked:h,defaultChecked:g,...m}){const v=(0,i.Cu)();e=e||v;const[b,y]=(0,l.useState)(g??!1),k=(0,u.O$)(e,["value"],e=>{if(void 0!==h)return h;if(void 0===e?.value)return b;if(null!=n){if(Array.isArray(e.value)){const t=d(n);return e.value.includes(t)}return e.value===n}return!Array.isArray(e.value)&&("boolean"==typeof e.value&&e.value)}),x=(0,l.useRef)(null),w=(_=(0,s.vO)(x,f),A=m.type,"input"===_&&(!A||"checkbox"===A));var _,A;const S=k?"mixed"===k:void 0,C="mixed"!==k&&k,E=(0,a.$f)(m),[T,I]=(0,s.CH)();(0,l.useEffect)(()=>{const e=x.current;e&&(p(e,S),w||(e.checked=C,void 0!==t&&(e.name=t),void 0!==n&&(e.value=String(n))))},[T,S,w,C,t,n]);const j=m.onChange,B=(0,s._q)(t=>{if(E)return t.stopPropagation(),void t.preventDefault();if(p(t.currentTarget,S),w||(t.currentTarget.checked=!t.currentTarget.checked,I()),j?.(t),t.defaultPrevented)return;const r=t.currentTarget.checked;y(r),e?.setValue(e=>{if(null==n)return r;const t=d(n);return Array.isArray(e)?r?e.includes(t)?e:[...e,t]:e.filter(e=>e!==t):e!==t&&t})}),N=m.onClick,M=(0,s._q)(e=>{N?.(e),e.defaultPrevented||w||B(e)});return m=(0,s.w7)(m,e=>(0,c.jsx)(o.G.Provider,{value:C,children:e}),[C]),m={role:w?void 0:"checkbox",type:w?"checkbox":void 0,"aria-checked":k,...m,ref:(0,s.SV)(x,m.ref),onChange:B,onClick:M},m=(0,r.D)({clickOnEnter:!w,...m}),(0,a.HR)({name:w?t:void 0,value:w?n:void 0,checked:C,...m})});(0,s.Rf)(function(e){const t=h(e);return(0,s.n)(f,t)});n.d(t,["n",0,h])},70966(e,t,n){"use strict";function r(e,...t){if(!e)return!1;const n=e.getAttribute("data-dialog-hidden-dismiss");return null!=n&&(""===n||(!t.length||t.some(e=>n===e)))}n.d(t,{t:()=>r})},45676(e,t,n){"use strict";var r=n(91023),o=n(17838),i=n(62786),s=n(1252),a=n(2376);const l="button",c=(0,i.ab)(function(e){const t=(0,a.useRef)(null),n=(0,i.vO)(t,l),[r,c]=(0,a.useState)(()=>!!n&&(0,s.Bm)({tagName:n,type:e.type}));return(0,a.useEffect)(()=>{t.current&&c((0,s.Bm)(t.current))},[]),e={role:r||"a"===n?void 0:"button",...e,ref:(0,i.SV)(t,e.ref)},e=(0,o.D)(e)});(0,i.Rf)(function(e){const t=c((0,r.Y)(e));return(0,i.n)(l,t)});n.d(t,["s",0,c])},91023(e,t,n){"use strict";function r(e){const{render:t,type:n}=e;return t||void 0!==n?e:{...e,type:"button"}}n.d(t,{Y:()=>r})},21043(e,t,n){"use strict";var r=n(83656),o=n(62786),i=n(2376),s=n(93236);const a=(0,s.jsx)("svg",{display:"block",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,viewBox:"0 0 16 16",height:"1em",width:"1em",children:(0,s.jsx)("polyline",{points:"4,8 7,12 12,4"})});const l=(0,o.ab)(function({store:e,checked:t,...n}){const o=(0,i.useContext)(r.G),s=function(e){return e.checked?e.children||a:null}({checked:t=t??o,children:n.children});return n={"aria-hidden":!0,...n,children:s,style:{width:"1em",height:"1em",pointerEvents:"none",...n.style}}});(0,o.Rf)(function(e){const t=l(e);return(0,o.n)("span",t)});n.d(t,["H",0,l])},83656(e,t,n){"use strict";const r=(0,n(2376).createContext)(!1);n.d(t,["G",0,r])},80212(e,t,n){"use strict";const r=(0,n(62786).B0)(),o=r.useContext;r.useScopedContext,r.useProviderContext,r.ContextProvider,r.ScopedContextProvider;n.d(t,["Cu",0,o])},94534(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(62786),o=n(13468),i=n(45934);function s(e={}){const[t,n]=(0,i.Pj)(o.r,e);return function(e,t,n){return(0,r.w5)(t,[n.store,t]),(0,i.Tz)(e,n,"value","setValue"),e}(t,n,e)}},73554(e,t,n){"use strict";const r=(0,n(62786).B0)(),o=r.useContext,i=(r.useScopedContext,r.useProviderContext,r.ContextProvider),s=r.ScopedContextProvider;n.d(t,["$I",0,o,"LN",0,i,"zX",0,s])},60630(e,t,n){"use strict";var r=n(73554),o=n(62786),i=n(1252),s=n(2376);const a=(0,o.ab)(function({store:e,shouldRegisterItem:t=!0,getItem:n=i.D_,element:a,...l}){const c=(0,r.$I)();e=e||c;const u=(0,o.Bi)(l.id),d=(0,s.useRef)(a);return(0,s.useEffect)(()=>{const r=d.current;if(!u)return;if(!r)return;if(!t)return;const o=n({id:u,element:r});return e?.renderItem(o)},[u,t,n,e]),l={...l,ref:(0,o.SV)(d,l.ref)}});(0,o.Rf)(function(e){const t=a(e);return(0,o.n)("div",t)});n.d(t,["v",0,a])},78108(e,t,n){"use strict";n.d(t,{D:()=>i});var r=n(62786),o=n(45934);function i(e,t,n){return(0,r.w5)(t,[n.store,t]),(0,o.Tz)(e,n,"items","setItems"),e}},38740(e,t,n){"use strict";var r=n(59740),o=n(96652),i=n(62786),s=n(2376);(0,s.createContext)(null);const a=(0,i.B0)([r.wf,o.ws],[r.s1,o.aN]),l=(a.useContext,a.useScopedContext,a.useProviderContext);a.ContextProvider,a.ScopedContextProvider,(0,s.createContext)(void 0),(0,s.createContext)(!1),(0,s.createContext)(null);n.d(t,["PV",0,l])},17838(e,t,n){"use strict";var r=n(91023),o=n(8106),i=n(62786),s=n(1252),a=n(2376);function l(e){if(!e.isTrusted)return!1;const t=e.currentTarget;return"Enter"===e.key?(0,s.Bm)(t)||"SUMMARY"===t.tagName||"A"===t.tagName:" "===e.key&&((0,s.Bm)(t)||"SUMMARY"===t.tagName||"INPUT"===t.tagName||"SELECT"===t.tagName)}const c=Symbol("command"),u=(0,i.ab)(function({clickOnEnter:e=!0,clickOnSpace:t=!0,...n}){const r=(0,a.useRef)(null),[u,d]=(0,a.useState)(!1),f=n.type;(0,a.useEffect)(()=>{const e=r.current;if(!e)return;const t=(0,s.Bm)(e);void 0!==f&&t&&"button"===e.type||d(t)},[f]);const[p,h]=(0,a.useState)(!1),g=(0,a.useRef)(!1),m=(0,s.$f)(n),[v,b]=(0,i.P1)(n,c,!0);(0,i.UQ)(()=>{m&&(g.current=!1,h(!1))},[m]);const y=n.onKeyDown,k=(0,i._q)(n=>{y?.(n);const r=n.currentTarget;if(n.defaultPrevented)return;if(v)return;if(m)return;if(!(0,s.uh)(n))return;if((0,s.mB)(r))return;if(r.isContentEditable)return;const o=e&&"Enter"===n.key,i=t&&" "===n.key,a="Enter"===n.key&&!e,c=" "===n.key&&!t;if(a||c)n.preventDefault();else if(o||i){const e=l(n);if(o){if(!e){n.preventDefault();const{view:e,...t}=n,o=()=>(0,s.hY)(r,t);(0,s.gm)()?(0,s.nz)(r,"keyup",o):queueMicrotask(o)}}else i&&(g.current=!0,e||(n.preventDefault(),h(!0)))}}),x=n.onKeyUp,w=(0,i._q)(e=>{if(x?.(e),v)return;const n=t&&" "===e.key;if(!g.current||!n)return;const r=l(e);if(g.current=!1,r||h(!1),e.defaultPrevented)return;if(!(0,s.uh)(e))return;if(m)return;if(e.metaKey)return;if(r)return;e.preventDefault();const o=e.currentTarget,{view:i,...a}=e;queueMicrotask(()=>(0,s.hY)(o,a))}),_=n.onBlur,A=(0,i._q)(e=>{_?.(e),g.current&&(g.current=!1,h(!1))});return n={"data-active":p||void 0,type:u?"button":void 0,...b,...n,ref:(0,i.SV)(r,n.ref),onKeyDown:k,onKeyUp:w,onBlur:A},n=(0,o.n)(n)});(0,i.Rf)(function(e){const t=u((0,r.Y)(e));return(0,i.n)("button",t)});n.d(t,["D",0,u])},96652(e,t,n){"use strict";var r=n(73554),o=n(62786),i=n(2376);const s=(0,o.B0)([r.LN],[r.zX]),a=(s.useContext,s.useScopedContext),l=s.useProviderContext,c=s.ContextProvider,u=s.ScopedContextProvider,d=(0,i.createContext)(void 0),f=(0,i.createContext)(void 0);n.d(t,["$o",0,f,"Lf",0,l,"SZ",0,a,"U0",0,d,"aN",0,u,"ws",0,c])},3283(e,t,n){"use strict";var r=n(97781),o=n(62786);const i=(0,o.ab)(function({store:e,...t}){return t=(0,r.$)(t)}),s=(0,o.Rf)(function(e){const t=i(e);return(0,o.n)("div",t)});n.d(t,["$",0,s,"S",0,i])},75868(e,t,n){"use strict";var r=n(90810),o=n(62786);const i=(0,o.ab)(function({store:e,...t}){return t=(0,r.d)(t)}),s=(0,o.Rf)(function(e){const t=i(e);return(0,o.n)("div",t)});n.d(t,["t",0,s,"u",0,i])},98665(e,t,n){"use strict";var r=n(96652),o=n(62786),i=n(1252),s=n(2376);const a=Symbol("composite-hover");const l=(0,o.ab)(function({store:e,focusOnHover:t=!0,blurOnHoverEnd:n=!!t,...l}){const c=(0,r.SZ)();e=e||c,(0,i.V1)(e,!1);const u=(0,o.P$)(),d=l.onMouseMove,f=(0,o.O4)(t),p=(0,o._q)(t=>{if(d?.(t),!t.defaultPrevented&&u()&&f(t)){if(!(0,i.oW)(t.currentTarget)){const t=e?.getState().compositeElement;t&&!(0,i.AJ)(t)&&t.focus({preventScroll:!0})}e?.setActiveId(t.currentTarget.id)}}),h=l.onMouseLeave,g=(0,o.O4)(n),m=(0,o._q)(t=>{h?.(t),t.defaultPrevented||u()&&(function(e){const t=e.relatedTarget;return!!(0,i.vq)(t)&&(0,i.gR)(e.currentTarget,t)}(t)||function(e){const{relatedTarget:t}=e;if(!(0,i.vq)(t))return!1;let n=t;do{if((0,i.mQ)(n,a)&&n[a])return!0;n=n.parentElement}while(n);return!1}(t)||f(t)&&g(t)&&(e?.setActiveId(null),e?.getState().compositeElement?.focus({preventScroll:!0})))}),v=(0,s.useCallback)(e=>{e&&(e[a]=!0)},[]);return l={...l,ref:(0,o.SV)(v,l.ref),onMouseMove:p,onMouseLeave:m}}),c=(0,o.ph)((0,o.Rf)(function(e){const t=l(e);return(0,o.n)("div",t)}));n.d(t,["T",0,l,"c",0,c])},18864(e,t,n){"use strict";var r=n(91023),o=n(8106),i=n(17838),s=n(60630),a=n(96652),l=n(72300),c=n(62786),u=n(1252),d=n(2376),f=n(93236),p=n(45934),h=n(38992);function g(e,t=!1){const{top:n}=e.getBoundingClientRect();return t?n+e.clientHeight:n}function m(e,t,n,r=!1){if(!t)return;if(!n)return;const{renderedItems:o}=t.getState(),i=(0,u.qj)(e);if(!i)return;const s=function(e,t=!1){const n=e.clientHeight,{top:r}=e.getBoundingClientRect(),o=1.5*Math.max(.875*n,n-40),i=t?n-o+r:o+r;return"HTML"===e.tagName?i+e.scrollTop:i}(i,r);let a,c;for(let e=0;e<o.length;e+=1){const o=a;if(a=n(e),!a)break;if(a===o)continue;const i=(0,l.hZ)(t,a)?.element;if(!i)continue;const u=g(i,r)-s,d=Math.abs(u);if(r&&u<=0||!r&&u>=0){void 0!==c&&c<d&&(a=o);break}c=d}return a}const v=(0,c.ab)(function({store:e,rowId:t,preventScrollOnKeyDown:n=!1,moveOnKeyPress:r=!0,tabbable:g=!1,getItem:v,typeaheadText:b,"aria-setsize":y,"aria-posinset":k,unstable_scrollIntoView:x,...w}){const _=(0,a.SZ)();e=e||_;const A=(0,o.r)(w),S=(0,c.Bi)(w.id),C=(0,d.useRef)(null),E=(0,d.useRef)(null),T=(0,d.useCallback)(e=>{const t=E.current;!e&&t&&(0,l.nc)(t),e&&(0,l.Df)(e),E.current=e},[]),I=(0,d.useContext)(a.$o),j=(0,u.$f)(w),B=j&&!A,N=j&&!1===w.focusable,M=w.shouldRegisterItem,R=e=>t||(e&&I?.compositeElement&&I.compositeElement===e.compositeElement?I.id:void 0),{rowId:O,compositeElement:L,ariaSetSize:P,ariaPosInSet:D}=(0,p.PX)(e,["compositeElement","renderedItems"],{rowId:R,compositeElement:e=>e?.compositeElement||void 0,ariaSetSize:e=>null!=y?y:e&&I?.ariaSetSize&&I.compositeElement===e.compositeElement?I.ariaSetSize:void 0,ariaPosInSet(e){if(null!=k)return k;if(!e)return;if(!I?.ariaPosInSet)return;if(I.compositeElement!==e.compositeElement)return;const t=R(e),n=e.renderedItems.filter(e=>e.rowId===t);return I.ariaPosInSet+n.findIndex(e=>e.id===S)}}),{isActiveItem:z,isTabbable:V}=(0,p.PX)(e,["activeId","compositeElement","renderedItems","virtualFocus","items"],{isActiveItem:e=>!!e&&e.activeId===S,isTabbable(t){if(!t)return!0;if(!t.compositeElement&&!t.renderedItems.length)return!0;if(t.virtualFocus)return!1;if(!t.renderedItems.length)return!0;if(g)return!0;if(null===t.activeId)return!1;const n=e?.item(t.activeId);return!!n?.disabled||(!n?.element||t.activeId===S)}}),F=(0,d.useCallback)(e=>{const t=(e.element?(0,o.a)(e.element):void 0)??(N||B),n={...e,id:S||e.id,rowId:O,disabled:t,children:e.element?.textContent,typeaheadText:b};return v?v(n):n},[S,O,N,B,b,v]),$=w.onFocus,H=(0,d.useRef)(!1),U=(0,d.useRef)(null),W=(0,l.CM)(e),K=(0,c._q)(t=>{if($?.(t),t.defaultPrevented)return;if((0,u.ho)(t))return;if(!S)return;if(!e)return;if(function(e,t){return!(0,u.uh)(e)&&(0,l.WZ)(t,e.target)}(t,e))return;const{virtualFocus:n,compositeElement:r}=e.getState();if(e.setActiveId(S),(0,u.Bj)(t.currentTarget)&&(0,l.iT)(t.currentTarget),!n)return void((0,u.uh)(t)&&e.item(S)&&W({id:S,markedOnly:!0,requireFocus:!0,scrollIntoView:x}));if(!(0,u.uh)(t))return;if(o=t.currentTarget,(0,u.Bj)(o)||"INPUT"===o.tagName&&!(0,u.Bm)(o))return;var o;const i=(t,n)=>{if(!(0,u.tp)(n))return void 0;const r=t===n||(0,l.WZ)(e,t);e.item(S)&&W({id:S,markedOnly:!0,requireFocus:!0,scrollIntoView:x}),H.current=!0,r?(0,l.hk)(n):n.focus({preventScroll:!0})};if(r?.isConnected)return void i(t.relatedTarget,r);if(!1===M)return;const{currentTarget:s,relatedTarget:a}=t,c=()=>{U.current?.(),U.current=null};c(),U.current=(0,h.B1)(e,null,()=>{if((0,u.bq)(s)!==s)return void c();const t=e.getState(),n=t.compositeElement;n?.isConnected&&(c(),t.virtualFocus&&i(a,n))})}),q=w.onBlurCapture,G=(0,c._q)(t=>{q?.(t),t.defaultPrevented||(e?.getState())?.virtualFocus&&H.current&&(H.current=!1,t.preventDefault(),t.stopPropagation())}),X=w.onKeyDown,Y=(0,c.O4)(n),Z=(0,c.O4)(r),Q=(0,c._q)(t=>{if(X?.(t),t.defaultPrevented)return;if(!(0,u.uh)(t))return;if(!e)return;const{currentTarget:n}=t,r=e.getState(),o=!!e.item(S)?.rowId,i="horizontal"!==r.orientation,s="vertical"!==r.orientation,a=()=>!!o||(!!s||(!r.compositeElement||!(0,u.mB)(r.compositeElement))),l={ArrowUp:(o||i)&&e.up,ArrowRight:(o||s)&&e.next,ArrowDown:(o||i)&&e.down,ArrowLeft:(o||s)&&e.previous,Home:()=>{if(a())return!o||t.ctrlKey?e?.first():e?.previous(-1)},End:()=>{if(a())return!o||t.ctrlKey?e?.last():e?.next(-1)},PageUp:()=>m(n,e,e?.up,!0),PageDown:()=>m(n,e,e?.down)}[t.key];if(l){if((0,u.Bj)(n)){const e=(0,u.Zy)(n),r=s&&"ArrowLeft"===t.key,o=s&&"ArrowRight"===t.key,a=i&&"ArrowUp"===t.key,l=i&&"ArrowDown"===t.key;if(o||l){const{length:t}=(0,u.Mk)(n);if(e.end!==t)return}else if((r||a)&&0!==e.start)return}const r=l();if(Y(t)||void 0!==r){if(!Z(t))return;t.preventDefault(),e.move(r)}}}),J=(0,d.useMemo)(()=>({id:S,compositeElement:L}),[S,L]);return w=(0,c.w7)(w,e=>(0,f.jsx)(a.U0.Provider,{value:J,children:e}),[J]),w={"data-active-item":z||void 0,...w,id:S,ref:(0,c.SV)(C,T,w.ref),tabIndex:V?w.tabIndex:-1,onFocus:K,onBlurCapture:G,onKeyDown:Q},w=(0,i.D)(w),w=(0,s.v)({store:e,...w,getItem:F,shouldRegisterItem:!!S&&M}),{...w,"aria-setsize":P,"aria-posinset":D}}),b=(0,c.ph)((0,c.Rf)(function(e){const t=v((0,r.Y)(e));return(0,c.n)("button",t)}));n.d(t,["k",0,v,"l",0,b])},30479(e,t,n){"use strict";var r=n(96652),o=n(62786),i=n(1252),s=n(2376),a=n(93236),l=n(45934);const c=(0,o.ab)(function({store:e,"aria-setsize":t,"aria-posinset":n,...c}){const u=(0,r.SZ)();e=e||u,(0,i.V1)(e,!1);const d=(0,o.Bi)(c.id),f=(0,l.O$)(e,"compositeElement")||void 0,p=(0,s.useMemo)(()=>({id:d,compositeElement:f,ariaSetSize:t,ariaPosInSet:n}),[d,f,t,n]);return c=(0,o.w7)(c,e=>(0,a.jsx)(r.$o.Provider,{value:p,children:e}),[p]),c={...c,id:d}}),u=(0,o.Rf)(function(e){const t=c(e);return(0,o.n)("div",t)});n.d(t,["s",0,u])},4872(e,t,n){"use strict";var r=n(96652),o=n(19290),i=n(62786),s=n(1252),a=n(45934);const l=(0,i.ab)(function({store:e,orientation:t,...n}){const i=(0,r.SZ)();e=e||i,(0,s.V1)(e,!1);const l=(0,a.O$)(e,["orientation"],e=>t??("horizontal"===e.orientation?"vertical":"horizontal"));return n=(0,o.r)({...n,orientation:l})});(0,i.Rf)(function(e){const t=l(e);return(0,i.n)("hr",t)});n.d(t,["_",0,l])},65694(e,t,n){"use strict";n.d(t,{YC:()=>l,YO:()=>c,q4:()=>u});var r=n(78108),o=n(42714),i=n(62786),s=n(45934),a=n(35756);function l(e){return{id:(0,i.Bi)(e.id),...e}}function c(e,t,n){e=(0,r.D)(e,t,n),(0,o.t)(e),(0,s.Tz)(e,n,"activeId","setActiveId");const i={compositeElementInFocusOrder:n.compositeElementInFocusOrder??n.includesBaseElement};return(0,s.Tz)(e,i,"compositeElementInFocusOrder"),(0,s.Tz)(e,n,"virtualFocus"),(0,s.Tz)(e,n,"orientation"),(0,s.Tz)(e,n,"rtl"),(0,s.Tz)(e,n,"focusLoop"),(0,s.Tz)(e,n,"focusWrap"),(0,s.Tz)(e,n,"focusShift"),e}function u(e={}){e=l(e);const[t,n]=(0,s.Pj)(a.zf,e);return c(t,n,e)}},22174(e,t,n){"use strict";var r=n(96652),o=n(72300),i=n(62786),s=n(1252);const a=new WeakMap;function l(e){e.chars=""}function c(e,t){const n=e.typeaheadText??(e.element?.textContent||e.children||"value"in e&&e.value);return!!n&&(0,s.J2)(n).trim().toLowerCase().startsWith(t.toLowerCase())}const u=(0,i.ab)(function({store:e,typeahead:t=!0,...n}){const u=(0,r.SZ)();e=e||u,(0,s.V1)(e,!1);const d=n.onKeyDownCapture,f=(0,i._q)(n=>{if(d?.(n),n.defaultPrevented)return;if(!t)return;if(!e)return;const r=function(e){let t=a.get(e);return t||(t={chars:"",cleanupTimeout:0},a.set(e,t)),t}(e);if(!function(e,t){const n=e.target;return(!n||!(0,s.mB)(n))&&(!(" "!==e.key||!t.chars.length)||1===e.key.length&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(e.key))}(n,r))return l(r);const{renderedItems:i,items:u,activeId:f}=e.getState();let p=function(e){return e.filter(e=>!e.disabled)}(u.length>i.length?u:i);if(!function(e,t){if((0,s.uh)(e))return!0;const n=e.target;return!!n&&t.some(e=>e.element===n)}(n,p))return l(r);n.preventDefault(),window.clearTimeout(r.cleanupTimeout),r.cleanupTimeout=window.setTimeout(()=>{l(r)},500);const h=n.key.toLowerCase();r.chars+=h,p=function({activeId:e,char:t,items:n,typeaheadState:r}){if(!e)return n;const i=n.find(t=>t.id===e);if(!i)return n;if(!c(i,t))return n;const{chars:s}=r;return s!==t&&c(i,s)?n:(r.chars=t,(0,o._d)(n.filter(e=>c(e,t)),e).filter(t=>t.id!==e))}({activeId:f,char:h,items:p,typeaheadState:r});const g=p.find(e=>c(e,r.chars));g?e.move(g.id):l(r)});return n={...n,onKeyDownCapture:f},(0,s.HR)(n)}),d=(0,i.Rf)(function(e){const t=u(e);return(0,i.n)("div",t)});n.d(t,["f",0,d,"g",0,u])},24786(e,t,n){"use strict";var r=n(8106),o=n(96652),i=n(42714),s=n(72300),a=n(62786),l=n(1252),c=n(2376),u=n(93236),d=n(45934);function f(e,t,n){return(0,a._q)(r=>{if(t?.(r),r.defaultPrevented)return;if(r.isPropagationStopped())return;if(!(0,l.uh)(r))return;if(function(e){return"Shift"===e.key||"Control"===e.key||"Alt"===e.key||"Meta"===e.key}(r))return;if(function(e){const t=e.target;return!(t&&!(0,l.mB)(t)||1!==e.key.length||e.ctrlKey||e.metaKey)}(r))return;const o=e.getState(),i=(0,s.hZ)(e,o.activeId)?.element;if(!i)return;const{view:a,...c}=r;i!==n?.current&&i.focus({preventScroll:!0}),(0,l.sz)(i,r.type,c)||r.preventDefault(),r.currentTarget.contains(i)&&r.stopPropagation()})}function p(e,t){const{consumedBy:n}=(0,i.t)(e);return!n||n===t}function h(e,t,n){e.getState().moves===n&&((0,i.t)(e).consumedBy=t)}const g=(0,a.ph)(function({store:e,focusOnMove:t,previousElementRef:n,present:r,scrollIntoView:o}){const u=(0,d.O$)(e,"moves"),f=(0,d.O$)(e,"compositeElement"),g=(0,c.useRef)({});return(0,c.useEffect)(()=>{const n=(0,i.t)(e);if(!u)return;if(!t)return;const a=g.current;if(!p(e,a))return;const{activeId:l}=e.getState();return null!=l&&l===n.targetId?r({id:l,requireFocus:(0,s.ic)(e),focus:!0,scrollIntoView:o,onConsume:()=>h(e,a,u)}):void 0},[e,u,t,f,r,o]),(0,a.UQ)(()=>{const t=(0,i.t)(e);if(!u)return;if(!f)return;const r=g.current;if(!p(e,r))return;const{activeId:o}=e.getState();if(null!==o)return;if(o!==t.targetId)return;h(e,r,u);const s=n.current;n.current=null,s&&(0,l.c$)(s,{relatedTarget:f}),(0,l.AJ)(f)||((0,l.tp)(f)&&f.scrollIntoView({block:"nearest",inline:"nearest"}),f.focus({preventScroll:!0}))},[e,u,f,n]),null}),m=(0,a.ab)(function({store:e,composite:t=!0,focusOnMove:n=t,moveOnKeyPress:i=!0,unstable_scrollIntoView:p,...h}){const m=(0,o.Lf)();e=e||m,(0,l.V1)(e,!1);const v=(0,c.useRef)(null),b=(0,c.useRef)(null),y=(0,s.CM)(e),[,k]=(0,a.XB)(t?e.setCompositeElement:null),x=(0,d.O$)(e,"virtualFocus"),w=(0,d.O$)(e,t&&x?["activeId"]:[],e=>t&&x?e.activeId:null);(0,a.UQ)(()=>{if(!e)return;if(!t)return;if(!x)return;const n=b.current;if(b.current=null,!n)return;const r=(0,s.hZ)(e,w)?.element||(0,l.bq)(n);r!==n&&(0,l.c$)(n,{relatedTarget:r})},[e,w,x,t]);const _=f(e,h.onKeyDownCapture,b),A=f(e,h.onKeyUpCapture,b),S=h.onFocusCapture,C=(0,a._q)(t=>{if(S?.(t),t.defaultPrevented)return;if(!e)return;const{virtualFocus:n}=e.getState();if(!n)return;const r=t.relatedTarget,o=(0,s.Qh)(t.currentTarget);(0,l.uh)(t)&&o&&(t.stopPropagation(),b.current=r)}),E=h.onFocus,T=(0,a._q)(n=>{if(E?.(n),n.defaultPrevented)return;if(!t)return;if(!e)return;const{relatedTarget:r}=n,{virtualFocus:o}=e.getState();if(o)(0,l.uh)(n)&&!(0,s.WZ)(e,r)&&queueMicrotask(()=>y({focus:!0,markedOnly:!0,requireFocus:!0,scrollIntoView:p}));else if((0,l.uh)(n)){if(!(0,s.WZ)(e,r)){const{activeId:t}=e.getState();null!=t&&y({id:t,markedOnly:!0,requireFocus:!0,scrollIntoView:p})}e.setActiveId(null)}}),I=h.onBlurCapture,j=(0,a._q)(t=>{if(I?.(t),t.defaultPrevented)return;if(!e)return;const{virtualFocus:n,activeId:r,compositeElement:o}=e.getState();if(!n)return;if(t.currentTarget!==o)return;const i=(0,s.hZ)(e,r)?.element,a=t.relatedTarget,c=(0,s.WZ)(e,a),u=b.current;b.current=null,(0,l.uh)(t)&&c?(a===i?u&&u!==a&&(0,l.c$)(u,t):i?(0,l.c$)(i,t):u&&(0,l.c$)(u,t),t.stopPropagation()):!(0,s.WZ)(e,t.target)&&i&&(0,l.c$)(i,t)}),B=h.onKeyDown,N=(0,a.O4)(i),M=(0,a._q)(t=>{if(B?.(t),t.nativeEvent.isComposing)return;if(t.defaultPrevented)return;if(!e)return;if(!(0,l.uh)(t))return;const{orientation:n,items:r,renderedItems:o,activeId:i,rtl:a}=e.getState(),c=(0,s.hZ)(e,i);if(c?.element?.isConnected)return;const u=c&&null!=i,d=u?r:o,f="horizontal"!==n,p="vertical"!==n,h=function(e){return e.some(e=>!!e.rowId)}(d);if(("ArrowLeft"===t.key||"ArrowRight"===t.key||"Home"===t.key||"End"===t.key)&&(0,l.mB)(t.currentTarget))return;const g={ArrowUp:(h||f)&&(()=>u?e.up({activeId:i,renderedItems:d}):h?function(e){return(0,s.oi)((0,l.M9)((0,l.q7)((0,s.es)(e))))}(o)?.id:e?.last()),ArrowRight:(h||p)&&(()=>u?e.next({activeId:i,renderedItems:d}):a?e.last():e.first()),ArrowDown:(h||f)&&(()=>u?e.down({activeId:i,renderedItems:d}):e.first()),ArrowLeft:(h||p)&&(()=>u?e.previous({activeId:i,renderedItems:d}):a?e.first():e.last()),Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}[t.key];if(g){const n=g();if(void 0!==n){if(!N(t))return;t.preventDefault(),e.move(n)}}});h=(0,a.w7)(h,r=>(0,u.jsxs)(o.aN,{value:e,children:[r,t&&(0,u.jsx)(g,{store:e,focusOnMove:n,previousElementRef:b,present:y,scrollIntoView:p})]}),[e,t,n,y]),h={"aria-activedescendant":(0,d.O$)(e,t&&x?["items"]:[],()=>{if(e&&t&&x)return(0,s.hZ)(e,w)?.id}),...h,ref:(0,a.SV)(v,k,h.ref),onKeyDownCapture:_,onKeyUpCapture:A,onFocusCapture:C,onFocus:T,onBlurCapture:j,onKeyDown:M};const R=(0,d.O$)(e,t&&!x?["activeId"]:[],e=>t&&(x||null===e.activeId));return h=(0,r.n)({focusable:R,...h})}),v=(0,a.Rf)(function(e){const t=m(e);return(0,a.n)("div",t)});n.d(t,["T",0,m,"e",0,v])},72300(e,t,n){"use strict";n.d(t,{CM:()=>v,Df:()=>p,Qh:()=>w,WZ:()=>_,hZ:()=>b,hk:()=>x,iT:()=>y,ic:()=>g,nc:()=>f});var r=n(62786),o=n(1252),i=n(2376),s=n(38992),a=n(35756);const l=a._d,c=a.oi,u=a.es,d=new WeakSet;function f(e){(0,o.bq)(e)===e&&(d.add(e),queueMicrotask(()=>d.delete(e)))}function p(e){d.delete(e)}function h(e){const t=e.getState();return"contentElement"in t?t.contentElement:null}function g(e){const{compositeElement:t}=e.getState(),n=(0,o.bq)(t);return!!n&&(!!t?.contains(n)||(!!_(e,n)||!!h(e)?.contains(n)))}function m({store:e,id:t,focus:n,markedOnly:r,requireFocus:i,scrollIntoView:a,onConsume:l}){let c,u=null,f=!1,p=!1,m=!1,v=!1,y=!1;const k=e.getState().compositeElement,x=(0,o.bq)(k),w=i?x:null,_=!!k?.contains(x),A=n=>{const r=b(e,c??(void 0===t?n.activeId:t));return r?.element?.isConnected?(c=r.id,r.element):null};let S,C;const E=()=>{m=!0,S?.(),C?.()};let T=!1;const I=()=>{T||(T=!0,l?.())},j=()=>{if(!m)return I(),E()},B=()=>{if(m)return;const i=e.getState();if((e=>{if("mounted"in e)if(e.mounted)v=!0;else if(v)return!0;if("open"in e)if(e.open)y=!0;else if(y)return!0;return null!=t&&null!=e.activeId&&e.activeId!==t})(i))return j();let s=!1;if(u){if(!u.isConnected&&(s=f&&!p&&(0,o.bq)(u)===(0,o.YE)(u).body,u=A(i),!u))return j()}else if(u=A(i),!u)return;if(s)f=!1;else if(!(t=>{if(!w)return!0;const n=(0,o.bq)(w);return n===w||n===t||g(e)})(u))return j();const l=n&&_&&((t,n)=>{if(!("open"in t))return!1;if(t.open)return!1;const r=h(e);if(!r?.contains(n))return!1;const{compositeElement:i}=t;return!!i&&!r.contains(i)&&(0,o.zN)(n)})(i,u);if(l){const{activeId:e}=i;if(null!=e&&e!==c)return j()}if(n&&!f&&!l){f=!0,I(),p=!1;const t=u;S?.();const n=()=>{p=!d.has(t)},r=()=>{p=!1};if(t.addEventListener("blur",n),t.addEventListener("focus",r),S=()=>{t.removeEventListener("blur",n),t.removeEventListener("focus",r)},function(e,t){const{virtualFocus:n,compositeElement:r}=e.getState();if(!n||!r||!(0,o.mB)(r))return void t();const i=r.scrollLeft,s=r.scrollTop;t(),r.scrollLeft=i,r.scrollTop=s}(e,()=>{t.focus({preventScroll:!0})}),m)return}if(r&&!u.hasAttribute("data-autofocus")){if(l)return;return j()}(0,o.zN)(u)&&("unstable_placing"in i&&i.unstable_placing||(l||j(),a?a(u):u.scrollIntoView({block:"nearest",inline:"nearest"})))};return C=(0,s.B1)(e,["activeId","items","mounted","open","unstable_placing"],B),B(),Object.assign(E,{settle:j})}function v(e){const t=(0,i.useRef)(null),n=(0,i.useRef)(e),o=(0,i.useCallback)(()=>{t.current?.(),t.current=null},[]),s=(0,i.useCallback)(r=>{if(!e)return;if(n.current!==e)return;t.current?.settle(),t.current=null;const o=m({store:e,...r});return t.current=o,o},[e]);return(0,r.UQ)(()=>(n.current=e,()=>{n.current=void 0,o()}),[e,o]),s}function b(e,t){return t&&e.item(t)||null}function y(e,t=!1){if((0,o.mB)(e))e.setSelectionRange(t?e.value.length:0,e.value.length);else if(e.isContentEditable){const n=(0,o.YE)(e).getSelection();n?.selectAllChildren(e),t&&n?.collapseToEnd()}}const k=Symbol("FOCUS_SILENTLY");function x(e){e[k]=!0,e.focus({preventScroll:!0})}function w(e){const t=e[k];return delete e[k],t}function _(e,t,n){if(!t)return!1;if(t===n)return!1;const r=e.item(t.id);return!!r&&(!n||r.element!==n)}n.d(t,["_d",0,l,"es",0,u,"oi",0,c])},36319(e,t,n){"use strict";n.d(t,{X:()=>d});var r=n(99442),o=n(63302),i=n(4920),s=n(82963),a=n(62786),l=n(2376),c=n(93236),u=n(45934);function d({store:e,backdrop:t,backdropRef:n,alwaysVisible:d,hidden:f}){const p=(0,l.useRef)(null),h=(0,o.E)({disclosure:e}),g=(0,u.O$)(e,"contentElement");(0,a.UQ)(()=>{const e=p.current,t=g;e&&t&&(e.style.zIndex=getComputedStyle(t).zIndex)},[g]),(0,a.UQ)(()=>{const e=g?.id;if(!e)return;const t=p.current;return t?(0,s.ps)(t,e):void 0},[g]);const m=(0,r.aT)({ref:(0,a.SV)(p,n),store:h,role:"presentation","data-backdrop":g?.id||"",alwaysVisible:d,...null!=f&&{hidden:f},style:{position:"fixed",top:0,right:0,bottom:0,left:0}});if(!t)return null;if((0,l.isValidElement)(t))return(0,c.jsx)(i.X,{...m,render:t});const v="boolean"!=typeof t?t:"div";return(0,c.jsx)(i.X,{...m,render:(0,c.jsx)(v,{})})}},72422(e,t,n){"use strict";var r=n(19732),o=n(62786),i=n(2376);const s=(0,o.B0)([r.sI],[r.WT]),a=(s.useContext,s.useScopedContext,s.useProviderContext),l=s.ContextProvider,c=s.ScopedContextProvider,u=(0,i.createContext)(void 0),d=(0,i.createContext)(void 0);n.d(t,["XP",0,c,"YH",0,u,"Zg",0,l,"cH",0,a,"oL",0,d])},14380(e,t,n){"use strict";var r=n(91023),o=n(72422),i=n(47706),s=n(62786),a=n(1252),l=n(45934);const c=(0,s.ab)(function({store:e,...t}){const n=(0,o.cH)();e=e||n,(0,a.V1)(e,!1);const r=(0,l.O$)(e,"contentElement");return t={"aria-haspopup":(0,a.Tc)(r,"dialog"),...t},t=(0,i.j)({store:e,...t})});(0,s.Rf)(function(e){const t=c((0,r.Y)(e));return(0,s.n)("button",t)});n.d(t,["b",0,c])},49072(e,t,n){"use strict";n.d(t,{N:()=>s,j:()=>a});var r=n(63302),o=n(45934),i=n(46118);function s(e,t,n){return(0,r.W)(e,t,n)}function a(e={}){const[t,n]=(0,o.Pj)(i.Y,e);return s(t,n,e)}},94284(e,t,n){"use strict";n.d(t,{j:()=>o});var r=n(79488);function o(e){return(0,r.Bq)(e,"aria-hidden","true")}},79729(e,t,n){"use strict";n.d(t,{A:()=>p,t:()=>f});var r=n(70277),o=n(79488),i=n(82963),s=n(12534),a=n(70966),l=n(94284),c=n(6319),u=n(43419),d=n(1252);function f(e,t){if(!("style"in e))return d.lQ;if((0,u.t)())return(0,o.oq)(e,"inert",!0);const n=(0,d.a9)(e,!0).map(e=>{if(t?.some(t=>t&&(0,d.gR)(t,e)))return d.lQ;const n=(0,o.rK)(e,"focus",()=>(e.focus=d.lQ,()=>{delete e.focus}));return(0,d.cy)((0,o.Bq)(e,"tabindex","-1"),n)});return(0,d.cy)(...n,(0,l.j)(e),(0,o.HZ)(e,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}function p(e,t){const n=[],l=t.map(e=>e?.id);(0,s.h)(e,t,o=>{(0,i.ZH)({cleanups:n,element:o,id:e,ids:l}),function({cleanups:e,element:t,elements:n,ids:o}){(0,r.t)(t,...o)||(0,c.U)(t,...o)||(0,a.t)(t,...o)||e.push(f(t,n))}({cleanups:n,element:o,elements:t,ids:l})},(r,s)=>{(0,i.uC)({cleanups:n,ancestor:r,element:s,id:e}),function(e,t,n){t.hasAttribute("role")&&(n.some(e=>e&&(0,d.gR)(e,t))||e.push((0,o.Bq)(t,"role","none")))}(n,r,t)});return()=>{(0,i.st)(n)}}},70277(e,t,n){"use strict";function r(e,...t){if(!e)return!1;const n=e.getAttribute("data-backdrop");return null!=n&&(""===n||("true"===n||(!t.length||t.some(e=>n===e))))}n.d(t,{t:()=>r})},6319(e,t,n){"use strict";function r(e,...t){if(!e)return!1;const n=e.getAttribute("data-focus-trap");return null!=n&&(!t.length||""!==n&&t.some(e=>n===e))}n.d(t,{U:()=>r})},52654(e,t,n){"use strict";n.d(t,{r:()=>i});var r=n(82963),o=n(12534);function i(e,t){const n=[],i=t.map(e=>e?.id);(0,o.h)(e,t,t=>{(0,r.ZH)({cleanups:n,element:t,id:e,ids:i})},(t,o)=>{(0,r.uC)({cleanups:n,ancestor:t,element:o,id:e})});return()=>{(0,r.st)(n)}}},79488(e,t,n){"use strict";n.d(t,{Bq:()=>i,HZ:()=>a,LY:()=>l,oq:()=>s,rK:()=>o});const r=new WeakMap;function o(e,t,n){let o=r.get(e);o||(o=new Map,r.set(e,o));const i=o.get(t)??[],s={cleanup:n(),disposed:!1};return i.length||o.set(t,i),i.push(s),()=>{i.includes(s)&&(s.disposed=!0,function(e,t,n){for(;n.length;){const r=n[n.length-1];if(!r)return void e.delete(t);if(!r.disposed)return;n.pop(),r.cleanup()}e.delete(t)}(o,t,i))}}function i(e,t,n){return o(e,t,()=>{const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{null==r?e.removeAttribute(t):e.setAttribute(t,r)}})}function s(e,t,n){return o(e,t,()=>{const r=t in e,o=e[t];return e[t]=n,()=>{r?e[t]=o:delete e[t]}})}function a(e,t){if(!e)return()=>{};return o(e,"style",()=>{const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}})}function l(e,t,n){if(!e)return()=>{};return o(e,t,()=>{const r=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{r?e.style.setProperty(t,r,o):e.style.removeProperty(t)}})}},43419(e,t,n){"use strict";function r(){return"inert"in HTMLElement.prototype}n.d(t,{t:()=>r})},82963(e,t,n){"use strict";n.d(t,{NL:()=>u,ZH:()=>f,ik:()=>c,ps:()=>l,rK:()=>d,st:()=>h,uC:()=>p});var r=n(70277),o=n(79488),i=n(1252);const s=new WeakMap;function a(e="",t="outside"){return`__ariakit-dialog-${t}${e?`-${e}`:""}`}function l(e,t=""){return(0,i.cy)((0,o.oq)(e,a("","ancestor"),!0),(0,o.oq)(e,a(t,"ancestor"),!0))}function c(e,t){const n=new WeakSet;s.set(e,n);for(const e of t)e&&n.add(e);return()=>{s.get(e)===n&&s.delete(e)}}function u(e,t){const n=s.get(t);if(!n)return!1;for(;;){if(n.has(e))return!0;if(!e.parentElement)return!1;e=e.parentElement}}function d(e,t){if(e[a(t,"ancestor")])return!0;const n=a(t);for(;;){if(e[n])return!0;if(!e.parentElement)return!1;e=e.parentElement}}function f({cleanups:e,element:t,id:n,ids:s}){(0,r.t)(t,...s)||e.push(function(e,t=""){return(0,i.cy)((0,o.oq)(e,a(),!0),(0,o.oq)(e,a(t),!0))}(t,n))}function p({cleanups:e,ancestor:t,element:n,id:r}){n.hasAttribute("data-dialog")&&n.id!==r||e.push(l(t,r))}function h(e){for(let t=e.length-1;t>=0;t-=1)e[t]?.()}},29681(e,t,n){"use strict";n.d(t,{c:()=>m});var r=n(82963),o=n(70966),i=n(69944),s=n(62786),a=n(1252),l=n(2376),c=n(45934);function u(e){const t=(0,i.vx)(e).at(-1);return(0,a.zk)(t??e)}function d(e){return e.isConnected}function f(e,t,n){return!!(0,a.gR)(t,e)||(!!function(e,t){if(!e)return!1;if((0,a.gR)(e,t))return!0;const n=t.getAttribute("aria-activedescendant");if(n){const r=(0,a.YE)(t).getElementById(n);if(r)return(0,a.gR)(e,r)}return!1}(n,e)||(!!e.hasAttribute("data-focus-trap")||(!!(0,o.t)(e,t.id)||(0,r.NL)(e,t))))}function p(e,t,n){return e.elements.some(e=>f(e,t,n))}function h({store:e,type:t,listener:n,capture:o,open:c,contentElement:f,focusedRef:h}){const g=(0,s._q)(n);(0,l.useEffect)(()=>{if(!c)return;const n=f?u(f):void 0;return(0,a.dg)(t,t=>{const{contentElement:n,disclosureElement:o}=e.getState();if(!n)return;const s=(0,i.v9)(t,n),l=s.elements[0],c=s.rootTarget;if(!(0,a.vq)(c))return;if(l&&!d(l))return;if(!d(c))return;if(p(s,n,o))return;const u=(0,a.YE)(n);(0,a.YE)(c)===u&&((0,a.YE)(l??c)===u&&function(e,t){if(!("clientY"in e))return!1;const n=t.getBoundingClientRect();return 0!==n.width&&0!==n.height&&n.top<=e.clientY&&e.clientY<=n.top+n.height&&n.left<=e.clientX&&e.clientX<=n.left+n.width}(t,n)||h.current&&!(0,r.rK)(c,n.id))||g(t)},o,n)},[c,o,e,t,g,f,h])}function g(e,t){return"function"==typeof e?e(t):!!e}function m({store:e,hideOnInteractOutside:t,domReady:n,interactedOutsideRef:o,focusedStoreRef:d}){const f=(0,c.O$)(e,"open"),m=(0,c.O$)(e,"contentElement"),v=m?u(m):void 0,b=(0,i.J)(f,v,m),y=(0,l.useRef)(!1);(0,s.UQ)(()=>{if(!f)return;if(!n)return;if(!m)return;y.current=!1;const t=()=>{y.current=!0,d.current=e};return m.addEventListener("focusin",t,!0),()=>m.removeEventListener("focusin",t,!0)},[f,n,m,e,d]);const k={store:e,capture:!0,open:f,contentElement:m,focusedRef:y};h({...k,type:"click",listener:n=>{const{contentElement:i,disclosureElement:s}=e.getState(),l=b.current;if(!l)return;if(!i)return;if(p(l,i,s))return;const c=l.rootTarget;(0,a.vq)(c)&&((0,a.YE)(c)!==(0,a.YE)(i)||(0,r.rK)(c,i.id))&&g(t,n)&&(o.current=!0,e.hide())}}),h({...k,type:"focusin",listener:n=>{const{contentElement:r}=e.getState();if(!r)return;if(n.target===(0,a.YE)(r))return;if(!g(t,n))return;const i=n.target;(0,a.vq)(i)&&(0,a.YE)(i)!==(0,a.YE)(r)&&(o.current=!0),e.hide()}}),h({...k,type:"contextmenu",listener:n=>{g(t,n)&&(o.current=!0,e.hide())}})}},24719(e,t,n){"use strict";n.d(t,{g:()=>c});var r=n(62786),o=n(1252),i=n(2376),s=n(93236),a=n(38992);const l=(0,i.createContext)({});function c(e){const t=(0,i.useContext)(l),[n,c]=(0,i.useState)([]),u=(0,i.useCallback)(e=>(c(t=>[...t,e]),(0,o.cy)(t.add?.(e),()=>{c(t=>t.filter(t=>t!==e))})),[t]);(0,r.UQ)(()=>(0,a.OH)(e,["open","contentElement"],n=>{if(n.open&&n.contentElement)return t.add?.(e)}),[e,t]);const d=(0,i.useMemo)(()=>({store:e,add:u}),[e,u]);return{wrapElement:(0,i.useCallback)(e=>(0,s.jsx)(l.Provider,{value:d,children:e}),[d]),nestedDialogs:n}}},94079(e,t,n){"use strict";n.d(t,{d:()=>d});var r=n(79488),o=n(31457),i=n(62786),s=n(1252),a=n(2376);const l=(0,s.f8)()&&!(0,s.cX)(),c=l?a.useEffect:i.UQ;function u(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function d(e,t,n){const i=(0,o.g)({attribute:"data-dialog-prevent-body-scroll",contentElement:e,contentId:t,enabled:n});c(()=>{if(!i())return;if(!e)return;const t=(0,s.YE)(e),n=(0,s.zk)(e),{documentElement:o,body:a}=t,c=o.style.getPropertyValue("--scrollbar-width"),d=c?Number.parseInt(c,10):n.innerWidth-o.clientWidth;if(l)return(()=>{const{scrollX:e,scrollY:t,visualViewport:i}=n,s=i?.offsetLeft??0,l=i?.offsetTop??0,c=(0,r.HZ)(a,{position:"fixed",overflow:"hidden",top:-(t-Math.floor(l))+"px",left:-(e-Math.floor(s))+"px",right:"0",[u(o)]:`${d}px`});return()=>{c(),n.scrollTo({left:e,top:t,behavior:"instant"})}})();const f=(()=>{const e=n.getComputedStyle(o),t=e.getPropertyValue("scrollbar-gutter"),i=t.includes("stable"),l=e=>!e||"visible"===e,c=!l(e.getPropertyValue("overflow-x"))||!l(e.getPropertyValue("overflow-y")),f=()=>(0,s.cy)((0,r.LY)(o,"overflow-x","hidden"),(0,r.LY)(o,"overflow-y","hidden")),p=e=>c?(0,s.cy)(e,f()):e;return i||d?i||function(e){const{CSS:t}=e;return!!t?.supports("scrollbar-gutter","stable")}(n)?(0,s.cy)((0,r.LY)(o,"scrollbar-gutter",i?t:"stable"),f()):p((0,s.cy)((0,r.LY)(o,"--scrollbar-width",`${d}px`),(0,r.HZ)(a,{overflow:"hidden",[u(o)]:`${d}px`}))):p((0,r.HZ)(a,{overflow:"hidden"}))})();return()=>{queueMicrotask(f)}},[i,e])}},69944(e,t,n){"use strict";n.d(t,{J:()=>a,v9:()=>s,vx:()=>i});var r=n(1252),o=n(2376);function i(e){const t=[e];for(;;){let n;try{n=(0,r.zk)(e).frameElement}catch{return t}if(!(0,r.vq)(n))return t;t.push(n),e=n}}function s(e,t){const n=e.composedPath().filter(r.vq);!n.length&&(0,r.vq)(e.target)&&n.push(e.target);const o=n[0];if(o)for(const e of i(o).slice(1))n.includes(e)||n.push(e);const s=t?.getRootNode();return{elements:n,rootTarget:s?n.find(e=>e.getRootNode()===s)||e.target:n[0]||e.target}}function a(e,t,n){const i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(!e)return void(i.current=null);return(0,r.dg)("mousedown",e=>{i.current=s(e,n)},!0,t)},[e,t,n]),i}},31457(e,t,n){"use strict";n.d(t,{g:()=>a});var r=n(62786),o=n(1252),i=n(2376),s=n(45149);function a({attribute:e,contentId:t,contentElement:n,enabled:a}){const[l,c]=(0,r.CH)(),u=(0,i.useCallback)(()=>{if(!a)return!1;if(!n)return!1;const{body:r}=(0,o.YE)(n),i=r.getAttribute(e);return!i||i===t},[l,a,n,e,t]);return(0,r.UQ)(()=>{if(!a)return;if(!t)return;if(!n)return;const{body:r}=(0,o.YE)(n);if(u())return r.setAttribute(e,t),()=>r.removeAttribute(e);const i=new MutationObserver(()=>(0,s.flushSync)(c));return i.observe(r,{attributeFilter:[e]}),()=>i.disconnect()},[l,a,t,n,u,e,c]),u}},12534(e,t,n){"use strict";n.d(t,{A:()=>c,h:()=>l});var r=n(79488),o=n(1252);const i=["SCRIPT","STYLE"];function s(e){return`__ariakit-dialog-snapshot-${e}`}function a(e,t,n){return!i.includes(t.tagName)&&(!!function(e,t){const n=(0,o.YE)(t),r=s(e);if(!n.body[r])return!0;for(;;){if(t===n.body)return!1;if(t[r])return!0;if(!t.parentElement)return!1;t=t.parentElement}}(e,t)&&!n.some(e=>e&&(0,o.gR)(t,e)))}function l(e,t,n,r){for(let i of t){if(!i?.isConnected)continue;const s=t.some(e=>!!e&&(e!==i&&e.contains(i))),l=(0,o.YE)(i),c=i;for(;i.parentElement&&i!==l.body;){if(r?.(i.parentElement,c),!s)for(const r of i.parentElement.children)a(e,r,t)&&n(r,c);i=i.parentElement}}}function c(e,t){const{body:n}=(0,o.YE)(t[0]),i=[];return l(e,t,t=>{i.push((0,r.oq)(t,s(e),!0))}),(0,o.cy)((0,r.oq)(n,s(e),!0),()=>{for(const e of i)e()})}},99442(e,t,n){"use strict";n.d(t,{dK:()=>g});var r=n(19732),o=n(72422),i=n(62786),s=n(1252),a=n(2376),l=n(93236),c=n(45934),u=n(45149);function d(e,t){const n=setTimeout(t,e);return()=>clearTimeout(n)}function f(e){const t=e?.trim()||"0s",n=t.endsWith("ms")?1:1e3,r=Number.parseFloat(t)*n;return Number.isNaN(r)?0:r}function p(e,t,n){const r=e.split(","),o=t.split(","),i=n.split(",");let s=0;for(const[e,t]of r.entries()){if("none"===t.trim())continue;const n=f(o[e%o.length]),r=f(i[e%i.length]);s=Math.max(s,n+r)}return s}function h(e){const{transitionProperty:t,transitionDuration:n,transitionDelay:r,animationName:o,animationDuration:i,animationDelay:s}=getComputedStyle(e);return Math.max(p(t,r,n),p(o,s,i))}function g(e,t,n){return!(n||!1===t||e&&!t)}const m=(0,i.ab)(function({store:e,alwaysVisible:t,unstable_otherElementRef:n,...f}){const p=(0,r.vO)();e=e||p,(0,s.V1)(e,!1);const m=(0,a.useRef)(null),v=(0,i.Bi)(f.id),[b,y]=(0,a.useState)(null),{open:k,mounted:x,animated:w,contentElement:_}=(0,c.PX)(e,{open:"open",mounted:"mounted",animated:"animated",contentElement:"contentElement"}),A=(0,c.O$)(e.disclosure,"contentElement"),S=(0,a.useRef)(!1);(0,i.UQ)(()=>{m.current&&e?.setContentElement(m.current)},[e]),(0,i.UQ)(()=>{let t;return e?.setState("animated",e=>(t=e,!0)),()=>{void 0!==t&&e?.setState("animated",t)}},[e]),(0,i.UQ)(()=>{if(w){if(_?.isConnected)return(0,s.ny)(()=>{y(k?"enter":x?"leave":null)});y(null)}else k?S.current&&(S.current=!1,y("enter")):(S.current=!0,y(null))},[w,_,k,x]),(0,i.UQ)(()=>{if(!e)return;if(!w)return;if(!b)return;if(!_)return;const t=()=>e?.setState("animating",!1),r=()=>(0,u.flushSync)(t);if("leave"===b&&k)return;if("enter"===b&&!k)return;if("number"==typeof w)return d(w,r);const o=[_];A&&o.push(A);const i=n?.current;i&&o.push(i);const s=Math.max(...o.map(h));return s?d(Math.max(s-1e3/60,0),r):("enter"===b&&e.setState("animated",!1),void t())},[e,w,_,A,n,k,b]),f=(0,i.w7)(f,t=>(0,l.jsx)(o.XP,{value:e,children:t}),[e]);const C=g(x,f.hidden,t),E=f.style,T=(0,a.useMemo)(()=>C?{...E,display:"none"}:E,[C,E]);return f={"data-open":k||void 0,"data-enter":"enter"===b||void 0,"data-leave":"leave"===b||void 0,hidden:C,...f,id:v,ref:(0,i.SV)(v?e.setContentElement:null,m,f.ref),style:T},(0,s.HR)(f)}),v=(0,i.Rf)(function(e){const t=m(e);return(0,i.n)("div",t)});(0,i.Rf)(function({unmountOnHide:e,...t}){const n=(0,r.vO)(),o=t.store||n;return!1===(0,c.O$)(o,["mounted"],t=>!e||t?.mounted)?null:(0,l.jsx)(v,{...t})});n.d(t,["aT",0,m])},19732(e,t,n){"use strict";const r=(0,n(62786).B0)(),o=(r.useContext,r.useScopedContext,r.useProviderContext),i=r.ContextProvider,s=r.ScopedContextProvider;n.d(t,["WT",0,s,"sI",0,i,"vO",0,o])},63302(e,t,n){"use strict";n.d(t,{E:()=>a,W:()=>s});var r=n(62786),o=n(45934),i=n(85388);function s(e,t,n){return(0,r.w5)(t,[n.store,n.disclosure,t]),(0,o.Tz)(e,n,"open","setOpen"),(0,o.Tz)(e,n,"mounted","setMounted"),(0,o.Tz)(e,n,"animated"),Object.assign(e,{disclosure:n.disclosure})}function a(e={}){const[t,n]=(0,o.Pj)(i.h,e);return s(t,n,e)}},47706(e,t,n){"use strict";var r=n(91023),o=n(45676),i=n(19732),s=n(62786),a=n(1252),l=n(2376),c=n(45934);const u=Symbol("disclosure"),d=(0,s.ab)(function({store:e,toggleOnClick:t=!0,...n}){const r=(0,i.vO)();e=e||r,(0,a.V1)(e,!1);const d=(0,l.useRef)(null),[f,p]=(0,l.useState)(!1),h=(0,c.O$)(e,"disclosureElement"),g=(0,c.O$)(e,"open"),m=(0,l.useCallback)(t=>{const n=d.current;d.current=t,t?(e?.getState().disclosureElement)?.isConnected||e.setDisclosureElement(t):e?.getState().disclosureElement===n&&e.setDisclosureElement(null)},[e]);(0,l.useEffect)(()=>{let t=h===d.current;h?.isConnected||(e?.setDisclosureElement(d.current),t=!0),p(g&&t)},[h,e,g]);const v=n.onClick,b=(0,s.O4)(t),[y,k]=(0,s.P1)(n,u,!0),x=(0,s._q)(t=>{v?.(t),t.defaultPrevented||y||b(t)&&(e?.setDisclosureElement(t.currentTarget),e?.toggle())});return n={"aria-expanded":f,"aria-controls":(0,c.O$)(e,"contentElement")?.id,...k,...n,ref:(0,s.SV)(m,n.ref),onClick:x},n=(0,o.s)(n)});(0,s.Rf)(function(e){const t=d((0,r.Y)(e));return(0,s.n)("button",t)});n.d(t,["j",0,d])},80136(e,t,n){"use strict";var r=n(8334),o=n(62786);const i=(0,o.ab)(function(e){return e={"data-focus-trap":"",tabIndex:0,"aria-hidden":!0,...e,style:{position:"fixed",top:0,left:0,...e.style}},e=(0,r.BB)(e)}),s=(0,o.Rf)(function(e){const t=i(e);return(0,o.n)("span",t)});n.d(t,["s",0,s])},85568(e,t,n){"use strict";var r=n(68292),o=n(62786),i=n(93236);const s=(0,o.ab)(function({autoFocusOnShow:e=!0,...t}){return t=(0,o.w7)(t,t=>(0,i.jsx)(r.g.Provider,{value:e,children:t}),[e])});(0,o.Rf)(function(e){const t=s(e);return(0,o.n)("div",t)});n.d(t,["D",0,s])},68292(e,t,n){"use strict";const r=(0,n(2376).createContext)(!0);n.d(t,["g",0,r])},72011(e,t,n){"use strict";const r=(0,n(2376).createContext)(void 0);n.d(t,["L",0,r])},97781(e,t,n){"use strict";var r=n(72011),o=n(62786),i=n(2376);const s=(0,o.ab)(function(e){const t=(0,i.useContext)(r.L),n=(0,o.Bi)(e.id);return(0,o.UQ)(()=>(t?.(n),()=>t?.(void 0)),[t,n]),e={"aria-hidden":!0,...e,id:n}});(0,o.Rf)(function(e){const t=s(e);return(0,o.n)("div",t)});n.d(t,["$",0,s])},90810(e,t,n){"use strict";var r=n(72011),o=n(62786),i=n(2376),s=n(93236);const a=(0,o.ab)(function(e){const[t,n]=(0,i.useState)();return e={role:"group","aria-labelledby":null!=(e=(0,o.w7)(e,e=>(0,s.jsx)(r.L.Provider,{value:n,children:e}),[]))["aria-label"]?void 0:t,...e}});(0,o.Rf)(function(e){const t=a(e);return(0,o.n)("div",t)});n.d(t,["d",0,a])},42020(e,t,n){"use strict";const r=(0,n(2376).createContext)(0);n.d(t,["A",0,r])},85485(e,t,n){"use strict";n.d(t,{F:()=>s});var r=n(42020),o=n(2376),i=n(93236);function s({level:e,children:t}){const n=(0,o.useContext)(r.A),s=Math.max(Math.min(e||n+1,6),1);return(0,i.jsx)(r.A.Provider,{value:s,children:t})}},54254(e,t,n){"use strict";var r=n(35575),o=n(70620),i=n(62786),s=n(1252);const a=(0,i.ab)(function({store:e,showOnHover:t=!0,...n}){const i=(0,o.Kw)();return e=e||i,(0,s.V1)(e,!1),(0,r.t)({store:e,showOnHover:t,setAnchorElement:!0,...n})});(0,i.Rf)(function(e){const t=a(e);return(0,i.n)("a",t)});n.d(t,["p",0,a])},70620(e,t,n){"use strict";var r=n(59740);const o=(0,n(62786).B0)([r.wf],[r.s1]),i=(o.useContext,o.useScopedContext,o.useProviderContext),s=o.ContextProvider,a=o.ScopedContextProvider;n.d(t,["Kw",0,i,"n0",0,a,"pR",0,s])},42030(e,t,n){"use strict";n.d(t,{B:()=>i});var r=n(38382),o=n(45934);function i(e,t,n){return(0,o.Tz)(e,n,"timeout"),(0,o.Tz)(e,n,"showTimeout"),(0,o.Tz)(e,n,"hideTimeout"),(0,r.o)(e,t,n)}},78434(e,t,n){"use strict";var r=n(55194),o=n(44226),i=n(70620),s=n(80106),a=n(62786),l=n(1252),c=n(2376),u=n(93236),d=n(45934),f=n(38992);function p({event:e,element:t,enterPointRef:n,disablePointerEvents:r,refreshEnterPoint:o=!1}){const i=n.current;if(!i)return!1;const a=(0,s.TH)(e),l=(0,s.br)(t,i);return!!(0,s.yg)(a,l)&&(o&&(n.current=a),r(e)&&(e.preventDefault(),e.stopPropagation()),!0)}const h=(0,c.createContext)(null),g=(0,a.ab)(function({store:e,modal:t=!1,portal:n=t,hideOnEscape:r=!0,hideOnHoverOutside:g=!0,disablePointerEventsOnApproach:m=!!g,...v}){const b=(0,i.Kw)();e=e||b,(0,l.V1)(e,!1);const y=(0,c.useRef)(null),k=(0,c.useRef)([]),x=(0,c.useRef)(0),w=(0,c.useRef)(null),{portalRef:_,domReady:A}=(0,a.TE)(n,v.portalRef),S=(0,a.P$)(),C=!!g,E=(0,a.O4)(g),T=!!m,I=(0,a.O4)(m),j=(0,d.O$)(e,"open"),B=(0,d.O$)(e,"mounted"),N=(0,c.useCallback)(()=>{window.clearTimeout(x.current),x.current=0},[]);(0,c.useEffect)(()=>{if(!A)return;if(!B)return;if(!C&&!T)return;const t=y.current;if(!t)return;return(0,l.cy)((0,l.dg)("mousemove",n=>{if(!e)return;if(!S())return;const{anchorElement:r,disclosureElement:o,hideTimeout:i,timeout:a}=e.getState(),c=n.composedPath(),u=[r,o],d=u.find(e=>e&&c.includes(e));if(function(e,t,n,r){return!!((0,l.oW)(t)||e.includes(t)||n.some(t=>t&&e.includes(t))||r?.some(t=>(0,l.oW)(t)||e.includes(t)))}(c,t,u,k.current))return w.current=d?(0,s.TH)(n):null,void N();x.current||p({event:n,element:t,enterPointRef:w,disablePointerEvents:I,refreshEnterPoint:!0})||E(n)&&(x.current=window.setTimeout(()=>{x.current=0,e?.hide()},i??a))},!0),N)},[e,S,A,B,C,T,k,N,I,E]),(0,c.useEffect)(()=>{if(!A)return;if(!B)return;if(!T)return;const e=e=>{const t=y.current;t&&p({event:e,element:t,enterPointRef:w,disablePointerEvents:I})};return(0,l.cy)((0,l.dg)("mouseenter",e,!0),(0,l.dg)("mouseover",e,!0),(0,l.dg)("mouseout",e,!0),(0,l.dg)("mouseleave",e,!0))},[A,B,T,I]),(0,c.useEffect)(()=>{A&&(j||e?.setAutoFocusOnShow(!1))},[e,A,j]);const M=(0,a.hX)(j);(0,c.useEffect)(()=>{if(A)return()=>{M.current||e?.setAutoFocusOnShow(!1)}},[e,A]);const R=(0,c.useContext)(h);(0,a.UQ)(()=>{if(t)return;if(!n)return;if(!B)return;if(!A)return;const e=y.current;return e?R?.(e):void 0},[t,n,B,A,R]);const O=(0,c.useCallback)(e=>{N(),k.current=[...k.current,e];const t=R?.(e);return()=>{N(),k.current=k.current.filter(t=>t!==e),t?.()}},[N,R]);v=(0,a.w7)(v,t=>(0,u.jsx)(i.n0,{value:e,children:(0,u.jsx)(h.Provider,{value:O,children:t})}),[e,O]),v={...v,ref:(0,a.SV)(y,v.ref)},v=function({store:e,...t}){const[n,r]=(0,c.useState)(!1),o=(0,d.O$)(e,"mounted");(0,c.useEffect)(()=>{o||r(!1)},[o]);const i=t.onFocus,s=(0,a._q)(e=>{i?.(e),e.defaultPrevented||r(!0)}),l=(0,c.useRef)(null);return(0,c.useEffect)(()=>(0,f.OH)(e,["anchorElement"],e=>{l.current=e.anchorElement}),[e]),{autoFocusOnHide:n,finalFocus:l,...t,onFocus:s}}({store:e,...v});const L=(0,d.O$)(e,["autoFocusOnShow"],e=>t||e.autoFocusOnShow);return v=(0,o.f)({store:e,modal:t,portal:n,autoFocusOnShow:L,...v,portalRef:_,hideOnEscape:t=>!(0,l.zO)(r,t)&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{e?.hide()})}),!0)})});(0,r.n)((0,a.Rf)(function(e){const t=g(e);return(0,a.n)("div",t)}),i.Kw);n.d(t,["a",0,g])},80106(e,t,n){"use strict";function r(e){return[e.clientX,e.clientY]}function o(e,t){const[n,r]=e;let o=!1;for(let e=t.length,i=0,s=e-1;i<e;s=i++){const a=t[i],l=t[s],c=t[0===s?e-1:s-1];if(null==a)return!1;if(null==l)return!1;if(null==c)return!1;const[u,d]=a,[f,p]=l,[,h]=c,g=(d-p)*(n-u)-(u-f)*(r-d);if(p<d){if(r>=p&&r<d){if(0===g)return!0;g>0&&(r===p?r>h&&(o=!o):o=!o)}}else if(d<p){if(r>d&&r<=p){if(0===g)return!0;g<0&&(r===p?r<h&&(o=!o):o=!o)}}else if(r===d&&(n>=f&&n<=u||n>=u&&n<=f))return!0}return o}function i(e,t){const n=e.getBoundingClientRect(),{top:r,right:o,bottom:i,left:s}=n,[a,l]=function(e,t){const{top:n,right:r,bottom:o,left:i}=t,[s,a]=e;return[s<i?"left":s>r?"right":null,a<n?"top":a>o?"bottom":null]}(t,n),c=[t];return a?("top"!==l&&c.push(["left"===a?s:o,r]),c.push(["left"===a?o:s,r]),c.push(["left"===a?o:s,i]),"bottom"!==l&&c.push(["left"===a?s:o,i])):"top"===l?(c.push([s,r]),c.push([s,i]),c.push([o,i]),c.push([o,r])):(c.push([s,i]),c.push([s,r]),c.push([o,r]),c.push([o,i])),c}n.d(t,{TH:()=>r,br:()=>i,yg:()=>o})},83927(e,t,n){"use strict";var r=n(91023),o=n(38350),i=n(22174),s=n(4920),a=n(16663),l=n(35575),c=n(83204),u=n(62786),d=n(1252),f=n(2376),p=n(93236),h=n(45934);function g(e,t){return!!e?.some(e=>!!e.element&&(e.element!==t&&"true"===e.element.getAttribute("aria-expanded")))}const m=(0,u.ab)(function({store:e,focusable:t,accessibleWhenDisabled:n,showOnHover:r,unstable_showOnHoverWhenDisabled:m=!1,...v}){const b=(0,c.jj)();e=e||b,(0,d.V1)(e,!1);const y=(0,f.useRef)(null),k=e.parent,x=e.menubar,w=!!k,_=!!x&&!w,A=(0,d.$f)(v),S=e=>A||(0,d.lp)(e),C=()=>{const t=y.current;t&&(e?.setDisclosureElement(t),e?.show())},E=v.onFocus,T=(0,u._q)(t=>{if(E?.(t),S(t.currentTarget))return;if(t.defaultPrevented)return;if(e?.setAutoFocusOnShow(!1),e?.setActiveId(null),!x)return;if(!_)return;const{items:n}=x.getState();g(n,t.currentTarget)&&C()}),I=(0,h.O$)(e,["placement"],e=>(0,a.t)(e.placement)),j=v.onKeyDown,B=(0,u._q)(t=>{if(j?.(t),S(t.currentTarget))return;if(t.defaultPrevented)return;const n=function(e,t){return{ArrowDown:("bottom"===t||"top"===t)&&"first",ArrowUp:("bottom"===t||"top"===t)&&"last",ArrowRight:"right"===t&&"first",ArrowLeft:"left"===t&&"first"}[e.key]}(t,I);if(n){t.preventDefault();const{open:r}=e.getState();if(r){const t="last"===n?e.last():e.first();return void e.move(t)}C(),e?.setAutoFocusOnShow(!0),e?.setInitialFocus(n)}}),N=v.onClick,M=(0,u._q)(t=>{if(N?.(t),t.defaultPrevented)return;if(!e)return;const n=!t.detail,{open:r}=e.getState();r&&!n||(w&&!n||e.setAutoFocusOnShow(!0),e.setInitialFocus(n?"first":"container")),w&&C()});v=(0,u.w7)(v,t=>(0,p.jsx)(c.Su,{value:e,children:t}),[e]),w&&(v={...v,render:(0,p.jsx)(s.X.div,{render:v.render})});const R=(0,u.Bi)(v.id),O=(0,h.O$)(k?.combobox||k,"contentElement"),L=w||_?(0,d.cn)(O,"menuitem"):void 0,P=(0,h.O$)(e,"contentElement"),D=!!e.combobox;return v={role:L,"aria-haspopup":(0,d.Tc)(P,D?"dialog":"menu"),...v,id:R,ref:(0,u.SV)(y,v.ref),onFocus:T,onKeyDown:B,onClick:M},v=(0,l.t)({store:e,focusable:t,accessibleWhenDisabled:n,...v,unstable_showOnHoverWhenDisabled:m,showOnHover:e=>{if(!(()=>{if("function"==typeof r)return r(e);if(null!=r)return r;if(w)return!0;if(!x)return!1;const{items:t}=x.getState();return _&&g(t)})())return!1;const t=_?x:k;return!t||(t.setActiveId(e.currentTarget.id),!0)}}),v=(0,o.y)({store:e,toggleOnClick:!w,focusable:t,accessibleWhenDisabled:n,...v}),v=(0,i.g)({store:e,typeahead:_,...v})}),v=(0,u.Rf)(function(e){const t=m(e);return(0,u.n)("button",(0,r.Y)(t))});n.d(t,["I",0,v])},83204(e,t,n){"use strict";var r=n(96652),o=n(70620),i=n(62786),s=n(2376);const a=(0,i.B0)([r.ws,o.pR],[r.aN,o.n0]),l=a.useContext,c=a.useScopedContext,u=a.useProviderContext,d=a.ContextProvider,f=a.ScopedContextProvider,p=(0,s.createContext)(void 0),h=(0,s.createContext)(!1);n.d(t,["B",0,h,"Gq",0,f,"KZ",0,l,"Su",0,d,"jj",0,u,"lY",0,p,"wI",0,c])},26363(e,t,n){"use strict";var r=n(3283),o=n(62786);const i=(0,o.ab)(function(e){return e=(0,r.S)(e)}),s=(0,o.Rf)(function(e){const t=i(e);return(0,o.n)("div",t)});n.d(t,["N",0,s])},37780(e,t,n){"use strict";var r=n(75868),o=n(62786);const i=(0,o.ab)(function(e){return e=(0,r.u)(e)}),s=(0,o.Rf)(function(e){const t=i(e);return(0,o.n)("div",t)});n.d(t,["r",0,s])},7437(e,t,n){"use strict";var r=n(21043),o=n(83204),i=n(62786),s=n(2376);const a=(0,i.ab)(function({store:e,checked:t,...n}){const i=(0,s.useContext)(o.lY);return t=t??i,n=(0,r.H)({...n,checked:t})}),l=(0,i.Rf)(function(e){const t=a(e);return(0,i.n)("span",t)});n.d(t,["p",0,l])},69220(e,t,n){"use strict";var r=n(94534),o=n(25015),i=n(83204),s=n(88328),a=n(62786),l=n(1252),c=n(2376),u=n(45934);function d(e,t,n){if(void 0===t)return Array.isArray(e)?e:!!n;const r=(0,o.r)(t);return Array.isArray(e)?n?e.includes(r)?e:[...e,r]:e.filter(e=>e!==r):n?r:e!==r&&e}const f=(0,a.ab)(function({store:e,name:t,value:n,checked:f,defaultChecked:p,hideOnClick:h=!1,...g}){const m=(0,i.wI)();e=e||m,(0,l.V1)(e,!1);const v=(0,a.nf)(p);(0,c.useEffect)(()=>{e?.setValue(t,(e=void 0!==n&&[])=>v?d(e,n,!0):e)},[e,t,n,v]),(0,c.useEffect)(()=>{void 0!==f&&e?.setValue(t,e=>d(e,n,f))},[e,t,n,f]);const b=(0,r.s)({value:(0,u.O$)(e,["values"],e=>e.values[t]),setValue(r){e?.setValue(t,()=>{if(void 0===f)return r;const e=d(r,n,f);return Array.isArray(e)&&Array.isArray(r)&&(0,l.bN)(r,e)?r:e})}});return g={role:"menuitemcheckbox",...g},g=(0,o.n)({store:b,name:t,value:n,checked:f,...g}),g=(0,s.O)({store:e,hideOnClick:h,...g})}),p=(0,a.ph)((0,a.Rf)(function(e){const t=f(e);return(0,a.n)("div",t)}));n.d(t,["K",0,p])},2218(e,t,n){"use strict";var r=n(46450),o=n(83204),i=n(88328),s=n(62786),a=n(1252),l=n(2376),c=n(93236),u=n(45934);function d(e,t,n){return void 0===n?e:n?t:e!==t&&e}const f=(0,s.ab)(function({store:e,name:t,value:n,checked:f,defaultChecked:p,onChange:h,hideOnClick:g=!1,...m}){const v=(0,o.wI)();e=e||v,(0,a.V1)(e,!1);const b=(0,s.nf)(p);(0,l.useEffect)(()=>{e?.setValue(t,(e=!1)=>d(e,n,b))},[e,t,n,b]),(0,l.useEffect)(()=>{void 0!==f&&e?.setValue(t,e=>d(e,n,f))},[e,t,n,f]);const y=(0,u.O$)(e,["values"],e=>e.values[t]===n);return m=(0,s.w7)(m,e=>(0,c.jsx)(o.lY.Provider,{value:y,children:e}),[y]),m={role:"menuitemradio",...m},m=(0,r.z)({name:t,value:n,checked:y,onChange(r){if(h?.(r),r.defaultPrevented)return;const o=r.currentTarget;e?.setValue(t,e=>d(e,n,f??o.checked))},...m}),m=(0,i.O)({store:e,hideOnClick:g,...m})}),p=(0,s.ph)((0,s.Rf)(function(e){const t=f(e);return(0,s.n)("div",t)}));n.d(t,["s",0,p])},88328(e,t,n){"use strict";var r=n(98665),o=n(18864),i=n(42144),s=n(83204),a=n(62786),l=n(1252),c=n(2376),u=n(45934);const d=(0,a.ab)(function({store:e,hideOnClick:t=!0,preventScrollOnKeyDown:n=!0,focusOnHover:d,blurOnHoverEnd:f,...p}){const h=(0,s.wI)(!0),g=(0,i.L8)();e=e||h||g,(0,l.V1)(e,!1);const m=p.onClick,v=(0,a.O4)(t),b="hideAll"in e?e.hideAll:void 0,y=!!b,k=(0,a._q)(e=>{if(m?.(e),e.defaultPrevented)return;if((0,l.RN)(e))return;if((0,l.$b)(e))return;if(!b)return;const t=e.currentTarget.getAttribute("aria-haspopup");t&&"false"!==t||v(e)&&b()}),x=(0,u.O$)(e,["contentElement"],e=>"contentElement"in e?e.contentElement:null),w=(0,c.useContext)(s.B);return p={role:(0,l.cn)(x,"menuitem"),...p,onClick:k},p=(0,o.k)({store:e,preventScrollOnKeyDown:n,...p,shouldRegisterItem:!w&&p.shouldRegisterItem}),p=(0,r.T)({store:e,...p,focusOnHover(t){if(!e)return!1;if(!("function"==typeof d?d(t):null==d||d))return!1;const{compositeElement:n,items:r}=e.getState();return y?(t.currentTarget.hasAttribute("aria-expanded")&&t.currentTarget.focus({preventScroll:!0}),!0):!!function(e,t,n){if(!e)return!1;if((0,l.oW)(e))return!0;const r=(t?.find(e=>e.element!==n&&"true"===e.element?.getAttribute("aria-expanded")))?.element?.getAttribute("aria-controls");if(!r)return!1;const o=(0,l.YE)(e).getElementById(r);return!(!o||!(0,l.oW)(o)&&!o.querySelector("[role=menuitem][aria-expanded=true]"))}(n,r,t.currentTarget)&&(t.currentTarget.focus({preventScroll:!0}),!0)},blurOnHoverEnd:e=>"function"==typeof f?f(e):null!=f?f:y})}),f=(0,a.ph)((0,a.Rf)(function(e){const t=d(e);return(0,a.n)("div",t)}));n.d(t,["D",0,f,"O",0,d])},60179(e,t,n){"use strict";var r=n(24786),o=n(99442),i=n(22174),s=n(16663),a=n(83204),l=n(62786),c=n(1252),u=n(2376),d=n(93236),f=n(45934);const p=(0,l.ab)(function({store:e,alwaysVisible:t,composite:n,...p}){const h=(0,a.jj)();e=e||h,(0,c.V1)(e,!1);const g=e.parent,m=e.menubar,v=!!g,b=(0,l.Bi)(p.id),y=p.onKeyDown,k=(0,f.O$)(e,["placement"],e=>(0,s.t)(e.placement)),x=(0,f.O$)(e,["orientation"],e=>"both"===e.orientation?void 0:e.orientation),w="vertical"!==x,_=(0,f.O$)(m,["orientation"],e=>!!e&&"vertical"!==e.orientation),A=(0,l._q)(t=>{if(y?.(t),!t.defaultPrevented){if(v||m&&!w){const n={ArrowRight:()=>"left"===k&&!w,ArrowLeft:()=>"right"===k&&!w,ArrowUp:()=>"bottom"===k&&w,ArrowDown:()=>"top"===k&&w}[t.key];if(n?.())return t.stopPropagation(),t.preventDefault(),e?.hide()}if(m){const e={ArrowRight:()=>{if(_)return m.next()},ArrowLeft:()=>{if(_)return m.previous()},ArrowDown:()=>{if(!_)return m.next()},ArrowUp:()=>{if(!_)return m.previous()}}[t.key],n=e?.();void 0!==n&&(t.stopPropagation(),t.preventDefault(),m.move(n))}}});p=(0,l.w7)(p,t=>(0,d.jsx)(a.Gq,{value:e,children:t}),[e]);const S=function({store:e,...t}){const[n,r]=(0,u.useState)(void 0),o=t["aria-label"],i=(0,f.O$)(e,"disclosureElement"),s=(0,f.O$)(e,"contentElement");return(0,u.useEffect)(()=>{if(!s)return;const e=o||s.hasAttribute("aria-label")?void 0:i?.id||void 0;r(e)},[o,i,s]),n}({store:e,...p}),C=(0,f.O$)(e,"mounted"),E=(0,o.dK)(C,p.hidden,t),T=E?{...p.style,display:"none"}:p.style;p=(0,l.w7)(p,e=>(0,d.jsx)(a.B.Provider,{value:E,children:e}),[E]),p={"aria-labelledby":S,hidden:E,...p,id:b,ref:(0,l.SV)(b?e.setContentElement:null,p.ref),style:T,onKeyDown:A};const I=!!e.combobox;return(n=n??!I)&&(p={role:"menu","aria-orientation":x,...p}),p=(0,r.T)({store:e,composite:n,...p}),p=(0,i.g)({store:e,typeahead:!I,...p})});(0,l.Rf)(function(e){const t=p(e);return(0,l.n)("div",t)});n.d(t,["j",0,p])},28832(e,t,n){"use strict";var r=n(4872),o=n(83204),i=n(62786);const s=(0,i.ab)(function({store:e,...t}){const n=(0,o.KZ)();return e=e||n,t=(0,r._)({store:e,...t})}),a=(0,i.Rf)(function(e){const t=s(e);return(0,i.n)("hr",t)});n.d(t,["b",0,a])},58966(e,t,n){"use strict";n.d(t,{c:()=>d});var r=n(38740),o=n(65694),i=n(42030),s=n(42144),a=n(83204),l=n(62786),c=n(45934),u=n(35236);function d(e={}){const t=(0,a.KZ)(),n=(0,s.tt)(),d=(0,r.PV)();e={...e,parent:void 0!==e.parent?e.parent:t,menubar:void 0!==e.menubar?e.menubar:n,combobox:void 0!==e.combobox?e.combobox:d};const[f,p]=(0,c.Pj)(u.X,e);return function(e,t,n){return(0,l.w5)(t,[n.combobox,n.parent,n.menubar,t]),(0,c.Tz)(e,n,"values","setValues"),Object.assign((0,i.B)((0,o.YO)(e,t,n),t,n),{combobox:n.combobox,parent:n.parent,menubar:n.menubar})}(f,p,e)}},48522(e,t,n){"use strict";var r=n(55194),o=n(78434),i=n(83204),s=n(60179),a=n(62786),l=n(1252),c=n(2376),u=n(45934);const d=(0,a.ab)(function({store:e,modal:t=!1,portal:n=t,hideOnEscape:d=!0,autoFocusOnShow:f=!0,hideOnHoverOutside:p,alwaysVisible:h,getPersistentElements:g,unstable_treeSnapshotKey:m,...v}){const b=(0,i.jj)();e=e||b,(0,l.V1)(e,!1);const y=(0,c.useRef)(null),k=e.parent,x=e.menubar,w=!!k,_=!!x&&!w,A=!w&&t;v={...v,ref:(0,a.SV)(y,v.ref)};const{"aria-labelledby":S,...C}=(0,s.j)({store:e,alwaysVisible:h,...v});v=C;const[E,T]=(0,c.useState)(),I=(0,u.O$)(e,["autoFocusOnShow","initialFocus","renderedItems","compositeElement"],e=>{if(!e.autoFocusOnShow)return;const t=e=>!e.disabled&&!!e.element;switch(e.initialFocus){case"first":return e.renderedItems.find(t)?.element||null;case"last":for(let n=e.renderedItems.length-1;n>=0;n-=1){const r=e.renderedItems[n];if(r&&t(r))return r.element}return null;default:return e.compositeElement}});(0,c.useEffect)(()=>{let e=!1;return T(t=>{if(e)return;if(A&&t?.current?.isConnected)return t;if(void 0===I)return;if(I&&I===t?.current)return t;const n=(0,c.createRef)();return n.current=I,n}),()=>{e=!0}},[A,I]);const j=!!E||!!v.initialFocus||A,B=!1!==f&&(j&&f),N=(0,u.O$)(e,["disclosureElement","anchorElement"],e=>e.disclosureElement||e.anchorElement),M=(0,u.O$)(e,["disclosureElement","contentElement"],e=>{const{disclosureElement:t,contentElement:n}=e;return t?.isConnected?(0,r.i)(t)||n?.contains(t)?null:t:null}),R=A?M:null,O=(0,c.useMemo)(()=>[m,R],[m,R]),L=(0,u.O$)(e.combobox||e,"contentElement"),P=(0,u.O$)(k?.combobox||k,"contentElement"),D=(0,c.useMemo)(()=>{if(!P)return;if(!L)return;const e=L.getAttribute("role"),t=P.getAttribute("role");return"menu"!==t&&"menubar"!==t||"menu"!==e?P:void 0},[L,P]);return void 0!==D&&(v={preserveTabOrderAnchor:D,...v}),v=(0,o.a)({store:e,alwaysVisible:h,initialFocus:E,autoFocusOnShow:B,finalFocus:N,...v,hideOnEscape:t=>!(0,l.zO)(d,t)&&(e?.hideAll(),!0),hideOnHoverOutside(t){const n=e?.getState().disclosureElement;return!!("function"==typeof p?p(t):null!=p?p:w||_&&(!n||!(0,l.oW)(n)))&&(!!t.defaultPrevented||(!w||(!n||((0,l.rC)(n,"mouseout",t),!(0,l.oW)(n)||(requestAnimationFrame(()=>{(0,l.oW)(n)||e?.hide()}),!1)))))},getPersistentElements(){const e=g?.()||[];return A&&M?[...e,M]:e},unstable_treeSnapshotKey:O,modal:A,portal:n,backdrop:!w&&v.backdrop}),v={"aria-labelledby":S,...v}}),f=(0,r.n)((0,a.Rf)(function(e){const t=d(e);return(0,a.n)("div",t)}),i.jj);n.d(t,["W",0,f])},42144(e,t,n){"use strict";var r=n(96652);const o=(0,n(62786).B0)([r.ws],[r.aN]),i=o.useContext,s=o.useScopedContext;o.useProviderContext,o.ContextProvider,o.ScopedContextProvider;n.d(t,["L8",0,s,"tt",0,i])},59740(e,t,n){"use strict";var r=n(72422);const o=(0,n(62786).B0)([r.Zg],[r.XP]),i=(o.useContext,o.useScopedContext,o.useProviderContext),s=o.ContextProvider,a=o.ScopedContextProvider;n.d(t,["s1",0,a,"wf",0,s,"zG",0,i])},38350(e,t,n){"use strict";var r=n(91023),o=n(59740),i=n(14380),s=n(62786),a=n(1252),l=n(93236);const c=(0,s.ab)(function({store:e,...t}){const n=(0,o.zG)();return e=e||n,(0,a.V1)(e,!1),t=(0,s.w7)(t,t=>(0,l.jsx)(o.s1,{value:e,children:t}),[e]),t=(0,i.b)({store:e,...t})});(0,s.Rf)(function(e){const t=c((0,r.Y)(e));return(0,s.n)("button",t)});n.d(t,["y",0,c])},38382(e,t,n){"use strict";n.d(t,{o:()=>s});var r=n(49072),o=n(62786),i=n(45934);function s(e,t,n){return(0,o.w5)(t,[n.popover,t]),(0,i.Tz)(e,n,"placement"),(0,r.N)(e,t,n)}},44226(e,t,n){"use strict";var r=n(59740),o=n(99442),i=n(55194),s=n(16663),a=n(62786),l=n(1252),c=n(2376),u=n(93236),d=n(45934),f=n(38992),p=n(25569);const h=new WeakMap;function g(e=0,t=0,n=0,r=0){if("function"==typeof DOMRect)return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...o,toJSON:()=>o}}function m(e,t){return{contextElement:e||void 0,getBoundingClientRect:()=>{const n=e,r=t?.(n);return r||!n?function(e){if(!e)return g();const{x:t,y:n,width:r,height:o}=e;return g(t,n,r,o)}(r):n.getBoundingClientRect()}}}function v(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function b(e){const t=window.devicePixelRatio||1;return Math.round(e*t)/t}function y(e,t){return(0,p.cY)(({placement:n})=>{const r=(e?.clientHeight||0)/2,o="number"==typeof t.gutter?t.gutter+r:t.gutter??r;return{crossAxis:n.split("-")[1]?void 0:t.shift,mainAxis:o,alignmentAxis:t.shift}})}function k(e){if(!1===e.flip)return;const t="string"==typeof e.flip?e.flip.split(" "):void 0;return(0,l.V1)(!t||t.every(v),!1),(0,p.UU)({padding:e.overflowPadding,fallbackPlacements:t})}function x(e){if(e.slide||e.overlap)return(0,p.BN)({mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:(0,p.ER)()})}function w(e,t){return(0,p.Ej)({padding:e.overflowPadding,apply({elements:n,availableWidth:r,availableHeight:o,rects:i}){if(t?.())return;const s=n.floating,a=Math.round(i.reference.width);r=Math.floor(r),o=Math.floor(o),s.style.setProperty("--popover-anchor-width",`${a}px`),s.style.setProperty("--popover-available-width",`${r}px`),s.style.setProperty("--popover-available-height",`${o}px`),e.sameWidth&&(s.style.width=`${a}px`),e.fitViewport&&(s.style.maxWidth=`${r}px`,s.style.maxHeight=`${o}px`)}})}function _(e,t){if(e)return(0,p.UE)({element:e,padding:t.arrowPadding})}const A=(0,a.ab)(function({store:e,modal:t=!1,portal:n=t,preserveTabOrder:g=!0,autoFocusOnShow:v=!0,wrapperProps:A,fixed:S=!1,flip:C=!0,shift:E=0,slide:T=!0,overlap:I=!1,sameWidth:j=!1,fitViewport:B=!1,gutter:N,arrowPadding:M=4,overflowPadding:R=8,getAnchorRect:O,updatePosition:L,...P}){const D=(0,r.zG)();e=e||D,(0,l.V1)(e,!1);const z=(0,d.O$)(e,"arrowElement"),V=(0,d.O$)(e,"anchorElement"),F=g&&n&&!t,$=(0,d.O$)(e,F?["disclosureElement"]:[],e=>F?e.disclosureElement:null),H=(0,d.O$)(e,"popoverElement"),U=(0,d.O$)(e,"unstable_placing"),W=(0,d.O$)(e,"contentElement"),K=(0,d.O$)(e,"placement"),q=(0,d.O$)(e,"mounted"),G=(0,d.O$)(e,"rendered"),X=(0,c.useRef)(null),Y=!U,{portalRef:Z,domReady:Q}=(0,a.TE)(n,P.portalRef),J=(0,a._q)(O),ee=(0,a._q)(L),te=!!L,ne="number"==typeof R?R:R.top??0,re="number"==typeof R?R:R.right??0,oe="number"==typeof R?R:R.bottom??0,ie="number"==typeof R?R:R.left??0,se=!q&&(0,o.dK)(q,P.hidden,P.alwaysVisible);(0,a.UQ)(()=>{if(q&&e?.setState("unstable_placing",!0),!H?.isConnected)return;const t={top:ne,right:re,bottom:oe,left:ie};var n;if(H.style.setProperty("--popover-overflow-padding",`${n=t,"number"==typeof n?n:Math.max(n.left??0,n.right??0)}px`),se&&!te)return;const r=m(V,J);let o=!1,i=!1;const a=()=>!!o||!H.isConnected,l=async()=>{if(a())return;if(!q)return;z||(X.current=X.current||document.createElement("div"));const n=z||X.current,o=[y(n,{gutter:N,shift:E}),k({flip:C,overflowPadding:t}),x({slide:T,shift:E,overlap:I,overflowPadding:t}),_(n,{arrowPadding:M}),w({sameWidth:j,fitViewport:B,overflowPadding:t},a)],l=await(0,p.rD)(r,H,{placement:K,strategy:S?"fixed":"absolute",middleware:o});if(a())return;e?.setState("currentPlacement",l.placement);const c=b(l.x),u=b(l.y);if(Object.assign(H.style,{top:"0",left:"0",transform:`translate3d(${c}px,${u}px,0)`}),i=!0,n&&l.middlewareData.arrow){const{x:e,y:t}=l.middlewareData.arrow,r=(0,s.t)(l.placement),o=n.clientWidth/2,i=n.clientHeight/2,a=null!=e?e+o:-o,c=null!=t?t+i:-i;H.style.setProperty("--popover-transform-origin",{top:`${a}px calc(100% + ${i}px)`,bottom:`${a}px ${-i}px`,left:`calc(100% + ${o}px) ${c}px`,right:`${-o}px ${c}px`}[r]),Object.assign(n.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"100%"})}},c=(0,p.ll)(r,H,async()=>{if(!a()){try{te?await ee({updatePosition:l}):await l()}catch(t){throw i&&!a()&&e?.setState("unstable_placing",!1),t}a()||e?.setState("unstable_placing",!1)}},{elementResize:"function"==typeof ResizeObserver});return()=>{o=!0,c()}},[e,G,H,z,V,K,q,se,Q,S,C,E,T,I,j,B,N,M,ne,re,oe,ie,J,te,ee]),(0,a.UQ)(()=>{if(!q)return;if(!Q)return;if(!H?.isConnected)return;if(!W?.isConnected)return;const e=()=>{H.style.zIndex=getComputedStyle(W).zIndex};e();let t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)},[q,Q,H,W]),(0,a.UQ)(()=>{if(!e)return;const t=e;h.set(t,(h.get(t)??0)+1);const n=(0,f.OH)(t,["mounted"],e=>{t.setState("unstable_placing",e.mounted)});return()=>{n(),h.set(t,(h.get(t)??1)-1),queueMicrotask(()=>{h.get(t)||t.setState("unstable_placing",!1)})}},[e]);const ae=S?"fixed":"absolute";return P=(0,a.w7)(P,t=>(0,u.jsx)("div",{...A,style:{position:ae,top:0,left:0,width:"max-content",...A?.style},ref:e?.setPopoverElement,children:t}),[e,ae,A]),P=(0,a.w7)(P,t=>(0,u.jsx)(r.s1,{value:e,children:t}),[e]),P={"data-placing":U||void 0,...P,style:{position:"relative",...P.style}},P=(0,i.r)({store:e,modal:t,portal:n,preserveTabOrder:g,preserveTabOrderAnchor:$||V,autoFocusOnShow:Y&&v,...P,portalRef:Z})});(0,i.n)((0,a.Rf)(function(e){const t=A(e);return(0,a.n)("div",t)}),r.zG);n.d(t,["f",0,A])},95534(e,t,n){"use strict";const r=(0,n(2376).createContext)(null);n.d(t,["E",0,r])},31024(e,t,n){"use strict";var r=n(80136),o=n(95534),i=n(62786),s=n(1252),a=n(2376),l=n(93236),c=n(45149);function u(e){const t=(0,s.YE)(e),{fullscreenElement:n}=t,r=(0,s.zk)(e).HTMLElement;return r&&n instanceof r?n:t.body}function d(e){queueMicrotask(()=>{e?.focus()})}function f(e,t){return{ref:e,node:t,cleanup:(0,i.cZ)(e,t)}}function p(e){"function"==typeof e.cleanup?e.cleanup():(0,i.cZ)(e.ref,null)}const h=(0,i.ab)(function({preserveTabOrder:e,preserveTabOrderAnchor:t,portalElement:n,portalRef:h,portal:g=!0,...m}){const v=(0,a.useRef)(null),b=(0,i.SV)(v,m.ref),y=(0,a.useContext)(o.E),[k,x]=(0,a.useState)(null),[w,_]=(0,a.useState)(null),A=(0,a.useRef)(null),S=(0,a.useRef)(null),C=(0,a.useRef)(null),E=(0,a.useRef)(null),T=(0,i.hX)(h),I=(0,a.useRef)(null);return(0,i.UQ)(()=>{const e=v.current;if(!e||!g)return void x(null);const t=function(e,t){return t?"function"==typeof t?t(e):t:(0,s.YE)(e).createElement("div")}(e,n);if(!t)return void x(null);const r=t.isConnected;return r||(y||u(e)).appendChild(t),t.id||(t.id=e.id?`portal/${e.id}`:function(e="id"){return`${e?`${e}-`:""}${Math.random().toString(36).slice(2,8)}`}()),x(t),I.current=f(T.current,t),()=>{const e=I.current;e&&(I.current=null,p(e)),r||t.remove()}},[g,n,y,T]),(0,i.UQ)(()=>{const e=I.current;e&&e.ref!==h&&(p(e),I.current=f(h,e.node))},[h]),(0,a.useEffect)(()=>{if(!k)return;if(y)return;if(n)return;const e=(0,s.YE)(k),t=()=>{const e=u(k);k.parentElement!==e&&e.appendChild(k)};return k.isConnected&&t(),e.addEventListener("fullscreenchange",t),()=>{e.removeEventListener("fullscreenchange",t)}},[k,y,n]),(0,i.UQ)(()=>{if(!g)return;if(!e)return;if(!t)return;const n=(0,s.YE)(t).createElement("span");return n.style.position="fixed",t.insertAdjacentElement("afterend",n),_(n),()=>{n.remove(),_(null)}},[g,e,t]),(0,a.useEffect)(()=>{if(!k)return;if(!e)return;let t=0;const n=e=>{if(!(0,s.aG)(e))return;const n="focusin"===e.type;if(cancelAnimationFrame(t),n)return(0,s.QZ)(k);t=requestAnimationFrame(()=>{(0,s.gw)(k,!0)})};return k.addEventListener("focusin",n,!0),k.addEventListener("focusout",n,!0),()=>{cancelAnimationFrame(t),k.removeEventListener("focusin",n,!0),k.removeEventListener("focusout",n,!0)}},[k,e]),m=(0,i.w7)(m,t=>{if(t=(0,l.jsx)(o.E.Provider,{value:k||y,children:t}),!g)return t;if(!k)return(0,l.jsx)("span",{ref:b,id:m.id,style:{position:"fixed"},hidden:!0});t=(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(r.s,{ref:S,"data-focus-trap":m.id,className:"__focus-trap-inner-before",onFocus:e=>{(0,s.aG)(e,k)?d((0,s.vF)()):d(A.current)}}),t,e&&(0,l.jsx)(r.s,{ref:C,"data-focus-trap":m.id,className:"__focus-trap-inner-after",onFocus:e=>{(0,s.aG)(e,k)?d((0,s.XJ)()):d(E.current)}})]}),t=(0,c.createPortal)(t,k);let n=(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(r.s,{ref:A,"data-focus-trap":m.id,className:"__focus-trap-outer-before",onFocus:e=>{e.relatedTarget!==E.current&&(0,s.aG)(e,k)?d(S.current):d((0,s.XJ)())}}),e&&(0,l.jsx)("span",{"aria-owns":k.id,style:{position:"fixed"}}),e&&(0,l.jsx)(r.s,{ref:E,"data-focus-trap":m.id,className:"__focus-trap-outer-after",onFocus:e=>{if((0,s.aG)(e,k))d(C.current);else{const e=(0,s.vF)();if(e===S.current)return void requestAnimationFrame(()=>(0,s.vF)()?.focus());d(e)}}})]});return w&&e&&(n=(0,c.createPortal)(n,w)),(0,l.jsxs)(l.Fragment,{children:[n,t]})},[k,y,g,m.id,e,w]),m={...m,ref:b}});(0,i.Rf)(function(e){const t=h(e);return(0,i.n)("div",t)});n.d(t,["W",0,h])},84972(e,t,n){"use strict";var r=n(96652),o=n(62786),i=n(2376);const s=(0,o.B0)([r.ws],[r.aN]),a=s.useContext,l=(s.useScopedContext,s.useProviderContext),c=(s.ContextProvider,s.ScopedContextProvider),u=(0,i.createContext)(!1);n.d(t,["XF",0,l,"Yu",0,u,"aN",0,c,"c4",0,a])},11548(e,t,n){"use strict";var r=n(24786),o=n(84972),i=n(62786),s=n(1252),a=n(2376),l=n(93236);const c=(0,i.ab)(function({store:e,...t}){const n=(0,o.XF)();e=e||n;const c=(0,a.useContext)(o.Yu)||(0,s.$f)(t);(0,s.V1)(e,!1);const u=(t=(0,i.w7)(t,t=>(0,l.jsx)(o.aN,{value:e,children:(0,l.jsx)(o.Yu.Provider,{value:c,children:t})}),[e,c])).onBlurCapture,d=(0,i._q)(t=>{if(u?.(t),t.defaultPrevented)return;if(!(0,s.aG)(t))return;const n=function(e){const{renderedItems:t}=e.getState();return t.find(e=>function(e){if(!e)return!1;if("INPUT"===e.tagName){const{type:t,checked:n}=e;if("radio"===t)return n}return"radio"===e.getAttribute("role")&&"true"===e.getAttribute("aria-checked")}(e.element))?.id}(e);n&&e.setActiveId(n)});return t={role:"radiogroup",...t,"aria-disabled":c||void 0,onBlurCapture:d},t=(0,r.T)({store:e,...t})}),u=(0,i.Rf)(function(e){const t=c(e);return(0,i.n)("div",t)});n.d(t,["z",0,u])},89854(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(65694),o=n(45934),i=n(76644);function s(e={}){e=(0,r.YC)(e);const[t,n]=(0,o.Pj)(i.z,e);return function(e,t,n){return e=(0,r.YO)(e,t,n),(0,o.Tz)(e,n,"value","setValue"),e}(t,n,e)}},46450(e,t,n){"use strict";var r=n(18864),o=n(84972),i=n(62786),s=n(1252),a=n(2376),l=n(45934);const c="input";const u=(0,i.ab)(function({store:e,name:t,value:n,checked:u,...d}){const f=(0,o.c4)();e=e||f;const p=(0,a.useContext)(o.Yu),h=(0,i.Bi)(d.id),g=(0,a.useRef)(null),m=(0,l.O$)(e,["value"],e=>u??function(e,t){if(void 0!==t)return null!=e&&null!=t?t===e:!!t}(n,e?.value)),v=(0,l.O$)(e,"id"),b=t??v;(0,a.useEffect)(()=>{h&&m&&e?.getState().activeId!==h&&e?.setActiveId(h)},[e,m,h]);const y=d.onChange,k=(x=(0,i.vO)(g,c),w=d.type,"input"===x&&(!w||"radio"===w));var x,w;const _=p||(0,s.$f)(d),[A,S]=(0,i.CH)();(0,a.useEffect)(()=>{const e=g.current;e&&(k||(void 0!==m&&(e.checked=m),void 0!==b&&(e.name=b),void 0!==n&&(e.value=`${n}`)))},[A,k,m,b,n]);const C=(0,i._q)(t=>{if(_)return t.preventDefault(),void t.stopPropagation();e?.getState().value!==n&&(k||(t.currentTarget.checked=!0,S()),y?.(t),t.defaultPrevented||e?.setValue(n))}),E=d.onClick,T=(0,i._q)(e=>{E?.(e),e.defaultPrevented||k||C(e)}),I=d.onFocus,j=(0,i._q)(t=>{if(I?.(t),t.defaultPrevented)return;if(!k)return;if(_)return;if(!e)return;const{moves:n,activeId:r}=e.getState();n&&(h&&r!==h||t.currentTarget.checked||t.currentTarget.click())});return d={role:k?void 0:"radio",type:k?"radio":void 0,"aria-checked":m,...d,disabled:_||void 0,id:h,ref:(0,i.SV)(g,d.ref),onChange:C,onClick:T,onFocus:j},d=(0,r.k)({store:e,clickOnEnter:!k,...d}),(0,s.HR)({name:k?b:void 0,value:k?n:void 0,checked:m,...d})}),d=(0,i.ph)((0,i.Rf)(function(e){const t=u(e);return(0,i.n)(c,t)}));n.d(t,["s",0,d,"z",0,u])},4920(e,t,n){"use strict";var r=n(62786);(0,r.ab)(function(e){return e});const o=(0,r.Rf)(function(e){return(0,r.n)("div",e)});Object.assign(o,["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","summary","textarea","ul","svg"].reduce((e,t)=>(e[t]=(0,r.Rf)(function(e){return(0,r.n)(t,e)}),e),{})),n.d(t,["X",0,o])},19290(e,t,n){"use strict";var r=n(62786);const o=(0,r.ab)(function({orientation:e="horizontal",...t}){return t={role:"separator","aria-orientation":e,...t}});(0,r.Rf)(function(e){const t=o(e);return(0,r.n)("hr",t)});n.d(t,["r",0,o])},3356(e,t,n){"use strict";var r=n(96652);const o=(0,n(62786).B0)([r.ws],[r.aN]),i=o.useContext,s=(o.useScopedContext,o.useProviderContext),a=(o.ContextProvider,o.ScopedContextProvider);n.d(t,["P$",0,s,"_N",0,a,"wU",0,i])},64608(e,t,n){"use strict";var r=n(91023),o=n(18864),i=n(3356),s=n(62786);const a=(0,s.ab)(function({store:e,...t}){const n=(0,i.wU)();return e=e||n,t=(0,o.k)({store:e,...t})}),l=(0,s.ph)((0,s.Rf)(function(e){const t=a((0,r.Y)(e));return(0,s.n)("button",t)}));n.d(t,["T",0,l])},39758(e,t,n){"use strict";n.d(t,{W:()=>s});var r=n(65694),o=n(45934),i=n(78372);function s(e={}){const[t,n]=(0,o.Pj)(i.v,e);return function(e,t,n){return(0,r.YO)(e,t,n)}(t,n,e)}},77858(e,t,n){"use strict";var r=n(24786),o=n(3356),i=n(39758),s=n(62786),a=n(93236),l=n(45934);const c=(0,s.ab)(function({store:e,orientation:t,virtualFocus:n,focusLoop:c,rtl:u,...d}){const f=(0,o.P$)();e=e||f;const p=(0,i.W)({store:e,orientation:t,virtualFocus:n,focusLoop:c,rtl:u}),h=(0,l.O$)(p,["orientation"],e=>"both"===e.orientation?void 0:e.orientation);return d=(0,s.w7)(d,e=>(0,a.jsx)(o._N,{value:p,children:e}),[p]),d={role:"toolbar","aria-orientation":h,...d},d=(0,r.T)({store:p,...d})}),u=(0,s.Rf)(function(e){const t=c(e);return(0,s.n)("div",t)});n.d(t,["M",0,u])},80158(e,t,n){"use strict";var r=n(54254),o=n(62732),i=n(62786),s=n(1252),a=n(2376),l=n(45934),c=n(38992);const u=(0,c.y$)({activeStore:null}),d=new WeakSet;const f=(0,i.ab)(function({store:e,showOnHover:t=!0,...n}){const f=(0,o.n1)();e=e||f,(0,s.V1)(e,!1);const p=(0,a.useRef)(!1);(0,a.useEffect)(()=>(0,c.OH)(e,["mounted"],e=>{e.mounted||(p.current=!1)}),[e]),(0,a.useEffect)(()=>{if(!e)return;const t=function(e){return()=>{const{activeStore:t}=u.getState();t===e&&u.setState("activeStore",null)}}(e);return(0,s.cy)(t,(0,c.OH)(e,["mounted"],n=>{if(!e)return;if(n.mounted){const{activeStore:t}=u.getState();if(t!==e){if(d.has(e))return;!function(e){e&&(d.add(e),e.hide(),queueMicrotask(()=>d.delete(e)))}(t)}return u.setState("activeStore",e)}const r=setTimeout(t,e.getState().skipTimeout);return()=>clearTimeout(r)}))},[e]);const h=n.onMouseEnter,g=(0,i._q)(e=>{h?.(e),p.current=!0}),m=n.onFocusVisible,v=(0,i._q)(t=>{m?.(t),t.defaultPrevented||(e?.setAnchorElement(t.currentTarget),e?.show())}),b=n.onBlur,y=(0,i._q)(t=>{if(b?.(t),t.defaultPrevented)return;const{activeStore:n}=u.getState();p.current=!1,n===e&&u.setState("activeStore",null)}),k=(0,l.O$)(e,["type","contentElement"],e=>"label"===e.type?e.contentElement:null);(0,i.Cy)(k,"id");const x=k?.id;return n={"aria-labelledby":null==n["aria-label"]?x:void 0,...n,onMouseEnter:g,onFocusVisible:v,onBlur:y},n=(0,r.p)({store:e,showOnHover(n){if(!p.current)return!1;if((0,s.zO)(t,n))return!1;const{activeStore:r}=u.getState();return!r||(e?.show(),!1)},...n})}),p=(0,i.Rf)(function(e){const t=f(e);return(0,i.n)("div",t)});n.d(t,["f",0,p])},62732(e,t,n){"use strict";var r=n(70620);const o=(0,n(62786).B0)([r.pR],[r.n0]),i=(o.useContext,o.useScopedContext,o.useProviderContext),s=(o.ContextProvider,o.ScopedContextProvider);n.d(t,["MW",0,s,"n1",0,i])},76958(e,t,n){"use strict";n.d(t,{_:()=>s});var r=n(42030),o=n(45934),i=n(79148);function s(e={}){const[t,n]=(0,o.Pj)(i.P,e);return function(e,t,n){return(0,o.Tz)(e,n,"type"),(0,o.Tz)(e,n,"skipTimeout"),(0,r.B)(e,t,n)}(t,n,e)}},56946(e,t,n){"use strict";var r=n(55194),o=n(78434),i=n(62732),s=n(62786),a=n(1252),l=n(93236),c=n(45934);const u=(0,s.ab)(function({store:e,portal:t=!0,gutter:n=8,preserveTabOrder:r=!1,hideOnHoverOutside:u=!0,hideOnInteractOutside:d=!0,...f}){const p=(0,i.n1)();return e=e||p,(0,a.V1)(e,!1),f=(0,s.w7)(f,t=>(0,l.jsx)(i.MW,{value:e,children:t}),[e]),f={role:(0,c.O$)(e,["type"],e=>"description"===e.type?"tooltip":"none"),...f},f=(0,o.a)({...f,store:e,portal:t,gutter:n,preserveTabOrder:r,hideOnHoverOutside(t){if((0,a.zO)(u,t))return!1;const n=e?.getState().anchorElement;return!n||!("focusVisible"in n.dataset)},hideOnInteractOutside:t=>{if((0,a.zO)(d,t))return!1;const n=e?.getState().anchorElement;return!n||!(0,a.gR)(n,t.target)}})}),d=(0,r.n)((0,s.Rf)(function(e){const t=u(e);return(0,s.n)("div",t)}),i.n1);n.d(t,["m",0,d])},8334(e,t,n){"use strict";n.d(t,{LB:()=>o});var r=n(62786);function o(e){return{borderWidth:0,clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px",...e}}const i=(0,r.ab)(function(e){return e={...e,style:o(e.style)}});(0,r.Rf)(function(e){const t=i(e);return(0,r.n)("span",t)});n.d(t,["BB",0,i])},45934(e,t,n){"use strict";n.d(t,{O$:()=>d,PX:()=>f,Pj:()=>h,Tz:()=>p});var r=n(62786),o=n(38992),i=n(1252),s=n(2376),a=n(22484);function l(e){return Array.isArray(e)}function c(e,t){return e===t||e!=e&&t!=t}function u(e){const[t,n]=s.useState(()=>null===e?null:[...e]);if(null===e)return null!==t&&n(null),null;if(function(e,t){if(e?.length!==t.length)return!1;for(let n=0;n<e.length;n+=1)if(!c(e[n],t[n]))return!1;return!0}(t,e))return t;const r=[...e];return n(r),r}function d(e,t=i.D_,n){const r=u(l(t)?t:"function"==typeof t?null:[t]),c=s.useCallback(t=>e?0===r?.length?()=>{}:(0,o.B1)(e,r,t):()=>{},[e,r]),d=()=>{const r=e?.getState();return l(t)?n?.(r):"function"==typeof t?t(r):r&&(0,i.mQ)(r,t)?r[t]:void 0};return(0,a.useSyncExternalStore)(c,d,d)}function f(e,t,n){const r=l(t)?n??{}:t,c=l(t)?t:void 0,d=s.useRef({}),f=u(function(e,t){const n=[];let r=!1;for(const t in e){const o=e[t];void 0!==o&&("function"!=typeof o?n.includes(o)||n.push(o):r=!0)}if(!r)return n;if(!t)return null;for(const e of t)n.includes(e)||n.push(e);return n}(r,c)),p=s.useCallback(t=>e?0===f?.length?()=>{}:(0,o.B1)(e,f,t):()=>{},[e,f]),h=()=>{const t=e?.getState();let n=!1;const o=d.current;for(const e in r){const s=r[e];if(void 0===s)continue;if("function"==typeof s){const r=s(t);Object.is(r,o[e])||(o[e]=r,n=!0)}if("function"==typeof s)continue;const a=t&&(0,i.mQ)(t,s)?t[s]:void 0;Object.is(a,o[e])||(o[e]=a,n=!0)}return n&&(d.current={...o}),d.current};return(0,a.useSyncExternalStore)(p,h,h)}function p(e,t,n,s){const a=(0,i.mQ)(t,n)?t[n]:void 0,l=s?t[s]:void 0,u=!!l,d=(0,r.hX)({value:a,setValue:l});(0,r.UQ)(()=>{if(u)return(0,o.B1)(e,[n],(e,t)=>{const{value:r,setValue:o}=d.current;o&&(c(e[n],t[n])||c(e[n],r)||o(e[n]))})},[e,n,u,d]),(0,r.UQ)(()=>{if(void 0!==a)return e.setState(n,a),(0,o.vA)(e,[n],()=>{void 0!==a&&e.setState(n,a)})})}function h(e,t){const[n,i]=s.useState(()=>e(t));(0,r.UQ)(()=>(0,o.Ts)(n),[n]);const a=s.useCallback(e=>d(n,e),[n]);return[s.useMemo(()=>({...n,useState:a}),[n,a]),(0,r._q)(()=>{i(n=>e({...t,...n.getState()}))})]}},62786(e,t,n){"use strict";let r;n.d(t,{B0:()=>z,Bi:()=>y,CH:()=>_,Cy:()=>x,O4:()=>A,P$:()=>I,P1:()=>E,Rf:()=>O,SV:()=>v,TE:()=>C,XB:()=>m,_q:()=>g,ab:()=>D,cZ:()=>a,hX:()=>h,n:()=>P,nf:()=>p,ph:()=>L,vO:()=>k,w5:()=>w,w7:()=>S});var o=n(1252),i=n(2376),s=n(93236);function a(e,t){if("function"==typeof e){const n=e(t);if("function"==typeof n)return n}else e&&(e.current=t)}function l(e){return function(e){return!!e&&!!(0,i.isValidElement)(e)&&("ref"in e.props||"ref"in e)}(e)?{...e.props}.ref||e.ref:null}const c={...r||(r=n.t(i,2))},u=c.useId,d=(c.useDeferredValue,c.useInsertionEffect??(e=>e())),f=o.Sw?i.useLayoutEffect:i.useEffect;function p(e){const[t]=(0,i.useState)(e);return t}function h(e){const t=(0,i.useRef)(e);return f(()=>{t.current=e}),t}function g(e){const t=(0,i.useRef)(()=>{throw new Error("Cannot call an event handler while rendering.")});return d(()=>{t.current=e}),(0,i.useCallback)((...e)=>t.current?.(...e),[])}function m(e){const[t,n]=(0,i.useState)(null);return f(()=>{if(null==t)return;if(!e)return;let n=null;return e(e=>(n=e,t)),()=>{e(n)}},[t,e]),[t,n]}function v(...e){return(0,i.useMemo)(()=>{if(e.some(Boolean))return t=>{const n=[];for(const r of e){if(!r)continue;const e=a(r,t);n.push({ref:r,cleanup:"function"==typeof e?e:void 0})}if(n.some(e=>e.cleanup))return()=>{for(const{ref:e,cleanup:t}of n)t?t():a(e,null)}}},e)}const b=u?function(e){const t=u();return e||t}:function(e){const[t,n]=(0,i.useState)(e);return f(()=>{if(e||t)return;const r=Math.random().toString(36).slice(2,8);n(`id-${r}`)},[e,t]),e||t};function y(e){return b(e)}function k(e,t){const n=e=>{if("string"==typeof e)return e},[r,o]=(0,i.useState)(()=>n(t));return f(()=>{const r=e&&"current"in e?e.current:e;o(r?.tagName.toLowerCase()||n(t))},[e,t]),r}function x(e,t,n){const r=p(n),[o,s]=(0,i.useState)(r);return(0,i.useEffect)(()=>{const n=e&&"current"in e?e.current:e;if(!n)return;const o=()=>{const e=n.getAttribute(t);s(e??r)},i=new MutationObserver(o);return i.observe(n,{attributeFilter:[t]}),o(),()=>i.disconnect()},[e,t,r]),o}function w(e,t){const n=(0,i.useRef)(!1);(0,i.useEffect)(()=>{if(n.current)return e();n.current=!0},t),(0,i.useEffect)(()=>()=>{n.current=!1},[])}function _(){return(0,i.useReducer)(()=>[],[])}function A(e){return g("function"==typeof e?e:()=>e)}function S(e,t,n=[]){const r=(0,i.useCallback)(n=>(e.wrapElement&&(n=e.wrapElement(n)),t(n)),[...n,e.wrapElement]);return{...e,wrapElement:r}}function C(e=!1,t){const[n,r]=(0,i.useState)(null);return{portalRef:v(r,t),portalNode:n,domReady:!e||n}}function E(e,t,n){const r=e.onLoadedMetadataCapture,o=(0,i.useMemo)(()=>Object.assign(()=>{},r,...void 0!==n?[{[t]:n}]:[]),[r,t,n]);return[r?.[t],{onLoadedMetadataCapture:o}]}let T=!1;function I(){return(0,i.useEffect)(()=>{T||((0,o.dg)("mousemove",M,!0),(0,o.dg)("mousedown",R,!0),(0,o.dg)("mouseup",R,!0),(0,o.dg)("keydown",R,!0),(0,o.dg)("scroll",R,!0),T=!0)},[]),g(()=>j)}let j=!1,B=0,N=0;function M(e){(function(e){const t=e.movementX||e.screenX-B,n=e.movementY||e.screenY-N;return B=e.screenX,N=e.screenY,t||n||!1})(e)&&(j=!0)}function R(){j=!1}function O(e){const t=i.forwardRef((t,n)=>e((0,o.HR)({...t,ref:n})));return t.displayName=e.displayName||e.name,t}function L(e,t){return i.memo(e,t)}function P(e,t){const{wrapElement:n,render:r,...a}=t,c=v(t.ref,l(r));let u;if(i.isValidElement(r)){const e={...r.props,ref:c};u=i.cloneElement(r,function(e,t){const n={...e};for(const r in t){if(!(0,o.mQ)(t,r))continue;if("__proto__"===r)continue;if("className"===r){const r="className",o=e[r],i=t[r];n[r]=o&&i?`${o} ${i}`:i||o;continue}if("style"===r){const r="style";n[r]=e[r]?{...e[r],...t[r]}:t[r];continue}const i=t[r];if(void 0!==i){if(r.startsWith("on")){if("function"!=typeof i)continue;const t=e[r];if("function"==typeof t){n[r]=(...e)=>{i(...e),t(...e)};continue}}n[r]=i}}return n}(a,e))}else u=r?r(a):(0,s.jsx)(e,{...a});return n?n(u):u}function D(e){const t=(t={})=>e(t);return t.displayName=e.name,t}function z(e=[],t=[]){const n=i.createContext(void 0),r=i.createContext(void 0),o=()=>i.useContext(n),a=t=>e.reduceRight((e,n)=>(0,s.jsx)(n,{...t,children:e}),(0,s.jsx)(n.Provider,{...t}));return{context:n,scopedContext:r,useContext:o,useScopedContext:(e=!1)=>{const t=i.useContext(r),n=o();return e?t:t||n},useProviderContext:()=>{const e=i.useContext(r),t=o();if(!e||e!==t)return t},ContextProvider:a,ScopedContextProvider:e=>(0,s.jsx)(a,{...e,children:t.reduceRight((t,n)=>(0,s.jsx)(n,{...e,children:t}),(0,s.jsx)(r.Provider,{...e}))})}}n.d(t,["UQ",0,f])},38992(e,t,n){"use strict";n.d(t,{B1:()=>b,OH:()=>y,Ts:()=>v,UE:()=>A,Up:()=>w,cJ:()=>x,mj:()=>m,od:()=>_,vA:()=>k,y$:()=>g});var r=n(1252);function o(e,t){const n=e.__unstableInternals;return(0,r.V1)(n,"Invalid store"),n[t]}function i(e,t){if(!e)return!0;for(const n of e)if(t instanceof Set){if(t.has(n))return!0}else if(s(n,t))return!0;return!1}function s(e,t){return e===t||e!=e&&t!=t}function a(e,t,n,o){let a;for(const l of(0,r.xD)(t))s(t[l],n[l])||void 0!==o&&i([l],o)||(a??={...e},a[l]=t[l]);return a}function l(e){const t=new Set,n=e.currentListener;if(!n)return t;for(const r of e.keyedListeners)if(t.add(r),r===n)return t;return t.clear(),t.add(n),t}function c(e){e.notifiedListeners??=l(e)}function u(e,t){if(!e.currentListener)return!1;let n=!1;for(const r of e.keyedListeners)if(r!==e.currentListener){if(n&&r===t)return!1}else n=!0;let r=!1;for(const n of e.group.listeners){if(n===e.currentListener)return r;n===t&&(r=!0)}return!1}function d(e,t,n){for(const r of e)if(r.group===t&&!r.recovering&&(!n||r.keyedListeners.has(n))){c(r);for(const e of r.group.listeners){if(e===r.currentListener)break;u(r,e)&&r.notifiedListeners?.add(e)}}}function f(e,t,n){const r=e.disposables.get(t);r?e.disposables.set(t,()=>{r(),n()}):e.disposables.set(t,n)}function p(e,t,n,r,o,i){if(e.suspendCounts?.has(t))return;const{disposables:s}=e,l=s.size?s.get(t):void 0;if(l){s.delete(t);const e=n;l(),(n=o?.()??n)!==e&&(r=a(r,n,e,i)??r)}const c=t(n,r);c&&f(e,t,c)}function h({group:e,getState:t,prevState:n,updatedKey:r,notifiedListeners:o}){const s=e.allKeysListeners;for(const a of e.listeners)o?.has(a)||(s?.has(a)||i(e.listenerKeys.get(a),r))&&(o?.add(a),p(e,a,t(),n,t,r))}function g(e,...t){let n=e,o=n,i=r.lQ,m=!1,k=!1,x=new Set;const w=new Set,_=new Set,A={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},S={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},C=(e,t,n)=>{void 0!==n&&(n?function(e,t,n){if(e&&t)for(const r of t){const t=e.get(r);t&&(t.delete(n),t.size||e.delete(r))}}(e.listenersByKey,n,t):e.allKeysListeners?.delete(t))},E=[],T=(e,t,n=A)=>{const r=e?[...e]:null,o=n.listeners.has(t);return o||function(e,t,n){for(const r of e)r.group===t&&r.notifiedListeners?.delete(n)}(E,n,t),r?function({fastPathFrames:e,group:t,keys:n,listener:r}){const o=t.listeners.has(r);for(const i of e)i.group===t&&(i.recovering||n.includes(i.updatedKey)&&(u(i,r)?(c(i),i.notifiedListeners?.add(r)):o&&(c(i),i.recoverToLive=!0)))}({fastPathFrames:E,group:n,keys:r,listener:t}):(o&&d(E,n),function(e,t,n){for(const r of e)r.group===t&&(r.recovering||u(r,n)&&(c(r),r.notifiedListeners?.add(n)))}(E,n,t)),o&&(d(E,n,t),C(n,t,n.listenerKeys.get(t))),n.listeners.add(t),r?(n.listenersByKey??=new Map,function(e,t,n){if(t)for(const r of t){let t=e.get(r);t||(t=new Set,e.set(r,t)),t.add(n)}}(n.listenersByKey,r,t),function({fastPathFrames:e,group:t,keys:n,listener:r}){for(const o of e)o.group===t&&(o.recovering||n.includes(o.updatedKey)&&o.keyedListeners.add(r))}({fastPathFrames:E,group:n,keys:r,listener:t})):(n.allKeysListeners??=new Set,n.allKeysListeners.add(t)),n.listenerKeys.set(t,r),()=>{const e=n.disposables.get(t);n.disposables.delete(t),d(E,n,t);const o=n.listenerKeys.get(t);C(n,t,r),o!==r&&C(n,t,o),n.listenerKeys.delete(t),n.listeners.delete(t),e?.()}},I=(e,t,r)=>{const o=e.listeners.has(t);if(o){e.suspendCounts??=new Map;const n=e.suspendCounts.get(t)??0;e.suspendCounts.set(t,n+1)}let i;try{const o=n;!function(e,t){if(!e.disposables.size)return;const n=e.disposables.get(t);n&&(e.disposables.delete(t),n())}(e,t),n!==o&&(i=a(r,n,o));const s=t(n,i??r);s&&f(e,t,s)}finally{if(o){const n=e.suspendCounts,r=n?.get(t);r&&r>1?n?.set(t,r-1):n?.delete(t),n?.size||delete e.suspendCounts}}},j=()=>n,B=(e,t,r)=>{if(!(r instanceof Set||e.allKeysListeners?.size)){const o=e.listenersByKey?.get(r);if(!o)return;const i={group:e,keyedListeners:o,updatedKey:r,currentListener:null};E.push(i);try{for(const s of o){if(i.notifiedListeners?.has(s))continue;if(i.currentListener=s,i.notifiedListeners?.add(s),p(e,s,n,t,j,r),!e.allKeysListeners?.size&&!i.recoverToLive)continue;const o=i.notifiedListeners??l(i);return i.notifiedListeners=o,i.recovering=!0,void h({group:e,getState:j,prevState:t,updatedKey:r,notifiedListeners:o})}}finally{E.pop()}return}h({group:e,getState:j,prevState:t,updatedKey:r})},N=(e,i,a=!1)=>{if(!(0,r.mQ)(n,e))return;const l=n[e],c=(0,r.Qh)(i,()=>l);if(s(c,l))return;const u=k;k=!0;const d=n,f={...n,[e]:c};n=f;let p=!1;try{if(!a&&t.length){for(const r of t)if(r?.setState?.(e,c),!s(n[e],c)){p=!0;break}if(p){let r=0;for(;r<100;r+=1){let r=!1;for(const o of t){const t=n[e];o?.setState?.(e,t),s(n[e],t)||(r=!0)}if(!r)break}0}}if(!p){const t=n===f?d:{...n,[e]:d[e]};B(A,t,e)}}finally{k=u}S.listeners.size?(x.add(e),m||(m=!0,queueMicrotask(()=>{m=!1;const e=n,t=x;x=new Set;const r=o;B(S,r,t),o===r&&(o=e)}))):k||(o=n)},M={getState:j,setState:N,__unstableInternals:{setup:e=>(_.add(e),()=>_.delete(e)),init:()=>{const e=w.size,o=Symbol();w.add(o);const s=()=>{w.delete(o)&&(w.size||i())};if(e)return s;const a=(0,r.xD)(n),l=[];for(const e of t){const n=e?.getState?.();if(!n)continue;const o=a.filter(e=>(0,r.mQ)(n,e));if(o.length)if(1!==t.length&&o.length!==a.length){l.push(b(e,o,(e,t)=>{for(const n of o)e[n]!==t[n]&&N(n,e[n],!0)}));for(const t of o){const n=e?.getState?.();n&&N(t,n[t],!0)}}else for(const t of o)l.push(y(e,[t],e=>{N(t,e[t],!0)}))}const c=[];for(const e of _)c.push(e());const u=t.map(v);return i=(0,r.cy)(...l,...c,...u),s},subscribe:(e,t)=>T(e,t),sync:(e,t)=>(I(A,t,n),T(e,t)),batch:(e,t)=>(S.listeners.size||k||(o=n),I(S,t,o),T(e,t,S)),pick:e=>g((0,r.Up)(n,e),M),omit:e=>g((0,r.cJ)(n,e),M)}};return M}function m(e,...t){if(e)return o(e,"setup")(...t)}function v(e,...t){if(e)return o(e,"init")(...t)}function b(e,...t){if(e)return o(e,"subscribe")(...t)}function y(e,...t){if(e)return o(e,"sync")(...t)}function k(e,...t){if(e)return o(e,"batch")(...t)}function x(e,...t){if(e)return o(e,"omit")(...t)}function w(e,...t){if(e)return o(e,"pick")(...t)}function _(...e){const t={};for(const n of e){const e=n?.getState?.();e&&Object.assign(t,e)}const n=g(t,...e);return Object.assign({},...e,n)}function A(e,t){}},1252(e,t,n){"use strict";function r(e){const t=[];for(const n of e)t.push(...n);return t}function o(e){return e.slice().reverse()}function i(...e){}function s(e,t){if(e===t)return!0;if(!e)return!1;if(!t)return!1;if("object"!=typeof e)return!1;if("object"!=typeof t)return!1;const n=Object.keys(e),r=Object.keys(t),{length:o}=n;if(r.length!==o)return!1;for(const r of n)if(e[r]!==t[r])return!1;return!0}function a(e,t){return function(e){return"function"==typeof e}(e)?e("function"==typeof t?t():t):e}function l(e,t){return"function"==typeof Object.hasOwn?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t)}function c(...e){return(...t)=>{for(const n of e)"function"==typeof n&&n(...t)}}function u(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function d(e,t){const n={...e};for(const e of t)l(n,e)&&delete n[e];return n}function f(e,t){const n={};for(const r of t)l(e,r)&&(n[r]=e[r]);return n}function p(e){return e}function h(e=i){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)}n.d(t,{$b:()=>te,$f:()=>b,AJ:()=>xe,Bj:()=>z,Bm:()=>O,D_:()=>p,HR:()=>k,J2:()=>u,Jh:()=>x,LC:()=>ve,Ll:()=>M,M9:()=>r,Mk:()=>V,QZ:()=>Se,Qh:()=>a,RN:()=>ne,Tc:()=>U,Up:()=>f,V1:()=>g,XJ:()=>ke,YE:()=>T,Zy:()=>F,a9:()=>me,aG:()=>le,bN:()=>s,bq:()=>j,c$:()=>oe,cJ:()=>d,cX:()=>Z,cn:()=>W,cy:()=>c,dg:()=>ue,f8:()=>G,gH:()=>q,gR:()=>B,gm:()=>Y,gw:()=>Ae,hY:()=>ae,ho:()=>Q,lQ:()=>i,lp:()=>y,mB:()=>D,mQ:()=>l,nr:()=>X,ny:()=>h,nz:()=>ce,oW:()=>we,q7:()=>o,qj:()=>K,rC:()=>re,sz:()=>ie,tp:()=>fe,uh:()=>J,vF:()=>ye,vq:()=>N,xD:()=>m,zN:()=>P,zO:()=>v,zk:()=>I});function g(e,t){if(!e){if("string"!=typeof t)throw new Error("Invariant failed");throw new Error(t)}}function m(e){return Object.keys(e)}function v(e,...t){const n="function"==typeof e?e(...t):e;return null!=n&&!n}function b(e){return e.disabled||!0===e["aria-disabled"]||"true"===e["aria-disabled"]}function y(e){return"true"===e.getAttribute("aria-disabled")||"disabled"in e&&!0===e.disabled}function k(e){const t={};for(const n in e)l(e,n)&&"__proto__"!==n&&void 0!==e[n]&&(t[n]=e[n]);return t}function x(...e){for(const t of e)if(void 0!==t)return t}const w="undefined"!=typeof window&&!!window.document?.createElement;function _(e,t){let n=e;for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e?.get)return e.get;n=Object.getPrototypeOf(n)}}const A=w?_(Object.getPrototypeOf(window.document),"nodeType"):void 0,S=w?_(Object.getPrototypeOf(window.document),"activeElement"):void 0;function C(e){return!!e&&e.window===e}function E(e){if(!e)return!1;if(!A)return 9===e.nodeType;try{return 9===A.call(e)}catch{return!1}}function T(e){if(!e)return document;if(E(e))return e;if(C(e))return e.document;const t=e.ownerDocument;return E(t)?t:document}function I(e){if(!e)return self;if(C(e))return e;const t=T(e),{defaultView:n}=t;return C(n)&&function(e,t){try{return e.document===t}catch{return!1}}(n,t)?n:window}function j(e,{frame:t=!0,activeDescendant:n=!1}={}){const r=T(e),o=S?S.call(r):r.activeElement;if(!o?.nodeName)return null;if(t&&R(o)&&o.contentDocument?.body)return j(o.contentDocument.body,{frame:t,activeDescendant:n});if(n){const e=o.getAttribute("aria-activedescendant");if(e){const t=T(o).getElementById(e);if(t)return t}}return o}function B(e,t){return e===t||e.contains(t)}function N(e){return 1===e?.nodeType}function M(e){return"number"==typeof e?.nodeType}function R(e){return"IFRAME"===e.tagName}function O(e){const t=e.tagName.toLowerCase();return"button"===t||!("input"!==t||!e.type)&&-1!==L.indexOf(e.type)}const L=["button","color","file","image","reset","submit"];function P(e){if("function"==typeof e.checkVisibility)return e.checkVisibility();const t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}function D(e){try{return"TEXTAREA"===e.tagName||"INPUT"===e.tagName&&null!==e.selectionStart}catch(e){return!1}}function z(e){return e.isContentEditable||D(e)}function V(e){if(D(e))return e.value;if(e.isContentEditable){const t=T(e).createRange();return t.selectNodeContents(e),t.toString()}return""}function F(e){let t=0,n=0;if(D(e))t=e.selectionStart||0,n=e.selectionEnd||0;else if(e.isContentEditable){const r=T(e).getSelection();if(r?.rangeCount&&r.anchorNode&&B(e,r.anchorNode)&&r.focusNode&&B(e,r.focusNode)){const o=r.getRangeAt(0),i=o.cloneRange();i.selectNodeContents(e),i.setEnd(o.startContainer,o.startOffset),t=i.toString().length,i.setEnd(o.endContainer,o.endOffset),n=i.toString().length}}return{start:t,end:n}}const $=["dialog","menu","listbox","tree","grid"],H={menu:"menuitem",listbox:"option",tree:"treeitem"};function U(e,t){const n=e?.getAttribute("role");return n&&-1!==$.indexOf(n)?n:t}function W(e,t){const n=U(e);return"string"!=typeof n?t:function(e){if(null!=e&&l(H,e))return H[e]}(n)??t}function K(e){if(!e)return null;const t=e=>"auto"===e||"scroll"===e;if(e.clientHeight&&e.scrollHeight>e.clientHeight){const{overflowY:n}=getComputedStyle(e);if(t(n))return e}else if(e.clientWidth&&e.scrollWidth>e.clientWidth){const{overflowX:n}=getComputedStyle(e);if(t(n))return e}const n=T(e);return K(e.parentElement)||n.scrollingElement||n.body}function q(e,t){const n=e.map((e,t)=>[t,e]);let r=!1;return n.sort(([e,n],[o,i])=>{const s=t(n),a=t(i);return s===a?0:s&&a?function(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}(s,a)?(e>o&&(r=!0),-1):(e<o&&(r=!0),1):0}),r?n.map(([e,t])=>t):e}function G(){return!!w&&/mac|iphone|ipad|ipod/i.test(navigator.platform)}function X(){return w&&G()&&/apple/i.test(navigator.vendor)}function Y(){return w&&/firefox\//i.test(navigator.userAgent)}function Z(){return w&&navigator.platform.startsWith("Mac")&&!(w&&navigator.maxTouchPoints)}function Q(e){const{currentTarget:t,target:n}=e;return!!t&&(!M(n)||!B(t,n))}function J(e){return e.target===e.currentTarget}function ee(e){if(!N(e))return!1;const t=e,n=t.tagName.toLowerCase();return"a"===n||("button"===n&&"submit"===t.type||"input"===n&&"submit"===t.type)}function te(e){const t=G();return!(t&&!e.metaKey)&&(!(!t&&!e.ctrlKey)&&ee(e.currentTarget))}function ne(e){return!!e.altKey&&ee(e.currentTarget)}function re(e,t,n){const{Event:r}=I(e),o=new r(t,n);return e.dispatchEvent(o)}function oe(e,t){const{FocusEvent:n}=I(e),r=new n("blur",t),o=e.dispatchEvent(r),i={...t,bubbles:!0};return e.dispatchEvent(new n("focusout",i)),o}function ie(e,t,n){const{KeyboardEvent:r}=I(e),o=new r(t,n);return e.dispatchEvent(o)}const se={width:!0,height:!0,pressure:!0,tangentialPressure:!0,tiltX:!0,tiltY:!0,twist:!0,altitudeAngle:!0,azimuthAngle:!0,isPrimary:!0,coalescedEvents:!0,predictedEvents:!0,persistentDeviceId:!0};function ae(e,t){const n=I(e),r=new(n.PointerEvent??n.MouseEvent)("click",function(e,t){const n=t??{};return new Proxy({},{get:(t,r)=>"view"===r?e:"composed"===r||("pointerId"===r?n.pointerId??-1:"pointerType"===r?n.pointerType??"":l(se,r)?void 0:Reflect.get(n,r))})}(n,t));return e.dispatchEvent(r)}function le(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!M(r)||!B(n,r)}function ce(e,t,n,r){const o=(e=>{if(r){const t=setTimeout(e,r);return()=>clearTimeout(t)}const t=requestAnimationFrame(e);return()=>cancelAnimationFrame(t)})(()=>{e.removeEventListener(t,i,!0),n()}),i=()=>{o(),n()};return e.addEventListener(t,i,{once:!0,capture:!0}),()=>{o(),e.removeEventListener(t,i,!0)}}function ue(e,t,n,r=window){const o=[];try{r.document.addEventListener(e,t,n);for(const i of Array.from(r.frames))o.push(ue(e,t,n,i))}catch{}return()=>{try{r.document.removeEventListener(e,t,n)}catch{}for(const e of o)e()}}const de="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function fe(e){return!!e.matches(de)&&(!!P(e)&&!e.closest("[inert]"))}function pe(e){if(!fe(e))return!1;if(function(e){return Number.parseInt(e.getAttribute("tabindex")||"0",10)<0}(e))return!1;if(!("form"in e))return!0;if(!e.form)return!0;if(e.checked)return!0;if("radio"!==e.type)return!0;const t=e.form.elements.namedItem(e.name);if(!t)return!0;if(!("length"in t))return!0;const n=j(e);return!n||(n===e||(!("form"in n)||(n.form!==e.form||(!("name"in n)||n.name!==e.name))))}function he(e,t){const n=Array.from(e.querySelectorAll(de));t&&n.unshift(e);const r=n.filter(fe);return r.forEach((e,t)=>{if(!R(e))return;const n=e.contentDocument?.body;n&&r.splice(t,1,...he(n))}),r}function ge(e,t){const[n]=he(e,t);return n||null}function me(e,t,n){const r=Array.from(e.querySelectorAll(de)).filter(pe);return t&&pe(e)&&r.unshift(e),r.forEach((e,t)=>{if(!R(e))return;const o=e.contentDocument?.body;if(!o)return;const i=me(o,!1,n);r.splice(t,1,...i)}),!r.length&&n?he(e):r}function ve(e,t,n){if(t&&pe(e)){if(!R(e))return e;const t=e.contentDocument?.body;if(!t)return e;const r=ve(t,!1,n);if(r)return r}const r=e.querySelectorAll(de);for(const e of r)if(pe(e)){if(R(e)){const t=e.contentDocument?.body;if(!t)return e;const r=ve(t,!1,n);if(r)return r;continue}return e}return n?ge(e):null}function be({container:e,includeContainer:t,reverse:n,fallbackToEdge:r,fallbackToFocusable:o}){const i=j(e),s=he(e,t);n&&s.reverse();const a=s.indexOf(i),l=s.slice(a+1);return l.find(pe)||(r?s.find(pe):null)||(o?l[0]:null)||null}function ye(e,t){return function(e,t,n,r){return be({container:e,includeContainer:t,fallbackToEdge:n,fallbackToFocusable:r})}(document.body,!1,e,t)}function ke(e,t){return function(e,t,n,r){return be({container:e,includeContainer:t,reverse:!0,fallbackToEdge:n,fallbackToFocusable:r})}(document.body,!1,e,t)}function xe(e){const t=j(e);if(!t)return!1;if(t===e)return!0;const n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}function we(e){const t=j(e);if(!t)return!1;if(B(e,t))return!0;const n=t.getAttribute("aria-activedescendant");return!!n&&("id"in e&&(n===e.id||!!e.querySelector(`#${CSS.escape(n)}`)))}function _e(e){const t=e.getAttribute("tabindex")??"";e.setAttribute("data-tabindex",t),e.setAttribute("tabindex","-1")}function Ae(e,t){const n=me(e,t);for(const e of n)_e(e)}function Se(e){const t=e.querySelectorAll("[data-tabindex]"),n=e=>{const t=e.getAttribute("data-tabindex");e.removeAttribute("data-tabindex"),t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")};e.hasAttribute("data-tabindex")&&n(e);for(const e of t)n(e)}function Ce(e){return async()=>{const t=await(e?.());return Ce(async()=>(await(t?.()),e))}}!function({limit:e=100}={}){const t=[];let n=[],r=null;const o=()=>t.length>0,i=()=>n.length>0}();n.d(t,["Sw",0,w])},77790(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},87759(e,t,n){"use strict";var r=n(2376),o=n(98596),i=n(93236);n.d(t,["F",0,function(e){const{direction:t="ltr"}=e,n=r.useMemo(()=>({direction:t}),[t]);return(0,i.jsx)(o.l.Provider,{value:n,children:e.children})}])},4755(e,t,n){"use strict";var r=n(2376),o=n(98922),i=n(12002),s=n(12240),a=n(19288),l=n(63405),c=n(38971),u=n(41826),d=n(93834),f=n(75740),p=n(64193),h=n(34498),g=n(93307),m=n(836),v=n(15351),b=n(90865);const y=r.forwardRef(function(e,t){const{render:n,className:y,id:k,name:x,value:w,disabled:_=!1,onValueChange:A,defaultValue:S,autoFocus:C=!1,style:E,...T}=e,{state:I,name:j,disabled:B,setTouched:N,setDirty:M,validityData:R,setFocused:O,setFilled:L,validationMode:P,validation:D}=(0,c.V$)(),{clearErrors:z,elementRef:V,submitCountRef:F}=(0,d.x)(),$=B||_,H=j??x,U={...I,disabled:$},{labelId:W}=(0,f.H)(),K=(0,p.l)({id:k}),[q]=(0,o.q)({controlled:w,default:S,name:"FieldControl",state:"value"}),G=void 0!==w,X=G?q:void 0,Y=null==X?void 0:String(X),Z=(0,a.K)(()=>D.inputRef.current?.value);(0,u.I)(D.inputRef,K,Y,Z,!$,x),(0,i.g)(()=>{const e=Y??D.inputRef.current?.value;void 0!==e&&L(""!==e)},[Y,D.inputRef,L]),(0,m.x)(Y,()=>{void 0!==Y&&(z(H),M(Y!==(R.initialValue??"")),D.change(Y))});const Q=r.useRef(null),J=(0,l.Z)();(0,i.g)(()=>{C&&Q.current===(0,b.RS)((0,s.R)(Q.current))&&O(!0)},[C,O]);const ee=(0,g.o)("input",e,{ref:[t,Q],state:U,props:[{id:K,disabled:$,name:H,ref:D.inputRef,"aria-labelledby":W,autoFocus:C,...G?{value:X}:{defaultValue:S},onChange(e){const t=e.currentTarget.value,n=(0,v.d)("none",e.nativeEvent);A?.(t,n),G||(M(t!==(R.initialValue??"")),L(""!==t),e.nativeEvent.defaultPrevented||n.isCanceled||(z(H),D.change(t)))},onFocus(){O(!0)},onBlur(e){if(N(!0),O(!1),"onBlur"===P){const t=e.currentTarget.value;D.commit(t),G&&queueMicrotask(()=>{const e=D.inputRef.current?.value;void 0!==e&&e!==t&&e!==(R.initialValue??"")&&D.commit(e)})}},onKeyDown(e){if("INPUT"===e.currentTarget.tagName&&"Enter"===e.key){N(!0);const t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===V.current&&!e.defaultPrevented){const t=e.currentTarget,n=F.current;J.start(0,()=>{F.current===n&&D.commit(t.value)})}else D.commit(t)}}},T,e=>D.getValidationProps($,e)],stateAttributesMapping:h.dc});return ee});n.d(t,["s",0,y])},39392(e,t,n){"use strict";n.d(t,["Gq",0,"data-invalid","rZ",0,"data-valid"])},82313(e,t,n){"use strict";var r=n(2376),o=n(12002),i=n(38971),s=n(75740),a=n(34498),l=n(88659),c=n(93307),u=n(57824);const d=r.forwardRef(function(e,t){const{render:n,id:r,className:d,style:f,...p}=e,h=(0,l.e)(r),g=(0,i.V$)(!1),m=(0,u.c)(),{setMessageIds:v}=(0,s.H)(),b={...g.state,disabled:g.disabled||m.disabled};(0,o.g)(()=>{if(h)return v(e=>e.concat(h)),()=>{v(e=>e.filter(e=>e!==h))}},[h,v]);return(0,c.o)("p",e,{ref:t,state:b,props:[{id:h},p],stateAttributesMapping:a.dc})});n.d(t,["r",0,d])},57824(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(2376);const o=r.createContext({disabled:!1});function i(){return r.useContext(o)}},63145(e,t,n){"use strict";var r=n(2376),o=n(38971),i=n(34498),s=n(93307),a=n(75740),l=n(68638),c=n(57824);const u=r.forwardRef(function(e,t){const{render:n,className:u,style:d,id:f,nativeLabel:p=!0,...h}=e,g=(0,o.V$)(!1),m=(0,c.c)(),{labelId:v}=(0,a.H)(),b={...g.state,disabled:g.disabled||m.disabled},y=r.useRef(null),k=(0,l.M)({id:v??f,native:p});return(0,s.o)("label",e,{ref:[t,y],state:b,props:[k,h],stateAttributesMapping:i.dc})});n.d(t,["d",0,u])},44999(e,t,n){"use strict";var r=n(2376),o=n(12002),i=n(19288),s=n(38971),a=n(34498),l=n(89688),c=n(93834),u=n(42564),d=n(93307),f=n(65799),p=n(5698),h=n(93236);const g=r.forwardRef(function(e,t){const{errors:n,validationMode:u,submitCountRef:g}=(0,c.x)(),{render:m,className:v,validate:b,validationDebounceTime:y=0,validationMode:k=u,name:x,disabled:w=!1,invalid:_,dirty:A,touched:S,actionsRef:C,style:E,...T}=e,I=(0,l.B)(!0)?.disabled,j=(0,i.K)(b||(()=>null)),B=I||w,[N,M]=r.useState(!1),[R,O]=r.useState(!1),[L,P]=r.useState(!1),[D,z]=r.useState(!1),V=A??R,F=S??N,$=r.useRef(V),H=r.useRef(void 0),[U,W]=r.useState(),K=x??U;(0,o.g)(()=>{void 0!==A&&($.current=A)},[A]);const q=(0,i.K)(e=>{void 0===A&&(e&&($.current=!0),O(e))}),G=(0,i.K)(e=>{void 0===S&&M(e)}),X=(0,i.K)(()=>"onChange"===k||"onSubmit"===k&&g.current>0),Y=K&&Object.hasOwn(n,K)?n[K]:null,Z=!!(Array.isArray(Y)?Y.length:Y),Q=!0===_||Z,[J,ee]=r.useState({state:a.ZV,error:"",errors:[],value:null,initialValue:null}),te=!Q&&(B?null:J.state.valid),ne=r.useMemo(()=>({disabled:B,touched:F,dirty:V,valid:te,filled:L,focused:D}),[B,F,V,te,L,D]),re=(0,f.J)({setValidityData:ee,validate:j,validityData:J,validationDebounceTime:y,invalid:Q,markedDirtyRef:$,state:ne,shouldValidateOnChange:X,validationMode:k,registeredFieldIdRef:H}),[oe,ie]=(0,p.o)({change:re.change,commit:re.commit,invalid:Q,markedDirtyRef:$,name:x,setRegisteredFieldName:W,registeredFieldIdRef:H,setValidityData:ee,validityData:J});r.useImperativeHandle(C,()=>({validate:oe}),[oe]);const se=r.useMemo(()=>({invalid:Q,name:K,validityData:J,setValidityData:ee,disabled:B,setTouched:G,setDirty:q,setFilled:P,setFocused:z,validationMode:k,shouldValidateOnChange:X,state:ne,registerFieldControl:ie,validation:re}),[Q,K,J,B,G,q,P,z,k,X,ne,ie,re]),ae=(0,d.o)("div",e,{ref:t,state:ne,props:T,stateAttributesMapping:a.dc});return(0,h.jsx)(s.eZ.Provider,{value:se,children:ae})});const m=r.forwardRef(function(e,t){return(0,h.jsx)(u.I,{children:(0,h.jsx)(g,{...e,ref:t})})});n.d(t,["X",0,m])},65799(e,t,n){"use strict";n.d(t,{J:()=>b});var r=n(2376),o=n(12570),i=n(63405),s=n(19288),a=n(31749),l=n(75740),c=n(45339),u=n(34498),d=n(93834),f=n(32029);const p=Object.keys(u.ZV);function h(e,t){return!e.matches(":disabled")&&(!t||e.form===t||null===e.form&&!e.hasAttribute("form"))}function g(e,t){let n=null;for(const r of e.keys())if(h(r,t)){if(!r.validity.valid)return r;n??=r}return n}function m(e){return{...u.ZV,valid:!e,customError:e}}function v(e){return e&&e.validationMessage?[e.validationMessage]:[]}function b(e){const{elementRef:t,formRef:n}=(0,d.x)(),{setValidityData:u,validate:h,validityData:b,validationDebounceTime:y,invalid:k,markedDirtyRef:x,state:w,shouldValidateOnChange:_,validationMode:A,registeredFieldIdRef:S}=e,{controlId:C,getDescriptionProps:E}=(0,l.H)(),T=(0,i.Z)(),I=r.useRef(null),j=(0,a.j)(()=>new Map).current,B=r.useRef(0),N=r.useRef(null),M=r.useCallback((e,t)=>(j.set(e,t),()=>{j.delete(e)}),[j]),R=(0,s.K)(()=>{const e=g(j,t.current);return e&&j.get(e)?.controlRef.current||null}),O=(0,s.K)(async(e,r=!1)=>{B.current+=1;const o=B.current;function i(){const e=N.current;N.current=null,!e||e[0].willValidate&&e[0].validationMessage!==e[1]||e[0].setCustomValidity(e[2])}function s(t,r,o){const i=function(t,n){const r=!1===t.valid?n:[];return{value:e,state:t,error:r[0]??"",errors:r,initialValue:b.initialValue}}(t,r);!function(e,t=k){const r=S.current??C;if(null==r)return;const o=n.current.fields.get(r);if(!o)return;const i=(0,f.c)(e,t);n.current.fields.set(r,{...o,validityData:i})}(i,o),u(i)}function a(){return j.size>0?g(j,t.current):I.current}let l=a();function c(){return l=a(),l?.willValidate?function(e){const t=p.reduce((t,n)=>(t[n]=e.validity[n],t),{});let n=!1;for(const e of p)if("valid"!==e)if("valueMissing"===e&&t[e])n=!0;else if(t[e])return t;return n&&!x.current&&(t.valid=!0,t.valueMissing=!1),t}(l):m(!1)}if(r){if(!1!==w.valid||!l)return;if(!l.validity.valueMissing){i();const e=a(),t=e?.validity.customError?v(e):[];return void s(m(t.length>0),t,!1)}for(const e of p)if("valid"!==e&&"valueMissing"!==e&&"customError"!==e&&l.validity[e])return}T.clear(),i();let d=c(),y=v(l);const E=_();if(0===y.length||E){const t=Array.from(n.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}),r=h(e,t);let i;if("object"==typeof r&&null!==r&&"then"in r){if(!1===d.valid?s(d,y):"onSubmit"!==A&&b.state.customError||(d.valid=null,s(d,y)),i=await r,o!==B.current)return;d=c()}else i=r;y=i?[].concat(i).filter(Boolean):[],y.length>0?(d.valid=!1,d.customError=!0,l?.willValidate&&function(e,t){const n=e.validity.customError?e.validationMessage:"",r=t.replace(/\r\n?/g,"\n");e.setCustomValidity(r),N.current=[e,r,n]}(l,y.join("\n"))):y=v(l)}s(d,y)}),L=(0,s.K)((e,t=!1)=>{if(T.clear(),B.current+=1,t)return;const n=_();n&&""!==e&&y?T.start(y,()=>{O(e)}):O(e,!n)}),P=r.useCallback((e,t={})=>(0,c.v6)(E(t),!1!==w.valid||w.disabled||e?o.t0:{"aria-invalid":!0}),[E,w.disabled,w.valid]);return r.useMemo(()=>({getValidationProps:P,inputRef:I,registeredInputs:j,registerInput:M,getInputControl:R,commit:O,change:L}),[P,j,M,R,O,L])}},32029(e,t,n){"use strict";function r(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}n.d(t,{c:()=>r})},89688(e,t,n){"use strict";n.d(t,{B:()=>s});var r=n(53169),o=n(2376);const i=o.createContext(void 0);function s(e=!1){const t=o.useContext(i);if(!t&&!e)throw new Error((0,r.A)(86));return t}},7406(e,t,n){"use strict";n.d(t,{c:()=>c});var r=n(2376),o=n(63405),i=n(12002),s=n(98414),a=n(15351);n(93236);const l=r.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new o.E,currentIdRef:{current:null},currentContextRef:{current:null}});function c(e,t={open:!1}){const{open:n}=t,o="rootStore"in e?e.rootStore:e,c=o.useState("floatingId"),u=r.useContext(l),{currentIdRef:d,delayRef:f,timeoutMs:p,initialDelayRef:h,currentContextRef:g,hasProvider:m,timeout:v}=u,[b,y]=r.useState(!1),k=r.useRef(n);return(0,i.g)(()=>{k.current=n},[n]),(0,i.g)(()=>{function e(){g.current?.setIsInstantPhase(!1),d.current=null,g.current=null,f.current=h.current,v.clear()}if(d.current&&!n&&d.current===c){if(y(!1),p){const t=c;return v.start(p,()=>{o.select("open")||d.current&&d.current!==t||e()}),()=>{(k.current||d.current!==t)&&v.clear()}}e()}},[n,c,d,f,p,h,g,v,o]),(0,i.g)(()=>{if(!n)return;const e=g.current,t=d.current;v.clear(),g.current={onOpenChange:o.setOpen,setIsInstantPhase:y},d.current=c,f.current={open:0,close:(0,s.uf)(h.current,"close")},null!==t&&t!==c?(y(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,(0,a.d)("none"))):(y(!1),e?.setIsInstantPhase(!1))},[n,c,o,d,f,h,g,v]),(0,i.g)(()=>()=>{if(d.current===c){if(g.current=null,!k.current)return;d.current=null,function(e,t){e.current=t.current}(f,h),v.clear()}},[g,d,f,c,h,v]),r.useMemo(()=>({activeIdRef:d,hasProvider:m,delayRef:f,isInstantPhase:b}),[d,m,f,b])}},11706(e,t,n){"use strict";n.d(t,{CK:()=>h});var r=n(2376),o=n(45149),i=n(81289),s=n(38583),a=n(12002),l=n(19288),c=n(12570),u=n(50415),d=n(93307);n(93236);const f=r.createContext(null);const p=(0,u.F)("portal");function h(e={}){const{ref:t,container:n,componentProps:u=c.t0,elementProps:h}=e,g=(0,s.B)(),m=r.useContext(f),v=m?.portalNode,[b,y]=r.useState(null),[k,x]=r.useState(null),w=(0,l.K)(e=>{null!==e&&x(e)}),_=r.useRef(null);(0,a.g)(()=>{if(null===n)return void(_.current&&(_.current=null,x(null),y(null)));const e=(n&&((0,i.Ll)(n)?n:n.current))??v??document.body;null!=e?_.current!==e&&(_.current=e,x(null),y(e)):_.current&&(_.current=null,x(null),y(null))},[n,v]);const A=(0,d.o)("div",u,{ref:[t,w],props:[{id:g,[p]:""},h]}),S=b&&A?o.createPortal(A,b):null;return{node:k,nodeId:r.isValidElement(A)?A.props.id:void 0,subtree:S}}},33367(e,t,n){"use strict";n.d(t,{K:()=>a});var r=n(25489),o=n(16703),i=n(26559);const s={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class a extends r.H{constructor(e){const{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:(0,o.d)(),nested:n,triggerElements:i},s),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,i.Ev)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);const n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}},88536(e,t,n){"use strict";var r=n(2376);n(93236);const o=r.createContext(null);const i=r.createContext(null);const s=()=>r.useContext(o)?.id||null,a=e=>{const t=r.useContext(i);return e??t};n.d(t,["R1",0,s,"cq",0,a])},47018(e,t,n){"use strict";n.d(t,{j:()=>u});var r=n(2376),o=n(7584),i=n(19288),s=n(81289),a=n(90865),l=n(26559);function c(e){return null!=e&&null!=e.clientX}function u(e,t={}){const{enabled:n=!0,axis:u="both"}=t,d="rootStore"in e?e.rootStore:e,f=d.useState("open"),p=d.useState("floatingElement"),h=d.useState("domReferenceElement"),g=d.context.dataRef,m=r.useRef(!1),v=r.useRef(null),[b,y]=r.useState(),[k,x]=r.useState([]),w=(0,i.K)(e=>{d.set("positionReference",e)}),_=(0,i.K)((e,t,n)=>{m.current||g.current.openEvent&&!c(g.current.openEvent)||d.set("positionReference",function(e,t){let n=null,r=null,o=!1;return{contextElement:e||void 0,getBoundingClientRect(){const i=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,a="y"===t.axis||"both"===t.axis,l=["mouseenter","mousemove"].includes(t.dataRef.current.openEvent?.type||"")&&"touch"!==t.pointerType;let c=i.width,u=i.height,d=i.x,f=i.y;return null==n&&t.x&&s&&(n=i.x-t.x),null==r&&t.y&&a&&(r=i.y-t.y),d-=n||0,f-=r||0,c=0,u=0,!o||l?(c="y"===t.axis?i.width:0,u="x"===t.axis?i.height:0,d=s&&null!=t.x?t.x:d,f=a&&null!=t.y?t.y:f):o&&!l&&(u="x"===t.axis?i.height:u,c="y"===t.axis?i.width:c),o=!0,{width:c,height:u,x:d,y:f,top:f,right:d+c,bottom:f+u,left:d}}}}(n??h,{x:e,y:t,axis:u,dataRef:g,pointerType:b}))}),A=(0,i.K)(e=>{f?v.current||(_(e.clientX,e.clientY,e.currentTarget),x([])):_(e.clientX,e.clientY,e.currentTarget)}),S=(0,l.Go)(b)?p:f;r.useEffect(()=>{if(!n)return void w(h);if(!S)return;function e(){v.current?.(),v.current=null}const t=(0,s.zk)(p);return!g.current.openEvent||c(g.current.openEvent)?v.current=(0,o.q)(t,"mousemove",function(t){const n=(0,a.EW)(t);(0,a.gR)(p,n)?e():_(t.clientX,t.clientY)}):w(h),e},[S,n,p,g,h,d,_,w,k]),r.useEffect(()=>()=>{d.set("positionReference",null)},[d]),r.useEffect(()=>{n&&!p&&(m.current=!1)},[n,p]),r.useEffect(()=>{!n&&f&&(m.current=!0)},[n,f]);const C=r.useMemo(()=>{function e(e){y(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:A,onMouseEnter:A}},[A]);return r.useMemo(()=>n?{reference:C,trigger:C}:{},[n,C])}},94891(e,t,n){"use strict";n.d(t,{s:()=>k});var r=n(2376),o=n(7584),i=n(31238),s=n(12240),a=n(19288),l=n(63405),c=n(81289),u=n(55087),d=n(88536),f=n(15351),p=n(64789),h=n(50415),g=n(59879),m=n(90865),v=n(26559),b=n(40612);function y(){return!1}function k(e,t={}){const{enabled:n=!0,escapeKey:k=!0,outsidePress:x=!0,outsidePressEvent:w="sloppy",referencePress:_=y,bubbles:A,externalTree:S}=t,C="rootStore"in e?e.rootStore:e,E=C.useState("open"),T=C.useState("floatingElement"),{dataRef:I,events:j}=C.context,B=(0,d.cq)(S),N=(0,a.K)("function"==typeof x?x:()=>!1),M="function"==typeof x?N:x,R=!1!==M,O=(0,a.K)(()=>w),{escapeKey:L,outsidePress:P}={escapeKey:"boolean"==typeof(D=A)?D:D?.escapeKey??!1,outsidePress:"boolean"==typeof D?D:D?.outsidePress??!0};var D;const z=r.useRef(!1),V=r.useRef(!1),F=r.useRef(!1),$=r.useRef(!1),H=r.useRef(!1),U=r.useRef(""),W=r.useRef(null),K=(0,l.Z)(),q=(0,l.Z)(),G=(0,a.K)(()=>{q.clear(),I.current.insideReactTree=!1}),X=(0,a.K)(e=>{const t=I.current.floatingContext?.nodeId;return(B?(0,b.CM)(B.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),Y=(0,a.K)(e=>(0,g.F2)(e,C.select("floatingElement"))||(0,g.F2)(e,C.select("domReferenceElement"))),Z=(0,a.K)(e=>{_()&&C.setOpen(!1,(0,f.d)(p.Ui,e.nativeEvent))}),Q=(0,a.K)(e=>{if(!E||!n||!k||"Escape"!==e.key)return;if(H.current)return;if(!L&&X("__escapeKeyBubbles"))return;const t=(0,v.O_)(e)?e.nativeEvent:e,r=(0,f.d)(p.jv,t);C.setOpen(!1,r),r.isCanceled||e.preventDefault(),L||r.isPropagationAllowed||e.stopPropagation()}),J=(0,a.K)(()=>{I.current.insideReactTree=!0,q.start(0,G)}),ee=(0,a.K)(e=>{if(!E||!n||0!==e.button)return;const t=(0,m.EW)(e.nativeEvent);(0,m.gR)(C.select("floatingElement"),t)&&(z.current||(z.current=!0,V.current=!1))}),te=(0,a.K)(e=>{E&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&z.current&&(V.current=!0)});r.useEffect(()=>{function e(e){e.open||($.current=!1)}return j.on("openchange",e),()=>{j.off("openchange",e)}},[j]),r.useEffect(()=>{if(!E||!n)return E||($.current=!1),G;I.current.__escapeKeyBubbles=L,I.current.__outsidePressBubbles=P;const e=new l.E,t=new l.E,r=(0,s.R)(T);function a(){F.current=!0,t.start(0,()=>{F.current=!1})}function d(){z.current=!1,V.current=!1}function y(){const e=U.current,t="pen"!==e&&e?e:"mouse",n=O(),r="function"==typeof n?n():n;return"string"==typeof r?r:r[t]}function x(e){const t=I.current.floatingContext?.nodeId,n=B&&(0,b.CM)(B.nodesRef.current,t).some(t=>(0,g.F2)(e,t.context?.elements.floating));return Y(e)||n}function w(e){if(function(e){const t=y();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}(e))return"click"===e.type||Y(e)||(t.clear(),F.current=!1),void G();if(I.current.insideReactTree)return void G();const n=(0,m.EW)(e),r=`[${(0,h.F)("inert")}]`,o=(0,c.vq)(n)?n.getRootNode():null,i=Array.from(((0,c.Ng)(o)?o:(0,s.R)(C.select("floatingElement"))).querySelectorAll(r)),a=C.context.triggerElements;if(n&&(a.hasElement(n)||a.hasMatchingElement(e=>(0,m.gR)(e,n))))return;let l=(0,c.vq)(n)?n:null;for(;l&&!(0,c.eu)(l);){const e=(0,c.$4)(l);if((0,c.eu)(e)||!(0,c.vq)(e))break;l=e}if(!i.length||!(0,c.vq)(n)||(0,g.tZ)(n)||(0,m.gR)(n,C.select("floatingElement"))||!i.every(e=>!(0,m.gR)(l,e))){if((0,c.sb)(n)&&!("touches"in e)){const t=(0,c.eu)(n),r=(0,c.L9)(n),o=/auto|scroll/,i=t||o.test(r.overflowX),s=t||o.test(r.overflowY),a=i&&n.clientWidth>0&&n.scrollWidth>n.clientWidth,l=s&&n.clientHeight>0&&n.scrollHeight>n.clientHeight,u="rtl"===r.direction,d=l&&(u?e.offsetX<=n.offsetWidth-n.clientWidth:e.offsetX>n.clientWidth),f=a&&e.offsetY>n.clientHeight;if(d||f)return}if(!x(e)){if("intentional"===y()){if(0!==e.detail&&!(0,v.YF)(e)&&!$.current)return;if(F.current)return t.clear(),void(F.current=!1)}("function"!=typeof M||M(e))&&(X("__outsidePressBubbles")||(C.setOpen(!1,(0,f.d)(p.Np,e)),G()))}}}function _(e){if("sloppy"!==y()||!C.select("open")||!n||Y(e))return;const t=e.touches[0];t&&(W.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},K.start(1e3,()=>{W.current&&(W.current.dismissOnTouchEnd=!1,W.current.dismissOnMouseDown=!1)}))}function A(e,t){const n=(0,m.EW)(e);if(!n)return;const r=(0,o.q)(n,e.type,()=>{t(e),r()})}function S(e){K.clear(),"pointerdown"===e.type&&(0===e.button&&($.current=!0),U.current=e.pointerType),"mousedown"===e.type&&W.current&&!W.current.dismissOnMouseDown||A(e,e=>{"pointerdown"===e.type?function(e){"sloppy"===y()&&"touch"!==e.pointerType&&C.select("open")&&n&&!Y(e)&&w(e)}(e):w(e)})}function j(e){if("pointercancel"===e.type&&($.current=!1),!z.current)return;const n=V.current;d(),"intentional"===y()&&("pointercancel"!==e.type?x(e)||(n?a():("function"!=typeof M||M(e))&&(t.clear(),F.current=!0,G())):n&&a())}function N(e){if("sloppy"!==y()||!W.current||Y(e))return;const t=e.touches[0];if(!t)return;const n=Math.abs(t.clientX-W.current.startX),r=Math.abs(t.clientY-W.current.startY),o=Math.sqrt(n*n+r*r);o>5&&(W.current.dismissOnTouchEnd=!0),o>10&&(w(e),K.clear(),W.current=null)}function D(e){"sloppy"===y()&&W.current&&!Y(e)&&(W.current.dismissOnTouchEnd&&w(e),K.clear(),W.current=null)}const q=(0,i.g)(k&&(0,i.g)((0,o.q)(r,"keydown",Q),(0,o.q)(r,"compositionstart",function(){e.clear(),H.current=!0}),(0,o.q)(r,"compositionend",function(){e.start(u.Fp?5:0,()=>{H.current=!1})})),R&&(0,i.g)((0,o.q)(r,"click",S,!0),(0,o.q)(r,"pointerdown",S,!0),(0,o.q)(r,"pointerup",j,!0),(0,o.q)(r,"pointercancel",j,!0),(0,o.q)(r,"mousedown",S,!0),(0,o.q)(r,"mouseup",j,!0),(0,o.q)(r,"touchstart",function(e){U.current="touch",A(e,_)},{capture:!0,passive:!0}),(0,o.q)(r,"touchmove",function(e){A(e,N)},{capture:!0,passive:!0}),(0,o.q)(r,"touchend",function(e){A(e,D)},{capture:!0,passive:!0})));return()=>{q(),e.clear(),t.clear(),d(),F.current=!1,G()}},[I,T,k,R,M,E,n,L,P,Q,G,O,X,Y,B,C,K]);const ne=r.useMemo(()=>({onKeyDown:Q,onPointerDown:Z,onClick:Z}),[Q,Z]),re=r.useMemo(()=>({onKeyDown:Q,onPointerDown:te,onMouseDown:te,onClickCapture:J,onMouseDownCapture(e){J(),ee(e)},onPointerDownCapture(e){J(),ee(e)},onMouseUpCapture:J,onTouchEndCapture:J,onTouchMoveCapture:J}),[Q,J,ee,te]);return r.useMemo(()=>n?{reference:ne,floating:re,trigger:ne}:{},[n,ne,re])}},87515(e,t,n){"use strict";n.d(t,{r:()=>l});var r=n(2376),o=n(12002),i=n(10469),s=n(81289),a=n(88536);function l(e){return c(e,e.rootContext)}function c(e,t){const{nodeId:n,externalTree:l}=e,c=t.useState("referenceElement"),u=t.useState("floatingElement"),d=t.useState("domReferenceElement"),f=t.useState("open"),p=t.useState("floatingId"),[h,g]=r.useState(null),[m,v]=r.useState(void 0),[b,y]=r.useState(void 0),k=r.useRef(null),x=(0,a.cq)(l),w=r.useMemo(()=>({reference:c,floating:u,domReference:d}),[c,u,d]),_=(0,i.we)({...e,elements:{...w,...h&&{reference:h}}}),A=(0,s.vq)(m)?m:null,S=void 0===b?t.state.floatingElement:b;t.useSyncedValue("referenceElement",m??null),t.useSyncedValue("domReferenceElement",void 0===m?d:A),t.useSyncedValue("floatingElement",S);const C=r.useCallback(e=>{const t=(0,s.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;g(t),_.refs.setReference(t)},[_.refs]),E=r.useCallback(e=>{((0,s.vq)(e)||null===e)&&(k.current=e,v(e)),((0,s.vq)(_.refs.reference.current)||null===_.refs.reference.current||null!==e&&!(0,s.vq)(e))&&_.refs.setReference(e)},[_.refs,v]),T=r.useCallback(e=>{y(e),_.refs.setFloating(e)},[_.refs]),I=r.useMemo(()=>({..._.refs,setReference:E,setFloating:T,setPositionReference:C,domReference:k}),[_.refs,E,T,C]),j=r.useMemo(()=>({..._.elements,domReference:d}),[_.elements,d]),B=r.useMemo(()=>({..._,dataRef:t.context.dataRef,open:f,onOpenChange:t.setOpen,events:t.context.events,floatingId:p,refs:I,elements:j,nodeId:n,rootStore:t}),[_,I,j,n,t,f,p]);return(0,o.g)(()=>{d&&(k.current=d)},[d]),(0,o.g)(()=>{t.context.dataRef.current.floatingContext=B;const e=x?.nodesRef.current.find(e=>e.id===n);e&&(e.context=B)}),r.useMemo(()=>({..._,context:B,refs:I,elements:j,rootStore:t}),[_,I,j,B,t])}},755(e,t,n){"use strict";n.d(t,{i:()=>v});var r=n(2376),o=n(7584),i=n(94563),s=n(55087),a=n(31238),l=n(12240),c=n(63405),u=n(81289),d=n(50415),f=n(59879),p=n(90865),h=n(15351),g=n(64789);const m=i.Md&&s.Fp;function v(e,t={}){const{enabled:n=!0,delay:i}=t,s="rootStore"in e?e.rootStore:e,{events:v,dataRef:b}=s.context,y=r.useRef(!1),k=r.useRef(null),x=r.useRef(!0),w=(0,c.Z)();r.useEffect(()=>{const e=s.select("domReferenceElement");if(!n)return;const t=(0,u.zk)(e);return(0,a.g)((0,o.q)(t,"blur",function(){const e=s.select("domReferenceElement");!s.select("open")&&(0,u.sb)(e)&&e===(0,p.RS)((0,l.R)(e))&&(y.current=!0,k.current=e)}),m&&(0,o.q)(t,"keydown",function(){x.current=!0},!0),m&&(0,o.q)(t,"pointerdown",function(){x.current=!1},!0))},[s,n]),r.useEffect(()=>{if(n)return v.on("openchange",e),()=>{v.off("openchange",e)};function e(e){if(e.reason===g.Ui||e.reason===g.jv){const e=s.select("domReferenceElement");(0,u.vq)(e)&&(k.current=e,y.current=!0)}}},[v,n,s]);const _=r.useMemo(()=>{function e(){y.current=!1,k.current=null}return{onMouseLeave(){e()},onFocus(t){const n=t.currentTarget;if(y.current){if(k.current===n)return;e()}const r=(0,p.EW)(t.nativeEvent);if((0,u.vq)(r))if(m&&!t.relatedTarget){if(!x.current&&!(0,f.$u)(r))return}else if(!(0,f.em)(r))return;const o=(0,f.Hi)(t.relatedTarget,s.context.triggerElements),{nativeEvent:a,currentTarget:l}=t,c="function"==typeof i?i():i;s.select("open")&&o||0===c||void 0===c?s.setOpen(!0,(0,h.d)(g.F4,a,l)):w.start(c,()=>{y.current||s.setOpen(!0,(0,h.d)(g.F4,a,l))})},onBlur(t){e();const n=t.relatedTarget,r=t.nativeEvent,o=(0,u.vq)(n)&&n.hasAttribute((0,d.F)("focus-guard"))&&"outside"===n.getAttribute("data-type");w.start(0,()=>{const e=s.select("domReferenceElement"),t=(0,p.RS)((0,l.R)(e));if(!n&&t===e)return;if((0,p.gR)(b.current.floatingContext?.refs.floating.current,t)||(0,p.gR)(e,t)||o)return;const i=n??t;(0,f.Hi)(i,s.context.triggerElements)||s.setOpen(!1,(0,h.d)(g.F4,r))})}}},[b,i,s,w]);return r.useMemo(()=>n?{reference:_,trigger:_}:{},[n,_])}},10305(e,t,n){"use strict";n.d(t,{a:()=>y});var r=n(2376),o=n(7584),i=n(31238),s=n(12002),a=n(12240),l=n(19288),c=n(63405),u=n(81289),d=n(15351),f=n(64789),p=n(88536),h=n(90865),g=n(40612),m=n(2527),v=n(59879),b=n(98414);function y(e,t={}){const{enabled:n=!0,closeDelay:y=0,nodeId:k}=t,x="rootStore"in e?e.rootStore:e,w=x.useState("open"),_=x.useState("floatingElement"),A=x.useState("domReferenceElement"),{dataRef:S}=x.context,C=(0,p.cq)(),E=(0,p.R1)(),T=(0,m.uu)(x),I=(0,c.Z)(),j=(0,l.K)(()=>(0,b.GI)(S.current.openEvent?.type,T.interactedInside)),B=(0,l.K)(()=>(0,b.h$)(S.current.openEvent?.type)),N=(0,l.K)(()=>{(0,m.GH)(T)});(0,s.g)(()=>{w||(T.pointerType=void 0,T.restTimeoutPending=!1,T.interactedInside=!1,N())},[w,T,N]),r.useEffect(()=>N,[N]),(0,s.g)(()=>{if(n&&w&&T.handleCloseOptions?.blockPointerEvents&&B()&&(0,u.vq)(A)&&_){const e=A,t=_,n=(0,a.R)(_),r=C?.nodesRef.current.find(e=>e.id===E)?.context?.elements.floating;r&&(r.style.pointerEvents="");const o=T.pointerEventsScopeElement!==t?T.pointerEventsScopeElement:null,i=r!==t?r:null,s=T.handleCloseOptions?.getScope?.()??o??i??e.closest("[data-rootownerid]")??n.body;return(0,m.D8)(T,{scopeElement:s,referenceElement:e,floatingElement:t}),()=>{N()}}},[n,w,A,_,T,B,C,E,N]),r.useEffect(()=>{if(!n)return;function e(){return!!(C&&E&&(0,g.CM)(C.nodesRef.current,E).length>0)}function t(n){C&&E&&!e()&&I.start(0,()=>{C.events.off("floating.closed",t),x.setOpen(!1,(0,d.d)(f.N7,n)),C.events.emit("floating.closed",n)})}const r=_;return(0,i.g)(r&&(0,o.q)(r,"mouseenter",function(){T.openChangeTimeout.clear(),I.clear(),C?.events.off("floating.closed",t),N()}),r&&(0,o.q)(r,"mouseleave",function(n){if(e()&&C)return void C.events.on("floating.closed",t);if((0,v.Hi)(n.relatedTarget,x.context.triggerElements))return;const r=S.current.floatingContext?.nodeId??k,o=n.relatedTarget;C&&r&&(0,u.vq)(o)&&(0,g.CM)(C.nodesRef.current,r,!1).some(e=>(0,h.gR)(e.context?.elements.floating,o))||(T.handler?T.handler(n):(N(),B()&&!j()&&function(e){const t=(0,b.uf)(y,"close",T.pointerType),n=()=>{x.setOpen(!1,(0,d.d)(f.N7,e)),C?.events.emit("floating.closed",e)};t?T.openChangeTimeout.start(t,n):(T.openChangeTimeout.clear(),n())}(n)))}),r&&(0,o.q)(r,"pointerdown",function(e){const t=(0,h.EW)(e);(0,v.H5)(t)?T.interactedInside=null!=t?.closest("[aria-haspopup]"):T.interactedInside=!1},!0),()=>{C?.events.off("floating.closed",t)})},[n,_,x,S,y,k,B,j,N,T,C,E,I])}},2527(e,t,n){"use strict";n.d(t,{D8:()=>c,GH:()=>l,uu:()=>u});var r=n(31966),o=n(31749),i=n(63405);class s{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new i.E,this.restTimeout=new i.E,this.handleCloseOptions=void 0}static create(){return new s}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose}const a=new WeakMap;function l(e){if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&a.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),a.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function c(e,t){const{scopeElement:n,referenceElement:r,floatingElement:o}=t,i=a.get(n);i&&i!==e&&l(i),l(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=o,a.set(n,e),n.style.pointerEvents="none",r.style.pointerEvents="auto",o.style.pointerEvents="auto"}function u(e){const t=e.context.dataRef.current,n=(0,o.j)(()=>t.hoverInteractionState??s.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),(0,r.y)(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}},27484(e,t,n){"use strict";n.d(t,{j:()=>k});var r=n(2376),o=n(45149),i=n(7584),s=n(31238),a=n(12240),l=n(19288),c=n(87946),u=n(81289),d=n(15351),f=n(64789),p=n(88536),h=n(90865),g=n(26559),m=n(2527),v=n(98414),b=n(59879);const y={current:null};function k(e,t={}){const{enabled:n=!0,delay:k=0,handleClose:x=null,mouseOnly:w=!1,restMs:_=0,move:A=!0,triggerElementRef:S=y,externalTree:C,isActiveTrigger:E=!0,getHandleCloseContext:T,isClosing:I,shouldOpen:j,guardStaleOpen:B=!1}=t,N="rootStore"in e?e.rootStore:e,{dataRef:M,events:R}=N.context,O=(0,p.cq)(C),L=(0,m.uu)(N),P=r.useRef(!1),D=(0,c.u)(x),z=(0,c.u)(k),V=(0,c.u)(_),F=(0,c.u)(n),$=(0,c.u)(j),H=(0,c.u)(I),U=(0,l.K)(()=>(0,v.GI)(M.current.openEvent?.type,L.interactedInside)),W=(0,l.K)(()=>!1!==$.current?.()),K=(0,l.K)((e,t,n)=>{const r=N.context.triggerElements;if(r.hasElement(t))return!e||!(0,h.gR)(e,t);if(!(0,u.vq)(n))return!1;const o=n;return r.hasMatchingElement(e=>(0,h.gR)(e,o))&&(!e||!(0,h.gR)(e,o))}),q=(0,l.K)(()=>{if(!L.handler)return;(0,a.R)(N.select("domReferenceElement")).removeEventListener("mousemove",L.handler),L.handler=void 0}),G=(0,l.K)(()=>{(0,m.GH)(L)});return E&&(L.handleCloseOptions=x?.__options),r.useEffect(()=>q,[q]),r.useEffect(()=>{if(n)return R.on("openchange",e),()=>{R.off("openchange",e)};function e(e){e.open?P.current=!1:(P.current=e.reason===f.N7,q(),L.openChangeTimeout.clear(),L.restTimeout.clear(),L.blockMouseMove=!0,L.restTimeoutPending=!1)}},[n,R,L,q]),r.useEffect(()=>{if(!n)return;function e(e,t=!0){const n=(0,v.uf)(z.current,"close",L.pointerType);n?L.openChangeTimeout.start(n,()=>{N.setOpen(!1,(0,d.d)(f.N7,e)),O?.events.emit("floating.closed",e)}):t&&(L.openChangeTimeout.clear(),N.setOpen(!1,(0,d.d)(f.N7,e)),O?.events.emit("floating.closed",e))}const t=S.current??(E?N.select("domReferenceElement"):null);if(!(0,u.vq)(t))return;function r(e){if(L.openChangeTimeout.clear(),L.blockMouseMove=!1,w&&!(0,g.Go)(L.pointerType))return;const t=(0,v.hq)(V.current),n=(0,v.uf)(z.current,"open",L.pointerType),r=(0,h.EW)(e),o=e.currentTarget??null,i=N.select("domReferenceElement");let s=o;if((0,u.vq)(r)&&!N.context.triggerElements.hasElement(r))for(const e of N.context.triggerElements.elements())if((0,h.gR)(e,r)){s=e;break}(0,u.vq)(o)&&(0,u.vq)(i)&&!N.context.triggerElements.hasElement(o)&&(0,h.gR)(o,i)&&(s=i);const a=null!=s&&K(i,s,r),l=N.select("open"),c=H.current?.()??"ending"===N.select("transitionStatus"),p=!l&&c&&P.current,m=!a&&(0,u.vq)(s)&&(0,u.vq)(i)&&(0,h.gR)(i,s)&&p,b=t>0&&!n,y=!l||a;a&&(l||p)||m?W()&&N.setOpen(!0,(0,d.d)(f.N7,e,s)):b||(n?L.openChangeTimeout.start(n,()=>{y&&W()&&N.setOpen(!0,(0,d.d)(f.N7,e,s))}):y&&W()&&N.setOpen(!0,(0,d.d)(f.N7,e,s)))}function o(t){if(U())return void G();q();const n=N.select("domReferenceElement"),r=(0,a.R)(n);L.restTimeout.clear(),L.restTimeoutPending=!1;const o=M.current.floatingContext??T?.();if((0,b.Hi)(t.relatedTarget,N.context.triggerElements))return;if(D.current&&o){N.select("open")||L.openChangeTimeout.clear();const n=S.current;return L.handler=D.current({...o,tree:O,x:t.clientX,y:t.clientY,onClose(){G(),q(),F.current&&!U()&&n===N.select("domReferenceElement")&&e(t,!0)}}),r.addEventListener("mousemove",L.handler),void L.handler(t)}("touch"!==L.pointerType||!(0,h.gR)(N.select("floatingElement"),t.relatedTarget))&&e(t)}const l=B?(0,i.q)(t,"mouseout",function(e){(0,h.gR)(t,e.relatedTarget)||(L.openChangeTimeout.clear(),L.restTimeout.clear(),L.restTimeoutPending=!1)}):void 0;return A?(0,s.g)((0,i.q)(t,"mousemove",r,{once:!0}),(0,i.q)(t,"mouseenter",r),(0,i.q)(t,"mouseleave",o),l):(0,s.g)((0,i.q)(t,"mouseenter",r),(0,i.q)(t,"mouseleave",o),l)},[q,G,M,z,N,n,D,L,E,K,U,w,A,V,S,O,F,T,H,W,B]),r.useMemo(()=>{if(n)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e,n=e.currentTarget,r=N.select("domReferenceElement"),i=N.select("open"),s=K(r,n,e.target);if(w&&!(0,g.Go)(L.pointerType))return;if(i&&s&&L.handleCloseOptions?.blockPointerEvents){const e=N.select("floatingElement");if(e){const t=L.handleCloseOptions?.getScope?.()??n.ownerDocument.body;(0,m.D8)(L,{scopeElement:t,referenceElement:n,floatingElement:e})}}const a=(0,v.hq)(V.current);function l(){if(L.restTimeoutPending=!1,U())return;const e=N.select("open");L.blockMouseMove||e&&!s||!W()||N.setOpen(!0,(0,d.d)(f.N7,t,n))}i&&!s||0===a||!s&&L.restTimeoutPending&&e.movementX**2+e.movementY**2<2||(L.restTimeout.clear(),"touch"===L.pointerType?o.flushSync(()=>{l()}):s&&i?l():(L.restTimeoutPending=!0,L.restTimeout.start(a,l)))}};function e(e){L.pointerType=e.pointerType}},[n,L,U,K,w,N,V,W])}},98414(e,t,n){"use strict";n.d(t,{GI:()=>s,h$:()=>a,hq:()=>i,uf:()=>o});var r=n(26559);function o(e,t,n){const o=function(e,t){return null==t||(0,r.Go)(t)?"function"==typeof e?e():e:0}(e,n);return"number"==typeof o?o:o?.[t]}function i(e){return"function"==typeof e?e():e}function s(e,t){return t||"click"===e||"mousedown"===e}function a(e){return e?.includes("mouse")&&"mousedown"!==e}},50306(e,t,n){"use strict";n.d(t,{D:()=>a});var r=n(2376),o=n(12002),i=n(81289),s=n(33367);function a(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:a,floatingId:l,nested:c,onOpenChange:u}=e,d=t.useState("open"),f=t.useState("activeTriggerElement"),p=t.useState(n?"popupElement":"positionerElement"),h=t.context.triggerElements,g=u,m=r.useRef(null);void 0===a&&null===m.current&&(m.current=new s.K({open:d,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:h,onOpenChange:g,floatingId:l,syncOnly:!0,nested:c}));const v=a??m.current;return t.useSyncedValue("floatingId",l),(0,o.g)(()=>{const e={open:d,floatingId:l,referenceElement:f,floatingElement:p};(0,i.vq)(f)&&(e.domReferenceElement=f),v.state.positionReference===v.state.referenceElement&&(e.positionReference=f),v.update(e)},[d,l,f,p,v]),v.context.onOpenChange=g,v.context.nested=c,v}},76521(e,t,n){"use strict";var r=n(39175);n.d(t,["U",0,(e,t)=>{const{name:n,fn:o}=(e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0,offsetParent:f="real"}=(0,r._3)(e,t)||{};if(null==u)return{};const p=(0,r.nI)(d),h={x:n,y:o},g=(0,r.Dz)(i),m=(0,r.sq)(g),v=await a.getDimensions(u),b="y"===g,y=b?"top":"left",k=b?"bottom":"right",x=b?"clientHeight":"clientWidth",w=s.reference[m]+s.reference[g]-h[g]-s.floating[m],_=h[g]-s.reference[g],A="real"===f?await(a.getOffsetParent?.(u)):l.floating;let S=l.floating[x]||s.floating[m];S&&await(a.isElement?.(A))||(S=l.floating[x]||s.floating[m]);const C=w/2-_/2,E=S/2-v[m]/2-1,T=Math.min(p[y],E),I=Math.min(p[k],E),j=T,B=S-v[m]-I,N=S/2-v[m]/2+C,M=(0,r.qE)(j,N,B),R=!c.arrow&&null!=(0,r.Sg)(i)&&N!==M&&s.reference[m]/2-(N<j?T:I)-v[m]/2<0,O=R?N<j?N-j:N-B:0;return{[g]:h[g]+O,data:{[g]:M,centerOffset:N-M-O,...R&&{alignmentOffset:O}},reset:R}}}))(e);return{name:n,fn:o,options:[e,t]}}])},53734(e,t,n){"use strict";n.d(t,{i:()=>f});var r=n(81289),o=n(63405),i=n(90865),s=n(40612);const a=.1*.1,l=.5;function c(e,t,n,r,o,i){return r>=t!=i>=t&&e<=(o-n)*(t-r)/(i-r)+n}function u(e,t,n,r,o,i,s,a,l,u){let d=!1;return c(e,t,n,r,o,i)&&(d=!d),c(e,t,o,i,s,a)&&(d=!d),c(e,t,s,a,l,u)&&(d=!d),c(e,t,l,u,n,r)&&(d=!d),d}function d(e,t,n,r,o,i){const s=Math.min(n,o),a=Math.max(n,o),l=Math.min(r,i),c=Math.max(r,i);return e>=s&&e<=a&&t>=l&&t<=c}function f(e={}){const{blockPointerEvents:t=!1}=e,n=new o.E,c=({x:e,y:t,placement:o,elements:c,onClose:f,nodeId:p,tree:h})=>{const g=o?.split("-")[0];let m=!1,v=null,b=null,y="undefined"!=typeof performance?performance.now():0;return function(o){n.clear();const k=c.domReference,x=c.floating;if(!k||!x||null==g||null==e||null==t)return;const{clientX:w,clientY:_}=o,A=(0,i.EW)(o),S="mouseleave"===o.type,C=(0,i.gR)(x,A),E=(0,i.gR)(k,A);if(C&&(m=!0,!S))return;if(E&&(m=!1,!S))return void(m=!0);if(S&&(0,r.vq)(o.relatedTarget)&&(0,i.gR)(x,o.relatedTarget))return;function T(){return Boolean(h&&(0,s.CM)(h.nodesRef.current,p).length>0)}function I(){T()||(n.clear(),f())}if(T())return;const j=k.getBoundingClientRect(),B=x.getBoundingClientRect(),N=e>B.right-B.width/2,M=t>B.bottom-B.height/2,R=B.width>j.width,O=B.height>j.height,L=(R?j:B).left,P=(R?j:B).right,D=(O?j:B).top,z=(O?j:B).bottom;if("top"===g&&t>=j.bottom-1||"bottom"===g&&t<=j.top+1||"left"===g&&e>=j.right-1||"right"===g&&e<=j.left+1)return void I();let V=!1;switch(g){case"top":V=d(w,_,L,j.top+1,P,B.bottom-1);break;case"bottom":V=d(w,_,L,B.top+1,P,j.bottom-1);break;case"left":V=d(w,_,B.right-1,z,j.left+1,D);break;case"right":V=d(w,_,j.right-1,z,B.left+1,D)}if(V)return;if(m&&!function(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}(w,_,j))return void I();if(!S&&function(e,t){const n=performance.now(),r=n-y;if(null===v||null===b||0===r)return v=e,b=t,y=n,!1;const o=e-v,i=t-b;return v=e,b=t,y=n,o*o+i*i<r*r*a}(w,_))return void I();let F=!1;switch(g){case"top":{const n=R?.25:2,r=R||N?e+n:e-n,o=R?e-n:N?e+n:e-n,i=t+l+1,s=N||R?B.bottom-l:B.top,a=N?R?B.bottom-l:B.top:B.bottom-l;F=u(w,_,r,i,o,i,B.left,s,B.right,a);break}case"bottom":{const n=R?.25:2,r=R||N?e+n:e-n,o=R?e-n:N?e+n:e-n,i=t-l,s=N||R?B.top+l:B.bottom,a=N?R?B.top+l:B.bottom:B.top+l;F=u(w,_,r,i,o,i,B.left,s,B.right,a);break}case"left":{const n=O?.25:2,r=O||M?t+n:t-n,o=O?t-n:M?t+n:t-n,i=e+l+1,s=M||O?B.right-l:B.left,a=M?O?B.right-l:B.left:B.right-l;F=u(w,_,s,B.top,a,B.bottom,i,r,i,o);break}case"right":{const n=O?.25:2,r=O||M?t+n:t-n,o=O?t-n:M?t+n:t-n,i=e-l,s=M||O?B.left+l:B.right,a=M?O?B.left+l:B.right:B.left+l;F=u(w,_,i,r,i,o,s,B.top,a,B.bottom);break}}F?m||n.start(40,I):I()}};return c.__options={...e,blockPointerEvents:t},c}},17300(e,t,n){"use strict";n.d(t,["BT",0,"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])","Ed",0,"data-base-ui-focusable"])},50415(e,t,n){"use strict";function r(e){return`data-base-ui-${e}`}n.d(t,{F:()=>r})},16703(e,t,n){"use strict";function r(){const e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}n.d(t,{d:()=>r})},59879(e,t,n){"use strict";n.d(t,{$u:()=>d,F2:()=>c,H5:()=>f,Hi:()=>l,em:()=>p,tZ:()=>u});var r=n(81289),o=n(78858),i=n(90865),s=n(17300),a=n(93918);function l(e,t){if(!(0,r.vq)(e))return!1;const n=e;if(t.hasElement(n))return!n.hasAttribute(a.d);for(const[,e]of t.entries())if((0,i.gR)(e,n))return!e.hasAttribute(a.d);return!1}function c(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function u(e){return e.matches("html,body")}function d(e){return(0,r.sb)(e)&&e.matches(s.BT)}function f(e){return null!=e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${s.BT}`)}function p(e){if(!e||o.I)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}},26559(e,t,n){"use strict";n.d(t,{Ev:()=>a,Go:()=>s,O_:()=>o,YF:()=>i});var r=n(94563);function o(e){return"nativeEvent"in e}function i(e){return!(""!==e.pointerType||!e.isTrusted)||(r.yA&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function s(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function a(e){const t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}},40612(e,t,n){"use strict";function r(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...r(e,t.id,n)])}n.d(t,{CM:()=>r})},8958(e,t,n){"use strict";var r=n(2376),o=n(4755),i=n(93236);const s=r.forwardRef(function(e,t){return(0,i.jsx)(o.s,{ref:t,...e})});n.d(t,["p",0,s])},14684(e,t,n){"use strict";n.d(t,["V",0,"data-ending-style","e",0,"data-starting-style"])},71031(e,t,n){"use strict";n.d(t,["K2",0,{style:{transition:"none"}},"Pe",0,{fallbackAxisSide:"end"}])},15351(e,t,n){"use strict";n.d(t,{d:()=>o});var r=n(12570);function o(e,t,n,o){let i=!1,s=!1;const a=o??r.t0;return{reason:e,event:t??new Event("base-ui"),cancel(){i=!0},allowPropagation(){s=!0},get isCanceled(){return i},get isPropagationAllowed(){return s},trigger:n,...a}}},98596(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(2376);const o=r.createContext(void 0);function i(){const e=r.useContext(o);return e?.direction??"ltr"}n.d(t,["l",0,o])},34498(e,t,n){"use strict";var r=n(39392);const o={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},i={valid:e=>null===e?null:e?{[r.rZ]:""}:{[r.Gq]:""}};n.d(t,["ZV",0,{badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},"dc",0,i,"mk",0,o])},5698(e,t,n){"use strict";n.d(t,{o:()=>l});var r=n(2376),o=n(12002),i=n(19288),s=n(32029),a=n(93834);function l(e){const{change:t,commit:n,invalid:l,markedDirtyRef:c,name:u,setRegisteredFieldName:d,registeredFieldIdRef:f,setValidityData:p,validityData:h}=e,{formRef:g}=(0,a.x)(),m=r.useRef(null),v=r.useRef(null),b=r.useRef(!1),y=(0,i.K)(()=>{const e=v.current;if(e)return e.getValue?e.getValue():e.value});function k(e){return void 0===e.value?y():e.value}const x=(0,i.K)(()=>{const e=v.current;c.current=!0,n(e?k(e):h.value)});function w(e=v.current?.id){e&&g.current.fields.delete(e)}(0,o.g)(()=>{const e=v.current;e&&e.id&&(d(u?void 0:e.name),g.current.fields.set(e.id,{getValue:y,name:u??e.name,controlRef:e.controlRef,validityData:(0,s.c)(h,l),validate:x}))},[g,y,l,u,d,x,h]),(0,o.g)(()=>{const e=g.current.fields;return()=>{const t=v.current?.id;t&&e.delete(t)}},[g]);const _=(0,i.K)((e,n)=>{if(!n)return void(m.current===e&&(m.current=null,t(void 0,!0),w(),v.current=null,d(void 0),f.current=void 0));const r=v.current?.id,o=m.current;o&&o!==e&&t(void 0,!0),m.current=e,v.current=n,u||d(n.name),f.current=n.id,r&&r!==n.id&&w(r),function(e){if(b.current)return;b.current=!0;const t=k(e);p(e=>e.initialValue===t?e:{...e,initialValue:t})}(n),function(){const e=v.current;e&&e.id&&g.current.fields.set(e.id,{getValue:y,name:u??e.name,controlRef:e.controlRef,validityData:(0,s.c)(h,l),validate:x})}()});return[x,_]}},41826(e,t,n){"use strict";n.d(t,{I:()=>s});var r=n(12002),o=n(31749),i=n(38971);function s(e,t,n,s,a=!0,l){const{registerFieldControl:c}=(0,i.V$)(),u=(0,o.j)(()=>Symbol());(0,r.g)(()=>{const r=u.current;if(!a)return void c(r,void 0);c(r,{controlRef:e,getValue:s,id:t,name:l,value:n})},[e,a,s,t,l,c,u,n]),(0,r.g)(()=>{const e=u.current;return()=>{c(e,void 0)}},[c,u])}},38971(e,t,n){"use strict";n.d(t,{V$:()=>c});var r=n(53169),o=n(2376),i=n(12570),s=n(34498);const a={invalid:void 0,name:void 0,validityData:{state:s.ZV,errors:[],error:"",value:"",initialValue:null},setValidityData:i.tE,disabled:void 0,setTouched:i.tE,setDirty:i.tE,setFilled:i.tE,setFocused:i.tE,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:s.mk,registerFieldControl:i.tE,validation:{getValidationProps:(e,t=i.t0)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:i.tE,getInputControl:()=>null,commit:async()=>{},change:i.tE}},l=o.createContext(a);function c(e=!0){const t=o.useContext(l);if(t.setValidityData===i.tE&&!e)throw new Error((0,r.A)(28));return t}n.d(t,["eZ",0,l])},93834(e,t,n){"use strict";n.d(t,{x:()=>s});var r=n(2376),o=n(12570);const i=r.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:o.tE,validationMode:"onSubmit",submitCountRef:{current:0}});function s(){return r.useContext(i)}},95400(e,t,n){"use strict";n.d(t,{d:()=>i});var r=n(12570),o=n(71031);function i(e){return"starting"===e?o.K2:r.t0}},60266(e,t,n){"use strict";function r(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const e=t[r](o);null!=e&&Object.assign(n,e);continue}!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}n.d(t,{v:()=>r})},75740(e,t,n){"use strict";n.d(t,{H:()=>s});var r=n(2376),o=n(12570);const i=r.createContext({controlId:void 0,registerControlId:o.tE,resetControlId:o.tE,labelId:void 0,setLabelId:o.tE,messageIds:[],setMessageIds:o.tE,getDescriptionProps:e=>e});function s(){return r.useContext(i)}n.d(t,["G",0,i])},42564(e,t,n){"use strict";var r=n(2376),o=n(19288),i=n(31749),s=n(88659),a=n(75740),l=n(93236);n.d(t,["I",0,function(e){const t=(0,s.e)(),[n,c]=r.useState(t),[u,d]=r.useState(),[f,p]=r.useState([]),h=void 0===n?t:n,g=(0,i.j)(()=>new Map),{messageIds:m}=(0,a.H)(),v=(0,o.K)((e,t)=>{const n=g.current;void 0===t?n.delete(e):n.set(e,t),c(e=>{if(0===n.size)return e;let t;for(const r of n.values()){if(r===e)return e;void 0===t&&(t=r)}return t})}),b=(0,o.K)(()=>{0===g.current.size&&c(t)}),y=r.useCallback(e=>{const t=e["aria-describedby"]?e["aria-describedby"].split(" "):[];return t.push(...m,...f),{...e,"aria-describedby":Array.from(new Set(t)).join(" ")||void 0}},[m,f]),k=r.useMemo(()=>({controlId:h,registerControlId:v,resetControlId:b,labelId:u,setLabelId:d,messageIds:f,setMessageIds:p,getDescriptionProps:y}),[h,v,b,u,d,f,p,y]);return(0,l.jsx)(a.G.Provider,{value:k,children:e.children})}])},68638(e,t,n){"use strict";n.d(t,{M:()=>c});var r=n(81289),o=n(12240),i=n(19288),s=n(90865),a=n(47001),l=n(75740);function c(e={}){const{id:t,fallbackControlId:n,native:c=!1,setLabelId:u,focusControl:d}=e,{controlId:f,setLabelId:p}=(0,l.H)(),h=(0,i.K)(e=>{p(e),u?.(e)}),g=(0,a.v)(t,h),m=f??n;function v(e){const t=(0,s.EW)(e.nativeEvent);t?.closest("button,input,select,textarea")||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),c||function(e){if(d)return void d(e,m);if(!m)return;const t=(0,o.R)(e.currentTarget).getElementById(m);(0,r.sb)(t)&&t.focus({focusVisible:!0})}(e))}return c?{id:g,htmlFor:m,onMouseDown:v}:{id:g,onClick:v,onPointerDown(e){e.preventDefault()}}}},64193(e,t,n){"use strict";n.d(t,{l:()=>u});var r=n(2376),o=n(12002),i=n(19288),s=n(31749),a=n(12570),l=n(88659),c=n(75740);function u(e={}){const{id:t,enabled:n=!0}=e,{controlId:u,registerControlId:d,resetControlId:f}=(0,c.H)(),p=(0,l.e)(),h=(0,s.j)(()=>Symbol()),g=r.useRef(!1),m=r.useRef(!1),v=(0,i.K)(()=>{g.current&&d!==a.tE&&(g.current=!1,d(h.current,void 0))});return(0,o.g)(()=>{if(!n||d===a.tE)return void v();let e;if(void 0!==t)m.current=!0,e=t;else{if(!m.current)return void f();e=p}void 0!==e?(g.current=!0,d(h.current,e)):v()},[t,n,d,f,p,h,v]),(0,o.g)(()=>v,[v]),(n?u:void 0)??t??p}},64789(e,t,n){"use strict";n.d(t,["F4",0,"trigger-focus","N7",0,"trigger-hover","Np",0,"outside-press","Ui",0,"trigger-press","jv",0,"escape-key","r9",0,"disabled","zJ",0,"imperative-action"])},74466(e,t,n){"use strict";var r=n(14684);const o={[r.e]:""},i={[r.V]:""},s={transitionStatus:e=>"starting"===e?o:"ending"===e?i:null};n.d(t,["G",0,s])},99237(e,t,n){"use strict";n.d(t,{s:()=>w});var r=n(2376),o=n(39175),i=n(12240),s=n(81289),a=n(12002),l=n(87946),c=n(19288),u=n(25569),d=n(10469),f=n(87515),p=n(98596),h=n(76521),g=n(439),m=n(52046),v=n(23371);const b=v.QJ,y=v.px;function k(e,t,n){const r="inline-start"===e||"inline-end"===e;return{top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"}[t]}function x(e,t,n){const{rects:r,placement:i}=e;return{side:k(t,(0,o.C0)(i),n),align:(0,o.Sg)(i)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function w(e){return function(e,t){const{anchor:n,positionMethod:f="absolute",side:w="bottom",sideOffset:A=0,align:S="center",alignOffset:C=0,collisionBoundary:E,collisionPadding:T=5,sticky:I=!1,arrowPadding:j=5,disableAnchorTracking:B=!1,inline:N,keepMounted:M=!1,floatingRootContext:R,mounted:O,collisionAvoidance:L,shift:P,nodeId:D,adaptiveOrigin:z,lazyFlip:V=!1,externalTree:F}=e,[$,H]=r.useState(null);O||null===$||H(null);const U=L.side||"flip",W=L.align||"flip",K=L.fallbackAxisSide||"end",q=P?.crossAxis??!1,G=P?.rootBoundary,X="function"==typeof n?n:void 0,Y=(0,c.K)(X),Z=X?Y:n,Q=(0,l.u)(n),J=(0,l.u)(O),ee="rtl"===(0,p.j)(),te=$||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ee?"left":"right","inline-start":ee?"right":"left"}[w],ne="center"===S?te:`${te}-${S}`;let re=T;"number"==typeof re?re={top:re,right:re,bottom:re,left:re}:re&&(re={top:re.top||0,right:re.right||0,bottom:re.bottom||0,left:re.left||0});const oe=1,ie="bottom"===w?oe:0,se="top"===w?oe:0,ae="right"===w?oe:0,le="left"===w?oe:0,ce={boundary:"clipping-ancestors"===E?"clippingAncestors":E,padding:re},ue=r.useRef(null),de=(0,l.u)(A),fe=(0,l.u)(C),pe="function"!=typeof A?A:0,he="function"!=typeof C?C:0,ge=[];N&&ge.push(N);ge.push((0,d.cY)(e=>{const t=x(e,w,ee),n="function"==typeof de.current?de.current(t):de.current,r="function"==typeof fe.current?fe.current(t):fe.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[pe,he,ee,w]));const me="none"===W&&"shift"!==U,ve=!me&&(I||q||"shift"===U),be="none"===U?null:(0,d.UU)({...ce,padding:{top:re.top+oe+ie,right:re.right+oe+le,bottom:re.bottom+oe+se,left:re.left+oe+ae},mainAxis:!q&&"flip"===U,crossAxis:"flip"===W&&"alignment",fallbackAxisSideDirection:K}),ye=me?null:(0,d.BN)({...ce,rootBoundary:G,mainAxis:"none"!==W,crossAxis:ve,limiter:I||q?void 0:(0,d.ER)(e=>{if(!ue.current)return{};const{width:t,height:n}=ue.current.getBoundingClientRect(),r=(0,o.TV)((0,o.C0)(e.placement));return{offset:("y"===r?t:n)/2+("y"===r?re.left+re.right:re.top+re.bottom)/2}})},[ce,I,q,G,re,W]);"shift"===U||"shift"===W||"center"===S?ge.push(ye,be):ge.push(be,ye);ge.push((0,d.Ej)({...ce,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!J.current)return;const o=e.style;o.setProperty(b,`${t}px`),o.setProperty(y,`${n}px`);const i=(0,s.zk)(e).devicePixelRatio||1,{x:a,y:l,width:c,height:u}=r.reference,d=(Math.round((a+c)*i)-Math.round(a*i))/i,f=(Math.round((l+u)*i)-Math.round(l*i))/i;o.setProperty(v.cn,`${d}px`),o.setProperty(v.NL,`${f}px`)}}),(0,h.U)(e=>({element:ue.current||(0,i.R)(e.elements.floating).createElement("div"),padding:ue.current?j:0,offsetParent:"floating"}),[j]),{name:"transformOrigin",fn(e){const{elements:{floating:t},middlewareData:n,placement:r,platform:i,rects:s,y:a}=e,l=(0,o.C0)(r),c=(0,o.Sg)(r),u="y"===(0,o.TV)(l),d=ue.current,f="function"==typeof A?A(x(e,w,ee)):A;let p;if(!d&&c&&Math.abs(u?n.shift?.x||0:n.shift?.y||0)<=1)p="start"===c===(u&&!0===i.isRTL?.(t))?"100%":"0%";else{p=`${(u?n.arrow?.x||0:n.arrow?.y||0)+(u?d?.clientWidth||0:d?.clientHeight||0)/2}px`}let h="top"===l||"left"===l?`calc(100% + ${f}px)`:-f+"px";return ve&&u&&Math.abs(n.shift?.y||0)>f&&(h=s.reference.y+s.reference.height/2-a+"px"),t.style.setProperty(v.Td,u?`${p} ${h}`:`${h} ${p}`),{}}},g.j,z),(0,a.g)(()=>{!O&&R&&R.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[O,R]);const ke=r.useMemo(()=>({ancestorScroll:!B,elementResize:!B&&"undefined"!=typeof ResizeObserver,layoutShift:!B&&"undefined"!=typeof IntersectionObserver}),[B]),{refs:xe,elements:we,x:_e,y:Ae,middlewareData:Se,update:Ce,placement:Ee,context:Te,isPositioned:Ie,floatingStyles:je}=t({rootContext:R,open:M?O:void 0,placement:ne,middleware:ge,strategy:f,whileElementsMounted:M?void 0:(...e)=>(0,u.ll)(...e,ke),nodeId:D,externalTree:F}),{sideX:Be,sideY:Ne}=Se.adaptiveOrigin||m.j,Me=Ie?f:"fixed",Re=r.useMemo(()=>{let e;return e=Ie?z?{position:Me,[Be]:_e,[Ne]:Ae}:{...je,position:Me}:{position:Me,top:0,left:0},e[b]="100vw",e[y]="100vh",Ie||(e.opacity=0),e},[z,Me,Be,_e,Ne,Ae,je,Ie]),Oe=r.useRef(null);(0,a.g)(()=>{if(!O)return;const e=Q.current,t="function"==typeof e?e():e,n=(_(t)?t.current:t)||null||null;n!==Oe.current&&(xe.setPositionReference(n),Oe.current=n)},[O,xe,Z,Q]),r.useEffect(()=>{if(!O)return;const e=Q.current;"function"!=typeof e&&_(e)&&e.current!==Oe.current&&(xe.setPositionReference(e.current),Oe.current=e.current)},[O,xe,Z,Q]),r.useEffect(()=>{if(M&&O&&we.reference&&we.floating)return(0,u.ll)(we.reference,we.floating,Ce,ke)},[M,O,we,Ce,ke]);const Le=(0,o.C0)(Ee),Pe=k(w,Le,ee),De=(0,o.Sg)(Ee)||"center",ze=Boolean(Se.hide?.referenceHidden);(0,a.g)(()=>{V&&O&&Ie&&Le!==te&&H(Le)},[V,O,Ie,Le,te]);const Ve=r.useMemo(()=>({position:"absolute",top:Se.arrow?.y,left:Se.arrow?.x}),[Se.arrow]),Fe=0!==Se.arrow?.centerOffset;return r.useMemo(()=>({positionerStyles:Re,arrowStyles:Ve,arrowRef:ue,arrowUncentered:Fe,side:Pe,align:De,physicalSide:Le,anchorHidden:ze,refs:xe,context:Te,isPositioned:Ie,update:Ce}),[Re,Ve,ue,Fe,Pe,De,Le,ze,xe,Te,Ie,Ce])}(e,f.r)}function _(e){return null!=e&&"current"in e}},23266(e,t,n){"use strict";n.d(t,{V:()=>c});var r=n(45149),o=n(94541),i=n(19288),s=n(37304),a=n(14684);let l=null;function c(e,t=!1,n=!1){const c=(0,o.NR)();return(0,i.K)((o,i=null)=>{c.cancel();const u=(0,s.q)(e);if(null==u)return;const d=u,f=()=>{n?function(e){if(!l){const e=[];l=e,queueMicrotask(()=>{l=null,r.flushSync(()=>{for(const t of e)t()})})}l.push(e)}(()=>{i?.aborted||o()}):r.flushSync(o)};if("function"!=typeof d.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)o();else{if(t){const e=a.e;if(!d.hasAttribute(e))return void c.request(p);const t=new MutationObserver(()=>{d.hasAttribute(e)||(t.disconnect(),p())});return t.observe(d,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}c.request(p)}function p(){Promise.all(d.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||f()},()=>{if(i?.aborted)return;d.getAnimations().some(e=>e.pending||"finished"!==e.playState)?p():f()})}})}},88659(e,t,n){"use strict";n.d(t,{e:()=>o});var r=n(38583);function o(e){return(0,r.B)(e,"base-ui")}},83244(e,t,n){"use strict";n.d(t,{v:()=>s});var r=n(2376),o=n(19288),i=n(23266);function s(e){const{enabled:t=!0,open:n,ref:s,batch:a=!1,onComplete:l}=e,c=(0,o.K)(l),u=(0,i.V)(s,n,a);r.useEffect(()=>{if(!t)return;const e=new AbortController;return u(c,e.signal),()=>{e.abort()}},[t,n,c,u])}},93307(e,t,n){"use strict";n.d(t,{o:()=>p});var r=n(53169),o=n(2376),i=n(8970),s=n(28641),a=n(70071),l=n(12570),c=n(60266),u=n(73850),d=n(21044),f=n(45339);function p(e,t,n={}){let p=t.render;!1!==n.enabled&&(p=function(e){if(e?.$$typeof!==h)return e;const t=o.Children.toArray(e)[0];return o.isValidElement(t)?t:e}(p));const g=function(e,t,n){const{className:r,style:o}=e,{state:p=l.t0,ref:h,props:g,stateAttributesMapping:m,enabled:v=!0}=t,b=v?(0,u.S)(r,p):void 0,y=v?(0,d.m)(o,p):void 0,k=v?(0,c.v)(p,m):l.t0,x=v&&g?function(e){if(Array.isArray(e))return(0,f.lZ)(e);return(0,f.v6)(void 0,e)}(g):void 0,w=v?(0,a.r)(k,x)??{}:l.t0;"undefined"!=typeof document&&(v?Array.isArray(h)?w.ref=(0,i.U)([w.ref,(0,s.v)(n),...h]):w.ref=(0,i.a)(w.ref,(0,s.v)(n),h):(0,i.a)(null,null));if(!v)return l.t0;void 0!==b&&(w.className=(0,f.VN)(w.className,b));void 0!==y&&(w.style=(0,a.r)(w.style,y));return w}(t,n,p);if(!1===n.enabled)return null;return function(e,t,n,i){if(t){if("function"==typeof t)return t(n,i);const e=(0,f.v6)(n,t.props);return e.ref=n.ref,o.cloneElement(t,e)}if(e&&"string"==typeof e)return function(e,t){if("button"===e)return(0,o.createElement)("button",{type:"button",...t,key:t.key});if("img"===e)return(0,o.createElement)("img",{alt:"",...t,key:t.key});return o.createElement(e,t)}(e,n);throw new Error((0,r.A)(8))}(e,p,g,n.state??l.t0)}const h=Symbol.for("react.lazy")},69522(e,t,n){"use strict";n.d(t,{$:()=>s});var r=n(2376),o=n(12002),i=n(94541);function s(e,t=!1,n=!1,s=!1){const[a,l]=r.useState(e&&t?"idle":void 0),[c,u]=r.useState(e&&!s);return e&&!c&&(u(!0),l("starting")),e||!c||"ending"===a||n||l("ending"),e||c||"ending"!==a||l(void 0),(0,o.g)(()=>{if(!e&&c&&"ending"!==a&&n){const e=i.KP.request(()=>{l("ending")});return()=>{i.KP.cancel(e)}}},[e,c,a,n]),(0,o.g)(()=>{if(!e||t)return;const n=i.KP.request(()=>{l(void 0)});return()=>{i.KP.cancel(n)}},[t,e]),(0,o.g)(()=>{if(!e||!t)return;e&&c&&"idle"!==a&&l("starting");const n=i.KP.request(()=>{l("idle")});return()=>{i.KP.cancel(n)}},[t,e,c,a]),{mounted:c,setMounted:u,transitionStatus:a}}},836(e,t,n){"use strict";n.d(t,{x:()=>s});var r=n(2376),o=n(12002),i=n(19288);function s(e,t){const n=r.useRef(e),s=(0,i.K)(t);(0,o.g)(()=>{n.current!==e&&s(n.current),n.current=e},[e,s])}},45339(e,t,n){"use strict";n.d(t,{VN:()=>g,lZ:()=>s,v6:()=>i});var r=n(70071);const o={};function i(e,t,n,r,o){if(!(n||r||o||e))return a(t);let i=a(e);return t&&(i=l(i,t)),n&&(i=l(i,n)),r&&(i=l(i,r)),o&&(i=l(i,o)),i}function s(e){if(0===e.length)return o;if(1===e.length)return a(e[0]);let t=a(e[0]);for(let n=1;n<e.length;n+=1)t=l(t,e[n]);return t}function a(e){return u(e)?{...d(e,o)}:function(e){const t={...e};for(const e in t){const n=t[e];c(e,n)&&(t[e]=p(n))}return t}(e)}function l(e,t){return u(t)?d(t,e):function(e,t){if(!t)return e;for(const n in t){const o=t[n];switch(n){case"style":e[n]=(0,r.r)(e.style,o);break;case"className":e[n]=g(e.className,o);break;default:c(n,o)?e[n]=f(e[n],o):e[n]=o}}return e}(e,t)}function c(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}function u(e){return"function"==typeof e}function d(e,t){return u(e)?e(t):e??o}function f(e,t){return t?e?(...n)=>{const r=n[0];if(m(r)){const o=r;h(o);const i=t(...n);return o.baseUIHandlerPrevented||e?.(...n),i}const o=t(...n);return e?.(...n),o}:p(t):e}function p(e){return e?(...t)=>{const n=t[0];return m(n)&&h(n),e(...t)}:e}function h(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function g(e,t){return t?e?t+" "+e:t:e}function m(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}},12066(e,t,n){"use strict";var r=n(2376),o=n(12002),i=n(88659),s=n(87146),a=n(93307);const l=r.forwardRef(function(e,t){const{render:n,className:r,style:l,id:c,...u}=e,{setLabelId:d}=(0,s.M)(),f=(0,i.e)(c);(0,o.g)(()=>(d(f),()=>{d(e=>e===f?void 0:e)}),[f,d]);return(0,a.o)("div",e,{ref:t,props:[{id:f,"aria-hidden":!0},u]})});n.d(t,["M",0,l])},83945(e,t,n){"use strict";var r=n(2376),o=n(87146),i=n(93307),s=n(93236);const a=r.forwardRef(function(e,t){const{render:n,className:a,style:l,...c}=e,[u,d]=r.useState(),f=r.useMemo(()=>({labelId:u,setLabelId:d}),[u,d]),p=(0,i.o)("div",e,{ref:t,props:[{role:"group","aria-labelledby":u},c]});return(0,s.jsx)(o.z.Provider,{value:f,children:p})});n.d(t,["s",0,a])},87146(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n(53169),o=n(2376);const i=o.createContext(void 0);function s(){const e=o.useContext(i);if(void 0===e)throw new Error((0,r.A)(56));return e}n.d(t,["z",0,i])},59801(e,t,n){"use strict";var r=n(2376),o=n(1306),i=n(25258),s=n(49624),a=n(83244),l=n(93307),c=n(95400),u=n(10305),d=n(31223);const f=r.forwardRef(function(e,t){const{render:n,className:r,style:f,...p}=e,h=(0,o.g)(),{side:g,align:m}=(0,i.s)(),v=h.useState("open"),b=h.useState("instantType"),y=h.useState("transitionStatus"),k=h.useState("popupProps"),x=h.useState("floatingRootContext"),w=h.useState("disabled"),_=h.useState("closeDelay");(0,a.v)({open:v,ref:h.context.popupRef,onComplete(){v&&h.context.onOpenChangeComplete?.(!0)}}),(0,u.a)(x,{enabled:!w,closeDelay:_});const A=h.useStateSetter("popupElement"),S={open:v,side:g,align:m,instant:b,transitionStatus:y};return(0,l.o)("div",e,{state:S,ref:[t,h.context.popupRef,A],props:[d.Ls,k,(0,c.d)(y),p],stateAttributesMapping:s.LM})});n.d(t,["o",0,f])},68817(e,t,n){"use strict";var r=n(2376),o=n(1306),i=n(70962),s=n(28975),a=n(93236);const l=r.forwardRef(function(e,t){const{keepMounted:n=!1,...r}=e;return(0,o.g)().useState("mounted")||n?(0,a.jsx)(i.$.Provider,{value:n,children:(0,a.jsx)(s.F,{ref:t,...r})}):null});n.d(t,["K",0,l])},70962(e,t,n){"use strict";n.d(t,{a:()=>s});var r=n(53169),o=n(2376);const i=o.createContext(void 0);function s(){const e=o.useContext(i);if(void 0===e)throw new Error((0,r.A)(70));return e}n.d(t,["$",0,i])},10217(e,t,n){"use strict";var r=n(2376),o=n(1306),i=n(25258),s=n(99237),a=n(70962),l=n(71031),c=n(5924),u=n(93236);const d=r.forwardRef(function(e,t){const{render:n,className:d,anchor:f,positionMethod:p="absolute",side:h="top",align:g="center",sideOffset:m=0,alignOffset:v=0,collisionBoundary:b="clipping-ancestors",collisionPadding:y=5,arrowPadding:k=5,sticky:x=!1,disableAnchorTracking:w=!1,collisionAvoidance:_=l.Pe,style:A,...S}=e,C=(0,o.g)(),E=(0,a.a)(),T=C.useState("open"),I=C.useState("mounted"),j=C.useState("trackCursorAxis"),B=C.useState("disableHoverablePopup"),N=C.useState("floatingRootContext"),M=C.useState("instantType"),R=C.useState("transitionStatus"),O=C.useState("adaptiveOrigin"),L=(0,s.s)({anchor:f,positionMethod:p,floatingRootContext:N,mounted:I,side:h,sideOffset:m,align:g,alignOffset:v,collisionBoundary:b,collisionPadding:y,sticky:x,arrowPadding:k,disableAnchorTracking:w,keepMounted:E,collisionAvoidance:_,adaptiveOrigin:O}),P=r.useMemo(()=>({open:T,side:L.side,align:L.align,anchorHidden:L.anchorHidden,instant:"none"!==j?"tracking-cursor":M}),[T,L.side,L.align,L.anchorHidden,j,M]),D=(0,c.i)(e,P,{styles:L.positionerStyles,transitionStatus:R,props:S,refs:[t,C.useStateSetter("positionerElement")],hidden:!I,inert:!T||"both"===j||B});return(0,u.jsx)(i.v.Provider,{value:L,children:D})});n.d(t,["o",0,d])},25258(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(53169),o=n(2376);const i=o.createContext(void 0);function s(){const e=o.useContext(i);if(void 0===e)throw new Error((0,r.A)(71));return e}n.d(t,["v",0,i])},33246(e,t,n){"use strict";n.d(t,{n:()=>i});var r=n(2376);const o=r.createContext(void 0);function i(){return r.useContext(o)}},94681(e,t,n){"use strict";var r=n(2376),o=n(19403),i=n(12570),s=n(12002),a=n(1306),l=n(47018),c=n(94891),u=n(15351),d=n(31223),f=n(45339),p=n(16575),h=n(64789),g=n(93236);const m=(0,o.G1)(function(e){const{disabled:t=!1,defaultOpen:n=!1,open:o,disableHoverablePopup:i=!1,trackCursorAxis:l="none",actionsRef:c,onOpenChange:f,onOpenChangeComplete:m,handle:b,triggerId:y,defaultTriggerId:k=null,children:x}=e,w=(0,d.xp)((e,t)=>new p.h({open:n,openProp:o,activeTriggerId:k,triggerIdProp:y},e,t));w.useControlledProp("openProp",o),w.useControlledProp("triggerIdProp",y),w.useContextCallback("onOpenChange",f),w.useContextCallback("onOpenChangeComplete",m);const _=w.useState("open"),A=!t&&_,S=w.useState("activeTriggerId"),C=w.useState("mounted"),E=w.useState("payload");w.useSyncedValues({trackCursorAxis:l,disableHoverablePopup:i,disabled:t}),(0,d.tr)(w,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:T,transitionStatus:I}=(0,d.l$)(A,w),j=w.useState("isInstantPhase"),B=w.useState("instantType"),N=w.useState("lastOpenChangeReason"),M=r.useRef(null);(0,s.g)(()=>{_&&t&&w.setOpen(!1,(0,u.d)(h.r9))},[_,t,w]),(0,s.g)(()=>{"ending"===I&&"none"===N||"ending"!==I&&j?("delay"!==B&&(M.current=B),w.set("instantType","delay")):null!==M.current&&(w.set("instantType",M.current),M.current=null)},[I,j,N,B,w]),(0,s.g)(()=>{A&&null==S&&w.set("payload",void 0)},[w,S,A]),r.useImperativeHandle(c,()=>({unmount:T,close:()=>w.setOpen(!1,(0,u.d)(h.zJ))}),[T,w]);const R=A||C||!t&&"none"!==l;return(0,g.jsxs)(a.B.Provider,{value:w,children:[b&&(0,g.jsx)(d.Ae,{handle:b,store:w}),R&&(0,g.jsx)(v,{store:w,disabled:t,trackCursorAxis:l}),"function"==typeof x?x({payload:E}):x]})});function v({store:e,disabled:t,trackCursorAxis:n}){const o=e.useState("floatingRootContext"),s=(0,c.s)(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),a=(0,l.j)(o,{enabled:!t&&"none"!==n,axis:"none"===n?void 0:n}),u=r.useMemo(()=>(0,f.v6)(a.reference,s.reference),[a.reference,s.reference]);return(0,d.i6)(e,{activeTriggerProps:u,inactiveTriggerProps:u,popupProps:s.floating??i.t0}),null}n.d(t,["s",0,m])},1306(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(53169),o=n(2376);const i=o.createContext(void 0);function s(e){const t=o.useContext(i);if(void 0===t&&!e)throw new Error((0,r.A)(72));return t}n.d(t,["B",0,i])},16575(e,t,n){"use strict";n.d(t,{h:()=>d});var r=n(2376),o=n(25489),i=n(15351),s=n(64789),a=n(31223),l=n(72975),c=n(86404);const u={...c.o,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class d extends o.H{constructor(e,t,n){const r=new l.Z;super(f(e,r,t,n),p(r),u)}setOpen=(e,t)=>{(0,a.DU)(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,(0,i.d)(s.Ui,e))}}function f(e,t,n,r=!1){return{...(0,c.r)(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function p(e){return{popupRef:r.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}},89933(e,t,n){"use strict";var r=n(53169),o=n(2376),i=n(81289),s=n(19403),a=n(63405),l=n(87946),c=n(1306),u=n(49624),d=n(93307),f=n(31223),p=n(15965),h=n(88659),g=n(33246),m=n(7406),v=n(755),b=n(27484),y=n(53734),k=n(90865),x=n(26559),w=n(15351),_=n(64789),A=n(2527),S=n(98414),C=n(93918);const E="data-base-ui-tooltip-trigger";function T(e){if("composedPath"in e){const t=e.composedPath();for(let e=0;e<t.length;e+=1){const n=t[e];if((0,i.vq)(n))return n}}const t=e.target;return(0,i.vq)(t)?t:null}const I=(0,s.nk)(function(e,t){const{render:n,className:s,style:I,handle:j,payload:B,disabled:N,delay:M,closeOnClick:R=!0,closeDelay:O,id:L,...P}=e,D=(0,c.g)(!0),z=(0,p.f)(j)??D;if(!z)throw new Error((0,r.A)(82));const V=(0,h.e)(L),F=z.useState("isTriggerActive",V),$=z.useState("isOpenedByTrigger",V),H=z.useState("floatingRootContext"),U=o.useRef(null),W=O??0,{registerTrigger:K,isMountedByThisTrigger:q}=(0,f.L_)(V,U,z,{payload:B,closeOnClick:R,closeDelay:W}),G=(0,g.n)(),{activeIdRef:X,delayRef:Y,isInstantPhase:Z,hasProvider:Q}=(0,m.c)(H,{open:$}),J=(0,A.uu)(H);z.useSyncedValue("isInstantPhase",Z);const ee=z.useState("disabled"),te=N??ee,ne=(0,l.u)(te),re=z.useState("trackCursorAxis"),oe=z.useState("disableHoverablePopup"),ie=o.useRef(!1),se=(0,a.Z)(),ae=o.useRef(void 0);function le(){return Q&&null!=X.current?0:M??G??600}function ce(e){const t=U.current;if(!t||!e)return!1;const n=function(e){let t=e;for(;t;){const e=t.closest(`[${E}]`);if(e)return e;const n=t.getRootNode();t="host"in n&&(0,i.vq)(n.host)?n.host:null}return null}(e);return null!==n&&n!==t&&(0,k.gR)(t,n)}const ue=(0,b.j)(H,{enabled:!te,mouseOnly:!0,move:!1,handleClose:oe||"both"===re?null:(0,y.i)(),restMs:le,delay:()=>null==O&&Q?{close:(0,S.uf)(Y.current,"close")}:{close:W},triggerElementRef:U,isActiveTrigger:F,isClosing:()=>"ending"===z.select("transitionStatus"),shouldOpen:()=>!ie.current}),de=(0,v.i)(H,{enabled:!te}).reference,fe=e=>{const t=ie.current,n=T(e),r=function(e){const t=ce(e);return ie.current=t,t&&(J.openChangeTimeout.clear(),J.restTimeout.clear(),J.restTimeoutPending=!1,se.clear()),t}(n),o=U.current,i=o&&n&&(0,k.gR)(o,n);if(r&&z.select("open")&&z.select("lastOpenChangeReason")===_.N7)z.setOpen(!1,(0,w.d)(_.N7,e));else if(t&&!r&&i&&!ne.current&&!z.select("open")&&o&&(0,x.Go)(ae.current)){const t=()=>{ie.current||ne.current||z.select("open")||z.setOpen(!0,(0,w.d)(_.N7,e,o))},n=le();0===n?(se.clear(),t()):se.start(n,t)}},pe=z.useState("triggerProps",q),he=q||"none"!==re,ge={open:$};return(0,d.o)("button",e,{state:ge,ref:[t,K,U],props:[ue,de,he?pe:void 0,{onMouseOver(e){fe(e.nativeEvent)},onFocus(e){ce(T(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){ie.current=!1,se.clear(),ae.current=void 0},onPointerEnter(e){ae.current=e.pointerType},onPointerDown(e){ae.current=e.pointerType,z.set("closeOnClick",R),R&&!z.select("open")&&z.cancelPendingOpen(e.nativeEvent)},onClick(e){R&&!z.select("open")&&z.cancelPendingOpen(e.nativeEvent)},id:V,[C.d]:te?"":void 0,[E]:te?void 0:""},P],stateAttributesMapping:u.qV})});n.d(t,["k",0,I])},93918(e,t,n){"use strict";n(37571).L;n.d(t,["d",0,"data-trigger-disabled"])},899(e,t,n){"use strict";n.d(t,{C:()=>o});var r=n(93307);function o(e){return(0,r.o)(e.defaultTagName??"div",e,e)}},15849(e,t,n){"use strict";var r=n(14684);r.e,r.V;n.d(t,["$h",0,"data-closed","ho",0,"data-open","ii",0,"data-anchor-hidden"])},23371(e,t,n){"use strict";n.d(t,["NL",0,"--anchor-height","QJ",0,"--available-width","Td",0,"--transform-origin","cn",0,"--anchor-width","px",0,"--available-height"])},37571(e,t,n){"use strict";n.d(t,["L",0,"data-popup-open","V",0,"data-pressed"])},28975(e,t,n){"use strict";var r=n(2376),o=n(45149),i=n(11706),s=n(93236);const a=r.forwardRef(function(e,t){const{children:n,container:a,className:l,render:c,style:u,...d}=e,{node:f,subtree:p}=(0,i.CK)({container:a,ref:t,componentProps:e,elementProps:d});return p||f?(0,s.jsxs)(r.Fragment,{children:[p,f&&o.createPortal(n,f)]}):null});n.d(t,["F",0,a])},52046(e,t,n){"use strict";n.d(t,["j",0,{sideX:"left",sideY:"top"}])},439(e,t,n){"use strict";const r={name:"hide",async fn(e){const{width:t,height:n,x:r,y:o}=e.rects.reference,i=0===t&&0===n&&0===r&&0===o,s=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:s.top-n>=0||s.right-t>=0||s.bottom-n>=0||s.left-t>=0||i}}}};n.d(t,["j",0,r])},49624(e,t,n){"use strict";var r=n(74466),o=n(15849),i=n(37571);const s={[i.L]:""},a=(i.L,i.V,{[o.ho]:""}),l={[o.$h]:""},c={[o.ii]:""},u={open:e=>e?s:null},d={open:e=>e?a:l,anchorHidden:e=>e?c:null},f={...d,...r.G};n.d(t,["GW",0,d,"LM",0,f,"qV",0,u])},31223(e,t,n){"use strict";n.d(t,{Ae:()=>y,DU:()=>x,L_:()=>w,i6:()=>S,l$:()=>A,tr:()=>_,xp:()=>b});var r=n(2376),o=n(45149),i=n(12570),s=n(38583),a=n(19288),l=n(12002),c=n(31749),u=n(17300),d=n(88536),f=n(50306),p=n(69522),h=n(83244),g=n(15351),m=n(64789);const v={tabIndex:-1,[u.Ed]:""};function b(e,t=!1){const n=(0,s.B)(),r=null!=(0,d.R1)(),o=(0,c.j)(()=>e(n,r)).current;return(0,f.D)({popupStore:o,treatPopupAsFloatingElement:t,floatingRootContext:o.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:o.setOpen}),o}function y({handle:e,store:t}){return(0,l.g)(()=>e.attachStore(t),[e,t]),null}function k(e){const t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function x(e,t,n,r={}){const i=n.reason,s=i===m.N7,a=t&&i===m.F4,l=!t&&(i===m.Ui||i===m.jv),c=function(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}(n);if(e.context.onOpenChange?.(t,n),n.isCanceled)return;r.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,n);const u=()=>{const o=function(e,t,n,r=!1){let o=e.preventUnmountingOnClose;t?o=!1:r&&(o=!0);const i=n?.id??null;let s=e.activeTriggerId,a=e.activeTriggerElement;return(i||t)&&(s=i,a=n??null),{open:t,preventUnmountingOnClose:o,activeTriggerId:s,activeTriggerElement:a}}(e.state,t,n.trigger,c()),i={...r.extraState,...o};a?i.instantType="focus":l?i.instantType="dismiss":s&&(i.instantType=void 0),e.update(i)};s?o.flushSync(u):u()}function w(e,t,n,o){const i=n.useState("isMountedByTrigger",e),s=function(e,t){const n=r.useRef(null);return(0,a.K)(r=>{const o=n.current;if(null!==o){if(o.element===r&&o.store===t&&o.id===e)return;n.current=null;const i=o.store;i.context.triggerElements.getById(o.id)===o.element&&(i.context.triggerElements.delete(o.id),k(i))}null!==r&&void 0!==e&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),k(t))})}(e,n),c=(0,a.K)(t=>{const r=n.select("open"),i=n.select("activeTriggerId");if(i===e){const e={activeTriggerElement:t,...r?o:null};return void n.update(e)}if(null==i&&r){const r={activeTriggerId:e??null,activeTriggerElement:t,...o};n.update(r)}}),u=(0,a.K)(e=>{s(e),e&&c(e)});return(0,l.g)(()=>(u(t.current),()=>u(null)),[u,t,n,e]),(0,l.g)(()=>{if(i){const e={activeTriggerElement:t.current,...o};n.update(e)}},[i,n,t,...Object.values(o)]),{registerTrigger:u,isMountedByThisTrigger:i}}function _(e,t={}){const{closeOnActiveTriggerUnmount:n=!1}=t,o=r.useRef(null),i=e.useState("open"),s=e.useState("triggerCount"),a=e.useState("activeTriggerId"),c=e.useState("activeTriggerElement");(0,l.g)(()=>{if(!i)return o.current=null,void(0!==e.state.triggerCount&&e.set("triggerCount",0));const t=e.context.triggerElements.size,r={};e.state.triggerCount!==t&&(r.triggerCount=t);const s=e.select("activeTriggerId");let a=null;if(s){const t=e.context.triggerElements.getById(s);if(t)o.current=s,t!==e.state.activeTriggerElement&&(r.activeTriggerElement=t);else{for(const[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){r.activeTriggerId=t,r.activeTriggerElement=n,o.current=t;break}void 0===r.activeTriggerId&&(o.current===s?a=s:o.current=null)}}else o.current=null;if(!a&&!s&&1===t){const t=e.context.triggerElements.entries().next();if(!t.done){const[e,n]=t.value;r.activeTriggerId=e,r.activeTriggerElement=n,o.current=e}}void 0===r.triggerCount&&void 0===r.activeTriggerId&&void 0===r.activeTriggerElement||e.update(r),a&&n&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===a&&!e.context.triggerElements.getById(a)){const t=(0,g.d)("none");e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,s,a,c,n])}function A(e,t,n,r){const{mounted:o,setMounted:i,transitionStatus:s}=(0,p.$)(e,!1,!1,r),l=t.useState("preventUnmountingOnClose"),c=!e&&l;t.useSyncedValues({mounted:o,transitionStatus:s,preventUnmountingOnClose:c});const u=(0,a.K)(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,h.v)({enabled:o&&!e&&!c,open:e,ref:t.context.popupRef,onComplete(){e||u()}}),{forceUnmount:u,transitionStatus:s}}function S(e,t){e.useSyncedValues(t),(0,l.g)(()=>()=>{e.update({activeTriggerProps:i.t0,inactiveTriggerProps:i.t0,popupProps:i.t0})},[e])}n.d(t,["Ls",0,v])},72975(e,t,n){"use strict";n.d(t,{Z:()=>r});class r{constructor(){this.idMap=new Map}add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(const t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(const t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}},86404(e,t,n){"use strict";n.d(t,{r:()=>i});var r=n(12570),o=n(33367);function i(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new o.K({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:r.t0,inactiveTriggerProps:r.t0,popupProps:r.t0}}const s=e=>e.triggerIdProp??e.activeTriggerId,a=e=>e.openProp??e.open,l=e=>(e.popupElement?.id??e.floatingId)||void 0;function c(e,t){return void 0!==t&&a(e)&&s(e)===t}const u={open:a,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:s,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:l,isTriggerActive:(e,t)=>void 0!==t&&s(e)===t,isOpenedByTrigger:(e,t)=>c(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&s(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>function(e,t){return!!c(e,t)||void 0!==t&&a(e)&&null==s(e)&&1===e.triggerCount}(e,t)?l(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};n.d(t,["o",0,u])},15965(e,t,n){"use strict";n.d(t,{f:()=>s});var r=n(2376),o=n(22484),i=n(12570);function s(e){const t=r.useCallback(t=>void 0===e?i.tE:e.subscribeStore(t),[e]),n=r.useCallback(()=>void 0===e?void 0:e.store,[e]);return(0,o.useSyncExternalStore)(t,n,()=>e?.serverStore)}},73850(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{S:()=>r})},37304(e,t,n){"use strict";function r(e){return null==e?e:"current"in e?e.current:e}n.d(t,{q:()=>r})},21044(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{m:()=>r})},5924(e,t,n){"use strict";n.d(t,{i:()=>s});var r=n(49624),o=n(93307),i=n(95400);function s(e,t,{styles:n,transitionStatus:s,props:a,refs:l,hidden:c,inert:u=!1}){const d={...n};return u&&(d.pointerEvents="none"),(0,o.o)("div",e,{state:t,ref:l,props:[{role:"presentation",hidden:c,style:d},(0,i.d)(s),a],stateAttributesMapping:r.GW})}},47001(e,t,n){"use strict";n.d(t,{v:()=>i});var r=n(12002),o=n(88659);function i(e,t){const n=(0,o.e)(e);return(0,r.g)(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}},7584(e,t,n){"use strict";function r(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}n.d(t,{q:()=>r})},12570(e,t,n){"use strict";function r(){}n.d(t,{tE:()=>r});const o=Object.freeze([]),i=Object.freeze({});n.d(t,["Ml",0,o,"t0",0,i])},19403(e,t,n){"use strict";n.d(t,{G1:()=>c,iE:()=>a,kz:()=>l,nk:()=>u});var r=n(2376),o=n(31749);const i=[];let s;function a(){return s}function l(e){i.push(e)}function c(e){const t=(t,n)=>{const r=(0,o.j)(d).current;let a;try{s=r;for(const e of i)e.before(r);a=e(t,n);for(const e of i)e.after(r);r.didInitialize=!0}finally{s=void 0}return a};return t.displayName=e.displayName||e.name,t}function u(e){return r.forwardRef(c(e))}function d(){return{didInitialize:!1}}},53169(e,t,n){"use strict";var r,o;const i=(r="https://base-ui.com/production-error",o="Base UI",function(e,...t){const n=new URL(r);return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`${o} error #${e}; visit ${n} for the full message.`});n.d(t,["A",0,i])},28641(e,t,n){"use strict";n.d(t,{v:()=>i});var r=n(2376),o=n(83100);function i(e){if(!r.isValidElement(e))return null;const t=e,n=t.props;return((0,o._)(19)?n?.ref:t.ref)??null}},31238(e,t,n){"use strict";function r(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}n.d(t,{g:()=>r})},70071(e,t,n){"use strict";function r(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}n.d(t,{r:()=>r})},12240(e,t,n){"use strict";function r(e){return e?.ownerDocument||document}n.d(t,{R:()=>r})},55087(e,t,n){"use strict";var r=n(84778);const o="undefined"!=typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none");!o&&r.ST.includes("firefox"),!o&&r.ST.includes("chrom");n.d(t,["Fp",0,o])},78858(e,t,n){"use strict";var r=n(84778);const o=/jsdom|happydom/.test(r.ST);n.d(t,["I",0,o])},94563(e,t,n){"use strict";var r=n(84778);const o=/^i(os$|p)/.test(r.JG)||"macintel"===r.JG&&r.RT>1,i="android",s=r.JG===i||r.ST.includes(i),a=!o&&r.JG.startsWith("mac");r.JG.startsWith("win"),!s&&/^(linux|chrome os)/.test(r.JG);n.d(t,["Md",0,a,"yA",0,s])},84778(e,t,n){"use strict";const{userAgent:r,platform:o,maxTouchPoints:i}="undefined"==typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},s=r.toLowerCase(),a=o.toLowerCase();n.d(t,["JG",0,a,"RT",0,i,"ST",0,s])},83100(e,t,n){"use strict";n.d(t,{_:()=>i});var r=n(2376);const o=parseInt(r.version,10);function i(e){return o>=e}},96233(e,t,n){"use strict";let r;var o=n(2376);const i={...r||(r=n.t(o,2))};n.d(t,["X",0,i])},90865(e,t,n){"use strict";n.d(t,{EW:()=>s,RS:()=>o,gR:()=>i});var r=n(81289);function o(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}function i(e,t){if(!e||!t)return!1;const n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}},25489(e,t,n){"use strict";n.d(t,{H:()=>c});var r=n(2376),o=n(73372),i=n(99017),s=n(19288),a=n(12002),l=n(12570);class c extends o.i{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){r.useDebugValue(e);const n=this;(0,a.g)(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){const n=this;(0,a.g)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){const t=this;const n=Object.values(e);(0,a.g)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){r.useDebugValue(e);const n=this,o=void 0!==t;(0,a.g)(()=>{o&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,o])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,o){return r.useDebugValue(e),(0,i.P)(this,this.selectors[e],t,n,o)}useContextCallback(e,t){r.useDebugValue(e);const n=(0,s.K)(t??l.tE);this.context[e]=n}useStateSetter(e){const t=r.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n="function"==typeof e?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{const o=n(e);if(!Object.is(r,o)){const e=r;r=o,t(o,e,this)}})}}},73372(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(99017);class o{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;const t=this.updateTick;for(const n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(const t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){const e={...this.state};this.setState(e)}use(e,t,n,o){return(0,r.P)(this,e,t,n,o)}}},99017(e,t,n){"use strict";n.d(t,{P:()=>c});var r=n(2376),o=n(22484),i=n(32566),s=n(83100),a=n(19403);const l=(0,s._)(19)?function(e,t,n,i,s){const l=(0,a.iE)();if(!l)return function(e,t,n,i,s){const a=r.useCallback(()=>t(e.getSnapshot(),n,i,s),[e,t,n,i,s]);return(0,o.useSyncExternalStore)(e.subscribe,a,a)}(e,t,n,i,s);const c=l.syncIndex;let u;l.syncIndex+=1,l.didInitialize?(u=l.syncHooks[c],u.store===e&&u.selector===t&&Object.is(u.a1,n)&&Object.is(u.a2,i)&&Object.is(u.a3,s)||(u.store!==e&&(l.didChangeStore=!0),u.store=e,u.selector=t,u.a1=n,u.a2=i,u.a3=s,u.value=t(e.getSnapshot(),n,i,s))):(u={store:e,selector:t,a1:n,a2:i,a3:s,value:t(e.getSnapshot(),n,i,s)},l.syncHooks.push(u));return u.value}:function(e,t,n,r,o){return(0,i.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,o))};function c(e,t,n,r,o){return l(e,t,n,r,o)}(0,a.kz)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){const r=e.syncHooks[n],o=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,o)||(t=!0,r.value=o)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{const n=new Set;for(const t of e.syncHooks)n.add(t.store);const r=[];for(const e of n)r.push(e.subscribe(t));return()=>{for(const e of r)e()}}),(0,o.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}})},94541(e,t,n){"use strict";n.d(t,{KP:()=>l,NR:()=>c});var r=n(31749),o=n(31966);const i=null;globalThis.requestAnimationFrame;class s{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;const t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){const t=this.nextId;this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1;return this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){const t=e-this.startId;t<0||t>=this.callbacks.length||null!==this.callbacks[t]&&(this.callbacks[t]=null,this.callbacksCount-=1)}}let a=new s;class l{static create(){return new l}static request(e){return a.request(e)}static cancel(e){return a.cancel(e)}currentId=i;request(e){this.cancel(),this.currentId=a.request(()=>{this.currentId=i,e()})}cancel=()=>{this.currentId!==i&&(a.cancel(this.currentId),this.currentId=i)};disposeEffect=()=>this.cancel}function c(){const e=(0,r.j)(l.create).current;return(0,o.y)(e.disposeEffect),e}},98922(e,t,n){"use strict";n.d(t,{q:()=>o});var r=n(2376);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[s,a]=r.useState(t);return[i&&void 0!==e?e:s,r.useCallback(e=>{i||a(e)},[])]}},38583(e,t,n){"use strict";n.d(t,{B:()=>a});var r=n(2376),o=n(96233);let i=0;const s=o.X.useId;function a(e,t){if(void 0!==s){const n=s();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){const[n,o]=r.useState(e),s=e||n;return r.useEffect(()=>{null==n&&(i+=1,o(`${t}-${i}`))},[n,t]),s}(e,t)}},12002(e,t,n){"use strict";var r=n(2376);const o="undefined"!=typeof document?r.useLayoutEffect:()=>{};n.d(t,["g",0,o])},8970(e,t,n){"use strict";n.d(t,{U:()=>i,a:()=>o});var r=n(31749);function o(e,t,n,o){const i=(0,r.j)(s).current;return function(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}(i,e,t,n,o)&&a(i,[e,t,n,o]),i.callback}function i(e){const t=(0,r.j)(s).current;return function(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}(t,e)&&a(t,e),t.callback}function s(){return{callback:null,cleanup:null,refs:[]}}function a(e,t){e.refs=t,t.every(e=>null==e)?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const o=t[e];if(null!=o)switch(typeof o){case"function":{const t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}},31966(e,t,n){"use strict";n.d(t,{y:()=>i});var r=n(2376),o=n(12570);function i(e){r.useEffect(e,o.Ml)}},31749(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(2376);const o={};function i(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}},19288(e,t,n){"use strict";n.d(t,{K:()=>a});var r=n(96233),o=n(31749);const i=r.X.useInsertionEffect,s=i&&i!==r.X.useLayoutEffect?i:e=>e();function a(e){const t=(0,o.j)(l).current;return t.next=e,s(t.effect),t.trampoline}function l(){const e={next:void 0,callback:c,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function c(){0}},63405(e,t,n){"use strict";n.d(t,{E:()=>i,Z:()=>s});var r=n(31749),o=n(31966);class i{static create(){return new i}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function s(){const e=(0,r.j)(i.create).current;return(0,o.y)(e.disposeEffect),e}},87946(e,t,n){"use strict";n.d(t,{u:()=>i});var r=n(12002),o=n(31749);function i(e){const t=(0,o.j)(s,e).current;return t.next=e,(0,r.g)(t.effect),t}function s(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}},159(e,t,n){"use strict";var r=n(39175);function o(e,t,n){let{reference:o,floating:i}=e;const s=(0,r.TV)(t),a=(0,r.Dz)(t),l=(0,r.sq)(a),c=(0,r.C0)(t),u="y"===s,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[l]/2-i[l]/2;let h;switch(c){case"top":h={x:d,y:o.y-i.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-i.width,y:f};break;default:h={x:o.x,y:o.y}}const g=(0,r.Sg)(t);return g&&(h[a]+=p*("end"===g?1:-1)*(n&&u?-1:1)),h}async function i(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:s,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),g=(0,r.nI)(h),m=l[p?"floating"===f?"reference":"floating":f],v=(0,r.B1)(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(m)))||n?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),b="floating"===f?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating)),k=await(null==s.isElement?void 0:s.isElement(y))&&await(null==s.getScale?void 0:s.getScale(y))||{x:1,y:1},x=(0,r.B1)(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:y,strategy:c}):b);return{top:(v.top-x.top+g.top)/k.y,bottom:(x.bottom-v.bottom+g.bottom)/k.y,left:(v.left-x.left+g.left)/k.x,right:(x.right-v.right+g.right)/k.x}}const s=new Set(["left","top"]);n.d(t,["BN",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r._3)(e,t),d={x:n,y:o},f=await s.detectOverflow(t,u),p=(0,r.TV)(i),h=(0,r.PG)(p);let g=d[h],m=d[p];const v=(e,t)=>(0,r.qE)(t+f["y"===e?"top":"left"],t,t-f["y"===e?"bottom":"right"]);a&&(g=v(h,g)),l&&(m=v(p,m));const b=c.fn({...t,[h]:g,[p]:m});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[h]:a,[p]:l}}}}}},"ER",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,o;const{x:i,y:a,placement:l,rects:c,middlewareData:u}=t,{offset:d=0,mainAxis:f=!0,crossAxis:p=!0}=(0,r._3)(e,t),h={x:i,y:a},g=(0,r.TV)(l),m=(0,r.PG)(g);let v=h[m],b=h[g];const y=(0,r._3)(d,t),k="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:null!=(n=y.mainAxis)?n:0,crossAxis:null!=(o=y.crossAxis)?o:0};if(f){const e="y"===m?"height":"width",t=c.reference[m]-c.floating[e]+k.mainAxis,n=c.reference[m]+c.reference[e]-k.mainAxis;v<t?v=t:v>n&&(v=n)}if(p){var x,w;const e="y"===m?"width":"height",t=s.has((0,r.C0)(l)),n=c.reference[g]-c.floating[e]+(t&&(null==(x=u.offset)?void 0:x[g])||0)+(t?0:k.crossAxis),o=c.reference[g]+c.reference[e]+(t?0:(null==(w=u.offset)?void 0:w[g])||0)-(t?k.crossAxis:0);b<n?b=n:b>o&&(b=o)}return{[m]:v,[g]:b}}}},"Ej",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:s}=t,{apply:a=()=>{},...l}=(0,r._3)(e,t),c=await i.detectOverflow(t,l),u=(0,r.C0)(n),d=(0,r.Sg)(n),f="y"===(0,r.TV)(n),{width:p,height:h}=o.floating;let g,m;"top"===u||"bottom"===u?(g=u,m=d===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(m=u,g="end"===d?"top":"bottom");const v=h-c.top-c.bottom,b=p-c.left-c.right,y=(0,r.jk)(h-c[g],v),k=(0,r.jk)(p-c[m],b),x=t.middlewareData.shift,w=!x;let _=y,A=k;null!=x&&x.enabled.x&&(A=b),null!=x&&x.enabled.y&&(_=v),w&&!d&&(f?A=p-2*(0,r.T9)(c.left,c.right):_=h-2*(0,r.T9)(c.top,c.bottom)),await a({...t,availableWidth:A,availableHeight:_});const S=await i.getDimensions(s.floating);return p!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}},"UE",0,e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r._3)(e,t)||{};if(null==u)return{};const f=(0,r.nI)(d),p={x:n,y:o},h=(0,r.Dz)(i),g=(0,r.sq)(h),m=await a.getDimensions(u),v="y"===h,b=v?"top":"left",y=v?"bottom":"right",k=v?"clientHeight":"clientWidth",x=s.reference[g]+s.reference[h]-p[h]-s.floating[g],w=p[h]-s.reference[h],_=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let A=_?_[k]:0;A&&await(null==a.isElement?void 0:a.isElement(_))||(A=l.floating[k]||s.floating[g]);const S=x/2-w/2,C=A/2-m[g]/2-1,E=(0,r.jk)(f[b],C),T=(0,r.jk)(f[y],C),I=A-m[g]-T,j=A/2-m[g]/2+S,B=(0,r.qE)(E,j,I),N=!c.arrow&&null!=(0,r.Sg)(i)&&j!==B&&s.reference[g]/2-(j<E?E:T)-m[g]/2<0,M=N?j<E?j-E:j-I:0;return{[h]:p[h]+M,data:{[h]:B,centerOffset:j-B-M,...N&&{alignmentOffset:M}},reset:N}}}),"UU",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...v}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(i),y=(0,r.TV)(l),k=(0,r.C0)(l)===l,x=await(null==c.isRTL?void 0:c.isRTL(u.floating)),w=p||(k||!m?[(0,r.bV)(l)]:(0,r.WJ)(l)),_="none"!==g;!p&&_&&w.push(...(0,r.lP)(l,m,g,x));const A=[l,...w],S=await c.detectOverflow(t,v),C=[];let E=(null==(o=s.flip)?void 0:o.overflows)||[];if(d&&C.push(S[b]),f){const e=(0,r.w7)(i,a,x);C.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:i,overflows:C}],!C.every(e=>e<=0)){var T,I;const e=((null==(T=s.flip)?void 0:T.index)||0)+1,t=A[e];if(t){if(!("alignment"===f&&y!==(0,r.TV)(t))||E.every(e=>(0,r.TV)(e.placement)!==y||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let n=null==(I=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:I.placement;if(!n)switch(h){case"bestFit":{var j;const e=null==(j=E.filter(e=>{if(_){const t=(0,r.TV)(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:j[0];e&&(n=e);break}case"initialPlacement":n=l}if(i!==n)return{reset:{placement:n}}}return{}}}},"cY",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:l,middlewareData:c}=t,u=await async function(e,t){const{placement:n,platform:o,elements:i}=e,a=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=(0,r.C0)(n),c=(0,r.Sg)(n),u="y"===(0,r.TV)(n),d=s.has(l)?-1:1,f=a&&u?-1:1,p=(0,r._3)(t,e);let{mainAxis:h,crossAxis:g,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&"number"==typeof m&&(g="end"===c?-1*m:m),u?{x:g*f,y:h*d}:{x:h*d,y:g*f}}(t,e);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:l}}}}},"rD",0,async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:l}=n,c=l.detectOverflow?l:{...l,detectOverflow:i},u=await(null==l.isRTL?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:f,y:p}=o(d,r,u),h=r,g=0;const m={};for(let n=0;n<a.length;n++){const i=a[n];if(!i)continue;const{name:v,fn:b}=i,{x:y,y:k,data:x,reset:w}=await b({x:f,y:p,initialPlacement:r,placement:h,strategy:s,middlewareData:m,rects:d,platform:c,elements:{reference:e,floating:t}});f=null!=y?y:f,p=null!=k?k:p,m[v]={...m[v],...x},w&&g<50&&(g++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(d=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:s}):w.rects),({x:f,y:p}=o(d,h,u))),n=-1)}return{x:f,y:p,placement:h,strategy:s,middlewareData:m}}])},25569(e,t,n){"use strict";n.d(t,{ll:()=>x});var r=n(159),o=n(39175),i=n(81289);function s(e){const t=(0,i.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=(0,i.sb)(e),a=s?e.offsetWidth:n,l=s?e.offsetHeight:r,c=(0,o.LI)(n)!==a||(0,o.LI)(r)!==l;return c&&(n=a,r=l),{width:n,height:r,$:c}}function a(e){return(0,i.vq)(e)?e:e.contextElement}function l(e){const t=a(e);if(!(0,i.sb)(t))return(0,o.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:l,$:c}=s(t);let u=(c?(0,o.LI)(n.width):n.width)/r,d=(c?(0,o.LI)(n.height):n.height)/l;return u&&Number.isFinite(u)||(u=1),d&&Number.isFinite(d)||(d=1),{x:u,y:d}}const c=(0,o.Jx)(0);function u(e){const t=(0,i.zk)(e);return(0,i.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:c}function d(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect(),c=a(e);let d=(0,o.Jx)(1);t&&(r?(0,i.vq)(r)&&(d=l(r)):d=l(e));const f=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===(0,i.zk)(e)}(c,n,r)?u(c):(0,o.Jx)(0);let p=(s.left+f.x)/d.x,h=(s.top+f.y)/d.y,g=s.width/d.x,m=s.height/d.y;if(c&&r){const e=(0,i.zk)(c),t=(0,i.vq)(r)?(0,i.zk)(r):r;let n=e,o=(0,i._m)(n);for(;o&&t!==n;){const e=l(o),t=o.getBoundingClientRect(),r=(0,i.L9)(o),s=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;p*=e.x,h*=e.y,g*=e.x,m*=e.y,p+=s,h+=a,n=(0,i.zk)(o),o=(0,i._m)(n)}}return(0,o.B1)({width:g,height:m,x:p,y:h})}function f(e,t){const n=(0,i.CP)(e).scrollLeft;return t?t.left+n:d((0,i.ep)(e)).left+n}function p(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-f(e,n),y:n.top+t.scrollTop}}function h(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,o=(0,i.zk)(e),s=(0,i.ep)(e),a=o.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,d=0;if(a){const e=!(0,i.Tc)()||"fixed"===t;r?e||(u=-a.offsetLeft,d=-a.offsetTop):(l=a.width,c=a.height,e&&(u=a.offsetLeft,d=a.offsetTop))}if(f(s)<=0){const e=s.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(s.clientWidth-t.clientWidth-r),i="stable both-edges"===getComputedStyle(s).scrollbarGutter?o/2:o;i<=25&&(l-=i)}return{width:l,height:c,x:u,y:d}}(e,n,t);else if("document"===t)r=function(e){const t=(0,i.CP)(e),n=e.ownerDocument.body,r=(0,o.T9)(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=(0,o.T9)(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let a=-t.scrollLeft+f(e);const l=-t.scrollTop;return"rtl"===(0,i.L9)(n).direction&&(a+=(0,o.T9)(e.clientWidth,n.clientWidth)-r),{width:r,height:s,x:a,y:l}}((0,i.ep)(e));else if((0,i.vq)(t))r=function(e,t){const n=d(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=l(e);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=u(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,o.B1)(r)}function g(e,t,n){const r=(0,i.sb)(t),s=(0,i.ep)(t),a="fixed"===n,l=d(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const u=(0,o.Jx)(0);if((r||!a)&&(("body"!==(0,i.mq)(t)||(0,i.ZU)(s))&&(c=(0,i.CP)(t)),r)){const e=d(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!r&&s&&(u.x=f(s));const h=!s||r||a?(0,o.Jx)(0):p(s,c);return{x:l.left+c.scrollLeft-u.x-h.x,y:l.top+c.scrollTop-u.y-h.y,width:l.width,height:l.height}}function m(e){return"static"===(0,i.L9)(e).position}function v(e,t){if(!(0,i.sb)(e)||"fixed"===(0,i.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,i.ep)(e)===n&&(n=n.ownerDocument.body),n}function b(e,t){const n=(0,i.zk)(e);if((0,i.Tf)(e))return n;if(!(0,i.sb)(e)){let t=(0,i.$4)(e);for(;t&&!(0,i.eu)(t);){if((0,i.vq)(t)&&!m(t))return t;t=(0,i.$4)(t)}return n}let r=v(e,t);for(;r&&(0,i.Lv)(r)&&m(r);)r=v(r,t);return r&&(0,i.eu)(r)&&m(r)&&!(0,i.sQ)(r)?n:r||(0,i.gJ)(e)||n}const y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const a="fixed"===s,c=(0,i.ep)(r),u=!!t&&(0,i.Tf)(t.floating);if(r===c||u&&a)return n;let f={scrollLeft:0,scrollTop:0},h=(0,o.Jx)(1);const g=(0,o.Jx)(0),m=(0,i.sb)(r);if((m||!a)&&(("body"!==(0,i.mq)(r)||(0,i.ZU)(c))&&(f=(0,i.CP)(r)),m)){const e=d(r);h=l(r),g.x=e.x+r.clientLeft,g.y=e.y+r.clientTop}const v=!c||m||a?(0,o.Jx)(0):p(c,f);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+g.x+v.x,y:n.y*h.y-f.scrollTop*h.y+g.y+v.y}},getDocumentElement:i.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const a=[..."clippingAncestors"===n?(0,i.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,i.v9)(e,[],!1).filter(e=>(0,i.vq)(e)&&"body"!==(0,i.mq)(e)),o=null;const s="fixed"===(0,i.L9)(e).position;let a=s?(0,i.$4)(e):e;for(;(0,i.vq)(a)&&!(0,i.eu)(a);){const e=(0,i.L9)(a),t=(0,i.sQ)(a),n=o?o.position:s?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==a),a=(0,i.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=h(t,a[0],s);let c=l.top,u=l.right,d=l.bottom,f=l.left;for(let e=1;e<a.length;e++){const n=h(t,a[e],s);c=(0,o.T9)(n.top,c),u=(0,o.jk)(n.right,u),d=(0,o.jk)(n.bottom,d),f=(0,o.T9)(n.left,f)}return{width:u-f,height:d-c,x:f,y:c}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions,r=await n(e.floating);return{reference:g(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=s(e);return{width:t,height:n}},getScale:l,isElement:i.vq,isRTL:function(e){return"rtl"===(0,i.L9)(e).direction}};function k(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function x(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=a(e),h=s||l?[...p?(0,i.v9)(p):[],...t?(0,i.v9)(t):[]]:[];h.forEach(e=>{s&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});const g=p&&u?function(e,t,n){let r,s=null;const a=(0,i.ep)(e);function l(){var e;clearTimeout(r),null==(e=s)||e.disconnect(),s=null}function c(n,i){void 0===n&&(n=!1),void 0===i&&(i=1),l();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=u;if(n||t(),!p||!h)return;const g={rootMargin:-(0,o.RI)(f)+"px "+-(0,o.RI)(a.clientWidth-(d+p))+"px "+-(0,o.RI)(a.clientHeight-(f+h))+"px "+-(0,o.RI)(d)+"px",threshold:(0,o.T9)(0,(0,o.jk)(1,i))||1};let m=!0;function v(t){const n=t[0].intersectionRatio;if(!k(u,e.getBoundingClientRect()))return c();if(n!==i){if(!m)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}m=!1}try{s=new IntersectionObserver(v,{...g,root:a.ownerDocument})}catch(e){s=new IntersectionObserver(v,g)}s.observe(e)}const u=(0,i.zk)(e),d=()=>c(n);return u.addEventListener("resize",d),c(!0),()=>{u.removeEventListener("resize",d),l()}}(p,n,l):null;let m,v=-1,b=null;c&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&b&&t&&(b.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),p&&!f&&b.observe(p),t&&b.observe(t));let y=f?d(e):null;return f&&function t(){const r=d(e);y&&!k(y,r)&&n();y=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=b)||e.disconnect(),b=null,f&&cancelAnimationFrame(m)}}const w=r.cY,_=r.BN,A=r.UU,S=r.Ej,C=r.UE,E=r.ER;n.d(t,["BN",0,_,"ER",0,E,"Ej",0,S,"UE",0,C,"UU",0,A,"cY",0,w,"rD",0,(e,t,n)=>{const o=new Map,i=null!=n?n:{},s={...y,...i.platform,_c:o};return(0,r.rD)(e,t,{...i,platform:s})}])},10469(e,t,n){"use strict";n.d(t,{we:()=>d});var r=n(25569),o=n(2376),i=n(45149),s="undefined"!=typeof document?o.useLayoutEffect:function(){};function a(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!a(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){const n=l(e);return Math.round(t*n)/n}function u(e){const t=o.useRef(e);return s(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:g=!0,whileElementsMounted:m,open:v}=e,[b,y]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[k,x]=o.useState(d);a(k,d)||x(d);const[w,_]=o.useState(null),[A,S]=o.useState(null),C=o.useCallback(e=>{e!==j.current&&(j.current=e,_(e))},[]),E=o.useCallback(e=>{e!==B.current&&(B.current=e,S(e))},[]),T=p||w,I=h||A,j=o.useRef(null),B=o.useRef(null),N=o.useRef(b),M=null!=m,R=u(m),O=u(f),L=u(v),P=o.useCallback(()=>{if(!j.current||!B.current)return;const e={placement:t,strategy:n,middleware:k};O.current&&(e.platform=O.current),(0,r.rD)(j.current,B.current,e).then(e=>{const t={...e,isPositioned:!1!==L.current};D.current&&!a(N.current,t)&&(N.current=t,i.flushSync(()=>{y(t)}))})},[k,t,n,O,L]);s(()=>{!1===v&&N.current.isPositioned&&(N.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[v]);const D=o.useRef(!1);s(()=>(D.current=!0,()=>{D.current=!1}),[]),s(()=>{if(T&&(j.current=T),I&&(B.current=I),T&&I){if(R.current)return R.current(T,I,P);P()}},[T,I,P,R,M]);const z=o.useMemo(()=>({reference:j,floating:B,setReference:C,setFloating:E}),[C,E]),V=o.useMemo(()=>({reference:T,floating:I}),[T,I]),F=o.useMemo(()=>{const e={position:n,left:0,top:0};if(!V.floating)return e;const t=c(V.floating,b.x),r=c(V.floating,b.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...l(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,g,V.floating,b.x,b.y]);return o.useMemo(()=>({...b,update:P,refs:z,elements:V,floatingStyles:F}),[b,P,z,V,F])}n.d(t,["BN",0,(e,t)=>{const n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},"ER",0,(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),"Ej",0,(e,t)=>{const n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},"UE",0,(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{};var i}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}},"UU",0,(e,t)=>{const n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},"cY",0,(e,t)=>{const n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}}])},81289(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=w(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function f(e){return/^(table|td|th)$/.test(o(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>A,CP:()=>_,L9:()=>w,Ll:()=>a,Lv:()=>f,Ng:()=>u,Tc:()=>k,Tf:()=>p,ZU:()=>d,_m:()=>E,ep:()=>s,eu:()=>x,gJ:()=>y,mq:()=>o,sQ:()=>b,sb:()=>c,v9:()=>C,vq:()=>l,zk:()=>i});const h=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;let v;function b(e){const t=l(e)?w(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!k()&&(m(t.backdropFilter)||m(t.filter))||h.test(t.willChange||"")||g.test(t.contain||"")}function y(e){let t=A(e);for(;c(t)&&!x(t);){if(b(t))return t;if(p(t))return null;t=A(t)}return null}function k(){return null==v&&(v="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),v}function x(e){return/^(html|body|#document)$/.test(o(e))}function w(e){return i(e).getComputedStyle(e)}function _(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function A(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||s(e);return u(t)?t.host:t}function S(e){const t=A(e);return x(t)?(e.ownerDocument||e).body:c(t)&&d(t)?t:S(t)}function C(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=S(e),s=o===(null==(r=e.ownerDocument)?void 0:r.body),a=i(o);if(s){const e=E(a);return t.concat(a,a.visualViewport||[],d(o)?o:[],e&&n?C(e):[])}return t.concat(o,C(o,[],n))}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},39175(e,t,n){"use strict";n.d(t,{B1:()=>C,C0:()=>u,Dz:()=>g,PG:()=>f,Sg:()=>d,TV:()=>h,WJ:()=>v,_3:()=>c,bV:()=>A,lP:()=>_,nI:()=>S,qE:()=>l,sq:()=>p,w7:()=>m});const r=Math.min,o=Math.max,i=Math.round,s=Math.floor,a={left:"right",right:"left",bottom:"top",top:"bottom"};function l(e,t,n){return o(e,r(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function h(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return f(h(e))}function m(e,t,n){void 0===n&&(n=!1);const r=d(e),o=g(e),i=p(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=A(s)),[s,A(s)]}function v(e){const t=A(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const y=["left","right"],k=["right","left"],x=["top","bottom"],w=["bottom","top"];function _(e,t,n,r){const o=d(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?k:y:t?y:k;case"left":case"right":return t?x:w;default:return[]}}(u(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(b)))),i}function A(e){const t=u(e);return a[t]+e.slice(t.length)}function S(e){return"number"!=typeof e?function(e){var t,n,r,o;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function C(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}n.d(t,["Jx",0,e=>({x:e,y:e}),"LI",0,i,"RI",0,s,"T9",0,o,"jk",0,r])},48682(e,t,n){"use strict";n.d(t,{A:()=>o});var r=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function o(e,...t){var n=0;return Array.isArray(t[0])&&(t=t[0]),e.replace(r,function(){var e,r,o,i,s;return e=arguments[3],r=arguments[5],"%"===(i=arguments[9])?"%":("*"===(o=arguments[7])&&(o=t[n],n++),void 0===r?(void 0===e&&(e=n+1),n++,s=t[e-1]):t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(s=t[0][r]),"f"===i?s=parseFloat(s)||0:"d"===i&&(s=parseInt(s)||0),void 0!==o&&("f"===i?s=s.toFixed(o):"s"===i&&(s=s.substr(0,o))),null!=s?s:"")})}},36331(e,t,n){"use strict";n.d(t,{L:()=>s.L});var r=n(75101),o=n(73746),i=n(82715),s=n(29967);(0,r.A)(function(){const e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&(0,i.A)(),null===t&&(0,o.A)("assertive"),null===n&&(0,o.A)("polite")})},73746(e,t,n){"use strict";function r(e="polite"){const t=document.createElement("div");t.id=`a11y-speak-${e}`,t.className="a11y-speak-region",t.setAttribute("style","position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;word-break:normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");const{body:n}=document;return n&&n.appendChild(t),t}n.d(t,{A:()=>r})},82715(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18335);function o(){const e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=(0,r.__)("Notifications"),e.setAttribute("style","position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;word-break:normal !important;"),e.setAttribute("hidden","");const{body:t}=document;return t&&t.appendChild(e),e}},20976(e,t,n){"use strict";function r(){const e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text");for(let t=0;t<e.length;t++)e[t].textContent="";t&&t.setAttribute("hidden","hidden")}n.d(t,{A:()=>r})},25001(e,t,n){"use strict";n.d(t,{A:()=>o});var r="";function o(e){return e=e.replace(/<[^<>]+>/g," "),r===e&&(e+=" "),r=e,e}},29967(e,t,n){"use strict";n.d(t,{L:()=>i});var r=n(20976),o=n(25001);function i(e,t){(0,r.A)(),e=(0,o.A)(e);const n=document.getElementById("a11y-speak-intro-text"),i=document.getElementById("a11y-speak-assertive"),s=document.getElementById("a11y-speak-polite");i&&"assertive"===t?i.textContent=e:s&&(s.textContent=e),n&&n.removeAttribute("hidden")}},57158(e,t,n){"use strict";n.d(t,{A:()=>i});var r=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function o(e,t){const n=function(e){const t=[];let n,o=e;for(;n=o.match(r);){const e=n.index;t.push(o.slice(0,e)),t.push(n[0]),o=o.slice(e+n[0].length)}return o.length&&t.push(o),t}(e);let o=!1;const i=Object.keys(t);for(let e=1;e<n.length;e+=2)for(let r=0;r<i.length;r++){const s=i[r];if(-1!==n[e].indexOf(s)){n[e]=n[e].replace(new RegExp(s,"g"),t[s]),o=!0;break}}return o&&(e=n.join("")),e}function i(e,t=!0){const n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){const t=e.split("</pre>"),r=t.pop();e="";for(let r=0;r<t.length;r++){const o=t[r],i=o.indexOf("<pre");if(-1===i){e+=o;continue}const s="<pre wp-pre-tag-"+r+"></pre>";n.push([s,o.substr(i)+"</pre>"]),e+=o.substr(0,i)+s}e+=r}const r="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=o(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+r+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+r+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));const i=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",i.forEach(t=>{e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+r+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+r+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+r+"[^>]*>)\\s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style|svg|math)[\s\S]*?<\/\1>/g,e=>e.replace(/\n/g,"<WPPreserveNewline />"))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(e,t)=>t?e:"<br />\n")).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+r+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(t=>{const[n,r]=t;e=e.replace(n,()=>r)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}},34552(e,t,n){"use strict";n.d(t,{H8:()=>i,bW:()=>o});var r={};function o(e){const t=window.URL.createObjectURL(e);return r[t]=e,t}function i(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}},80997(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(19623),o=n(87761),i=n(2376),s=n(73849),a=n(54906),l=n(3399),c=n(25552),u=n(76684),d=n(28628),f=n(93236),p=()=>{};var h={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockId:n,prioritizedBlocks:h}=(0,r.A)(e=>{const{getSelectedBlockClientId:t,getBlock:n,getBlockListSettings:r,getBlockRootClientId:i}=e(c.M),{getActiveBlockVariation:s}=e(o.M_),a=t(),{name:l,attributes:u}=n(a),d=s(l,u),f=i(a);return{selectedBlockId:d?`${l}/${d.name}`:l,rootClientId:f,prioritizedBlocks:r(f)?.prioritizedInserterBlocks}},[]),[g,m,v]=(0,a.A)(t,p,!0),b=(0,i.useMemo)(()=>(e.trim()?(0,s.A_)(g,m,v,e):(0,d.I)((0,u.M)(g,"frecency","desc"),h)).filter(e=>e.id!==n).slice(0,9),[e,n,g,m,v,h]);return[(0,i.useMemo)(()=>b.map(e=>{const{title:t,icon:n,isDisabled:r}=e;return{key:`block-${e.id}`,value:e,label:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.A,{icon:n,showColors:!0},"icon"),t]}),isDisabled:r}}),[b])]},allowContext:(e,t)=>!(/\S/.test(e)||/\S/.test(t)),getOptionCompletion(e){const{name:t,initialAttributes:n,innerBlocks:r,innerContent:i,syncStatus:s,blocks:a}=e;return{action:"replace",value:"unsynced"===s?(a??[]).map(e=>(0,o.JB)(e)):(0,o.Wv)(t,n,(0,o.to)(r),i)}}}},13712(e,t,n){"use strict";n.d(t,{a:()=>d});var r=n(80471),o=n(47884),i=n(2376),s=n(87761),a=n(3217),l=n(80997),c=(n(93236),[]);function u({completers:e=c}){const{name:t}=(0,a.m_)();return(0,i.useMemo)(()=>{let n=[...e];return(t===(0,s.K$)()||(0,s.bI)(t,"__experimentalSlashInserter",!1))&&(n=[...n,l.A]),(0,r.FC)("editor.Autocomplete.completers")&&(n===e&&(n=n.map(e=>({...e}))),n=(0,r.W5)("editor.Autocomplete.completers",n,t)),n},[e,t])}function d(e){return(0,o.ad)({...e,completers:u(e)})}},45214(e,t,n){"use strict";n.d(t,{J:()=>d,a:()=>u});var r=n(18335),o=n(27913),i=n(79068),s=n(96584),a=n(68995),l=n(75415),c=n(21570),u={none:{icon:o.A,title:(0,r._x)("None","Alignment option")},left:{icon:s.A,title:(0,r.__)("Align left")},center:{icon:i.A,title:(0,r.__)("Align center")},right:{icon:a.A,title:(0,r.__)("Align right")},wide:{icon:c.A,title:(0,r.__)("Wide width")},full:{icon:l.A,title:(0,r.__)("Full width")}},d="none"},32297(e,t,n){"use strict";n.d(t,{O:()=>i});var r=n(16585),o=n(93236),i=e=>(0,o.jsx)(r.A,{...e,isToolbar:!1})},16585(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(18335),i=n(70937),s=n(27953),a=n(57655),l=n(22953),c=n(12369),u=n(45214),d=n(93236);var f=function({value:e,onChange:t,controls:n,isToolbar:f,isCollapsed:p=!0,label:h=(0,o.__)("Align block"),description:g}){const m=(0,c.A)(n);if(!!!m.length)return null;function v(n){t([e,"none"].includes(n)?void 0:n)}const b=u.a[e],y=u.a[u.J],k=f?s.A:i.A,x={icon:b?b.icon:y.icon,label:h},w=f?{isCollapsed:p,controls:m.map(({name:t})=>({...u.a[t],isActive:e===t||!e&&"none"===t,role:p?"menuitemradio":void 0,onClick:()=>v(t)}))}:{toggleProps:g?{description:g}:{},children:({onClose:t})=>(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(a.A,{className:"block-editor-block-alignment-control__menu-group",children:m.map(({name:n,info:o})=>{const{icon:i,title:s}=u.a[n],a=n===e||!e&&"none"===n;return(0,d.jsx)(l.A,{icon:i,iconPosition:"left",className:(0,r.A)("components-dropdown-menu__menu-item",{"is-active":a}),isSelected:a,onClick:()=>{v(n),t()},role:"menuitemradio",info:o,children:s},n)})})})};return(0,d.jsx)(k,{...x,...w})}},12369(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(19623),o=n(59402),i=n(25552),s=n(95350),a=[],l=["none","left","center","right","wide","full"],c=["wide","full"];function u(e=l){e.includes("none")||(e=["none",...e]);const t=1===e.length&&"none"===e[0],[n,u,d]=(0,r.A)(e=>{if(t)return[!1,!1,!1];const n=e(i.M).getSettings();return[n.alignWide??!1,n.supportsLayout,n.__unstableIsBlockBasedTheme]},[t]),f=(0,o.gK)();if(t)return a;const p=(0,s.N)(f?.type);if(u){const t=p.getAlignments(f,d).filter(t=>e.includes(t.name));return 1===t.length&&"none"===t[0].name?a:t}if("default"!==p.name&&"constrained"!==p.name)return a;const h=e.filter(e=>f.alignments?f.alignments.includes(e):!(!n&&c.includes(e))&&l.includes(e)).map(e=>({name:e}));return 1===h.length&&"none"===h[0].name?a:h}},21246(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(1179),o=n(43192),i=n(18335),s=n(2376),a=n(19623),l=n(87761),c=n(83824),u=n(25552),d=n(93236);function f({clientId:e}){const[t,n]=(0,s.useState)(!1),{blockTypes:f,selectedBlockNames:p}=(0,a.A)(t=>{const{getBlockAttributes:n}=t(u.M);return{blockTypes:t(l.M_).getBlockTypes(),selectedBlockNames:n(e)?.allowedBlocks}},[e]),h=f.filter(e=>(0,l.pN)(e,"inserter",!0)&&(!e.parent||e.parent.includes("core/post-content")));if(!h)return null;const g=void 0===p?h:h.filter(e=>p.includes(e.name));return(0,d.jsxs)("div",{className:"block-editor-block-allowed-blocks-control",children:[(0,d.jsxs)(r.Ay,{help:(0,i.__)("Specify which blocks are allowed inside this container."),children:[(0,d.jsx)(r.Ay.VisualLabel,{children:(0,i.__)("Allowed Blocks")}),(0,d.jsx)(o.A,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>{n(!0)},className:"block-editor-block-allowed-blocks-control__button",children:(0,i.__)("Manage allowed blocks")})]}),t&&(0,d.jsx)(c.A,{clientId:e,blockTypes:h,selectedBlockTypes:g,onClose:()=>n(!1)})]})}},83824(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(54446),o=n(38162),i=n(52474),s=n(43192),a=n(26068),l=n(2376),c=n(18335),u=n(79027),d=n(44636),f=n(25552),p=n(91067),h=n(93236);function g({clientId:e,blockTypes:t,selectedBlockTypes:n,onClose:g}){const[m,v]=(0,l.useState)(n),{updateBlockAttributes:b}=(0,u.A)(f.M);return(0,h.jsx)(a,{title:(0,c._x)("Manage allowed blocks","modal title"),onRequestClose:g,overlayClassName:"block-editor-block-allowed-blocks-modal",focusOnMount:"firstContentElement",size:"medium",children:(0,h.jsxs)(r.A,{as:"form",onSubmit:n=>{n.preventDefault(),(()=>{const n=m.length===t.length,r=m.map(({name:e})=>e);b(e,{allowedBlocks:n?void 0:r}),g()})()},spacing:"4",children:[(0,h.jsx)(d.E,{children:(0,c.__)("Select which blocks can be added inside this container.")}),(0,h.jsx)(p.A,{blockTypes:t,selectedBlockTypes:m,onChange:e=>{v(e)}}),(0,h.jsxs)(o.A,{className:"block-editor-block-allowed-blocks-modal__actions",justify:"flex-end",expanded:!1,children:[(0,h.jsx)(i.A,{children:(0,h.jsx)(s.A,{variant:"tertiary",onClick:g,__next40pxDefaultSize:!0,children:(0,c.__)("Cancel")})}),(0,h.jsx)(i.A,{children:(0,h.jsx)(s.A,{variant:"primary",type:"submit",__next40pxDefaultSize:!0,children:(0,c.__)("Apply")})})]})]})})}},86322(e,t,n){"use strict";n.d(t,{A:()=>x});var r=n(64168),o=n(18335),i=n(87761),s=n(77944),a=n(54446),l=n(46936),c=n(26068),u=n(23720),d=n(19623),f=n(2376),p=n(27319),h=n(57611),g=n(95730),m=n(60770),v=n(61924),b=n(25552),y=n(93236),{Menu:k}=(0,v.T)(u.j);function x({attribute:e,binding:t,blockName:n}){const{updateBlockBindings:u}=(0,m.A)(),x=(0,p.A)("medium","<"),w=(0,f.useContext)(h.A),_=(0,d.A)(t=>{const{getAllBlockBindingsSources:r,getBlockBindingsSourceFieldsList:o,getBlockType:s}=(0,v.T)(t(i.M_)),a=s(n).attributes?.[e];if(a?.enum)return{};const l="rich-text"===a?.type?"string":a?.type,c={};return Object.entries(r()).forEach(([e,t])=>{const n=o(t,w);if(!n?.length)return;const r=n.filter(e=>e.type===l);r.length&&(c[e]=r)}),c},[e,n,w]),{canUpdateBlockBindings:A}=(0,d.A)(e=>({canUpdateBlockBindings:e(b.M).getSettings().canUpdateBlockBindings})),S=Object.keys(_).length>0,C=!A||!S,{source:E,args:T}=t||{},I=(0,i.Xm)(E);let j,B=!0;return void 0===t?(j=S?(0,o.__)("Not connected"):(0,o.__)("No sources available"),B=!0):I?j=_?.[E]?.find(e=>r(e.args,T))?.label||I?.label||E:(B=!1,j=(0,o.__)("Source not registered")),(0,y.jsx)(c.ToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!S&&(()=>{u({[e]:void 0})}),children:(0,y.jsxs)(k,{placement:x?"bottom-start":"left-start",children:[(0,y.jsx)(k.TriggerButton,{render:(0,y.jsx)(s.A,{}),disabled:!S,children:(0,y.jsxs)(a.A,{className:"block-editor-bindings__item",spacing:0,children:[(0,y.jsx)(l.A,{truncate:!0,children:e}),(0,y.jsx)(l.A,{truncate:!0,variant:B?"muted":void 0,isDestructive:!B,children:j})]})}),!C&&(0,y.jsx)(k.Popover,{gutter:x?8:36,children:(0,y.jsx)(k,{placement:x?"bottom-start":"left-start",children:Object.entries(_).map(([n,r])=>(0,y.jsx)(g.A,{args:t?.args,attribute:e,sourceKey:n,fields:r},n))})})]})})}},95730(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(64168),o=n(87761),i=n(23720),s=n(19623),a=n(2376),l=n(27319),c=n(60770),u=n(61924),d=n(57611),f=n(93236),{Menu:p}=(0,u.T)(i.j);function h({args:e,attribute:t,field:n,source:o,sourceKey:i}){const l=(0,a.useMemo)(()=>({source:i,args:n.args||{key:n.key}}),[n.args,n.key,i]),u=(0,a.useContext)(d.A),h=(0,s.A)(e=>o.getValues({select:e,context:u,bindings:{[t]:l}}),[t,u,l,o]),{updateBlockBindings:g}=(0,c.A)();return(0,f.jsxs)(p.CheckboxItem,{onChange:()=>{const o=r(e,n.args)??n.key===e?.key;g(o?{[t]:void 0}:{[t]:l})},name:t+"-binding",value:h[t],checked:r(e,n.args)??n.key===e?.key,children:[(0,f.jsx)(p.ItemLabel,{children:n.label}),(0,f.jsx)(p.ItemHelpText,{children:h[t]})]})}function g({args:e,attribute:t,sourceKey:n,fields:r}){const i=(0,l.A)("medium","<");if(!r||0===r.length)return null;const s=(0,o.Xm)(n);return(0,f.jsxs)(p,{placement:i?"bottom-start":"left-start",children:[(0,f.jsx)(p.SubmenuTriggerItem,{children:(0,f.jsx)(p.ItemLabel,{children:s.label})}),(0,f.jsx)(p.Popover,{gutter:8,children:(0,f.jsx)(p.Group,{children:r.map(r=>(0,f.jsx)(h,{args:e,attribute:t,field:r,source:s,sourceKey:n},n+JSON.stringify(r.args)||r.key))})})]},n)}},60770(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(79027),o=n(65627),i=n(25552),s=n(3217);function a(e){return!e||0===Object.keys(e).length}function l(e){const{clientId:t}=(0,s.m_)(),n=e||t,{updateBlockAttributes:l}=(0,r.A)(i.M),{getBlockAttributes:c}=(0,o.A)().select(i.M);return{updateBlockBindings:e=>{const{metadata:{bindings:t,...r}={}}=c(n),o={...t};Object.entries(e).forEach(([e,t])=>{t||!o[e]?o[e]=t:delete o[e]});const i={...r,bindings:o};a(i.bindings)&&delete i.bindings,l(n,{metadata:a(i)?void 0:i})},removeAllBlockBindings:()=>{const{metadata:{bindings:e,...t}={}}=c(n);l(n,{metadata:a(t)?void 0:t})}}}},54740(e,t,n){"use strict";n.d(t,{sR:()=>w,vV:()=>y});var r=n(27319),o=n(43730),i=n(2376),s=n(19623),a=n(63684),l=n(78916),c=n(13931),u=n(67524),d=n(26068),f=n(93281),p=n(88236),h=n(82277),g=n(47948),m=n(25552),v=n(61924),b=n(93236),y=(0,a.QJ)(Symbol("BlockCanvasCover"));function k({children:e}){return(0,b.jsx)("div",{className:"block-canvas-cover",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},children:e})}var x={ignoredSelectors:[/\.editor-styles-wrapper/gi]};function w({shouldIframe:e=!0,height:t="300px",children:n=(0,b.jsx)(l.Ay,{}),styles:a,contentRef:w,iframeProps:_}){(0,g.Z)();const A=(0,r.A)("medium","<"),S=(0,p.EL)(),C=(0,h.X)(),E=(0,i.useRef)(),T=(0,o.A)([w,C,E,(0,p.JG)()]),I=(0,s.A)(e=>(0,v.T)(e(m.M)).getZoomLevel(),[]),j=100===I||A?{}:{scale:I,frameSize:"40px"};return e?(0,b.jsx)(c.A,{__unstableContentRef:E,style:{height:t,display:"flex"},children:(0,b.jsxs)(d,{..._,...j,ref:S,contentRef:T,style:{..._?.style},name:"editor-canvas",children:[(0,b.jsx)(y.Slot,{fillProps:{containerRef:E},children:e=>e.map((e,t)=>(0,b.jsx)(k,{children:e},t))}),(0,b.jsx)(u.A,{styles:a}),n]})}):(0,b.jsxs)(c.A,{__unstableContentRef:E,style:{height:t,display:"flex"},children:[(0,b.jsx)(y.Slot,{fillProps:{containerRef:E},children:e=>e.map((e,t)=>(0,b.jsx)(k,{children:e},t))}),(0,b.jsx)(u.A,{styles:a,scope:":where(.editor-styles-wrapper)",transformOptions:x}),(0,b.jsx)(f.A,{ref:T,className:"editor-styles-wrapper",tabIndex:-1,style:{height:"100%",width:"100%",overflow:"auto"},children:n})]})}},90594(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(13022),o=n(43192),i=n(93331),s=n(23720),a=n(9504),l=n(44636),c=n(79027),u=n(19623),d=n(66786),f=n(18335),p=n(62344),h=n(98595),g=n(39558),m=n(48329),v=n(87761),b=n(61924),y=n(25552),k=n(3399),x=n(93236),{Badge:w}=(0,b.T)(s.j);function _({children:e,onClick:t}){return t?(0,x.jsx)(o.A,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}var A=function({title:e,icon:t,description:n,blockType:s,className:A,name:S,allowParentNavigation:C,parentClientId:E,isChild:T,children:I,clientId:j,controls:B}){s&&((0,d.A)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:e,icon:t,description:n}=s));const{parentBlockClientId:N,parentBlockName:M}=(0,u.A)(e=>{if(E||T||!C)return{};const{getBlockParents:t,getBlockName:n,shouldRenderBlockListView:r}=(0,b.T)(e(y.M)),o=t(j,!1).find(e=>r(e));return{parentBlockClientId:o,parentBlockName:o?n(o):null}},[j,C,T,E]),{selectBlock:R}=(0,c.A)(y.M),O=E?"div":"h2";return(0,x.jsx)("div",{className:(0,r.A)("block-editor-block-card",{"is-parent":E,"is-child":T},A),children:(0,x.jsxs)(a.B,{direction:"column",gap:"sm",children:[(0,x.jsxs)(a.B,{direction:"row",align:"center",justify:"space-between",children:[(0,x.jsxs)(a.B,{direction:"row",align:"center",justify:"flex-start",children:[N&&(0,x.jsx)(o.A,{onClick:()=>R(N),label:M?(0,f.nv)(
3 /* translators: %s: The name of the parent block. */
4 /* translators: %s: The name of the parent block. */
5 (0,f.__)('Go to "%s" block'),(0,v.E7)(M)?.title):(0,f.__)("Go to parent block"),style:{minWidth:24,padding:0},icon:(0,f.V8)()?m.A:g.A,size:"small"}),T&&(0,x.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,x.jsx)(i.A,{icon:(0,f.V8)()?p.A:h.A})}),(0,x.jsxs)(_,{onClick:E?()=>{R(E)}:void 0,children:[(0,x.jsx)(k.A,{icon:t,showColors:!0}),(0,x.jsxs)(a.B,{direction:"column",gap:"xs",children:[(0,x.jsxs)(O,{className:"block-editor-block-card__title",children:[(0,x.jsx)("span",{className:"block-editor-block-card__name",children:S?.length?S:e}),!E&&!T&&!!S?.length&&(0,x.jsx)(w,{children:e})]}),I]})]})]}),B]}),!E&&!T&&n&&(0,x.jsx)(l.E,{className:"block-editor-block-card__description",children:n})]})})}},39762(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(43192),o=n(32557),i=n(38569),s=n(93236);function a({title:e,rawContent:t,renderedContent:n,action:a,actionText:l,className:c}){return(0,s.jsxs)("div",{className:c,children:[(0,s.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,s.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,s.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,s.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,s.jsx)(o.A,{children:(0,i.A)(n)})})]}),(0,s.jsx)("div",{className:"block-editor-block-compare__action",children:(0,s.jsx)(r.A,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:a,children:l})})]})}},98275(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(13022),o=n(26068),i=n(18335),s=n(87761),a=n(39762),l=n(93236);var c=function({block:e,onKeep:t,onConvert:n,convertor:c,convertButtonText:u}){const d=(f=c(e),(Array.isArray(f)?f:[f]).map(e=>(0,s.Z9)(e.name,e.attributes,e.innerBlocks)).join(""));var f;const p=(h=e.originalContent,g=d,(0,o.diffChars)(h,g).map((e,t)=>{const n=(0,r.A)({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return(0,l.jsx)("span",{className:n,children:e.value},t)}));var h,g;return(0,l.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,l.jsx)(a.A,{title:(0,i.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,i.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,l.jsx)(a.A,{title:(0,i.__)("After Conversion"),className:"block-editor-block-compare__converted",action:n,actionText:u,rawContent:p,renderedContent:d})]})}},57611(e,t,n){"use strict";n.d(t,{A:()=>a,_:()=>s});var r=n(2376),o=n(93236),i=(0,r.createContext)({});function s({value:e,children:t}){const n=(0,r.useContext)(i),s=(0,r.useMemo)(()=>({...n,...e}),[n,e]);return(0,o.jsx)(i.Provider,{value:s,children:t})}i.displayName="BlockContext";var a=i},95389(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(27953),o=n(25787),i=n(44307),s=n(93236);function a({group:e="default",controls:t,children:n,__experimentalShareWithChildBlocks:a=!1}){const l=(0,i.A)(e,a);if(!l)return null;const c=(0,s.jsxs)(s.Fragment,{children:["default"===e&&(0,s.jsx)(r.A,{controls:t}),n]});return(0,s.jsx)(o.A,{document,children:(0,s.jsx)(l,{children:e=>{const{forwardedContext:t=[]}=e;return t.reduce((e,[t,n])=>(0,s.jsx)(t,{...n,children:e}),c)}})})}},4646(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(63684),o={default:(0,r.QJ)("BlockControls"),block:(0,r.QJ)("BlockControlsBlock"),inline:(0,r.QJ)("BlockFormatControls"),other:(0,r.QJ)("BlockControlsOther"),parent:(0,r.QJ)("BlockControlsParent"),"style-state":(0,r.QJ)("BlockControlsStyleState")}},44307(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(4646),o=n(3217);function i(e,t){const n=(0,o.m_)();return n[o.dk]?r.A[e]?.Fill:n[o.dg]&&t?r.A.parent.Fill:null}},65562(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(95389),o=n(9066),i=(n(93236),r.A);i.Slot=o.A;var s=i},9066(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(2376),o=n(18817),i=n(27953),s=n(39186),a=n(23720),l=n(90531),c=n(4646),u=n(61924),d=n(93236),{ComponentsContext:f}=(0,u.T)(a.j);function p({group:e="default",...t}){const n=(0,r.useContext)(o.A),a=(0,r.useContext)(f),u=(0,r.useMemo)(()=>({forwardedContext:[[o.A.Provider,{value:n}],[f.Provider,{value:a}]]}),[n,a]),p=c.A[e],h=(0,s.A)(p.name);if(!p)return(0,l.A)(`Unknown BlockControls group "${e}" provided.`),null;if(!h?.length)return null;const{Slot:g}=p,m=(0,d.jsx)(g,{...t,bubblesVirtually:!0,fillProps:u});return"default"===e?m:(0,d.jsx)(i.A,{children:m})}},23494(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(18335),o=n(38162),i=n(52474),s=n(34268),a=n(3399),l=n(93236);function c({count:e,icon:t,isPattern:n,fadeWhenDisabled:c}){const u=n&&(0,r.__)("Pattern");return(0,l.jsx)("div",{className:"block-editor-block-draggable-chip-wrapper",children:(0,l.jsx)("div",{className:"block-editor-block-draggable-chip","data-testid":"block-draggable-chip",children:(0,l.jsxs)(o.A,{justify:"center",className:"block-editor-block-draggable-chip__content",children:[(0,l.jsx)(i.A,{children:t?(0,l.jsx)(a.A,{icon:t}):u||(0,r.nv)(
6 /* translators: %d: Number of blocks. */
7 /* translators: %d: Number of blocks. */
8 (0,r._n)("%d block","%d blocks",e),e)}),(0,l.jsx)(i.A,{children:(0,l.jsx)(a.A,{icon:s.A})}),c&&(0,l.jsx)(i.A,{className:"block-editor-block-draggable-chip__disabled",children:(0,l.jsx)("span",{className:"block-editor-block-draggable-chip__disabled-icon"})})]})})})}},88035(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(87761),o=n(30335),i=n(79027),s=n(19623),a=n(2376),l=n(38206),c=n(23494),u=n(5797),d=n(25552),f=n(95691),p=n(30186),h=n(93236),g=({appendToOwnerDocument:e,children:t,clientIds:n,cloneClassname:g,elementId:m,onDragStart:v,onDragEnd:b,fadeWhenDisabled:y=!1,dragComponent:k})=>{const{srcRootClientId:x,isDraggable:w,icon:_,visibleInserter:A,getBlockType:S}=(0,s.A)(e=>{const{canMoveBlocks:t,getBlockRootClientId:o,getBlockName:i,getBlockAttributes:s,isBlockInsertionPointVisible:a}=e(d.M),{getBlockType:l,getActiveBlockVariation:c}=e(r.M_),u=o(n[0]),f=i(n[0]),p=c(f,s(n[0]));return{srcRootClientId:u,isDraggable:t(n),icon:p?.icon||l(f)?.icon,visibleInserter:a(),getBlockType:l}},[n]),C=(0,a.useRef)(!1),[E,T,I]=(0,u.A)(),{getAllowedBlocks:j,getBlockNamesByClientId:B,getBlockRootClientId:N}=(0,s.A)(d.M),{startDraggingBlocks:M,stopDraggingBlocks:R}=(0,i.A)(d.M);(0,a.useEffect)(()=>()=>{C.current&&R()},[]);const O=(0,f.dN)(n[0]),L=O?.closest("body");if((0,a.useEffect)(()=>{if(!L||!y)return;const e=(0,l.n)(e=>{if(!e.target.closest("[data-block]"))return;const t=B(n),r=e.target.closest("[data-block]").getAttribute("data-block"),o=j(r),i=B([r])[0];let s;if(0===o?.length){const e=N(r),n=B([e])[0],o=j(e);s=(0,p.tq)(S,o,t,n)}else s=(0,p.tq)(S,o,t,i);s||A?window?.document?.body?.classList?.remove("block-draggable-invalid-drag-token"):window?.document?.body?.classList?.add("block-draggable-invalid-drag-token")},200);return L.addEventListener("dragover",e),()=>{L.removeEventListener("dragover",e)}},[n,L,y,j,B,N,S,A]),!w)return t({draggable:!1});const P={type:"block",srcClientIds:n,srcRootClientId:x};return(0,h.jsx)(o.A,{appendToOwnerDocument:e,cloneClassname:g,__experimentalTransferDataType:"wp-blocks",transferData:P,onDragStart:e=>{window.requestAnimationFrame(()=>{M(n),C.current=!0,E(e),v&&v()})},onDragOver:T,onDragEnd:()=>{R(),C.current=!1,I(),b&&b()},__experimentalDragComponent:void 0!==k?k:(0,h.jsx)(c.A,{count:n.length,icon:_,fadeWhenDisabled:!0}),elementId:m,children:({onDraggableStart:e,onDraggableEnd:n})=>t({draggable:!0,onDragStart:e,onDragEnd:n})})}},5797(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(95582),o=n(2376);function i(){const e=(0,o.useRef)(null),t=(0,o.useRef)(null),n=(0,o.useRef)(null),i=(0,o.useRef)(null);(0,o.useEffect)(()=>()=>{i.current&&(clearInterval(i.current),i.current=null)},[]);return[(0,o.useCallback)(o=>{e.current=o.clientY,n.current=(0,r.A)(o.target),i.current=setInterval(()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}},25)},[]),(0,o.useCallback)(r=>{if(!n.current)return;const o=n.current.offsetHeight,i=e.current-n.current.offsetTop,s=r.clientY-n.current.offsetTop;if(r.clientY>i){const e=Math.max(o-i-50,0),n=Math.max(s-i-50,0),r=0===e||0===n?0:n/e;t.current=25*r}else if(r.clientY<i){const e=Math.max(i-50,0),n=Math.max(i-s-50,0),r=0===e||0===n?0:n/e;t.current=-25*r}else t.current=0},[]),()=>{e.current=null,n.current=null,i.current&&(clearInterval(i.current),i.current=null)}]}},56629(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(54646),o=n(27953),i=n(18335),s=n(79027),a=n(19623),l=n(25552),c=n(93236);function u({clientIds:e}){const t=1===e.length?e[0]:void 0,n=(0,a.A)(e=>!!t&&"html"===e(l.M).getBlockMode(t),[t]),{toggleBlockMode:u}=(0,s.A)(l.M);return n?(0,c.jsx)(o.A,{children:(0,c.jsx)(r.A,{onClick:()=>{u(t)},children:(0,i.__)("Edit visually")})}):null}},3217(e,t,n){"use strict";n.d(t,{B8:()=>d,F9:()=>c,KY:()=>p,VN:()=>l,dg:()=>i,dk:()=>o,gF:()=>a,m_:()=>h,uD:()=>u,v4:()=>s});var r=n(2376),o=Symbol("mayDisplayControls"),i=Symbol("mayDisplayParentControls"),s=Symbol("mayDisplayPatternEditingControls"),a=Symbol("blockEditingMode"),l=Symbol("blockBindings"),c=Symbol("isPreviewMode"),u=Symbol("isInListViewBlockSupportTree"),d={name:"",isSelected:!1},f=(0,r.createContext)(d);f.displayName="BlockEditContext";var{Provider:p}=f;function h(){return(0,r.useContext)(f)}},46044(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(13022),o=n(87761),i=n(21053),s=n(65627),a=n(19623),l=n(2376),c=n(57611),u=n(58388),d=n(82710),f=n(61924),p=n(53375),h=n(93236),g=(0,i.A)("editor.BlockEdit")(e=>{const{name:t}=e,n=(0,o.E7)(t);if(!n)return null;const r=n.edit||n.save;return(0,h.jsx)(r,{...e})}),m=e=>{const{name:t,clientId:n,attributes:i,setAttributes:m}=e,v=(0,s.A)(),b=(0,o.E7)(t),y=(0,l.useContext)(c.A),k=(0,a.A)(e=>(0,f.T)(e(o.M_)).getAllBlockBindingsSources(),[]),{bindableAttributes:x}=(0,l.useContext)(p.c),{blockBindings:w,context:_,hasPatternOverrides:A}=(0,l.useMemo)(()=>({blockBindings:(0,d.sQ)(i?.metadata?.bindings,x),context:(0,d.pI)(y,b?.usesContext,i?.metadata?.bindings?Object.values(i.metadata.bindings).map(e=>k[e?.source]):void 0),hasPatternOverrides:(0,d.KV)(i?.metadata?.bindings)}),[b?.usesContext,y,i?.metadata?.bindings,x,k]),S=(0,a.A)(e=>{if(!w)return i;const t={},r=new Map;for(const[e,t]of Object.entries(w)){const{source:n,args:o}=t,i=k[n];i&&x?.includes(e)&&r.set(i,{...r.get(i),[e]:{args:o}})}if(r.size)for(const[o,i]of r){let r={};o.getValues?r=o.getValues({select:e,context:_,clientId:n,bindings:i}):Object.keys(i).forEach(e=>{r[e]=o.label});for(const[e,n]of Object.entries(r))"url"!==e||n&&(0,u.Ay)(n)?t[e]=n:t[e]=null}return{...i,...t}},[i,x,w,n,_,k]),C=(0,l.useCallback)(e=>{w?v.batch(()=>{const t={...e},r=new Map;for(const[e,n]of Object.entries(t)){if(!w[e]||!x?.includes(e))continue;const o=w[e],i=k[o?.source];i?.setValues&&(r.set(i,{...r.get(i),[e]:{args:o.args,newValue:n}}),delete t[e])}if(r.size)for(const[e,t]of r)e.setValues({select:v.select,dispatch:v.dispatch,context:_,clientId:n,bindings:t});const o=!!_["pattern/overrides"];A&&o||!Object.keys(t).length||(A&&delete t.href,m(t))}):m(e)},[x,w,n,_,A,m,k,v]);if(!b)return null;if(b.apiVersion>1)return(0,h.jsx)(g,{...e,attributes:S,context:_,setAttributes:C});const E=(0,o.pN)(b,"className",!0)?(0,o.KW)(t):null,T=(0,r.A)(E,i?.className,e.className);return(0,h.jsx)(g,{...e,attributes:S,className:T,context:_,setAttributes:C})}},1076(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(2376),o=n(87761),i=n(46044),s=n(3217),a=n(46441),l=n(53375),c=n(93236);function u({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:n,blockEditingMode:u,isPreviewMode:d,...f}){const{name:p,isSelected:h,clientId:g,attributes:m={},__unstableLayoutClassNames:v}=f,{layout:b=null,metadata:y={}}=m,{bindings:k}=y,x=(0,o.pN)(p,"layout",!1)||(0,o.pN)(p,"__experimentalLayout",!1),w=!!(0,s.m_)()[s.uD]||(0,o.pN)(p,"listView")||"core/navigation"===p,{originalBlockClientId:_}=(0,r.useContext)(l.c);return(0,c.jsxs)(s.KY,{value:(0,r.useMemo)(()=>({name:p,isSelected:h,clientId:g,layout:x?b:null,__unstableLayoutClassNames:v,[s.dk]:e,[s.dg]:t,[s.v4]:n&&"disabled"!==u,[s.gF]:u,[s.VN]:k,[s.F9]:d,[s.uD]:w}),[p,h,g,x,b,v,e,t,n,u,k,d,w]),children:[(0,c.jsx)(i.A,{...f}),_&&(0,c.jsx)(a.k,{originalBlockClientId:_,name:p,onReplace:f.onReplace})]})}},46441(e,t,n){"use strict";n.d(t,{k:()=>u});var r=n(87761),o=n(43192),i=n(79027),s=n(18335),a=n(25552),l=n(83450),c=n(93236);function u({originalBlockClientId:e,name:t,onReplace:n}){const{selectBlock:u}=(0,i.A)(a.M),d=(0,r.E7)(t);return(0,c.jsxs)(l.A,{actions:[(0,c.jsx)(o.A,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>u(e),children:(0,s.__)("Find original")},"find-original"),(0,c.jsx)(o.A,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>n([]),children:(0,s.__)("Remove")},"remove")],children:[(0,c.jsxs)("strong",{children:[d?.title,": "]}),(0,s.__)("This block can only be used once.")]})}},90376(e,t,n){"use strict";n.d(t,{w:()=>l});var r=n(65627),o=n(19623),i=n(2376),s=n(25552),a=n(3217);function l(e){const t=(0,a.m_)(),{clientId:n=""}=t,l=(0,r.A)(),c=(0,o.A)(e=>n?null:e(s.M).getBlockEditingMode(),[n]);return(0,i.useEffect)(()=>{if(!e)return;const{setBlockEditingMode:t,unsetBlockEditingMode:r,__unstableMarkNextChangeAsNotPersistent:o}=l.dispatch(s.M);return o(),t(n,e),()=>{o(),r(n)}},[l,n,e]),n?t[a.gF]:c}},3399(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(13022),o=n(93331),i=n(52478),s=n(2376),a=n(93236);var l=(0,s.memo)(function({icon:e,showColors:t=!1,className:n,context:s}){"block-default"===e?.src&&(e={src:i.A});const l=(0,a.jsx)(o.A,{icon:e&&e.src?e.src:e,context:s}),c=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,a.jsx)("span",{style:c,className:(0,r.A)("block-editor-block-icon",n,{"has-colors":t}),children:l})})},4461(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(2376),o=n(79027),i=n(19623),s=n(63632),a=n(87761),l=n(90531),c=n(25552),u=n(61924),d=n(93236);function f({entry:e,apply:t}){return(0,s.wk)(e.name,n=>{n.defaultPrevented||t(e)&&n.preventDefault()}),null}function p({shortcuts:e}){const{registerShortcut:t,unregisterShortcut:n}=(0,o.A)(s.M_),i=(0,r.useRef)(new Map);return(0,r.useEffect)(()=>{const r=new Map,o=new Map;for(const n of e){const e={name:n.name,category:"block",description:n.description,keyCombination:n.keyCombination,aliases:n.aliases},i=JSON.stringify(e),s=r.get(n.name);if(void 0!==s){s!==i&&(0,l.A)(`Block keyboard shortcut "${n.name}" is declared more than once with different settings.`);continue}const{modifier:a,character:c}=n.keyCombination,u=`${a??""}+${c}`;o.has(u)&&(0,l.A)(`Block keyboard shortcut "${n.name}" uses the same key combination as "${o.get(u)}".`),o.set(u,n.name),t(e),r.set(n.name,i)}for(const e of i.current.keys())r.has(e)||n(e);i.current=r},[e,t,n]),null}function h(){const e=(0,i.A)(e=>(0,u.T)(e(a.M_)).getBlockKeyboardShortcuts(),[]),t=function(){const{getBlock:e,getBlockName:t,getBlockAttributes:n,getBlockEditingMode:s,getSelectedBlockClientId:l}=(0,i.A)(c.M),{getBlockVariations:u,getActiveBlockVariation:d}=(0,i.A)(a.M_),{replaceBlocks:f,updateBlockAttributes:p}=(0,o.A)(c.M);return(0,r.useCallback)(({targetBlockName:r,blockNames:o,variationName:i})=>{const c=l();if(!c)return!1;if("default"!==s(c))return!1;const h=t(c);if(!o.includes(h))return!1;const g=i?u(r)?.find(({name:e})=>e===i):void 0;if(h===r){if(!g?.attributes)return!1;const e=d(r,n(c));return e?.name!==i&&p(c,g.attributes),!0}const m=e(c);if(!m)return!1;let v=g?(0,a.bh)(m,r,g.name):null;return v||(v=(0,a.bh)(m,r),v&&g?.attributes&&(v=v.map(e=>e.name===r?{...e,attributes:{...e.attributes,...g.attributes}}:e))),!!v&&(f(c,v),!0)},[e,t,n,s,l,u,d,f,p])}();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p,{shortcuts:e}),e.map((e,n)=>(0,d.jsx)(f,{entry:e,apply:t},`${e.name}-${n}`))]})}},99406(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(13022),o=n(19623),i=n(87761),s=n(88037),a=n(54282),l=n(25552),c=n(93236);function u({rootClientId:e}){return(0,o.A)(t=>t(l.M).canInsertBlockType((0,i.K$)(),e))?(0,c.jsx)(s.A,{rootClientId:e}):(0,c.jsx)(a.A,{rootClientId:e,className:"block-list-appender__toggle"})}function d({rootClientId:e,CustomAppender:t,className:n,tagName:i="div"}){const s=(0,o.A)(t=>{const{getBlockInsertionPoint:n,isBlockInsertionPointVisible:r,getBlockCount:o}=t(l.M),i=n();return r()&&e===i?.rootClientId&&0===o(e)},[e]);return(0,c.jsx)(i,{tabIndex:-1,className:(0,r.A)("block-list-appender wp-block",n,{"is-drag-over":s}),contentEditable:!1,"data-block":!0,children:t?(0,c.jsx)(t,{}):(0,c.jsx)(u,{rootClientId:e})})}},42872(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=class extends r.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},i=o},55014(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(18335),o=n(83450),i=(0,n(93236).jsx)(o.A,{className:"block-editor-block-list__block-crash-warning",children:(0,r.__)("This block has encountered an error and cannot be previewed.")});function s(){return i}},43023(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(17578),o=n(2376),i=n(79027),s=n(19623),a=n(87761),l=n(25552),c=n(6780),u=n(93236);var d=function({clientId:e}){const[t,n]=(0,o.useState)(""),d=(0,c.h)(),f=(0,s.A)(t=>t(l.M).getBlock(e),[e]),{updateBlock:p}=(0,i.A)(l.M),h=(0,o.useMemo)(()=>f?(0,a.F8)(f):"",[f]);return(0,o.useEffect)(()=>{n(h)},[h]),(0,u.jsx)(r,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:()=>{const r=(0,a.E7)(f.name);if(!r)return;const o=(0,a.Ph)(r,t,f.attributes),i=t||(0,a.Z9)(r,o),[s]=t?(0,a.YV)({...f,attributes:o,originalContent:i}):[!0];p(e,{attributes:o,originalContent:i,isValid:s}),t||n(i)},onChange:e=>n(e.target.value),ref:d})}},52090(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(18335),o=n(43192),i=n(26068),s=n(2376),a=n(87761),l=n(79027),c=n(19623),u=n(83450),d=n(98275),f=n(25552),p=n(93236),h=e=>(0,a.lh)({HTML:e.originalContent});function g({clientId:e}){const{block:t,canInsertHTMLBlock:n}=(0,c.A)(t=>{const{canInsertBlockType:n,getBlock:r,getBlockRootClientId:o}=t(f.M),i=o(e);return{block:r(e),canInsertHTMLBlock:n("core/html",i)}},[e]),{replaceBlock:g}=(0,l.A)(f.M),[m,v]=(0,s.useState)(!1),b=(0,s.useCallback)(()=>v(!1),[]),y=(0,s.useMemo)(()=>({toHTML(){const e=(0,a.Wv)("core/html",{},[],[t.originalContent]);return g(t.clientId,e)},toBlocks(){const e=h(t);return g(t.clientId,e)},toRecoveredBlock(){const e=(0,a.Wv)(t.name,t.attributes,t.innerBlocks);return g(t.clientId,e)}}),[t,g]),k=(0,s.useMemo)(()=>[{
9 // translators: Button to fix block content
10 title:(0,r._x)("Resolve","imperative verb"),onClick:()=>v(!0)},n&&{title:(0,r.__)("Convert to HTML"),onClick:y.toHTML}].filter(Boolean),[n,y]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(u.A,{actions:[(0,p.jsx)(o.A,{__next40pxDefaultSize:!0,onClick:y.toRecoveredBlock,variant:"primary",children:(0,r.__)("Attempt recovery")},"recover")],secondaryActions:k,children:(0,r.__)("Block contains unexpected or invalid content.")}),m&&(0,p.jsx)(i,{title:
11 // translators: Dialog title to fix block content
12 // translators: Dialog title to fix block content
13 (0,r.__)("Resolve Block"),onRequestClose:b,className:"block-editor-block-compare",children:(0,p.jsx)(d.A,{block:t,onKeep:y.toHTML,onConvert:y.toBlocks,convertor:h,convertButtonText:(0,r.__)("Convert to Blocks")})})]})}},46107(e,t,n){"use strict";n.d(t,{A:()=>I});var r=n(13022),o=n(2376),i=n(32557),s=n(87761),a=n(21053),l=n(16098),c=n(19623),u=n(98838),d=n(71886),f=n(38569),p=n(1076),h=n(52090),g=n(55014),m=n(42872),v=n(43023),b=n(12257),y=n(25552),k=n(59402),x=n(53375),w=n(56922),_=n(61924),A=n(12634),S=n(93236);function C({children:e,isHtml:t,...n}){return(0,S.jsx)("div",{...(0,b.Z)(n,{__unstableIsHtml:t}),children:e})}function E({block:{__unstableBlockSource:e},mode:t,isLocked:n,canRemove:a,clientId:l,isSelected:c,isSelectionEnabled:u,className:d,__unstableLayoutClassNames:b,name:y,isValid:w,attributes:_,wrapperProps:A,setAttributes:E,onReplace:T,onRemove:I,onInsertBlocksAfter:j,onMerge:B,toggleSelection:N}){const{mayDisplayControls:M,mayDisplayParentControls:R,isSelectionWithinCurrentSection:O,themeSupportsLayout:L,...P}=(0,o.useContext)(x.c),D=(0,k.gK)()||{};let z=(0,S.jsx)(p.A,{name:y,isSelected:c,attributes:_,setAttributes:E,insertBlocksAfter:n?void 0:j,onReplace:a?T:void 0,onRemove:a?I:void 0,mergeBlocks:a?B:void 0,clientId:l,isSelectionEnabled:u,toggleSelection:N,__unstableLayoutClassNames:b,__unstableParentLayout:Object.keys(D).length?D:void 0,mayDisplayControls:M,mayDisplayParentControls:R,mayDisplayPatternEditingControls:O,blockEditingMode:P.blockEditingMode,isPreviewMode:P.isPreviewMode});const V=(0,s.E7)(y);V?.getEditWrapperProps&&(A=function(e,t){const n={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(n.className=(0,r.A)(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(n.style={...e.style,...t.style}),n}(A,V.getEditWrapperProps(_)));const F=A&&!!A["data-align"]&&!L,$=d?.includes("is-position-sticky");let H;if(F&&(z=(0,S.jsx)("div",{className:(0,r.A)("wp-block",$&&d),"data-align":A["data-align"],children:z})),w)H="html"===t?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{style:{display:"none"},children:z}),(0,S.jsx)(C,{isHtml:!0,children:(0,S.jsx)(v.A,{clientId:l})})]}):V?.apiVersion>1?z:(0,S.jsx)(C,{children:z});else{const t=e?(0,s.Kx)(e):(0,s.Z9)(V,_);H=(0,S.jsxs)(C,{className:"has-warning",children:[(0,S.jsx)(h.A,{clientId:l}),(0,S.jsx)(i.A,{children:(0,f.A)(t)})]})}const{"data-align":U,...W}=A??{},K={...W,className:(0,r.A)(W.className,U&&L&&`align${U}`,!(U&&$)&&d)};return(0,S.jsx)(x.c.Provider,{value:{wrapperProps:K,isAligned:F,isSelectionWithinCurrentSection:O,...P},children:(0,S.jsx)(m.A,{fallback:(0,S.jsx)(C,{className:"has-warning",children:(0,S.jsx)(g.A,{})}),children:H})})}var T=(0,l.A)((e,t,n)=>{const{updateBlockAttributes:r,insertBlocks:o,mergeBlocks:i,replaceBlocks:a,toggleSelection:l,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(y.M);return{setAttributes(e){const{getMultiSelectedBlockClientIds:o}=n.select(y.M),i=o(),{clientId:s,attributes:a}=t,l=i.length?i:[s],c="function"==typeof e?e(a):e;r(l,c)},onInsertBlocks(e,n){const{rootClientId:r}=t;o(e,n,r)},onInsertBlocksAfter(e){const{clientId:r,rootClientId:i}=t,{getBlockIndex:s}=n.select(y.M),a=s(r);o(e,a+1,i)},onMerge(e){const{clientId:r,rootClientId:l}=t,{getPreviousBlockClientId:c,getNextBlockClientId:p,getBlock:h,getBlockAttributes:g,getBlockName:m,getBlockOrder:v,getBlockIndex:b,getBlockRootClientId:k,canInsertBlockType:x}=n.select(y.M);function w(){const e=h(r),t=(0,s.K$)(),o=(0,s.E7)(t);if(m(r)!==t){const n=(0,s.bh)(e,t);n&&n.length&&a(r,n)}else if((0,s.Xw)(e)){const e=p(r);e&&n.batch(()=>{d(r),f(e)})}else if(o.merge){const n=o.merge({},e.attributes);a([r],[(0,s.Wv)(t,n)])}}function _(e,t=!0){const r=m(e),i="text"===(0,s.E7)(r).category,a=k(e),l=v(e),[c]=l;1===l.length&&(0,s.C5)(h(c),"content")?d(e):i?n.batch(()=>{if(x(m(c),a))u([c],e,a,b(e));else{const n=(0,s.bh)(h(c),(0,s.K$)());n&&n.length&&n.every(e=>x(e.name,a))?(o(n,b(e),a,t),d(c,!1)):w()}!v(e).length&&(0,s.C5)(h(e),"content")&&d(e,!1)}):w()}if(e){if(l){const e=p(l);if(e){if(m(l)!==m(e))return void i(l,e);{const t=g(l),r=g(e);if(Object.keys(t).every(e=>t[e]===r[e]))return void n.batch(()=>{u(v(e),e,l),d(e,!1)})}}}const e=p(r);if(!e)return;if((0,s.Xw)(h(r))){let t=e;for(;v(t).length;)t=v(t)[0];n.batch(()=>{d(r),f(t)})}else v(e).length?_(e,!1):i(r,e)}else{const e=c(r);if(e)i(e,r);else if(l){const e=c(l);if(e&&m(l)===m(e)){const t=g(l),r=g(e);if(Object.keys(t).every(e=>t[e]===r[e]))return void n.batch(()=>{u(v(l),l,e),d(l,!1)})}_(l)}else w()}},onReplace(e,n,r){e.length&&!(0,s.Xw)(e[e.length-1])&&c();const o=1===e?.length&&Array.isArray(e[0])?e[0]:e;a([t.clientId],o,n,r)},onRemove(){d(t.clientId)},toggleSelection(e){l(e)}}});E=(0,u.A)(T,(0,a.A)("editor.BlockListBlock"))(E);var I=(0,o.memo)(function(e){const{clientId:t,rootClientId:n,ghostBlock:r}=e,i=(0,o.useMemo)(()=>r?{clientId:r.clientId,name:r.name,isValid:!0}:void 0,[r]),a=(0,c.A)(e=>{const{isBlockSelected:o,getBlockMode:a,isSelectionEnabled:l,getTemplateLock:c,isSectionBlock:u,getParentSectionBlock:d,getBlockWithoutAttributes:f,getBlockAttributes:p,canRemoveBlock:h,canMoveBlock:g,getSettings:m,getEditedContentOnlySection:v,getBlockEditingMode:b,getBlockName:k,isFirstMultiSelectedBlock:x,getMultiSelectedBlockClientIds:w,hasSelectedInnerBlock:S,getBlocksByName:C,getBlockIndex:E,isBlockMultiSelected:T,isBlockSubtreeDisabled:I,isBlockHighlighted:j,__unstableIsFullySelected:B,__unstableSelectionHasUnmergeableBlock:N,isBlockBeingDragged:M,isDragging:R,__unstableHasActiveBlockOverlayActive:O,getSelectedBlocksInitialCaretPosition:L}=(0,_.T)(e(y.M)),P=f(t)??(t===i?.clientId?i:void 0);if(!P)return;const{hasBlockSupport:D,getActiveBlockVariation:z}=e(s.M_),V=p(t)??r?.attributes,{name:F,isValid:$}=P,H=(0,s.E7)(F),U=m(),{supportsLayout:W,isPreviewMode:K,__experimentalBlockBindingsSupportedAttributes:q}=U,G=q?.[F],X=V?.metadata?.blockVisibility,Y=U?.[A.O9]?.toLowerCase()||"desktop",Z=U?.__experimentalFeatures?.viewport,Q=H?.apiVersion>1,J=T(t),ee=b(t),te={isPreviewMode:K,blockWithoutAttributes:P,name:F,attributes:V,isValid:$,themeSupportsLayout:W,index:E(t),isReusable:(0,s.tk)(H),className:Q?V.className:void 0,defaultClassName:Q?(0,s.KW)(F):void 0,blockTitle:H?.title,bindableAttributes:G,blockVisibility:X,deviceType:Y,viewportSettings:Z,isMultiSelected:J,blockEditingMode:ee,isEditingDisabled:"disabled"===ee};if(K)return te;const ne=o(t),re=h(t),oe=g(t),ie=z(F,V),se=!0,ae=S(t,se),le=u(t),ce=le?t:d(t),ue=o(ce)||!!ce&&S(ce,se),de=(0,s.pN)(F,"multiple",!0)?[]:C(F),fe=de.length&&de[0]!==t;return{...te,mode:a(t),isSelectionEnabled:l(),isLocked:!!c(n),isSectionBlock:le,isWithinSectionBlock:!!ce,isSelectionWithinCurrentSection:ue,blockType:H,canRemove:re,canMove:oe,isSelected:ne,isEditingContentOnlySection:v()===t,blockEditingMode:ee,mayDisplayControls:ne||x(t)&&w().every(e=>k(e)===F),mayDisplayParentControls:D(k(t),"__experimentalExposeControlsToChildren",!1)&&S(t),blockApiVersion:H?.apiVersion||1,blockTitle:ie?.title||H?.title,isSubtreeDisabled:"disabled"===ee&&I(t),hasOverlay:O(t)&&!R(),initialPosition:ne?L():void 0,isHighlighted:j(t),isMultiSelected:J,isPartiallySelected:J&&!B()&&!N(),isDragging:M(t),hasChildSelected:ae,isEditingDisabled:"disabled"===ee,hasEditableOutline:"disabled"!==ee&&"disabled"===b(n),originalBlockClientId:!!fe&&de[0],blockVisibility:X,deviceType:Y,viewportSettings:Z,supportsSplitting:(0,s.pN)(F,"splitting",!1)}},[t,n,r,i]),l=(0,d.A)(e=>{if(e){const{ownerDocument:t}=e,{defaultView:n}=t;l.current=n}},[]),{isBlockCurrentlyHidden:u}=(0,w.A)({blockVisibility:a?.blockVisibility,deviceType:a?.deviceType,viewportSettings:a?.viewportSettings,view:l.current}),f=(0,o.useMemo)(()=>({...a?.blockWithoutAttributes,attributes:a?.attributes}),[a?.blockWithoutAttributes,a?.attributes]);if(!a)return null;const{isPreviewMode:p,mode:h="visual",isSelectionEnabled:g=!1,isLocked:m=!1,canRemove:v=!1,canMove:b=!1,name:k,attributes:C,isValid:T,isSelected:I=!1,themeSupportsLayout:j,isEditingContentOnlySection:B,blockEditingMode:N,mayDisplayControls:M,mayDisplayParentControls:R,index:O,blockApiVersion:L,blockType:P,blockTitle:D,isSubtreeDisabled:z,hasOverlay:V,initialPosition:F,isHighlighted:$,isMultiSelected:H,isPartiallySelected:U,isReusable:W,isDragging:K,hasChildSelected:q,isSectionBlock:G,isWithinSectionBlock:X,isSelectionWithinCurrentSection:Y,isEditingDisabled:Z,hasEditableOutline:Q,className:J,defaultClassName:ee,originalBlockClientId:te,bindableAttributes:ne,blockVisibility:re,deviceType:oe,viewportSettings:ie,supportsSplitting:se}=a,ae={isPreviewMode:p,ghostBlock:r,rootClientId:n,clientId:t,className:J,index:O,mode:h,name:k,blockApiVersion:L,blockType:P,blockTitle:D,isSelected:I,isSubtreeDisabled:z,hasOverlay:V,initialPosition:F,blockEditingMode:N,isHighlighted:$,isMultiSelected:H,isPartiallySelected:U,isReusable:W,isDragging:K,hasChildSelected:q,isSectionBlock:G,isWithinSectionBlock:X,isSelectionWithinCurrentSection:Y,isEditingDisabled:Z,hasEditableOutline:Q,isEditingContentOnlySection:B,defaultClassName:ee,mayDisplayControls:M,mayDisplayParentControls:R,originalBlockClientId:te,themeSupportsLayout:j,canMove:b,isBlockCurrentlyHidden:u,bindableAttributes:ne,blockVisibility:re,deviceType:oe,viewportSettings:ie,supportsSplitting:se};return!u||I||H||q?(0,S.jsx)(x.c.Provider,{value:ae,children:(0,S.jsx)(E,{...e,mode:h,isSelectionEnabled:g,isLocked:m,canRemove:v,canMove:b,block:f,name:k,attributes:C,isValid:T,isSelected:I})}):null})},78916(e,t,n){"use strict";n.d(t,{Ay:()=>T,Ei:()=>N,Gj:()=>_});var r=n(13022),o=n(79027),i=n(65627),s=n(19626),a=n(19623),l=n(87444),c=n(43730),u=n(2376),d=n(87761),f=n(46107),p=n(99406),h=n(58639),g=n(25552),m=n(59402),v=n(82277),b=n(33927),y=n(3217),k=n(44456),x=n(61924),w=n(93236),_=(0,u.createContext)();_.displayName="IntersectionObserverContext";var A=new WeakMap,S={trailing:!0};function C({className:e,...t}){const{isOutlineMode:n,isFocusMode:s,isPreviewMode:d,editedContentOnlySection:f}=(0,a.A)(e=>{const{getSettings:t,isTyping:n,hasBlockSpotlight:r,getEditedContentOnlySection:o}=(0,x.T)(e(g.M)),{outlineMode:i,focusMode:s,isPreviewMode:a}=t();return{isOutlineMode:i&&!n(),isFocusMode:!a&&(s||r()),isPreviewMode:a,editedContentOnlySection:o()}},[]),p=(0,i.A)(),{setBlockVisibility:m}=(0,o.A)(g.M),y=(0,l.A)((0,u.useCallback)(()=>{const e={};A.get(p).forEach(([t,n])=>{e[t]=n}),m(e)},[p]),300,S),k=(0,u.useMemo)(()=>{const{IntersectionObserver:e}=window;if(e)return new e(e=>{A.get(p)||A.set(p,[]);for(const t of e){const e=t.target.getAttribute("data-block");A.get(p).push([e,t.isIntersecting])}y()})},[]),C=(0,b.y)({ref:(0,c.A)([(0,v.X)(),(0,h.V)()]),className:(0,r.A)("is-root-container",e,{"is-outline-mode":n,"is-focus-mode":s,"is-preview-mode":d})},t);return(0,w.jsxs)(_.Provider,{value:k,children:[(0,w.jsx)("div",{...C}),!!f&&(0,w.jsx)(E,{clientId:f})]})}function E({clientId:e}){const{stopEditingContentOnlySection:t}=(0,x.T)((0,o.A)(g.M)),n=(0,a.A)(t=>{const{isBlockSelected:n,hasSelectedInnerBlock:r,getBlockSelectionStart:o}=t(g.M);return!o()||n(e)||r(e,!0)},[e]);return(0,u.useEffect)(()=>{n||t()},[n,t]),null}function T(e){return(0,w.jsx)(y.KY,{value:y.B8,children:(0,w.jsx)(C,{...e})})}var I=[],j=new Set;function B({placeholder:e,rootClientId:t,renderAppender:n,__experimentalAppenderTagName:r,layout:o=m.Md}){const i=!1!==n,l=!!n,{order:c,isZoomOut:h,selectedBlocks:v,visibleBlocks:b,ghostBlockName:y,ghostBlockAttributes:_,shouldRenderAppender:A}=(0,a.A)(e=>{const{getSettings:n,getBlockOrder:r,getSelectedBlockClientIds:o,__unstableGetVisibleBlocks:s,getTemplateLock:a,getBlockEditingMode:c,isSectionBlock:u,isContainerInsertableToInContentOnlyMode:f,getBlockName:p,getBlockListSettings:h,isZoomOut:m,canInsertBlockType:v}=(0,x.T)(e(g.M)),b=r(t);if(n().isPreviewMode)return{order:b,selectedBlocks:I,visibleBlocks:j};let y,k;if(i&&!l&&!b.length){const e=(t?h(t)?.defaultBlock:void 0)??{name:(0,d.K$)()};e.name&&v(e.name,t)&&(y=e.name,k=e.attributes)}const w=o(),_=w[0],A=!(t||_||b.length&&v((0,d.K$)(),t)),S=!(!t||!_||t!==_),C=a(t),E=(!u(t)||f(p(_),t))&&"disabled"!==c(t)&&(!C||"contentOnly"===C)&&i&&!m();return{order:b,selectedBlocks:w,visibleBlocks:s(),isZoomOut:m(),ghostBlockName:E?y:void 0,ghostBlockAttributes:k,shouldRenderAppender:E&&(l||S||A)}},[t,i,l]),S=(0,u.useMemo)(()=>y?(0,d.Wv)(y,_):null,[y,_]),C=!!S,E=C?[...c,S.clientId]:c;return(0,w.jsxs)(m.UY,{value:o,children:[E.map(e=>(0,w.jsxs)(s.Ay,{value:e!==S?.clientId&&!b.has(e)&&!v.includes(e),children:[h&&(0,w.jsx)(k.j,{clientId:e,rootClientId:t,position:"top"}),(0,w.jsx)(f.A,{rootClientId:t,clientId:e,ghostBlock:e===S?.clientId?S:void 0}),h&&(0,w.jsx)(k.j,{clientId:e,rootClientId:t,position:"bottom"})]},e)),c.length<1&&e,A&&!C&&(0,w.jsx)(p.A,{tagName:r,rootClientId:t,CustomAppender:n})]})}function N(e){return(0,w.jsx)(s.Ay,{value:!1,children:(0,w.jsx)(B,{...e})})}},59402(e,t,n){"use strict";n.d(t,{Md:()=>a,UY:()=>c,Yn:()=>d,gK:()=>u});var r=n(2376),o=n(95350),i=n(35453),s=n(93236),a={type:"default"},l=(0,r.createContext)(a);l.displayName="BlockLayoutContext";var c=l.Provider;function u(){return(0,r.useContext)(l)}function d({layout:e={},css:t,...n}){const r=(0,o.N)(e.type),[a]=(0,i.t)("spacing.blockGap"),l=null!==a;if(r){if(t)return(0,s.jsx)("style",{children:t});const o=r.getLayoutStyle?.({hasBlockGapSupport:l,layout:e,...n});if(o)return(0,s.jsx)("style",{children:o})}return null}},53375(e,t,n){"use strict";n.d(t,{c:()=>r});var r=(0,n(2376).createContext)({});r.displayName="PrivateBlockContext"},12257(e,t,n){"use strict";n.d(t,{Z:()=>E});var r=n(13022),o=n(2376),i=n(18335),s=n(87761),a=n(36093),l=n(43730),c=n(71886),u=n(79027),d=n(90531),f=n(26068),p=n(25552),h=n(53375),g=n(34857),m=n(24739),v=n(3217),b=n(19580),y=n(66197),k=n(49945),x=n(95691),w=n(64257),_=n(16525),A=n(5718),S=n(83537),C=n(56922);function E(e={},{__unstableIsHtml:t}={}){const{clientId:n,className:s,wrapperProps:E={},isAligned:T,index:I,mode:j,name:B,blockApiVersion:N,blockTitle:M,isSelected:R,isSubtreeDisabled:O,hasOverlay:L,initialPosition:P,blockEditingMode:D,isHighlighted:z,isMultiSelected:V,isPartiallySelected:F,isReusable:$,isDragging:H,hasChildSelected:U,isEditingDisabled:W,hasEditableOutline:K,isEditingContentOnlySection:q,defaultClassName:G,isSectionBlock:X,isWithinSectionBlock:Y,canMove:Z,blockVisibility:Q,deviceType:J,viewportSettings:ee,ariaLabel:te,ghostBlock:ne,rootClientId:re}=(0,o.useContext)(h.c),oe=function(e,t){const{insertBlocks:n}=(0,u.A)(p.M);return(0,c.A)(r=>{if(t)return r.addEventListener("pointerdown",i,!0),r.addEventListener("focusin",i,!0),o;function o(){r.removeEventListener("pointerdown",i,!0),r.removeEventListener("focusin",i,!0)}function i(){o(),n([t],void 0,e,!0,0)}},[t,e,n])}(re,ne);(0,y.l)(n,E);const ie=(0,c.A)(e=>{if(e){const{ownerDocument:t}=e,{defaultView:n}=t;ie.current=n}},[]),se=(0,i.nv)((0,i.__)("Block: %s"),M),ae="html"!==j||t?"":"-visual",le=(0,S.U)(),ce=!Y,ue=(0,l.A)([e.ref,oe,ie,(0,g.c)({clientId:n,initialPosition:P}),(0,x.xL)(n),(0,b.o)(n),(0,k.x)({clientId:n,isSelected:R}),(0,m.B)({isEnabled:ce}),(0,w.B)(),f({triggerAnimationOnChange:I,clientId:n}),(0,a.A)({isDisabled:!L}),(0,A.G)({clientId:n,isEnabled:X}),(0,_.q)({isSelected:R}),Z?le:void 0]),de=(0,v.m_)(),fe=!!de[v.VN]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{},{isBlockCurrentlyHidden:pe}=(0,C.A)({blockVisibility:Q,deviceType:J,viewportSettings:ee,view:ie.current});N<2&&n===de.clientId&&(0,d.A)(`Block type "${B}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let he=!1;return"-"!==E?.style?.marginTop?.charAt(0)&&"-"!==E?.style?.marginBottom?.charAt(0)&&"-"!==E?.style?.marginLeft?.charAt(0)&&"-"!==E?.style?.marginRight?.charAt(0)||(he=!0),{tabIndex:"disabled"===D?-1:0,draggable:!(!Z||U)||void 0,...E,...e,ref:ue,id:`block-${n}${ae}`,role:"document","aria-label":te??(n===ne?.clientId?(0,i.__)("Add default block"):void 0)??e["aria-label"]??se,"data-block":n,"data-type":B,"data-title":M,inert:O?"true":void 0,className:(0,r.A)("block-editor-block-list__block",{"wp-block":!T,"has-block-overlay":L,"is-selected":R,"is-highlighted":z,"is-multi-selected":V,"is-partially-selected":F,"is-reusable":$,"is-dragging":H,"has-child-selected":U,"is-editing-disabled":W,"has-editable-outline":K,"has-negative-margin":he,"is-editing-content-only-section":q,"is-block-hidden":pe},s,e.className,E.className,G),style:{...E.style,...e.style,...fe}}}E.save=s.cV},95691(e,t,n){"use strict";n.d(t,{Ou:()=>l,dN:()=>c,xL:()=>s});var r=n(2376),o=n(71886),i=n(9319);function s(e){const{refsMap:t}=(0,r.useContext)(i.O);return(0,o.A)(n=>(t.set(e,n),()=>t.delete(e)),[e])}function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function l(e,t){const{refsMap:n}=(0,r.useContext)(i.O);(0,r.useLayoutEffect)(()=>{a(t,n.get(e));const r=n.subscribe(e,()=>a(t,n.get(e)));return()=>{r(),a(t,null)}},[n,e,t])}function c(e){const[t,n]=(0,r.useState)(null);return l(e,n),t}},83537(e,t,n){"use strict";n.d(t,{U:()=>a});var r=n(71886),o=new Map;function i(e){const t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),"true"!==t||e.getAttribute("draggable")||e.setAttribute("draggable","true"))}function s(e){const{target:t}=e,{ownerDocument:n,isContentEditable:r,tagName:s}=t,a=["INPUT","TEXTAREA"].includes(s),l=o.get(n);if(r||a)for(const e of l)"true"===e.getAttribute("draggable")&&e.contains(t)&&(e.removeAttribute("draggable"),e.setAttribute("data-draggable","true"));else for(const e of l)i(e)}function a(){return(0,r.A)(e=>(function(e,t){let n=o.get(e);n||(n=new Set,o.set(e,n),e.addEventListener("pointerdown",s)),n.add(t)}(e.ownerDocument,e),()=>{!function(e,t){const n=o.get(e);n&&(n.delete(t),i(t),0===n.size&&(o.delete(e),e.removeEventListener("pointerdown",s)))}(e.ownerDocument,e)}),[])}},34857(e,t,n){"use strict";n.d(t,{c:()=>f});var r=n(2376),o=n(98003),i=n(88502),s=n(60477),a=n(75640),l=n(19623),c=n(59900),u=n(25552),d=n(61924);function f({clientId:e,initialPosition:t}){const n=(0,r.useRef)(),{isBlockSelected:f,isMultiSelecting:p,isZoomOut:h,getSelectionStart:g}=(0,d.T)((0,l.A)(u.M));return(0,r.useEffect)(()=>{if(!f(e)||p()||h())return;if(null==t)return;if(!n.current)return;const{ownerDocument:r}=n.current;if((0,c._V)(n.current,r.activeElement))return;if(!0===t)return void n.current.focus();const l=o.XC.tabbable.find(n.current).filter(e=>(0,s.A)(e)),u=-1===t,d=l[u?l.length-1:0]||n.current;if(!(0,c._V)(n.current,d))return void n.current.focus();if(!n.current.getAttribute("contenteditable")){const e=o.XC.tabbable.findNext(n.current);if(e&&(0,c._V)(n.current,e)&&(0,i.A)(e))return void e.focus()}const{activeElement:m}=r,v=r.defaultView.getSelection(),{clientId:b,offset:y}=g();m?.isContentEditable&&m.contains(d)&&!!v.anchorNode&&d.contains(v.anchorNode)&&(0===t||void 0!==y&&b===e)||(0,a.A)(d,u)},[t,e]),n}},19580(e,t,n){"use strict";n.d(t,{o:()=>d});var r=n(79027),o=n(19623),i=n(50788),s=n(71886),a=n(59900),l=n(25552),c=n(61924),{subscribeDelegatedListener:u}=(0,c.T)(i.j);function d(e){const{isBlockSelected:t,isBlockMultiSelected:n,isMultiSelecting:i}=(0,o.A)(l.M),{selectBlock:c,selectionChange:d}=(0,r.A)(l.M);return(0,s.A)(r=>u(r,"focusin",function(o){t(e)?o.target.isContentEditable||d(e):i()||n(e)||(0,a._V)(r,o.target)&&(o.target.isContentEditable?c(e,null):c(e))}),[t,c])}},64257(e,t,n){"use strict";n.d(t,{B:()=>s});var r=n(71886),o=n(2376),i=n(78916);function s(){const e=(0,o.useContext)(i.Gj);return(0,r.A)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}},24739(e,t,n){"use strict";n.d(t,{B:()=>a});var r=n(50788),o=n(71886),i=n(61924),{subscribeDelegatedListener:s}=(0,i.T)(r.j);function a({isEnabled:e=!0}={}){return(0,o.A)(t=>{if(!e)return;let n;function r(e){if(e.defaultPrevented)return;e.preventDefault();const r="mouseover"===e.type;if(t.classList.toggle("is-hovered",r),clearTimeout(n),!r)return void t.classList.remove("is-hovered-draggable");const{target:o}=e;n=setTimeout(()=>{t.classList.toggle("is-hovered-draggable",!o.isContentEditable)},100)}const o=s(t,"mouseout",r),i=s(t,"mouseover",r);return()=>{o(),i(),clearTimeout(n),t.classList.remove("is-hovered"),t.classList.remove("is-hovered-draggable")}},[e])}},66197(e,t,n){"use strict";n.d(t,{l:()=>s});var r=n(2376),o=n(52097),i=n(9319);function s(e,t){const{eventHandlers:n}=(0,r.useContext)(i.O),s=(0,o.g)(t),a=(0,r.useRef)();(0,r.useInsertionEffect)(()=>{a.current=s});const l=!!s;(0,r.useEffect)(()=>{if(l)return n.set(e,a),()=>n.delete(e)},[n,e,l])}},16525(e,t,n){"use strict";n.d(t,{q:()=>i});var r=n(7680),o=n(71886);function i({isSelected:e}){const t=(0,r.A)();return(0,o.A)(n=>{if(e){const{ownerDocument:e}=n,{defaultView:r}=e;if(!r.IntersectionObserver)return;const o=new r.IntersectionObserver(e=>{e[0].isIntersecting||n.scrollIntoView({behavior:t?"instant":"smooth"}),o.disconnect()});return o.observe(n),()=>{o.disconnect()}}},[e])}},49945(e,t,n){"use strict";n.d(t,{x:()=>f});var r=n(87761),o=n(60477),i=n(8312),s=n(79027),a=n(19623),l=n(71886),c=n(25552),u=n(61924);function d(e){return!e||"transparent"===e||"rgba(0, 0, 0, 0)"===e}function f({clientId:e,isSelected:t}){const{getBlockRootClientId:n,isZoomOut:f,hasMultiSelection:p,isSectionBlock:h,editedContentOnlySection:g,getBlock:m}=(0,u.T)((0,a.A)(c.M)),{removeBlock:v,resetZoomLevel:b,startDraggingBlocks:y,stopDraggingBlocks:k,editContentOnlySection:x}=(0,u.T)((0,s.A)(c.M));return(0,l.A)(s=>{if(t)return s.addEventListener("keydown",a),s.addEventListener("dragstart",l),s.addEventListener("dblclick",c),()=>{s.removeEventListener("keydown",a),s.removeEventListener("dragstart",l),s.removeEventListener("dblclick",c)};function a(t){const{keyCode:n,target:r}=t;n!==i.Fm&&n!==i.G_&&n!==i.SJ||r!==s||(0,o.A)(r)||(n===i.Fm?f()&&(t.preventDefault(),b()):(t.preventDefault(),v(e)))}function l(t){if(s!==t.target||s.isContentEditable||s.ownerDocument.activeElement!==s||p())return void t.preventDefault();const r=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:n(e)});t.dataTransfer.effectAllowed="move",t.dataTransfer.clearData(),t.dataTransfer.setData("wp-blocks",r);const{ownerDocument:o}=s,{defaultView:i}=o;i.getSelection().removeAllRanges();const a=o.createElement("div");a.style.width="1px",a.style.height="1px",a.style.position="fixed",a.style.visibility="hidden",o.body.appendChild(a),t.dataTransfer.setDragImage(a,0,0);const l=s.getBoundingClientRect(),c=s.id,u=s.cloneNode();u.style.display="none",s.id=null,s.after(u);let f=1;{let e=s;for(;e=e.parentElement;){const{scale:t}=i.getComputedStyle(e);if(t&&"none"!==t){f=parseFloat(t);break}}}const h=1/f,g={};for(const e of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])g[e]=s.style[e];const m=i.scrollY,v=i.scrollX,b=t.clientX,x=t.clientY;s.style.position="relative",s.style.top="0px",s.style.left="0px";const w=t.clientX-l.left,_=t.clientY-l.top,A=l.height>200?200/l.height:1;if(s.style.zIndex="1000",s.style.transformOrigin=`${w*h}px ${_*h}px`,s.style.transition="transform 0.2s ease-out",s.style.transform=`scale(${A})`,s.style.opacity="0.9",d(i.getComputedStyle(s).backgroundColor)){let e="transparent",t=s;for(;t=t.parentElement;){const{backgroundColor:n}=i.getComputedStyle(t);if(!d(n)){e=n;break}}s.style.backgroundColor=e}let S=!1,C=b,E=x;function T(e){e.clientX===C&&e.clientY===E||(C=e.clientX,E=e.clientY,I())}function I(){S||(S=!0,s.style.pointerEvents="none");const e=E-x,t=C-b,n=i.scrollY,r=i.scrollX,o=e+(n-m),a=t+(r-v);s.style.top=o*h+"px",s.style.left=a*h+"px"}function j(){o.removeEventListener("dragover",T),o.removeEventListener("dragend",j),o.removeEventListener("drop",j),o.removeEventListener("scroll",I);for(const[e,t]of Object.entries(g))s.style[e]=t;u.remove(),s.id=c,a.remove(),k(),document.body.classList.remove("is-dragging-components-draggable"),o.documentElement.classList.remove("is-dragging")}o.addEventListener("dragover",T),o.addEventListener("dragend",j),o.addEventListener("drop",j),o.addEventListener("scroll",I),y([e]),document.body.classList.add("is-dragging-components-draggable"),o.documentElement.classList.add("is-dragging")}function c(t){const n=h(e),o=m(e),i=(0,r.tk)(o),s=(0,r.gc)(o);!n||g===e||i||s||(t.preventDefault(),x(e))}},[e,t,n,m,r.tk,r.gc,v,f,b,p,y,k,h,g,x])}},58639(e,t,n){"use strict";n.d(t,{V:()=>d});var r=n(71886),o=n(79027),i=n(19623),s=n(2376),a=n(18335),l=n(25552),c=n(80221),u=n(61924);function d(){const e=(0,s.useContext)(c.p),t=(0,i.A)(e=>{const t=e(l.M).getSettings();return t.isDistractionFree||t.isPreviewMode||(0,u.T)(e(l.M)).isZoomOut()},[]),{getBlockListSettings:n,getBlockIndex:d,isMultiSelecting:f,getSelectedBlockClientIds:p,getSettings:h,getTemplateLock:g,__unstableIsWithinBlockOverlay:m,getBlockEditingMode:v,getBlockName:b,getBlockAttributes:y,getParentSectionBlock:k}=(0,u.T)((0,i.A)(l.M)),{showInsertionPoint:x,hideInsertionPoint:w}=(0,o.A)(l.M);return(0,r.A)(r=>{if(!t)return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)};function o(t){if(void 0===e||e.current)return;if(t.target.nodeType===t.target.TEXT_NODE)return;if(f())return;if(!t.target.classList.contains("block-editor-block-list__layout"))return void w();let r;if(!t.target.classList.contains("is-root-container")){r=(t.target.getAttribute("data-block")?t.target:t.target.closest("[data-block]")).getAttribute("data-block")}if(g(r)||"disabled"===v(r)||"core/block"===b(r)||r&&y(r).layout?.isManualPlacement)return;const o=n(r),i=o?.orientation||"vertical",s=!!o?.__experimentalCaptureToolbars,l=t.clientY,c=t.clientX;let u=Array.from(t.target.children).find(e=>{const t=e.getBoundingClientRect();return e.classList.contains("wp-block")&&"vertical"===i&&t.top>l||e.classList.contains("wp-block")&&"horizontal"===i&&((0,a.V8)()?t.right<c:t.left>c)});if(!u)return void w();if(!u.id&&(u=u.firstElementChild,!u))return void w();const _=u.id.slice(6);if(!_||m(_)||k(_))return;if(p().includes(_)&&"vertical"===i&&!s&&!h().hasFixedToolbar)return;const A=u.getBoundingClientRect();if("horizontal"===i&&(t.clientY>A.bottom||t.clientY<A.top)||"vertical"===i&&(t.clientX>A.right||t.clientX<A.left))return void w();const S=d(_);0!==S?x(r,S,{__unstableWithInserter:!0}):w()}},[e,n,d,f,x,w,p,t])}},44456(e,t,n){"use strict";n.d(t,{j:()=>p});var r=n(13022),o=n(45913),i=n(5158),s=n(7680),a=n(19623),l=n(2376),c=n(18335),u=n(25552),d=n(61924),f=n(93236);function p({clientId:e,rootClientId:t="",position:n="top"}){const[p,h]=(0,l.useState)(!1),{sectionRootClientId:g,sectionClientIds:m,insertionPoint:v,blockInsertionPointVisible:b,blockInsertionPoint:y,blocksBeingDragged:k}=(0,a.A)(e=>{const{getInsertionPoint:t,getBlockOrder:n,getSectionRootClientId:r,isBlockInsertionPointVisible:o,getBlockInsertionPoint:i,getDraggedBlockClientIds:s}=(0,d.T)(e(u.M)),a=r();return{sectionRootClientId:a,sectionClientIds:n(a),insertionPoint:t(),blockInsertionPoint:i(),blockInsertionPointVisible:o(),blocksBeingDragged:s()}},[]),x=(0,s.A)();if(!e)return;let w=!1;if(!(t===g&&m&&m.includes(e)))return null;const _=0===v?.index&&e===m[v.index],A=v&&v.hasOwnProperty("index")&&e===m[v.index-1];"top"===n&&(w=_||b&&0===y.index&&e===m[y.index]),"bottom"===n&&(w=A||b&&e===m[y.index-1]);const S=k[0],C=k.includes(e),E=m.indexOf(S),T=E>0?m[E-1]:null;return(C||T===e)&&(w=!1),(0,f.jsx)(o.N,{children:w&&(0,f.jsx)(i.P.div,{initial:{height:0},animate:{height:"calc(1 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)"},exit:{height:0},transition:{type:"tween",duration:x?0:.2,ease:[.6,0,.4,1]},className:(0,r.A)("block-editor-block-list__zoom-out-separator",{"is-dragged-over":p}),"data-is-insertion-point":"true",onDragOver:()=>h(!0),onDragLeave:()=>h(!1),children:(0,f.jsx)(i.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,transition:{delay:-.125}},transition:{ease:"linear",duration:.1,delay:.125},children:(0,c.__)("Drop pattern.")})})})}},51630(e,t,n){"use strict";n.d(t,{A:()=>_});var r=n(18335),o=n(2376),i=n(38162),s=n(52474),a=n(43192),l=n(43715),c=n(93331),u=n(26068),d=n(91892),f=n(42438),p=n(67219),h=n(79027),g=n(19623),m=n(87761),v=n(47820),b=n(34315),y=n(25552),k=n(93236),x=["core/navigation"];function w(e){return e.remove&&e.move?"all":!(!e.remove||e.move)&&"insert"}function _({clientId:e,onClose:t}){const[n,_]=(0,o.useState)({move:!1,remove:!1}),{isEditLocked:A,isMoveLocked:S,isRemoveLocked:C}=(0,v.A)(e),{allowsEditLocking:E,templateLock:T,hasTemplateLock:I}=(0,g.A)(t=>{const{getBlockName:n,getBlockAttributes:r}=t(y.M),o=n(e),i=(0,m.E7)(o);return{allowsEditLocking:x.includes(o),templateLock:r(e)?.templateLock,hasTemplateLock:!!i?.attributes?.templateLock}},[e]),[j,B]=(0,o.useState)(!!T),{updateBlockAttributes:N}=(0,h.A)(y.M),M=(0,b.A)(e);(0,o.useEffect)(()=>{_({move:S,remove:C,...E?{edit:A}:{}})},[A,S,C,E]);const R=Object.values(n).every(Boolean),O=Object.values(n).some(Boolean)&&!R,L=n.move!==S||n.remove!==C||E&&n.edit!==A||I&&j!==!!T;return(0,k.jsx)(u,{title:(0,r.nv)(
14 /* translators: %s: Name of the block. */
15 /* translators: %s: Name of the block. */
16 (0,r.__)("Lock %s"),M.title),overlayClassName:"block-editor-block-lock-modal",onRequestClose:t,size:"small",children:(0,k.jsxs)("form",{onSubmit:r=>{r.preventDefault(),L&&(N([e],{lock:n,templateLock:j?w(n):void 0}),t())},children:[(0,k.jsxs)("fieldset",{className:"block-editor-block-lock-modal__options",children:[(0,k.jsx)("legend",{children:(0,r.__)("Select the features you want to lock")}),(0,k.jsx)("ul",{role:"list",className:"block-editor-block-lock-modal__checklist",children:(0,k.jsxs)("li",{children:[(0,k.jsx)(l.A,{className:"block-editor-block-lock-modal__options-all",label:(0,r.__)("Lock all"),checked:R,indeterminate:O,onChange:e=>_({move:e,remove:e,...E?{edit:e}:{}})}),(0,k.jsxs)("ul",{role:"list",className:"block-editor-block-lock-modal__checklist",children:[E&&(0,k.jsxs)("li",{className:"block-editor-block-lock-modal__checklist-item",children:[(0,k.jsx)(l.A,{label:(0,r.__)("Lock editing"),checked:!!n.edit,onChange:e=>_(t=>({...t,edit:e}))}),(0,k.jsx)(c.A,{className:"block-editor-block-lock-modal__lock-icon",icon:n.edit?f.A:p.A})]}),(0,k.jsxs)("li",{className:"block-editor-block-lock-modal__checklist-item",children:[(0,k.jsx)(l.A,{label:(0,r.__)("Lock movement"),checked:n.move,onChange:e=>_(t=>({...t,move:e}))}),(0,k.jsx)(c.A,{className:"block-editor-block-lock-modal__lock-icon",icon:n.move?f.A:p.A})]}),(0,k.jsxs)("li",{className:"block-editor-block-lock-modal__checklist-item",children:[(0,k.jsx)(l.A,{label:(0,r.__)("Lock removal"),checked:n.remove,onChange:e=>_(t=>({...t,remove:e}))}),(0,k.jsx)(c.A,{className:"block-editor-block-lock-modal__lock-icon",icon:n.remove?f.A:p.A})]})]})]})}),I&&(0,k.jsx)(d.A,{className:"block-editor-block-lock-modal__template-lock",label:(0,r.__)("Apply to all blocks inside"),checked:j,disabled:n.move&&!n.remove,onChange:()=>B(!j)})]}),(0,k.jsxs)(i.A,{className:"block-editor-block-lock-modal__actions",justify:"flex-end",expanded:!1,children:[(0,k.jsx)(s.A,{children:(0,k.jsx)(a.A,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,r.__)("Cancel")})}),(0,k.jsx)(s.A,{children:(0,k.jsx)(a.A,{variant:"primary",type:"submit",disabled:!L,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,r.__)("Apply")})})]})]})})}},90900(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(18335),o=n(54646),i=n(27953),s=n(2376),a=n(42438),l=n(67219),c=n(51630),u=n(47820),d=n(93236);function f({clientId:e}){const{canLock:t,isLocked:n}=(0,u.A)(e),[f,p]=(0,s.useReducer)(e=>!e,!1),h=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{n&&(h.current=!0)},[n]),!n&&!h.current)return null;let g=n?(0,r.__)("Unlock"):(0,r.__)("Lock");return!t&&n&&(g=(0,r.__)("Locked")),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{className:"block-editor-block-lock-toolbar",children:(0,d.jsx)(o.A,{disabled:!t,icon:n?a.A:l.A,label:g,onClick:p,"aria-expanded":f,"aria-haspopup":"dialog"})}),f&&(0,d.jsx)(c.A,{clientId:e,onClose:p})]})}},47820(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(19623),o=n(25552),i=n(61924);function s(e){return(0,r.A)(t=>{const{canLockBlockType:n,getBlockName:r,isEditLockedBlock:s,isMoveLockedBlock:a,isRemoveLockedBlock:l,isLockedBlock:c}=(0,i.T)(t(o.M));return{isEditLocked:s(e),isMoveLocked:a(e),isRemoveLocked:l(e),canLock:n(r(e)),isLocked:c(e)}},[e])}},25153(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(41740),i=n(43715),s=n(83719),a=n(93236);var l=function e({title:t,blockTypes:n,selectedBlockTypes:l,onChange:c}){const u=(0,o.A)(e),d=(0,r.useCallback)((e,t)=>{c(t?[...l,e]:l.filter(({name:t})=>t!==e.name))},[l,c]),f=(0,r.useCallback)(e=>{c(e?[...l,...n.filter(e=>!l.find(({name:t})=>t===e.name))]:l.filter(e=>!n.find(({name:t})=>t===e.name)))},[n,l,c]);if(!n.length)return null;const p=n.map(({name:e})=>e).filter(e=>(l??[]).some(t=>t.name===e)),h="block-editor-block-manager__category-title-"+u,g=p.length===n.length,m=!g&&p.length>0;return(0,a.jsxs)("div",{role:"group","aria-labelledby":h,className:"block-editor-block-manager__category",children:[(0,a.jsx)(i.A,{checked:g,onChange:f,className:"block-editor-block-manager__category-title",indeterminate:m,label:(0,a.jsx)("span",{id:h,children:t})}),(0,a.jsx)(s.A,{blockTypes:n,value:p,onItemChange:d})]})}},83719(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(43715),o=n(3399),i=n(93236);var s=function({blockTypes:e,value:t,onItemChange:n}){return(0,i.jsx)("ul",{className:"block-editor-block-manager__checklist",children:e.map(e=>(0,i.jsxs)("li",{className:"block-editor-block-manager__checklist-item",children:[(0,i.jsx)(r.A,{label:e.title,checked:t.includes(e.name),onChange:(...t)=>n(e,...t)}),(0,i.jsx)(o.A,{icon:e.icon})]},e.name))})}},91067(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(87761),o=n(19623),i=n(54446),s=n(43715),a=n(23192),l=n(18335),c=n(2376),u=n(87444),d=n(36331),f=n(25153),p=n(93236);function h({blockTypes:e,selectedBlockTypes:t,onChange:n,showSelectAll:h=!0}){const g=(0,u.A)(d.L,500),[m,v]=(0,c.useState)(""),{categories:b,isMatchingSearchTerm:y}=(0,o.A)(e=>({categories:e(r.M_).getCategories(),isMatchingSearchTerm:e(r.M_).isMatchingSearchTerm}),[]),k=e.filter(e=>!m||y(e,m)),x=t.length>0&&t.length!==e.length,w=e.length>0&&t.length===e.length;return(0,c.useEffect)(()=>{if(!m)return;const e=k.length,t=(0,l.nv)(
17 /* translators: %d: number of results. */
18 /* translators: %d: number of results. */
19 (0,l._n)("%d result found.","%d results found.",e),e);g(t)},[k?.length,m,g]),(0,p.jsxs)(i.A,{className:"block-editor-block-manager__content",spacing:4,children:[(0,p.jsx)(a.A,{label:(0,l.__)("Search for a block"),placeholder:(0,l.__)("Search for a block"),value:m,onChange:e=>v(e),className:"block-editor-block-manager__search"}),h&&(0,p.jsx)(s.A,{className:"block-editor-block-manager__select-all",label:(0,l.__)("Select all"),checked:w,onChange:()=>{n(w?[]:e)},indeterminate:x}),(0,p.jsxs)("div",{tabIndex:"0",role:"region","aria-label":(0,l.__)("Available block types"),className:"block-editor-block-manager__results",children:[0===k.length&&(0,p.jsx)("p",{className:"block-editor-block-manager__no-results",children:(0,l.__)("No blocks found.")}),b.map(e=>(0,p.jsx)(f.A,{title:e.title,blockTypes:k.filter(t=>t.category===e.slug),selectedBlockTypes:t,onChange:n},e.slug)),(0,p.jsx)(f.A,{title:(0,l.__)("Uncategorized"),blockTypes:k.filter(({category:e})=>!e),selectedBlockTypes:t,onChange:n})]})]})}},55043(e,t,n){"use strict";n.d(t,{F:()=>S,i:()=>A});var r=n(13022),o=n(87761),i=n(43192),s=n(81436),a=n(41740),l=n(27319),c=n(79027),u=n(19623),d=n(2376),f=n(18335),p=n(8312),h=n(65673),g=n(39558),m=n(48329),v=n(75462),b=n(89115),y=n(25552),k=n(93236),x=(e,t)=>"up"===e?"horizontal"===t?(0,f.V8)()?m.A:g.A:v.A:"down"===e?"horizontal"===t?(0,f.V8)()?g.A:m.A:h.A:null,w=(e,t)=>"up"===e?"horizontal"===t?(0,f.V8)()?(0,f.__)("Move right"):(0,f.__)("Move left"):(0,f.__)("Move up"):"down"===e?"horizontal"===t?(0,f.V8)()?(0,f.__)("Move left"):(0,f.__)("Move right"):(0,f.__)("Move down"):null,_=(0,d.forwardRef)(({clientIds:e,direction:t,orientation:n,...h},g)=>{const m=(0,a.A)(_),v=(0,d.useMemo)(()=>Array.isArray(e)?e:[e],[e]),A=v.length,S=(0,l.A)("small","<"),{blockType:C,isDisabled:E,rootClientId:T,isFirst:I,isLast:j,firstIndex:B,orientation:N="vertical"}=(0,u.A)(e=>{const{getBlockIndex:r,getBlockRootClientId:i,getBlockOrder:s,getBlock:a,getBlockListSettings:l}=e(y.M),c=v[0],u=i(c),d=r(c),f=r(v[v.length-1]),p=s(u),h=a(c),g=0===d,m=f===p.length-1,{orientation:b}=l(u)||{};return{blockType:h?(0,o.E7)(h.name):null,isDisabled:"up"===t?g:m,rootClientId:u,firstIndex:d,isFirst:g,isLast:m,orientation:n||b}},[t,n,v]),{moveBlocksDown:M,moveBlocksUp:R}=(0,c.A)(y.M),O="up"===t?R:M,L=`block-editor-block-mover-button__description-${m}`,P="up"===t?"t":"y";return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(i.A,{__next40pxDefaultSize:!0,ref:g,className:(0,r.A)("block-editor-block-mover-button",`is-${t}-button`),icon:x(t,N),label:w(t,N),tooltipPosition:S||"down"!==t||"vertical"!==N?"top":"bottom","aria-describedby":L,...h,onClick:E?null:t=>{O(e,T),h.onClick&&h.onClick(t)},disabled:E,accessibleWhenDisabled:!0,shortcut:p.dz.secondary(P)}),(0,k.jsx)(s.s,{id:L,children:(0,f.nv)(
20 // translators: 1: Description of the block movement. 2: Keyboard shortcut.
21 // translators: 1: Description of the block movement. 2: Keyboard shortcut.
22 (0,f.__)("%1$s (%2$s)"),(0,b.N)(A,C&&C.title,B,I,j,"up"===t?-1:1,N),p._A.secondary(P))})]})}),A=(0,d.forwardRef)((e,t)=>(0,k.jsx)(_,{direction:"up",ref:t,...e})),S=(0,d.forwardRef)((e,t)=>(0,k.jsx)(_,{direction:"down",ref:t,...e}))},61881(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(13022),o=n(34268),i=n(27953),s=n(39971),a=n(43192),l=n(19623),c=n(18335),u=n(88035),d=n(55043),f=n(25552),p=n(93236);var h=function({clientIds:e,hideDragHandle:t}){const{canMove:n,rootClientId:h,isFirst:g,isLast:m,orientation:v,isManualGrid:b}=(0,l.A)(t=>{const{getBlockIndex:n,getBlockListSettings:r,canMoveBlocks:o,getBlockOrder:i,getBlockRootClientId:s,getBlockAttributes:a}=t(f.M),l=Array.isArray(e)?e:[e],c=l[0],u=s(c),d=n(c),p=n(l[l.length-1]),h=i(u),{layout:g={}}=a(u)??{};return{canMove:o(e),rootClientId:u,isFirst:0===d,isLast:p===h.length-1,orientation:r(u)?.orientation,isManualGrid:"grid"===g.type&&g.isManualPlacement&&window.__experimentalEnableGridInteractivity}},[e]);return!n||g&&m&&!h||t&&b?null:(0,p.jsxs)(i.A,{className:(0,r.A)("block-editor-block-mover",{"is-horizontal":"horizontal"===v}),children:[!t&&(0,p.jsx)(u.A,{clientIds:e,fadeWhenDisabled:!0,children:e=>(0,p.jsx)(a.A,{__next40pxDefaultSize:!0,icon:o.A,className:"block-editor-block-mover__drag-handle",label:(0,c.__)("Drag"),tabIndex:"-1",...e})}),!b&&(0,p.jsxs)("div",{className:"block-editor-block-mover__move-button-container",children:[(0,p.jsx)(s.A,{children:t=>(0,p.jsx)(d.i,{clientIds:e,...t})}),(0,p.jsx)(s.A,{children:t=>(0,p.jsx)(d.F,{clientIds:e,...t})})]})]})}},89115(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(18335),o=(e,t)=>"up"===e?"horizontal"===t?(0,r.V8)()?"right":"left":"up":"down"===e?"horizontal"===t?(0,r.V8)()?"left":"right":"down":null;function i(e,t,n,i,s,a,l){const c=n+1;if(e>1)return function(e,t,n,i,s,a){const l=t+1;if(n&&i)return(0,r.__)("All blocks are selected, and cannot be moved");if(s>0&&!i){const t=o("down",a);if("down"===t)return(0,r.nv)(
23 // translators: 1: Number of selected blocks, 2: Position of selected blocks
24 // translators: 1: Number of selected blocks, 2: Position of selected blocks
25 (0,r.__)("Move %1$d blocks from position %2$d down by one place"),e,l);if("left"===t)return(0,r.nv)(
26 // translators: 1: Number of selected blocks, 2: Position of selected blocks
27 // translators: 1: Number of selected blocks, 2: Position of selected blocks
28 (0,r.__)("Move %1$d blocks from position %2$d left by one place"),e,l);if("right"===t)return(0,r.nv)(
29 // translators: 1: Number of selected blocks, 2: Position of selected blocks
30 // translators: 1: Number of selected blocks, 2: Position of selected blocks
31 (0,r.__)("Move %1$d blocks from position %2$d right by one place"),e,l)}if(s>0&&i){const e=o("down",a);if("down"===e)return(0,r.__)("Blocks cannot be moved down as they are already at the bottom");if("left"===e)return(0,r.__)("Blocks cannot be moved left as they are already are at the leftmost position");if("right"===e)return(0,r.__)("Blocks cannot be moved right as they are already are at the rightmost position")}if(s<0&&!n){const t=o("up",a);if("up"===t)return(0,r.nv)(
32 // translators: 1: Number of selected blocks, 2: Position of selected blocks
33 // translators: 1: Number of selected blocks, 2: Position of selected blocks
34 (0,r.__)("Move %1$d blocks from position %2$d up by one place"),e,l);if("left"===t)return(0,r.nv)(
35 // translators: 1: Number of selected blocks, 2: Position of selected blocks
36 // translators: 1: Number of selected blocks, 2: Position of selected blocks
37 (0,r.__)("Move %1$d blocks from position %2$d left by one place"),e,l);if("right"===t)return(0,r.nv)(
38 // translators: 1: Number of selected blocks, 2: Position of selected blocks
39 // translators: 1: Number of selected blocks, 2: Position of selected blocks
40 (0,r.__)("Move %1$d blocks from position %2$d right by one place"),e,l)}if(s<0&&n){const e=o("up",a);if("up"===e)return(0,r.__)("Blocks cannot be moved up as they are already at the top");if("left"===e)return(0,r.__)("Blocks cannot be moved left as they are already are at the leftmost position");if("right"===e)return(0,r.__)("Blocks cannot be moved right as they are already are at the rightmost position")}}(e,n,i,s,a,l);if(i&&s)return(0,r.nv)(
41 // translators: %s: Type of block (i.e. Text, Image etc)
42 // translators: %s: Type of block (i.e. Text, Image etc)
43 (0,r.__)("Block %s is the only block, and cannot be moved"),t);if(a>0&&!s){const e=o("down",l);if("down"===e)return(0,r.nv)(
44 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
45 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
46 (0,r.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1);if("left"===e)return(0,r.nv)(
47 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
48 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
49 (0,r.__)("Move %1$s block from position %2$d left to position %3$d"),t,c,c+1);if("right"===e)return(0,r.nv)(
50 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
51 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
52 (0,r.__)("Move %1$s block from position %2$d right to position %3$d"),t,c,c+1)}if(a>0&&s){const e=o("down",l);if("down"===e)return(0,r.nv)(
53 // translators: 1: Type of block (i.e. Text, Image etc)
54 // translators: 1: Type of block (i.e. Text, Image etc)
55 (0,r.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return(0,r.nv)(
56 // translators: 1: Type of block (i.e. Text, Image etc)
57 // translators: 1: Type of block (i.e. Text, Image etc)
58 (0,r.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return(0,r.nv)(
59 // translators: 1: Type of block (i.e. Text, Image etc)
60 // translators: 1: Type of block (i.e. Text, Image etc)
61 (0,r.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(a<0&&!i){const e=o("up",l);if("up"===e)return(0,r.nv)(
62 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
63 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
64 (0,r.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1);if("left"===e)return(0,r.nv)(
65 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
66 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
67 (0,r.__)("Move %1$s block from position %2$d left to position %3$d"),t,c,c-1);if("right"===e)return(0,r.nv)(
68 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
69 // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
70 (0,r.__)("Move %1$s block from position %2$d right to position %3$d"),t,c,c-1)}if(a<0&&i){const e=o("up",l);if("up"===e)return(0,r.nv)(
71 // translators: 1: Type of block (i.e. Text, Image etc)
72 // translators: 1: Type of block (i.e. Text, Image etc)
73 (0,r.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return(0,r.nv)(
74 // translators: 1: Type of block (i.e. Text, Image etc)
75 // translators: 1: Type of block (i.e. Text, Image etc)
76 (0,r.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return(0,r.nv)(
77 // translators: 1: Type of block (i.e. Text, Image etc)
78 // translators: 1: Type of block (i.e. Text, Image etc)
79 (0,r.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}},60416(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(54646),o=n(27953),i=n(79027),s=n(19623),a=n(18335),l=n(2376),c=n(87761),u=n(60167),d=n(34315),f=n(3399),p=n(26068),h=n(42948),g=n(25552),m=n(61924),v=n(93236);function b(){const{selectBlock:e}=(0,i.A)(g.M),{parentClientId:t,nextSiblingClientId:n,showInserter:b}=(0,s.A)(e=>{const{getBlockParents:t,getSelectedBlockClientIds:n,getParentSectionBlock:r,getBlockName:o,getNextBlockClientId:i}=(0,m.T)(e(g.M)),[s]=n(),a=r(s),l=t(s),u=l[l.length-1],d=a??u,f=(0,c.E7)(o(d)),p=f?.merge||(0,c.pN)(f,"__experimentalOnMerge");return{parentClientId:d,nextSiblingClientId:i(s),showInserter:!!d&&d===u&&!p}},[]),y=(0,d.A)(t),k=(0,l.useRef)(),x=(0,h.w)({ref:k,highlightParent:!0}),w=(0,v.jsx)(r.A,{className:"block-editor-block-parent-selector__button",onClick:()=>e(t),label:(0,a.nv)(
80 /* translators: %s: Name of the block's parent. */
81 /* translators: %s: Name of the block's parent. */
82 (0,a.__)("Select parent block: %s"),y?.title),showTooltip:!0,icon:(0,v.jsx)(f.A,{icon:y?.icon})});return(0,v.jsxs)("div",{className:"block-editor-block-parent-selector",ref:k,...x,children:[!b&&w,b&&(0,v.jsxs)(o.A,{children:[w,(0,v.jsx)(p,{position:"bottom right",rootClientId:t,clientId:n,isAppender:!n,__experimentalIsQuick:!0,renderToggle:({onToggle:e,isOpen:t,disabled:n,blockTitle:o,hasSingleBlockType:i})=>(0,v.jsx)(r.A,{className:"block-editor-block-parent-selector__inserter",onClick:e,"aria-expanded":t,disabled:n,label:i?(0,a.nv)(
83 // translators: %s: the name of the block when there is only one
84 // translators: %s: the name of the block when there is only one
85 (0,a._x)("Add %s","directly add the only allowed block"),o.toLowerCase()):(0,a._x)("Add block","Generic label for block inserter button"),showTooltip:!0,icon:u.A})})]})]},t)}},26880(e,t,n){"use strict";n.d(t,{A:()=>S});var r=n(13022),o=n(87761),i=n(2376),s=n(83832),a=n(67215),l=n(44636),c=n(81436),u=n(54547),d=n(18113),f=n(3383),p=n(41740),h=n(18335),g=n(13109),m=n(69651),v=n(26068),b=n(87717),y=n(73656),k=n(32903),x=n(93236),w=({showTooltip:e,title:t,children:n})=>e?(0,x.jsxs)(u.b,{children:[(0,x.jsx)(d.l,{render:n}),(0,x.jsx)(f.z,{children:t})]}):(0,x.jsx)(x.Fragment,{children:n});function _({id:e,isDraggable:t,pattern:n,onClick:u,onHover:d,showTitlesAsTooltip:f,category:h,isSelected:y}){const[S,C]=(0,i.useState)(!1),{blocks:E,viewportWidth:T}=n,I=`block-editor-block-patterns-list__item-description-${(0,p.A)(_)}`,j=n.type===k.KG.user,B=(0,i.useMemo)(()=>h&&t?(E??[]).map(e=>{const t=(0,o.JB)(e);return t.attributes.metadata?.categories?.includes(h)&&(t.attributes.metadata.categories=[h]),t}):E,[E,t,h]);return(0,x.jsx)(b.A,{isEnabled:t,blocks:B,pattern:n,children:({draggable:t,onDragStart:o,onDragEnd:i})=>(0,x.jsx)("div",{className:"block-editor-block-patterns-list__list-item",draggable:t,onDragStart:e=>{C(!0),o&&(d?.(null),o(e))},onDragEnd:e=>{C(!1),i&&i(e)},children:(0,x.jsx)(w,{showTooltip:f&&!j,title:n.title,children:(0,x.jsxs)(a.e.Item,{render:(0,x.jsx)("div",{role:"option","aria-label":n.title,"aria-describedby":n.description?I:void 0,className:(0,r.A)("block-editor-block-patterns-list__item",{"block-editor-block-patterns-list__list-item-synced":n.type===k.KG.user&&!n.syncStatus,"is-selected":y})}),id:e,onClick:()=>{u(n,E),d?.(null)},onMouseEnter:()=>{S||d?.(n)},onMouseLeave:()=>d?.(null),children:[(0,x.jsx)(v.Async,{placeholder:(0,x.jsx)(A,{}),children:(0,x.jsx)(v,{blocks:E,viewportWidth:T})}),(!f||j)&&(0,x.jsxs)(s.A,{className:"block-editor-patterns__pattern-details",spacing:2,children:[j&&!n.syncStatus&&(0,x.jsx)("div",{className:"block-editor-patterns__pattern-icon-wrapper",children:(0,x.jsx)(g.A,{className:"block-editor-patterns__pattern-icon",icon:m.A})}),(0,x.jsx)(l.E,{render:(0,x.jsx)("div",{}),className:"block-editor-block-patterns-list__item-title",variant:"body-sm",children:n.title})]}),!!n.description&&(0,x.jsx)(c.s,{id:I,children:n.description})]})})})})}function A(){return(0,x.jsx)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}var S=(0,i.forwardRef)(function({isDraggable:e,blockPatterns:t,onHover:n,onClickPattern:r,orientation:o,category:s,label:l=(0,h.__)("Patterns"),showTitlesAsTooltip:c,pagingProps:u},d){const[f,p]=(0,i.useState)(void 0),[g,m]=(0,i.useState)(null);(0,i.useEffect)(()=>{const e=t[0]?.name;p(e)},[t]);const v=(e,t)=>{m(e.name),r(e,t)};return(0,x.jsxs)(a.e,{orientation:o,activeId:f,setActiveId:p,role:"listbox",className:"block-editor-block-patterns-list","aria-label":l,ref:d,children:[t.map(t=>(0,x.jsx)(_,{id:t.name,pattern:t,onClick:v,onHover:n,isDraggable:e,showTitlesAsTooltip:c,category:s,isSelected:!!g&&g===t.name},t.name)),u&&(0,x.jsx)(y.A,{...u})]})})},73656(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(54446),o=n(46936),i=n(83832),s=n(43192),a=n(18335),l=n(93236);function c({currentPage:e,numPages:t,changePage:n,totalItems:c}){return(0,l.jsxs)(r.A,{className:"block-editor-patterns__grid-pagination-wrapper",children:[(0,l.jsx)(o.A,{variant:"muted",children:(0,a.nv)(
86 // translators: %s: Total number of patterns.
87 // translators: %s: Total number of patterns.
88 (0,a._n)("%s item","%s items",c),c)}),t>1&&(0,l.jsxs)(i.A,{expanded:!1,spacing:3,justify:"flex-start",className:"block-editor-patterns__grid-pagination",children:[(0,l.jsxs)(i.A,{expanded:!1,spacing:1,className:"block-editor-patterns__grid-pagination-previous",children:[(0,l.jsx)(s.A,{variant:"tertiary",onClick:()=>n(1),disabled:1===e,"aria-label":(0,a.__)("First page"),size:"compact",accessibleWhenDisabled:!0,className:"block-editor-patterns__grid-pagination-button",children:(0,l.jsx)("span",{children:"«"})}),(0,l.jsx)(s.A,{variant:"tertiary",onClick:()=>n(e-1),disabled:1===e,"aria-label":(0,a.__)("Previous page"),size:"compact",accessibleWhenDisabled:!0,className:"block-editor-patterns__grid-pagination-button",children:(0,l.jsx)("span",{children:"‹"})})]}),(0,l.jsx)(o.A,{variant:"muted",children:(0,a.nv)(
89 // translators: 1: Current page number. 2: Total number of pages.
90 // translators: 1: Current page number. 2: Total number of pages.
91 (0,a._x)("%1$s of %2$s","paging"),e,t)}),(0,l.jsxs)(i.A,{expanded:!1,spacing:1,className:"block-editor-patterns__grid-pagination-next",children:[(0,l.jsx)(s.A,{variant:"tertiary",onClick:()=>n(e+1),disabled:e===t,"aria-label":(0,a.__)("Next page"),size:"compact",accessibleWhenDisabled:!0,className:"block-editor-patterns__grid-pagination-button",children:(0,l.jsx)("span",{children:"›"})}),(0,l.jsx)(s.A,{variant:"tertiary",onClick:()=>n(t),disabled:e===t,"aria-label":(0,a.__)("Last page"),size:"compact",accessibleWhenDisabled:!0,className:"block-editor-patterns__grid-pagination-button",children:(0,l.jsx)("span",{children:"»"})})]})]})]})}},21948(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(95691),i=n(28833),s=n(93236);function a({selectedElement:e,additionalStyles:t={},children:n}){const[o,i]=(0,r.useState)(e.offsetWidth),[a,l]=(0,r.useState)(e.offsetHeight);(0,r.useEffect)(()=>{const t=new window.ResizeObserver(()=>{i(e.offsetWidth),l(e.offsetHeight)});return t.observe(e,{box:"border-box"}),()=>t.disconnect()},[e]);const c=(0,r.useMemo)(()=>({position:"absolute",width:o,height:a,...t}),[o,a,t]);return(0,s.jsx)("div",{style:c,children:n})}var l=(0,r.forwardRef)(function({clientId:e,bottomClientId:t,children:n,shift:r=!1,additionalStyles:l,...c},u){t??=e;const d=(0,o.dN)(e);return(0,s.jsx)(i.I,{ref:u,clientId:e,bottomClientId:t,shift:r,...c,children:d&&e===t?(0,s.jsx)(a,{selectedElement:d,additionalStyles:l,children:n}):n})})},1407(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(19623),o=n(7680),i=n(5158),s=n(25552),a=n(21948),l=n(93236),c={hide:{opacity:0,scaleY:.75},show:{opacity:1,scaleY:1},exit:{opacity:0,scaleY:.9}};var u=function({__unstablePopoverSlot:e,__unstableContentRef:t}){const{clientId:n}=(0,r.A)(e=>{const{getBlockOrder:t,getBlockInsertionPoint:n}=e(s.M),r=n(),o=t(r.rootClientId);return o.length?{clientId:o[r.index]}:{}},[]),u=(0,o.A)();return(0,l.jsx)(a.A,{clientId:n,__unstablePopoverSlot:e,__unstableContentRef:t,className:"block-editor-block-popover__drop-zone",children:(0,l.jsx)(i.P.div,{"data-testid":"block-popover-drop-zone",initial:u?c.show:c.hide,animate:c.show,exit:u?c.show:c.exit,className:"block-editor-block-popover__drop-zone-foreground"})})}},34482(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(19623),i=n(2376),s=n(88149),a=n(18335),l=n(25552),c=n(95691),u=n(918),d=n(93236),f=Number.MAX_SAFE_INTEGER;var p=function({previousClientId:e,nextClientId:t,children:n,__unstablePopoverSlot:p,__unstableContentRef:h,operation:g="insert",nearestSide:m="right",...v}){const[b,y]=(0,i.useReducer)(e=>(e+1)%f,0),{orientation:k,rootClientId:x,isVisible:w}=(0,o.A)(n=>{const{getBlockListSettings:r,getBlockRootClientId:o,isBlockVisible:i}=n(l.M),s=o(e??t);return{orientation:r(s)?.orientation||"vertical",rootClientId:s,isVisible:i(e)&&i(t)}},[e,t]),_=(0,c.dN)(e),A=(0,c.dN)(t),S="vertical"===k,C=(0,i.useMemo)(()=>{if(b<0||!_&&!A||!w)return;return{contextElement:"group"===g?A||_:_||A,getBoundingClientRect(){const e=_?_.getBoundingClientRect():null,t=A?A.getBoundingClientRect():null;let n=0,r=0,o=0,i=0;if("group"===g){const s=t||e;r=s.top,o=0,i=s.bottom-s.top,n="left"===m?s.left-2:s.right-2}else S?(r=e?e.bottom:t.top,o=t&&e?(e.width+t.width)/2:(e||t).width,i=t&&e?t.top-e.bottom:0,n=t&&e?(e.left+t.left)/2:(e||t).left):(r=e?e.top:t.top,i=e?e.height:t.height,(0,a.V8)()?(n=t?t.right:e.left,o=e&&t?e.left-t.right:0):(n=e?e.right:t.left,o=e&&t?t.left-e.right:0),o=Math.max(o,0));return new window.DOMRect(n,r,o,i)}}},[_,A,b,S,w,g,m]),E=(0,u.A)(h);return(0,i.useLayoutEffect)(()=>{if(!_)return;const e=new window.MutationObserver(y);return e.observe(_,{attributes:!0}),()=>{e.disconnect()}},[_]),(0,i.useLayoutEffect)(()=>{if(!A)return;const e=new window.MutationObserver(y);return e.observe(A,{attributes:!0}),()=>{e.disconnect()}},[A]),(0,i.useLayoutEffect)(()=>{if(_)return _.ownerDocument.defaultView.addEventListener("resize",y),()=>{_.ownerDocument.defaultView?.removeEventListener("resize",y)}},[_]),(_||A)&&w?(0,d.jsx)(s.Ay,{ref:E,animate:!1,anchor:C,focusOnMount:!1,__unstableSlotName:p,inline:!p,...v,className:(0,r.A)("block-editor-block-popover","block-editor-block-popover__inbetween",v.className),resize:!1,flip:!1,placement:"overlay",variant:"unstyled",children:(0,d.jsx)("div",{className:"block-editor-block-popover__inbetween-container",children:n})},t+"--"+x):null}},28833(e,t,n){"use strict";n.d(t,{I:()=>f});var r=n(13022),o=n(43730),i=n(88149),s=n(2376),a=n(95691),l=n(918),c=n(59900),u=n(93236),d=Number.MAX_SAFE_INTEGER;var f=(0,s.forwardRef)(function({clientId:e,bottomClientId:t,children:n,__unstablePopoverSlot:f,__unstableContentRef:p,shift:h=!0,...g},m){const v=(0,a.dN)(e),b=(0,a.dN)(t??e),y=(0,o.A)([m,(0,l.A)(p)]),[k,x]=(0,s.useReducer)(e=>(e+1)%d,0);(0,s.useLayoutEffect)(()=>{if(!v)return;let e;const t=new window.MutationObserver(()=>{e||(e=window.requestAnimationFrame(()=>{e=null,x()}))});return t.observe(v,{attributes:!0}),()=>{t.disconnect(),e&&window.cancelAnimationFrame(e)}},[v]);const w=(0,s.useMemo)(()=>{if(!(k<0||!v||t&&!b))return{getBoundingClientRect:()=>b?(0,c.s8)((0,c.gD)(v),(0,c.gD)(b)):(0,c.gD)(v),contextElement:v}},[k,v,t,b]);return!v||t&&!b?null:(0,u.jsx)(i.Ay,{ref:y,animate:!1,focusOnMount:!1,anchor:w,__unstableSlotName:f,inline:!f,placement:"top-start",resize:!1,flip:!1,shift:h,...g,className:(0,r.A)("block-editor-block-popover",g.className),variant:"unstyled",children:n})});(0,s.forwardRef)(({clientId:e,bottomClientId:t,children:n,...r},o)=>(0,u.jsx)(f,{...r,bottomClientId:t,clientId:e,__unstableContentRef:void 0,__unstablePopoverSlot:void 0,ref:o,children:n}))},918(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(71886),o=n(95582),i=new WeakMap;var s=function(e){const t=(0,r.A)(t=>{function n(n){const{deltaX:r,deltaY:s,target:a}=n,l=e.current;let c=i.get(l);c||(c=(0,o.A)(l),i.set(l,c));const u=(0,o.A)(a);t.contains(u)||c.scrollBy(r,s)}const r={passive:!0};return t.addEventListener("wheel",n,r),()=>{t.removeEventListener("wheel",n,r)}},[e]);return e?t:null}},26016(e,t,n){"use strict";n.d(t,{A:()=>k});var r=n(87761),o=n(79027),i=n(19623),s=n(54446),a=n(38162),l=n(52474),c=n(13298),u=n(39927),d=n(43192),f=n(13109),p=n(48329),h=n(25552),g=n(3399),m=n(34315),v=n(75301),b=n(61924),y=n(93236);function k({clientIds:e,onSelect:t,onSwitchToListView:n,hasListViewTab:r}){return e.length?(0,y.jsx)(s.A,{spacing:1,children:e.map(e=>(0,y.jsx)(x,{onSelect:t,onSwitchToListView:n,hasListViewTab:r,clientId:e},e))}):null}function x({clientId:e,onSelect:t,onSwitchToListView:n,hasListViewTab:s}){const k=(0,m.A)(e),{isSelected:x,childBlocks:w,shouldRenderListView:_,blockName:A}=(0,i.A)(t=>{const{isBlockSelected:n,hasSelectedInnerBlock:r,getBlockOrder:o,getBlockName:i,shouldRenderBlockListView:s}=(0,b.T)(t(h.M)),a=i(e);return{isSelected:n(e)||r(e,!0),childBlocks:o(e),shouldRenderListView:s(e),blockName:a}},[e]),S=(0,r.E7)(A),C=(0,v.A)({clientId:e,context:"list-view"})||S?.title||A,{selectBlock:E}=(0,o.A)(h.M),T=w&&w.length>0&&s&&_;return(0,y.jsx)(d.A,{__next40pxDefaultSize:!0,className:"block-editor-block-quick-navigation__item",isPressed:x,onClick:async()=>{await E(e),T&&n&&n(e),t&&t(e)},children:(0,y.jsxs)(a.A,{children:[(0,y.jsx)(l.A,{children:(0,y.jsx)(g.A,{icon:k?.icon})}),(0,y.jsx)(c.A,{style:{textAlign:"left"},children:(0,y.jsx)(u.A,{children:C})}),T&&(0,y.jsx)(l.A,{children:(0,y.jsx)(f.A,{icon:p.A,size:24})})]})})}},12933(e,t,n){"use strict";n.d(t,{v:()=>g});var r=n(2376),o=n(79027),i=n(19623),s=n(54446),a=n(83832),l=n(43192),c=n(43715),u=n(26068),d=n(18335),f=n(25552),p=n(61924),h=n(93236);function g({rules:e}){const[t,n]=(0,r.useState)(!1),{clientIds:g,selectPrevious:m,message:v}=(0,i.A)(e=>(0,p.T)(e(f.M)).getRemovalPromptData()),{clearBlockRemovalPrompt:b,setBlockRemovalRules:y,privateRemoveBlocks:k}=(0,p.T)((0,o.A)(f.M));if((0,r.useEffect)(()=>(y(e),()=>{y()}),[e,y]),(0,r.useEffect)(()=>{n(!1)},[g]),!v)return;const x="object"==typeof v&&null!==v,w=x?v.description:v,_=x&&v.requireConfirmation,A=_&&!t;return(0,h.jsx)(u,{title:(0,d.__)("Confirm deletion"),onRequestClose:b,size:"medium",children:(0,h.jsxs)(s.A,{spacing:4,children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("p",{children:w}),x&&(v.warning||v.subtext)&&(0,h.jsxs)("p",{children:[v.warning&&(0,h.jsx)("strong",{children:v.warning}),v.warning&&v.subtext&&" ",v.subtext]})]}),_&&(0,h.jsx)(c.A,{label:(0,d.__)("I understand the consequences"),checked:t,onChange:n}),(0,h.jsxs)(a.A,{justify:"right",children:[(0,h.jsx)(l.A,{variant:"tertiary",onClick:b,__next40pxDefaultSize:!0,children:(0,d.__)("Cancel")}),(0,h.jsx)(l.A,{variant:"primary",onClick:()=>{k(g,m,!0),b()},disabled:A,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,d.__)("Delete")})]})]})})}},55120(e,t,n){"use strict";function r(e){return 0===e?.trim()?.length}n.d(t,{A:()=>r})},90641(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(54446),o=n(83832),i=n(43192),s=n(26068),a=n(13533),l=n(18335),c=n(2376),u=n(36331),d=n(79027),f=n(19623),p=n(25552),h=n(34315),g=n(55120),m=n(17868),v=n(93236);function b({clientId:e,onClose:t}){const[n,b]=(0,c.useState)(),y=(0,h.A)(e),{metadata:k}=(0,f.A)(t=>{const{getBlockAttributes:n}=t(p.M);return{metadata:n(e)?.metadata}},[e]),{updateBlockAttributes:x}=(0,d.A)(p.M),w=k?.name||"",_=y?.title,A=!!w&&!!k?.bindings&&Object.values(k.bindings).some(e=>"core/pattern-overrides"===e.source),S=void 0!==n&&n!==w,C=n===_,E=(0,g.A)(n),T=S||C;return(0,v.jsx)(s,{title:(0,l.__)("Rename"),onRequestClose:t,overlayClassName:"block-editor-block-rename-modal",focusOnMount:"firstContentElement",size:"small",children:(0,v.jsx)("form",{onSubmit:r=>{r.preventDefault(),T&&(()=>{const r=C||E?void 0:n,o=C||E?(0,l.nv)(
92 /* translators: %s: new name/label for the block */
93 /* translators: %s: new name/label for the block */
94 (0,l.__)('Block name reset to: "%s".'),n):(0,l.nv)(
95 /* translators: %s: new name/label for the block */
96 /* translators: %s: new name/label for the block */
97 (0,l.__)('Block name changed to: "%s".'),n);(0,u.L)(o,"assertive"),x([e],{metadata:(0,m._U)({...k,name:r})}),t()})()},children:(0,v.jsxs)(r.A,{spacing:"3",children:[(0,v.jsx)(a.A,{value:n??w,label:(0,l.__)("Name"),help:A?(0,l.__)("This block allows overrides. Changing the name can cause problems with content entered into instances of this pattern."):void 0,placeholder:_,onChange:b,onFocus:e=>e.target.select()}),(0,v.jsxs)(o.A,{justify:"right",children:[(0,v.jsx)(i.A,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:t,children:(0,l.__)("Cancel")}),(0,v.jsx)(i.A,{__next40pxDefaultSize:!0,accessibleWhenDisabled:!0,disabled:!T,variant:"primary",type:"submit",children:(0,l.__)("Save")})]})]})})})}},88378(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(87761);function o(e){return{canRename:!!e&&(0,r.bI)(e,"renaming",!0)}}},82277(e,t,n){"use strict";n.d(t,{X:()=>a});var r=n(79027),o=n(19623),i=n(71886),s=n(25552);n(93236);function a(){const{getSettings:e,hasSelectedBlock:t,hasMultiSelection:n}=(0,o.A)(s.M),{clearSelectedBlock:a}=(0,r.A)(s.M),{clearBlockSelection:l}=e();return(0,i.A)(e=>{if(l)return e.addEventListener("mousedown",r),()=>{e.removeEventListener("mousedown",r)};function r(r){(t()||n())&&r.target===e&&a()}},[t,n,a,l])}},74520(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(46936),o=n(22953),i=n(88901),s=n(93236),a=()=>{};function l({stylesToRender:e,activeStyle:t,onSelect:n=a,onHoverStyle:l=a}){return e&&0!==e.length?(0,s.jsx)(s.Fragment,{children:e.map(e=>{const a=e.label||e.name;return(0,s.jsx)(o.A,{icon:t.name===e.name?i.A:null,onClick:()=>n(e),onFocus:()=>l(e),onBlur:()=>l(null),onMouseEnter:()=>l(e),onMouseLeave:()=>l(null),children:(0,s.jsx)(r.A,{as:"span",limit:18,ellipsizeMode:"tail",truncate:!0,children:a})},e.name)})}):null}},8452(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(79027),o=n(19623),i=n(87761),s=n(2376),a=n(61593),l=n(25552);function c({clientId:e,onSwitch:t}){const{styles:n,block:c,blockType:u,className:d}=(0,o.A)(t=>{const{getBlock:n}=t(l.M),r=n(e);if(!r)return{};const o=(0,i.E7)(r.name),{getBlockStyles:s}=t(i.M_);return{block:o?.example?null:r,blockType:o,styles:s(r.name),className:r.attributes.className||""}},[e]),{updateBlockAttributes:f}=(0,r.A)(l.M),p=(0,a.IV)(n),h=(0,a.qL)(p,d),g=function(e,t){return(0,s.useMemo)(()=>{const n=t?.example,r=t?.name;return n&&r?(0,i.KL)(r,{attributes:n.attributes,innerBlocks:n.innerBlocks,innerContent:n.innerContent}):e?(0,i.JB)(e):void 0},[e,t?.example,t?.name])}(c,u);return{onSelect:n=>{const r=(0,a.Mo)(d,h,n);f(e,{className:r}),t()},stylesToRender:p,activeStyle:h,genericPreviewBlock:g,className:d}}},61593(e,t,n){"use strict";n.d(t,{IV:()=>a,Mo:()=>s,qL:()=>i});var r=n(77831),o=n(18335);function i(e,t){for(const n of new r.A(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),r=e?.find(({name:e})=>e===t);if(r)return r}return l(e)}function s(e,t,n){const o=new r.A(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}function a(e){return e&&0!==e.length?l(e)?e:[{name:"default",label:(0,o._x)("Default","block style"),isDefault:!0},...e]:[]}function l(e){return e?.find(e=>e.isDefault)}},40767(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(18335),o=n(57655),i=n(2376),s=n(74520),a=n(8452),l=n(61593),c=n(49137),u=n(93236);function d({hoveredBlock:e,onSwitch:t}){const{clientId:n}=e,[d,f]=(0,i.useState)(null),{onSelect:p,stylesToRender:h,activeStyle:g,genericPreviewBlock:m,className:v}=(0,a.A)({clientId:n,onSwitch:t}),b=(0,i.useMemo)(()=>{if(!d||!m)return null;const e=(0,l.Mo)(v,g,d);return[{...m,attributes:{...m.attributes||{},className:e}}]},[d,m,v,g]);return h&&0!==h.length?(0,u.jsxs)(o.A,{label:(0,r.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup",children:[b&&(0,u.jsx)(c.A,{blocks:b}),(0,u.jsx)(s.A,{stylesToRender:h,activeStyle:g,onSelect:p,onHoverStyle:f})]}):null}},35657(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(18335),o=n(57655),i=n(22953),s=n(87761),a=n(2376),l=n(3399),c=n(49137),u=n(12619),d=n(93236);function f({restTransformations:e,onSelect:t,setHoveredTransformItem:n}){return e.map(e=>(0,d.jsx)(p,{item:e,onSelect:t,setHoveredTransformItem:n},e.id||e.name))}function p({item:e,onSelect:t,setHoveredTransformItem:n}){const{name:r,icon:o,title:a,isDisabled:c}=e;return(0,d.jsxs)(i.A,{className:(0,s.HK)(r),onClick:n=>{n.preventDefault(),t(r,e.variationName)},disabled:c,onMouseLeave:()=>n(null),onMouseEnter:()=>n(e),onFocus:()=>n(e),onBlur:()=>n(null),children:[(0,d.jsx)(l.A,{icon:o,showColors:!0}),a]})}var h=({className:e,possibleBlockTransformations:t,possibleBlockVariationTransformations:n,onSelect:i,onSelectVariation:l,blocks:h})=>{const[g,m]=(0,a.useState)(),{priorityTextTransformations:v,restTransformations:b}=function(e){const t={"core/paragraph":1,"core/heading":2,"core/list":3,"core/quote":4},n=(0,a.useMemo)(()=>{const n=Object.keys(t),r=e.reduce((e,t)=>{const{name:r}=t;return n.includes(r)?e.priorityTextTransformations.push(t):e.restTransformations.push(t),e},{priorityTextTransformations:[],restTransformations:[]});if(1===r.priorityTextTransformations.length&&"core/quote"===r.priorityTextTransformations[0].name){const e=r.priorityTextTransformations.pop();r.restTransformations.push(e)}return r},[e]);return n.priorityTextTransformations.sort(({name:e},{name:n})=>t[e]<t[n]?-1:1),n}(t),y=v.length&&b.length,k=!!b.length&&(0,d.jsx)(f,{restTransformations:b,onSelect:i,setHoveredTransformItem:m});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(o.A,{label:(0,r.__)("Transform to"),className:e,children:[g&&(0,d.jsx)(c.A,{blocks:(0,s.bh)(h,g.name,g.variationName)}),!!n?.length&&(0,d.jsx)(u.A,{transformations:n,blocks:h,onSelect:l}),v.map(e=>(0,d.jsx)(p,{item:e,onSelect:i,setHoveredTransformItem:m},e.id||e.name)),!y&&k]}),!!y&&(0,d.jsx)(o.A,{className:e,children:k})]})}},12619(e,t,n){"use strict";n.d(t,{A:()=>h,z:()=>f});var r=n(22953),o=n(87761),i=n(19623),s=n(2376),a=n(25552),l=n(3399),c=n(49137),u=n(93236),d={};function f({clientIds:e,blocks:t}){const{activeBlockVariation:n,blockVariationTransformations:r}=(0,i.A)(n=>{const{getBlockAttributes:r,canRemoveBlocks:i}=n(a.M),{getActiveBlockVariation:s,getBlockVariations:l}=n(o.M_),c=i(e);if(1!==t.length||!c)return d;const[u]=t;return{blockVariationTransformations:l(u.name,"transform"),activeBlockVariation:s(u.name,r(u.clientId))}},[e,t]);return(0,s.useMemo)(()=>r?.filter(({name:e})=>e!==n?.name),[r,n])}function p({item:e,onSelect:t,setHoveredTransformItemName:n}){const{name:i,icon:s,title:a}=e;return(0,u.jsxs)(r.A,{className:(0,o.HK)(i),onClick:e=>{e.preventDefault(),t(i)},onMouseLeave:()=>n(null),onMouseEnter:()=>n(i),onFocus:()=>n(i),onBlur:()=>n(null),children:[(0,u.jsx)(l.A,{icon:s,showColors:!0}),a]})}var h=({transformations:e,onSelect:t,blocks:n})=>{const[r,i]=(0,s.useState)();return(0,u.jsxs)(u.Fragment,{children:[r&&(0,u.jsx)(c.A,{blocks:(0,o.JB)(n[0],e.find(({name:e})=>e===r).attributes)}),e?.map(e=>(0,u.jsx)(p,{item:e,onSelect:t,setHoveredTransformItemName:i},e.name))]})}},11697(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(18335),o=n(44636),i=n(27953),s=n(39971),a=n(3443),l=n(57655),c=n(87761),u=n(79027),d=n(19623),f=n(25552),p=n(35657),h=n(12619),g=n(40767),m=n(64338),v=n(93236);function b({onClose:e,clientIds:t}){const{replaceBlocks:n,multiSelect:i,updateBlockAttributes:s}=(0,u.A)(f.M),{possibleBlockTransformations:a,patterns:b,blocks:y,isUsingBindings:k,canRemove:x,hasBlockStyles:w}=(0,d.A)(e=>{const{getBlockAttributes:n,getBlocksByClientId:r,getBlockRootClientId:o,getBlockTransformItems:i,__experimentalGetPatternTransformItems:s,canRemoveBlocks:a,getBlockName:l}=e(f.M),{getBlockStyles:u}=e(c.M_),d=o(t[0]),p=r(t),h=1===t.length,g=h&&l(t[0]),m=h&&!!u(g)?.length;return{blocks:p,possibleBlockTransformations:i(p,d),patterns:s(p,d),isUsingBindings:t.every(e=>!!n(e)?.metadata?.bindings),canRemove:a(t),hasBlockStyles:m}},[t]),_=(0,h.z)({clientIds:t,blocks:y});function A(e){e.length>1&&i(e[0].clientId,e[e.length-1].clientId)}const S=1===y.length,C=S&&((0,c.gc)(y[0])||(0,c.tk)(y[0])),E=!!a?.length&&x&&!C,T=!!_?.length,I=!!b?.length&&x,j=E||T;if(!(w||j||I))return(0,v.jsx)("p",{className:"block-editor-block-switcher__no-transforms",children:(0,r.__)("No transforms.")});const B=S?(0,r._x)("This block is connected.","block toolbar button label and description"):(0,r._x)("These blocks are connected.","block toolbar button label and description");return(0,v.jsxs)("div",{className:"block-editor-block-switcher__container",children:[I&&(0,v.jsx)(m.A,{blocks:y,patterns:b,onSelect:r=>{!function(e){n(t,e),A(e)}(r),e()}}),j&&(0,v.jsx)(p.A,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:a,possibleBlockVariationTransformations:_,blocks:y,onSelect:(r,o)=>{!function(e,r){const o=(0,c.bh)(y,e,r);n(t,o),A(o)}(r,o),e()},onSelectVariation:t=>{!function(e){s(y[0].clientId,{..._.find(({name:t})=>t===e).attributes})}(t),e()}}),w&&(0,v.jsx)(g.A,{hoveredBlock:y[0],onSwitch:e}),k&&(0,v.jsx)(l.A,{children:(0,v.jsx)(o.E,{className:"block-editor-block-switcher__binding-indicator",children:B})})]})}var y=({children:e,clientIds:t,label:n,text:o})=>{const l=1===t.length?(0,r.__)("Change block type or style"):(0,r.nv)(
98 /* translators: %d: number of blocks. */
99 /* translators: %d: number of blocks. */
100 (0,r._n)("Change type of %d block","Change type of %d blocks",t.length),t.length);return(0,v.jsx)(i.A,{children:(0,v.jsx)(s.A,{children:r=>(0,v.jsx)(a.A,{className:"block-editor-block-switcher",label:n,popoverProps:{placement:"bottom-start",className:"block-editor-block-switcher__popover"},icon:e,text:o,toggleProps:{description:l,...r},menuProps:{orientation:"both"},children:({onClose:e})=>(0,v.jsx)(b,{onClose:e,clientIds:t})})})})}},64338(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(18335),o=n(2376),i=n(41740),s=n(27319),a=n(48329),l=n(67215),c=n(57655),u=n(22953),d=n(88149),f=n(81436),p=n(26068),h=n(96680),g=n(93236);function m({patterns:e,onSelect:t}){const n=(0,s.A)("medium","<");return(0,g.jsx)("div",{className:"block-editor-block-switcher__popover-preview-container",children:(0,g.jsx)(d.Ay,{className:"block-editor-block-switcher__popover-preview",placement:n?"bottom":"right-start",offset:16,children:(0,g.jsx)("div",{className:"block-editor-block-switcher__preview is-pattern-list-preview",children:(0,g.jsx)(v,{patterns:e,onSelect:t})})})})}function v({patterns:e,onSelect:t}){return(0,g.jsx)(l.e,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":(0,r.__)("Patterns list"),children:e.map(e=>(0,g.jsx)(b,{pattern:e,onSelect:t},e.name))})}function b({pattern:e,onSelect:t}){const n="block-editor-block-switcher__preview-patterns-container",r=(0,i.A)(b,`${n}-list__item-description`);return(0,g.jsxs)("div",{className:`${n}-list__list-item`,children:[(0,g.jsxs)(l.e.Item,{render:(0,g.jsx)("div",{role:"option","aria-label":e.title,"aria-describedby":e.description?r:void 0,className:`${n}-list__item`}),onClick:()=>t(e.transformedBlocks),children:[(0,g.jsx)(p,{blocks:e.transformedBlocks,viewportWidth:e.viewportWidth||500}),(0,g.jsx)("div",{className:`${n}-list__item-title`,children:e.title})]}),!!e.description&&(0,g.jsx)(f.s,{id:r,children:e.description})]})}var y=function({blocks:e,patterns:t,onSelect:n}){const[i,s]=(0,o.useState)(!1),l=(0,h.Ay)(t,e);return l.length?(0,g.jsxs)(c.A,{className:"block-editor-block-switcher__pattern__transforms__menugroup",children:[i&&(0,g.jsx)(m,{patterns:l,onSelect:n}),(0,g.jsx)(u.A,{onClick:e=>{e.preventDefault(),s(!i)},icon:a.A,children:(0,r.__)("Patterns")})]}):null}},49137(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(88149),o=n(27319),i=n(26068),s=n(93236);function a({blocks:e,placement:t="right-start",offset:n=16,anchor:a}){return(0,o.A)("medium","<")?null:(0,s.jsx)("div",{className:"block-editor-block-switcher__popover-preview-container",children:(0,s.jsx)(r.Ay,{className:"block-editor-block-switcher__popover-preview",placement:t,focusOnMount:!1,offset:n,anchor:a,children:(0,s.jsx)("div",{className:"block-editor-block-switcher__preview",children:(0,s.jsx)(i,{viewportWidth:601,blocks:e})})})})}},96680(e,t,n){"use strict";n.d(t,{Ay:()=>a});var r=n(2376),o=n(87761),i=n(8022),s=(e,t)=>{const n=(0,i.F)(t.name,t.attributes);e.attributes={...e.attributes,...n}},a=(e,t)=>(0,r.useMemo)(()=>e.reduce((e,n)=>{const r=((e,t)=>{const n=t.map(e=>(0,o.JB)(e)),r=new Set;for(const t of e){let e=!1;for(const o of n){const n=(0,i.l)(o,t.name,r);if(n){e=!0,r.add(n.clientId),s(n,t);break}}if(!e)return}return n})(t,n.blocks);return r&&e.push({...n,transformedBlocks:r}),e},[]),[e,t])},8022(e,t,n){"use strict";n.d(t,{F:()=>i,l:()=>o});var r=n(87761),o=(e,t,n=new Set)=>{const{clientId:r,name:i,innerBlocks:s=[]}=e;if(!n.has(r)){if(i===t)return e;for(const e of s){const r=o(e,t,n);if(r)return r}}},i=(e,t)=>{const n=(0,r.oA)(e,"content");return n?.length?n.reduce((e,n)=>(t[n]&&(e[n]=t[n]),e),{}):t}},75301(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(19623),o=n(87761),i=n(25552);function s({clientId:e,maximumLength:t,context:n}){const s=(0,r.A)(t=>{if(!e)return null;const{getBlockName:r,getBlockAttributes:s,getBlock:a}=t(i.M),{getBlockType:l,getActiveBlockVariation:c}=t(o.M_),u=r(e),d=l(u);if(!d)return null;const f=s(e),p=(0,o.Y0)(d,f,n);if(p!==d.title)return p;const h=c(u,f,void 0,a?.(e)?.innerContent);return h?.title||d.title},[e,n]);if(!s)return null;if(t&&t>0&&s.length>t){const e="...";return s.slice(0,t-e.length)+e}return s}},17195(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(18335),o=n(27953),i=n(39971),s=n(3443),a=n(40767),l=n(93236);function c({clientIds:e,children:t,label:n,text:c}){return(0,l.jsx)(o.A,{children:(0,l.jsx)(i.A,{children:o=>(0,l.jsx)(s.A,{className:"block-editor-block-switcher",label:n,popoverProps:{placement:"bottom-start",className:"block-editor-block-switcher__popover"},icon:t,text:c,toggleProps:{description:(0,r.__)("Change block style"),...o},menuProps:{orientation:"both"},children:({onClose:t})=>(0,l.jsx)("div",{className:"block-editor-block-switcher__container",children:(0,l.jsx)(a.A,{hoveredBlock:{clientId:e[0]},onSwitch:t})})})})})}},57852(e,t,n){"use strict";n.d(t,{A:()=>x});var r=n(54646),o=n(18335),i=n(19623),s=n(84260),a=n(69651),l=n(87761),c=n(56587),u=n(11697),d=n(3399),f=n(17195),p=n(60321),h=n(75301),g=n(25552),m=n(82710),v=n(61924),b=n(93236);function y({select:e,clientIds:t}){const{getBlockName:n,getBlockAttributes:r,getBlockParentsByBlockName:o,canRemoveBlocks:i,getTemplateLock:s,getBlockEditingMode:a,canEditBlock:c,isSectionBlock:u}=(0,v.T)(e(g.M)),{getBlockStyles:d}=e(l.M_),f=t.some(e=>"contentOnly"===s(e)),p=1===t.length,h=p&&n(t[0]),b=p&&!!d(h)?.length,y=t.some(e=>!!r(e)?.metadata?.patternName&&u(e)),k=t.every(e=>(0,m.KV)(r(e)?.metadata?.bindings)),x=t.every(e=>o(e,"core/block",!0).length>0),w=i(t),_=t.every(e=>c(e)),A=a(t[0]);return!y&&"default"===A&&(b||w)&&!f&&_?"switcher":"contentOnly"===A&&b&&!k&&_?"styles-only":k&&x?"pattern-overrides":"default"}function k({select:e,clientIds:t}){const{getBlockName:n,getBlockAttributes:r,getBlock:o,isSectionBlock:i}=(0,v.T)(e(g.M)),c=1===t.length,u=t[0],d=r(u);if(c&&d?.metadata?.patternName&&i(u))return a.A;const f=n(u),p=(0,l.E7)(f);if(c){const{getActiveBlockVariation:t}=e(l.M_),n=t(f,d,void 0,o?.(u)?.innerContent);return n?.icon||p?.icon}const h=t.map(e=>n(e));return 1===new Set(h).size?p?.icon:s.A}function x({clientIds:e,isSynced:t}){const{icon:n,showIconLabels:s,variant:a}=(0,i.A)(t=>({icon:k({select:t,clientIds:e}),showIconLabels:t(c.M).get("core","showIconLabels"),variant:y({select:t,clientIds:e})}),[e]),l=(0,h.A)({clientId:e?.[0],maximumLength:35}),g=1===e.length,m=g&&t&&!s,v=g?l:(0,o.__)("Multiple blocks selected"),x=m&&l?l:void 0,w=(0,b.jsx)(d.A,{className:"block-editor-block-toolbar__block-icon",icon:n});return"switcher"===a?(0,b.jsx)(u.A,{clientIds:e,label:v,text:x,children:w}):"styles-only"===a?(0,b.jsx)(f.A,{clientIds:e,label:v,text:x,children:w}):"pattern-overrides"===a?(0,b.jsx)(p.A,{icon:w,clientIds:e,blockTitle:l,label:v}):(0,b.jsx)(r.A,{disabled:!0,className:"block-editor-block-toolbar__block-icon-button",title:v,icon:w,text:x})}},89609(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(63684),{Fill:o,Slot:i}=(0,r.QJ)("__unstableBlockToolbarLastItem");o.Slot=i;var s=o},93852(e,t,n){"use strict";n.d(t,{A:()=>v});var r=n(54646),o=n(27953),i=n(26075),s=n(63624),a=n(18335),l=n(87761),c=n(2376),u=n(79027),d=n(19623),f=n(25552),p=n(26880),h=n(93236),g=[],m={placement:"bottom-start"};function v({clientId:e}){const{categories:t,currentPatternName:n,patterns:v}=(0,d.A)(t=>{const{getBlockAttributes:n,getBlockRootClientId:r,__experimentalGetAllowedPatterns:o}=t(f.M),i=n(e),s=i?.metadata?.categories||g,a=r(e),l=s.length>0?o(a):g;return{categories:s,currentPatternName:i?.metadata?.patternName,patterns:l}},[e]),{replaceBlocks:b}=(0,u.A)(f.M),y=(0,c.useMemo)(()=>0!==t.length&&v&&0!==v.length?v.filter(e=>{const r="core"===e.source||e.source?.startsWith("pattern-directory")&&"pattern-directory/theme"!==e.source;return 1===e.blocks.length&&!r&&n!==e.name&&e.categories?.some(e=>t.includes(e))&&("unsynced"===e.syncStatus||!e.id)}).slice(0,6):g,[t,n,v]);if(y.length<2)return null;const k=n=>{const r=(n.blocks??[]).map(e=>(0,l.JB)(e));r[0].attributes.metadata={...r[0].attributes.metadata,categories:t},b(e,r)};return(0,h.jsx)(i.A,{popoverProps:m,renderToggle:({onToggle:e,isOpen:t})=>(0,h.jsx)(o.A,{children:(0,h.jsx)(r.A,{onClick:()=>e(!t),"aria-expanded":t,children:(0,a.__)("Change design")})}),renderContent:()=>(0,h.jsx)(s.A,{className:"block-editor-block-toolbar-change-design-content-wrapper",paddingSize:"none",children:(0,h.jsx)(p.A,{blockPatterns:y,onClickPattern:k,showTitlesAsTooltip:!0})})})}},57200(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(54646),o=n(27953),i=n(18335),s=n(19623),a=n(87761),l=n(25552),c=n(26568),u=n(93236);function d({clientId:e}){const{isSectionBlock:t,isEditingContentOnlySection:n,editContentOnlySection:d,stopEditingContentOnlySection:f}=(0,c.A)(e),p=(0,s.A)(t=>{if(!e)return null;const{getBlockName:n}=t(l.M),r=n(e);return r?{name:r}:null},[e]);if(!e||!t&&!n||(0,a.tk)(p)||(0,a.gc)(p))return null;const h=n;return(0,u.jsx)(o.A,{children:(0,u.jsx)(r.A,{onClick:()=>{h?f():d(e)},children:h?
101 /* translators: Button label to leave pattern editing mode. */
102 /* translators: Button label to leave pattern editing mode. */(0,i.__)("Exit pattern"):
103 /* translators: Button label to enter pattern editing mode. */
104 /* translators: Button label to enter pattern editing mode. */(0,i.__)("Edit pattern")})})}},61327(e,t,n){"use strict";n.d(t,{O:()=>B});var r=n(13022),o=n(18335),i=n(19623),s=n(2376),a=n(27319),l=n(87761),c=n(27953),u=n(61881),d=n(60416),f=n(65562),p=n(89609),h=n(26068),g=n(90900),m=n(88700),v=n(47102),b=n(56629),y=n(42948),k=n(25552),x=n(9299),w=n(80159),_=n(93852),A=n(38027),S=n(57200),C=n(61924),E=n(12634),T=n(57852),I=n(28656),j=n(93236);function B({hideDragHandle:e,focusOnMount:t,__experimentalInitialIndex:n,__experimentalOnIndexChange:B,variant:N="unstyled"}){const{blockClientId:M,blockClientIds:R,isDefaultEditingMode:O,blockType:L,toolbarKey:P,shouldShowVisualToolbar:D,showParentSelector:z,isUsingBindings:V,isSectionContainer:F,hasContentOnlyLocking:$,showShuffleButton:H,showSlots:U,showGroupButtons:W,showLockButtons:K,showBlockVisibilityButton:q,showSwitchSectionStyleButton:G,areSelectedBlocksHiddenOnViewport:X,showStyleStateSlot:Y,canEdit:Z}=(0,i.A)(e=>{const{canEditBlock:t}=e(k.M),{getBlockName:n,getBlockMode:r,getBlockParents:o,getSelectedBlockClientIds:i,isBlockValid:s,getBlockEditingMode:a,getBlockAttributes:c,getSettings:u,getTemplateLock:d,getParentSectionBlock:f,isZoomOut:p,isSectionBlock:h,isBlockHiddenAtViewport:g,getSelectedBlockStyleState:m,isResponsiveEditing:v}=(0,C.T)(e(k.M)),b=i(),y=b[0],x=o(y),w=f(y)??x[x.length-1],_=n(w),A=(0,l.E7)(_),S=a(y),T="default"===S,j=n(y),B=b.every(e=>s(e)),N=b.every(e=>"visual"===r(e)),M=b.every(e=>!!c(e)?.metadata?.bindings),R=b.some(e=>"contentOnly"===d(e)),O=p(),L=h(y),P=t(y),D=P&&(O||L),z=u()?.[E.O9]?.toLowerCase()||"desktop",V=b.length>0&&b.every(e=>g(e,z)),F=v()&&(0,I.oj)(m(y));return{blockClientId:y,blockClientIds:b,isDefaultEditingMode:T,blockType:y&&(0,l.E7)(j),shouldShowVisualToolbar:B&&N,toolbarKey:`${y}${w}`,showParentSelector:!O&&A&&"contentOnly"!==S&&"disabled"!==a(w)&&(0,l.pN)(A,"__experimentalParentSelector",!0)&&1===b.length,isUsingBindings:M,isSectionContainer:L,hasContentOnlyLocking:R,showShuffleButton:O,showSlots:!O&&!F,showStyleStateSlot:!O&&F,showGroupButtons:!O,showLockButtons:!O,showBlockVisibilityButton:!O,showSwitchSectionStyleButton:D,areSelectedBlocksHiddenOnViewport:V,canEdit:P}},[]),Q=(0,s.useRef)(null),J=(0,s.useRef)(),ee=(0,y.w)({ref:J}),te=!(0,a.A)("medium","<");if(!(0,w.I)())return null;const ne=R.length>1,re=(0,l.tk)(L)||(0,l.gc)(L),oe=(0,r.A)("block-editor-block-contextual-toolbar",{"has-parent":z}),ie=(0,r.A)("block-editor-block-toolbar",{"is-synced":re,"is-connected":V});return(0,j.jsx)(x.A,{focusEditorOnEscape:!0,className:oe,"aria-label":(0,o.__)("Block tools"),variant:"toolbar"===N?void 0:N,focusOnMount:t,__experimentalInitialIndex:n,__experimentalOnIndexChange:B,children:(0,j.jsxs)("div",{ref:Q,className:ie,children:[z&&!ne&&te&&(0,j.jsx)(d.A,{}),(D||ne)&&(0,j.jsx)("div",{ref:J,...ee,children:(0,j.jsxs)(c.A,{className:"block-editor-block-toolbar__block-controls",children:[(0,j.jsx)(T.A,{clientIds:R,isSynced:re}),O&&q&&(0,j.jsx)(m.A,{clientIds:R}),!ne&&O&&K&&(0,j.jsx)(g.A,{clientId:M}),(0,j.jsx)(u.A,{clientIds:R,hideDragHandle:e})]})}),!X&&!$&&D&&ne&&W&&(0,j.jsx)(v.A,{}),!ne&&Z&&(0,j.jsx)(S.A,{clientId:R[0]}),!X&&H&&(0,j.jsx)(_.A,{clientId:R[0]}),!X&&G&&(0,j.jsx)(A.A,{clientId:R[0]}),!X&&D&&(0,j.jsxs)(j.Fragment,{children:[!F&&(0,j.jsxs)(j.Fragment,{children:[U&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(f.A.Slot,{group:"parent",className:"block-editor-block-toolbar__slot"}),(0,j.jsx)(f.A.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),(0,j.jsx)(f.A.Slot,{className:"block-editor-block-toolbar__slot"}),(0,j.jsx)(f.A.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"})]}),Y&&(0,j.jsx)(f.A.Slot,{group:"style-state",className:"block-editor-block-toolbar__slot"})]}),U&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(f.A.Slot,{group:"other",className:"block-editor-block-toolbar__slot"}),(0,j.jsx)(p.A.Slot,{})]})]}),(0,j.jsx)(b.A,{clientIds:R}),(0,j.jsx)(h,{clientIds:R})]})},P)}},60321(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(54646),o=n(88149),i=n(44636),s=n(18335),a=n(2376),l=n(19623),c=n(25552),u=n(93236);function d({clientIds:e,blockTitle:t}){const n=(0,l.A)(t=>{const{getBlockAttributes:n}=t(c.M);return n(e?.[0])?.metadata?.name},[e]);let r;return r=1===e.length&&n?(0,s.nv)(
105 /* translators: 1: The block type's name. 2: The block's user-provided name (the same as the override name). */
106 /* translators: 1: The block type's name. 2: The block's user-provided name (the same as the override name). */
107 (0,s.__)('This %1$s is editable using the "%2$s" override.'),t.toLowerCase(),n):(0,s.__)("These blocks are editable using overrides."),(0,u.jsx)(i.E,{children:r})}function f({icon:e,clientIds:t,blockTitle:n,label:i}){const[s,l]=(0,a.useState)(!1),c=(0,a.useRef)();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.A,{ref:c,className:"block-editor-block-toolbar__pattern-overrides-indicator",icon:e,label:i,onClick:()=>l(!s),"aria-expanded":s}),s&&(0,u.jsx)(o.Ay,{anchor:c.current,onClose:()=>l(!1),placement:"bottom-start",offset:16,className:"block-editor-block-toolbar__pattern-overrides-popover",children:(0,u.jsx)(d,{clientIds:t,blockTitle:n})})]})}},38027(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(65334),o=n(54646),i=n(27953),s=n(93331),a=n(18335),l=n(79027),c=n(19623),u=n(14259),d=n(8452),f=n(61593),p=n(25552),h=n(12634),g=n(61924),m=n(93236),{getVariationStyle:v}=(0,g.T)(u.j),b=(0,m.jsxs)(r.t4,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:[(0,m.jsx)(r.wA,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3z"}),(0,m.jsx)(r.wA,{stroke:"currentColor",strokeWidth:"1.5",d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3z"})]});var y=function({clientId:e}){const{stylesToRender:t,activeStyle:n,className:r}=(0,d.A)({clientId:e}),{updateBlockAttributes:u}=(0,l.A)(p.M),{globalSettings:g,globalStyles:y,blockName:k}=(0,c.A)(t=>{const n=t(p.M).getSettings();return{globalSettings:n.__experimentalFeatures,globalStyles:n[h.Fr],blockName:t(p.M).getBlockName(e)}},[e]),x=n?.name?v({settings:g,styles:y},k,n.name)?.color?.background:void 0;return t&&0!==t.length?(0,m.jsx)(i.A,{children:(0,m.jsx)(o.A,{onClick:()=>{const o=(t.findIndex(e=>e.name===n.name)+1)%t.length,i=t[o],s=(0,f.Mo)(r,n,i);u(e,{className:s})},label:(0,a.__)("Shuffle styles"),children:(0,m.jsx)(s.A,{icon:b,style:{fill:x||"transparent"}})})}):null}},80159(e,t,n){"use strict";n.d(t,{I:()=>s});var r=n(19623),o=n(87761),i=n(25552);function s(){return(0,r.A)(e=>{const{getBlockEditingMode:t,getBlockName:n,getBlockSelectionStart:r}=e(i.M),s=r(),a=s&&(0,o.E7)(n(s));return a&&(0,o.pN)(a,"__experimentalToolbar",!0)&&"disabled"!==t(s)},[])}},42948(e,t,n){"use strict";n.d(t,{w:()=>u});var r=n(79027),o=n(19623),i=n(2376),s=n(25552),{clearTimeout:a,setTimeout:l}=window;function c({ref:e,isFocused:t,highlightParent:n,debounceTimeout:c=200}){const{getSelectedBlockClientId:u,getBlockRootClientId:d}=(0,o.A)(s.M),{toggleBlockHighlight:f}=(0,r.A)(s.M),p=(0,i.useRef)(),h=(0,o.A)(e=>e(s.M).getSettings().isDistractionFree,[]),g=e=>{if(e&&h)return;const t=u(),r=n?d(t):t;f(r,e)},m=()=>{const n=e?.current&&e.current.matches(":hover");return!t&&!n},v=()=>{const e=p.current;e&&a&&a(e)};return(0,i.useEffect)(()=>()=>{g(!1),v()},[]),{debouncedShowGestures:e=>{e&&e.stopPropagation(),v(),g(!0)},debouncedHideGestures:e=>{e&&e.stopPropagation(),v(),p.current=l(()=>{m()&&g(!1)},c)}}}function u({ref:e,highlightParent:t=!1,debounceTimeout:n=200}){const[r,o]=(0,i.useState)(!1),{debouncedShowGestures:s,debouncedHideGestures:a}=c({ref:e,debounceTimeout:n,isFocused:r,highlightParent:t}),l=(0,i.useRef)(!1),u=()=>e?.current&&e.current.contains(e.current.ownerDocument.activeElement);return(0,i.useEffect)(()=>{const t=e.current,n=()=>{u()&&(o(!0),s())},r=()=>{u()||(o(!1),a())};return t&&!l.current&&(t.addEventListener("focus",n,!0),t.addEventListener("blur",r,!0),l.current=!0),()=>{t&&(t.removeEventListener("focus",n),t.removeEventListener("blur",r))}},[e,l,o,s,a]),{onMouseMove:s,onMouseLeave:a}}},49242(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(79027),i=n(2376),s=n(63632),a=n(28833),l=n(97649),c=n(38926),u=n(25552),d=n(61327),f=n(93236);function p({clientId:e,isTyping:t,__unstableContentRef:n}){const{capturingClientId:p,isInsertionPointVisible:h,lastClientId:g}=(0,c.A)(e),m=(0,i.useRef)();(0,i.useEffect)(()=>{m.current=void 0},[e]);const{stopTyping:v}=(0,o.A)(u.M),b=(0,i.useRef)(!1);(0,s.wk)("core/block-editor/focus-toolbar",()=>{b.current=!0,v(!0)}),(0,i.useEffect)(()=>{b.current=!1});const y=p||e,k=(0,l.A)({contentElement:n?.current,clientId:y});return!t&&(0,f.jsx)(a.I,{clientId:y,bottomClientId:g,className:(0,r.A)("block-editor-block-list__block-popover",{"is-insertion-point-visible":h}),resize:!1,...k,__unstableContentRef:n,children:(0,f.jsx)(d.O,{focusOnMount:b.current,__experimentalInitialIndex:m.current,__experimentalOnIndexChange:e=>{m.current=e},variant:"toolbar"})})}},13931(e,t,n){"use strict";n.d(t,{A:()=>T});var r=n(13022),o=n(79027),i=n(19623),s=n(60477),a=n(88149),l=n(63632),c=n(2376),u=n(87761),d=n(36331),f=n(18335),p=n(26068),h=n(80221),g=n(49242),m=n(25552),v=n(64764),b=n(918),y=n(14831),k=n(29354),x=n(61924),w=n(71110),_=n(90641),A=n(88378),S=n(92251),C=n(93236);function E(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getSettings:r,isTyping:o,isDragging:i,isZoomOut:s,getViewportModalClientIds:a}=(0,x.T)(e(m.M));return{clientId:t()||n(),hasFixedToolbar:r().hasFixedToolbar,isTyping:o(),isZoomOutMode:s(),isDragging:i(),viewportModalClientIds:a(),blockVisibilitySetting:e(m.M).getSettings().__experimentalFeatures?.blockVisibility?.allowEditing}}function T({children:e,__unstableContentRef:t,...n}){const{clientId:T,hasFixedToolbar:I,isTyping:j,isZoomOutMode:B,isDragging:N,viewportModalClientIds:M,blockVisibilitySetting:R}=(0,i.A)(E,[]),O=(0,l.ZK)(),{getBlocksByClientId:L,getSelectedBlockClientIds:P,getBlockRootClientId:D,getBlockEditingMode:z,getBlockName:V,isGroupable:F,getEditedContentOnlySection:$,canEditBlock:H}=(0,x.T)((0,i.A)(m.M)),{getGroupingBlockName:U}=(0,i.A)(u.M_),{showEmptyBlockSideInserter:W,showBlockToolbarPopover:K}=(0,k.F)(),q=(0,w.A)(),[G,X]=(0,c.useState)(null),{canRename:Y}=(0,A.A)(V(P()[0])),{duplicateBlocks:Z,removeBlocks:Q,replaceBlocks:J,insertAfterBlock:ee,insertBeforeBlock:te,selectBlock:ne,moveBlocksUp:re,moveBlocksDown:oe,expandBlock:ie,stopEditingContentOnlySection:se,showViewportModal:ae,hideViewportModal:le}=(0,x.T)((0,o.A)(m.M));const ce=(0,b.A)(t),ue=(0,b.A)(t);return(0,C.jsxs)("div",{...n,onKeyDown:function(e){if(!e.defaultPrevented){if(O("core/block-editor/move-up",e)||O("core/block-editor/move-down",e)){const t=P();if(t.length){e.preventDefault();const n=D(t[0]);"up"===(O("core/block-editor/move-up",e)?"up":"down")?re(t,n):oe(t,n);const r=Array.isArray(t)?t.length:1,o=(0,f.nv)(
108 // translators: %d: the name of the block that has been moved
109 // translators: %d: the name of the block that has been moved
110 (0,f._n)("%d block moved.","%d blocks moved.",t.length),r);(0,d.L)(o)}}else if(O("core/block-editor/duplicate",e)){const t=P();t.length&&(e.preventDefault(),Z(t))}else if(O("core/block-editor/remove",e)){const t=P();t.length&&(e.preventDefault(),Q(t))}else if(O("core/block-editor/paste-styles",e)){const t=P();if(t.length){e.preventDefault();const n=L(t);q(n)}}else if(O("core/block-editor/insert-after",e)){const t=P();t.length&&(e.preventDefault(),ee(t[t.length-1]))}else if(O("core/block-editor/insert-before",e)){const t=P();t.length&&(e.preventDefault(),te(t[0]))}else if(O("core/block-editor/unselect",e)){if(e.target.closest("[role=toolbar]"))return;const t=P();t.length>1&&(e.preventDefault(),ne(t[0]))}else if(O("core/block-editor/collapse-list-view",e)){if((0,s.A)(e.target)||(0,s.A)(e.target?.contentWindow?.document?.activeElement))return;e.preventDefault(),ie(T)}else if(O("core/block-editor/group",e)){const t=P();if(t.length>1&&F(t)){e.preventDefault();const n=L(t),r=U(),o=(0,v.m)(n,r);J(t,o),(0,d.L)((0,f.__)("Selected blocks are grouped."))}}else if(O("core/block-editor/rename",e)){const t=P();if(1===t.length){const n="contentOnly"===z(t[0]);Y&&!n&&H(t[0])&&(e.preventDefault(),X(t[0]))}}else if(O("core/block-editor/toggle-block-visibility",e)){if(!1===R)return;const t=P();if(t.length){e.preventDefault();if(!L(t).every(e=>(0,u.pN)(e.name,"visibility",!0)))return;if(t.some(e=>"default"!==z(e)||!H(e)))return;ae(t)}}O("core/block-editor/stop-editing-as-blocks",e)&&$()&&se()}},className:(0,r.A)(n.className,{"block-editor-block-tools--is-dragging":N}),children:[(0,C.jsxs)(h.p.Provider,{value:(0,c.useRef)(!1),children:[!j&&!B&&(0,C.jsx)(h.A,{__unstableContentRef:t}),W&&(0,C.jsx)(p,{__unstableContentRef:t,clientId:T}),K&&(0,C.jsx)(g.A,{__unstableContentRef:t,clientId:T,isTyping:j}),!B&&!I&&(0,C.jsx)(a.Ay.Slot,{name:"block-toolbar",ref:ce}),e,(0,C.jsx)(a.Ay.Slot,{name:"__unstable-block-tools-after",ref:ue}),B&&!N&&(0,C.jsx)(y.A,{__unstableContentRef:t})]}),G&&(0,C.jsx)(_.A,{clientId:G,onClose:()=>X(null)}),M&&(0,C.jsx)(S.A,{clientIds:M,onClose:le})]})}},80221(e,t,n){"use strict";n.d(t,{A:()=>v,p:()=>g});var r=n(13022),o=n(79027),i=n(19623),s=n(2376),a=n(5158),l=n(7680),c=n(26068),u=n(25552),d=n(34482),f=n(1407),p=n(61924),h=n(93236),g=(0,s.createContext)();function m({__unstablePopoverSlot:e,__unstableContentRef:t,operation:n="insert",nearestSide:f="right"}){const{selectBlock:m,hideInsertionPoint:v}=(0,o.A)(u.M),b=(0,s.useContext)(g),y=(0,s.useRef)(),{orientation:k,previousClientId:x,nextClientId:w,rootClientId:_,isInserterShown:A,isDistractionFree:S,isZoomOutMode:C}=(0,i.A)(e=>{const{getBlockOrder:t,getBlockListSettings:n,getBlockInsertionPoint:r,isBlockBeingDragged:o,getPreviousBlockClientId:i,getNextBlockClientId:s,getSettings:a,isZoomOut:l}=(0,p.T)(e(u.M)),c=r(),d=t(c.rootClientId);if(!d.length)return{};let f=d[c.index-1],h=d[c.index];for(;o(f);)f=i(f);for(;o(h);)h=s(h);const g=a();return{previousClientId:f,nextClientId:h,orientation:n(c.rootClientId)?.orientation||"vertical",rootClientId:c.rootClientId,isDistractionFree:g.isDistractionFree,isInserterShown:c?.__unstableWithInserter,isZoomOutMode:l()}},[]),{getBlockEditingMode:E}=(0,i.A)(u.M),T=(0,l.A)();const I=(0,s.useCallback)(e=>{!e&&b.current&&(b.current=!1)},[b]),j={start:{opacity:0,scale:0},rest:{opacity:1,scale:1,transition:{delay:A?.5:0,type:"tween"}},hover:{opacity:1,scale:1,transition:{delay:.5,type:"tween"}}},B={start:{scale:T?1:0},rest:{scale:1,transition:{delay:.4,type:"tween"}}};if(S)return null;if(C&&"insert"!==n)return null;const N="horizontal"===k||"group"===n?"is-horizontal":"is-vertical",M=(0,r.A)("block-editor-block-list__insertion-point",N);return(0,h.jsx)(d.A,{previousClientId:x,nextClientId:w,__unstablePopoverSlot:e,__unstableContentRef:t,operation:n,nearestSide:f,children:(0,h.jsxs)(a.P.div,{layout:!T,initial:T?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:y,tabIndex:-1,onClick:function(e){e.target===y.current&&w&&"disabled"!==E(w)&&m(w,-1)},onFocus:function(e){e.target!==y.current&&(b.current=!0)},className:(0,r.A)(M,{"is-with-inserter":A}),onHoverEnd:function(e){e.target!==y.current||b.current||v()},children:[(0,h.jsx)(a.P.div,{variants:j,className:"block-editor-block-list__insertion-point-indicator","data-testid":"block-list-insertion-point-indicator"}),A&&(0,h.jsx)(a.P.div,{variants:B,className:(0,r.A)("block-editor-block-list__insertion-point-inserter"),children:(0,h.jsx)(c,{ref:I,position:"bottom center",clientId:w,rootClientId:_,__experimentalIsQuick:!0,onToggle:e=>{b.current=e},onSelectOrClose:()=>{b.current=!1}})})]})})}function v(e){const{insertionPoint:t,isVisible:n,isBlockListEmpty:r}=(0,i.A)(e=>{const{getBlockInsertionPoint:t,isBlockInsertionPointVisible:n,getBlockCount:r}=e(u.M),o=t();return{insertionPoint:o,isVisible:n(),isBlockListEmpty:0===r(o?.rootClientId)}},[]);return!n||r?null:"replace"===t.operation?(0,h.jsx)(f.A,{...e},`${t.rootClientId}-${t.index}`):(0,h.jsx)(m,{operation:t.operation,nearestSide:t.nearestSide,...e})}g.displayName="InsertionPointOpenRefContext"},97649(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(71886),o=n(19623),i=n(95582),s=n(2376),a=n(25552),l=n(95691),c=n(79936),u=n(59900),d={placement:"top-start"},f={...d,flip:!1,shift:!0},p={...d,flip:!0,shift:!1};function h(e,t,n,r,o){if(!e||!t)return f;const i=n?.scrollTop||0,s=(0,u.gD)(t),a=i+e.getBoundingClientRect().top,l=e.ownerDocument.documentElement.clientHeight,c=a+r,d=s.top>c,h=s.height>l-r;return o||!d&&!h?p:f}function g({contentElement:e,clientId:t}){const n=(0,l.dN)(t),[u,d]=(0,s.useState)(0),{blockIndex:f,isSticky:p}=(0,o.A)(e=>{const{getBlockIndex:n,getBlockAttributes:r}=e(a.M);return{blockIndex:n(t),isSticky:(0,c.R1)(r(t))}},[t]),g=(0,s.useMemo)(()=>{if(e)return(0,i.A)(e)},[e]),[m,v]=(0,s.useState)(()=>h(e,n,g,u,p)),b=(0,r.A)(e=>{d(e.offsetHeight)},[]),y=(0,s.useCallback)(()=>v(h(e,n,g,u,p)),[e,n,g,u,p]);return(0,s.useLayoutEffect)(y,[f,y]),(0,s.useLayoutEffect)(()=>{if(!e||!n)return;const t=e?.ownerDocument?.defaultView;let r;t?.addEventListener?.("resize",y);const o=n?.ownerDocument?.defaultView;return o?.ResizeObserver&&(r=new o.ResizeObserver(y),r.observe(n)),()=>{t?.removeEventListener?.("resize",y),r&&r.disconnect()}},[y,e,n]),{...m,ref:b}}},38926(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(19623),o=n(25552);function i(e){return(0,r.A)(t=>{const{getBlockRootClientId:n,getBlockParents:r,__experimentalGetBlockListSettingsForBlocks:i,isBlockInsertionPointVisible:s,getBlockInsertionPoint:a,getBlockOrder:l,hasMultiSelection:c,getLastMultiSelectedBlockClientId:u}=t(o.M),d=r(e),f=i(d),p=d.find(e=>f[e]?.__experimentalCaptureToolbars);let h=!1;if(s()){const t=a();h=l(t.rootClientId)[t.index]===e}return{capturingClientId:p,isInsertionPointVisible:h,lastClientId:c()?u():null,rootClientId:n(e)}},[e])}},29354(e,t,n){"use strict";n.d(t,{F:()=>a});var r=n(19623),o=n(87761),i=n(25552),s=n(61924);function a(){return(0,r.A)(e=>{const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlock:r,getBlockMode:a,getSettings:l,isTyping:c,isBlockInterfaceHidden:u}=(0,s.T)(e(i.M)),d=t()||n(),f=r(d),p=!!d&&!!f,h=p&&(0,o.Xw)(f,"content")&&"html"!==a(d),g=d&&!c()&&h;return{showEmptyBlockSideInserter:g,showBlockToolbarPopover:!u()&&!l().hasFixedToolbar&&!g&&p&&!h}},[])}},30773(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(13022),o=n(43192),i=n(60167),s=n(18335),a=n(93236);var l=function({onClick:e}){return(0,a.jsx)(o.A,{variant:"primary",icon:i.A,size:"compact",className:(0,r.A)("block-editor-button-pattern-inserter__button","block-editor-block-tools__zoom-out-mode-inserter-button"),onClick:e,label:(0,s._x)("Add pattern","Generic label for pattern inserter button")})}},14831(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(79027),o=n(19623),i=n(2376),s=n(34482),a=n(30773),l=n(25552),c=n(61924),u=n(93236);var d=function(){const[e,t]=(0,i.useState)(!1),{hasSelection:n,blockOrder:d,setInserterIsOpened:f,sectionRootClientId:p,selectedBlockClientId:h,blockInsertionPoint:g,insertionPointVisible:m}=(0,o.A)(e=>{const{getSettings:t,getBlockOrder:n,getSelectionStart:r,getSelectedBlockClientId:o,getSectionRootClientId:i,getBlockInsertionPoint:s,isBlockInsertionPointVisible:a}=(0,c.T)(e(l.M)),u=i();return{hasSelection:!!r().clientId,blockOrder:n(u),sectionRootClientId:u,setInserterIsOpened:t().__experimentalSetIsInserterOpened,selectedBlockClientId:o(),blockInsertionPoint:s(),insertionPointVisible:a()}},[]),{showInsertionPoint:v}=(0,c.T)((0,r.A)(l.M));if((0,i.useEffect)(()=>{const e=setTimeout(()=>{t(!0)},500);return()=>{clearTimeout(e)}},[]),!e||!n)return null;const b=h,y=d.findIndex(e=>h===e)+1,k=d[y];return m&&g?.index===y?null:(0,u.jsx)(s.A,{previousClientId:b,nextClientId:k,children:(0,u.jsx)(a.A,{onClick:()=>{f({rootClientId:p,insertionIndex:y,tab:"patterns",category:"all"}),v(p,y,{operation:"insert"})}})})}},76884(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(87761),o=n(41740),i=n(32581),s=n(28383),a=n(65538),l=n(93236);function c(e,t){const n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(e.slice(r,r+t));return n}var u=function e({items:t=[],onSelect:n,onHover:u=()=>{},children:d,label:f,isDraggable:p=!0}){const h="block-editor-block-types-list",g=(0,o.A)(e,h);return(0,l.jsxs)(s.A,{className:h,"aria-label":f,children:[c(t,3).map((e,t)=>(0,l.jsx)(a.A,{children:e.map((e,o)=>(0,l.jsx)(i.A,{item:e,className:(0,r.HK)(e.id),onSelect:n,onHover:u,isDraggable:p&&!e.isDisabled,isFirst:0===t&&0===o,rowId:`${g}-${t}`},e.id))},t)),d]})}},30843(e,t,n){"use strict";n.d(t,{B:()=>a,d:()=>l});var r=n(18335),o=n(20113),i=n(55173),s=n(72091),a={desktop:{label:(0,r.__)("Desktop"),icon:o.A,key:"desktop"},tablet:{label:(0,r.__)("Tablet"),icon:s.A,key:"tablet"},mobile:{label:(0,r.__)("Mobile"),icon:i.A,key:"mobile"}},l=Object.entries(a)},92251(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(13022),o=n(18335),i=n(2376),s=n(95596),a=n(38162),l=n(52474),c=n(43192),u=n(43715),d=n(93331),f=n(26068),p=n(79027),h=n(19623),g=n(63632),m=n(18124),v=n(30843),b=n(25552),y=n(17868),k=n(81583),x=n(93236),w={[v.B.mobile.key]:!1,[v.B.tablet.key]:!1,[v.B.desktop.key]:!1},_=[];function A({clientIds:e,onClose:t}){const{createSuccessNotice:n}=(0,p.A)(m.M),{updateBlockAttributes:v}=(0,p.A)(b.M),A=(0,h.A)(t=>t(b.M).getBlocksByClientId(e)??_,[e]),S=(0,h.A)(e=>e(g.M_).getShortcutRepresentation("core/editor/toggle-list-view"),[]),C=(0,h.A)(e=>e(b.M).getSettings().__experimentalFeatures?.viewport,[]),E=(0,i.useMemo)(()=>(0,k.Ec)(C),[C]),T=(0,i.useMemo)(()=>{if(0===A?.length)return{hideEverywhere:!1,viewportChecked:{}};const e={};return E.forEach(([,{key:t}])=>{e[t]=(0,k.X9)(A,t)}),{hideEverywhere:(0,k.Lj)(A),viewportChecked:e}},[A,E]),[I,j]=(0,i.useState)(T?.viewportChecked??{}),[B,N]=(0,i.useState)(T?.hideEverywhere??!1),M=(0,i.useCallback)((e,t)=>{j({...I,[e]:t})},[I]),R=(0,i.useMemo)(()=>{if(!B)return(0,o.nv)(
111 // translators: %s: The shortcut key to access the List View.
112 // translators: %s: The shortcut key to access the List View.
113 (0,o.__)("Block visibility settings updated. You can access them via the List View (%s)."),S);const e=A?.length>1?
114 // translators: %s: The shortcut key to access the List View.
115 // translators: %s: The shortcut key to access the List View.
116 (0,o.__)("Blocks hidden. You can access them via the List View (%s)."):
117 // translators: %s: The shortcut key to access the List View.
118 // translators: %s: The shortcut key to access the List View.
119 (0,o.__)("Block hidden. You can access it via the List View (%s).");return(0,o.nv)(e,S)},[B,A?.length,S]),O=(0,i.useMemo)(()=>Object.values(I).some(e=>!0===e||null===e),[I]),L=(0,i.useMemo)(()=>B!==T.hideEverywhere||E.some(([,{key:e}])=>I[e]!==T.viewportChecked[e]),[B,I,T,E]),P=(0,i.useMemo)(()=>null===B||Object.values(I).some(e=>null===e),[B,I]),D=(0,i.useCallback)(r=>{r.preventDefault();const o=!B&&{viewport:E.reduce((e,[,{key:t}])=>(I[t]&&(e[t]=!1),e),{})},i=Object.fromEntries(A.map(({clientId:e,attributes:t})=>[e,{metadata:(0,y._U)({...t?.metadata,blockVisibility:o})}]));v(e,i,{uniqueByBlock:!0}),n(R,{id:B?"block-visibility-hidden":"block-visibility-viewports-updated",type:"snackbar"}),t()},[A,e,n,B,R,t,v,E,I]),z=A?.length>1;return(0,x.jsx)(f,{title:e?.length>1?(0,o.__)("Hide blocks"):(0,o.__)("Hide block"),onRequestClose:t,overlayClassName:"block-editor-block-visibility-modal",size:"small",children:(0,x.jsxs)("form",{onSubmit:D,children:[(0,x.jsxs)("fieldset",{children:[(0,x.jsx)("legend",{children:z?(0,o.__)("Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks."):(0,o.__)("Select the viewport size for which you want to hide the block.")}),(0,x.jsx)("ul",{className:"block-editor-block-visibility-modal__options",children:(0,x.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere",children:[(0,x.jsx)(u.A,{className:"block-editor-block-visibility-modal__options-checkbox--everywhere",label:(0,o.__)("Omit from published content"),checked:!0===B,indeterminate:null===B,onChange:e=>{N(e),j(w)}}),!0!==B&&(0,x.jsx)("ul",{className:"block-editor-block-visibility-modal__sub-options",children:E.map(([,{label:e,icon:t,key:n}])=>(0,x.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item",children:[(0,x.jsx)(u.A,{label:(0,o.nv)(
120 // translators: %s: The viewport name.
121 // translators: %s: The viewport name.
122 (0,o.__)("Hide on %s"),e),checked:I[n]??!1,indeterminate:null===I[n],onChange:e=>M(n,e)}),(0,x.jsx)(d.A,{icon:t,className:(0,r.A)({"block-editor-block-visibility-modal__options-icon--checked":I[n]})})]},n))})]})}),z&&P&&(0,x.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,o.__)("Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.")}),!z&&!0===B&&(0,x.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,o.nv)(
123 // translators: %s: The shortcut key to access the List View.
124 // translators: %s: The shortcut key to access the List View.
125 (0,o.__)("Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),S)}),!z&&!B&&O&&(0,x.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,s.A)((0,o.nv)(
126 // translators: %s: The shortcut key to access the List View
127 // translators: %s: The shortcut key to access the List View
128 (0,o.__)("Block will be hidden according to the selected viewports. It will be <strong>included in the published markup on the frontend</strong>. You can configure it again by selecting it in the List View (%s)."),S),{strong:(0,x.jsx)("strong",{})})})]}),(0,x.jsxs)(a.A,{className:"block-editor-block-visibility-modal__actions",justify:"flex-end",expanded:!1,children:[(0,x.jsx)(l.A,{children:(0,x.jsx)(c.A,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,o.__)("Cancel")})}),(0,x.jsx)(l.A,{children:(0,x.jsx)(c.A,{variant:"primary",type:"submit",disabled:!L,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,o.__)("Apply")})})]})]})})}},56922(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(76890),o=n(14259),i=n(61924),{getViewportBreakpoints:s}=(0,i.T)(o.j);function a({blockVisibility:e,deviceType:t="desktop",viewportSettings:n,view:o=window}={}){const i=s(n),a=i.mobile?`(width <= ${i.mobile})`:void 0,l=(0,r.A)(a,o);let c;i.tablet&&(c=i.mobile?`(${i.mobile} < width <= ${i.tablet})`:`(width <= ${i.tablet})`);const u=(0,r.A)(c,o);let d;d="mobile"===t&&i.mobile?"mobile":"tablet"===t&&i.tablet?"tablet":l?"mobile":u&&i.tablet?"tablet":"desktop";return{isBlockCurrentlyHidden:!1===e||"object"==typeof e&&!1===e?.viewport?.[d],currentViewport:d}}},81583(e,t,n){"use strict";n.d(t,{Ec:()=>a,Lj:()=>c,X9:()=>l});var r=n(14259),o=(n(18335),n(30843)),i=n(61924),{getViewportBreakpoints:s}=(0,i.T)(r.j);function a(e){const t=s(e);return o.d.filter(([e])=>!(e===o.B.tablet.key&&void 0===t.tablet||e===o.B.mobile.key&&void 0===t.mobile))}function l(e,t){if(!e?.length)return!1;const n=e.filter(e=>function(e,t){if(!e)return!1;const n=e.attributes?.metadata?.blockVisibility;if(!0===n)return!1;if("object"!=typeof n)return!1;const r=n.viewport;return!(!r||"object"!=typeof r||!o.d.some(([,{key:e}])=>e===t)||!1!==r[t])}(e,t)).length;return 0!==n&&(n===e.length||null)}function c(e){if(!e?.length)return!1;const t=e.filter(e=>e&&!1===e.attributes?.metadata?.blockVisibility).length;return 0!==t&&(t===e.length||null)}},88700(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(18335),o=n(54646),i=n(27953),s=n(2376),a=n(92829),l=n(28755),c=n(87761),u=n(79027),d=n(19623),f=n(25552),p=n(61924),h=n(35453),g=n(93236);function m({clientIds:e}){const t=(0,s.useRef)(!1),[n]=(0,h.t)("blockVisibility.allowEditing"),{canToggleBlockVisibility:m,areBlocksHiddenAnywhere:v}=(0,d.A)(t=>{const{getBlocksByClientId:n,getBlockName:r,isBlockHiddenAnywhere:o}=(0,p.T)(t(f.M));return{canToggleBlockVisibility:n(e).every(({clientId:e})=>(0,c.pN)(r(e),"visibility",!0)),areBlocksHiddenAnywhere:e?.every(e=>o(e))}},[e]),b=(0,u.A)(f.M);if((0,s.useEffect)(()=>{v&&(t.current=!0)},[v]),!1===n)return null;if(!v&&!t.current)return null;const{showViewportModal:y}=(0,p.T)(b);return(0,g.jsx)(i.A,{className:"block-editor-block-visibility-toolbar",children:(0,g.jsx)(o.A,{disabled:!m,icon:v?l.A:a.A,label:v?(0,r.__)("Hidden"):(0,r.__)("Visible"),onClick:()=>y(e),"aria-haspopup":"dialog"})})}},54282(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(43192),i=n(2376),s=n(18335),a=n(13109),l=n(60167),c=n(66786),u=n(26068),d=n(93236);function f({rootClientId:e,className:t,onFocus:n,tabIndex:i,onSelect:c},f){return(0,d.jsx)(u,{position:"bottom center",rootClientId:e,__experimentalIsQuick:!0,onSelectOrClose:(...e)=>{c&&"function"==typeof c&&c(...e)},renderToggle:({onToggle:e,disabled:c,isOpen:u,blockTitle:p,hasSingleBlockType:h,appenderLabel:g})=>{const m=!h;let v;return v=g||(h?(0,s.nv)(
129 // translators: %s: the name of the block when there is only one
130 // translators: %s: the name of the block when there is only one
131 (0,s._x)("Add %s","directly add the only allowed block"),p.toLowerCase()):(0,s._x)("Add block","Generic label for block inserter button")),(0,d.jsx)(o.A,{__next40pxDefaultSize:!0,ref:f,onFocus:n,tabIndex:i,className:(0,r.A)(t,"block-editor-button-block-appender"),onClick:e,"aria-haspopup":m?"true":void 0,"aria-expanded":m?u:void 0,disabled:c,label:v,showTooltip:!0,children:(0,d.jsx)(a.A,{icon:l.A})})},isAppender:!0})}(0,i.forwardRef)((e,t)=>((0,c.A)("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender",since:"5.9"}),f(e,t)));var p=(0,i.forwardRef)(f)},25126(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(63684).QJ)(Symbol("NoteIconSlotFill"))},85288(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(63684).QJ)(Symbol("NoteIconToolbarSlotFill"))},46637(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(26068),o=(0,n(90735).A)(r)},90735(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(94081),o=n(35453),i=n(93236),s=(0,r.f)(e=>function(t){const[n,r,s,a,l]=(0,o.t)("color.palette.default","color.palette.theme","color.palette.custom","color.custom","color.defaultPalette"),c=l?[...r||[],...n||[],...s||[]]:[...r||[],...s||[]],{colors:u=c,disableCustomColors:d=!a}=t,f=u&&u.length>0||!d;return(0,i.jsx)(e,{...{...t,colors:u,disableCustomColors:d,hasColorsToChoose:f}})},"withColorContext")},76550(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(18335),i=n(35453);function s(){const[e,t,n,s,a,l,c,u,d,f]=(0,i.t)("color.custom","color.palette.custom","color.palette.theme","color.palette.default","color.defaultPalette","color.customGradient","color.gradients.custom","color.gradients.theme","color.gradients.default","color.defaultGradients"),p={disableCustomColors:!e,disableCustomGradients:!l};return p.colors=(0,r.useMemo)(()=>{const e=[];return n&&n.length&&e.push({name:(0,o._x)("Theme","Indicates this palette comes from the theme."),slug:"theme",colors:n}),a&&s&&s.length&&e.push({name:(0,o._x)("Default","Indicates this palette comes from WordPress."),slug:"default",colors:s}),t&&t.length&&e.push({name:(0,o._x)("Custom","Indicates this palette is created by the user."),slug:"custom",colors:t}),e},[t,n,s,a]),p.gradients=(0,r.useMemo)(()=>{const e=[];return u&&u.length&&e.push({name:(0,o._x)("Theme","Indicates this palette comes from the theme."),slug:"theme",gradients:u}),f&&d&&d.length&&e.push({name:(0,o._x)("Default","Indicates this palette comes from WordPress."),slug:"default",gradients:d}),c&&c.length&&e.push({name:(0,o._x)("Custom","Indicates this palette is created by the user."),slug:"custom",gradients:c}),e},[c,u,d,f]),p.hasColorsOrGradients=!!p.colors.length||!!p.gradients.length,p}},49068(e,t,n){"use strict";n.d(t,{MK:()=>r.MK,cr:()=>r.cr,tQ:()=>r.tQ});var r=n(73291)},73291(e,t,n){"use strict";n.d(t,{MK:()=>a,cr:()=>l,tQ:()=>c});var r=n(63270),o=n(93295),i=n(96089),s=n(21123);(0,r.X$)([o.A,i.A]);var a=(e,t,n)=>{if(t){const n=e?.find(e=>e.slug===t);if(n)return n}return{color:n}},l=(e,t)=>e?.find(e=>e.color===t);function c(e,t){if(e&&t)return`has-${(0,s.k)(t)}-${e}`}},94800(e,t,n){"use strict";n.d(t,{v:()=>a});var r=n(96089),o=n(93295),i=n(63270),s=n(18335);n(36331),n(93236);function a({backgroundColor:e,fallbackBackgroundColor:t,fallbackTextColor:n,fallbackLinkColor:r,fontSize:o,isLargeText:a,textColor:l,linkColor:c,messageOverride:u,enableAlphaChecker:d=!1}){const f=e||t;if(!f)return null;const p=l||n,h=c||r;if(!p&&!h)return null;const g=[{color:p,description:(0,s.__)("text color")},{color:h,description:(0,s.__)("link color")}],m=(0,i.Mj)(f),v=m.alpha()<1,b=m.brightness(),y={level:"AA",size:a||!1!==a&&o>=24?"large":"small"};let k="",x="";for(const e of g){if(!e.color)continue;const t=(0,i.Mj)(e.color),n=t.isReadable(m,y),r=t.alpha()<1;if(!n){if(v||r)continue;if(u){k=u,x=u;break}k=b<t.brightness()?(0,s.nv)(
132 // translators: %s is a type of text color, e.g., "text color" or "link color".
133 // translators: %s is a type of text color, e.g., "text color" or "link color".
134 (0,s.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter %s."),e.description):(0,s.nv)(
135 // translators: %s is a type of text color, e.g., "text color" or "link color".
136 // translators: %s is a type of text color, e.g., "text color" or "link color".
137 (0,s.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker %s."),e.description),x=(0,s.__)("This color combination may be hard for people to read.");break}r&&d&&(k=(0,s.__)("Transparent text may be hard for people to read."),x=(0,s.__)("Transparent text may be hard for people to read."))}return k?{message:k,speakMessage:x}:null}(0,i.X$)([o.A,r.A])},47102(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(79027),o=n(19623),i=n(87761),s=n(54646),a=n(27953),l=n(22711),c=n(36092),u=n(56969),d=n(23301),f=n(18335),p=n(31316),h=n(25552),g=n(64764),m=n(93236),v={group:{type:"constrained"},row:{type:"flex",flexWrap:"nowrap"},stack:{type:"flex",orientation:"vertical"},grid:{type:"grid"}};var b=function(){const{blocksSelection:e,clientIds:t,groupingBlockName:n,isGroupable:b}=(0,p.A)(),{replaceBlocks:y}=(0,r.A)(h.M),{canRemove:k,variations:x}=(0,o.A)(e=>{const{canRemoveBlocks:r}=e(h.M),{getBlockVariations:o}=e(i.M_);return{canRemove:r(t),variations:o(n,"transform")}},[t,n]),w=r=>{const o=(0,g.m)(e,n);"string"!=typeof r&&(r="group"),o&&o.length>0&&(o[0].attributes.layout=v[r],y(t,o))};if(!b||!k)return null;const _=!!x.find(({name:e})=>"group-row"===e),A=!!x.find(({name:e})=>"group-stack"===e),S=!!x.find(({name:e})=>"group-grid"===e);return(0,m.jsxs)(a.A,{children:[(0,m.jsx)(s.A,{icon:c.A,label:(0,f._x)("Group","action: convert blocks to group"),onClick:w}),_&&(0,m.jsx)(s.A,{icon:u.A,label:(0,f._x)("Row","action: convert blocks to row"),onClick:()=>w("row")}),A&&(0,m.jsx)(s.A,{icon:d.A,label:(0,f._x)("Stack","action: convert blocks to stack"),onClick:()=>w("stack")}),S&&(0,m.jsx)(s.A,{icon:l.A,label:(0,f._x)("Grid","action: convert blocks to grid"),onClick:()=>w("grid")})]})}},31316(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(87761),o=n(19623),i=n(25552);function s(e){return(0,o.A)(t=>{const{getBlocksByClientId:n,getSelectedBlockClientIds:o,isUngroupable:s,isGroupable:a}=t(i.M),{getGroupingBlockName:l,getBlockType:c}=t(r.M_),u=e?.length?e:o(),d=n(u),[f]=d,p=1===u.length&&s(u[0]);return{clientIds:u,isGroupable:a(u),isUngroupable:p,blocksSelection:d,groupingBlockName:l(),onUngroup:p&&c(f.name)?.transforms?.ungroup}},[e])}},88037(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(18335),i=n(28520),s=n(79027),a=n(19623),l=n(8312),c=n(26068),u=n(25552),d=n(93236);function f({rootClientId:e}){const{showPrompt:t,isLocked:n,placeholder:f,isManualGrid:p}=(0,a.A)(t=>{const{getBlockCount:n,getSettings:r,getTemplateLock:o,getBlockAttributes:i}=t(u.M),s=!n(e),{bodyPlaceholder:a}=r();return{showPrompt:s,isLocked:!!o(e),placeholder:a,isManualGrid:i(e)?.layout?.isManualPlacement}},[e]),{insertDefaultBlock:h,startTyping:g}=(0,s.A)(u.M);if(n||p)return null;const m=(0,i.S)(f)||(0,o.__)("Type / to choose a block"),v=()=>{h(void 0,e),g()};return(0,d.jsxs)("div",{"data-root-client-id":e||"",className:(0,r.A)("block-editor-default-block-appender",{"has-visible-prompt":t}),children:[(0,d.jsx)("p",{tabIndex:"0",role:"button","aria-label":(0,o.__)("Add default block"),className:"block-editor-default-block-appender__content",onKeyDown:e=>{l.Fm!==e.keyCode&&l.t6!==e.keyCode||v()},onClick:()=>v(),onFocus:()=>{t&&v()},children:t?m:"\ufeff"}),(0,d.jsx)(c,{rootClientId:e,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0})]})}},13034(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(54646),o=n(32383),i=n(26075),s=n(26068),a=n(57655),l=n(18335),c=n(8312),u=n(13109),d=n(59949),f=n(41740),p=n(93236);var h=function e({id:t,colorPalette:n,duotonePalette:h,disableCustomColors:g,disableCustomDuotone:m,value:v,selectedSlug:b,onChange:y}){let k;k="unset"===v?(0,p.jsx)(o.A,{className:"block-editor-duotone-control__unset-indicator"}):v?(0,p.jsx)(s.DuotoneSwatch,{values:v}):(0,p.jsx)(u.A,{icon:d.A});const x=(0,l.__)("Apply duotone filter"),w=`${(0,f.A)(e,"duotone-control",t)}__description`;return(0,p.jsx)(i.A,{popoverProps:{className:"block-editor-duotone-control__popover",headerTitle:(0,l.__)("Duotone")},renderToggle:({isOpen:e,onToggle:t})=>(0,p.jsx)(r.A,{showTooltip:!0,onClick:t,"aria-haspopup":"true","aria-expanded":e,onKeyDown:n=>{e||n.keyCode!==c.PX||(n.preventDefault(),t())},label:x,icon:k}),renderContent:()=>(0,p.jsxs)(a.A,{label:(0,l.__)("Duotone"),children:[(0,p.jsx)("p",{children:(0,l.__)("Create a two-tone color effect without losing your original image.")}),(0,p.jsx)(s.DuotonePicker,{"aria-label":x,"aria-describedby":w,colorPalette:n,duotonePalette:h,disableCustomColors:g,disableCustomDuotone:m,value:v,selectedSlug:b,onChange:y})]})})}},67524(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(63270),o=n(93295),i=n(96089),s=n(65334),a=n(2376),l=n(19623),c=n(30570),u=n(25552),d=n(61924),f=n(93236);function p(e,t){return(0,a.useCallback)(e=>{if(!e)return;const{ownerDocument:n}=e,{defaultView:o,body:i}=n,s=t?n.querySelector(t):i;let a;if(s)a=o?.getComputedStyle(s,null).getPropertyValue("background-color");else{const e=n.createElement("div");e.classList.add("editor-styles-wrapper"),i.appendChild(e),a=o?.getComputedStyle(e,null).getPropertyValue("background-color"),i.removeChild(e)}const l=(0,r.Mj)(a);l.luminance()>.5||0===l.alpha()?i.classList.remove("is-dark-theme"):i.classList.add("is-dark-theme")},[e,t])}(0,r.X$)([o.A,i.A]);var h=(0,a.memo)(function({styles:e,scope:t,transformOptions:n}){const r=(0,l.A)(e=>(0,d.T)(e(u.M)).getStyleOverrides(),[]),[o,i]=(0,a.useMemo)(()=>{const o=Object.values(e??[]),i=[...r.filter(([,e])=>"custom-css"!==e?.__unstableType),...r.filter(([,e])=>"custom-css"===e?.__unstableType)];for(const[e,t]of i){const n=o.findIndex(({id:t})=>e===t),r={...t,id:e};-1===n?o.push(r):o[n]=r}return[(0,c.A)(o.filter(e=>e?.css),t,n),o.filter(e=>"svgs"===e.__unstableType).map(e=>e.assets).join("")]},[e,r,t,n]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{ref:p(o,t)}),o.map((e,t)=>(0,f.jsx)("style",{children:e},t)),(0,f.jsx)(s.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 0 0",width:"0",height:"0",role:"none",style:{visibility:"hidden",position:"absolute",left:"-9999px",overflow:"hidden"},dangerouslySetInnerHTML:{__html:i}})]})})},22490(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(18335),i=n(13440),s=n(36331),a=n(93236);function l(){const e=(0,o.__)("The text may be too small to read. Consider using a larger container or less text.");return(0,r.useEffect)(()=>{(0,s.L)(e)},[e]),(0,a.jsx)("div",{className:"block-editor-fit-text-size-warning",children:(0,a.jsx)(i.A,{spokenMessage:null,status:"warning",isDismissible:!1,children:e})})}},43794(e,t,n){"use strict";n.d(t,{t4:()=>r.t4});var r=n(64137)},64137(e,t,n){"use strict";n.d(t,{ny:()=>o,t4:()=>i});var r=n(21123),o=(e,t,n)=>{if(t){const n=e?.find(({slug:e})=>e===t);if(n)return n}return{size:n}};function i(e){if(e)return`has-${(0,r.k)(e)}-font-size`}},42974(e,t,n){"use strict";n.d(t,{hL:()=>a});var r=n(2376),o=n(19623),i=n(87761),s=(n(18335),n(61924));function a(e,t,n){const{supportedStyles:a,supports:l}=(0,o.A)(e=>({supportedStyles:(0,s.T)(e(i.M_)).getSupportedStyles(t,n),supports:e(i.M_).getBlockType(t)?.supports}),[t,n]);return(0,r.useMemo)(()=>{const t={...e};return a.includes("fontSize")||(t.typography={...t.typography,fontSizes:{},customFontSize:!1,defaultFontSizes:!1}),a.includes("fontFamily")||(t.typography={...t.typography,fontFamilies:{}}),t.color={...t.color,text:t.color?.text&&a.includes("color"),background:t.color?.background&&(a.includes("background")||a.includes("backgroundColor")),button:t.color?.button&&a.includes("buttonColor"),heading:t.color?.heading&&a.includes("headingColor"),link:t.color?.link&&a.includes("linkColor"),caption:t.color?.caption&&a.includes("captionColor")},a.includes("background")||a.includes("backgroundGradient")||(t.color.gradients=[],t.color.customGradient=!1),a.includes("filter")||(t.color.defaultDuotone=!1,t.color.customDuotone=!1),["lineHeight","fontStyle","fontWeight","letterSpacing","textAlign","textTransform","textDecoration","textIndent","writingMode"].forEach(e=>{a.includes(e)||(t.typography={...t.typography,[e]:!1})}),a.includes("textIndent")&&(t.typography={...t.typography,textIndent:t.typography?.textIndent??"subsequent"}),a.includes("columnCount")||(t.typography={...t.typography,textColumns:!1}),["contentSize","wideSize"].forEach(e=>{a.includes(e)||(t.layout={...t.layout,[e]:!1})}),["padding","margin","blockGap"].forEach(e=>{a.includes(e)||(t.spacing={...t.spacing,[e]:!1});const n=Array.isArray(l?.spacing?.[e])?l?.spacing?.[e]:l?.spacing?.[e]?.sides;n?.length&&t.spacing?.[e]&&(t.spacing={...t.spacing,[e]:{...t.spacing?.[e],sides:n}})}),["aspectRatio","height","minHeight","minWidth","width"].forEach(e=>{a.includes(e)||(t.dimensions={...t.dimensions,[e]:!1})}),["radius","color","style","width"].forEach(e=>{a.includes("border"+e.charAt(0).toUpperCase()+e.slice(1))||(t.border={...t.border,[e]:!1})}),[["backgroundImage","backgroundImage"],["backgroundSize","backgroundSize"],["backgroundGradient","gradient"]].forEach(([e,n])=>{a.includes(e)||(t.background={...t.background,[n]:!1})}),t.shadow=!!a.includes("shadow")&&t.shadow,t},[e,a,l])}},85279(e,t,n){"use strict";n.d(t,{LF:()=>r});n(18335),n(93236);var r=()=>!!window.__experimentalGlobalStylesInheritanceUI},19990(e,t,n){"use strict";n.d(t,{j:()=>k});var r=n(2376),o=n(19623),i=n(87761),s=n(14259),a=n(25552),l=n(12634),c=n(992),u=n(3217),d=n(57611),f=n(61924),p=n(85279),{resolveStyle:h}=(0,f.T)(s.j),g={value:void 0,sources:void 0};var m={"core/accordion-heading":{contextKey:"core/accordion-heading-level",fallbackLevel:3}};function v(e,t,n){const r=m[e];return r?t||n||r.fallbackLevel:t}function b(e,t){switch(e){case"core/button":return["button"];case"core/accordion-heading":case"core/heading":case"core/post-title":case"core/site-title":case"core/query-title":case"core/comments-title":case"core/term-name":case"core/site-tagline":return 0===t?[]:t?["heading",`h${t}`]:["heading"];case"core/read-more":case"core/loginout":case"core/post-navigation-link":case"core/query-pagination-next":case"core/query-pagination-previous":case"core/query-pagination-numbers":case"core/comments-pagination-next":case"core/comments-pagination-previous":case"core/comments-pagination-numbers":case"core/comment-edit-link":case"core/comment-reply-link":case"core/post-comments-link":return["link"];default:return[]}}function y(e,t){const{clientId:n}=(0,u.m_)(),s=function(e){const t=(0,r.useContext)(d.A),n=m[e]?.contextKey;return n?t[n]:void 0}(e);return(0,o.A)(r=>{if(!e)return{variationName:null,headingLevel:void 0};const o=r(i.M_).getBlockStyles(e),{level:l}=r(a.M).getBlockAttributes(n)||{};return{variationName:t?(0,c.$3)(t,o):null,headingLevel:v(e,l,s)}},[e,t,n,s])}function k(e,t,n=null){const{variationName:i,headingLevel:s}=y(e,t),c=function(){const{rawGlobalStylesData:e,links:t}=(0,o.A)(e=>{const t=e(a.M).getSettings();return{rawGlobalStylesData:t[l.Fr]??null,links:t[l.mE]??null}},[]);return(0,r.useMemo)(()=>e?{styles:e,_links:t??void 0}:null,[e,t])}();return(0,r.useMemo)(()=>(0,p.LF)()?e?h(c,{blockName:e,variationName:i,elements:b(e,s),viewport:n?.viewport??null,pseudoState:n?.pseudo??null}):{value:{},sources:{}}:g,[e,i,s,c,n])}},61973(e,t,n){"use strict";n.d(t,{DN:()=>o,T9:()=>s,q1:()=>i});var r=n(27319);function o(){return(0,r.A)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}function i(e,t){if(!e||!t)return t;const n=e.split(","),r=t.split(","),o=[];return n.forEach(e=>{r.forEach(t=>{o.push(`${e.trim()} ${t.trim()}`)})}),o.join(", ")}function s(e){if("string"!=typeof e)return;const[,t]=e.match(/^var:preset\|duotone\|(.+)$/)??[];return t}},27053(e,t,n){"use strict";n.d(t,{tA:()=>r});n(25552);function r(e){if(e)return`has-${e}-gradient-background`}},66172(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(18335),o=n(54446),i=n(13440),s=n(69919),a=n(19623),l=n(25552),c=n(86100),u=n(93236);function d({tagName:e,onChange:t,clientId:n,options:d=[{label:(0,r.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}]}){const f=!!n&&d.some(e=>"main"===e.value),p=(0,a.A)(e=>{if(!f)return!1;const{getClientIdsWithDescendants:t,getBlockAttributes:r}=e(l.M);return t().some(e=>e!==n&&"main"===r(e)?.tagName)},[n,f]),h=d.map(t=>"main"===t.value&&p&&"main"!==e?{...t,disabled:!0,label:(0,r.nv)(
138 /* translators: %s: HTML element name */
139 /* translators: %s: HTML element name */
140 (0,r.__)("%s (Already in use)"),t.label)}:t);return(0,u.jsxs)(o.A,{spacing:2,className:"block-editor-html-element-control",children:[(0,u.jsx)(s.A,{label:(0,r.__)("HTML element"),options:h,value:e,onChange:t,help:c.y[e]}),"main"===e&&p&&(0,u.jsx)(i.A,{status:"warning",isDismissible:!1,children:(0,r.__)("Multiple <main> elements detected. The duplicate may be in your content or template. This is not valid HTML and may cause accessibility issues. Please change this HTML element.")})]})}},86100(e,t,n){"use strict";n.d(t,{y:()=>o});var r=n(18335),o={a:(0,r.__)("The <a> element should be used for links that navigate to a different page or to a different section within the same page."),article:(0,r.__)("The <article> element should represent a self-contained, syndicatable portion of the document."),aside:(0,r.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),button:(0,r.__)("The <button> element should be used for interactive controls that perform an action on the current page, such as opening a modal or toggling content visibility."),div:(0,r.__)("The <div> element should only be used if the block is a design element with no semantic meaning."),footer:(0,r.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.)."),header:(0,r.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids."),main:(0,r.__)("The <main> element should be used for the primary content of your document only."),nav:(0,r.__)("The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation."),section:(0,r.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")}},85223(e,t,n){"use strict";n.d(t,{EW:()=>p.EW,LE:()=>i.AlignmentControl,LJ:()=>v.A,MK:()=>r.MK,Pe:()=>y.A,Q8:()=>d.A,RD:()=>h.R,Tj:()=>l.A,Z0:()=>m.Z,aX:()=>p.aX,cr:()=>r.cr,m9:()=>g.Ay,mC:()=>s.A,mF:()=>u.A,oS:()=>x.Ay,qJ:()=>f.A,rE:()=>a.A,s1:()=>c.A,sD:()=>p.Ay,t0:()=>w.t,t4:()=>o.t4,tQ:()=>r.tQ,us:()=>b.Ay,wp:()=>k.w,yK:()=>l.y});var r=n(49068),o=n(43794),i=n(26068),s=n(65562),a=n(46637),l=n(33927),c=n(59798),u=n(29900),d=n(74618),f=n(11502),p=n(78896),h=n(23722),g=n(78916),m=n(12257),v=n(13931),b=n(88236),y=n(93281),k=n(90376),x=n(81779),w=n(35453)},7411(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(13022),o=n(54282),i=n(3217),s=n(93236);function a({showSeparator:e,isFloating:t,onAddBlock:n,isToggle:a}){const{clientId:l}=(0,i.m_)();return(0,s.jsx)(o.A,{className:(0,r.A)({"block-list-appender__toggle":a}),rootClientId:l,showSeparator:e,isFloating:t,onAddBlock:n})}},83916(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(88037),o=n(3217),i=n(93236);function s(){const{clientId:e}=(0,o.m_)();return(0,i.jsx)(r.A,{rootClientId:e})}},33927(e,t,n){"use strict";n.d(t,{A:()=>T,y:()=>E});var r=n(13022),o=n(43730),i=n(2376),s=n(19623),a=n(87761),l=n(7411),c=n(83916),u=n(450),d=n(71228),f=n(98392),p=n(78916),h=n(57611),g=n(3217),m=n(13006),v=n(25552),b=n(30186),y=n(61924),k=n(93236),x={};function w({children:e,clientId:t}){const n=(0,f.A)(t);return(0,k.jsx)(h._,{value:n,children:e})}var _=(0,i.memo)(p.Ei);function A(e){const{clientId:t,allowedBlocks:n,prioritizedInserterBlocks:r,defaultBlock:o,directInsert:s,__experimentalDefaultBlock:l,__experimentalDirectInsert:c,template:f,templateLock:p,wrapperRef:h,templateInsertUpdatesSelection:g,__experimentalCaptureToolbars:m,__experimentalAppenderTagName:v,renderAppender:b,orientation:y,placeholder:A,layout:S,name:C,blockType:E,parentLock:T,defaultLayout:I}=e;(0,u.A)(t,T,n,r,o,s,l,c,p,m,y,S),(0,d.A)(t,f,p,g);const j=(0,a.bI)(C,"layout")||(0,a.bI)(C,"__experimentalLayout")||x,{allowSizingOnChildren:B=!1}=j,N=S||j.default||x,M=(0,i.useMemo)(()=>({...I,...N,...B&&{allowSizingOnChildren:!0}}),[I,N,B]),R=(0,k.jsx)(_,{rootClientId:t,renderAppender:b,__experimentalAppenderTagName:v,layout:M,wrapperRef:h,placeholder:A});return E?.providesContext&&0!==Object.keys(E.providesContext).length?(0,k.jsx)(w,{clientId:t,children:R}):R}function S(e){return(0,m.A)(e),(0,k.jsx)(A,{...e})}var C=(0,i.forwardRef)((e,t)=>{const n=E({ref:t},e);return(0,k.jsx)("div",{className:"block-editor-inner-blocks",children:(0,k.jsx)("div",{...n})})});function E(e={},t={}){const{__unstableDisableLayoutClassNames:n,__unstableDisableDropZone:i,dropZoneElement:l,layout:c}=t,{clientId:u,layout:d=null,__unstableLayoutClassNames:f=""}=(0,g.m_)(),h=c??d,m=(0,s.A)(e=>{const{getBlockName:t,isZoomOut:n,getTemplateLock:r,getBlockRootClientId:o,getBlockEditingMode:i,getBlockSettings:s,getSectionRootClientId:l}=(0,y.T)(e(v.M));if(!u){const e=l();return{isDropZoneDisabled:n()&&""!==e}}const{hasBlockSupport:c,getBlockType:d}=e(a.M_),f=t(u),p=i(u),h=o(u),[g]=s(u,"layout");let m="disabled"===p;if(n()){const e=l();m=u!==e}return{__experimentalCaptureToolbars:c(f,"__experimentalExposeControlsToChildren",!1),name:f,blockType:d(f),parentLock:r(h),parentClientId:h,isDropZoneDisabled:m,defaultLayout:g}},[u]),{__experimentalCaptureToolbars:x,name:w,blockType:_,parentLock:C,parentClientId:E,isDropZoneDisabled:T,defaultLayout:I}=m,j=(0,b.Ay)({dropZoneElement:l,rootClientId:u,parentClientId:E}),B=(0,o.A)([e.ref,i||T||h?.isManualPlacement&&window.__experimentalEnableGridInteractivity?null:j]),N={__experimentalCaptureToolbars:x,layout:h,name:w,blockType:_,parentLock:C,defaultLayout:I,...t},M=N.value&&N.onChange?S:A;return{...e,ref:B,className:(0,r.A)(e.className,"block-editor-block-list__layout",n?"":f),children:u?(0,k.jsx)(M,{...N,clientId:u}):(0,k.jsx)(p.Ei,{...t})}}E.save=a.v9,C.DefaultBlockAppender=c.A,C.ButtonBlockAppender=l.A,C.Content=()=>E.save().children;var T=C},98392(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(87761),o=n(19623),i=n(25552);function s(e){return(0,o.A)(t=>{const n=t(i.M).getBlock(e);if(!n)return;const o=t(r.M_).getBlockType(n.name);return o&&0!==Object.keys(o.providesContext).length?Object.fromEntries(Object.entries(o.providesContext).map(([e,t])=>[e,n.attributes[t]])):void 0},[e])}},71228(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(64168),o=n(2376),i=n(65627),s=n(87761),a=n(66786),l=n(25552);function c(e,t,n,c){void 0!==t&&(0,a.A)("The template prop of InnerBlocks and useInnerBlocksProps",{since:"7.2",alternative:"a `template` declared in the block type settings"}),void 0!==c&&(0,a.A)("The templateInsertUpdatesSelection prop of InnerBlocks and useInnerBlocksProps",{since:"7.2",alternative:"`templateInsertUpdatesSelection` declared in the block type settings"});const u=(0,i.A)(),d=(0,o.useRef)(null);(0,o.useLayoutEffect)(()=>{let o=!1;const{getBlockName:i,getBlocks:a,getSelectedBlocksInitialCaretPosition:f,isBlockSelected:p}=u.select(l.M),{replaceInnerBlocks:h,__unstableMarkNextChangeAsNotPersistent:g}=u.dispatch(l.M);return window.queueMicrotask(()=>{if(o)return;let l=t,u=c;if(void 0===t){const t=(0,s.E7)(i(e));l=t?.template,u=t?.templateInsertUpdatesSelection}const m=a(e),v=r(l,d.current);if(!(0===m.length||"all"===n||"contentOnly"===n)||v)return;d.current=l;const b=(0,s.Nk)(m,l);r(b,m)||(g({history:"ignore"}),h(e,b,0===m.length&&u&&0!==b.length&&p(e),f()))}),()=>{o=!0}},[t,n,e,u,c])}},450(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(2376),o=n(65627),i=n(66786),s=n(3007),a=n(25552),l=n(95350),c=new WeakMap;function u(){let e;return t=>(void 0!==e&&(0,s.hw)(e,t)||(e=t),e)}function d(e){const[t]=(0,r.useState)(u);return t(e)}function f(e,t,n,s,u,f,p,h,g,m,v,b){const y=(0,o.A)(),k=d(n),x=d(s),w=void 0===g||"contentOnly"===t?t:g;(0,r.useLayoutEffect)(()=>{const t={allowedBlocks:k,prioritizedInserterBlocks:x,templateLock:w};if(void 0!==m&&(t.__experimentalCaptureToolbars=m),void 0!==v)t.orientation=v;else{const e=(0,l.N)(b?.type);t.orientation=e.getOrientation(b)}void 0!==p&&((0,i.A)("__experimentalDefaultBlock",{alternative:"defaultBlock",since:"6.3",version:"6.4"}),t.defaultBlock=p),void 0!==u&&(t.defaultBlock=u),void 0!==h&&((0,i.A)("__experimentalDirectInsert",{alternative:"directInsert",since:"6.3",version:"6.4"}),t.directInsert=h),void 0!==f&&(t.directInsert=f),void 0!==t.directInsert&&"boolean"!=typeof t.directInsert&&(0,i.A)("Using `Function` as a `directInsert` argument",{alternative:"`boolean` values",since:"6.5"}),c.get(y)||c.set(y,{}),c.get(y)[e]=t,window.queueMicrotask(()=>{const e=c.get(y);if(Object.keys(e).length){const{updateBlockListSettings:t}=y.dispatch(a.M);t(e),c.set(y,{})}})},[e,k,x,w,u,f,p,h,m,v,b,y])}},5994(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(2376),o=n(39546),i=n(19626),s=n(19623),a=n(38569),l=n(25552),c=n(46107),u=n(59402),d=n(93236),f="wp-inner-block-slot",p={type:"default",alignments:[]};function h({clientId:e}){const{innerContent:t,order:n,selectedClientIds:h}=(0,s.A)(t=>{const{getBlock:n,getBlockOrder:r,getSelectedBlockClientIds:o}=t(l.M);return{innerContent:n(e)?.innerContent,order:r(e),selectedClientIds:o()}},[e]),g=(0,r.useMemo)(()=>{let e=0;return(t??[]).map(t=>null===t?`<${f} data-slot-index="${e++}" style="display: contents"></${f}>`:t).join("")},[t]),m=(0,r.useRef)(),[v,b]=(0,r.useState)([]);return(0,r.useLayoutEffect)(()=>{const e=m.current;e.innerHTML=(0,a.A)(g),b(Array.from(e.querySelectorAll(f)).sort((e,t)=>Number(e.dataset.slotIndex)-Number(t.dataset.slotIndex)))},[g]),(0,d.jsxs)(u.UY,{value:p,children:[(0,d.jsx)("div",{ref:m,className:"block-editor-inner-content",style:{display:"contents"}}),n.map((t,n)=>v[n]?(0,o.d5)((0,d.jsx)(i.Ay,{value:!h.includes(t),children:(0,d.jsx)(c.A,{rootClientId:e,clientId:t})}),v[n],t):null)]})}},87717(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(30335),o=n(87761),i=n(79027),s=n(19623),a=n(2376),l=n(23494),c=n(32903),u=n(25552),d=n(61924),f=n(93236),p=({isEnabled:e,blocks:t,icon:n,children:p,pattern:h})=>{const g=1===t.length?t[0].name:void 0,m=(0,s.A)(e=>g&&e(o.M_).getBlockType(g)?.icon,[g]),{startDragging:v,stopDragging:b}=(0,d.T)((0,i.A)(u.M)),y=(0,a.useMemo)(()=>h?.type===c.KG.user&&"unsynced"!==h?.syncStatus?[(0,o.Wv)("core/block",{ref:h.id})]:void 0,[h?.type,h?.syncStatus,h?.id]);if(!e)return p({draggable:!1,onDragStart:void 0,onDragEnd:void 0});const k=y??t;return(0,f.jsx)(r.A,{__experimentalTransferDataType:"wp-blocks",transferData:{type:"inserter",blocks:k},onDragStart:e=>{v();const t=new Set;for(const n of k){const r=`wp-block:${n.name}`;t.has(r)||(e.dataTransfer.items.add("",r),t.add(r))}},onDragEnd:()=>{b()},__experimentalDragComponent:(0,f.jsx)(l.A,{count:t.length,icon:n||!h&&m,isPattern:!!h}),children:({onDraggableStart:e,onDraggableEnd:t})=>p({draggable:!0,onDragStart:e,onDragEnd:t})})}},32581(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(2376),i=n(87761),s=n(39927),a=n(8312),l=n(50017),c=n(3399),u=n(15843),d=n(87717),f=n(93236);var p=(0,o.memo)(function({className:e,isFirst:t,item:n,onSelect:p,onHover:h,isDraggable:g,...m}){const v=(0,o.useRef)(!1),b=n.icon?{backgroundColor:n.icon.background,color:n.icon.foreground}:{},y=(0,o.useMemo)(()=>[(0,i.Wv)(n.name,n.initialAttributes,(0,i.to)(n.innerBlocks),n.innerContent)],[n.name,n.initialAttributes,n.innerBlocks,n.innerContent]),k=(0,i.tk)(n)&&"unsynced"!==n.syncStatus||(0,i.gc)(n);return(0,f.jsx)(d.A,{isEnabled:g&&!n.isDisabled,blocks:y,icon:n.icon,children:({draggable:o,onDragStart:i,onDragEnd:d})=>(0,f.jsx)("div",{className:(0,r.A)("block-editor-block-types-list__list-item",{"is-synced":k}),draggable:o,onDragStart:e=>{v.current=!0,i&&(h(null),i(e))},onDragEnd:e=>{v.current=!1,d&&d(e)},children:(0,f.jsxs)(u.A,{isFirst:t,className:(0,r.A)("block-editor-block-types-list__item",e),disabled:n.isDisabled,onClick:e=>{e.preventDefault(),p(n,(0,l.H)()?e.metaKey:e.ctrlKey),h(null)},onKeyDown:e=>{const{keyCode:t}=e;t===a.Fm&&(e.preventDefault(),p(n,(0,l.H)()?e.metaKey:e.ctrlKey),h(null))},onMouseEnter:()=>{v.current||h(n)},onMouseLeave:()=>h(null),...m,children:[(0,f.jsx)("span",{className:"block-editor-block-types-list__item-icon",style:b,children:(0,f.jsx)(c.A,{icon:n.icon,showColors:!0})}),(0,f.jsx)("span",{className:"block-editor-block-types-list__item-title",children:(0,f.jsx)(s.A,{numberOfLines:3,children:n.title})})]})})})})},28383(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(2376),o=n(18335),i=n(36331),s=n(93236);var a=(0,r.forwardRef)(function(e,t){const[n,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{n&&(0,i.L)((0,o.__)("Use left and right arrow keys to move through blocks"))},[n]),(0,s.jsx)("div",{ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{a(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&a(!1)},...e})})},90874(e,t,n){"use strict";n.d(t,{Ay:()=>a});var r=n(67215),o=n(2376),i=n(93236);function s({key:e,children:t}){return(0,i.jsx)(o.Fragment,{children:t},e)}var a=function({children:e}){return(0,i.jsx)(r.e,{focusShift:!0,focusWrap:"horizontal",render:s,children:e})}},15843(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(43192),o=n(67215),i=n(2376),s=n(93236);var a=(0,i.forwardRef)(function({isFirst:e,as:t,children:n,...i},a){return(0,s.jsx)(o.e.Item,{ref:a,role:"option",accessibleWhenDisabled:!0,...i,render:o=>{const i={...o,tabIndex:e?0:o.tabIndex};return t?(0,s.jsx)(t,{...i,children:n}):"function"==typeof n?n(i):(0,s.jsx)(r.A,{__next40pxDefaultSize:!0,...i,children:n})}})})},65538(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(67215),i=n(93236);var s=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(o.e.Group,{role:"presentation",ref:t,...e})})},38332(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(63684),{Fill:o,Slot:i}=(0,r.QJ)("__unstableInserterMenuExtension");o.Slot=i;var s=o},33660(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(26068),o=n(2376),i=n(18335),s=n(44493),a=n(64787),l=n(91077),c=n(93236);function u({initialCategory:e,rootClientId:t,onModalClose:n}){const[i,u]=(0,o.useState)(""),[d,f]=(0,o.useState)(e?.name),p=(0,l.o)(t);return(0,c.jsxs)(r.Root,{className:"block-editor-block-patterns-explorer",orientation:"vertical",value:d,onValueChange:f,children:[(0,c.jsx)(s.A,{patternCategories:p,searchValue:i,setSearchValue:u}),p.map(({name:e})=>(0,c.jsx)(r.Panel,{value:e,tabIndex:-1,className:"block-editor-block-patterns-explorer__panel",children:(0,c.jsx)(a.A,{searchValue:i,selectedCategory:e,patternCategories:p,rootClientId:t,onModalClose:n})},e))]})}var d=function({onModalClose:e,...t}){return(0,c.jsx)(r,{title:(0,i.__)("Patterns"),onRequestClose:e,isFullScreen:!0,children:(0,c.jsx)(u,{onModalClose:e,...t})})}},44493(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(23192),o=n(9504),i=n(26068),s=n(18335),a=n(93236);var l=function({patternCategories:e,searchValue:t,setSearchValue:n}){return(0,a.jsxs)(o.B,{direction:"column",gap:"lg",className:"block-editor-block-patterns-explorer__sidebar",children:[(0,a.jsx)(r.A,{onChange:n,value:t,label:(0,s.__)("Search"),placeholder:(0,s.__)("Search")}),(0,a.jsx)(i.List,{children:e.map(({name:e,label:t})=>(0,a.jsx)(i.Tab,{value:e,children:t},e))})]})}},64787(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(2376),o=n(18335),i=n(87444),s=n(44636),a=n(36331),l=n(26880),c=n(58011),u=n(51082),d=n(73849),f=n(73656),p=n(2183),h=n(32903),g=n(93236);var m=function({searchValue:e,selectedCategory:t,patternCategories:n,rootClientId:m,onModalClose:v}){const b=(0,r.useRef)(),y=(0,i.A)(a.L,500),[k,x]=(0,c.A)({rootClientId:m,shouldFocusBlock:!0}),[w,,_]=(0,u.A)(x,k,t),A=(0,r.useMemo)(()=>n.map(e=>e.name),[n]),S=(0,r.useMemo)(()=>{const n=w.filter(e=>{if(t===h.fo.name)return!0;if(t===h.AP.name&&e.type===h.KG.user)return!0;if(t===h.v_.name&&e.blockTypes?.includes("core/post-content"))return!0;if("uncategorized"===t){const t=e.categories?.some(e=>A.includes(e))??!1;return!e.categories?.length||!t}return e.categories?.includes(t)});return e?(0,d.Ds)(n,e):n},[e,w,t,A]);(0,r.useEffect)(()=>{if(!e)return;const t=S.length,n=(0,o.nv)(
141 /* translators: %d: number of results. */
142 /* translators: %d: number of results. */
143 (0,o._n)("%d result found.","%d results found.",t),t);y(n)},[e,y,S.length]);const C=(0,p.A)(S,t,b),[E,T]=(0,r.useState)(e);e!==E&&(T(e),C.changePage(1));const I=!!S?.length;return(0,g.jsx)("div",{className:"block-editor-block-patterns-explorer__list",ref:b,children:I?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(l.A,{blockPatterns:C.categoryPatterns,onClickPattern:(e,t)=>{_(e,t),v()},isDraggable:!1}),(0,g.jsx)(f.A,{...C})]}):(0,g.jsx)(s.E,{render:(0,g.jsx)("p",{}),className:"block-editor-block-patterns-explorer__no-results",children:(0,o.__)("No results found.")})})}},12744(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(2376),o=n(27319),i=n(43192),s=n(18335),a=n(33660),l=n(16809),c=n(35855),u=n(91077),d=n(66474),f=n(4466),p=n(93236);var h=function({onSelectCategory:e,selectedCategory:t,onInsert:n,rootClientId:h,children:g}){const[m,v]=(0,r.useState)(!1),b=(0,u.o)(h),y=(0,o.A)("medium","<");return b.length?(0,p.jsxs)(p.Fragment,{children:[!y&&(0,p.jsxs)("div",{className:"block-editor-inserter__block-patterns-tabs-container",children:[(0,p.jsx)(d.A,{categories:b,selectedCategory:t,onSelectCategory:e,children:g}),(0,p.jsx)(i.A,{__next40pxDefaultSize:!0,className:"block-editor-inserter__patterns-explore-button",onClick:()=>v(!0),variant:"secondary",children:(0,s.__)("Explore all patterns")})]}),y&&(0,p.jsx)(l.A,{categories:b,children:e=>(0,p.jsx)("div",{className:"block-editor-inserter__category-panel",children:(0,p.jsx)(c.O,{onInsert:n,rootClientId:h,category:e},e.name)})}),m&&(0,p.jsx)(a.A,{initialCategory:t||b[0],patternCategories:b,onModalClose:()=>v(!1),rootClientId:h})]}):(0,p.jsx)(f.A,{})}},35855(e,t,n){"use strict";n.d(t,{O:()=>b});var r=n(2376),o=n(18335),i=n(54446),s=n(83832),a=n(13298),l=n(71837),c=n(46936),u=n(51082),d=n(26880),f=n(2183),p=n(36264),h=n(91077),g=n(32903),m=n(93236),v=()=>{};function b({rootClientId:e,onInsert:t,onHover:n=v,category:b,showTitlesAsTooltip:y}){const[k,,x]=(0,u.A)(t,e,b?.name),[w,_]=(0,r.useState)("all"),[A,S]=(0,r.useState)("all"),C=(0,h.o)(e,A),E=(0,r.useRef)(),T=(0,r.useMemo)(()=>k.filter(e=>!(0,g.o)(e,A,w)&&(b.name===g.fo.name||(b.name===g.AP.name&&e.type===g.KG.user||(!(b.name!==g.v_.name||!e.blockTypes?.includes("core/post-content"))||("uncategorized"===b.name?!e.categories||!e.categories.some(e=>C.some(t=>t.name===e)):e.categories?.includes(b.name)))))),[k,C,b.name,A,w]),I=(0,f.A)(T,b,E),{changePage:j}=I;(0,r.useEffect)(()=>()=>n(null),[]);const B=(0,r.useCallback)(e=>{_(e),j(1)},[_,j]),N=(0,r.useCallback)(e=>{S(e),j(1)},[S,j]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(i.A,{spacing:2,className:"block-editor-inserter__patterns-category-panel-header",children:[(0,m.jsxs)(s.A,{children:[(0,m.jsx)(a.A,{children:(0,m.jsx)(l.A,{className:"block-editor-inserter__patterns-category-panel-title",size:13,level:4,as:"div",children:b.label})}),(0,m.jsx)(p.Y,{patternSyncFilter:w,patternSourceFilter:A,setPatternSyncFilter:B,setPatternSourceFilter:N,scrollContainerRef:E,category:b})]}),!T.length&&(0,m.jsx)(c.A,{variant:"muted",className:"block-editor-inserter__patterns-category-no-results",children:(0,o.__)("No results found")})]}),T.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.A,{size:"12",as:"p",className:"block-editor-inserter__help-text",children:(0,o.__)("Drag and drop patterns into the canvas.")}),(0,m.jsx)(d.A,{ref:E,blockPatterns:I.categoryPatterns,onClickPattern:x,onHover:n,label:b.label,orientation:"vertical",category:b.name,isDraggable:!0,showTitlesAsTooltip:y,patternFilter:A,pagingProps:I})]})]})}},36264(e,t,n){"use strict";n.d(t,{Y:()=>m});var r=n(65334),o=n(3443),i=n(8096),s=n(57655),a=n(67276),l=n(18335),c=n(13109),u=n(2376),d=n(95596),f=n(32903),p=n(93236),h=e=>"all"!==e&&"user"!==e,g=[{value:"all",label:(0,l._x)("All","patterns")},{value:f.KG.directory,label:(0,l.__)("Pattern Directory")},{value:f.KG.theme,label:(0,l.__)("Theme & Plugins")},{value:f.KG.user,label:(0,l.__)("User")}];function m({setPatternSyncFilter:e,setPatternSourceFilter:t,patternSyncFilter:n,patternSourceFilter:m,scrollContainerRef:v,category:b}){const y=b.name===f.AP.name?f.KG.user:m,k=h(y),x=(e=>e.name===f.AP.name)(b),w=(0,u.useMemo)(()=>[{value:"all",label:(0,l._x)("All","patterns")},{value:f.XL.full,label:(0,l._x)("Synced","patterns"),disabled:k},{value:f.XL.unsynced,label:(0,l._x)("Not synced","patterns"),disabled:k}],[k]);return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(o.A,{popoverProps:{placement:"right-end"},label:(0,l.__)("Filter patterns"),toggleProps:{size:"compact"},icon:(0,p.jsx)(c.A,{icon:(0,p.jsx)(r.t4,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)(r.wA,{d:"M10 17.5H14V16H10V17.5ZM6 6V7.5H18V6H6ZM8 12.5H16V11H8V12.5Z",fill:"currentColor"})})}),children:()=>(0,p.jsxs)(p.Fragment,{children:[!x&&(0,p.jsx)(s.A,{label:(0,l.__)("Source"),children:(0,p.jsx)(a.A,{choices:g,onSelect:n=>{var r;t(r=n),h(r)&&e("all"),v.current?.scrollTo(0,0)},value:y})}),(0,p.jsx)(s.A,{label:(0,l.__)("Type"),children:(0,p.jsx)(a.A,{choices:w,onSelect:t=>{e(t),v.current?.scrollTo(0,0)},value:n})}),(0,p.jsx)("div",{className:"block-editor-inserter__patterns-filter-help",children:(0,d.A)((0,l.__)("Patterns are available from the <Link>WordPress.org Pattern Directory</Link>, bundled in the active theme, or created by users on this site. Only patterns created on this site can be synced."),{Link:(0,p.jsx)(i.A,{href:(0,l.__)("https://wordpress.org/patterns/")})})})]})})})}},91077(e,t,n){"use strict";n.d(t,{o:()=>l});var r=n(2376),o=n(18335),i=n(36331),s=n(51082),a=n(32903);function l(e,t="all"){const[n,l]=(0,s.A)(void 0,e),c=(0,r.useMemo)(()=>"all"===t?n:n.filter(e=>!(0,a.o)(e,t)),[t,n]);return(0,r.useMemo)(()=>{const e=l.filter(e=>c.some(t=>t.categories?.includes(e.name))).sort((e,t)=>e.label.localeCompare(t.label));return c.some(e=>!function(e,t){return!(!e.categories||!e.categories.length)&&e.categories.some(e=>t.some(t=>t.name===e))}(e,l))&&!e.find(e=>"uncategorized"===e.name)&&e.push({name:"uncategorized",label:(0,o._x)("Uncategorized")}),c.some(e=>e.blockTypes?.includes("core/post-content"))&&e.unshift(a.v_),c.some(e=>e.type===a.KG.user)&&e.unshift(a.AP),c.length>0&&e.unshift({name:a.fo.name,label:a.fo.label}),(0,i.L)((0,o.nv)(
144 /* translators: %d: number of categories . */
145 /* translators: %d: number of categories . */
146 (0,o._n)("%d category button displayed.","%d category buttons displayed.",e.length),e.length)),e},[l,c])}},32903(e,t,n){"use strict";n.d(t,{AP:()=>a,KG:()=>o,XL:()=>i,fo:()=>s,o:()=>c,v_:()=>l});var r=n(18335),o={user:"user",theme:"theme",directory:"directory"},i={full:"fully",unsynced:"unsynced"},s={name:"allPatterns",label:(0,r._x)("All","patterns")},a={name:"myPatterns",label:(0,r.__)("My patterns")},l={name:"core/starter-content",label:(0,r.__)("Starter content")};function c(e,t,n){const r=e.name.startsWith("core/block"),s="core"===e.source||e.source?.startsWith("pattern-directory");return!(t!==o.theme||!r&&!s)||(!(t!==o.directory||!r&&s)||(t===o.user&&e.type!==o.user||(n===i.full&&""!==e.syncStatus||!(n!==i.unsynced||"unsynced"===e.syncStatus||!r))))}},75843(e,t,n){"use strict";n.d(t,{Ay:()=>g});var r=n(18335),o=n(2376),i=n(10324),s=n(76884),a=n(44060),l=n(54906),c=n(90874),u=n(76684),d=n(4466),f=n(93236),p=[];function h({items:e,collections:t,categories:n,onSelectItem:l,onHover:c,showMostUsedBlocks:d,className:h}){const g=(0,o.useMemo)(()=>(0,u.M)(e,"frecency","desc").slice(0,6),[e]),m=(0,o.useMemo)(()=>e.filter(e=>!e.category),[e]),v=(0,o.useMemo)(()=>{const n={...t};return Object.keys(t).forEach(t=>{n[t]=e.filter(e=>(e=>e.name.split("/")[0])(e)===t),0===n[t].length&&delete n[t]}),n},[e,t]);(0,o.useEffect)(()=>()=>c(null),[]);const b=(0,i.A)(n),y=n.length===b.length,k=(0,o.useMemo)(()=>Object.entries(t),[t]),x=(0,i.A)(y?k:p);return(0,f.jsxs)("div",{className:h,children:[d&&e.length>3&&!!g.length&&(0,f.jsx)(a.A,{title:(0,r._x)("Most used","blocks"),children:(0,f.jsx)(s.A,{items:g,onSelect:l,onHover:c,label:(0,r._x)("Most used","blocks")})}),b.map(t=>{const n=e.filter(e=>e.category===t.slug);return n&&n.length?(0,f.jsx)(a.A,{title:t.title,icon:t.icon,children:(0,f.jsx)(s.A,{items:n,onSelect:l,onHover:c,label:t.title})},t.slug):null}),y&&m.length>0&&(0,f.jsx)(a.A,{className:"block-editor-inserter__uncategorized-blocks-panel",title:(0,r.__)("Uncategorized"),children:(0,f.jsx)(s.A,{items:m,onSelect:l,onHover:c,label:(0,r.__)("Uncategorized")})}),x.map(([e,t])=>{const n=v[e];return n&&n.length?(0,f.jsx)(a.A,{title:t.title,icon:t.icon,children:(0,f.jsx)(s.A,{items:n,onSelect:l,onHover:c,label:t.title})},e):null})]})}var g=(0,o.forwardRef)(function({rootClientId:e,onInsert:t,onHover:n,showMostUsedBlocks:r},o){const[i,s,a,u]=(0,l.A)(e,t);if(!i.length)return(0,f.jsx)(d.A,{});const p=[],g=[];for(const e of i)"reusable"!==e.category&&(e.isSearchOnly||(e.isAllowedInCurrentRoot?p.push(e):g.push(e)));return(0,f.jsx)(c.Ay,{children:(0,f.jsxs)("div",{ref:o,children:[!!p.length&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(h,{items:p,categories:s,collections:a,onSelectItem:u,onHover:n,showMostUsedBlocks:r,className:"block-editor-inserter__insertable-blocks-at-selection"})}),(0,f.jsx)(h,{items:g,categories:s,collections:a,onSelectItem:u,onHover:n,showMostUsedBlocks:r,className:"block-editor-inserter__all-blocks"})]})})})},66474(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(15766),o=n(7680),i=n(5158),s=n(23720),a=n(2376),l=n(61924),c=n(93236),{Tabs:u}=(0,l.T)(s.j);var d=function({categories:e,selectedCategory:t,onSelectCategory:n,children:s}){const l={type:"tween",duration:(0,o.A)()?0:.25,ease:[.6,0,.4,1]},d=(0,r.A)(t),f=t?t.name:null,[p,h]=(0,a.useState)(),g=e?.[0]?.name;return null===f&&!p&&g&&h(g),(0,c.jsxs)(u,{selectOnMove:!1,selectedTabId:f,orientation:"vertical",onSelect:t=>{n(e.find(e=>e.name===t))},activeTabId:p,onActiveTabIdChange:h,children:[(0,c.jsx)(u.TabList,{className:"block-editor-inserter__category-tablist",children:e.map(e=>(0,c.jsx)(u.Tab,{tabId:e.name,"aria-current":e===t?"true":void 0,children:e.label},e.name))}),e.map(e=>(0,c.jsx)(u.TabPanel,{tabId:e.name,focusable:!1,children:(0,c.jsx)(i.P.div,{className:"block-editor-inserter__category-panel",initial:d?"open":"closed",animate:"open",variants:{open:{transform:"translateX( 0 )",transitionEnd:{zIndex:"1"}},closed:{transform:"translateX( -100% )",zIndex:"-1"}},transition:l,children:s})},e.name))]})}},54906(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(87761),o=n(79027),i=n(19623),s=n(2376),a=n(18124),l=n(18335),c=n(25552),u=n(65151),d=n(61924),f=(e,t,n)=>{const f=(0,s.useMemo)(()=>({[u.s4]:!!n}),[n]),[p]=(0,i.A)(t=>[t(c.M).getInserterItems(e,f)],[e,f]),{getClosestAllowedInsertionPoint:h}=(0,d.T)((0,i.A)(c.M)),{createErrorNotice:g}=(0,o.A)(a.M),[m,v]=(0,i.A)(e=>{const{getCategories:t,getCollections:n}=e(r.M_);return[t(),n()]},[]);return[p,m,v,(0,s.useCallback)(({name:n,initialAttributes:o,innerBlocks:i,innerContent:s,syncStatus:a,content:c},u)=>{const d=h(n,e);if(null===d){const e=(0,r.E7)(n)?.title??n;return void g((0,l.nv)(
147 /* translators: %s: block pattern title. */
148 /* translators: %s: block pattern title. */
149 (0,l.__)('Block "%s" can\'t be inserted.'),e),{type:"snackbar",id:"inserter-notice"})}const f="unsynced"===a?(0,r.qg)(c,{__unstableSkipMigrationLogs:!0}):(0,r.Wv)(n,o,(0,r.to)(i),s);t(f,void 0,u,d)},[h,e,t,g])]}},58011(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(79027),o=n(65627),i=n(19623),s=n(87761),a=n(18335),l=n(36331),c=n(2376),u=n(25552),d=n(61924);function f({destinationRootClientId:e,destinationIndex:t,rootClientId:n,registry:r}){if(n===e)return t;const o=["",...r.select(u.M).getBlockParents(e),e],i=o.indexOf(n);return-1!==i?r.select(u.M).getBlockIndex(o[i+1])+1:r.select(u.M).getBlockOrder(n).length}var p=function({rootClientId:e="",insertionIndex:t,clientId:n,isAppender:p,onSelect:h,shouldFocusBlock:g=!0,selectBlockOnInsert:m=!0}){const v=(0,o.A)(),{getSelectedBlock:b,getClosestAllowedInsertionPoint:y,getBlockInsertionPoint:k}=(0,d.T)((0,i.A)(u.M)),{destinationRootClientId:x,destinationIndex:w}=(0,i.A)(r=>{const{getSelectedBlockClientId:o,getBlockRootClientId:i,getBlockIndex:s,getBlockOrder:a,getInsertionPoint:l}=(0,d.T)(r(u.M)),c=o();let f,h=e;const g=l();return void 0!==t?f=t:g&&g.hasOwnProperty("index")?(h=g?.rootClientId?g.rootClientId:e,f=g.index):n?f=s(n):!p&&c?(h=i(c),f=s(c)+1):f=a(h).length,{destinationRootClientId:h,destinationIndex:f}},[e,t,n,p]),{replaceBlocks:_,insertBlocks:A,showInsertionPoint:S,hideInsertionPoint:C,setLastFocus:E}=(0,d.T)((0,r.A)(u.M)),T=(0,c.useCallback)((e,t,n=!1,r)=>{(n||g||m)&&E(null);const o=b();!p&&o&&(0,s.Xw)(o,"content")?_(o.clientId,e,null,g||n?0:null,t):A(e,p||void 0===r?w:f({destinationRootClientId:x,destinationIndex:w,rootClientId:r,registry:v}),p||void 0===r?x:r,m,g||n?0:null,t);const i=Array.isArray(e)?e.length:1,c=(0,a.nv)(
150 // translators: %d: the name of the block that has been added
151 // translators: %d: the name of the block that has been added
152 (0,a._n)("%d block added.","%d blocks added.",i),i);(0,l.L)(c),h&&h(e)},[p,b,_,A,x,w,h,g,m,E,v]),I=(0,c.useCallback)(e=>{if(e){const t=y(e.name,x);null!==t&&S(t,f({destinationRootClientId:x,destinationIndex:w,rootClientId:t,registry:v}))}else k()?.__unstableWithInserter||C()},[y,k,S,C,x,w,v]);return[x,T,I]}},2183(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(15766),i=n(95582);function s(e,t,n,s=""){const[a,l]=(0,r.useState)(1),c=(0,o.A)(t),u=(0,o.A)(s);c===t&&u===s||1===a||l(1);const d=e.length,f=a-1,p=(0,r.useMemo)(()=>e.slice(20*f,20*f+20),[f,e]),h=Math.ceil(e.length/20);return(0,r.useEffect)(function(){const e=(0,i.A)(n?.current);e?.scrollTo(0,0)},[t,n]),{totalItems:d,categoryPatterns:p,numPages:h,changePage:e=>{const t=(0,i.A)(n?.current);t?.scrollTo(0,0),l(e)},currentPage:a}}},51082(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(2376),o=n(87761),i=n(79027),s=n(19623),a=n(18335),l=n(18124),c=n(25552),u=n(61924),d=n(12634),f=n(32903),p=n(65151),h=(e,t,n,h)=>{const g=(0,r.useMemo)(()=>({[p.s4]:!!h}),[h]),m=(0,s.A)(e=>{const{getSettings:t}=(0,u.T)(e(c.M));return t()[d.Ho]??!1},[]),{patternCategories:v,patterns:b,userPatternCategories:y}=(0,s.A)(e=>{const{getSettings:n,__experimentalGetAllowedPatterns:r}=(0,u.T)(e(c.M)),o=n(),i=o[d.zm];return{patterns:r(t,g),userPatternCategories:i?i(e):o.__experimentalUserPatternCategories,patternCategories:o.__experimentalBlockPatternCategories}},[t,g]),k=(0,r.useMemo)(()=>b.filter(e=>{const t=e.categories?.includes("navigation");return!(t&&!m)}),[b,m]),{getClosestAllowedInsertionPointForPattern:x}=(0,u.T)((0,s.A)(c.M)),w=(0,r.useMemo)(()=>{const e=[...v];return y?.forEach(t=>{e.find(e=>e.name===t.name)||e.push(t)}),e},[v,y]),{createSuccessNotice:_}=(0,i.A)(l.M);return[k,w,(0,r.useCallback)((r,i)=>{const s=h?t:x(r,t);if(null===s)return;const l=r.type===f.KG.user&&"unsynced"!==r.syncStatus?[(0,o.Wv)("core/block",{ref:r.id})]:i;e((l??[]).map(e=>{const t=(0,o.JB)(e);return t.attributes.metadata?.categories?.includes(n)&&(t.attributes.metadata.categories=[n]),t}),r.name,!1,s),_((0,a.nv)(
153 /* translators: %s: block pattern title. */
154 /* translators: %s: block pattern title. */
155 (0,a.__)('Pattern "%s" inserted.'),r.title),{type:"snackbar",id:"inserter-notice"})},[_,e,n,t,x,h])]}},49831(e,t,n){"use strict";n.d(t,{b:()=>c});var r=n(19623),o=n(2376),i=n(65259),s=n(25552),a=n(93236),l=()=>{};var c=(0,o.forwardRef)(function({rootClientId:e,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:c=!1,__experimentalInsertionIndex:u,__experimentalInitialTab:d,__experimentalInitialCategory:f,__experimentalFilterValue:p,onPatternCategorySelection:h,onSelect:g=l,shouldFocusBlock:m=!1,onClose:v},b){const{destinationRootClientId:y}=(0,r.A)(n=>{const{getBlockRootClientId:r}=n(s.M);return{destinationRootClientId:e||r(t)||void 0}},[t,e]);return(0,a.jsx)(i.b,{onSelect:g,rootClientId:y,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:c,__experimentalInsertionIndex:u,__experimentalFilterValue:p,onPatternCategorySelection:h,__experimentalInitialTab:d,__experimentalInitialCategory:f,shouldFocusBlock:m,ref:b,onClose:v})});(0,o.forwardRef)(function(e,t){return(0,a.jsx)(c,{...e,onPatternCategorySelection:void 0,ref:t})})},25925(e,t,n){"use strict";n.d(t,{Op:()=>l,o_:()=>c,of:()=>u});var r=n(2376),o=n(19623),i=n(25552),s=n(61924);function a(e){return Array.isArray(e)?{mediaItems:e}:{mediaItems:e?.mediaItems??[],totalItems:e?.totalItems,totalPages:e?.totalPages}}function l(e,t={},n){const[o,i]=(0,r.useState)(),[s,l]=(0,r.useState)({}),[c,u]=(0,r.useState)(!1),d=(0,r.useRef)(),f=(0,r.useRef)(),p=(0,r.useRef)(),h=(0,r.useRef)();return(0,r.useEffect)(()=>{(async()=>{const n=JSON.stringify({category:e.name,...t}),r={};d.current=r,u(!0),f.current===n&&p.current===e.fetch||i([]),h.current===e.name&&p.current===e.fetch||l({}),f.current=n,p.current=e.fetch,h.current=e.name;const{page:o,...s}=t,c=o>1?t:s,{mediaItems:g,totalItems:m,totalPages:v}=a(await(e.fetch?.(c)));r===d.current&&(i(g),l({totalItems:m,totalPages:v}),u(!1))})()},[e.name,e.fetch,...Object.values(t),n]),{mediaList:o,isLoading:c,totalItems:s.totalItems,totalPages:s.totalPages}}function c(e,t=400){const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e)return;const n=setTimeout(()=>o(!0),t);return()=>{clearTimeout(n),o(!1)}},[e,t]),n}function u(e){const[t,n]=(0,r.useState)([]),l=(0,o.A)(e=>(0,s.T)(e(i.M)).getInserterMediaCategories(),[]),{canInsertImage:c,canInsertVideo:u,canInsertAudio:d}=(0,o.A)(t=>{const{canInsertBlockType:n}=t(i.M);return{canInsertImage:n("core/image",e),canInsertVideo:n("core/video",e),canInsertAudio:n("core/audio",e)}},[e]);return(0,r.useEffect)(()=>{(async()=>{const e=[];if(!l)return;const t=new Map(await Promise.all(l.map(async e=>{if(e.isExternalResource)return[e.name,!0];let t=[];try{const{mediaItems:n}=a(await e.fetch({per_page:1}));t=n}catch{}return[e.name,!!t.length]}))),r={image:c,video:u,audio:d};l.forEach(n=>{r[n.mediaType]&&(t.get(n.name)||n.emptyMessage)&&e.push(n)}),e.length&&n(e)})()},[c,u,d,l]),t}},54274(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(67215),o=n(18335),i=n(43505),s=n(93236);var a=function({mediaList:e,category:t,onClick:n,onDetach:a,label:l=(0,o.__)("Media List")}){return(0,s.jsx)(r.e,{role:"listbox",className:"block-editor-inserter__media-list","aria-label":l,children:e.map((e,r)=>(0,s.jsx)(i.Z,{media:e,category:t,onClick:n,onDetach:a},e.id||e.sourceId||r))})}},22288(e,t,n){"use strict";n.d(t,{N:()=>S});var r=n(13022),o=n(43192),i=n(26068),s=n(23192),a=n(59217),l=n(18335),c=n(2376),u=n(15766),d=n(60417),f=n(79027),p=n(95582),h=n(18124),g=n(9504),m=n(54274),v=n(74618),b=n(11502),y=n(25925),k=n(4466),x=n(73656),w=n(93236),_=["image"];function A({onSelect:e}){return(0,w.jsx)(b.A,{children:(0,w.jsx)(v.A,{multiple:"add",onSelect:e,allowedTypes:_,title:(0,l.__)("Attach images"),render:({open:e})=>(0,w.jsx)(o.A,{__next40pxDefaultSize:!0,className:"block-editor-inserter__media-panel-attach","data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal",onClick:t=>{t.target.focus(),e()},variant:"secondary",children:(0,l.__)("Attach images")})})})}function S({rootClientId:e,onInsert:t,category:n}){const[v,b,_]=(0,d.A)(),[S,C]=(0,c.useState)(1),E=(0,u.A)(n.name),T=(0,u.A)(_);E===n.name&&T===_||1===S||C(1);const I=(0,c.useMemo)(()=>({per_page:20,page:S,search:_}),[S,_]),[j,B]=(0,c.useState)(0),{mediaList:N,isLoading:M,totalItems:R,totalPages:O}=(0,y.Op)(n,I,j),L=O||1;"number"==typeof O&&S>L&&C(L);const P=!n.isExternalResource,D=P?n.attach:void 0,z=P?n.detach:void 0,V=P?n.subscribe:void 0,F=L>1,$=F||!!D,H=(0,c.useRef)(),U=(0,c.useCallback)(e=>{const t=(0,p.A)(H.current);t?.scrollTo(0,0),C(e)},[]),{createErrorNotice:W,createSuccessNotice:K,createWarningNotice:q}=(0,f.A)(h.M),G=(0,y.o_)(M),X=(0,c.useCallback)(()=>{P&&n.invalidate?.(I),B(e=>e+1)},[n,I,P]);(0,c.useEffect)(()=>{if(V)return V(()=>B(e=>e+1),I)},[V,I]);const Y=(0,c.useCallback)(async e=>{try{const t=await D(e);if(!t)return void q((0,l.__)("No images were attached."),{type:"snackbar",id:"inserter-notice"});X(),K(n.postTypeLabel?(0,l.nv)(
156 /* translators: %1$d: Number of images attached. %2$s: Name of the post type e.g: "Page". */
157 /* translators: %1$d: Number of images attached. %2$s: Name of the post type e.g: "Page". */
158 (0,l._n)("%1$d image attached to %2$s.","%1$d images attached to %2$s.",t),t,n.postTypeLabel):(0,l.nv)(
159 /* translators: %d: Number of images attached to the post. */
160 /* translators: %d: Number of images attached to the post. */
161 (0,l._n)("%d image attached to post.","%d images attached to post.",t),t),{type:"snackbar",id:"inserter-notice"})}catch{W((0,l.__)("Could not attach images."),{type:"snackbar",id:"inserter-notice"})}},[D,n,X,W,K,q]),Z=(0,c.useCallback)(async e=>{try{await z(e),X(),K(n.postTypeLabel?(0,l.nv)(
162 /* translators: %s: Name of the post type e.g: "Page". */
163 /* translators: %s: Name of the post type e.g: "Page". */
164 (0,l.__)("Image detached from %s."),n.postTypeLabel):(0,l.__)("Image detached from post."),{type:"snackbar",id:"inserter-notice"})}catch{W((0,l.__)("Could not detach image."),{type:"snackbar",id:"inserter-notice"})}},[z,n,X,W,K]),[Q,J]=(0,c.useState)(),ee=(0,c.useCallback)(()=>{const e=Q;J(void 0),Z(e)},[Z,Q]),te="block-editor-inserter__media-panel",ne=n.labels.search_items||(0,l.__)("Search");return(0,w.jsxs)("div",{ref:H,className:(0,r.A)(te,{"has-footer":$}),children:[(0,w.jsx)(s.A,{className:`${te}-search`,onChange:b,value:v,label:ne,placeholder:ne}),M&&!N?.length&&(0,w.jsx)("div",{className:`${te}-spinner`,children:(0,w.jsx)(a.Ay,{})}),!M&&!N?.length&&(0,w.jsx)(k.A,{children:n.emptyMessage&&!_?n.emptyMessage:(0,l.__)("No results found.")}),!!N?.length&&(0,w.jsx)("div",{className:(0,r.A)(`${te}-results`,{"is-loading":G}),"aria-busy":G,children:(0,w.jsx)(m.A,{rootClientId:e,onClick:t,onDetach:z?J:void 0,mediaList:N,category:n})}),$&&(0,w.jsxs)(g.B,{direction:"column",gap:"sm",className:`${te}-footer`,children:[F&&(0,w.jsx)(x.A,{currentPage:S,numPages:L,changePage:U,totalItems:R}),D&&(0,w.jsx)(A,{onSelect:Y})]}),Q&&(0,w.jsxs)(i,{title:(0,l.__)("Detach image"),onRequestClose:()=>J(void 0),overlayClassName:`${te}-detach-modal`,children:[(0,w.jsx)("p",{children:n.postTypeLabel?(0,l.nv)(
165 /* translators: %s: Name of the post type e.g: "Page". */
166 /* translators: %s: Name of the post type e.g: "Page". */
167 (0,l.__)("Detach this image from the current %s? The image will remain in the Media Library."),n.postTypeLabel):(0,l.__)("Detach this image from the current post? The image will remain in the Media Library.")}),(0,w.jsxs)("div",{className:`${te}-detach-actions`,children:[(0,w.jsx)(o.A,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>J(void 0),children:(0,l.__)("Cancel")}),(0,w.jsx)(o.A,{__next40pxDefaultSize:!0,variant:"primary",onClick:ee,children:(0,l.__)("Detach")})]})]})]})}},43505(e,t,n){"use strict";n.d(t,{Z:()=>L});var r=n(13022),o=n(54446),i=n(38162),s=n(52474),a=n(43192),l=n(67215),c=n(3443),u=n(57655),d=n(22953),f=n(26068),p=n(59217),h=n(18335),g=n(2376),m=n(87761),v=n(1866),b=n(48339),y=n(57855),k=n(79027),x=n(19623),w=n(18124),_=n(34552),A=n(76404),S=n(54547),C=n(18113),E=n(3383),T=n(87717),I=n(61878),j=n(25552),B=n(93236),N=["image"],M={placement:"bottom-end",className:"block-editor-inserter__media-list__item-preview-options__popover"};function R({category:e,media:t,onDetach:n}){if(!e.getReportUrl&&!n)return null;const r=e.getReportUrl?.(t);return(0,B.jsx)(c.A,{className:"block-editor-inserter__media-list__item-preview-options",label:(0,h.__)("Options"),popoverProps:M,icon:y.A,children:()=>(0,B.jsxs)(u.A,{children:[r&&(0,B.jsx)(d.A,{onClick:()=>window.open(r,"_blank").focus(),icon:v.A,children:(0,h.nv)(
168 /* translators: %s: The media type to report e.g: "image", "video", "audio" */
169 /* translators: %s: The media type to report e.g: "image", "video", "audio" */
170 (0,h.__)("Report %s"),e.mediaType)}),n&&(0,B.jsx)(d.A,{onClick:()=>n(t),icon:b.A,children:e.postTypeLabel?(0,h.nv)(
171 /* translators: %s: Name of the post type e.g: "Page". */
172 /* translators: %s: Name of the post type e.g: "Page". */
173 (0,h.__)("Detach from %s"),e.postTypeLabel):(0,h.__)("Detach from post")})]})})}function O({onClose:e,onSubmit:t}){return(0,B.jsxs)(f,{title:(0,h.__)("Insert external image"),onRequestClose:e,className:"block-editor-inserter-media-tab-media-preview-inserter-external-image-modal",children:[(0,B.jsxs)(o.A,{spacing:3,children:[(0,B.jsx)("p",{children:(0,h.__)("This image cannot be uploaded to your Media Library, but it can still be inserted as an external image.")}),(0,B.jsx)("p",{children:(0,h.__)("External images can be removed by the external provider without warning and could even have legal compliance issues related to privacy legislation.")})]}),(0,B.jsxs)(i.A,{className:"block-editor-block-lock-modal__actions",justify:"flex-end",expanded:!1,children:[(0,B.jsx)(s.A,{children:(0,B.jsx)(a.A,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:e,children:(0,h.__)("Cancel")})}),(0,B.jsx)(s.A,{children:(0,B.jsx)(a.A,{__next40pxDefaultSize:!0,variant:"primary",onClick:t,children:(0,h.__)("Insert")})})]})]})}function L({media:e,onClick:t,onDetach:n,category:o}){const[i,s]=(0,g.useState)(!1),[a,c]=(0,g.useState)(!1),[u,d]=(0,g.useState)(!1),[f,v]=(0,g.useMemo)(()=>(0,I.L)(e,o.mediaType),[e,o.mediaType]),{createErrorNotice:b,createSuccessNotice:y}=(0,k.A)(w.M),{getSettings:M,getBlock:L}=(0,x.A)(j.M),{updateBlockAttributes:P}=(0,k.A)(j.M),D=(0,g.useCallback)(e=>{if(u)return;const n=M(),r=(0,m.JB)(e),{id:o,url:i,caption:a}=r.attributes;o||n.mediaUpload?o?t(r):(d(!0),window.fetch(i).then(e=>e.blob()).then(e=>{const o=(0,A.e)(i)||"image.jpg",s=new File([e],o,{type:e.type});n.mediaUpload({filesList:[s],additionalData:{caption:a},onFileChange([e]){(0,_.H8)(e.url)||(L(r.clientId)?P(r.clientId,{...r.attributes,id:e.id,url:e.url}):(t({...r,attributes:{...r.attributes,id:e.id,url:e.url}}),y((0,h.__)("Image uploaded and inserted."),{type:"snackbar",id:"inserter-notice"})),d(!1))},allowedTypes:N,onError(e){b(e,{type:"snackbar",id:"inserter-notice"}),d(!1)}})}).catch(()=>{s(!0),d(!1)})):s(!0)},[u,M,t,y,P,b,L]),z="string"==typeof e.title?e.title:e.title?.rendered||(0,h.__)("no title"),V=(0,g.useCallback)(()=>c(!0),[]),F=(0,g.useCallback)(()=>c(!1),[]);return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(T.A,{isEnabled:!0,blocks:[f],children:({draggable:t,onDragStart:i,onDragEnd:s})=>(0,B.jsx)("div",{className:(0,r.A)("block-editor-inserter__media-list__list-item",{"is-hovered":a}),draggable:t,onDragStart:i,onDragEnd:s,children:(0,B.jsxs)("div",{onMouseEnter:V,onMouseLeave:F,children:[(0,B.jsxs)(S.b,{children:[(0,B.jsx)(C.l,{render:(0,B.jsx)(l.e.Item,{render:(0,B.jsx)("div",{"aria-label":z,role:"option",className:"block-editor-inserter__media-list__item"}),onClick:()=>D(f),children:(0,B.jsxs)("div",{className:"block-editor-inserter__media-list__item-preview",children:[v,u&&(0,B.jsx)("div",{className:"block-editor-inserter__media-list__item-preview-spinner",children:(0,B.jsx)(p.Ay,{})})]})})}),(0,B.jsx)(E.z,{children:z})]}),!u&&(0,B.jsx)(R,{category:o,media:e,onDetach:n})]})})}),i&&(0,B.jsx)(O,{onClose:()=>s(!1),onSubmit:()=>{t((0,m.JB)(f)),y((0,h.__)("Image inserted."),{type:"snackbar",id:"inserter-notice"}),s(!1)}})]})}},66151(e,t,n){"use strict";n.d(t,{A:()=>v});var r=n(18335),o=n(27319),i=n(43192),s=n(2376),a=n(22288),l=n(11502),c=n(74618),u=n(25925),d=n(61878),f=n(16809),p=n(66474),h=n(4466),g=n(93236),m=["image","video","audio"];var v=function({rootClientId:e,selectedCategory:t,onSelectCategory:n,onInsert:v,children:b}){const y=(0,u.of)(e),k=(0,o.A)("medium","<"),x=(0,s.useCallback)(e=>{if(!e?.url)return;const t=window.__experimentalDataViewsMediaModal&&e.mime_type?e.mime_type.split("/")[0]:e.type,[n]=(0,d.L)(e,t);v(n)},[v]),w=(0,s.useMemo)(()=>y.map(e=>({...e,label:e.labels.name})),[y]);return(0,s.useEffect)(()=>{if(!t)return;const e=w.find(e=>e.name===t.name);e&&e!==t?n(e):e||n(null)},[w,n,t]),w.length?(0,g.jsxs)(g.Fragment,{children:[!k&&(0,g.jsxs)("div",{className:"block-editor-inserter__media-tabs-container",children:[(0,g.jsx)(p.A,{categories:w,selectedCategory:t,onSelectCategory:n,children:b}),(0,g.jsx)(l.A,{children:(0,g.jsx)(c.A,{multiple:!1,onSelect:x,allowedTypes:m,render:({open:e})=>(0,g.jsx)(i.A,{__next40pxDefaultSize:!0,onClick:t=>{t.target.focus(),e()},className:"block-editor-inserter__media-library-button",variant:"secondary","data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal",children:(0,r.__)("Open Media Library")})})})]}),k&&(0,g.jsx)(f.A,{categories:w,screenClassName:"block-editor-inserter__media-mobile-screen",children:t=>(0,g.jsx)(a.N,{onInsert:v,rootClientId:e,category:t})})]}):(0,g.jsx)(h.A,{})}},61878(e,t,n){"use strict";n.d(t,{L:()=>s});var r=n(87761),o=n(93236),i={image:"img",video:"video",audio:"audio"};function s(e,t){const n={id:e.id||void 0,caption:e.caption||void 0},s=e.url,a=e.alt||void 0;"image"===t?(n.url=s,n.alt=a):["video","audio"].includes(t)&&(n.src=s);const l=i[t],c=(0,o.jsx)(l,{src:e.previewUrl||s,alt:a,controls:"audio"===t||void 0,inert:"true",onError:({currentTarget:t})=>{t.src===e.previewUrl&&(t.src=s)}});return[(0,r.Wv)(`core/${t}`,n),c]}},65259(e,t,n){"use strict";n.d(t,{b:()=>T});var r=n(13022),o=n(2376),i=n(88149),s=n(23192),a=n(81436),l=n(18335),c=n(27319),u=n(60417),d=n(79027),f=n(19623),p=n(59776),h=n(57087),g=n(75843),m=n(12744),v=n(35855),b=n(66151),y=n(22288),k=n(95223),x=n(58011),w=n(25552),_=n(6789),A=n(19649),S=n(61924),C=n(93236),E=()=>{};var T=(0,o.forwardRef)(function({rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:T,onSelect:I,showInserterHelpPanel:j,showMostUsedBlocks:B,__experimentalFilterValue:N="",shouldFocusBlock:M=!0,onPatternCategorySelection:R,onClose:O,__experimentalInitialTab:L,__experimentalInitialCategory:P},D){const{isZoomOutMode:z,hasSectionRootClientId:V}=(0,f.A)(e=>{const{isZoomOut:t,getSectionRootClientId:n}=(0,S.T)(e(w.M));return{isZoomOutMode:t(),hasSectionRootClientId:!!n()}},[]),[F,$,H]=(0,u.A)(N),[U,W]=(0,o.useState)(null),[K,q]=(0,o.useState)(P),[G,X]=(0,o.useState)("all"),[Y,Z]=(0,o.useState)(null),Q=(0,c.A)("large"),J=(0,c.A)("medium","<")?O:E,[ee,te]=(0,o.useState)(L||(z?"patterns":"blocks")),ne=V&&("patterns"===ee||"media"===ee);(0,A.l)(ne&&Q);const[re,oe,ie]=(0,x.A)({rootClientId:e,clientId:t,isAppender:n,insertionIndex:T,shouldFocusBlock:M}),{hideInsertionPoint:se}=(0,d.A)(w.M),ae=(0,o.useRef)(),le=(0,o.useCallback)((e,t,n,r)=>{se(),oe(e,t,n,r),I(e),J(),window.requestAnimationFrame(()=>{M||ae.current?.contains(D.current.ownerDocument.activeElement)||ae.current?.querySelector("button").focus()})},[se,oe,J,I,D,M]),ce=(0,o.useCallback)((e,t,...n)=>{se(),oe(e,{patternName:t},...n),I(),J()},[se,oe,J,I]),ue=(0,o.useCallback)(e=>{ie(e),W(e)},[ie,W]),de=(0,o.useCallback)((e,t)=>{q(e),X(t),R?.()},[q,R]),fe="patterns"===ee&&!H&&!!K,pe="media"===ee&&!!Y,[he,ge]=(0,o.useState)(!1),me=(0,o.useRef)(null),ve=(0,o.useRef)(null),be=(0,o.useRef)(null);(0,o.useEffect)(()=>{const e=e=>{ge(e.currentTarget.scrollTop>0)},t=[me.current,ve.current,be.current].filter(Boolean);return t.forEach(t=>t.addEventListener("scroll",e)),()=>{t.forEach(t=>t.removeEventListener("scroll",e))}},[]);const ye=(0,o.useMemo)(()=>"media"===ee?null:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s.A,{className:(0,r.A)("block-editor-inserter__search",{"is-scrolled":he}),onChange:e=>{U&&W(null),$(e)},value:F,label:(0,l.__)("Search"),placeholder:(0,l.__)("Search")}),!!H&&(0,C.jsx)(k.A,{filterValue:H,onSelect:I,onHover:ue,rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:T,showBlockDirectory:!0,shouldFocusBlock:M,prioritizePatterns:"patterns"===ee})]}),[ee,U,W,$,F,H,I,ue,M,t,e,T,n,he]),ke=(0,o.useMemo)(()=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"block-editor-inserter__block-list",children:(0,C.jsx)(g.Ay,{ref:ae,rootClientId:re,onInsert:le,onHover:ue,showMostUsedBlocks:B})}),j&&(0,C.jsxs)("div",{className:"block-editor-inserter__tips",children:[(0,C.jsx)(a.s,{render:(0,C.jsx)("h2",{}),children:(0,l.__)("A tip for using the block editor")}),(0,C.jsx)(p.A,{})]})]}),[re,le,ue,B,j]),xe=(0,o.useMemo)(()=>(0,C.jsx)(m.A,{rootClientId:re,onInsert:ce,onSelectCategory:de,selectedCategory:K,children:fe&&(0,C.jsx)(v.O,{rootClientId:re,onInsert:ce,category:K,patternFilter:G,showTitlesAsTooltip:!0})}),[re,ce,de,G,K,fe]),we=(0,o.useMemo)(()=>(0,C.jsx)(b.A,{rootClientId:re,selectedCategory:Y,onSelectCategory:Z,onInsert:le,children:pe&&(0,C.jsx)(y.N,{rootClientId:re,onInsert:le,category:Y})}),[re,le,Y,Z,pe]),_e=(0,o.useRef)();return(0,o.useLayoutEffect)(()=>{if(!_e.current)return;const e=window.requestAnimationFrame(()=>{_e.current?.querySelector('[role="tab"][aria-selected="true"]')?.focus()});return()=>window.cancelAnimationFrame(e)},[]),(0,C.jsxs)("div",{className:(0,r.A)("block-editor-inserter__menu",{"show-panel":fe||pe,"is-zoom-out":z}),ref:D,children:[(0,C.jsx)("div",{className:"block-editor-inserter__main-area",children:(0,C.jsx)(_.A,{ref:_e,onSelect:e=>{"patterns"!==e&&q(null),te(e)},onClose:O,selectedTab:ee,closeButtonLabel:(0,l.__)("Close Block Inserter"),tabs:[{name:"blocks",title:(0,l.__)("Blocks"),panelRef:me,panel:(0,C.jsxs)(C.Fragment,{children:[ye,"blocks"===ee&&!H&&ke]})},{name:"patterns",title:(0,l.__)("Patterns"),panelRef:ve,panel:(0,C.jsxs)(C.Fragment,{children:[ye,"patterns"===ee&&!H&&xe]})},{name:"media",title:(0,l.__)("Media"),panelRef:be,panel:(0,C.jsxs)(C.Fragment,{children:[ye,we]})}]})}),j&&U&&(0,C.jsx)(i.Ay,{className:"block-editor-inserter__preview-container__popover",placement:"right-start",offset:{mainAxis:16,crossAxis:16},focusOnMount:!1,animate:!1,children:(0,C.jsx)(h.A,{item:U})})]})});(0,o.forwardRef)(function(e,t){return(0,C.jsx)(T,{...e,onPatternCategorySelection:E,ref:t})})},16809(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(18335),o=n(54446),i=n(26930),s=n(12957),a=n(83832),l=n(71837),c=n(5674),u=n(77944),d=n(13298),f=n(26068),p=n(13109),h=n(39558),g=n(48329),m=n(93236);function v({title:e}){return(0,m.jsx)(o.A,{spacing:0,children:(0,m.jsx)(i.A,{children:(0,m.jsx)(s.A,{marginBottom:0,paddingX:4,paddingY:3,children:(0,m.jsxs)(a.A,{spacing:2,children:[(0,m.jsx)(f.Navigator.BackButton,{style:{minWidth:24,padding:0},icon:(0,r.V8)()?g.A:h.A,size:"small",label:(0,r.__)("Back")}),(0,m.jsx)(s.A,{children:(0,m.jsx)(l.A,{level:5,children:e})})]})})})})}function b({categories:e,children:t,screenClassName:n}){return(0,m.jsxs)(f.Navigator,{initialPath:"/",className:"block-editor-inserter__mobile-tab-navigation",children:[(0,m.jsx)(f.Navigator.Screen,{path:"/",children:(0,m.jsx)(c.A,{children:e.map(e=>(0,m.jsx)(f.Navigator.Button,{path:`/category/${e.name}`,as:u.A,isAction:!0,children:(0,m.jsxs)(a.A,{children:[(0,m.jsx)(d.A,{children:e.label}),(0,m.jsx)(p.A,{icon:(0,r.V8)()?h.A:g.A})]})},e.name))})}),e.map(e=>(0,m.jsxs)(f.Navigator.Screen,{className:n,path:`/category/${e.name}`,children:[(0,m.jsx)(v,{title:(0,r.__)("Back")}),t(e)]},e.name))]})}},4466(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(18335),o=n(93236);var i=function({children:e=(0,r.__)("No results found.")}){return(0,o.jsx)("div",{className:"block-editor-inserter__no-results",children:(0,o.jsx)("p",{children:e})})}},44060(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(93331),o=n(93236);var i=function({title:e,icon:t,children:n}){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"block-editor-inserter__panel-header",children:[(0,o.jsx)("h2",{className:"block-editor-inserter__panel-title",children:e}),(0,o.jsx)(r.A,{icon:t})]}),(0,o.jsx)("div",{className:"block-editor-inserter__panel-content",children:n})]})}},57087(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(87761),o=n(2376),i=n(18335),s=n(90594),a=n(26068),l=n(93236);var c=function({item:e}){const{name:t,title:n,icon:c,description:u,initialAttributes:d,example:f}=e,p=(0,r.tk)(e),h=(0,o.useMemo)(()=>f?(0,r.KL)(t,{attributes:{...f.attributes,...d},innerBlocks:f.innerBlocks,innerContent:f.innerContent}):(0,r.Wv)(t,d),[t,f,d]),g=144,m=f?.viewportWidth??500,v=280/m,b=0!==v&&v<1?g/v:g;return(0,l.jsxs)("div",{className:"block-editor-inserter__preview-container",children:[(0,l.jsx)("div",{className:"block-editor-inserter__preview",children:p||f?(0,l.jsx)("div",{className:"block-editor-inserter__preview-content",children:(0,l.jsx)(a,{blocks:h,viewportWidth:m,minHeight:g,additionalStyles:[{css:`\n\t\t\t\t\t\t\t\t\t\tbody { \n\t\t\t\t\t\t\t\t\t\t\tpadding: 24px;\n\t\t\t\t\t\t\t\t\t\t\tmin-height:${Math.round(b)}px;\n\t\t\t\t\t\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\t\t\t\t\t\talign-items:center;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t.is-root-container { width: 100%; }\n\t\t\t\t\t\t\t\t\t`}]})}):(0,l.jsx)("div",{className:"block-editor-inserter__preview-content-missing",children:(0,i.__)("No preview available.")})}),!p&&(0,l.jsx)(s.A,{title:n,icon:c,description:u})]})}},5538(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(13022),o=n(2376),i=n(18335),s=n(43192),a=n(23192),l=n(19623),c=n(95223),u=n(58011),d=n(54906),f=n(25552),p=n(93236);function h({onSelect:e,rootClientId:t,clientId:n,isAppender:h,selectBlockOnInsert:g,hasSearch:m=!0}){const[v,b]=(0,o.useState)(""),[y,k]=(0,u.A)({onSelect:e,rootClientId:t,clientId:n,isAppender:h,selectBlockOnInsert:g}),[x]=(0,d.A)(y,k,!0),{setInserterIsOpened:w,insertionIndex:_}=(0,l.A)(e=>{const{getSettings:t,getBlockIndex:r,getBlockCount:o}=e(f.M),i=t(),s=r(n),a=o();return{setInserterIsOpened:i.__experimentalSetIsInserterOpened,insertionIndex:-1===s?a:s}},[n]),A=m&&x.length>6;(0,o.useEffect)(()=>{w&&w(!1)},[w]);return(0,p.jsxs)("div",{className:(0,r.A)("block-editor-inserter__quick-inserter",{"has-search":A,"has-expand":w}),children:[A&&(0,p.jsx)(a.A,{className:"block-editor-inserter__search",value:v,onChange:e=>{b(e)},label:(0,i.__)("Search"),placeholder:(0,i.__)("Search")}),(0,p.jsxs)("div",{className:"block-editor-inserter__quick-inserter-results",children:[(0,p.jsx)(c.A,{filterValue:v,onSelect:e,rootClientId:t,clientId:n,isAppender:h,maxBlockPatterns:v?2:0,maxBlockTypes:6,isDraggable:!1,selectBlockOnInsert:g,isQuick:!0}),w&&(0,p.jsx)("div",{className:"block-editor-inserter__quick-inserter-expand",children:(0,p.jsx)(s.A,{className:"block-editor-inserter__quick-inserter-expand-toggle",__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>{w({filterValue:v,onSelect:e,rootClientId:t,insertionIndex:_})},"aria-label":(0,i.__)("Browse all. This will open the main inserter panel in the editor toolbar."),children:(0,i.__)("Browse all")})})]})]})}},73849(e,t,n){"use strict";n.d(t,{A_:()=>b,Ds:()=>y,J2:()=>m,b:()=>g,xg:()=>v});var r=n(44775),o=n(2532),i=e=>e.name||"",s=e=>e.title,a=e=>e.description||"",l=e=>e.keywords||[],c=e=>e.category,u=()=>null,d=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],f=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),p=new Map,h=new Map;function g(e=""){if(p.has(e))return p.get(e);const t=(0,o.W)(e,{splitRegexp:d,stripRegexp:f}).split(" ").filter(Boolean);return p.set(e,t),t}function m(e=""){if(h.has(e))return h.get(e);let t=r(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),h.set(e,t),t}var v=(e="")=>g(m(e)),b=(e,t,n,r)=>{if(0===v(r).length)return e;return y(e,r,{getCategory:e=>t.find(({slug:t})=>t===e.category)?.title,getCollection:e=>n[e.name.split("/")[0]]?.title})},y=(e=[],t="",n={})=>{if(0===v(t).length)return e;const r=e.map(e=>[e,k(e,t,n)]).filter(([,e])=>e>0);return r.sort(([,e],[,t])=>t-e),r.map(([e])=>e)};function k(e,t,n={}){const{getName:r=i,getTitle:o=s,getDescription:d=a,getKeywords:f=l,getCategory:p=c,getCollection:h=u}=n,b=r(e),y=o(e),k=d(e),x=f(e),w=p(e),_=h(e),A=m(t),S=m(y);let C=0;if(A===S)C+=30;else if(S.startsWith(A))C+=20;else{const e=[b,y,k,...x,w,_].join(" ");0===((e,t)=>e.filter(e=>!v(t).some(t=>t.includes(e))))(g(A),e).length&&(C+=10)}if(0!==C&&b.startsWith("core/")){C+=b!==e.id?1:2}return C}},95223(e,t,n){"use strict";n.d(t,{A:()=>S});var r=n(2376),o=n(18335),i=n(81436),s=n(10324),a=n(87444),l=n(36331),c=n(19623),u=n(76884),d=n(26880),f=n(38332),p=n(44060),h=n(4466),g=n(58011),m=n(51082),v=n(54906),b=n(73849),y=n(90874),k=n(76684),x=n(28628),w=n(25552),_=n(93236),A=[];var S=function({filterValue:e,onSelect:t,onHover:n,onHoverPattern:S,rootClientId:C,clientId:E,isAppender:T,__experimentalInsertionIndex:I,maxBlockPatterns:j,maxBlockTypes:B,showBlockDirectory:N=!1,isDraggable:M=!0,shouldFocusBlock:R=!0,prioritizePatterns:O,selectBlockOnInsert:L,isQuick:P}){const D=(0,a.A)(l.L,500),{prioritizedBlocks:z}=(0,c.A)(e=>{const t=e(w.M).getBlockListSettings(C);return{prioritizedBlocks:t?.prioritizedInserterBlocks||A}},[C]),[V,F]=(0,g.A)({onSelect:t,rootClientId:C,clientId:E,isAppender:T,insertionIndex:I,shouldFocusBlock:R,selectBlockOnInsert:L}),[$,H,U,W]=(0,v.A)(V,F,P),[K,,q]=(0,m.A)(F,V,void 0,P),G=(0,r.useMemo)(()=>{if(0===j)return[];const t=(0,b.Ds)(K,e);return void 0!==j?t.slice(0,j):t},[e,K,j]);let X=B;O&&G.length>2&&(X=0);const Y=(0,r.useMemo)(()=>{if(0===X)return[];const t=$.filter(e=>"core/block"!==e.name);let n=(0,k.M)(t,"frecency","desc");!e&&z.length&&(n=(0,x.I)(n,z));const r=(0,b.A_)(n,H,U,e);return void 0!==X?r.slice(0,X):r},[e,$,H,U,X,z]);(0,r.useEffect)(()=>{if(!e)return;const t=Y.length+G.length,n=(0,o.nv)(
174 /* translators: %d: number of results. */
175 /* translators: %d: number of results. */
176 (0,o._n)("%d result found.","%d results found.",t),t);D(n)},[e,D,Y,G]);const Z=(0,s.A)(Y,{step:9}),Q=Y.length>0||G.length>0,J=!!Y.length&&(0,_.jsx)(p.A,{title:(0,_.jsx)(i.s,{children:(0,o.__)("Blocks")}),children:(0,_.jsx)(u.A,{items:Z,onSelect:W,onHover:n,label:(0,o.__)("Blocks"),isDraggable:M})}),ee=!!G.length&&(0,_.jsx)(p.A,{title:(0,_.jsx)(i.s,{children:(0,o.__)("Patterns")}),children:(0,_.jsx)("div",{className:"block-editor-inserter__quick-inserter-patterns",children:(0,_.jsx)(d.A,{blockPatterns:G,onClickPattern:q,onHover:S,isDraggable:M})})});return(0,_.jsxs)(y.Ay,{children:[!N&&!Q&&(0,_.jsx)(h.A,{}),O?ee:J,!!Y.length&&!!G.length&&(0,_.jsx)("div",{className:"block-editor-inserter__quick-inserter-separator"}),O?J:ee,N&&(0,_.jsx)(f.A.Slot,{fillProps:{onSelect:W,onHover:n,filterValue:e,hasItems:Q,rootClientId:V},children:e=>e.length?e:Q?null:(0,_.jsx)(h.A,{})})]})}},59776(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(18335),o=n(95596),i=n(2376),s=n(69677),a=n(93236),l=[(0,o.A)((0,r.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:(0,a.jsx)("kbd",{})}),(0,o.A)((0,r.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:(0,a.jsx)("kbd",{})}),(0,o.A)((0,r.__)("Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line."),{kbd:(0,a.jsx)("kbd",{})}),(0,r.__)("Drag files into the editor to automatically insert media blocks."),(0,r.__)("Change a block's type by pressing the block icon on the toolbar.")];var c=function(){const[e]=(0,i.useState)(()=>Math.floor(Math.random()*l.length));return(0,a.jsx)(s.A,{children:l[e]})}},26078(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(26068),o=n(2376),i=n(93236);function s({Slot:e,fillProps:t,...n}){const s=(0,o.useContext)(r.ToolsPanelContext),a=(0,o.useMemo)(()=>({...t??{},forwardedContext:[...t?.forwardedContext??[],[r.ToolsPanelContext.Provider,{value:s}]]}),[s,t]);return(0,i.jsx)(e,{...n,fillProps:a,bubblesVirtually:!0})}},82936(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(26068),o=n(79027),i=n(19623),s=n(2376),a=n(25552),l=n(17868),c=n(61973),u=n(93236);function d({children:e,group:t,label:n}){const{updateBlockAttributes:d}=(0,o.A)(a.M),{getBlockAttributes:f,getBlockName:p,getMultiSelectedBlockClientIds:h,getSelectedBlockClientId:g,hasMultiSelection:m}=(0,i.A)(a.M),v=(0,c.DN)(),b=g(),y=(0,s.useCallback)((e=[])=>{const t={},n=m()?h():[b];n.forEach(n=>{const r=f(n)||{},{style:o}=r;let i={style:o};const s={attributes:r,clientId:n,name:p(n)};e.forEach(e=>{i={...i,...e(i,s)}}),i={...i,style:(0,l._U)(i.style)},t[n]=i}),d(n,t,!0)},[f,p,h,m,b,d]);return(0,u.jsx)(r.ToolsPanel,{className:`${t}-block-support-panel`,label:n,resetAll:y,panelId:b,hasInnerWrapper:!0,shouldRenderPlaceholderItems:!0,__experimentalFirstVisibleItemClass:"first",__experimentalLastVisibleItemClass:"last",dropdownMenuProps:v,children:e},b)}},7761(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(26068),o=n(25787),i=n(90531),s=n(66786),a=n(2376),l=n(3217),c=n(68106),u=n(28656),d=n(60332),f=n(93236),p=["content","list"];function h({children:e,group:t="default",__experimentalGroup:n,resetAllFilter:r}){n&&((0,s.A)("`__experimentalGroup` property in `InspectorControlsFill`",{since:"6.2",version:"6.4",alternative:"`group`"}),t=n);const a=(0,l.m_)(),u=a[l.dk],h=a[l.v4],g=a[l.uD],v=c.A[t]?.Fill;if(!v)return(0,i.A)(`Unknown InspectorControls group "${t}" provided.`),null;if(h){const e="core/template-part"===a.name,n=p.includes(t);if(!(e||n))return null}else if(!u)return null;const b="content"===t&&h&&g;return b&&!u?null:(0,f.jsx)(o.A,{document,children:b?(0,f.jsx)(d.y,{children:e}):(0,f.jsx)(v,{children:t=>(0,f.jsx)(m,{fillProps:t,resetAllFilter:r,children:e})})})}function g({resetAllFilter:e,children:t}){const{registerResetAllFilter:n,deregisterResetAllFilter:o}=(0,a.useContext)(r.ToolsPanelContext),i=(0,u.R1)(),s=(0,a.useMemo)(()=>(0,u.Lw)(i,e),[e,i]);return(0,a.useEffect)(()=>{if(s&&n&&o)return n(s),()=>{o(s)}},[s,n,o]),t}function m({children:e,resetAllFilter:t,fillProps:n}){const{forwardedContext:r=[]}=n,o=(0,f.jsx)(g,{resetAllFilter:t,children:e});return r.reduce((e,[t,n])=>(0,f.jsx)(t,{...n,children:e}),o)}},68106(e,t,n){"use strict";n.d(t,{A:()=>k,D:()=>x});var r=n(63684),o=(0,r.QJ)("InspectorControls"),i=(0,r.QJ)("InspectorAdvancedControls"),s=(0,r.QJ)("InspectorControlsBindings"),a=(0,r.QJ)("InspectorControlsBackground"),l=(0,r.QJ)("InspectorControlsBorder"),c=(0,r.QJ)("InspectorControlsColor"),u=(0,r.QJ)("InspectorControlsFilter"),d=(0,r.QJ)("InspectorControlsDimensions"),f=(0,r.QJ)("InspectorControlsLayout"),p=(0,r.QJ)("InspectorControlsElements"),h=(0,r.QJ)("InspectorControlsPosition"),g=(0,r.QJ)("InspectorControlsTypography"),m=(0,r.QJ)("InspectorControlsViewport"),v=(0,r.QJ)("InspectorControlsListView"),b=(0,r.QJ)("InspectorControlsStyles"),y=(0,r.QJ)("InspectorControlsEffects"),k={default:o,advanced:i,background:a,bindings:s,border:l,color:c,content:(0,r.QJ)("InspectorControlsContent"),dimensions:d,effects:y,elements:p,filter:u,layout:f,list:v,position:h,settings:o,styles:b,typography:g,viewport:m},x=(0,r.QJ)(Symbol("PrivateInspectorControlsAllowedBlocks"))},59798(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(7761),o=n(79502),i=n(93236),s=r.A;s.Slot=o.A;var a=e=>(0,i.jsx)(r.A,{...e,group:"advanced"});a.Slot=function(e){return(0,i.jsx)(o.A,{...e,group:"advanced"})},a.slotName="InspectorAdvancedControls";var l=s},59210(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(63684),o=n(3217),i=n(93236),{Fill:s,Slot:a}=(0,r.QJ)(Symbol("InspectorControlsLastItem")),l=e=>(0,o.m_)()[o.dk]?(0,i.jsx)(s,{...e}):null;l.Slot=function(e){return(0,i.jsx)(a,{...e})};var c=l},60332(e,t,n){"use strict";n.d(t,{y:()=>i});var r=n(63684),o=(n(25552),n(93236),Symbol("ListViewContentPopover")),{Fill:i,Slot:s}=(0,r.QJ)(o)},79502(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(39186),o=n(2376),i=n(90531),s=n(66786),a=n(82936),l=n(26078),c=n(68106),u=n(93236);var d=(0,o.forwardRef)(function({__experimentalGroup:e,group:t="default",label:n,fillProps:o,...d},f){e&&((0,s.A)("`__experimentalGroup` property in `InspectorControlsSlot`",{since:"6.2",version:"6.4",alternative:"`group`"}),t=e);const p=c.A[t],h=(0,r.A)(p?.name);if(!p)return(0,i.A)(`Unknown InspectorControls group "${t}" provided.`),null;if(!h?.length)return null;const{Slot:g}=p;return n?(0,u.jsx)(a.A,{group:t,label:n,children:(0,u.jsx)(l.A,{...d,fillProps:o,Slot:g})}):(0,u.jsx)(g,{...d,ref:f,fillProps:o,bubblesVirtually:!0})})},97963(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(54446),o=n(83832),i=n(12957),s=n(43192),a=n(65995),l=n(18335),c=n(44636),u=n(93236);function d({title:e,help:t,actions:n=[],onClose:d}){return(0,u.jsxs)(r.A,{className:"block-editor-inspector-popover-header",spacing:4,children:[(0,u.jsxs)(o.A,{alignment:"center",children:[(0,u.jsx)(c.E,{variant:"heading-md",render:(0,u.jsx)("h2",{}),className:"block-editor-inspector-popover-header__heading",children:e}),(0,u.jsx)(i.A,{}),n.map(({label:e,icon:t,onClick:n})=>(0,u.jsx)(s.A,{size:"small",className:"block-editor-inspector-popover-header__action",label:e,icon:t,variant:!t&&"tertiary",onClick:n,children:!t&&e},e)),d&&(0,u.jsx)(s.A,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,l.__)("Close"),icon:a.A,onClick:d})]}),t&&(0,u.jsx)(c.E,{children:t})]})}},91189(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(79027),i=n(63632),s=n(18335),a=n(35453);function l(){return null}l.Register=function(){const{registerShortcut:e,unregisterShortcut:t}=(0,o.A)(i.M_),[n]=(0,a.t)("blockVisibility.allowEditing");return(0,r.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,s.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,s.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,s.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,s.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,s.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,s.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,s.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,s.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,s.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,s.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,s.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,s.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,s.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,s.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,s.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,s.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,s.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,s.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),!1===n?t("core/block-editor/toggle-block-visibility"):e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,s.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}}),e({name:"core/block-editor/rename",category:"block",description:(0,s.__)("Rename the selected block."),keyCombination:{modifier:"primaryAlt",character:"r"}})},[e,t,n]),null};var c=l},14983(e,t,n){"use strict";n.d(t,{$G:()=>i,Il:()=>c,Pu:()=>s,_9:()=>o,_q:()=>a,l2:()=>u,r9:()=>l});var r=n(18335),o="__CREATE__",i="tel",s="link",a="mailto",l="internal",c=[s,a,i,l],u=[{id:"opensInNewTab",title:(0,r.__)("Open in new tab")}]},29900(e,t,n){"use strict";n.d(t,{A:()=>H});var r=n(13022),o=n(83832),i=n(43192),s=n(90882),a=n(13440),l=n(59217),c=n(13533),u=n(18335),d=n(2376),f=n(41740),p=n(43730),h=n(98003),g=n(8312),m=n(15935),v=n(79027),b=n(19623),y=n(56587),k=n(375),x=n(48339),w=n(66786),_=n(11462),A=n(39242),S=n(6780),C=n(96827),E=n(77183),T=n(13923),I=n(97571),j=n(50902),B=n(97889),N=n(86007),M=n(14983),R=n(58388),O=n(22017),L=n(93236),P=()=>{},D="core/block-editor",z="linkControlSettingsDrawer";function V({searchInputPlaceholder:e,value:t,settings:n=M.l2,onChange:s=P,onInputChange:k,onRemove:x,onCancel:w,noDirectEntry:N=!1,showSuggestions:$=!0,showInitialSuggestions:H,forceIsEditingLink:U,createSuggestion:W,withCreateSuggestion:K,inputValue:q="",suggestionsQuery:G={},noURLSuggestion:X=!1,createSuggestionButtonText:Y,hasRichPreviews:Z=!1,hasTextControl:Q=!1,renderControlBottom:J=null,handleEntities:ee=!1}){void 0===K&&W&&(K=!0);const[te,ne]=(0,d.useState)(!1),[re,oe]=(0,d.useState)(void 0),{advancedSettingsPreference:ie}=(0,b.A)(e=>({advancedSettingsPreference:e(y.M).get(D,z)??!1}),[]),{set:se}=(0,v.A)(y.M),ae=ie||te,le=(0,d.useRef)(!0),ce=(0,d.useRef)(),ue=(0,p.A)([ce,(0,S.h)()]),de=(0,d.useRef)(),fe=(0,d.useRef)(),pe=(0,d.useRef)(),he=n.map(({id:e})=>e),[ge,me,ve,be,ye]=(0,B.A)(t),ke=ee&&!!ge?.id,xe=(0,f.A)(V,"link-control"),we=ke?`${xe}__help`:null,_e=t&&!(0,m.A)(ge,t),[Ae,Se]=(0,d.useState)(void 0!==U?U:!t||!t.url),{createPage:Ce,isCreatingPage:Ee,errorMessage:Te}=(0,j.A)(W);(0,d.useEffect)(()=>{void 0!==U&&Se(U)},[U]),(0,d.useEffect)(()=>{if(le.current)return;(h.XC.focusable.find(ce.current)[0]||ce.current).focus()},[Ae,Ee]),(0,d.useEffect)(()=>(le.current=!1,()=>{le.current=!0}),[]);const Ie=(0,d.useRef)();(0,d.useEffect)(()=>{void 0!==Ie.current?Ie.current!==q&&(console.warn("LinkControl: The inputValue prop is uncontrolled and only sets the initial value. onInputChange is an observer for the input value. Changes to inputValue from the parent will not update the search input."),Ie.current=q):Ie.current=q},[q]),(0,d.useEffect)(()=>{if("invalid"===re?.type){const e=fe.current;e&&"function"==typeof e.reportValidity&&e.reportValidity()}},[re]);const je=t?.url?.trim()?.length>0,Be=()=>{Se(!1)},Ne=e=>{const t={type:"invalid",message:(0,u.__)("Please enter a valid URL.")},n={type:"valid"},r=e?.trim();if(!r?.length||!(0,R.Ay)(r))return t;if((0,R.d6)(r)||(0,R.Kb)(r))return n;const o=(0,A.i)(r);return(0,_.m)(o)?n:t},Me=()=>{(()=>{if(Pe)return!1;const e=Le.trim();if(ge&&ge.id&&ge.type&&!M.Il.includes(ge.type)&&t?.url===e)return oe(void 0),!0;const n=Ne(Le);return"invalid"===n.type?(oe(n),!1):(oe(void 0),!0)})()&&(_e&&s({...t,...ge,url:(0,O.A)(Le).url}),Be(),oe(void 0))},[Re,Oe]=(0,d.useState)(!1);(0,d.useEffect)(()=>{Re&&(fe.current?.focus(),Oe(!1))},[Re]);const Le=void 0!==ge?.url?ge.url:q||"",Pe=!Le?.trim()?.length;(0,d.useEffect)(()=>{oe(void 0)},[Le]);const De=x&&t&&!Ae&&!Ee,ze=Ae&&je,Ve=je&&Q,Fe=(Ae||!t)&&!Ee,$e=Pe||!!re||t&&!_e,He=!!n?.length&&Ae&&je,Ue=(0,d.useMemo)(()=>"taxonomy"===t?.kind&&!t?.url&&pe.current?{...t,url:pe.current}:t,[t]);return(0,L.jsxs)("div",{tabIndex:-1,ref:ue,className:"block-editor-link-control",children:[Ee&&(0,L.jsxs)("div",{className:"block-editor-link-control__loading",children:[(0,L.jsx)(l.Ay,{})," ",(0,u.__)("Creating"),"…"]}),Fe&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:(0,r.A)({"block-editor-link-control__search-input-wrapper":!0,"has-text-control":Ve,"has-actions":ze}),children:[Ve&&(0,L.jsx)(c.A,{ref:de,className:"block-editor-link-control__field block-editor-link-control__text-content",label:(0,u.__)("Text"),value:ge?.title,onChange:be,onKeyDown:e=>{const{keyCode:t}=e;t!==g.Fm||Pe||(e.preventDefault(),Me())}}),(0,L.jsx)(E.A,{ref:fe,currentLink:t,className:"block-editor-link-control__field block-editor-link-control__search-input",placeholder:e,value:Le,withCreateSuggestion:K,onCreateSuggestion:Ce,onChange:e=>{ve(e),k?.(e)},onSelect:e=>{if(!(e&&e.id&&e.type&&!M.Il.includes(e.type))){const t=e?.url||Le,n=Ne(t);if("invalid"===n.type)return void oe(n);const{url:r}=(0,O.A)(t);e={...e,url:r}}"taxonomy"===e?.kind&&e?.url&&(pe.current=e.url);const t=Object.keys(e).reduce((t,n)=>(he.includes(n)||(t[n]=e[n]),t),{});s({...ge,...t,title:ge?.title||e?.title}),oe(void 0),Be()},showInitialSuggestions:H,allowDirectEntry:!N,showSuggestions:$,suggestionsQuery:G,withURLSuggestion:!X,createSuggestionButtonText:Y,hideLabelFromVision:!Ve,isEntity:ke,customValidity:re,suffix:(0,L.jsx)(F,{isEntity:ke,showActions:ze,isDisabled:$e,onUnlink:()=>{const{id:e,kind:t,type:n,...r}=ge;me({...r,id:void 0,kind:void 0,type:void 0,url:void 0}),Oe(!0)},onSubmit:Me,helpTextId:we})}),ke&&we&&(0,L.jsx)("p",{id:we,className:"block-editor-link-control__help",children:(0,u.nv)(
177 /* translators: %s: entity type (e.g., page, post) */
178 /* translators: %s: entity type (e.g., page, post) */
179 (0,u.__)("Synced with the selected %s."),ge?.type||"item")})]}),Te&&(0,L.jsx)(a.A,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1,children:Te})]}),t&&!Ae&&!Ee&&(0,L.jsx)(T.A,{value:Ue,onEditClick:()=>Se(!0),hasRichPreviews:Z,hasUnlinkControl:De,onRemove:()=>{x(),Se(!0)}},Ue?.url),He&&(0,L.jsx)("div",{className:"block-editor-link-control__tools",children:!Pe&&(0,L.jsx)(C.A,{settingsOpen:ae,setSettingsOpen:e=>{se&&se(D,z,e),ne(e)},children:(0,L.jsx)(I.A,{value:ge,settings:n,onChange:ye(he)})})}),ze&&(0,L.jsxs)(o.A,{justify:"right",className:"block-editor-link-control__search-actions",children:[(0,L.jsx)(i.A,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:e=>{e.preventDefault(),e.stopPropagation(),me(t),oe(void 0),je?Be():x?.(),w?.()},children:(0,u.__)("Cancel")}),(0,L.jsx)(i.A,{__next40pxDefaultSize:!0,variant:"primary",onClick:$e?P:Me,className:"block-editor-link-control__search-submit","aria-disabled":$e,children:(0,u.__)("Apply")})]}),!Ee&&J&&J()]})}function F({isEntity:e,showActions:t,isDisabled:n,onUnlink:r,onSubmit:o,helpTextId:a}){return e?(0,L.jsx)(i.A,{icon:x.A,onClick:r,"aria-describedby":a,showTooltip:!0,label:(0,u.__)("Unsync and edit"),__next40pxDefaultSize:!0}):t?void 0:(0,L.jsx)(s.A,{variant:"control",children:(0,L.jsx)(i.A,{onClick:n?P:o,label:(0,u.__)("Submit"),icon:k.A,className:"block-editor-link-control__search-submit","aria-disabled":n,size:"small"})})}V.ViewerFill=N.GR,V.DEFAULT_LINK_SETTINGS=M.l2;var $=e=>((0,w.A)("wp.blockEditor.__experimentalLinkControl",{since:"6.8",alternative:"wp.blockEditor.LinkControl"}),(0,L.jsx)(V,{...e}));$.ViewerFill=V.ViewerFill,$.DEFAULT_LINK_SETTINGS=V.DEFAULT_LINK_SETTINGS;var H=V},58388(e,t,n){"use strict";n.d(t,{Ay:()=>l,Kb:()=>a,d6:()=>s});var r=n(89123),o=n(66880),i=n(14464);function s(e){return e?.startsWith("#")&&(0,i.R)(e)}function a(e){return e?.startsWith("/")||e?.startsWith("./")||e?.startsWith("../")}function l(e){if(e.includes(" "))return!1;const t=(0,r.J)(e),n=(0,o.v)(t),i=function(e,t=6){const n=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(n)}(e),l=e?.startsWith("www.");return n||l||s(e)||i||a(e)}},13923(e,t,n){"use strict";n.d(t,{A:()=>j});var r=n(13022),o=n(18335),i=n(38162),s=n(39927),a=n(83832),l=n(43192),c=n(8096),u=n(23720),d=n(84975),f=n(33057),p=n(56015),h=n(13109),g=n(85150),m=n(41490),v=n(28847),b=n(48339),y=n(33196),k=n(15394),x=n(79027),w=n(19623),_=n(18124),A=n(56587),S=n(61924),C=n(86007),E=n(96577),T=n(93236),{Badge:I}=(0,S.T)(u.j);function j({value:e,onEditClick:t,hasRichPreviews:n=!1,hasUnlinkControl:u=!1,onRemove:S}){const j=(0,w.A)(e=>e(A.M).get("core","showIconLabels"),[]),B=n?e?.url:null,{richData:N,isFetching:M}=(0,E.A)(B),R=N&&Object.keys(N).length,O=e&&(0,p.r)((0,f.S)(e.url),24)||"",L=!e?.url?.length,P=!L&&(0,k.A)(e?.entityTitle||N?.title||e?.title||O);let D;D=N?.icon?(0,T.jsx)("img",{src:N?.icon,alt:""}):L?(0,T.jsx)(h.A,{icon:v.A,size:32}):(0,T.jsx)(h.A,{icon:m.A});const{createNotice:z}=(0,x.A)(_.M),V=(0,d.Ay)(e.url,()=>{z("info",(0,o.__)("Link copied to clipboard."),{isDismissible:!0,type:"snackbar"})});return(0,T.jsx)(i.A,{role:"group","aria-label":(0,o.__)("Manage link"),className:(0,r.A)("block-editor-link-control__preview",{"is-current":!0,"is-rich":R,"is-fetching":!!M,"is-preview":!0,"is-error":L,"is-url-title":P===O}),children:(0,T.jsxs)(i.A,{gap:0,align:"flex-start",children:[(0,T.jsxs)(i.A,{className:"block-editor-link-control__link-information",role:"figure","aria-label":
180 /* translators: Accessibility text for the link preview when editing a link. */
181 /* translators: Accessibility text for the link preview when editing a link. */(0,o.__)("Link information"),justify:"start",align:"flex-start",children:[e?.image?(0,T.jsx)(i.A,{className:"block-editor-link-control__preview-image",justify:"center",children:(0,T.jsx)("img",{src:e?.image,alt:""})}):(0,T.jsx)(i.A,{className:(0,r.A)("block-editor-link-control__preview-icon",{"is-image":N?.icon}),justify:"center",children:D}),(0,T.jsx)(i.A,{className:"block-editor-link-control__preview-details",direction:"column",gap:2,children:L?(0,T.jsx)("span",{className:"block-editor-link-control__preview-error-notice",children:(0,o.__)("Link is empty")}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(c.A,{className:"block-editor-link-control__preview-title",href:e.url,children:(0,T.jsx)(s.A,{numberOfLines:1,children:P})}),(0,T.jsx)("span",{className:"block-editor-link-control__preview-info",children:(0,T.jsx)(s.A,{numberOfLines:1,children:O})}),e?.badges?.length>0&&(0,T.jsx)(a.A,{className:"block-editor-link-control__preview-badges",alignment:"left",gap:1,children:e.badges.map((e,t)=>(0,T.jsx)(I,{intent:e.intent,children:e.label},`${e.label}|${e.intent}|${t}`))})]})})]}),(0,T.jsx)(l.A,{icon:y.A,label:(0,o.__)("Edit link"),onClick:t,size:"compact",showTooltip:!j}),u&&(0,T.jsx)(l.A,{icon:b.A,label:(0,o.__)("Remove link"),onClick:S,size:"compact",showTooltip:!j}),(0,T.jsx)(l.A,{icon:g.A,label:(0,o.__)("Copy link"),ref:V,accessibleWhenDisabled:!0,disabled:L,size:"compact",showTooltip:!j}),(0,T.jsx)(C.Xe,{fillProps:e})]})})}},22017(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(89123),o=n(39242),i=n(58388),s=n(14983);function a(e){const t=e?.trim();if(!t)return{url:t,type:s.Pu};let n=s.Pu;const a=(0,r.J)(t)||"";return a.includes("mailto")?n=s._q:a.includes("tel")?n=s.$G:t?.startsWith("#")&&(n=s.r9),(0,i.d6)(t)||(0,i.Kb)(t)||t.startsWith("?")||a?{url:t,type:n}:{url:(0,o.i)(t),type:n}}},19530(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(18335),o=n(22953),i=n(95596),s=n(60167),a=n(93236),l=({searchTerm:e,onClick:t,itemProps:n,buttonText:l})=>{if(!e)return null;let c;return c=l?"function"==typeof l?l(e):l:(0,i.A)((0,r.nv)(
182 /* translators: %s: search term. */
183 /* translators: %s: search term. */
184 (0,r.__)("Create: <mark>%s</mark>"),e),{mark:(0,a.jsx)("mark",{})}),(0,a.jsx)(o.A,{...n,iconPosition:"left",icon:s.A,className:"block-editor-link-control__search-item",onClick:t,children:c})}},77183(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(2376),o=n(18335),i=n(84586),s=n(34097),a=n(14983),l=n(45353),c=n(93236),u=()=>Promise.resolve([]),d=()=>{},f=(0,r.forwardRef)(({value:e,children:t,currentLink:n={},className:f=null,placeholder:p=null,withCreateSuggestion:h=!1,onCreateSuggestion:g=d,onChange:m=d,onSelect:v=d,showSuggestions:b=!0,renderSuggestions:y=e=>(0,c.jsx)(s.A,{...e}),fetchSuggestions:k=null,allowDirectEntry:x=!0,showInitialSuggestions:w=!1,suggestionsQuery:_={},withURLSuggestion:A=!0,createSuggestionButtonText:S,hideLabelFromVision:C=!1,suffix:E,isEntity:T=!1,customValidity:I},j)=>{const B=(0,l.Ay)(_,x,h,A),N=b?k||B:u,[M,R]=(0,r.useState)(),O=async e=>{let t=e;if(a._9!==e.type){if(x||t&&Object.keys(t).length>=1){const{id:e,url:r,kind:o,type:i,...s}=n??{};v({...s,...t},t)}}else try{t=await g(e.title),t?.url&&v(t)}catch{}},L=p??(0,o.__)("Search or type URL"),P=C&&""!==p?L:(0,o.__)("Link");return(0,c.jsxs)("div",{className:"block-editor-link-control__search-input-container",children:[(0,c.jsx)(i.A,{disableSuggestions:n?.url===e,label:P,hideLabelFromVision:C,className:f,value:e,onChange:(e,t)=>{m(e),R(t)},placeholder:L,__experimentalRenderSuggestions:b?e=>y({...e,withCreateSuggestion:h,createSuggestionButtonText:S,suggestionsQuery:_,handleSuggestionClick:t=>{e.handleSuggestionClick&&e.handleSuggestionClick(t),O(t)}}):null,__experimentalFetchLinkSuggestions:N,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:w,customValidity:I,required:!1,onSubmit:(t,n)=>{const r=t||M;r||e?.trim()?.length?O(r||{url:e}):n.preventDefault()},inputRef:j,suffix:E,disabled:T}),t]})}),p=f},13692(e,t,n){"use strict";n.d(t,{Ay:()=>E});var r=n(18335),o=n(22953),i=n(24330),s=n(13109),a=n(40599),l=n(65842),c=n(41490),u=n(25242),d=n(78058),f=n(50018),p=n(60529),h=n(58450),g=n(15394),m=n(64746),v=n(33057),b=n(56015),y=n(29158),k=n(93236),x={post:{icon:f.A,label:(0,r.__)("Post")},page:{icon:d.A,label:(0,r.__)("Page")},post_tag:{icon:p.A,label:(0,r.__)("Tag")},category:{icon:a.A,label:(0,r.__)("Category")},attachment:{icon:l.A,label:(0,r.__)("Attachment")}};function w({isURL:e,suggestion:t}){let n=null;return e?n=c.A:t.type in x&&(n=x[t.type].icon,"page"===t.type&&(t.isFrontPage&&(n=u.A),t.isBlogHome&&(n=h.A))),n?(0,k.jsx)(s.A,{className:"block-editor-link-control__search-item-icon",icon:n}):null}function _(e){const t=e?.trim();return t?.length?e?.replace(/^\/?/,"/"):e}function A(e){const t=e?.trim();return t?.length?e?.replace(/\/$/,""):e}var S=({itemProps:e,suggestion:t,searchTerm:n,onClick:s,isURL:a=!1,shouldShowType:l=!1})=>{const c=a?(0,r.__)("Press ENTER to add this link"):(u=t.url)?(0,y.h)(v.S,m.Y,(d="",e=>null==e||e!=e?d:e),((e,...t)=>(...n)=>e(...n,...t))(b.r,24),A,_)(u):u;var u,d;return(0,k.jsx)(o.A,{...e,info:c,iconPosition:"left",icon:(0,k.jsx)(w,{suggestion:t,isURL:a}),onClick:s,shortcut:l&&C(t),className:"block-editor-link-control__search-item",children:(0,k.jsx)(i.A,{text:(0,g.A)(t.title),highlight:n})})};function C(e){return e.isFrontPage?(0,r.__)("Front page"):e.isBlogHome?(0,r.__)("Blog home"):e.type in x?x[e.type].label:e.type}var E=S},34097(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(18335),o=n(57655),i=n(13022),s=n(19530),a=n(13692),l=n(14983),c=n(93236);function u({withCreateSuggestion:e,currentInputValue:t,handleSuggestionClick:n,suggestionsListProps:u,buildSuggestionItemProps:d,suggestions:f,selectedSuggestion:p,isLoading:h,isInitialSuggestions:g,createSuggestionButtonText:m,suggestionsQuery:v}){const b=(0,i.A)("block-editor-link-control__search-results",{"is-loading":h}),y=1===f.length&&l.Il.includes(f[0].type),k=e&&!y&&!g,x=!v?.type,w=g?(0,r.__)("Suggestions"):(0,r.nv)(
185 /* translators: %s: search term. */
186 /* translators: %s: search term. */
187 (0,r.__)('Search results for "%s"'),t);return(0,c.jsx)("div",{className:"block-editor-link-control__search-results-wrapper",children:(0,c.jsx)("div",{...u,className:b,"aria-label":w,children:(0,c.jsx)(o.A,{children:f.map((e,r)=>k&&l._9===e.type?(0,c.jsx)(s.A,{searchTerm:t,buttonText:m,onClick:()=>n(e),itemProps:d(e,r),isSelected:r===p},e.type):l._9===e.type?null:(0,c.jsx)(a.Ay,{itemProps:d(e,r),suggestion:e,index:r,onClick:()=>{n(e)},isSelected:r===p,isURL:l.Il.includes(e.type),searchTerm:t,shouldShowType:x,isFrontPage:e?.isFrontPage,isBlogHome:e?.isBlogHome},`${e.id}-${e.type}`))})})})}var d=u},96827(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(45913),o=n(5158),i=n(43192),s=n(28500),a=n(72979),l=n(41740),c=n(7680),u=n(18335),d=n(2376),f=n(93236);var p=function e({children:t,settingsOpen:n,setSettingsOpen:p}){const h=(0,c.A)(),g=h?d.Fragment:r.N,m=h?"div":o.P.div,v=`link-control-settings-drawer-${(0,l.A)(e)}`;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(i.A,{__next40pxDefaultSize:!0,className:"block-editor-link-control__drawer-toggle","aria-expanded":n,onClick:()=>p(!n),icon:(0,u.V8)()?s.A:a.A,"aria-controls":v,children:(0,u._x)("Advanced","Additional link settings")}),(0,f.jsx)(g,{children:n&&(0,f.jsx)(m,{className:"block-editor-link-control__drawer",hidden:!n,id:v,initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{duration:.1},children:(0,f.jsx)("div",{className:"block-editor-link-control__drawer-inner",children:t})})})]})}},97571(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(18335),o=n(43715),i=n(81436),s=n(93236),a=()=>{},l=({value:e,onChange:t=a,settings:n})=>{if(!n||!n.length)return null;const l=n=>r=>{t({...e,[n.id]:r})},c=n.map(n=>{if("render"in n){if("function"==typeof n.render){const r=n.render(n,e,t);return(0,s.jsx)("div",{className:"block-editor-link-control__setting",children:r},n.id)}return null}return(0,s.jsx)(o.A,{className:"block-editor-link-control__setting",label:n.title,onChange:l(n),checked:!!e&&!!e[n.id],help:n?.help},n.id)}).filter(Boolean);return(0,s.jsxs)("fieldset",{className:"block-editor-link-control__settings",children:[(0,s.jsx)(i.s,{render:(0,s.jsx)("legend",{}),children:(0,r.__)("Currently selected link settings")}),c]})}},50902(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(18335),o=n(2376);function i(e){const t=(0,o.useRef)(),[n,i]=(0,o.useState)(!1),[a,l]=(0,o.useState)(null);return(0,o.useEffect)(()=>()=>{t.current&&t.current.cancel()},[]),{createPage:async function(n){i(!0),l(null);try{return t.current=s(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw l(e.message||(0,r.__)("An unknown error occurred during creation. Please try again.")),e}finally{i(!1)}},isCreatingPage:n,errorMessage:a}}var s=e=>{let t=!1;return{promise:new Promise((n,r)=>{e.then(e=>t?r({isCanceled:!0}):n(e),e=>r(t?{isCanceled:!0}:e))}),cancel(){t=!0}}}},97889(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=n(78669);function i(e){const[t,n]=(0,r.useState)(e||{}),[i,s]=(0,r.useState)(e);o(e,i)||(s(e),n(e));return[t,n,e=>{n({...t,url:e})},e=>{n({...t,title:e})},e=>r=>{const o=Object.keys(r).reduce((t,n)=>(e.includes(n)&&(t[n]=r[n]),t),{});n({...t,...o})}]}},96577(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(19623),o=n(2376),i=n(25552);function s(e,t){switch(t.type){case"RESOLVED":return{...e,isFetching:!1,richData:t.richData};case"ERROR":return{...e,isFetching:!1,richData:null};case"LOADING":return{...e,isFetching:!0};default:throw new Error(`Unexpected action type ${t.type}`)}}var a=function(e){const[t,n]=(0,o.useReducer)(s,{richData:null,isFetching:!1}),{fetchRichUrlData:a}=(0,r.A)(e=>{const{getSettings:t}=e(i.M);return{fetchRichUrlData:t().__experimentalFetchRichUrlData}},[]);return(0,o.useEffect)(()=>{if(e?.length&&a&&"undefined"!=typeof AbortController){n({type:"LOADING"});const t=new window.AbortController,r=t.signal;return a(e,{signal:r}).then(e=>{n({type:"RESOLVED",richData:e})}).catch(()=>{r.aborted||n({type:"ERROR"})}),()=>{t.abort()}}},[e]),t}},45353(e,t,n){"use strict";n.d(t,{Ay:()=>d});var r=n(2376),o=n(19623),i=n(58388),s=n(22017),a=n(14983),l=n(25552),c=()=>Promise.resolve([]),u=e=>{const{url:t,type:n}=(0,s.A)(e);return Promise.resolve([{id:e,title:e,url:t,type:n}])};function d(e,t,n){const{fetchSearchSuggestions:s,pageOnFront:d,pageForPosts:f}=(0,o.A)(e=>{const{getSettings:t}=e(l.M);return{pageOnFront:t().pageOnFront,pageForPosts:t().pageForPosts,fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),p=t?u:c;return(0,r.useCallback)((t,{isInitialSuggestions:r})=>(0,i.Ay)(t)?p(t,{isInitialSuggestions:r}):(async(e,t,n,r,o,s)=>{const{isInitialSuggestions:l}=t,c=await n(e,t);return c.map(e=>Number(e.id)===o?(e.isFrontPage=!0,e):Number(e.id)===s?(e.isBlogHome=!0,e):e),l||(0,i.Ay)(e)||!r?c:c.concat({title:e,url:e,type:a._9})})(t,{...e,isInitialSuggestions:r},s,n,d,f),[p,s,d,f,e,n])}},86007(e,t,n){"use strict";n.d(t,{GR:()=>i,Xe:()=>o});var r=n(63684),{Slot:o,Fill:i}=(0,r.QJ)("BlockEditorLinkControlViewer")},13994(e,t,n){"use strict";n.d(t,{P:()=>p});var r=n(93203),o=n(1179),i=n(43192),s=n(88149),a=n(81436),l=n(2376),c=n(18335),u=n(29900),d=n(19952),f=n(93236);function p({preview:e,onSelect:t,suggestionsQuery:n,label:p,help:h}){const[g,m]=(0,l.useState)(!1),v=(0,l.useId)(),b=`link-picker-title-${v}`,y=`link-picker-description-${v}`,k=(0,l.useRef)(null),{baseControlProps:x,controlProps:w}=(0,r.Y)({help:h});return(0,f.jsxs)(o.Ay,{...x,children:[(0,f.jsx)(o.Ay.VisualLabel,{children:p}),(0,f.jsxs)(i.A,{ref:k,onClick:()=>m(!g),"aria-haspopup":"dialog","aria-expanded":g,"aria-describedby":w["aria-describedby"],variant:"secondary",__next40pxDefaultSize:!0,className:"link-preview-button",children:[p&&(0,f.jsxs)(a.s,{children:[p,":"]}),(0,f.jsx)(d.r,{title:e.title||(0,c.__)("Add link"),url:e.url,image:e.image,badges:e.badges})]}),g&&(0,f.jsx)(s.Ay,{anchor:k.current,onClose:()=>m(!1),placement:"left-start",offset:36,shift:!0,children:(0,f.jsxs)("div",{role:"dialog","aria-labelledby":b,"aria-describedby":y,children:[(0,f.jsxs)(a.s,{children:[(0,f.jsx)("h2",{id:b,children:(0,c.__)("Select a link")}),(0,f.jsx)("p",{id:y,children:(0,c.__)("Search for and add a link to the navigation item.")})]}),(0,f.jsx)(u.A,{value:null,onChange:e=>{if(m(!1),e){const n={url:e.url,kind:e.kind,type:e.type,id:e.id,title:e.title};t(n)}},suggestionsQuery:n,showInitialSuggestions:!0,forceIsEditingLink:!0,settings:[]})]})})]})}},19952(e,t,n){"use strict";n.d(t,{r:()=>h});var r=n(83832),o=n(52474),i=n(54446),s=n(39927),a=n(23720),l=n(13109),c=n(65673),u=n(15394),d=n(61924),f=n(93236),{Badge:p}=(0,d.T)(a.j);function h({title:e,url:t,image:n,badges:a}){return(0,f.jsxs)(r.A,{justify:"space-between",alignment:"top",children:[(0,f.jsx)(o.A,{className:"link-preview-button__content",children:(0,f.jsxs)(r.A,{alignment:"top",children:[n&&(0,f.jsx)(o.A,{className:"link-preview-button__image-container",children:(0,f.jsx)("img",{className:"link-preview-button__image",src:n,alt:""})}),(0,f.jsxs)(i.A,{className:"link-preview-button__details",alignment:"topLeft",children:[(0,f.jsx)(s.A,{numberOfLines:1,className:"link-preview-button__title",children:(0,u.A)(e)}),t&&(0,f.jsx)(s.A,{numberOfLines:1,className:"link-preview-button__hint",children:t}),a&&a.length>0&&(0,f.jsx)(r.A,{className:"link-preview-button__badges",alignment:"left",children:a.map(e=>(0,f.jsx)(p,{intent:e.intent,children:e.label},`${e.label}|${e.intent}`))})]})]})}),(0,f.jsx)(l.A,{icon:c.A,className:"link-preview-button__icon"})]})}},11502(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(19623),o=n(25552);var i=function({fallback:e=null,children:t}){return(0,r.A)(e=>{const{getSettings:t}=e(o.M);return!!t().mediaUpload},[])?t:e}},74618(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(21053).A)("editor.MediaUpload")(()=>null)},9299(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(99995),o=n(23528),i=n(2376),s=n(19623),a=n(66786),l=n(98003),c=n(63632),u=n(8312),d=n(25552),f=n(9319),p=n(61924),h=n(93236);function g(e){return Array.from(e.querySelectorAll("[data-toolbar-item]:not([disabled])"))}function m(e){return e.contains(e.ownerDocument.activeElement)}function v({toolbarRef:e,focusOnMount:t,isAccessibleToolbar:n,defaultIndex:r,onIndexChange:o,shouldUseKeyboardFocusShortcut:a,focusEditorOnEscape:h}){const[v]=(0,i.useState)(t),[b]=(0,i.useState)(r),{getLastFocus:y,getSelectedBlockClientId:k}=(0,p.T)((0,s.A)(d.M)),{refsMap:x}=(0,i.useContext)(f.O),w=(0,i.useCallback)(()=>{!function(e){const[t]=l.XC.tabbable.find(e);t&&t.focus({preventScroll:!0})}(e.current)},[e]);(0,c.wk)("core/block-editor/focus-toolbar",()=>{a&&w()}),(0,i.useEffect)(()=>{v&&w()},[n,v,w]),(0,i.useEffect)(()=>{const t=e.current;let n=0;return v||m(t)||(n=window.requestAnimationFrame(()=>{const e=g(t),n=b||0;e[n]&&m(t)&&e[n].focus({preventScroll:!0})})),()=>{if(window.cancelAnimationFrame(n),!o||!t)return;const e=g(t).findIndex(e=>0===e.tabIndex);o(e)}},[b,v,o,e]),(0,i.useEffect)(()=>{if(!h)return;const t=e.current,n=e=>{if(e.keyCode!==u._f)return;const t=y()?.current??x.get(k());t&&(e.preventDefault(),t.focus())};return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},[h,y,k,x,e])}function b({children:e,focusOnMount:t,focusEditorOnEscape:n=!1,shouldUseKeyboardFocusShortcut:s=!0,__experimentalInitialIndex:c,__experimentalOnIndexChange:u,orientation:d="horizontal",...f}){const p=(0,i.useRef)(),g=function(e){const[t,n]=(0,i.useState)(!0),r=(0,i.useCallback)(()=>{const t=l.XC.tabbable.find(e.current);if(0===t.length)return;const r=!t.some(e=>!("toolbarItem"in e.dataset));r||(0,a.A)("Using custom components as toolbar controls",{since:"5.6",alternative:"ToolbarItem, ToolbarButton or ToolbarDropdownMenu components",link:"https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols"}),n(r)},[e]);return(0,i.useLayoutEffect)(()=>{const t=new window.MutationObserver(r);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[r,t,e]),t}(p);return v({toolbarRef:p,focusOnMount:t,defaultIndex:c,onIndexChange:u,isAccessibleToolbar:g,shouldUseKeyboardFocusShortcut:s,focusEditorOnEscape:n}),g?(0,h.jsx)(r.A,{label:f["aria-label"],ref:p,orientation:d,...f,children:e}):(0,h.jsx)(o.Ay,{orientation:d,role:"toolbar",ref:p,...f,children:e})}},88236(e,t,n){"use strict";n.d(t,{Ay:()=>h,EL:()=>f,JG:()=>p});var r=n(43730),o=n(71886),i=n(79027),s=n(19623),a=n(60477),l=n(8312),c=n(25552),u=n(93236),d=new Set([l.UP,l.NS,l.PX,l.M3,l.Fm,l.G_]);function f(){const e=(0,s.A)(e=>e(c.M).isTyping(),[]),{stopTyping:t}=(0,i.A)(c.M);return(0,o.A)(n=>{if(!e)return;const{ownerDocument:r}=n;let o,i;function s(e){const{clientX:n,clientY:r}=e;o&&i&&(o!==n||i!==r)&&t(),o=n,i=r}return r.addEventListener("mousemove",s),()=>{r.removeEventListener("mousemove",s)}},[e,t])}function p(){const e=(0,s.A)(e=>e(c.M).isTyping(),[]),{startTyping:t,stopTyping:n}=(0,i.A)(c.M),u=f(),p=(0,o.A)(r=>{if(e){let e=function(e){const{target:t}=e;i=s.setTimeout(()=>{(0,a.A)(t)||n()})},t=function(e){const{keyCode:t}=e;t!==l._f&&t!==l.wn||n()},o=function(){s.getSelection().isCollapsed||n()};let i;const{defaultView:s}=r.ownerDocument;return r.addEventListener("focus",e),r.addEventListener("keydown",t),r.ownerDocument.addEventListener("selectionchange",o),()=>{s.clearTimeout(i),r.removeEventListener("focus",e),r.removeEventListener("keydown",t),r.ownerDocument.removeEventListener("selectionchange",o)}}function o(e){const{type:n,target:o}=e;(0,a.A)(o)&&r.contains(o)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&d.has(t)}(e))&&t()}return r.addEventListener("keypress",o),r.addEventListener("keydown",o),()=>{r.removeEventListener("keypress",o),r.removeEventListener("keydown",o)}},[e,t,n]);return(0,r.A)([u,p])}var h=function({children:e}){return(0,u.jsx)("div",{ref:p(),children:e})}},9319(e,t,n){"use strict";n.d(t,{O:()=>s,z:()=>a});var r=n(2376),o=n(76032),i=n(93236),s=(0,r.createContext)({refsMap:(0,o.u)(),eventHandlers:new Map});function a({children:e}){const t=(0,r.useMemo)(()=>({refsMap:(0,o.u)(),eventHandlers:new Map}),[]);return(0,i.jsx)(s.Provider,{value:t,children:e})}s.displayName="BlockRefsContext"},81779(e,t,n){"use strict";n.d(t,{Ay:()=>j,Cg:()=>I});var r=n(79027),o=n(2376),i=n(63684),s=n(18335),a=n(26068),l=n(65543),c=n(13006),u=n(25552),d=n(9319),f=n(61924),p=n(91189),h=n(4461),g=n(79969),m=n(12634),v=n(41851),b=n(93236),y=()=>{},k=!1,x=null,w=null,_=["image/heic","image/heif"];function A(e,t,n){return!t&&e.length>1&&(n((0,s.__)("Only one file can be used here.")),!0)}function S(){if(null!==x)return x;if(!window.__clientSideMediaProcessing)return x=!1,!1;if("function"!=typeof a.detectClientSideMediaSupport)return x=!1,!1;const e=(0,a.detectClientSideMediaSupport)();return e&&e.supported?(x=!0,!0):(k||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),k=!0),x=!1,!1)}function C(e,t,{allowedTypes:n,additionalData:r={},filesList:o,onError:i=y,onFileChange:s,onSuccess:l,onBatchSuccess:c,multiple:u=!0}){A(o,u,i)||e.dispatch(a.store).addItems({files:Array.from(o),onChange:s,onSuccess:e=>{t?.[m.Df]?.(e),l?.(e)},onBatchSuccess:c,onError:e=>i("string"==typeof e?e:e?.message??""),additionalData:r,allowedTypes:n})}function E(e,t,{allowedTypes:n,additionalData:r={},filesList:o,onError:i=y,onFileChange:s,onSuccess:l,onBatchSuccess:c,multiple:u=!0}){if(A(o,u,i))return;const d=Array.from(o),f=d.filter(e=>_.includes(e.type)),p=d.filter(e=>!_.includes(e.type)),h=f.length>0&&p.length>0&&t?.mediaUpload;let g=h?2:1;const v=h?()=>{g--,g<=0&&c?.()}:c;f.length>0&&e.dispatch(a.store).addItems({files:f,onChange:s,onSuccess:e=>{t?.[m.Df]?.(e),l?.(e)},onBatchSuccess:v,onError:e=>i("string"==typeof e?e:e?.message??""),additionalData:r,allowedTypes:n}),p.length>0&&t?.mediaUpload&&t.mediaUpload({allowedTypes:n,additionalData:r,filesList:p,onError:i,onFileChange:s,onSuccess:l,onBatchSuccess:v,multiple:u})}function T(e){return(0,c.A)(e),null}var I=(0,l.A)(e=>{const{settings:t,registry:n,stripExperimentalSettings:s=!1}=e,l=(0,g.A)(t),c=S(),m=null!==w?w:S()?(w=!1,!1):window.__clientSideMediaProcessing&&"function"==typeof a.isHeicCanvasSupported&&(0,a.isHeicCanvasSupported)()?(w=!0,!0):(w=!1,!1),k=c||m,x=!!t?.mediaUpload?.__isMediaUploadInterceptor,_=(0,o.useMemo)(()=>{if(k&&t?.mediaUpload&&!x){const e=(c?C:E).bind(null,n,t);return e.__isMediaUploadInterceptor=!0,{...t,mediaUpload:e}}return t},[t,n,k,c,x]),{__experimentalUpdateSettings:A}=(0,f.T)((0,r.A)(u.M));(0,o.useEffect)(()=>{A({..._,__internalIsInitialized:!0},{stripExperimentalSettings:s,reset:!0})},[_,s,A]);const I=(0,o.useRef)(e.selection);I.current=e.selection;const j=(0,o.useRef)(e.onChangeSelection??y);j.current=e.onChangeSelection??y;const B=(0,o.useMemo)(()=>({getSelection:()=>I.current,onChangeSelection:(...e)=>j.current(...e)}),[]),N=(0,b.jsxs)(i.Kq,{passthrough:!0,children:[!_?.isPreviewMode&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p.A.Register,{}),(0,b.jsx)(h.A,{})]}),(0,b.jsx)(d.z,{children:e.children})]}),M=(0,b.jsxs)(v.u.Provider,{value:B,children:[(0,b.jsx)(T,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),N]});return k&&!x?(0,b.jsx)(a.MediaUploadProvider,{settings:l,useSubRegistry:!1,children:M}):M}),j=e=>(0,b.jsx)(I,{...e,stripExperimentalSettings:!0,children:e.children})},41851(e,t,n){"use strict";n.d(t,{u:()=>r});var r=(0,n(2376).createContext)({getSelection:()=>{},onChangeSelection:()=>{}})},13006(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(2376),o=n(65627),i=n(87761),s=n(25552),a=n(41851),l=()=>{};function c(e,t){const n=(0,i.JB)(e);return t.externalToInternal.set(e.clientId,n.clientId),t.internalToExternal.set(n.clientId,e.clientId),e.innerBlocks?.length&&(n.innerBlocks=e.innerBlocks.map(e=>c(e,t))),n}function u(e,t){return e.map(e=>{const n=t.internalToExternal.get(e.clientId);return{...e,clientId:n??e.clientId,innerBlocks:u(e.innerBlocks,t)}})}function d(e,t){const{selectionStart:n,selectionEnd:r,initialPosition:o}=e,i=e=>{if(!e?.clientId)return e;const n=t.internalToExternal.get(e.clientId);return{...e,clientId:n??e.clientId}};return{selectionStart:i(n),selectionEnd:i(r),initialPosition:o}}function f({clientId:e=null,value:t,onChange:n=l,onInput:i=l}){const f=(0,o.A)(),{getSelection:p,onChangeSelection:h}=(0,r.useContext)(a.u),{resetBlocks:g,resetSelection:m,replaceInnerBlocks:v,setHasControlledInnerBlocks:b,__unstableMarkNextChangeAsNotPersistent:y}=f.dispatch(s.M),{getBlockName:k,getBlocks:x,getSelectionStart:w,getSelectionEnd:_}=f.select(s.M),A=(0,r.useRef)({incoming:null,outgoing:[]}),S=(0,r.useRef)(!1),C=(0,r.useRef)({externalToInternal:new Map,internalToExternal:new Map}),E=(0,r.useRef)(null),T=(0,r.useRef)(!1),I=()=>{t&&(e?f.batch(()=>{C.current.externalToInternal.clear(),C.current.internalToExternal.clear();const n=t.map(e=>c(e,C.current));y({history:"ignore"}),b(e,!0),S.current&&(A.current.incoming=n),y({history:"ignore"}),v(e,n),E.current=null}):(S.current&&(A.current.incoming=t),y({history:"ignore"}),g(t)))},j=(0,r.useRef)(i),B=(0,r.useRef)(n);(0,r.useEffect)(()=>{j.current=i,B.current=n},[i,n]),(0,r.useEffect)(()=>{const n=A.current.outgoing.includes(t),r=x(e)===t;n?A.current.outgoing[A.current.outgoing.length-1]===t&&(A.current.outgoing=[]):r||(A.current.outgoing=[],I(),(()=>{const t=p();if(!t?.selectionStart?.clientId||t===E.current)return;const n=t.selectionStart.clientId;if(e?C.current.externalToInternal.has(n):k(n)){E.current=t;const n=t=>t?.clientId&&e?{...t,clientId:C.current.externalToInternal.get(t.clientId)??t.clientId}:t;T.current=!0,m(n(t.selectionStart),n(t.selectionEnd),t.initialPosition),T.current=!1}})())},[t,e]),(0,r.useEffect)(()=>{const{getSelectedBlocksInitialCaretPosition:t,isLastBlockChangePersistent:n,__unstableGetLastBlockChangeHistoryMode:r,__unstableIsLastBlockChangeIgnored:o,areInnerBlocksControlled:i,getBlockParents:a}=f.select(s.M);let l=x(e),c=n(),p=r(),g=!1,m=w(),v=_();S.current=!0;const b=f.subscribe(()=>{if(null!==e&&null===k(e))return;const s=n(),b=r(),y=x(e),S=y!==l;if(l=y,S&&(A.current.incoming||o()))return A.current.incoming=null,c=s,void(p=b);const E=S||g&&!S&&s&&!c,I=w(),N=_(),M=I!==m||N!==v;M&&(m=I,v=N),(E||M)&&f.batch(()=>{if(E){c=s,p=b;const n=e?u(l,C.current):l,r={selectionStart:I,selectionEnd:N,initialPosition:t()},o=e?d(r,C.current):r;A.current.outgoing.push(n);const i=c?B.current:j.current,a={selection:o};"ignore"===p&&(a.undoIgnore=!0),i(n,a)}if(M&&!E&&I?.clientId&&!T.current){if(e?C.current.internalToExternal.has(I.clientId):!a(I.clientId).some(e=>i(e))){const n={selectionStart:I,selectionEnd:N,initialPosition:t()};h(e?d(n,C.current):n)}}}),g=S},s.M);return()=>{S.current=!1,b()}},[f,e]),(0,r.useEffect)(()=>()=>{e?(y({history:"ignore"}),b(e,!1),y({history:"ignore"}),v(e,[])):(y({history:"ignore"}),g([]))},[])}},79969(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);var o=function(e={}){return(0,r.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,mediaFinalize:e.mediaFinalize,mediaDelete:e.mediaDelete,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold,imageStripMeta:e.imageStripMeta,imageMaxBitDepth:e.imageMaxBitDepth}),[e])}},65543(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(2376),o=n(16185),i=n(65627),s=n(32244),a=n(94081),l=n(25552),c=n(89259),u=n(93236);var d=(0,a.f)(e=>function({useSubRegistry:t=!0,...n}){const a=(0,i.A)(),[d]=(0,r.useState)(()=>new WeakMap),f=function(e,t,n){if(!n)return t;let r=e.get(t);return r||(r=(0,s.I)({},t),r.registerStore(c.E,l.i),e.set(t,r)),r}(d,a,t);return f===a?(0,u.jsx)(e,{registry:a,...n}):(0,u.jsx)(o.Ay,{value:f,children:(0,u.jsx)(e,{registry:f,...n})})},"withRegistryProvider")},73943(e,t,n){"use strict";n.d(t,{Yv:()=>l});var r=n(26068),o=n(18335),i=n(2376),s=n(97963),a=n(93236);var l=(0,i.forwardRef)(function({onClose:e,onChange:t,showPopoverHeader:n=!0,showPopoverHeaderActions:i,isCompact:l,currentDate:c,title:u,...d},f){const p={startOfWeek:(0,r.getSettings)().l10n.startOfWeek,onChange:t,currentDate:l?void 0:c,currentTime:l?c:void 0,...d},h=l?r.TimePicker:r;return(0,a.jsxs)("div",{ref:f,className:"block-editor-publish-date-time-picker",children:[n&&(0,a.jsx)(s.A,{title:u||(0,o.__)("Publish"),actions:i?[{label:(0,o.__)("Reset"),onClick:()=>t?.(null)}]:void 0,onClose:e}),(0,a.jsx)(h,{...p})]})});(0,i.forwardRef)(function(e,t){return(0,a.jsx)(l,{...e,showPopoverHeaderActions:!0,isCompact:!1,ref:t})})},13078(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(98253),o=n(21948),i=n(93236);function s({clientId:e,resizableBoxProps:t,...n}){return(0,i.jsx)(o.A,{clientId:e,__unstablePopoverSlot:"block-toolbar",...n,children:(0,i.jsx)(r.A,{...t})})}},34319(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(69919),o=n(26068),i=n(18335),s=n(93236),a=[{label:(0,i._x)("Thumbnail","Image size option for resolution control"),value:"thumbnail"},{label:(0,i._x)("Medium","Image size option for resolution control"),value:"medium"},{label:(0,i._x)("Large","Image size option for resolution control"),value:"large"},{label:(0,i._x)("Full Size","Image size option for resolution control"),value:"full"}];function l({panelId:e,value:t,onChange:n,options:l=a,defaultValue:c=a[0].value,isShownByDefault:u=!0,resetAllFilter:d}){const f=t??c;return(0,s.jsx)(o.ToolsPanelItem,{hasValue:()=>f!==c,label:(0,i.__)("Resolution"),onDeselect:()=>n(c),isShownByDefault:u,panelId:e,resetAllFilter:d,children:(0,s.jsx)(r.A,{label:(0,i.__)("Resolution"),value:f,options:l,onChange:n,help:(0,i.__)("Select the size of the source image.")})})}},39067(e,t,n){"use strict";n.d(t,{U:()=>u,V:()=>c});var r=n(32557),o=n(87761),i=n(66786),s=n(78896),a=n(93535),l=n(93236);function c(e,t){if(s.Ay.isEmpty(e)){const e=(0,a.Kd)(t);return e?`<${e}></${e}>`:""}return Array.isArray(e)?((0,i.A)("wp.blockEditor.RichText value prop as children type",{since:"6.1",version:"6.3",alternative:"value prop as string",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),o.Y_.toHTML(e)):"string"==typeof e?e:e.toHTMLString()}function u({value:e,tagName:t,multiline:n,format:o,...i}){return e=(0,l.jsx)(r.A,{children:c(e,n)}),t?(0,l.jsx)(t,{...i,children:e}):e}},92535(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4157),o=n(80471),i=n(25552),s=n(61924),{subscribeOwnedListener:a}=(0,s.T)(r.jb),l=["`",'"',"'","“”","‘’"],c=e=>t=>a(t,"beforeinput",function(n){const{inputType:s,data:a}=n,{value:c,onChange:u,registry:d}=e.current;if("insertText"!==s)return;if((0,r.kW)(c))return;const f=(0,o.W5)("blockEditor.wrapSelectionSettings",l).find(([e,t])=>e===a||t===a);if(!f)return;const[p,h=p]=f,g=c.start,m=c.end+p.length;let v=(0,r.Yr)(c,p,g,g);v=(0,r.Yr)(v,h,m,m);const{__unstableMarkLastChangeAsPersistent:b,__unstableMarkAutomaticChange:y}=d.dispatch(i.M);b(),u(v),y();const k={};for(const e in n)k[e]=n[e];k.data=h;const{ownerDocument:x}=t,{defaultView:w}=x,_=new w.InputEvent("input",k);window.queueMicrotask(()=>{t.dispatchEvent(_)}),n.preventDefault()},!0)},80870(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(8312),o=n(4157),i=n(61924),{subscribeOwnedListener:s}=(0,i.T)(o.jb),a=e=>t=>s(t,"keydown",function(t){const{keyCode:n}=t;if(t.defaultPrevented)return;const{value:i,onMerge:s,onRemove:a}=e.current;if(n===r.SJ||n===r.G_){const{start:e,end:l,text:c}=i,u=n===r.G_,d=i.activeFormats&&!!i.activeFormats.length;if(!(0,o.kW)(i)||d||u&&0!==e||!u&&l!==c.length)return;s?s(!u):a&&(0,o.Im)(i)&&u&&a(!u),t.preventDefault()}})},9787(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(8312),o=n(4157),i=n(50788),s=n(61924),{subscribeOwnedListener:a,ownsSelection:l}=(0,s.T)(o.jb),{subscribeDelegatedListener:c}=(0,s.T)(i.j),u=e=>t=>{const{defaultView:n}=t.ownerDocument,i=c(n,"beforeinput",function(e){e.defaultPrevented||"insertParagraph"!==e.inputType&&"insertLineBreak"!==e.inputType||(e.target===t||l(t))&&e.preventDefault()}),s=a(t,"keydown",function(t){if(t.keyCode!==r.Fm)return;const{onReplace:n,onSplit:i,supportsSplitting:s,disableLineBreaks:a,onChange:l,getValue:c,onSplitAtDoubleLineEnd:u,registry:d,onSplitAtEnd:f}=e.current,p=c(),{text:h,start:g,end:m}=p;t.shiftKey?a||(t.preventDefault(),l((0,o.Yr)(p,"\n"))):f&&g===m&&m===h.length?(t.preventDefault(),f()):s||n&&i||a||t.defaultPrevented||(t.preventDefault(),u&&g===m&&m===h.length&&"\n\n"===h.slice(-2)?d.batch(()=>{const e={...p};e.start=e.end-2,l((0,o.TF)(e)),u()}):l((0,o.Yr)(p,"\n")))},!0),u=a(t,"beforeinput",function(t){if("insertParagraph"!==t.inputType)return;const{onReplace:n,onSplit:r}=e.current;n&&r&&(t.__deprecatedOnSplit=!0)},!0);return()=>{i(),s(),u()}}},45609(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(25552),o=e=>t=>{function n(){const{registry:n}=e.current;if(!n.select(r.M).isMultiSelecting())return;const o=t.parentElement.closest('[contenteditable="true"]');o&&o.focus()}return t.addEventListener("focus",n),()=>{t.removeEventListener("focus",n)}}},26933(e,t,n){"use strict";n.d(t,{r:()=>m});var r=n(2376),o=n(71886),i=n(92535),s=n(63143),a=n(81897),l=n(71446),c=n(28404),u=n(91841),d=n(70515),f=n(80870),p=n(9787),h=n(45609),g=[i.A,s.A,a.A,l.A,c.A,u.A,d.A,f.A,p.A,h.A];function m(e){const t=(0,r.useRef)(e);(0,r.useInsertionEffect)(()=>{t.current=e});const n=(0,r.useMemo)(()=>g.map(e=>e(t)),[t]);return(0,o.A)(t=>{if(!e.isSelected)return;const r=n.map(e=>e(t));return()=>{r.forEach(e=>e())}},[n,e.isSelected])}},91841(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(4157),o=n(61924),{subscribeOwnedListener:i}=(0,o.T)(r.jb),s=e=>t=>{const{inputEvents:n}=e.current;return i(t,"input",function(e){for(const t of n.current)t(e)})}},63143(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(4157),o=n(87761),i=n(25552),s=n(28680),a=n(65282),l=n(61924),{subscribeOwnedListener:c}=(0,l.T)(r.jb);function u(e){let t=e.length;for(;t--;){const n=(0,a.ew)(e[t].attributes);if(n)return e[t].attributes[n]=e[t].attributes[n].toString().replace(a.lo,""),[e[t].clientId,n,0,0];const r=u(e[t].innerBlocks);if(r)return r}return[]}var d=e=>t=>{function n(){const{getValue:t,onReplace:n,selectionChange:s,registry:l}=e.current;if(!n)return;const c=t(),{start:d,text:f}=c;if(" "!==f.slice(d-1,d))return;const p=f.slice(0,d).trim(),h=(0,o.XD)("from").filter(({type:e})=>"prefix"===e),g=(0,o.wG)(h,({prefix:e})=>p===e);if(!g)return;const m=(0,r.Ky)({value:(0,r.Yr)(c,a.lo,0,d)}),v=g.transform(m);return l.batch(()=>{s(...u([v])),n([v])}),l.dispatch(i.M).__unstableMarkAutomaticChange(),!0}function l(t){const{inputType:r,type:a}=t,{getValue:l,onChange:c,__unstableAllowPrefixTransformations:u,formatTypes:d,registry:f,onReplace:p}=e.current;if("insertText"!==r&&"compositionend"!==a)return;if(u&&n())return;const h=l();if(p){const e=(0,o.XD)("from").filter(e=>"input"===e.type),t=(0,o.wG)(e,e=>e.regExp.test(h.text));if(t)return p(t.transform()),void f.dispatch(i.M).__unstableMarkAutomaticChange()}const g=d.reduce((e,{__unstableInputRule:t})=>(t&&(e=t(e)),e),(0,s.t)(h)),{__unstableMarkLastChangeAsPersistent:m,__unstableMarkAutomaticChange:v}=f.dispatch(i.M);g!==h&&(m(),c({...g,activeFormats:h.activeFormats}),v())}const d=c(t,"input",l,!0),f=c(t,"compositionend",l,!0);return()=>{d(),f()}}},81897(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(4157),o=n(25552),i=n(61924),{subscribeOwnedListener:s}=(0,i.T)(r.jb),a=e=>t=>s(t,"beforeinput",function(t){if("insertReplacementText"!==t.inputType)return;const{registry:n}=e.current;n.dispatch(o.M).__unstableMarkLastChangeAsPersistent()})},70515(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(87761),o=n(4157),i=n(11462),s=n(50788),a=n(25552),l=n(93535),c=n(74220),u=n(61924),{subscribeDelegatedListener:d}=(0,u.T)(s.j),{ownsSelection:f}=(0,u.T)(o.jb),p=e=>t=>{const{defaultView:n}=t.ownerDocument;return d(n,"paste",function(n){const{disableFormats:s,onChange:u,value:d,formatTypes:p,tagName:h,onReplace:g,__unstableEmbedURLOnPaste:m,preserveWhiteSpace:v,pastePlainText:b,registry:y}=e.current;if(!t.contains(n.target)&&!f(t))return;if(n.defaultPrevented)return;const k=(0,c.O)(n);if(!k)return;n.preventDefault();const{plainText:x,html:w,files:_}=k;if(_.length)return;if(window.console.log("Received HTML (RichText):\n\n",w),window.console.log("Received plain text (RichText):\n\n",x),s)return void u((0,o.Yr)(d,x));function A(e){const t=p.reduce((e,{__unstablePasteRule:t})=>(t&&e===d&&(e=t(d,{html:w,plainText:x})),e),d);if(t!==d)u(t);else{const t=(0,o.vt)({html:e});(0,l.K7)(t,d.activeFormats),u((0,o.Yr)(d,t))}}if("true"===n.clipboardData.getData("rich-text"))return void A(w);if(b)return void u((0,o.Yr)(d,(0,o.vt)({text:x})));let S="INLINE";const C=x.trim();m&&(0,o.Im)(d)&&(0,i.m)(C)&&/^https?:/.test(C)&&(S="BLOCKS");const E=(0,r.Gk)({HTML:w,plainText:x,mode:S,tagName:h,preserveWhiteSpace:v});"string"!=typeof E?E.length&&g&&(0,o.Im)(d)&&("BLOCKS"===S&&(A(w),y.dispatch(a.M).__unstableMarkLastChangeAsPersistent()),g(E,E.length-1,-1)):A(E)})}},71446(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(8312),o=n(4157),i=n(61924),{subscribeOwnedListener:s}=(0,i.T)(o.jb),a=()=>e=>s(e,"keydown",function(e){(r.kx.primary(e,"z")||r.kx.primary(e,"y")||r.kx.primaryShift(e,"z"))&&e.preventDefault()},!0)},28404(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(4157),o=n(61924),{subscribeOwnedListener:i}=(0,o.T)(r.jb),s=e=>t=>{const{keyboardShortcuts:n}=e.current;return i(t,"keydown",function(e){for(const t of n.current)t(e)},!0)}},650(e,t,n){"use strict";n.d(t,{A:()=>u,X:()=>l});var r=n(4157),o=n(2376),i=n(57611),s=n(93236),a={},l=Symbol("usesContext");function c({onChange:e,onFocus:t,value:n,forwardedRef:c,settings:u,isVisible:d}){const{name:f,edit:p,[l]:h}=u,g=(0,o.useContext)(i.A),m=(0,o.useMemo)(()=>h?Object.fromEntries(Object.entries(g).filter(([e])=>h.includes(e))):a,[h,g]);if(!p)return null;const v=(0,r.SX)(n,f),b=void 0!==v,y=(0,r.o_)(n),k=void 0!==y&&y.type===f;return(0,s.jsx)(p,{isActive:b,isVisible:d,activeAttributes:b&&v.attributes||{},isObjectActive:k,activeObjectAttributes:k&&y.attributes||{},value:n,onChange:e,onFocus:t,contentRef:c,context:m},f)}function u({formatTypes:e,...t}){return e.map(e=>(0,o.createElement)(c,{settings:e,...t,key:e.name}))}},30069(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(18335),o=n(27953),i=n(88149),s=n(65562),a=n(6726),l=n(9299),c=n(93236);function u({popoverAnchor:e}){return(0,c.jsx)(i.Ay,{placement:"top",focusOnMount:!1,anchor:e,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar",children:(0,c.jsx)(l.A,{className:"block-editor-rich-text__inline-format-toolbar-group","aria-label":(0,r.__)("Format tools"),children:(0,c.jsx)(o.A,{children:(0,c.jsx)(a.A,{})})})})}var d=({inline:e,editableContentElement:t})=>e?(0,c.jsx)(u,{popoverAnchor:t}):(0,c.jsx)(s.A,{group:"inline",children:(0,c.jsx)(a.A,{})})},6726(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(18335),i=n(39971),s=n(3443),a=n(63684),l=n(65673),c=n(76684),u=n(93236),d={placement:"bottom-start"},f=()=>(0,u.jsxs)(u.Fragment,{children:[["bold","italic","link","unknown"].map(e=>(0,u.jsx)(a.DX,{name:`RichText.ToolbarControls.${e}`},e)),(0,u.jsx)(a.DX,{name:"RichText.ToolbarControls",children:e=>{if(!e.length)return null;const t=e.map(([{props:e}])=>e).some(({isActive:e})=>e);return(0,u.jsx)(i.A,{children:n=>(0,u.jsx)(s.A,{icon:l.A,label:(0,o.__)("More"),toggleProps:{...n,className:(0,r.A)(n.className,{"is-pressed":t}),description:(0,o.__)("Displays more block tools")},controls:(0,c.M)(e.map(([{props:e}])=>e),"title"),popoverProps:d})})}})]})},70028(e,t,n){"use strict";n.d(t,{S:()=>p});var r=n(2376),o=n(32557),i=n(87761),s=n(4157),a=n(33927),l=n(39067),c=n(93236);function u(e,t,n){if(null==e||!1===e)return;if(Array.isArray(e))return d(e,t,n);switch(typeof e){case"string":case"number":return}const{type:i,props:s}=e;switch(i){case r.StrictMode:case r.Fragment:return d(s.children,t,n);case o.A:return;case a.A.Content:return f(t,n);case l.U:return void t.push(s.value)}switch(typeof i){case"string":return void 0!==s.children?d(s.children,t,n):void 0;case"function":return u(i.prototype&&"function"==typeof i.prototype.render?new i(s).render():i(s),t,n)}}function d(e,...t){e=Array.isArray(e)?e:[e];for(let n=0;n<e.length;n++)u(e[n],...t)}function f(e,t){for(let n=0;n<t.length;n++){const{name:r,attributes:o,innerBlocks:s}=t[n];u((0,i.GD)(r,o,(0,c.jsx)(a.A.Content,{})),e,s)}}function p(e=[]){i.cV.skipFilters=!0;const t=[];return f(t,e),i.cV.skipFilters=!1,t.map(e=>e instanceof s.EF?e:s.EF.fromHTMLString(e))}},78896(e,t,n){"use strict";n.d(t,{Ay:()=>z,EW:()=>R,H3:()=>P,NV:()=>L,aX:()=>M});var r=n(13022),o=n(64168),i=n(2376),s=n(79027),a=n(65627),l=n(19623),c=n(41740),u=n(43730),d=n(4157),f=n(88149),p=n(87761),h=n(66786),g=n(18335),m=n(13712),v=n(3217),b=n(30069),y=n(25552),k=n(53273),x=n(26933),w=n(650),_=n(93535),A=n(39067),S=n(50368),C=n(57611),E=n(61924),T=n(53375),I=n(93236),{useRichText:j,KeyboardShortcutContext:B,InputEventContext:N,RichTextShortcut:M,RichTextInputEvent:R}=(0,E.T)(d.jb),O=Symbol("instanceId");var L=(0,i.forwardRef)(function e({children:t,tagName:n="div",value:d="",onChange:A,isSelected:S,multiline:M,inlineToolbar:R,wrapperClassName:L,autocompleters:P,onReplace:D,placeholder:z,allowedFormats:V,withoutInteractiveFormatting:F,onRemove:$,onMerge:H,onSplit:U,__unstableOnSplitAtEnd:W,__unstableOnSplitAtDoubleLineEnd:K,identifier:q,preserveWhiteSpace:G,__unstablePastePlainText:X,__unstableEmbedURLOnPaste:Y,__unstableDisableFormats:Z,disableLineBreaks:Q,__unstableAllowPrefixTransformations:J,readOnly:ee,...te},ne){U&&(0,h.A)("wp.blockEditor.RichText onSplit prop",{since:"6.4",alternative:'block.json support key: "splitting"'});const{supportsSplitting:re}=(0,i.useContext)(T.c),oe=(0,c.A)(e),ie=(0,i.useRef)(),[se,ae]=(0,i.useState)(null),le=(0,v.m_)(),{clientId:ce,isSelected:ue,name:de}=le,fe=le[v.VN],pe="default"===le[v.gF],he=(0,i.useContext)(C.A),ge=(0,a.A)(),{selectionStart:me,selectionEnd:ve,isSelected:be}=(0,l.A)(e=>{if(!ue)return{isSelected:!1};const{getSelectionStart:t,getSelectionEnd:n}=e(y.M),r=t(),o=n();let i;return void 0===S?i=r.clientId===ce&&o.clientId===ce&&(q?r.attributeKey===q:r[O]===oe):S&&(i=r.clientId===ce),{selectionStart:i?r.offset:void 0,selectionEnd:i?o.offset:void 0,isSelected:i}},[ce,q,oe,S,ue]),{disableBoundBlock:ye,bindingsPlaceholder:ke,bindingsLabel:xe}=(0,l.A)(e=>{if(!fe?.[q])return{};const{__experimentalBlockBindingsSupportedAttributes:t}=e(y.M).getSettings(),n=t?.[de];if(!n)return{};const r=fe[q],i=(0,p.Xm)(r.source),s={};if(i?.usesContext?.length)for(const e of i.usesContext)s[e]=he[e];const a=!i?.canUserEditValue?.({select:e,context:s,args:r.args});if(d.length>0)return{disableBoundBlock:a,bindingsPlaceholder:null,bindingsLabel:null};const{getBlockAttributes:l}=e(y.M),c=l(ce);let u=null;if(i?.getFieldsList){const t=i.getFieldsList({select:e,context:s});u=t?.find(e=>o(e.args,r?.args))?.label}const f=u??i?.label,h=a?f:(0,g.nv)(
188 /* translators: %s: connected field label or source label */
189 /* translators: %s: connected field label or source label */
190 (0,g.__)("Add %s"),f),m=a?r?.args?.key||i?.label:(0,g.nv)(
191 /* translators: %s: source label or key */
192 /* translators: %s: source label or key */
193 (0,g.__)("Empty %s; start writing to edit its value"),r?.args?.key||i?.label);return{disableBoundBlock:a,bindingsPlaceholder:c?.placeholder||h,bindingsLabel:m}},[fe,q,de,d,ce,he]),we=ee||ye||!!he?.["pattern/overrides"]&&!("core/pattern-overrides"===fe?.__default?.source),_e=(0,l.A)(e=>{if(we||!pe||!ue)return!1;const{getSelectedBlockClientId:t,canHostEditableRoot:n}=(0,E.T)(e(y.M));return n(t())},[we,pe,ue]),{getSelectionStart:Ae,getSelectionEnd:Se,getBlockRootClientId:Ce}=(0,l.A)(y.M),{selectionChange:Ee}=(0,s.A)(y.M),Te=(0,_.R$)({allowedFormats:V,disableFormats:Z}),Ie=!Te||Te.length>0,je=(0,i.useCallback)((e,t)=>{const n={},r=void 0===e&&void 0===t,o={clientId:ce,[q?"attributeKey":O]:q||oe};if("number"==typeof e||r){if(void 0===t&&Ce(ce)!==Ce(Se().clientId))return;n.start={...o,offset:e}}if("number"==typeof t||r){if(void 0===e&&Ce(ce)!==Ce(Ae().clientId))return;n.end={...o,offset:t}}Ee(n)},[ce,Ce,Se,Ae,q,oe,Ee]),{value:Be,getValue:Ne,onChange:Me,ref:Re,formatTypes:Oe}=j({value:d,onChange:A,selectionStart:me,selectionEnd:ve,onSelectionChange:je,placeholder:ke||z,__unstableIsSelected:be,__unstableDisableFormats:Z,preserveWhiteSpace:G,__unstableDependencies:[n],allowedFormats:Te,withoutInteractiveFormatting:F,__unstableFormatTypeHandlerContext:(0,i.useMemo)(()=>({richTextIdentifier:q,blockClientId:ce}),[q,ce])}),Le=(0,m.a)({onReplace:D,completers:P,record:Be,onChange:Me}),{"aria-autocomplete":Pe,"aria-haspopup":De,"aria-controls":ze,"aria-owns":Ve,"aria-activedescendant":Fe}=Le;(0,i.useEffect)(()=>{if(!be)return;const e=ie.current?.parentElement?.closest('[contenteditable="true"]');if(!e)return;const t={"aria-autocomplete":Pe,"aria-haspopup":De,"aria-controls":ze,"aria-owns":Ve,"aria-activedescendant":Fe};for(const[n,r]of Object.entries(t))void 0===r?e.removeAttribute(n):e.setAttribute(n,r);return()=>{for(const n of Object.keys(t))e.removeAttribute(n)}},[be,Pe,De,ze,Ve,Fe]),(0,k.O)({html:d,value:Be});const $e=(0,i.useRef)(new Set),He=(0,i.useRef)(new Set);function Ue(){ie.current?.focus()}let We=te.tabIndex;_e?We=te.tabIndex??0:we||0!==te.tabIndex||(We=null);const Ke=n;return(0,I.jsxs)(I.Fragment,{children:[be&&(0,I.jsx)(B.Provider,{value:$e,children:(0,I.jsx)(N.Provider,{value:He,children:(0,I.jsxs)(f.Ay.__unstableSlotNameProvider,{value:"__unstable-block-tools-after",children:[t&&t({value:Be,onChange:Me,onFocus:Ue}),(0,I.jsx)(w.A,{value:Be,onChange:Me,onFocus:Ue,formatTypes:Oe,forwardedRef:ie})]})})}),be&&Ie&&(0,I.jsx)(b.A,{inline:R,editableContentElement:se}),(0,I.jsx)(Ke,{role:"textbox","aria-multiline":!Q,"aria-readonly":we,...te,draggable:void 0,"aria-label":xe||te["aria-label"]||z,...Le,ref:(0,u.A)([Re,ne,Le.ref,te.ref,(0,x.r)({registry:ge,getValue:Ne,onChange:Me,__unstableAllowPrefixTransformations:J,formatTypes:Oe,onReplace:D,selectionChange:Ee,isSelected:be,disableFormats:Z,value:Be,tagName:n,onSplit:U,__unstableEmbedURLOnPaste:Y,pastePlainText:X,onMerge:H,onRemove:$,disableLineBreaks:Q,onSplitAtEnd:W,onSplitAtDoubleLineEnd:K,keyboardShortcuts:$e,inputEvents:He,supportsSplitting:re}),ie,ae]),contentEditable:!we,suppressContentEditableWarning:!0,className:(0,r.A)("block-editor-rich-text__editable",te.className,"rich-text"),tabIndex:We,"data-wp-block-attribute-key":q})]})}),P=(0,S.O)(L);P.Content=A.U,P.isEmpty=e=>!e||0===e.length;var D=(0,i.forwardRef)((e,t)=>{if((0,v.m_)()[v.F9]){const{children:n,tagName:r="div",value:o,onChange:i,isSelected:s,multiline:a,inlineToolbar:l,wrapperClassName:c,autocompleters:u,onReplace:d,placeholder:f,allowedFormats:p,withoutInteractiveFormatting:h,onRemove:g,onMerge:m,onSplit:v,__unstableOnSplitAtEnd:b,__unstableOnSplitAtDoubleLineEnd:y,identifier:k,preserveWhiteSpace:x,__unstablePastePlainText:w,__unstableEmbedURLOnPaste:_,__unstableDisableFormats:S,disableLineBreaks:C,__unstableAllowPrefixTransformations:E,readOnly:T,...j}=e;return(0,I.jsx)(r,{ref:t,...j,dangerouslySetInnerHTML:{__html:(0,A.V)(o,a)||"<br>"}})}return(0,I.jsx)(P,{ref:t,...e,readOnly:!1})});D.Content=A.U,D.isEmpty=e=>!e||0===e.length;var z=D},50609(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(2376),o=n(66786),i=n(79027),s=n(19623),a=n(8312),l=n(4157),c=n(71886),u=n(78896),d=n(25552),f=n(3217),p=n(93535),h=n(61924),g=n(93236),{subscribeOwnedListener:m}=(0,h.T)(l.jb);function v(e){const{value:t,values:n,onChange:o,index:p,identifier:h,multilineTagName:v,...b}=e,{clientId:y}=(0,f.m_)(),{selectionChange:k}=(0,i.A)(d.M),x=(0,r.useRef)();(0,r.useInsertionEffect)(()=>{x.current={...e,clientId:y}});const w=function(e){const{getSelectionStart:t,getSelectionEnd:n}=(0,s.A)(d.M),{selectionChange:r}=(0,i.A)(d.M);return(0,c.A)(o=>m(o,"keydown",function(o){if(o.keyCode!==a.Fm)return;o.preventDefault();const{value:i,values:s,onChange:c,index:u,identifier:d,clientId:f}=e.current,{offset:p}=t(),{offset:h}=n();if("number"!=typeof p||"number"!=typeof h)return;const g=(0,l.vt)({html:i});g.start=p,g.end=h;const m=(0,l.lD)(g).map(e=>(0,l.Ky)({value:e})),v=s.slice();v.splice(u,1,...m),c(v),r(f,`${d}-${u+1}`,0,0)},!0),[])}(x);return(0,g.jsx)(u.NV,{identifier:`${h}-${p}`,tagName:v,value:t,onChange:e=>{const t=n.slice();t[p]=e,o(t)},isSelected:void 0,ref:w,onMerge:e=>{const t=n.slice();let r=0;if(e){if(!t[p+1])return;t.splice(p,2,t[p]+t[p+1]),r=t[p].length-1}else{if(!t[p-1])return;t.splice(p-1,2,t[p-1]+t[p]),r=t[p-1].length-1}o(t),k(y,`${h}-${p-(e?0:1)}`,r,r)},...b},p)}var b=(0,r.forwardRef)(function({children:e,identifier:t,tagName:n="div",value:r="",onChange:i,multiline:s,...a},l){(0,o.A)("wp.blockEditor.RichText multiline prop",{since:"6.1",version:"6.3",alternative:"nested blocks (InnerBlocks)",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/nested-blocks-inner-blocks/"});const c=(0,p.Kd)(s),u=`</${c}>${r=r||`<${c}></${c}>`}<${c}>`.split(`</${c}><${c}>`);function d(e){i(`<${c}>${e.join(`</${c}><${c}>`)}</${c}>`)}return u.shift(),u.pop(),(0,g.jsx)(n,{ref:l,children:u.map((e,n)=>(0,g.jsx)(v,{values:u,value:e,onChange:d,index:n,identifier:t,multilineTagName:c,...a},n))})})},28680(e,t,n){"use strict";n.d(t,{t:()=>o});var r=n(4157);function o(e){const t="tales of gutenberg",{start:n,text:o}=e;if(n<18)return e;return o.slice(n-18,n).toLowerCase()!==t?e:(0,r.Yr)(e," 🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️")}},23722(e,t,n){"use strict";n.d(t,{R:()=>a});var r=n(51203),o=n(54646),i=n(8312),s=n(93236);function a({name:e,shortcutType:t,shortcutCharacter:n,...a}){let l,c="RichText.ToolbarControls";return e&&(c+=`.${e}`),t&&n&&(l=i.dz[t](n)),(0,s.jsx)(r.A,{name:c,children:(0,s.jsx)(o.A,{...a,shortcut:l})})}},53273(e,t,n){"use strict";n.d(t,{O:()=>s});var r=n(2376),o=n(79027),i=n(25552);function s({html:e,value:t}){const n=(0,r.useRef)(),s=!!t.activeFormats?.length,{__unstableMarkLastChangeAsPersistent:a}=(0,o.A)(i.M);(0,r.useLayoutEffect)(()=>{if(n.current){if(n.current!==t.text){const e=window.setTimeout(()=>{a()},1e3);return n.current=t.text,()=>{window.clearTimeout(e)}}a()}else n.current=t.text},[e,s])}},93535(e,t,n){"use strict";n.d(t,{K7:()=>r,Kd:()=>o,R$:()=>i});n(87761),n(93236);function r(e,t){if(t?.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function o(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function i({allowedFormats:e,disableFormats:t}){return t?i.EMPTY_ARRAY:e}i.EMPTY_ARRAY=[]},50368(e,t,n){"use strict";n.d(t,{O:()=>c});var r=n(2376),o=n(87761),i=n(4157),s=n(66786),a=n(50609),l=n(93236);function c(e){return(0,r.forwardRef)((t,n)=>{let r=t.value,c=t.onChange;Array.isArray(r)&&((0,s.A)("wp.blockEditor.RichText value prop as children type",{since:"6.1",version:"6.3",alternative:"value prop as string",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),r=o.Y_.toHTML(t.value),c=e=>t.onChange(o.Y_.fromDOM((0,i.Ng)(document,e).childNodes)));const u=t.multiline?a.A:e;return(0,l.jsx)(u,{...t,value:r,onChange:c,ref:n})})}},72649(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(18335),i=n(35453),s=n(49875),a=[],l=new Intl.Collator("und",{numeric:!0}).compare;function c(){const[e,t,n,c]=(0,i.t)("spacing.spacingSizes.custom","spacing.spacingSizes.theme","spacing.spacingSizes.default","spacing.defaultSpacingSizes"),u=e??a,d=t??a,f=n&&!1!==c?n:a;return(0,r.useMemo)(()=>{const e=[{name:(0,o.__)("None"),slug:"0",size:0},...u,...d,...f];return e.every(({slug:e})=>/^[0-9]/.test(e))&&e.sort((e,t)=>l(e.slug,t.slug)),e.length>s.P8?[{name:(0,o.__)("Default"),slug:"default",size:void 0},...e]:e},[u,d,f])}},49875(e,t,n){"use strict";n.d(t,{P8:()=>o,Xm:()=>i});var r=n(18335),o=8;(0,r.__)("Spacing control"),(0,r.__)("Top"),(0,r.__)("Bottom"),(0,r.__)("Left"),(0,r.__)("Right"),(0,r.__)("Mixed"),(0,r.__)("Vertical"),(0,r.__)("Horizontal"),(0,r.__)("Horizontal & vertical"),(0,r.__)("Custom");function i(e){if(!e||"string"!=typeof e)return;const t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}},6789(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(43192),o=n(23720),i=n(2376),s=n(65995),a=n(61924),l=n(93236),{Tabs:c}=(0,a.T)(o.j);var u=(0,i.forwardRef)(function({defaultTabId:e,onClose:t,onSelect:n,selectedTab:o,tabs:i,closeButtonLabel:a},u){return(0,l.jsx)("div",{className:"block-editor-tabbed-sidebar",children:(0,l.jsxs)(c,{selectOnMove:!1,defaultTabId:e,onSelect:n,selectedTabId:o,children:[(0,l.jsxs)("div",{className:"block-editor-tabbed-sidebar__tablist-and-close-button",children:[(0,l.jsx)(r.A,{className:"block-editor-tabbed-sidebar__close-button",icon:s.A,label:a,onClick:()=>t(),size:"compact"}),(0,l.jsx)(c.TabList,{className:"block-editor-tabbed-sidebar__tablist",ref:u,children:i.map(e=>(0,l.jsx)(c.Tab,{tabId:e.name,className:"block-editor-tabbed-sidebar__tab",children:e.title},e.name))})]}),i.map(e=>(0,l.jsx)(c.TabPanel,{tabId:e.name,focusable:!1,className:"block-editor-tabbed-sidebar__tabpanel",ref:e.panelRef,children:e.panel},e.name))]})})})},75453(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(13022),o=n(18335),i=n(32948),s=n(4425),a=n(78048),l=n(29659),c=n(2376),u=n(82600),d=n(38120),f=n(93236),p=[{label:(0,o.__)("Align text left"),value:"left",icon:a.A},{label:(0,o.__)("Align text center"),value:"center",icon:i.A},{label:(0,o.__)("Align text right"),value:"right",icon:l.A},{label:(0,o.__)("Justify text"),value:"justify",icon:s.A}],h=["left","center","right"];function g({className:e,value:t,onChange:n,options:i=h}){const s=(0,c.useMemo)(()=>p.filter(e=>i.includes(e.value)),[i]);return s.length?(0,f.jsx)(u.A,{isDeselectable:!0,label:(0,o.__)("Text alignment"),className:(0,r.A)("block-editor-text-alignment-control",e),value:t,onChange:e=>{n(e===t?void 0:e)},children:s.map(e=>(0,f.jsx)(d.A,{value:e.value,icon:e.icon,label:e.label},e.value))}):null}},84586(e,t,n){"use strict";n.d(t,{A:()=>S});var r=n(13022),o=n(36331),i=n(18335),s=n(2376),a=n(8312),l=n(1179),c=n(43192),u=n(16006),d=n(88149),f=n(59217),p=n(23720),h=n(74233),g=n(41740),m=n(87444),v=n(19623),b=n(11462),y=n(25552),k=n(61924),x=n(93236),{ValidatedInputControl:w}=(0,k.T)(p.j),_=()=>{};function A(e){return"function"==typeof e}function S(e){const{__experimentalFetchLinkSuggestions:t,__experimentalHandleURLSuggestions:n,__experimentalRenderControl:l,__experimentalRenderSuggestions:c,__experimentalShowInitialSuggestions:u=!1,autocompleteRef:d,className:f,customValidity:p,disableSuggestions:k,disabled:w=!1,help:T=null,hideLabelFromVision:I=!1,inputRef:j,isFullWidth:B,label:N=null,markWhenOptional:M,onChange:R,onKeyDown:O,onSubmit:L,placeholder:P=(0,i.__)("Paste URL or type to search"),required:D=!0,suffix:z,value:V=""}=e,F=(0,g.A)(S),{getSettings:$}=(0,v.A)(y.M),H=(0,m.A)(o.L,500),[U,W]=(0,s.useState)([]),[K,q]=(0,s.useState)(null),[G,X]=(0,s.useState)(null),[Y,Z]=(0,s.useState)(!1),[Q,J]=(0,s.useState)(!1),[ee,te]=(0,s.useState)(!1),ne=(0,s.useRef)(),re=(0,s.useRef)([]),oe=(0,s.useRef)(null),ie=j??ne,se=`url-input-control-${F}`,ae=`block-editor-url-input-suggestions-${F}`,le=`block-editor-url-input-suggestion-${F}`,ce=Y&&!0!==k&&(u||!!V.length),ue=(0,h.A)((e="")=>{const r=A(t)?t:$().__experimentalFetchLinkSuggestions;if(!r)return;const o=!e?.length,s=e.trim();if(!o&&(s.length<2||!n&&(0,b.m)(s)))return oe.current?.cancel?.(),oe.current=null,W([]),Z(!1),q(s),X(null),void J(!1);X(null),J(!0);const a=r(s,{isInitialSuggestions:o});oe.current=a,a.then(e=>{oe.current===a&&(W(e),q(s),J(!1),Z(!!e.length),e.length?H((0,i.nv)(
194 /* translators: %d: number of results. */
195 /* translators: %d: number of results. */
196 (0,i._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):H((0,i.__)("No results."),"assertive"))}).catch(()=>{oe.current===a&&J(!1)}).finally(()=>{oe.current===a&&(oe.current=null)})}),de=(0,m.A)(ue,200);function fe(e){R(e.url,e),X(null),Z(!1)}(0,s.useEffect)(()=>{k||ee||!V.length&&!u||de(V)},[V,ee,k,u,de]),(0,s.useEffect)(()=>{ce||Z(!1)},[ce]),(0,s.useEffect)(()=>{ce&&null!==G&&re.current[G]?.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})},[ce,G]),(0,s.useEffect)(()=>()=>{oe.current?.cancel?.(),oe.current=null},[]);const pe={id:se,label:N,className:(0,r.A)("block-editor-url-input",f,{"is-full-width":B}),hideLabelFromVision:I},he={id:se,value:V,required:D,type:"text",name:se,autoComplete:"off",onChange:w?_:function(e){R(e)},onCompositionStart:w?_:function(){te(!0),de.cancel()},onCompositionEnd:w?_:function(){te(!1)},onFocus:w?_:function(){!V||k||U.length||null!==oe.current||de(V)},onKeyDown:w?_:function(e){if(O?.(e),!ce||!U.length||Q){if(e.shiftKey||e.keyCode!==a.UP&&e.keyCode!==a.PX)e.keyCode===a.Fm&&L&&(e.preventDefault(),L(null,e));else{const t=e.keyCode===a.UP?0:e.target.value.length;e.target.selectionStart===t&&e.target.selectionEnd===t||(e.preventDefault(),e.target.setSelectionRange(t,t))}return}const t=U[G]??null;switch(e.keyCode){case a.UP:case a.PX:{e.preventDefault();const t=e.keyCode===a.UP?-1:1;X(((G??(-1===t?0:-1))+t+U.length)%U.length);break}case a.wn:t&&(fe(t),(0,o.L)((0,i.__)("Link selected.")));break;case a.Fm:e.preventDefault(),t&&fe(t),L?.(t,e)}},placeholder:P,role:"combobox","aria-label":N?void 0:(0,i.__)("URL"),"aria-expanded":ce,"aria-autocomplete":"list","aria-owns":ae,"aria-activedescendant":null!==G?`${le}-${G}`:void 0,ref:ie,disabled:w,suffix:z,help:T};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(C,{controlProps:pe,inputProps:he,isLoading:Q,customValidity:p,markWhenOptional:M,renderControl:l}),ce&&U.length>0&&(0,x.jsx)(E,{autocompleteRef:d,className:f,handleSuggestionClick:function(e){fe(e),ie.current.focus()},isLoading:Q,renderSuggestions:c,selectedSuggestion:G,suggestionNodesRef:re,suggestionOptionIdPrefix:le,suggestions:U,suggestionsListboxId:ae,suggestionsValue:K})]})}function C({controlProps:e,inputProps:t,isLoading:n,customValidity:r,markWhenOptional:o,renderControl:i}){const[a,c]=(0,s.useState)(void 0!==r);if(void 0===r||a||c(!0),i)return i(e,t,n);const d=a?w:u.Ay;return(0,x.jsxs)(l.Ay,{...e,children:[(0,x.jsx)(d,{...t,...a&&{customValidity:r,...void 0!==o&&{markWhenOptional:o}}}),n&&(0,x.jsx)(f.Ay,{})]})}function E({autocompleteRef:e,className:t,handleSuggestionClick:n,isLoading:o,renderSuggestions:i,selectedSuggestion:a,suggestionNodesRef:l,suggestionOptionIdPrefix:u,suggestions:f,suggestionsListboxId:p,suggestionsValue:h}){const g={id:p,ref:e,role:"listbox"},m=(e,t)=>({role:"option",tabIndex:"-1",id:`${u}-${t}`,ref:e=>{l.current[t]=e},"aria-selected":t===a||void 0});return A(i)?i({suggestions:f,selectedSuggestion:a,suggestionsListProps:g,buildSuggestionItemProps:m,isLoading:o,handleSuggestionClick:n,isInitialSuggestions:!h?.length,currentInputValue:h}):(0,x.jsx)(d.Ay,{placement:"bottom",focusOnMount:!1,children:(0,x.jsx)("div",{...g,className:(0,r.A)("block-editor-url-input__suggestions",{[`${t}__suggestions`]:t}),children:f.map((e,t)=>(0,s.createElement)(c.A,{__next40pxDefaultSize:!0,...m(0,t),key:e.id,className:(0,r.A)("block-editor-url-input__suggestion",{"is-selected":t===a}),onClick:()=>n(e)},e.title))})})}},47948(e,t,n){"use strict";n.d(t,{Z:()=>k});var r=n(18335),o=n(87761),i=n(79027),s=n(19623),a=n(26068),l=n(52478),c=n(84260),u=n(36092),d=n(60167),f=n(92829),p=n(57839),h=n(22231),g=n(28755),m=n(25552),v=n(64764),b=n(61924),y=()=>function(){const{replaceBlocks:e,multiSelect:t}=(0,i.A)(m.M),{blocks:n,clientIds:a,canRemove:c,possibleBlockTransformations:u,invalidSelection:d}=(0,s.A)(e=>{const{getBlockRootClientId:t,getBlockTransformItems:n,getSelectedBlockClientIds:r,getBlocksByClientId:o,canRemoveBlocks:i}=e(m.M),s=r(),a=o(s);if(a.filter(e=>!e).length>0)return{invalidSelection:!0};return{blocks:a,clientIds:s,possibleBlockTransformations:n(a,t(s[0])),canRemove:i(s),invalidSelection:!1}},[]);if(d)return{isLoading:!1,commands:[]};const f=1===n.length&&(0,o.gc)(n[0]);function p(r,i){const s=(0,o.bh)(n,r,i);var l;e(a,s),(l=s).length>1&&t(l[0].clientId,l[l.length-1].clientId)}const h=!!u.length&&c&&!f;if(!a||a.length<1||!h)return{isLoading:!1,commands:[]};return{isLoading:!1,commands:u.map(e=>{const{id:t,name:n,title:o,icon:i,variationName:s}=e,a=i?.src&&"block-default"!==i?.src?i:{src:l.A};return{name:"core/block-editor/transform-to-"+(t||n).replace(/\//g,"-"),
197 /* translators: %s: Block or block variation name. */
198 label:(0,r.nv)((0,r.__)("Transform to %s"),o),icon:a?.src,category:"command",callback:({close:e})=>{p(n,s),e()}}})}},k=()=>{(0,a.useCommandLoader)({name:"core/block-editor/blockTransforms",hook:y()}),(0,a.useCommandLoader)({name:"core/block-editor/blockQuickActions",hook:function(){const{clientIds:e,isUngroupable:t,isGroupable:n,blockVisibilitySetting:a}=(0,s.A)(e=>{const{getSelectedBlockClientIds:t,getSettings:n,isUngroupable:r,isGroupable:o}=e(m.M);return{clientIds:t(),isUngroupable:r(),isGroupable:o(),blockVisibilitySetting:n().__experimentalFeatures?.blockVisibility?.allowEditing}},[]),{canInsertBlockType:l,getBlockRootClientId:y,getBlocksByClientId:k,canRemoveBlocks:x,isBlockHiddenAnywhere:w}=(0,b.T)((0,s.A)(m.M)),{getBlockEditingMode:_}=(0,s.A)(m.M),{getDefaultBlockName:A,getGroupingBlockName:S}=(0,s.A)(o.M_),C=k(e),E=(0,i.A)(m.M),{removeBlocks:T,replaceBlocks:I,duplicateBlocks:j,insertAfterBlock:B,insertBeforeBlock:N}=E,M=()=>{if(!C.length)return;const t=S(),n=(0,v.m)(C,t);n&&I(e,n)},R=()=>{if(!C.length)return;const t=C[0].innerBlocks;t.length&&I(e,t)};if(!e||e.length<1)return{isLoading:!1,commands:[]};const{showViewportModal:O}=(0,b.T)(E),L=y(e[0]),P=l(A(),L),D=C.every(e=>!!e&&(0,o.pN)(e.name,"multiple",!0)&&l(e.name,L)),z=x(e),V=[];D&&V.push({name:"duplicate",label:(0,r.__)("Duplicate"),callback:()=>j(e,!0),icon:c.A}),P&&V.push({name:"add-before",label:(0,r.__)("Add before"),callback:()=>{const t=Array.isArray(e)?e[0]:t;N(t)},icon:d.A},{name:"add-after",label:(0,r.__)("Add after"),callback:()=>{const t=Array.isArray(e)?e[e.length-1]:t;B(t)},icon:d.A}),n&&V.push({name:"Group",label:(0,r.__)("Group"),callback:M,icon:u.A}),t&&V.push({name:"ungroup",label:(0,r.__)("Ungroup"),callback:R,icon:h.A}),z&&V.push({name:"remove",label:(0,r.__)("Delete"),callback:()=>T(e,!0),icon:p.A});const F=C.every(e=>!!e&&(0,o.pN)(e.name,"visibility",!0)),$=e.every(e=>"default"===_(e));if(F&&$&&!1!==a){const t=e.some(e=>w(e));V.push({name:"toggle-visibility",label:t?(0,r.__)("Show"):(0,r.__)("Hide"),callback:()=>O(e),icon:t?f.A:g.A})}return{isLoading:!1,commands:V.map(e=>({...e,name:"core/block-editor/action-"+e.name,category:"command",callback:({close:t})=>{e.callback(),t()}}))}},context:"block-selection-edit"})}},34315(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(19623),o=n(87761),i=n(18335),s=n(69651),a=n(25552),l=n(61924);function c(e){const t=e?.style?.position?.type;return"sticky"===t?(0,i.__)("Sticky"):"fixed"===t?(0,i.__)("Fixed"):null}function u(e){return(0,r.A)(t=>{if(!e)return null;const n=t(a.M),{getBlockName:r,getBlockAttributes:u,getBlock:d,__experimentalGetParsedPattern:f}=n,{getBlockType:p,getActiveBlockVariation:h}=t(o.M_),g=r(e),m=p(g);if(!m)return null;const v=u(e),{isSectionBlock:b}=(0,l.T)(n),y=v?.metadata?.patternName;if(y&&b(e)){const e=f(y),t=c(v);return{isSynced:!1,title:(0,i.__)("Pattern"),icon:s.A,description:e?.description||(0,i.__)("A block pattern."),anchor:v?.anchor,positionLabel:t,positionType:v?.style?.position?.type,name:e?.title||v?.metadata?.name}}const k=h(g,v,void 0,d?.(e)?.innerContent),x=(0,o.tk)(m)||(0,o.gc)(m),w=(x?(0,o.Y0)(m,v):void 0)||m.title,_=c(v),A={isSynced:x,title:w,icon:m.icon,description:m.description,anchor:v?.anchor,positionLabel:_,positionType:v?.style?.position?.type,name:v?.metadata?.name};return k?{isSynced:x,title:k.title||m.title,icon:k.icon||m.icon,description:k.description||m.description,anchor:v?.anchor,positionLabel:_,positionType:v?.style?.position?.type,name:v?.metadata?.name}:A},[e])}},30186(e,t,n){"use strict";n.d(t,{Ay:()=>v,tq:()=>g});var r=n(79027),o=n(65627),i=n(19623),s=n(2376),a=n(78513),l=n(21675),c=n(18335),u=n(87761),d=n(71783),f=n(92190),p=n(25552),h=n(61924);function g(e,t,n,r){let o=!0;if(t){const e=t?.map(({name:e})=>e);o=n.every(t=>e?.includes(t))}const i=n.map(t=>e(t)).every(e=>{const[t]=e?.parent||[];return!t||t===r});return o&&i}function m(e,t){const{defaultView:n}=t;return!!(n&&e instanceof n.HTMLElement&&e.closest("[data-is-insertion-point]"))}function v({dropZoneElement:e,rootClientId:t="",parentClientId:n="",isDisabled:v=!1}={}){const b=(0,o.A)(),[y,k]=(0,s.useState)({index:null,operation:"insert"}),{getBlockType:x,getBlockVariations:w,getGroupingBlockName:_}=(0,i.A)(u.M_),{canInsertBlockType:A,getBlockListSettings:S,getBlocks:C,getBlockIndex:E,getDraggedBlockClientIds:T,getBlockNamesByClientId:I,getAllowedBlocks:j,isDragging:B,isGroupable:N,isZoomOut:M,getSectionRootClientId:R,getBlockParents:O}=(0,h.T)((0,i.A)(p.M)),{showInsertionPoint:L,hideInsertionPoint:P,startDragging:D,stopDragging:z}=(0,h.T)((0,r.A)(p.M)),V=(0,d.Ay)("before"===y.operation||"after"===y.operation?n:t,y.index,{operation:y.operation,nearestSide:y.nearestSide}),F=(0,a.A)((0,s.useCallback)((r,o)=>{B()||D();const i=T(),s=[t,...O(t,!0)];if(i.some(e=>s.includes(e)))return;const a=j(t),l=I([t])[0],d=I(i);if(!g(x,a,d,l))return;const p=R();if(M()&&p!==t)return;const h=C(t).filter(e=>!((0,u.pN)(e.name,"visibility",!0)&&!1===e.attributes?.metadata?.blockVisibility));if(0===h.length)return void b.batch(()=>{k({index:0,operation:"insert"}),L(t,0,{operation:"insert"})});const m=h.map(e=>{const t=e.clientId;return{isUnmodifiedDefaultBlock:(0,u.Xw)(e),getBoundingClientRect:()=>{const e=o.getElementById(`block-${t}`);return e?e.getBoundingClientRect():null},blockIndex:E(t),blockOrientation:S(t)?.orientation}}),v=function(e,t,n="vertical",r={}){const o="horizontal"===n?["left","right"]:["top","bottom"];let i=0,s="before",a=1/0,l=null,u="right";const{dropZoneElement:d,parentBlockOrientation:p,rootBlockIndex:h=0}=r;if(d&&"horizontal"!==p){const e=d.getBoundingClientRect(),[n,r]=(0,f.WE)(t,e,["top","bottom"]);if(e.height>120&&n<30){if("top"===r)return[h,"before"];if("bottom"===r)return[h+1,"after"]}}const g=(0,c.V8)();if(d&&"horizontal"===p){const e=d.getBoundingClientRect(),[n,r]=(0,f.WE)(t,e,["left","right"]);if(e.width>120&&n<30){if(g&&"right"===r||!g&&"left"===r)return[h,"before"];if(g&&"left"===r||!g&&"right"===r)return[h+1,"after"]}}e.forEach(({isUnmodifiedDefaultBlock:e,getBoundingClientRect:r,blockIndex:c,blockOrientation:d})=>{const p=r();if(!p)return;let[h,m]=(0,f.WE)(t,p,o);const[v,b]=(0,f.WE)(t,p,["left","right"]),y=(0,f.P7)(t,p);e&&y?h=0:"vertical"===n&&"horizontal"!==d&&(y&&v<30||!y&&(0,f.Yx)(t,p))&&(l=c,u=b),h<a&&(s="bottom"===m||!g&&"right"===m||g&&"left"===m?"after":"before",a=h,i=c)});const m=i+("after"===s?1:-1),v=!!e[i]?.isUnmodifiedDefaultBlock,b=!!e[m]?.isUnmodifiedDefaultBlock;if(null!==l)return[l,"group",u];if(!v&&!b)return["after"===s?i+1:i,"insert"];return[v?i:m,"replace"]}(m,{x:r.clientX,y:r.clientY},S(t)?.orientation,{dropZoneElement:e,parentBlockClientId:n,parentBlockOrientation:n?S(n)?.orientation:void 0,rootBlockIndex:E(t)}),[y,P,z]=v,V=m[y]?.isUnmodifiedDefaultBlock;if(!M()||V||"insert"===P){if("group"===P){const e=h[y],n=[e.name,...d].every(e=>"core/image"===e),r=A("core/gallery",t),o=N([e.clientId,T()]),i=w(_(),"block"),s=i&&i.find(({name:e})=>"group-row"===e);if(n&&!r&&(!o||!s))return;if(!(n||o&&s))return}b.batch(()=>{k({index:y,operation:P,nearestSide:z});const e=["before","after"].includes(P)?n:t;L(e,y,{operation:P,nearestSide:z})})}},[B,j,t,I,T,x,R,M,C,S,e,n,E,b,D,L,A,N,w,_]),200);return(0,l.A)({dropZoneElement:e,isDisabled:v,onDrop:V,onDragOver(e){F(e,e.currentTarget.ownerDocument)},onDragLeave(e){const{ownerDocument:t}=e.currentTarget;m(e.relatedTarget,t)||m(e.target,t)||(F.cancel(),P())},onDragEnd(){F.cancel(),z(),P()}})}},5718(e,t,n){"use strict";n.d(t,{G:()=>a});var r=n(71886),o=n(19623),i=n(25552),s=n(61924);function a({clientId:e="",isEnabled:t=!0}={}){const{getEnabledClientIdsTree:n}=(0,s.T)((0,o.A)(i.M));return(0,r.A)(r=>{if(!t)return;const o=t=>{(t.target===r||t.target.classList.contains("is-root-container"))&&(t.defaultPrevented||(t.preventDefault(),n(e).forEach(({clientId:e})=>{const t=r.querySelector(`[data-block="${e}"]`);t&&(t.classList.remove("has-editable-outline"),t.offsetWidth,t.classList.add("has-editable-outline"))})))};return r.addEventListener("click",o),()=>r.removeEventListener("click",o)},[t])}},20447(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(79027),o=n(19623),i=n(25552),s=n(61924);function a(e){const{isOpened:t,expandRevision:n}=(0,o.A)(t=>{const{isListViewPanelOpened:n,getListViewExpandRevision:r}=(0,s.T)(t(i.M));return{isOpened:n(e),expandRevision:r()}},[e]),{__unstableToggleListViewPanel:a}=(0,r.A)(i.M);return{isOpened:t,expandRevision:n,handleToggle:t=>{a(e,t)}}}},71783(e,t,n){"use strict";n.d(t,{Ay:()=>d});var r=n(2376),o=n(87761),i=n(79027),s=n(65627),a=n(19623),l=n(44099),c=n(25552);function u(e,t,n,r,i,s,a,l,c){return u=>{const{srcRootClientId:d,srcClientIds:f,type:p,blocks:h}=function(e){let t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("wp-blocks")))}catch{return t}return t}(u);if("inserter"===p){a();const e=h.map(e=>(0,o.JB)(e));s(e,!0,null)}if("block"===p){const o=n(f[0]);if(d===e&&o===t)return;if(f.includes(e)||r(f).some(t=>t===e))return;if("group"===l){const e=f.map(e=>c(e));return void s(e,!0,null,f)}const a=d===e,u=f.length;i(f,d,a&&o<t?t-u:t)}}}function d(e,t,n={}){const{operation:d="insert",nearestSide:f="right"}=n,{canInsertBlockType:p,getBlockIndex:h,getClientIdsOfDescendants:g,getBlockOrder:m,getBlocksByClientId:v,getSettings:b,getBlock:y}=(0,a.A)(c.M),{getGroupingBlockName:k}=(0,a.A)(o.M_),{insertBlocks:x,moveBlocksToPosition:w,updateBlockAttributes:_,clearSelectedBlock:A,replaceBlocks:S,removeBlocks:C}=(0,i.A)(c.M),E=(0,s.A)(),T=(0,r.useCallback)((n,r=!0,i=0,s=[])=>{Array.isArray(n)||(n=[n]);const a=m(e)[t];if("replace"===d)S(a,n,void 0,i);else if("group"===d){const t=y(a);"left"===f?n.push(t):n.unshift(t);const r=n.map(e=>(0,o.GI)(e)),l=n.every(e=>"core/image"===e.name),c=p("core/gallery",e),u=(0,o.Wv)(l&&c?"core/gallery":k(),{layout:{type:"flex",flexWrap:l&&c?null:"nowrap"}},r);S([a,...s],u,void 0,i)}else x(n,t,e,r,i)},[m,e,t,d,S,y,f,p,k,x]),I=(0,r.useCallback)((n,r,o)=>{if("replace"===d){const r=v(n),o=m(e)[t];E.batch(()=>{C(n,!1),S(o,r,void 0,0)})}else w(n,r,e,o)},[d,m,v,w,E,C,S,t,e]),j=u(e,t,h,g,I,T,A,d,y),B=function(e,t,n,r,i){return s=>{if(!t().mediaUpload)return;const a=(0,o.wG)((0,o.XD)("from"),t=>"files"===t.type&&r(t.blockName,e)&&t.isMatch(s));if(a){const e=a.transform(s,n);i(e)}}}(e,b,_,p,T),N=function(e){return t=>{const n=(0,o.Gk)({HTML:t,mode:"BLOCKS"});n.length&&e(n)}}(T);return e=>{const t=(0,l.$)(e.dataTransfer),n=e.dataTransfer.getData("text/html");n?N(n):t.length?B(t):j(e)}}},71110(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(2376),o=n(87761),i=n(79027),s=n(65627),a=n(18124),l=n(18335),c=n(25552),u=n(54749);var d={align:u.LS,borderColor:e=>(0,u.U$)(e,"color"),backgroundColor:u.xW,textAlign:u.w5,textColor:u.qJ,gradient:u.W1,className:u.Sj,fontFamily:u.t_,fontSize:u.Uk,layout:u.ys,style:u.jS};function f(e,t){return Object.entries(d).reduce((n,[r,o])=>(o(e.name)&&o(t.name)&&(n[r]=e.attributes[r]),n),{})}function p(e,t,n){for(let r=0;r<Math.min(t.length,e.length);r+=1)n(e[r].clientId,f(t[r],e[r])),p(e[r].innerBlocks,t[r].innerBlocks,n)}function h(){const e=(0,s.A)(),{updateBlockAttributes:t}=(0,i.A)(c.M),{createSuccessNotice:n,createWarningNotice:u,createErrorNotice:d}=(0,i.A)(a.M);return(0,r.useCallback)(async r=>{let i="";try{if(!window.navigator.clipboard)return void d((0,l.__)("Unable to paste styles. This feature is only available on secure (https) sites in supporting browsers."),{type:"snackbar"});i=await window.navigator.clipboard.readText()}catch{return void d((0,l.__)("Unable to paste styles. Please allow browser clipboard permissions before continuing."),{type:"snackbar"})}if(!i||!function(e){try{const t=(0,o.qg)(e,{__unstableSkipMigrationLogs:!0,__unstableSkipAutop:!0});return 1!==t.length||"core/freeform"!==t[0].name}catch{return!1}}(i))return void u((0,l.__)("Unable to paste styles. Block styles couldn't be found within the copied content."),{type:"snackbar"});const s=(0,o.qg)(i);if(1===s.length?e.batch(()=>{p(r,r.map(()=>s[0]),t)}):e.batch(()=>{p(r,s,t)}),1===r.length){const e=(0,o.E7)(r[0].name)?.title;n((0,l.nv)(
199 // Translators: %s: Name of the block being pasted, e.g. "Paragraph".
200 // Translators: %s: Name of the block being pasted, e.g. "Paragraph".
201 (0,l.__)("Pasted styles to %s."),e),{type:"snackbar"})}else n((0,l.nv)(
202 // Translators: %d: The number of the blocks.
203 // Translators: %d: The number of the blocks.
204 (0,l.__)("Pasted styles to %d blocks."),r.length),{type:"snackbar"})},[e.batch,t,n,u,d])}},35453(e,t,n){"use strict";n.d(t,{t:()=>a});var r=n(19623),o=n(3217),i=n(25552),s=n(61924);function a(...e){const{clientId:t=null}=(0,o.m_)();return(0,r.A)(n=>(0,s.T)(n(i.M)).getBlockSettings(t,...e),[t,...e])}},83450(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(13022),o=n(3443),i=n(57655),s=n(22953),a=n(18335),l=n(57855),c=n(93236);var u=function({className:e,actions:t,children:n,secondaryActions:u}){return(0,c.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,c.jsx)("div",{className:(0,r.A)(e,"block-editor-warning"),children:(0,c.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,c.jsx)("p",{className:"block-editor-warning__message",children:n}),(t?.length>0||u)&&(0,c.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((e,t)=>(0,c.jsx)("span",{className:"block-editor-warning__action",children:e},t)),u&&(0,c.jsx)(o.A,{className:"block-editor-warning__secondary",icon:l.A,label:(0,a.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,c.jsx)(i.A,{children:u.map((e,t)=>(0,c.jsx)(s.A,{onClick:e.onClick,children:e.title},t))})})]})]})})})}},93281(e,t,n){"use strict";n.d(t,{A:()=>S});var r=n(13022),o=n(19623),i=n(18335),s=n(43730),a=n(71886),l=n(2376),c=n(64126),u=n(20656),d=n(78237),f=n(71342),p=n(54238),h=n(79776),g=n(97981),m=n(94243),v=n(46942),b=n(86700),y=n(52097),k=n(82282),x=n(58803),w=n(78802),_=n(25552),A=n(93236);var S=(0,l.forwardRef)(function({children:e,...t},n){const[l,S,C]=function(){const[e,t,n]=(0,f.A)(),r=(0,o.A)(e=>e(_.M).hasMultiSelection(),[]);return[e,(0,s.A)([(0,p.A)(),t,(0,y.A)(),(0,w.A)(),(0,x.A)(),(0,c.A)(),(0,u.A)(),(0,v.A)(),(0,b.A)(),(0,k.A)(),(0,d.A)(),(0,m.A)(),(0,h.Ay)(),(0,g.Y)(),(0,a.A)(e=>(e.tabIndex=0,e.dataset.hasMultiSelection=r,r?(e.setAttribute("aria-label",(0,i.__)("Multiple selected blocks")),()=>{delete e.dataset.hasMultiSelection,"true"===e.contentEditable?e.setAttribute("aria-label",(0,i.__)("Editor canvas")):e.removeAttribute("aria-label")}):()=>{delete e.dataset.hasMultiSelection}),[r])]),n]}();return(0,A.jsxs)(A.Fragment,{children:[l,(0,A.jsx)("div",{...t,ref:(0,s.A)([S,n]),className:(0,r.A)(t.className,"block-editor-writing-flow"),children:e}),C]})})},79776(e,t,n){"use strict";n.d(t,{Ay:()=>k});var r=n(98003),o=n(36590),i=n(88502),s=n(72659),a=n(18789),l=n(75640),c=n(92266),u=n(46899),d=n(8312),f=n(79027),p=n(19623),h=n(71886),g=n(87761),m=n(59900),v=n(25552),b=n(91462);function y(e,t,n,o){let s,a=r.XC.focusable.find(n);return t&&a.reverse(),a=a.slice(a.indexOf(e)+1),o&&(s=e.getBoundingClientRect()),a.find(function(e){if(1===e.children.length&&(0,m.vz)(e,e.firstElementChild)&&"true"===e.firstElementChild.getAttribute("contenteditable"))return;const t=(0,g.E7)(e.getAttribute("data-type"));if("true"!==e.contentEditable&&(0,m.Oz)(e)&&t&&(t.merge||(0,g.pN)(t,"__experimentalOnMerge"))&&0!==r.XC.focusable.find(e).filter(e=>!(0,i.A)(e)).length)return!1;if(!r.XC.tabbable.isTabbableIndex(e))return!1;if(e.isContentEditable&&"true"!==e.contentEditable&&(0,m.Oz)(e.closest('[contenteditable="true"]')))return!1;if(o){const t=e.getBoundingClientRect();if(t.left>=s.right||t.right<=s.left)return!1}return!0})}function k(){const{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getNextBlockClientId:n,getPreviousBlockClientId:r,getSelectedBlockClientId:i,getSelectionStart:g,getSettings:k,hasMultiSelection:x,__unstableIsFullySelected:w}=(0,p.A)(v.M),{selectBlock:_,multiSelect:A}=(0,f.A)(v.M);return(0,h.A)(f=>{let p;function h(){p=null}function v(h){if(h.defaultPrevented)return;const{keyCode:v,shiftKey:S,ctrlKey:C,altKey:E,metaKey:T}=h,I=h.target===f&&(0,m.Nq)(f.ownerDocument.defaultView.getSelection(),f)||h.target,j=v===d.UP,B=v===d.PX,N=v===d.M3,M=v===d.NS,R=j||N,O=N||M,L=j||B,P=O||L,D=S||C||E||T,z=L?a.A:s.A,{ownerDocument:V}=f,{defaultView:F}=V;if(!P)return;if(k().isPreviewMode)return;if(x()){if(S){const o=F.getSelection();if(w()&&(!o.rangeCount||o.isCollapsed)){const o=e(),i=t(),s=R?r(i):n(i);s&&(A(o,s),h.preventDefault())}return}if(!w())return;return h.preventDefault(),void(R?_(e()):_(t(),-1))}if(S&&i()&&!g().attributeKey){const e=i(),t=R?r(e):n(e);return void(t&&(A(e,t),h.preventDefault()))}if(!function(e,t,n){const r=t===d.UP||t===d.PX,{tagName:o}=e,i=e.getAttribute("type");if(r&&!n)return"INPUT"!==o||!["date","datetime-local","month","number","range","time","week"].includes(i);if("INPUT"===o)return["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i);return"TEXTAREA"!==o}(I,v,D))return;L?p||(p=(0,o.A)(F)):p=null;const $=(0,u.A)(I)?!R:R,{keepCaretInsideBlock:H}=k();if(S){if(z(I,R))if(function(e,t){const n=y(e,t,f);return n&&(0,m.Oz)(n)}(I,R))(0,b.DQ)(f,!0);else if("true"===f.contentEditable){F.getSelection().extend(I,R?0:I.childNodes.length),h.preventDefault()}}else if(!L||!(0,a.A)(I,R)||E&&!(0,s.A)(I,$)||H){if(O&&F.getSelection().isCollapsed&&(0,s.A)(I,$)&&!H){const e=y(I,$,f);(0,l.A)(e,R),h.preventDefault()}}else{const e=y(I,R,f,!0);e&&((0,c.A)(e,E?!R:R,E?void 0:p),h.preventDefault())}}return f.addEventListener("mousedown",h),f.addEventListener("keydown",v),()=>{f.removeEventListener("mousedown",h),f.removeEventListener("keydown",v)}},[])}},82282(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(79027),o=n(19623),i=n(71886),s=n(25552),a=n(91462),l=n(59900);function c(){const{selectBlock:e}=(0,r.A)(s.M),{isSelectionEnabled:t,getBlockSelectionStart:n,getSelectionStart:c,hasMultiSelection:u}=(0,o.A)(s.M);return(0,i.A)(r=>{function o(o){if(!t()||0!==o.button)return;const i=n(),s=(0,l.Oz)(o.target);if(o.shiftKey){if(i&&i!==s){const{clientId:e,attributeKey:t}=c();(0,a.DQ)(r,!0,{focus:!!t});const{ownerDocument:n}=r,i=n.defaultView.getSelection(),s=!t&&n.getElementById(`block-${e}`);if(s&&(!i.anchorNode||!s.contains(i.anchorNode))){const e=s.compareDocumentPosition(o.target)&r.DOCUMENT_POSITION_FOLLOWING;i.setPosition(s,e?0:s.childNodes.length)}}}else u()&&e(s)}return r.addEventListener("mousedown",o),()=>{r.removeEventListener("mousedown",o)}},[e,t,n,c,u])}},78802(e,t,n){"use strict";n.d(t,{A:()=>v});var r=n(87761),o=n(27916),i=n(83691),s=n(72317),a=n(79027),l=n(65627),c=n(19623),u=n(71886),d=n(25552),f=n(91477),p=n(91462),h=n(74220),g=n(59900);function m(e,t){const n=e.defaultView.getSelection();if((0,g.Oz)(n.anchorNode)!==t)return!1;const r=e.getElementById(`block-${t}`);return!!r?.isContentEditable&&(0,s.A)(r)}function v(){const e=(0,l.A)(),{getBlocksByClientId:t,getSelectedBlockClientIds:n,hasMultiSelection:s,getSettings:g,getBlockName:v,__unstableIsFullySelected:b,__unstableIsSelectionCollapsed:y,__unstableIsSelectionMergeable:k,__unstableGetSelectedBlocksWithPartialSelection:x,canInsertBlockType:w,getBlockRootClientId:_}=(0,c.A)(d.M),{flashBlock:A,removeBlocks:S,replaceBlocks:C,__unstableDeleteSelection:E,__unstableExpandSelection:T,__unstableSplitSelection:I}=(0,a.A)(d.M),j=(0,f.g)();return(0,u.A)(a=>{function l(l){if(l.defaultPrevented)return;const c=n();if(0===c.length)return;const u="copy"===l.type&&!s()&&m(l.target.ownerDocument,c[0]);if(!s()){const{ownerDocument:e}=l.target;if(("copy"===l.type||"cut"===l.type?(0,o.A)(e):(0,i.A)(e)&&!e.activeElement.isContentEditable)&&!u)return}const{activeElement:d}=l.target.ownerDocument;if(!a.contains(d))return;const f=k(),B=y()||b()||u,N=!B&&!f;if("copy"===l.type||"cut"===l.type)if(l.preventDefault(),1===c.length&&A(c[0]),N)T();else{let n;if(j(l.type,c),B)n=t(c);else{const[e,r]=x();n=[e,...t(c.slice(1,c.length-1)),r]}(0,p.Jk)(l,n,e)}if("cut"===l.type)B&&!N?S(c):((0,p.DQ)(l.target.ownerDocument.activeElement,!1),E());else if("paste"===l.type){const{__experimentalCanUserUseUnfilteredHTML:e,mediaUpload:t}=g();if("true"===l.clipboardData.getData("rich-text"))return;const{plainText:n,html:o,files:i}=(0,h.O)(l),a=b();let u=[];if(i.length){if(!t)return void l.preventDefault();const e=(0,r.XD)("from");u=i.reduce((t,n)=>{const o=(0,r.wG)(e,e=>"files"===e.type&&e.isMatch([n]));return o&&t.push(o.transform([n])),t},[]).flat()}else u=(0,r.Gk)({HTML:o,plainText:n,mode:a?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:e});if("string"==typeof u)return;if(a)return C(c,u,u.length-1,-1),void l.preventDefault();if(!s()&&m(l.target.ownerDocument,c[0]))return C(c,u,u.length-1,-1),void l.preventDefault();if(!s()&&!(0,r.pN)(v(c[0]),"splitting",!1)&&!l.__deprecatedOnSplit)return;const[d]=c,f=_(d),p=[];for(const e of u)if(w(e.name,f))p.push(e);else{const t=v(f),n=e.name!==t?(0,r.bh)(e,t):[e];if(!n)return;for(const e of n)for(const t of e.innerBlocks)p.push(t)}I(p),l.preventDefault()}}return a.ownerDocument.addEventListener("copy",l),a.ownerDocument.addEventListener("cut",l),a.ownerDocument.addEventListener("paste",l),()=>{a.ownerDocument.removeEventListener("copy",l),a.ownerDocument.removeEventListener("cut",l),a.ownerDocument.removeEventListener("paste",l)}},[])}},46942(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(79027),o=n(19623),i=n(71886),s=n(25552),a=n(91462);function l(){const{startMultiSelect:e,stopMultiSelect:t}=(0,r.A)(s.M),{getSettings:n,isSelectionEnabled:l,hasSelectedBlock:c,isDraggingBlocks:u,isMultiSelecting:d}=(0,o.A)(s.M);return(0,i.A)(r=>{const{ownerDocument:o}=r,{defaultView:i}=o;let s,f,p;function h(){t(),i.removeEventListener("mouseup",h),f=i.requestAnimationFrame(()=>{if(!c())return;(0,a.DQ)(r,!1);const e=i.getSelection();if(e.rangeCount){const t=e.getRangeAt(0),{commonAncestorContainer:n}=t,r=t.cloneRange();s.contains(n)&&(s.focus(),e.removeAllRanges(),e.addRange(r))}})}function g({buttons:t,target:o,relatedTarget:c}){o.contains(p)&&(o.contains(c)||u()||1===t&&(d()||r!==o&&("true"===o.getAttribute("contenteditable")||n().isPreviewMode)&&l()&&(s=o,e(),i.addEventListener("mouseup",h),(0,a.DQ)(r,!0))))}return r.addEventListener("mouseout",g),r.addEventListener("mousedown",function({target:e}){p=e}),()=>{r.removeEventListener("mouseout",g),i.removeEventListener("mouseup",h),i.cancelAnimationFrame(f)}},[e,t,l,c])}},52097(e,t,n){"use strict";n.d(t,{A:()=>v,g:()=>d});var r=n(19623),o=n(71886),i=n(2376),s=n(25552),a=n(59900),l=n(9319),c={onKeyDown:"keydown",onKeyUp:"keyup",onBeforeInput:"beforeinput",onInput:"input",onCompositionStart:"compositionstart",onCompositionUpdate:"compositionupdate",onCompositionEnd:"compositionend"},u=Object.values(c);function d(e){let t;for(const n in c)"function"==typeof e[n]&&(t=t||{},t[c[n]]=e[n]);return t}var f=["eventPhase","bubbles","cancelable","timeStamp","defaultPrevented","isTrusted"],p=[...f,"view","detail","key","code","location","ctrlKey","shiftKey","altKey","metaKey","repeat","locale","getModifierState","charCode","keyCode","which"],h=[...f,"data"],g={keydown:p,keyup:p,beforeinput:h,input:h,compositionstart:h,compositionupdate:h,compositionend:h};function m(e,t){let n=!1;const r={nativeEvent:e,type:e.type,target:t,currentTarget:null,preventDefault(){e.preventDefault(),r.defaultPrevented=!0},isDefaultPrevented:()=>r.defaultPrevented,stopPropagation(){e.stopPropagation(),n=!0},isPropagationStopped:()=>n,persist(){},isPersistent:()=>!0};for(const t of g[e.type]){const n=e[t];r[t]="function"==typeof n?n.bind(e):n}return r}function v(){const{hasMultiSelection:e,getBlockParents:t}=(0,r.A)(s.M),{refsMap:n,eventHandlers:c}=(0,i.useContext)(l.O);return(0,o.A)(r=>{function o(o){if(!c.size||o.target!==r||!o.isTrusted||"true"!==r.contentEditable||e())return;const i=r.ownerDocument.defaultView.getSelection();if(!i.rangeCount)return;const s=(0,a.Nq)(i,r),l=(0,a.Oz)(s);if(!l)return;const u=[l,...t(l,!0)];let d;for(const e of u){const t=c.get(e)?.current?.[o.type],r=t&&n.get(e);if(r&&(d||(d=m(o,s)),d.currentTarget=r,t(d),d.isPropagationStopped()))break}}const i=r.ownerDocument.documentElement,s=u.map(e=>(i.addEventListener(e,o),()=>i.removeEventListener(e,o)));return()=>s.forEach(e=>e())},[e,t,n,c])}},64126(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(65627),o=n(19623),i=n(71886),s=n(25552),a=n(91462),l=n(59900),c=n(61924);function u(){const e=(0,r.A)(),t=(0,o.A)(e=>{const{getSelectedBlockClientId:t,canHostEditableRoot:n,isZoomOut:r}=(0,c.T)(e(s.M));return!r()&&n(t())},[]);return(0,i.A)(n=>{if(!t)return;const{getSelectedBlockClientId:r,hasMultiSelection:o,isMultiSelecting:i}=e.select(s.M);if(!(0,a.DQ)(n,!0,{focus:!1}))return;const{activeElement:c}=n.ownerDocument,u=n.ownerDocument.defaultView.getSelection();return c!==n&&c?.isContentEditable&&n.contains(c)&&(0,l.Oz)(c)===r()&&u.anchorNode&&c.contains(u.anchorNode)&&n.focus(),()=>{if(!o()&&!i()&&((0,a.DQ)(n,!1),n.ownerDocument.activeElement===n)){const e=(0,l.Nq)(n.ownerDocument.defaultView.getSelection(),n);e&&(0,l.Oz)(e)===r()&&e.focus()}}},[t,e])}},20656(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(8312),o=n(19623),i=n(71886),s=n(59900),a=n(25552);function l(){const{hasMultiSelection:e}=(0,o.A)(a.M);return(0,i.A)(t=>{function n(n){if(n.defaultPrevented)return;if(n.keyCode!==r.yZ&&n.keyCode!==r.Kp)return;if(n.metaKey||n.ctrlKey||n.altKey)return;if(!n.target.isContentEditable||e())return;const o=t.ownerDocument.defaultView.getSelection();(0,s.Nq)(o,t)&&(n.preventDefault(),o.modify(n.shiftKey?"extend":"move",n.keyCode===r.yZ?"backward":"forward","lineboundary"))}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},[])}},58803(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(79027),o=n(19623),i=n(71886),s=n(8312),a=n(87761),l=n(25552),c=n(91462),u=n(59900);function d(){const{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:n,__unstableIsSelectionMergeable:d,hasMultiSelection:f,getBlockName:p,canInsertBlockType:h,getBlockRootClientId:g,getSelectionStart:m,getSelectionEnd:v,getBlockAttributes:b,getNextBlockClientId:y,getBlockOrder:k,getBlockEditingMode:x,getBlockListSettings:w}=(0,o.A)(l.M),{replaceBlocks:_,__unstableSplitSelection:A,removeBlocks:S,__unstableDeleteSelection:C,__unstableExpandSelection:E,__unstableMarkAutomaticChange:T,insertAfterBlock:I,insertBlock:j,selectBlock:B}=(0,r.A)(l.M);return(0,i.A)(r=>{function o(e){if("insertParagraph"===e.inputType&&!e.defaultPrevented&&!f()&&(i(e),e.defaultPrevented))return;if("true"!==r.contentEditable)return;if(f())return void e.preventDefault();const t=r.ownerDocument.defaultView.getSelection();(0,u.Nq)(t,r)||e.preventDefault()}function i(o){if(!o.defaultPrevented)if(f())o.keyCode===s.Fm?((0,c.DQ)(r,!1),o.preventDefault(),e()?_(t(),(0,a.Wv)((0,a.K$)())):A()):o.keyCode===s.G_||o.keyCode===s.SJ?((0,c.DQ)(r,!1),o.preventDefault(),e()?S(t()):d()?C(o.keyCode===s.SJ):E()):1!==o.key.length||o.metaKey||o.ctrlKey||((0,c.DQ)(r,!1),d()?C(o.keyCode===s.SJ):(o.preventDefault(),r.ownerDocument.defaultView.getSelection().removeAllRanges()));else if(o.keyCode===s.Fm||"insertParagraph"===o.inputType){if(o.shiftKey||"keydown"===o.type&&o.target.ownerDocument.activeElement.isContentEditable)return;const t=n();if(!t)return;const r=p(t),i=m(),s=v();if(i.attributeKey===s.attributeKey){const e=b(t)[i.attributeKey],n=(0,a.XD)("from").filter(({type:e})=>"enter"===e),r=(0,a.wG)(n,t=>t.regExp.test(e));if(r)return _(t,r.transform({content:e})),void T()}const l=g(t),{activeElement:c}=o.target.ownerDocument;if(e()||!h((0,a.K$)(),l)&&!h(r,l)||!(0,a.pN)(r,"splitting",!1)&&!o.__deprecatedOnSplit){if((c.getAttribute("data-block")===t||c.isContentEditable)&&(0,u.Oz)(c)===t){const{defaultBlock:e}=l&&w(l)||{};if(h(e?.name??(0,a.K$)(),l))o.preventDefault(),I(t);else{let e=function(e){let t=null;for(;"string"==typeof e&&!(t=y(e));)e=g(e);return t};if(!k(t).length){const{defaultBlock:e}=w(t)??{},n=e?.name??(0,a.K$)();if(h(n,t))return o.preventDefault(),void j((0,a.Wv)(n,e?.attributes),0,t)}let n=k(t)[0]??e(t);for(;n&&"disabled"===x(n);)n=e(n);n&&(o.preventDefault(),B(n,!0))}}}else o.preventDefault(),A()}}function l(e){f()&&((0,c.DQ)(r,!1),d()?C():(e.preventDefault(),r.ownerDocument.defaultView.getSelection().removeAllRanges()))}return r.addEventListener("beforeinput",o),r.addEventListener("keydown",i),r.addEventListener("compositionstart",l),()=>{r.removeEventListener("beforeinput",o),r.removeEventListener("keydown",i),r.removeEventListener("compositionstart",l)}},[])}},78237(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(71886),o=n(19623),i=n(25552),s=n(91462);function a(e){const{isMultiSelecting:t,getMultiSelectedBlockClientIds:n,hasMultiSelection:r,getSelectedBlockClientId:o,getSelectedBlocksInitialCaretPosition:s,__unstableIsFullySelected:a}=e(i.M);return{isMultiSelecting:t(),multiSelectedBlockClientIds:n(),hasMultiSelection:r(),selectedBlockClientId:o(),initialPosition:s(),isFullSelection:a()}}function l(){const{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:n,hasMultiSelection:i,selectedBlockClientId:l,isFullSelection:c}=(0,o.A)(a,[]);return(0,r.A)(r=>{const{ownerDocument:o}=r,{defaultView:a}=o;if(null==e)return;if(!i||t)return;const{length:l}=n;l<2||c&&((0,s.DQ)(r,!0),a.getSelection().removeAllRanges())},[i,t,n,l,e,c])}},97981(e,t,n){"use strict";n.d(t,{Y:()=>a});var r=n(71886),o=n(19623),i=n(8312),s=n(25552);function a(){const e=(0,o.A)(e=>e(s.M).getSettings().isPreviewMode,[]);return(0,r.A)(t=>{if(e)return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)};function n(e){const{keyCode:n,shiftKey:r,target:o}=e,s=n===i.wn,a=n===i.UP,l=n===i.PX,c=n===i.M3,u=n===i.NS;if(!s&&!(a||l||c||u))return;const d=s?r:a||c,f=Array.from(t.querySelectorAll("[data-block]"));if(!f.length)return;const p=o.closest("[data-block]"),h=p?f.indexOf(p):-1;if(-1===h)return;if(s){if(d&&0===h)return;if(!d&&h===f.length-1)return}let g;g=d?h<=0?f.length-1:h-1:-1===h||h>=f.length-1?0:h+1,e.preventDefault(),f[g].focus()}},[e])}},94243(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(72317),o=n(79027),i=n(19623),s=n(63632),a=n(71886),l=n(25552),c=n(59900);function u(){const{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:n}=(0,i.A)(l.M),{multiSelect:u,selectBlock:d}=(0,o.A)(l.M),f=(0,s.ZK)();return(0,a.A)(o=>{function i(i){if(!f("core/block-editor/select-all",i))return;const s=t(),{ownerDocument:a}=o,l=a.defaultView.getSelection(),p=i.target===o&&(0,c.Nq)(l,o)||i.target;if(s.length<2&&!(0,r.A)(p)){if(i.target===o&&p!==o){i.preventDefault();const e=a.createRange();e.selectNodeContents(p),l.removeAllRanges(),l.addRange(e),a.dispatchEvent(new Event("selectionchange"))}return}i.preventDefault();const[h]=s,g=(0,c.Oz)(a.activeElement);if(g&&g!==h&&!(0,c._V)(a.getElementById("block-"+h),a.activeElement))return void d(g);const m=n(h),v=e(m);s.length!==v.length?u(v[0],v[v.length-1]):m&&(o.ownerDocument.defaultView.getSelection().removeAllRanges(),d(m))}return o.addEventListener("keydown",i),()=>{o.removeEventListener("keydown",i)}},[])}},86700(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(79027),o=n(19623),i=n(71886),s=n(4157),a=n(44835),l=n(25552),c=n(59900),u=n(91462),d=n(61924),{ownsSelection:f}=(0,d.T)(s.jb);function p(e){const{anchorNode:t,anchorOffset:n}=e;return t.nodeType===t.TEXT_NODE||0===n?t:t.childNodes[n-1]}function h(e,t){const{focusNode:n,focusOffset:r}=e;return n.nodeType===n.TEXT_NODE||r===n.childNodes.length?n:0===r&&(0,a.A)(e)&&t?n.previousSibling??n.parentElement:n.childNodes[r]}function g(e){const t=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;return t?.closest("[data-wp-block-attribute-key]")}function m(){const{multiSelect:e,selectBlock:t,selectionChange:n,startMultiSelect:a,stopMultiSelect:m}=(0,r.A)(l.M),{getBlockParents:v,getBlockSelectionStart:b,isMultiSelecting:y,getSelectionStart:k,getSelectionEnd:x,getSelectedBlockClientId:w,canHostEditableRoot:_}=(0,d.T)((0,o.A)(l.M));return(0,i.A)(r=>{const{ownerDocument:o}=r,{defaultView:i}=o;let l=!1;function d(e){l=3===e.detail,e.shiftKey&&a()}function A(){l=!1}function S(a){const d=i.getSelection();if(!d.rangeCount)return;const m=p(d),A=h(d,l);if(!r.contains(m)||!r.contains(A))return;const S=a.shiftKey&&"mouseup"===a.type;if(d.isCollapsed&&!S){const e=(0,c.Oz)(m);if(!y()&&e&&e===w()&&_(e)){(0,u.DQ)(r,!0);const{activeElement:t}=o;return void(t!==r&&t?.isContentEditable&&r.contains(t)&&(0,c.Oz)(t)===e&&r.focus())}if("true"===r.contentEditable&&!y()){(0,u.DQ)(r,!1);let e=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;e=e?.closest("[contenteditable]"),e?.focus()}return}let C=(0,c.Oz)(m),E=(0,c.Oz)(A);if(S){const e=b(),t=(0,c.Oz)(a.target),n=t!==E;(C===E&&d.isCollapsed||!E||n)&&(E=t),C!==e&&(C=e)}if(void 0===C&&void 0===E)return void(0,u.DQ)(r,!1);if("mouseup"===a.type&&!a.shiftKey&&!y()&&C===E){const e=(0,c.Oz)(a.target);if(e&&e!==C)return void d.removeAllRanges()}if(C===E)if(y())e(C,C);else{const e=!d.isCollapsed&&(g(m)||g(A));if(e&&("true"!==e.contentEditable||o.activeElement!==e&&!f(e))){const t=d.getRangeAt(0),r=(0,s.vt)({element:e,range:t,__unstableIsEditableTree:!0}),o={start:{clientId:C,attributeKey:e.dataset.wpBlockAttributeKey,offset:r.start??0},end:{clientId:C,attributeKey:e.dataset.wpBlockAttributeKey,offset:r.end??r.text.length}},{start:i,end:a}=o,l=k(),c=x();l.clientId===i.clientId&&c.clientId===a.clientId&&l.attributeKey===i.attributeKey&&l.offset===i.offset&&c.offset===a.offset||n(o)}else t(C)}else{const t=[...v(C),C],r=[...v(E),E],o=function(e,t){let n=0;for(;e[n]===t[n];)n++;return n}(t,r);if(!(o>=t.length||o>=r.length)&&(t[o]!==C||r[o]!==E))return void e(t[o],r[o]);const i=g(m),a=g(A);if(i&&a){const e=d.getRangeAt(0),t=(0,s.vt)({element:i,range:e,__unstableIsEditableTree:!0}),r=(0,s.vt)({element:a,range:e,__unstableIsEditableTree:!0}),o=t.start??t.end,l=r.start??r.end;n({start:{clientId:C,attributeKey:i.dataset.wpBlockAttributeKey,offset:o},end:{clientId:E,attributeKey:a.dataset.wpBlockAttributeKey,offset:l}})}else e(C,E)}}function C(e){const t=i.getSelection();if(!t.rangeCount||t.isCollapsed)return;(0,c.Oz)(p(t))!==(0,c.Oz)(h(t,l))&&S(e)}function E(e){S(e),m()}return o.addEventListener("selectionchange",S),i.addEventListener("mouseup",E),r.addEventListener("mousedown",d),r.addEventListener("keydown",A),o.addEventListener("copy",C,!0),o.addEventListener("cut",C,!0),o.addEventListener("paste",C,!0),()=>{o.removeEventListener("selectionchange",S),i.removeEventListener("mouseup",E),r.removeEventListener("mousedown",d),r.removeEventListener("keydown",A),o.removeEventListener("copy",C,!0),o.removeEventListener("cut",C,!0),o.removeEventListener("paste",C,!0)}},[e,t,n,v])}},71342(e,t,n){"use strict";n.d(t,{A:()=>k});var r=n(98003),o=n(88502),i=n(8312),s=n(7995),a=n(18335),l=n(79027),c=n(19623),u=n(41740),d=n(43730),f=n(71886),p=n(2376),h=n(25552),g=n(59900),m=n(61924),v=n(93236),b={position:"absolute",inset:0,pointerEvents:"none",outline:"none"},y=["Enter"," ","F2","Escape"];function k(){const e=(0,p.useRef)(),t=(0,p.useRef)(),n=(0,p.useRef)(),x=(0,u.A)(k,"block-editor-writing-flow__canvas-stop-hint"),{hasMultiSelection:w,getSelectedBlockClientId:_,getBlockCount:A,getBlockOrder:S,getLastFocus:C,getSectionRootClientId:E,getEditedContentOnlySection:T,isZoomOut:I}=(0,m.T)((0,c.A)(h.M)),{setLastFocus:j}=(0,m.T)((0,l.A)(h.M)),B=(0,p.useRef)();function N(){if(e.current.ownerDocument.defaultView.focus(),w())e.current.focus();else if(_())C()?.current?C().current.focus():e.current.querySelector(`[data-block="${_()}"]`).focus();else if(I()){const t=E(),n=S(t);n.length?e.current.querySelector(`[data-block="${n[0]}"]`).focus():t?e.current.querySelector(`[data-block="${t}"]`).focus():e.current.focus()}else{const t=r.XC.tabbable.find(e.current);t.length?t[0].focus():e.current.focus()}}const M=(0,v.jsx)("div",{ref:t,tabIndex:"0",role:"button","aria-label":(0,a.__)("Editor canvas"),"aria-describedby":x,className:"block-editor-writing-flow__canvas-stop",style:b,onFocus:function(){B.current?B.current=null:N()},onKeyDown:function(e){if(e.defaultPrevented||e.ctrlKey||e.metaKey||e.altKey)return;const{key:t}=e;if(!e.shiftKey&&y.includes(t))return e.preventDefault(),void N();"Tab"!==t||e.shiftKey||(e.preventDefault(),r.XC.tabbable.findNext(n.current)?.focus())},onClick:N,children:(0,v.jsx)("div",{className:"block-editor-writing-flow__canvas-stop-hint",id:x,children:(0,a.__)("Press Enter to edit the document")})});const R=(0,v.jsx)("div",{ref:n,tabIndex:"0",onFocus:function(){B.current?B.current=null:N()},style:b}),O=(0,f.A)(e=>{function a(t){e.contains(t.relatedTarget)||j({current:t.target});const{ownerDocument:n}=e;!t.relatedTarget&&t.target.hasAttribute("data-block")&&n.activeElement===n.body&&0===A()&&e.focus()}const l=(0,s.n)(function(e){if(e.defaultPrevented)return;if(!("Escape"!==e.key||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey)){if(T())return;return void(t.current&&(e.preventDefault(),B.current=!0,t.current.focus()))}if(e.keyCode!==i.wn)return;if(!n.current||!t.current)return;const{target:s,shiftKey:a}=e,l=a?"findPrevious":"findNext",c=r.XC.tabbable[l](s),u=s.closest("[data-block]"),d=u&&c&&((0,g.vz)(u,c)||(0,g._V)(u,c));if((0,o.A)(c)&&d)return;const f=a?t:n;B.current=!0,f.current.focus()});return e.addEventListener("keydown",l),e.addEventListener("focusout",a),()=>{e.removeEventListener("keydown",l),e.removeEventListener("focusout",a)}},[]);return[M,(0,d.A)([e,O]),R]}},54238(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(8312),o=n(19623),i=n(71886),s=n(25552);function a(){const{didAutomaticChange:e,getSettings:t}=(0,o.A)(s.M);function n(n){const{keyCode:o}=n;if(n.defaultPrevented)return;if(o!==r.G_&&o!==r._f)return;const{__experimentalUndo:i}=t();i&&e()&&(n.preventDefault(),i())}return(0,i.A)(e=>(e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}),[])}},91462(e,t,n){"use strict";n.d(t,{DQ:()=>c,Jk:()=>l,wL:()=>a});var r=n(18335),o=n(15394),i=n(87761),s=n(25552),a=Symbol("requiresWrapperOnCopy");function l(e,t,n){let r=t;const[l]=t;if(l){if(n.select(i.M_).getBlockType(l.name)[a]){const{getBlockRootClientId:e,getBlockName:t,getBlockAttributes:o}=n.select(s.M),a=e(l.clientId),c=t(a);c&&(r=(0,i.Wv)(c,o(a),r))}}const c=(0,i.lK)(r);e.clipboardData.setData("text/plain",function(e){e=e.replace(/<br>/g,"\n");return(0,o.A)(e).trim().replace(/\n\n+/g,"\n\n")}(c)),e.clipboardData.setData("text/html",c)}function c(e,t,{focus:n=!0}={}){return e.contentEditable===String(t)?t:(e.contentEditable=t,t?e.isContentEditable?(e.setAttribute("role","textbox"),e.setAttribute("aria-multiline","true"),e.setAttribute("aria-label",(0,r.__)("Editor canvas")),n&&e.focus({preventScroll:!0}),!0):(e.removeAttribute("contenteditable"),!1):(e.removeAttribute("role"),e.removeAttribute("aria-multiline"),e.removeAttribute("aria-label"),!1))}},76968(e,t,n){"use strict";n.d(t,{o:()=>o});var r={button:"wp-element-button",caption:"wp-element-caption"},o=e=>r[e]?r[e]:""},44876(e,t,n){"use strict";n.d(t,{Ay:()=>h});var r=n(13022),o=n(80471),i=n(87761),s=n(32297),a=n(65562),l=n(12369),c=n(90376),u=n(93236),d=["left","center","right","wide","full"],f=["wide","full"];function p(e,t=!0,n=!0){let r;return r=Array.isArray(e)?d.filter(t=>e.includes(t)):!0===e?[...d]:[],!n||!0===e&&!t?r.filter(e=>!f.includes(e)):r}var h={shareWithChildBlocks:!0,edit:function({name:e,align:t,setAttributes:n}){const r=p((0,i.bI)(e,"align"),(0,i.pN)(e,"alignWide",!0)),o=(0,l.A)(r).map(({name:e})=>e),d=(0,c.w)();return o.length&&"default"===d?(0,u.jsx)(a.A,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,u.jsx)(s.O,{value:t,onChange:t=>{if(!t){const n=(0,i.E7)(e),r=n?.attributes?.align?.default;r&&(t="")}n({align:t})},controls:o})}):null},useBlockProps:function({name:e,align:t}){const n=p((0,i.bI)(e,"align"),(0,i.pN)(e,"alignWide",!0));if((0,l.A)(n).some(e=>e.name===t))return{"data-align":t};return{}},addSaveProps:function(e,t,n){const{align:o}=n,s=(0,i.bI)(t,"align"),a=(0,i.pN)(t,"alignWide",!0);p(s,a).includes(o)&&(e.className=(0,r.A)(`align${o}`,e.className));return e},attributeKeys:["align"],hasSupport:e=>(0,i.pN)(e,"align",!1)};(0,o.U2)("blocks.registerBlockType","core/editor/align/addAttribute",function(e){return"type"in(e.attributes?.align??{})||(0,i.pN)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...d,""]}}),e})},91906(e,t,n){"use strict";n.d(t,{Ay:()=>c});var r=n(80471),o=n(87761),i=n(68106),s=n(21246),a=n(90376),l=n(93236);var c={edit:function({clientId:e}){return"contentOnly"===(0,a.w)()?null:(0,l.jsx)(i.D.Fill,{children:(0,l.jsx)(s.A,{clientId:e})})},attributeKeys:["allowedBlocks"],hasSupport:e=>(0,o.pN)(e,"allowedBlocks")};(0,r.U2)("blocks.registerBlockType","core/allowedBlocks/attribute",function(e){return e?.attributes?.allowedBlocks?.type||(0,o.pN)(e,"allowedBlocks")&&(e.attributes={...e.attributes,allowedBlocks:{type:"array"}}),e}),(0,r.U2)("blocks.switchToBlockType.transformedBlock","core/allowedBlocks/addTransforms",function(e,t,n,r){if(!(0,o.pN)(e.name,"allowedBlocks"))return e;if(1!==t.length&&1===r.length&&e.innerBlocks.length===t.length)return e;if(1===r.length&&t.length>1||r.length>1&&1===t.length)return e;if(r.length>1&&t.length>1&&r.length!==t.length)return e;if(e.attributes.allowedBlocks)return e;const i=t[n]?.attributes?.allowedBlocks;if(!i)return e;const s=(0,o.E7)(e.name),a=s?.allowedBlocks||[];if(!a.length)return{...e,attributes:{...e.attributes,allowedBlocks:i}};const l=i.filter(e=>a.includes(e));return{...e,attributes:{...e.attributes,allowedBlocks:l}}})},69858(e,t,n){"use strict";n.d(t,{Ay:()=>f});var r=n(80471),o=n(8096),i=n(13533),s=n(18335),a=n(87761),l=n(59798),c=n(90376),u=n(93236),d=/[\s#]/g;var f={addSaveProps:function(e,t,n){(0,a.pN)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor);return e},edit:function({anchor:e,setAttributes:t}){return"default"!==(0,c.w)()?null:(0,u.jsx)(l.A,{group:"advanced",children:(0,u.jsx)(i.A,{className:"html-anchor-control",label:(0,s.__)("HTML anchor"),help:(0,u.jsxs)(u.Fragment,{children:[(0,s.__)("Enter a word or two—without spaces—to make a unique web address just for this block, called an “anchor”. Then, you’ll be able to link directly to this section of your page.")," ",(0,u.jsx)(o.A,{href:(0,s.__)("https://wordpress.org/documentation/article/page-jumps/"),children:(0,s.__)("Learn more about anchors")})]}),value:e||"",placeholder:null,onChange:e=>{e=e.replace(d,"-"),t({anchor:""!==e?e:void 0})},autoCapitalize:"none",autoComplete:"off"})})},attributeKeys:["anchor"],hasSupport:e=>(0,a.pN)(e,"anchor")};(0,r.U2)("blocks.registerBlockType","core/anchor/attribute",function(e){return"type"in(e.attributes?.anchor??{})||(0,a.pN)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string"}}),e})},5259(e,t,n){"use strict";n.d(t,{Ay:()=>s});var r=n(80471),o=n(87761),i=n(17868);var s={addSaveProps:function(e,t,n){return(0,o.pN)(t,"ariaLabel")&&!(0,i.t1)(t,"ariaLabel","ariaLabel")&&(e["aria-label"]=""===n.ariaLabel?null:n.ariaLabel),e},attributeKeys:["ariaLabel"],hasSupport:e=>(0,o.pN)(e,"ariaLabel")};(0,r.U2)("blocks.registerBlockType","core/ariaLabel/attribute",function(e){return e?.attributes?.ariaLabel?.type||(0,o.pN)(e,"ariaLabel")&&(e.attributes={...e.attributes,ariaLabel:{type:"string"}}),e})},72147(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(87761),o=n(16668),i=n(19623),s=n(26068),a=n(2376),l=n(18335),c=n(59798),u=n(90376),d=n(25552),f=n(61924),p=n(57611),h=n(50071),g=n(93236);var m={edit:function({name:e,clientId:t,setAttributes:n}){const m=(0,u.w)(),v=(0,a.useContext)(p.A),b=(0,i.A)(e=>{const n=e(d.M).getBlockAttributes(t);if(!n?.metadata?.bindings)return n;const{getBlockBindingsSource:o}=(0,f.T)(e(r.M_));return Object.entries(n.metadata.bindings).reduce((t,[n,r])=>{const i=o(r.source);if(!i)return t;const s=i.getValues({select:e,context:v,bindings:{[n]:r}});return{...t,...s}},n)},[v,t]),y=(0,r.E7)(e),{fields:k,form:x}=(0,a.useMemo)(()=>y?.attributes?(0,h.O)(y.attributes):{fields:[],form:{fields:[]}},[y?.attributes]);return"default"!==m?null:k&&0!==k.length?(0,g.jsx)(c.A,{children:(0,g.jsx)(o.Ay,{title:(0,l.__)("Settings"),children:(0,g.jsx)(s.DataForm,{data:b,fields:k,form:x,onChange:n})})}):null},attributeKeys:[],hasSupport(e){const t=(0,r.E7)(e);return n=t?.attributes,!!n&&Object.values(n).some(e=>e?.autoGenerateControl);var n}}},27937(e,t,n){"use strict";n.d(t,{Ay:()=>A,Ks:()=>_,Zk:()=>m,eW:()=>k,gm:()=>y});var r=n(13022),o=n(87761),i=n(19623),s=n(18335),a=n(59798),l=n(17868),c=n(91772),u=n(25552),d=n(83393),f=n(26068),p=n(28656),h=n(19990),g=n(93236),m="background",v={backgroundSize:"cover",backgroundPosition:"50% 50%"};function b(e,t="any"){const n=(0,o.bI)(e,m);return!0===n||("any"===t?!!(n?.backgroundImage||n?.backgroundSize||n?.backgroundRepeat||n?.gradient):!!n?.[t])}function y(e){if(!e||!e?.backgroundImage?.url)return;let t;return e?.backgroundSize||(t={backgroundSize:v.backgroundSize}),"contain"!==e?.backgroundSize||e?.backgroundPosition||(t={backgroundPosition:v.backgroundPosition}),t}function k(e){return(0,f.hasBackgroundImageValue)(e)||(0,f.hasBackgroundGradientValue)(e)?"has-background":""}function x(e){const t=e.className?.includes("has-background")?e.className.split(" ").filter(e=>"has-background"!==e).join(" ")||void 0:e.className;return{...e,className:t,backgroundColor:void 0,gradient:void 0,style:(0,l._U)({...e.style,background:void 0,color:{...e.style?.color,background:void 0,gradient:void 0}})}}function w({children:e}){return(0,g.jsx)(a.A,{group:"background",resetAllFilter:x,children:e})}function _({clientId:e,name:t,setAttributes:n,settings:a,asWrapper:y}){const k=(0,p.R1)(),{style:x,className:_,backgroundColor:A,gradient:S}=(0,i.A)(t=>{const{getBlockAttributes:n}=t(u.M),r=n(e);return{style:r?.style,className:r?.className,backgroundColor:r?.backgroundColor,gradient:r?.gradient}},[e]),{value:C}=(0,h.j)(t,_,k),E=b(t,"gradient")&&!!a?.background?.gradient,T=(0,o.bI)(t,"color"),I=T&&!1!==T.background,j=!!T?.gradients,B=!(0,p.DX)(k),N={...x,color:{...x?.color,background:A?"var:preset|color|"+A:x?.color?.background,gradient:!E&&S?"var:preset|gradient|"+S:x?.color?.gradient},...E&&{background:{...x?.background,gradient:S?"var:preset|gradient|"+S:x?.background?.gradient??x?.color?.gradient}}},M=B?(0,p.KE)(x,k):N,R=!M?.color?.gradient&&!M?.background?.gradient&&!!M?.color?.background&&(a?.color?.text||a?.color?.link)&&!1!==(0,o.bI)(t,["color","enableContrastChecker"]),O=(0,d.A)({clientId:e,name:t,enabled:!!R,messageOverride:(0,s.__)("This color combination has poor contrast. Consider increasing contrast between background and foreground.")});if(!(0,f.useHasBackgroundPanel)(a)||!b(t)&&!I&&!j)return null;const L={...a,background:{...a.background,backgroundSize:a?.background?.backgroundSize&&b(t,"backgroundSize")}},P=(0,o.bI)(t,[m,"__experimentalDefaultControls"]),D=(0,o.bI)(t,["color","__experimentalDefaultControls"]),z={...P,backgroundColor:D?.background,gradient:P?.gradient??D?.background},V=y||w;return(0,g.jsx)(f,{as:V,panelId:e,defaultValues:v,settings:L,onChange:e=>{if(B)return void n({style:(0,p.GU)(x,k,e)});const t=e?.color?.background,o=(0,c.U)(t,"color"),i=E?e?.background?.gradient:e?.color?.gradient,s=(0,c.U)(i,"gradient"),a=s?void 0:e?.color?.gradient,u={...e,color:{...e?.color,background:o?void 0:t,gradient:E?void 0:a}};E&&(u.background={...u.background,gradient:e?.background?.gradient});const d=E&&!!x?.color?.gradient,f={style:(0,l._U)(u),backgroundColor:o,gradient:E?void 0:s},h=!!s||!!i;d&&h?f.className=(0,r.A)(_,"has-background"):!h&&_?.includes("has-background")&&(f.className=_.split(" ").filter(e=>"has-background"!==e).join(" ")||void 0),n(f)},defaultControls:z,value:B?(0,p.KE)(x,k):N,contrastWarning:O,inheritedValue:C})}var A={useBlockProps:function({name:e,style:t}){if(!b(e)||!t?.background?.backgroundImage)return;const n=y(t?.background);return n?{style:{...n}}:void 0},attributeKeys:["style"],hasSupport:b}},57207(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(18335),o=n(87761),i=n(5674),s=n(46936),a=n(26068),l=n(19623),c=n(2376),u=n(27319),d=n(86322),f=n(60770),p=n(61924),h=n(59798),g=n(57611),m=n(25552),v=n(93236),b={edit:({name:e,metadata:t})=>{const n=(0,c.useContext)(g.A),{removeAllBlockBindings:b}=(0,f.A)(),y=(0,u.A)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}},{bindableAttributes:k,hasCompatibleFields:x}=(0,l.A)(t=>{const{__experimentalBlockBindingsSupportedAttributes:r}=t(m.M).getSettings(),{getAllBlockBindingsSources:i,getBlockBindingsSourceFieldsList:s}=(0,p.T)(t(o.M_));return{bindableAttributes:r?.[e],hasCompatibleFields:Object.values(i()).some(e=>s(e,n)?.length>0)}},[e,n]);if(!k||0===k.length)return null;const{bindings:w}=t||{};return void 0!==w||x?(0,v.jsx)(h.A,{group:"bindings",children:(0,v.jsxs)(a.ToolsPanel,{label:(0,r.__)("Attributes"),resetAll:()=>{b()},dropdownMenuProps:y,className:"block-editor-bindings__panel",children:[(0,v.jsx)(i.A,{isBordered:!0,isSeparated:!0,children:k.map(t=>(0,v.jsx)(d.A,{attribute:t,blockName:e,binding:w?.[t]},t))}),(0,v.jsx)(s.A,{as:"div",variant:"muted",children:(0,v.jsx)("p",{children:(0,r.__)("Attributes connected to custom fields or other dynamic data.")})})]})}):null},attributeKeys:["metadata"],hasSupport:e=>!["core/post-date","core/navigation-link","core/navigation-submenu"].includes(e)}},23631(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(18335),o=n(2376),i=n(16668),s=n(91892),a=n(87761),l=n(79027),c=n(19623),u=n(59798),d=n(25552),f=n(93236),p={};var h={edit:function({name:e,clientId:t,metadata:{ignoredHookedBlocks:n=[]}={}}){const h=(0,c.A)(e=>e(a.M_).getBlockTypes(),[]),g=(0,o.useMemo)(()=>h?.filter(({name:t,blockHooks:r})=>r&&e in r||n.includes(t)),[h,e,n]),m=(0,c.A)(n=>{const{getBlocks:r,getBlockRootClientId:o,getGlobalBlockCount:i}=n(d.M),s=o(t),a=g.reduce((n,o)=>{if(0===i(o.name))return n;const a=o?.blockHooks?.[e];let l;switch(a){case"before":case"after":l=r(s);break;case"first_child":case"last_child":l=r(t);break;case void 0:l=[...r(s),...r(t)]}const c=l?.find(e=>e.name===o.name);return c?{...n,[o.name]:c.clientId}:n},{});return Object.values(a).length>0?a:p},[g,e,t]),{getBlockIndex:v,getBlockCount:b,getBlockRootClientId:y}=(0,c.A)(d.M),{insertBlock:k,removeBlock:x}=(0,l.A)(d.M);if(!g.length)return null;const w=g.reduce((e,t)=>{const[n]=t.name.split("/");return e[n]||(e[n]=[]),e[n].push(t),e},{});return(0,f.jsx)(u.A,{children:(0,f.jsxs)(i.Ay,{className:"block-editor-hooks__block-hooks",title:(0,r.__)("Plugins"),initialOpen:!0,children:[(0,f.jsx)("p",{className:"block-editor-hooks__block-hooks-helptext",children:(0,r.__)("Manage the inclusion of blocks added automatically by plugins.")}),Object.keys(w).map(n=>(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)("h3",{children:n}),w[n].map(n=>{const r=n.name in m;return(0,f.jsx)(s.A,{checked:r,label:n.title,onChange:()=>{if(!r){const r=n.blockHooks[e];return void((e,n)=>{const r=v(t),o=b(t),i=y(t);switch(n){case"before":case"after":k(e,"after"===n?r+1:r,i,!1);break;case"first_child":case"last_child":k(e,"first_child"===n?0:o,t,!1);break;case void 0:k(e,r+1,i,!1)}})((0,a.Wv)(n.name),r)}x(m[n.name],!1)}},n.title)})]},n))]})})},attributeKeys:["metadata"],hasSupport:()=>!0}},97002(e,t,n){"use strict";var r=n(80471),o=n(87761);(0,r.U2)("blocks.registerBlockType","core/metadata/addLabelCallback",function(e){return e.__experimentalLabel||(0,o.pN)(e,"renaming",!0)&&(e.__experimentalLabel=(e,{context:t})=>{const{metadata:n}=e;if(("list-view"===t||"breadcrumb"===t)&&n?.name)return n.name}),e})},28656(e,t,n){"use strict";n.d(t,{$x:()=>c,DX:()=>p,GU:()=>m,KE:()=>g,Lw:()=>v,R1:()=>u,oj:()=>d,ol:()=>a,u2:()=>f});var r=n(2376),o=n(17868),i=n(69669),s="default",a={viewport:s,pseudo:s},l=(0,r.createContext)(a),c=l.Provider;function u(){return(0,r.useContext)(l)}function d(e){return!!e?.viewport&&e.viewport!==s}function f(e){return!!e?.pseudo&&e.pseudo!==s}function p(e){return!d(e)&&!f(e)}function h(e){return p(e)?[]:[e.viewport,e.pseudo].filter(e=>e&&e!==s)}function g(e,t){const n=h(t);return n.length?(0,i.K0)(e,n):e}function m(e,t,n){const r=h(t);return r.length?(0,o._U)((0,i.nv)(e,r,n)):(0,o._U)(n)}function v(e,t){return!t||p(e)?t:n=>{const r=g(n?.style,e)||{},o=t({style:r}),i=o&&"object"==typeof o&&!Array.isArray(o)&&Object.prototype.hasOwnProperty.call(o,"style")?o.style:o;return{style:m(n?.style,e,i)}}}},992(e,t,n){"use strict";n.d(t,{$3:()=>m,Ay:()=>y,Xu:()=>b});var r=n(87761),o=n(19623),i=n(2376),s=n(75046),a=n(14259),l=n(17868),c=n(25552),u=n(12634),d=n(61924),f=n(93236),{getVariationStyle:p}=(0,d.T)(a.j),h="is-style-";function g(e){return e?e.split(/\s+/).reduce((e,t)=>{if(t.startsWith(h)){const n=t.slice(9);"default"!==n&&e.push(n)}return e},[]):[]}function m(e,t=[]){const n=g(e);if(!n)return null;for(const e of n)if(t.some(t=>t.name===e))return e;return null}function v({override:e}){(0,l.AX)(e)}function b({config:e}){const{overrides:t}=(0,o.A)(e=>({overrides:(0,d.T)(e(c.M)).getStyleOverrides()}),[]),{getBlockName:n}=(0,o.A)(c.M),a=(0,i.useMemo)(()=>{if(!t?.length)return;const o=[],i=[];for(const[,a]of t)if(a?.variation&&a?.clientId&&!i.includes(a.clientId)){const t=n(a.clientId),l=e?.styles?.blocks?.[t]?.variations?.[a.variation];if(l){const n={settings:e?.settings,styles:{blocks:{[t]:{variations:{[`${a.variation}-${a.clientId}`]:l}}}}},c=(0,s.gm)((0,r.li)(),a.clientId),u=!1,d=!0,f=!0,p=!0,h=(0,s.yG)(n,c,u,d,f,p,{blockGap:!1,blockStyles:!0,layoutStyles:!1,marginReset:!1,presets:!1,rootPadding:!1,variationStyles:!0});o.push({id:`${a.variation}-${a.clientId}`,css:h,__unstableType:"variation",variation:a.variation,clientId:a.clientId}),i.push(a.clientId)}}return o},[e,t,n]);return a&&a.length?(0,f.jsx)(f.Fragment,{children:a.map(e=>(0,f.jsx)(v,{override:e},e.id))}):null}var y={hasSupport:()=>!0,attributeKeys:["className"],isMatch:({className:e})=>g(e).length>0,useBlockProps:function({name:e,className:t,clientId:n}){const{getBlockStyles:a}=(0,o.A)(r.M_),d=m(t,a(e)),f=`${h}${d}-${n}`,{settings:g,styles:v}=function(e,t,n){const{globalSettings:r,globalStyles:s}=(0,o.A)(e=>{const t=e(c.M).getSettings();return{globalSettings:t.__experimentalFeatures,globalStyles:t[u.Fr]}},[]);return(0,i.useMemo)(()=>{const o=p({settings:r,styles:s},e,t);return{settings:r,styles:{blocks:{[e]:{variations:{[`${t}-${n}`]:o}}}}}},[r,s,t,n,e])}(e,d,n),b=(0,i.useMemo)(()=>{if(!d)return;const e={settings:g,styles:v},t=(0,s.gm)((0,r.li)(),n);return(0,s.yG)(e,t,!1,!0,!0,!0,{blockGap:!1,blockStyles:!0,layoutStyles:!1,marginReset:!1,presets:!1,rootPadding:!1,variationStyles:!0})},[d,g,v,n]);return(0,l.AX)({id:`variation-${n}`,css:b,__unstableType:"variation",variation:d,clientId:n}),d?{className:f}:{}}}},32475(e,t,n){"use strict";n.d(t,{$0:()=>S,Ay:()=>T,J8:()=>b,lR:()=>v});var r=n(13022),o=n(87761),i=n(26068),s=n(2376),a=n(80471),l=n(19623),c=n(73291),u=n(59798),d=n(76550),f=n(17868),p=n(19990),h=n(25552),g=n(28656),m=n(93236),v="__experimentalBorder",b="shadow",y=(e,t,n)=>{let r;return e.some(e=>e.colors.some(e=>e[t]===n&&(r=e,!0))),r},k=({colors:e,namedColor:t,customColor:n})=>{if(t){const n=y(e,"slug",t);if(n)return n}if(!n)return{color:void 0};const r=y(e,"color",n);return r||{color:n}};function x(e){const t=/var:preset\|color\|(.+)/.exec(e);return t&&t[1]?t[1]:null}function w(e){if((0,i.hasSplitBorders)(e?.border))return{style:e,borderColor:void 0};const t=e?.border?.color,n=t?.startsWith("var:preset|color|")?t.substring(17):void 0,r={...e};return r.border={...r.border,color:n?void 0:t},{style:(0,f._U)(r),borderColor:n}}function _(e){return(0,i.hasSplitBorders)(e.style?.border)?e.style:{...e.style,border:{...e.style?.border,color:e.borderColor?"var:preset|color|"+e.borderColor:e.style?.border?.color}}}function A({label:e,children:t,resetAllFilter:n}){const r=(0,s.useCallback)(e=>{const t=_(e),r=n(t);return{...e,...w(r)}},[n]);return(0,m.jsx)(u.A,{group:"border",resetAllFilter:r,label:e,children:t})}function S({clientId:e,name:t,setAttributes:n,settings:r}){const a=(0,g.R1)(),c=(0,i.useHasBorderPanel)(r),{style:u,borderColor:d,className:f}=(0,l.A)(t=>{if(!c)return{};const{style:n,borderColor:r,className:o}=t(h.M).getBlockAttributes(e)||{};return{style:n,borderColor:r,className:o}},[e,c]),{value:y}=(0,p.j)(t,f,a),k=!(0,g.DX)(a),x=(0,s.useMemo)(()=>k?(0,g.KE)(u,a):_({style:u,borderColor:d}),[k,a,u,d]),S=k?e=>{n({style:(0,g.GU)(u,a,e)})}:e=>{n(w(e))};if(!c)return null;const C={...(0,o.bI)(t,[v,"__experimentalDefaultControls"]),...(0,o.bI)(t,[b,"__experimentalDefaultControls"])};return(0,m.jsx)(i.BorderPanel,{as:A,panelId:e,settings:r,value:x,onChange:S,defaultControls:C,inheritedValue:y})}function C(e,t="any"){const n=(0,o.bI)(e,v);return!0===n||("any"===t?!!(n?.color||n?.radius||n?.width||n?.style):!!n?.[t])}function E(e,t,n){if(!C(t,"color")||(0,f.t1)(t,v,"color"))return e;const o=function(e){const{borderColor:t,style:n}=e,o=(0,c.tQ)("border-color",t);return(0,r.A)({"has-border-color":t||n?.border?.color,[o]:!!o})}(n),i=(0,r.A)(e.className,o);return e.className=i||void 0,e}var T={useBlockProps:function({name:e,borderColor:t,style:n}){const{colors:r}=(0,d.A)();if(!C(e,"color")||(0,f.t1)(e,v,"color"))return{};const{color:o}=k({colors:r,namedColor:t}),{color:i}=k({colors:r,namedColor:x(n?.border?.top?.color)}),{color:s}=k({colors:r,namedColor:x(n?.border?.right?.color)}),{color:a}=k({colors:r,namedColor:x(n?.border?.bottom?.color)}),{color:l}=k({colors:r,namedColor:x(n?.border?.left?.color)}),c={borderTopColor:i||o,borderRightColor:s||o,borderBottomColor:a||o,borderLeftColor:l||o};return E({style:(0,f._U)(c)||{}},e,{borderColor:t,style:n})},addSaveProps:E,attributeKeys:["borderColor","style"],hasSupport:e=>C(e,"color")};(0,a.U2)("blocks.registerBlockType","core/border/addAttributes",function(e){return C(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})},72862(e,t,n){"use strict";n.d(t,{Ay:()=>y,yI:()=>f});var r=n(13022),o=n(80471),i=n(87761),s=n(2376),a=n(73291),l=n(27053),c=n(17868),u=n(27937),d=n(35453),f="color",p=e=>{const t=(0,i.bI)(e,f);return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},h=e=>{const t=(0,i.bI)(e,f);return null!==t&&"object"==typeof t&&!!t.link},g=e=>{const t=(0,i.bI)(e,f);return null!==t&&"object"==typeof t&&!!t.gradients},m=e=>{const t=(0,i.bI)(e,f);return t&&!1!==t.background},v=e=>{const t=(0,i.bI)(e,f);return t&&!1!==t.text};function b(e,t,n){if(!p(t)||(0,c.t1)(t,f))return e;const o=g(t),{backgroundColor:i,textColor:s,gradient:u,style:d}=n,h=e=>!(0,c.t1)(t,f,e),m=h("text")?(0,a.tQ)("color",s):void 0,v=h("gradients")?(0,l.tA)(u):void 0,b=h("background")?(0,a.tQ)("background-color",i):void 0,y=h("background")||h("gradients"),k=i||d?.color?.background||o&&(u||d?.color?.gradient),x=(0,r.A)(e.className,m,v,{[b]:!(o&&d?.color?.gradient||!b),"has-text-color":h("text")&&(s||d?.color?.text),"has-background":y&&k,"has-link-color":h("link")&&d?.elements?.link?.color});return e.className=x||void 0,e}var y={useBlockProps:function({name:e,backgroundColor:t,textColor:n,gradient:o,style:i}){const[l,h,g]=(0,d.t)("color.palette.custom","color.palette.theme","color.palette.default"),m=(0,s.useMemo)(()=>[...l||[],...h||[],...g||[]],[l,h,g]);if(!p(e)||(0,c.t1)(e,f))return{};const v={};n&&!(0,c.t1)(e,f,"text")&&(v.color=(0,a.MK)(m,n)?.color),t&&!(0,c.t1)(e,f,"background")&&(v.backgroundColor=(0,a.MK)(m,t)?.color);const y=b({style:v},e,{textColor:n,backgroundColor:t,gradient:o,style:i}),k=t||i?.color?.background||o||i?.color?.gradient;return{...y,className:(0,r.A)(y.className,!k&&(0,u.eW)(i))}},addSaveProps:b,attributeKeys:["backgroundColor","textColor","gradient","style"],hasSupport:p},k={linkColor:[["style","elements","link","color","text"]],textColor:[["textColor"],["style","color","text"]],backgroundColor:[["backgroundColor"],["style","color","background"]],gradient:[["gradient"],["style","color","gradient"]]};(0,o.U2)("blocks.registerBlockType","core/color/addAttribute",function(e){return p(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),g(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e}),(0,o.U2)("blocks.switchToBlockType.transformedBlock","core/color/addTransforms",function(e,t,n,r){const o=e.name,i={linkColor:h(o),textColor:v(o),backgroundColor:m(o),gradient:g(o)};return(0,c.RI)(i,k,e,t,n,r)})},27379(e,t,n){"use strict";var r=n(87761);(0,n(80471).U2)("blocks.registerBlockType","core/compat/migrateLightBlockWrapper",function(e){const{apiVersion:t=1}=e;return t<2&&(0,r.pN)(e,"lightBlockWrapper",!1)&&(e.apiVersion=2),e})},83393(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(2376),o=n(19623),i=n(87761),s=n(7336),a=n(36331),l=n(94800),c=n(95691);function u(e,t){return e.ownerDocument.defaultView.getComputedStyle(e).getPropertyValue(t)}function d(e,t){if(!e||!t)return{};const n=(0,s.$)(t,"color.text",{fallback:!0}),r=(0,s.$)(t,"color.background",{fallback:!0}),o=e.querySelector(n)||e,i=e.querySelector(r)||e,a=e.querySelector("a"),l=u(o,"color"),c=a&&a.textContent?u(a,"color"):void 0;let d=i,f=u(d,"background-color");for(;"rgba(0, 0, 0, 0)"===f&&d.parentNode&&d.parentNode.nodeType===d.parentNode.ELEMENT_NODE;)d=d.parentNode,f=u(d,"background-color");return{textColor:l,backgroundColor:f,linkColor:c}}function f(e,t){return Object.keys(t).some(n=>e[n]!==t[n])?t:e}function p({clientId:e,name:t,enabled:n=!0,checkTextColor:s=!0,checkLinkColor:u=!0,messageOverride:p}){const h=(0,c.dN)(e),[g,m]=(0,r.useReducer)(f,{}),v=(0,o.A)(e=>t&&n?e(i.M_).getBlockType(t):void 0,[t,n]);(0,r.useLayoutEffect)(()=>{n&&h&&v&&window.requestAnimationFrame(()=>window.requestAnimationFrame(()=>m(d(h,v))))}),(0,r.useLayoutEffect)(()=>{if(!n||!h||!v)return;const e=new window.MutationObserver(()=>{m(d(h,v))});return e.observe(h,{attributes:!0,attributeFilter:["class","style"],subtree:!0}),()=>{e.disconnect()}},[n,h,v]);const b=n?(0,l.v)({backgroundColor:g.backgroundColor,textColor:s?g.textColor:void 0,linkColor:u?g.linkColor:void 0,messageOverride:p,enableAlphaChecker:!0}):null,y=b?.speakMessage;return(0,r.useEffect)(()=>{y&&(0,a.L)(y)},[y]),b?.message}},56141(){"use strict";function e(e){e.hasAttribute("crossorigin")||e.setAttribute("crossorigin","anonymous")}if(window.crossOriginIsolated){let t=function(){document.body?n.observe(document.body,{childList:!0,attributes:!0,subtree:!0}):"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",()=>{document.body&&n.observe(document.body,{childList:!0,attributes:!0,subtree:!0})})};0;const n=new window.MutationObserver(t=>{t.forEach(t=>{[t.addedNodes,t.target].forEach(t=>{(t instanceof window.NodeList?t:[t]).forEach(t=>{const n=t;n.querySelectorAll&&(n.querySelectorAll("source,script,video,link").forEach(t=>{e(t)}),["SOURCE","SCRIPT","VIDEO","LINK"].includes(n.nodeName)&&e(n))})})})});t()}},82045(e,t,n){"use strict";n.d(t,{Ay:()=>d});var r=n(13022),o=n(80471),i=n(13533),s=n(18335),a=n(87761),l=n(59798),c=n(90376),u=n(93236);var d={edit:function({className:e,setAttributes:t}){return"default"!==(0,c.w)()?null:(0,u.jsx)(l.A,{group:"advanced",children:(0,u.jsx)(i.A,{autoComplete:"off",label:(0,s.__)("Additional CSS class(es)"),value:e||"",onChange:e=>{t({className:""!==e?e:void 0})},help:(0,s.__)("Separate multiple classes with spaces.")})})},addSaveProps:function(e,t,n){(0,a.pN)(t,"customClassName",!0)&&n.className&&(e.className=(0,r.A)(e.className,n.className));return e},attributeKeys:["className"],hasSupport:e=>(0,a.pN)(e,"customClassName",!0)};(0,o.U2)("blocks.registerBlockType","core/editor/custom-class-name/attribute",function(e){return(0,a.pN)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e}),(0,o.U2)("blocks.switchToBlockType.transformedBlock","core/customClassName/addTransforms",function(e,t,n,r){if(!(0,a.pN)(e.name,"customClassName",!0))return e;if(1===r.length&&e.innerBlocks.length===t.length)return e;if(1===r.length&&t.length>1||r.length>1&&1===t.length)return e;if(t[n]){const r=t[n]?.attributes.className;if(r&&void 0===e.attributes.className)return{...e,attributes:{...e.attributes,className:r}}}return e})},52010(e,t,n){"use strict";n.d(t,{A:()=>k});var r=n(2376),o=n(79027),i=n(19623),s=n(41740),a=n(87761),l=n(18335),c=n(75046),u=n(18124),d=n(90376),f=n(59798),p=n(26068),h=n(17868),g=n(25552),m=n(93236),v={},b={};function y({blockName:e,setAttributes:t,style:n}){if("default"!==(0,d.w)())return null;const r=(0,a.E7)(e);const o=(0,l.nv)(
205 // translators: %s: is the name of a block e.g., 'Image' or 'Quote'.
206 // translators: %s: is the name of a block e.g., 'Image' or 'Quote'.
207 (0,l.__)("Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value, e.g. color: red;."),r?.title);return(0,m.jsx)(f.A,{group:"advanced",children:(0,m.jsx)(p,{value:n,onChange:function(e){const n=e?.css?.trim()?e.css:void 0;t({style:(0,h._U)({...e,css:n})})},inheritedValue:n,help:o})})}var k={edit:function({clientId:e,name:t,setAttributes:n}){const{style:r,canEditCSS:o}=(0,i.A)(t=>{const{getBlockAttributes:n,getSettings:r}=t(g.M);return{style:n(e)?.style||b,canEditCSS:r().canEditCSS}},[e]);return o?(0,m.jsx)(y,{blockName:t,setAttributes:n,style:r}):null},useBlockProps:function({style:e,clientId:t}){const n=e?.css,a="string"==typeof n&&n.trim().length>0&&(0,p.validateCSS)(n),d=(0,i.A)(e=>e(g.M).getSettings().canEditCSS,[]),{createWarningNotice:f}=(0,o.A)(u.M),m=!!n?.trim();(0,r.useEffect)(()=>{!d&&m&&f((0,l.__)("This post contains blocks with custom CSS. You do not have permission to edit CSS. If you save this post, the custom CSS will be removed."),{id:"custom-css-edit-warning",isDismissible:!0})},[d,m,f]);const b=(0,s.A)(v,"wp-custom-css"),y=`.${b}`,k=(0,r.useMemo)(()=>{if(a)return(0,c.BO)(n,y)},[n,y,a]);return(0,h.AX)({css:k,clientId:t,__unstableType:"custom-css"}),a?{className:`has-custom-css ${b}`}:{}},addSaveProps:function(e,t,n){if(!(0,a.pN)(t,"customCSS",!0))return e;if(!n?.style?.css?.trim())return e;const r=e.className?`${e.className} has-custom-css`:"has-custom-css";return{...e,className:r}},attributeKeys:["style"],hasSupport:e=>(0,a.pN)(e,"customCSS",!0)}},58262(e,t,n){"use strict";n.d(t,{Ay:()=>A,I3:()=>b,W3:()=>x,mG:()=>_,qn:()=>y});var r=n(13022),o=n(2376),i=n(79027),s=n(19623),a=n(87761),l=n(59798),c=n(26068),u=n(19990),d=n(31313),f=n(25552),p=n(61924),h=n(17868),g=n(28656),m=n(27443),v=n(93236),b="dimensions",y="spacing";function k({children:e,resetAllFilter:t}){const n=(0,o.useCallback)(e=>{const n=e.style,r=t(n);return{...e,style:r}},[t]);return(0,v.jsx)(l.A,{group:"dimensions",resetAllFilter:n,children:e})}function x({clientId:e,name:t,setAttributes:n,settings:r}){const l=(0,g.R1)(),x=!(0,g.DX)(l),w=(0,c.useHasDimensionsPanel)(r,l),{style:_,className:A,layout:S}=(0,s.A)(t=>{if(!w)return{};const n=t(f.M).getBlockAttributes(e)||{};return{style:n.style,className:n.className,layout:n.layout}},[e,w]),{value:C}=(0,u.j)(t,A,l),[E,T]=function(){const[e,t]=(0,o.useState)(!1),{hideBlockInterface:n,showBlockInterface:r}=(0,p.T)((0,i.A)(f.M));return(0,o.useEffect)(()=>{e?n():r()},[e,r,n]),[e,t]}(),I=x?(0,g.KE)(_,l):_,j=x?e=>{n({style:(0,g.GU)(_,l,e)})}:e=>{n({style:(0,h._U)(e)})};if(!w)return null;const B=(0,a.bI)(t,[b,"__experimentalDefaultControls"]),N=(0,a.bI)(t,[y,"__experimentalDefaultControls"]),{default:M}=(0,a.bI)(t,"layout")||{},R={minHeight:!1,minWidth:!1,...B,...N};return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.DimensionsPanel,{as:k,panelId:e,settings:r,allowAxialBlockGap:(0,m.vm)(S,M),value:I,onChange:j,defaultControls:R,styleState:l,onVisualize:x?void 0:T,inheritedValue:C}),!x&&!!r?.spacing?.padding&&"padding"===E&&(0,v.jsx)(d.i,{forceShow:"padding"===E,clientId:e,value:I}),!x&&!!r?.spacing?.margin&&"margin"===E&&(0,v.jsx)(d.Z,{forceShow:"margin"===E,clientId:e,value:I})]})}function w(e,t="any"){const n=(0,a.bI)(e,b);return!0===n||("any"===t?!!(n?.aspectRatio||n?.height||n?.minHeight||n?.width||n?.minWidth):!!n?.[t])}function _(e){return!!e&&"auto"!==`${e}`.trim().toLowerCase()}var A={useBlockProps:function({name:e,height:t,minHeight:n,style:o}){if(!w(e,"aspectRatio")||(0,h.t1)(e,b,"aspectRatio"))return{};const i=_(o?.dimensions?.aspectRatio),s=(0,r.A)({"has-aspect-ratio":i}),a={};i?(a.minHeight="unset",a.height="unset"):(n||o?.dimensions?.minHeight||t||o?.dimensions?.height)&&(a.aspectRatio="unset");return{className:s,style:a}},attributeKeys:["height","minHeight","width","style"],hasSupport:e=>w(e)}},27135(e,t,n){"use strict";n.d(t,{Ay:()=>N});var r=n(63270),o=n(93295),i=n(87761),s=n(41740),a=n(80471),l=n(2376),c=n(19623),u=n(7336),d=n(14259),f=n(65562),p=n(13034),h=n(59798),g=n(35453),m=n(61973),v=n(17868),b=n(61924),y=n(26068),k=n(19990),x=n(90376),w=n(95691),_=n(25552),A=n(93236),{getDuotoneFilter:S,getDuotoneStylesheet:C,getDuotoneUnsetStylesheet:E}=(0,b.T)(d.j),T=[],I=window?.navigator.userAgent&&window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome")&&!window.navigator.userAgent.includes("Chromium");function j({presetSetting:e,defaultSetting:t}){const[n,r,o,i]=(0,g.t)(t,`${e}.custom`,`${e}.theme`,`${e}.default`);return(0,l.useMemo)(()=>[...r||T,...o||T,...n&&i||T],[n,r,o,i])}function B(e,t){if(!e)return;const n=t?.find(({slug:t})=>e===`var:preset|duotone|${t}`);return n?n.colors:void 0}(0,r.X$)([o.A]);var N={shareWithChildBlocks:!0,edit:function({style:e,setAttributes:t,name:n,clientId:r}){const o=e?.color?.duotone,i=(0,v.G)(n),s=(0,x.w)(),a=(0,c.A)(e=>r?e(_.M).getBlockAttributes(r)?.className:void 0,[r]),{value:l}=(0,k.j)(n,a),u=j({presetSetting:"color.duotone",defaultSetting:"color.defaultDuotone"}),d=j({presetSetting:"color.palette",defaultSetting:"color.defaultPalette"}),[b,w]=(0,g.t)("color.custom","color.customDuotone"),S=!b,C=!w||0===d?.length&&S;if(0===u?.length&&C)return null;if("default"!==s)return null;const E="unset"===o||Array.isArray(o)?o:B(o,u);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(h.A,{group:"filter",children:(0,A.jsx)(y,{value:{filter:{duotone:o}},onChange:n=>{const r={...e,color:{...n?.filter}};t({style:(0,v._U)(r)})},settings:i,inheritedValue:l})}),(0,A.jsx)(f.A,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,A.jsx)(p.A,{duotonePalette:u,colorPalette:d,disableCustomDuotone:C,disableCustomColors:S,value:E,selectedSlug:(0,m.T9)(o),onChange:(n,r,o)=>{const i=o?`var:preset|duotone|${o}`:function(e,t){if(!e||!Array.isArray(e))return;const n=t?.find(t=>t?.colors?.every((t,n)=>t===e[n]));return n?`var:preset|duotone|${n.slug}`:void 0}(n,u),s={...e,color:{...e?.color,duotone:i??n}};t({style:(0,v._U)(s)})},settings:i})})]})},useBlockProps:function({clientId:e,name:t,style:n}){const r=(0,s.A)(R),o=(0,l.useMemo)(()=>{const e=(0,i.E7)(t);if(e){if(!(0,i.bI)(e,"filter.duotone",!1))return null;const t=(0,i.bI)(e,"color.__experimentalDuotone",!1);if(t){const n=(0,u.$)(e);return"string"==typeof t?(0,m.q1)(n,t):n}return(0,u.$)(e,"filter.duotone",{fallback:!0})}},[t]),a=n?.color?.duotone,c=`wp-duotone-${r}`,d=o&&a;return M({clientId:e,id:c,selector:o,attribute:a}),{className:d?c:""}},attributeKeys:["style"],hasSupport:e=>(0,i.pN)(e,"filter.duotone")};function M({clientId:e,id:t,selector:n,attribute:r}){const o=j({presetSetting:"color.duotone",defaultSetting:"color.defaultDuotone"}),i=Array.isArray(r),s=i?void 0:B(r,o),a="string"==typeof r&&s;let c=null;a?c=s:("string"==typeof r&&!a||i)&&(c=r);const u=n.split(",").map(e=>`.${t}${e.trim()}`).join(", "),d=Array.isArray(c)||"unset"===c;(0,v.AX)(d?{css:"unset"!==c?C(u,t):E(u),__unstableType:"presets"}:void 0),(0,v.AX)(d?{assets:"unset"!==c?S(t,c):"",__unstableType:"svgs"}:void 0);const f=(0,w.dN)(e);(0,l.useEffect)(()=>{if(d&&f&&I){const e=f.style.display;f.style.setProperty("display","inline-block"),f.offsetHeight,f.style.setProperty("display",e)}},[d,f,c])}var R={};(0,a.U2)("blocks.registerBlockType","core/editor/duotone/add-attributes",function(e){return(0,i.pN)(e,"filter.duotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})},2522(e,t,n){"use strict";n.d(t,{s:()=>v});var r=n(87761),o=n(2376),i=n(19623),s=n(18335),a=n(59798),l=n(26068),c=n(19990),u=n(17868),d=n(25552),f=n(72862),p=n(83393),h=n(28656),g=n(93236);function m({children:e,resetAllFilter:t}){const n=(0,o.useCallback)(e=>{const n=t(e.style);return{...e,style:(0,u._U)(n)}},[t]);return(0,g.jsx)(a.A,{group:"elements",resetAllFilter:n,children:e})}function v({clientId:e,name:t,setAttributes:n,settings:a,asWrapper:v,label:b,defaultControls:y}){const k=(0,h.R1)(),x=(0,l.useHasColorPanel)(a),{style:w,className:_}=(0,i.A)(t=>{if(!x)return{};const n=t(d.M).getBlockAttributes(e);return{style:n?.style,className:n?.className}},[e,x]),{value:A}=(0,c.j)(t,_,k),S=!(0,h.DX)(k),C=(0,o.useMemo)(()=>S?(0,h.KE)(w,k):w,[S,k,w]),E=S?e=>{n({style:(0,h.GU)(w,k,e)})}:e=>{n({style:(0,u._U)(e)})},T=!!C?.elements?.link?.color?.text&&a?.color?.link&&!1!==(0,r.bI)(t,[f.yI,"enableContrastChecker"]),I=(0,p.A)({clientId:e,name:t,enabled:!!T,checkTextColor:!1,messageOverride:(0,s.__)("This link color has poor contrast against the background. Consider increasing contrast.")});if(!x)return null;y=y||(0,r.bI)(t,[f.yI,"__experimentalDefaultControls"]);const j=v||m;return(0,g.jsx)(l,{as:j,panelId:e,settings:a,value:C,onChange:E,defaultControls:y,label:b,contrastWarning:I,inheritedValue:A})}},38178(e,t,n){"use strict";n.d(t,{Ay:()=>_,ef:()=>y});var r=n(80471),o=n(87761),i=n(2376),s=n(19623),a=n(18335),l=n(91892),c=n(26068),u=n(94081),d=n(45627),f=n(25552),p=n(95691),h=n(59798),g=n(22490),m=n(61924),v=n(93236),b={},y="typography.fitText";function k({clientId:e,fitText:t=!1,setAttributes:n,name:r,fontSize:i,style:u}){const d=(0,s.A)(t=>{const{hasSelectedStyleState:n}=(0,m.T)(t(f.M));return n(e)},[e]);return(0,o.pN)(r,y)?d?null:(0,v.jsx)(c.ToolsPanelItem,{hasValue:()=>t,label:(0,a.__)("Fit text"),onDeselect:()=>n({fitText:void 0}),resetAllFilter:()=>({fitText:void 0}),panelId:e,children:(0,v.jsx)(l.A,{label:(0,a.__)("Fit text"),checked:t,onChange:()=>{const e=!t||void 0,r={fitText:e};e&&(i&&(r.fontSize=void 0),u?.typography?.fontSize&&(r.style={...u,typography:{...u?.typography,fontSize:void 0}})),n(r)},help:t?(0,a.__)("Text will resize to fit its container."):(0,a.__)("The text will resize to fit its container, resetting other font size settings.")})}):null}(0,r.U2)("blocks.registerBlockType","core/fit-text/addAttribute",function(e){return(0,o.pN)(e,y)?e.attributes?.fitText?e:{...e,attributes:{...e.attributes,fitText:{type:"boolean"}}}:e});function x({fitText:e,name:t,clientId:n,isSelected:r}){const{fontSize:a}=function({fitText:e,name:t,clientId:n}){const[r,a]=(0,i.useState)(null),l=(0,o.pN)(t,y),c=(0,p.dN)(n),{blockAttributes:u,parentId:h,blockMode:g}=(0,s.A)(t=>{if(!n||!l||!e)return b;const r=t(f.M).getBlockMode(n);return"html"===r?{blockMode:r}:{blockAttributes:t(f.M).getBlockAttributes(n),parentId:t(f.M).getBlockRootClientId(n),blockMode:r}},[n,l,e]),m=(0,i.useCallback)(()=>{if(!c||!l||!e)return;const t=`fit-text-${n}`;let r=c.ownerDocument.getElementById(t);r||(r=c.ownerDocument.createElement("style"),r.id=t,c.ownerDocument.head.appendChild(r));const o=`#block-${n}`,i=(0,d.m)(c,e=>{r.textContent=0===e?"":`${o} { font-size: ${e}px !important; }`});a(i)},[c,n,l,e]);return(0,i.useEffect)(()=>{if(!(e&&c&&n&&l&&"html"!==g))return;const t=c,r=t.style.visibility;let o,i=null,s=null,a=null;return i=window.requestAnimationFrame(()=>{t.style.visibility="hidden",s=window.requestAnimationFrame(()=>{m(),a=setTimeout(()=>{t.style.visibility=r},10)})}),window.ResizeObserver&&t.parentElement&&(o=new window.ResizeObserver(m),o.observe(t.parentElement),o.observe(t)),()=>{null!==i&&window.cancelAnimationFrame(i),null!==s&&window.cancelAnimationFrame(s),null!==a&&clearTimeout(a),o&&o.disconnect();const e=`fit-text-${n}`,r=t.ownerDocument.getElementById(e);r&&r.remove()}},[e,n,h,m,c,l,g]),(0,i.useEffect)(()=>{if(e&&c&&l&&"html"!==g){const e=window.requestAnimationFrame(()=>{c&&m()});return()=>window.cancelAnimationFrame(e)}},[u,e,m,c,l,g]),{fontSize:r}}({fitText:e,name:t,clientId:n});return r&&a&&a<12?(0,v.jsx)(h.A,{group:"typography",children:(0,v.jsx)(g.A,{})}):null}var w=(0,u.f)(e=>function(t){const{name:n,attributes:r,clientId:i,isSelected:s,setAttributes:a}=t,{fitText:l}=r;return(0,o.pN)(n,y)?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(e,{...t}),(0,v.jsx)(h.A,{group:"typography",children:(0,v.jsx)(k,{clientId:i,fitText:l,setAttributes:a,name:n,fontSize:r.fontSize,style:r.style})}),l&&(0,v.jsx)(x,{fitText:l,name:n,clientId:i,isSelected:s})]}):(0,v.jsx)(e,{...t})},"addFitTextControl");(0,r.U2)("editor.BlockEdit","core/fit-text/add-fit-text-control",w);var _={useBlockProps:function({name:e,fitText:t}){return t&&(0,o.pN)(e,y)?{className:"has-fit-text"}:{}},addSaveProps:function(e,t,n){if(!(0,o.pN)(t,y))return e;const{fitText:r}=n;if(!r)return e;const i=e.className?`${e.className} has-fit-text`:"has-fit-text";return{...e,className:i}},attributeKeys:["fitText","fontSize","style"],hasSupport:e=>(0,o.pN)(e,y),edit:()=>null}},7667(e,t,n){"use strict";n.d(t,{Ay:()=>d,nn:()=>c});var r=n(80471),o=n(87761),i=n(77831),s=n(21123),a=n(17868),l=n(77994),c="typography.__experimentalFontFamily";function u(e,t,n){if(!(0,o.pN)(t,c))return e;if((0,a.t1)(t,l.SU,"fontFamily"))return e;if(!n?.fontFamily)return e;const r=new i.A(e.className);r.add(`has-${(0,s.k)(n?.fontFamily)}-font-family`);const u=r.value;return e.className=u||void 0,e}var d={useBlockProps:function({name:e,fontFamily:t}){return u({},e,{fontFamily:t})},addSaveProps:u,attributeKeys:["fontFamily"],hasSupport:e=>(0,o.pN)(e,c)};(0,r.U2)("blocks.registerBlockType","core/fontFamily/addAttribute",function(e){return(0,o.pN)(e,c)?(e.attributes.fontFamily||Object.assign(e.attributes,{fontFamily:{type:"string"}}),e):e})},92300(e,t,n){"use strict";n.d(t,{Ay:()=>p,WK:()=>d});var r=n(80471),o=n(87761),i=n(77831),s=n(7731),a=n(64137),l=n(77994),c=n(17868),u=n(35453),d=(n(93236),"typography.fontSize");function f(e,t,n){if(!(0,o.pN)(t,d))return e;if((0,c.t1)(t,l.SU,"fontSize"))return e;const r=new i.A(e.className);r.add((0,a.t4)(n.fontSize));const s=r.value;return e.className=s||void 0,e}var p={useBlockProps:function({name:e,fontSize:t,style:n}){const[r,i,p]=(0,u.t)("typography.fontSizes","typography.fluid","layout");if(!(0,o.pN)(e,d)||(0,c.t1)(e,l.SU,"fontSize")||!t&&!n?.typography?.fontSize)return;let h;return n?.typography?.fontSize&&(h={style:{fontSize:(0,s.j)({size:n.typography.fontSize},{typography:{fluid:i},layout:p})}}),t&&(h={style:{fontSize:(0,a.ny)(r,t,n?.typography?.fontSize).size}}),h?f(h,e,{fontSize:t}):void 0},addSaveProps:f,attributeKeys:["fontSize","style"],hasSupport:e=>(0,o.pN)(e,d)},h={fontSize:[["fontSize"],["style","typography","fontSize"]]};(0,r.U2)("blocks.registerBlockType","core/font/addAttribute",function(e){return(0,o.pN)(e,d)?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e}),(0,r.U2)("blocks.switchToBlockType.transformedBlock","core/font-size/addTransforms",function(e,t,n,r){const i=e.name,s={fontSize:(0,o.pN)(i,d)};return(0,c.RI)(s,h,e,t,n,r)})},27443(e,t,n){"use strict";n.d(t,{$h:()=>i,vm:()=>o});var r=n(49875);function o(e,t){const n=e?.inherit||e?.contentSize||e?.wideSize?{...e,type:"constrained"}:e||t||{};return["flex","grid"].includes(n?.type)}function i(e,t="0"){const n=function(e){if(!e)return null;const t="string"==typeof e;return{top:t?e:e?.top,left:t?e:e?.left}}(e);if(!n)return null;const o=(0,r.Xm)(n?.top)||t,i=(0,r.Xm)(n?.left)||t;return o===i?o:`${o} ${i}`}},50071(e,t,n){"use strict";function r(e){const t=[],n=[];return Object.entries(e).forEach(([e,r])=>{if(!r.autoGenerateControl)return;const o=function(e,t){const n=t.type,r={id:e,label:t.label||e,type:"string"===n?"text":n};t.enum&&Array.isArray(t.enum)&&(r.elements=t.enum.map(e=>({value:e,label:String(e)})));return r}(e,r);o&&(t.push(o),n.push(e))}),{fields:t,form:{fields:n}}}n.d(t,{O:()=>r})},16481(e,t,n){"use strict";var r=n(80471),o=n(87761);(0,r.U2)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return(0,o.pN)(t,"className",!0)&&("string"==typeof e.className?e.className=[...new Set([(0,o.KW)(t.name),...e.className.split(" ")])].join(" ").trim():e.className=(0,o.KW)(t.name)),e})},54126(e,t,n){"use strict";var r=n(94081),o=n(80471),i=n(19623),s=n(26068),a=n(25552),l=n(61924),c=n(95691),u=n(56922),d=n(12634),f=n(30843),p=n(93236);function h(e){(0,s.useGridLayoutSync)(e)}function g({clientId:e,layout:t}){const{isVisible:n,blockVisibility:r,deviceType:o,viewportSettings:g}=(0,i.A)(t=>{const{isBlockSelected:n,hasSelectedInnerBlock:r,isDraggingBlocks:o,getTemplateLock:i,getBlockEditingMode:s,getBlockAttributes:l,getSettings:c}=t(a.M);if(!o()&&!n(e)||i(e)||"default"!==s(e)||r(e))return{isVisible:!1};const u=l(e),p=c(),h=p?.[d.O9]?.toLowerCase()||f.B.desktop.key;return{isVisible:!0,blockVisibility:u?.metadata?.blockVisibility,deviceType:h,viewportSettings:p?.__experimentalFeatures?.viewport}},[e]),m=(0,c.dN)(e),v=m?.ownerDocument?.defaultView,b=null===v?void 0:v,{isBlockCurrentlyHidden:y,currentViewport:k}=(0,u.A)({blockVisibility:r,deviceType:o,view:b,viewportSettings:g}),x=(0,i.A)(t=>{if(!n)return!1;const{isBlockParentHiddenAtViewport:r}=(0,l.T)(t(a.M));return r(e,k)},[e,k,n]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(h,{clientId:e}),n&&!y&&!x&&(0,p.jsx)(s.GridVisualizer,{clientId:e,parentLayout:t})]})}var m=(0,r.f)(e=>function(t){return"grid"!==t.attributes.layout?.type?(0,p.jsx)(e,{...t},"edit"):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(g,{clientId:t.clientId,layout:t.attributes.layout}),(0,p.jsx)(e,{...t},"edit")]})},"addGridVisualizerToBlockEdit");(0,o.U2)("editor.BlockEdit","core/editor/grid-visualizer",m)},10183(e,t,n){"use strict";n.d(t,{I$:()=>w.I$,Xu:()=>x.Xu,gm:()=>i.gm,lG:()=>T.l,o:()=>w.o});var r=n(17868),o=(n(27379),n(56141),n(44876)),i=n(27937),s=(n(95064),n(91906)),a=n(69858),l=n(5259),c=n(82045),u=(n(16481),n(14484)),d=(n(79406),n(72862)),f=n(58262),p=n(27135),h=n(7667),g=n(92300),m=n(33528),v=n(38178),b=n(32475),y=n(52010),k=n(79936),x=n(992),w=n(2787),_=n(40482),A=(n(42006),n(23631)),S=n(57207),C=n(37505),E=(n(97002),n(54126),n(72147)),T=(n(2349),n(36916),n(28366),n(78173),n(30023),n(82361),n(27443),n(28218),n(19649));(0,r.WO)([o.Ay,m.Ay,a.Ay,c.Ay,u.Ay,y.A,p.Ay,v.Ay,k.Ay,w.Ay,A.A,S.A,_.Ay,s.Ay,C.Ay,E.A].filter(Boolean)),(0,r.r5)([o.Ay,m.Ay,i.Ay,u.Ay,d.Ay,f.Ay,p.Ay,h.Ay,g.Ay,v.Ay,b.Ay,y.A,k.Ay,x.Ay,_.Ay]),(0,r.Vo)([o.Ay,m.Ay,a.Ay,l.Ay,c.Ay,b.Ay,y.A,v.Ay,d.Ay,u.Ay,h.Ay,g.Ay])},40482(e,t,n){"use strict";n.d(t,{Ay:()=>B});var r=n(41740),o=n(19623),i=n(2376),s=n(14259),a=n(25552),l=n(61924),c=n(17868),u=n(59402),d=n(26068),f=n(95691),p=n(56922),h=n(12634),g=n(30843),m=n(28656),v=n(93236),{getResponsiveMediaQueries:b}=(0,l.T)(s.j),y={},k="fit",x="fill",w="fixedNoShrink",_=["fixed",w];function A(e){return _.includes(e)}function S({selector:e,declarations:t}){return`${e} {\n\t\t${Object.entries(t).map(([e,t])=>`${e}: ${t}`).join("; ")};\n\t}`}function C({selector:e,layout:t={},viewportOverrides:n,parentLayout:r={},includeContainerQuery:o=!0}){const i=void 0!==n,s=i?{...t,...n}:t,a=e=>Object.hasOwn(n||{},e),{selfStretch:l,flexSize:c,columnStart:u,rowStart:d,columnSpan:f,rowSpan:p}=s,h=t.selfStretch,{columnCount:g,minimumColumnWidth:m}=r,v=[],b={};if((!i||a("selfStretch")||a("flexSize"))&&(i&&(l===k||l===x)&&A(h)&&t.flexSize&&(b["flex-basis"]="unset",h===w&&(b["flex-shrink"]="unset")),A(l)&&c?(b["flex-basis"]=c,l===w?b["flex-shrink"]="0":i&&h===w&&(b["flex-shrink"]="unset"),b["box-sizing"]="border-box"):l===x&&(b["flex-grow"]="1")),(!i||a("columnStart")||a("columnSpan"))&&(u&&f?b["grid-column"]=`${u} / span ${f}`:u?b["grid-column"]=`${u}`:f&&(b["grid-column"]=`span ${f}`)),(!i||a("rowStart")||a("rowSpan"))&&(d&&p?b["grid-row"]=`${d} / span ${p}`:d?b["grid-row"]=`${d}`:p&&(b["grid-row"]=`span ${p}`)),Object.keys(b).length&&v.push({selector:e,declarations:b}),o&&!i&&(f||u)&&(m||!g)){let t=parseFloat(m);isNaN(t)&&(t=12);let n=m?.replace(t,"");["px","rem","em"].includes(n)||(n="rem");let r=2;r=f&&u?f+u-1:f||u;const o="px"===n?24:1.5,i=r*t+(r-1)*o,s=2*t+o-1,a=f&&f>1?"1/-1":"auto";v.push({rulesGroup:`@container (max-width: ${Math.max(i,s)}${n})`,selector:e,declarations:{"grid-column":a,"grid-row":"auto"}})}return v}function E({selector:e,layout:t={},parentLayout:n={},includeContainerQuery:r=!0}){return C({selector:e,layout:t,parentLayout:n,includeContainerQuery:r}).map(e=>{const t=S(e);return e.rulesGroup?`${e.rulesGroup} {\n\t\t\t\t${t}\n\t\t\t}`:t}).join("")}function T({style:e={},selector:t,parentLayout:n={},viewportSettings:r}){const o=e?.layout??{};return Object.entries(b(r)).map(([r,i])=>{const s=(0,m.KE)(e,{viewport:r,pseudo:m.ol.pseudo})?.layout;if(!s||!Object.keys(s).length)return"";const a=C({selector:t,layout:o,viewportOverrides:s,parentLayout:n,includeContainerQuery:!1}).map(S).join("");return a?`${i}{${a}}`:""}).filter(Boolean).join("")}function I(e,t,n){if(!(0,m.oj)(n))return{...e,layout:{...e?.layout,...t}};const r={viewport:n.viewport,pseudo:m.ol.pseudo},o=(0,m.KE)(e,r);return(0,m.GU)(e,r,{...o,layout:{...o?.layout,...t}})}function j({clientId:e,style:t,setAttributes:n,allowSizingOnChildren:r,isManualPlacement:s,parentLayout:c}){const{rootClientId:u,isVisible:m,parentBlockVisibility:b,blockBlockVisibility:y,deviceType:k,viewportSettings:x,isChildBlockAGrid:w,selectedState:_}=(0,o.A)(t=>{const{getBlockRootClientId:n,getBlockEditingMode:r,getTemplateLock:o,getBlockAttributes:i,getSettings:s,getSelectedBlockStyleState:c}=(0,l.T)(t(a.M)),u=n(e);if(o(u)||"default"!==r(u))return{rootClientId:u,isVisible:!1};const d=i(u),f=i(e),p=s(),m=p?.[h.O9]?.toLowerCase()||g.B.desktop.key;return{rootClientId:u,isVisible:!0,parentBlockVisibility:d?.metadata?.blockVisibility,blockBlockVisibility:f?.metadata?.blockVisibility,deviceType:m,viewportSettings:p?.__experimentalFeatures?.viewport,isChildBlockAGrid:"grid"===f?.layout?.type,selectedState:c(e)}},[e]),A=(0,f.dN)(e),S=A?.ownerDocument?.defaultView,C=null===S?void 0:S,{isBlockCurrentlyHidden:E,currentViewport:T}=(0,p.A)({blockVisibility:b,deviceType:k,view:C,viewportSettings:x}),j=(0,o.A)(e=>{if(!u)return!1;const{isBlockParentHiddenAtViewport:t}=(0,l.T)(e(a.M));return t(u,T)},[u,T]),{isBlockCurrentlyHidden:B}=(0,p.A)({blockVisibility:y,deviceType:k,view:C,viewportSettings:x}),[N,M]=(0,i.useState)(),R=w?e:void 0;if(!m||E||j)return null;const O=r&&!B;function L(e){n({style:I(t,e,_)})}return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(d.GridVisualizer,{clientId:u,contentRef:M,parentLayout:c,childGridClientId:R}),O&&(0,v.jsx)(d.GridItemResizer,{clientId:e,bounds:N,onChange:L,parentLayout:c}),s&&window.__experimentalEnableGridInteractivity&&(0,v.jsx)(d.GridItemMovers,{layout:t?.layout,parentLayout:c,onChange:L,gridClientId:u,blockClientId:e})]})}var B={useBlockProps:function({style:e}){const{shouldRenderChildLayoutStyles:t,viewportSettings:n}=(0,o.A)(e=>{const t=e(a.M).getSettings();return{shouldRenderChildLayoutStyles:!t.disableLayoutStyles,viewportSettings:t?.__experimentalFeatures?.viewport}}),i=e?.layout??{},{columnStart:s,rowStart:l,columnSpan:d,rowSpan:f}=i,p=(0,u.gK)()||{},h=(0,r.A)(y),g=`.wp-container-content-${h}`;let m="";if(t&&(m=[E({selector:g,layout:i,parentLayout:p}),T({style:e,selector:g,parentLayout:p,viewportSettings:n})].join("")),(0,c.dK)({css:m}),m)return{className:`wp-container-content-${h}`}},edit:function({clientId:e,style:t,setAttributes:n}){const r=(0,u.gK)()||{},{type:o="default",allowSizingOnChildren:i=!1,isManualPlacement:s}=r;return"grid"!==o?null:(0,v.jsx)(j,{clientId:e,style:t,setAttributes:n,allowSizingOnChildren:i,isManualPlacement:s,parentLayout:r})},attributeKeys:["style"],hasSupport:()=>!0}},2787(e,t,n){"use strict";n.d(t,{Ay:()=>z,I$:()=>P,o:()=>L});var r=n(13022),o=n(94081),i=n(41740),s=n(80471),a=n(2376),l=n(87761),c=n(14259),u=n(19623),d=n(82600),f=n(50370),p=n(91892),h=n(26068),g=n(18335),m=n(21123),v=n(25552),b=n(59798),y=n(35453),k=n(95350),x=n(90376),w=n(3008),_=n(17868),A=n(61924),S=n(12634),C=n(992),E=n(28656),T=n(93236),I="layout",j=["selfStretch","flexSize","columnStart","columnSpan","rowStart","rowSpan"],{getResponsiveMediaQueries:B}=(0,A.T)(c.j);function N(e={},t){const n=e?.default;return t?.attributes?.layout??n}function M(e={},t){return(0,_._U)({...N(e,t)})}function R(e={},t={},n={}){const r={},o=Object.fromEntries(j.filter(e=>Object.hasOwn(n||{},e)).map(e=>[e,n[e]]));return Object.entries(e||{}).forEach(([e,n])=>{const o=Object.hasOwn(t||{},e);j.includes(e)||n===t?.[e]||(r[e]=void 0===n&&o?null:n)}),(0,_._U)({...o,...r})}function O(e){return(0,l.pN)(e,"layout")||(0,l.pN)(e,"__experimentalLayout")}function L(e={},t=""){const{layout:n}=e,{default:r}=(0,l.bI)(t,I)||{},o=n?.inherit||n?.contentSize||n?.wideSize?{...n,type:"constrained"}:n||r||{},i=[];if(w.o[o?.type||"default"]?.className){const e=w.o[o?.type||"default"]?.className,n=t.split("/"),r=`wp-block-${"core"===n[0]?n.pop():n.join("-")}-${e}`;i.push(e,r)}return(0,u.A)(e=>!(!o?.inherit&&!o?.contentSize&&"constrained"!==o?.type)&&e(v.M).getSettings().__experimentalFeatures?.useRootPaddingAwareAlignments,[o?.contentSize,o?.inherit,o?.type])&&i.push("has-global-padding"),o?.orientation&&i.push(`is-${(0,m.k)(o.orientation)}`),o?.justifyContent&&i.push(`is-content-justification-${(0,m.k)(o.justifyContent)}`),o?.flexWrap&&"nowrap"===o.flexWrap&&i.push("is-nowrap"),i}function P(e={},t,n){const{layout:r={},style:o={}}=e,i=r?.inherit||r?.contentSize||r?.wideSize?{...r,type:"constrained"}:r||{},s=(0,k.N)(i?.type||"default"),[a]=(0,y.t)("spacing.blockGap"),l=null!==a;return s?.getLayoutStyle?.({blockName:t,selector:n,layout:r,style:o,hasBlockGapSupport:l})}function D({attributes:e={},blockName:t,selector:n,layout:r={},hasBlockGapSupport:o,globalBlockGapValue:i,viewportSettings:s}){return Object.entries(B(s)).map(([s,a])=>{const l=(0,E.KE)(e?.style,{viewport:s,pseudo:E.ol.pseudo}),c=function(e={}){return Object.fromEntries(Object.entries(e||{}).filter(([e])=>!j.includes(e)))}(l?.layout),u=Object.keys(c).length>0,d=l?.spacing&&Object.hasOwn(l.spacing,"blockGap"),f=l?.spacing&&Object.hasOwn(l.spacing,"padding");if(!u&&!d&&!f)return"";const p=(0,k.N)(r?.type||"default"),h=p?.getLayoutStyle?.({blockName:t,selector:n,layout:r,viewportOverrides:c,style:l,hasBlockGapSupport:o,globalBlockGapValue:i});return h?`${a}{${h}}`:""}).filter(Boolean).join("")}var z={shareWithChildBlocks:!0,edit:function({layout:e,style:t,setAttributes:n,name:r,clientId:o}){const i=(0,_.G)(r),{layout:s}=i,{themeSupportsLayout:c,activeBlockVariation:d,selectedState:f,isResponsiveEditing:m}=(0,u.A)(e=>{const{getBlockAttributes:t,getSettings:n,getSelectedBlockStyleState:i,isResponsiveEditing:s}=(0,A.T)(e(v.M));return{activeBlockVariation:e(l.M_).getActiveBlockVariation(r,t(o)||{},"block"),themeSupportsLayout:n().supportsLayout,selectedState:i(o),isResponsiveEditing:s()}},[r,o]),y=(0,x.w)(),w=(0,E.oj)(f)&&!(0,E.u2)(f),S=(0,a.useCallback)((...e)=>{const n=e[0]||{},o=e[1]||{};if(w){const e=(0,E.KE)(n.style??t,f)||{},r=(0,_._U)({...e,layout:void 0});return{style:(0,E.GU)(n.style??t,f,r)}}const i=o.name||r;return{layout:M((0,l.bI)(i,I,{}),d)}},[r,d,w,f,t]);if("default"!==y)return null;const C=(0,l.bI)(r,I,{}),j={...s,...C},{allowSwitching:B,allowEditing:N=!0,allowInheriting:O=!0,default:L}=j;if(!N)return null;const P=e||L||{},D=w?(0,E.KE)(t,f):void 0,z=D?.layout,F=w?(0,_._U)({...P,...z})||{}:P,$=w?P:M(C,d),H={...C,...F},{type:U,default:{type:W="default"}={}}=H,K=U||W,q=!(!O||K&&"default"!==K&&"constrained"!==K&&!H.inherit),{inherit:G=!1,contentSize:X=null}=F;if(("default"===K||"constrained"===K)&&!c)return null;const Y=(0,k.N)(K),Z=(0,k.N)("constrained"),Q=!F.type&&(X||G),J=!!G||!!X,ee=(0,E.DX)(f)&&!G&&B,te=function({layoutType:e,constrainedType:t,layoutBlockSupport:n,showInheritToggle:r,showLayoutTypeSwitcher:o,displayControlsForLegacyLayouts:i}){const s="default"!==e?.name&&e?.hasInspectorControls(n),a=i&&t?.hasInspectorControls(n);return!!(r||o||s||a)}({layoutType:Y,constrainedType:Z,layoutBlockSupport:j,showInheritToggle:q,showLayoutTypeSwitcher:ee,displayControlsForLegacyLayouts:Q}),ne=e=>{if(w){const r=(0,_._U)({...D,layout:R(e,P,D?.layout)});return void n({style:(0,E.GU)(t,f,r)})}n({layout:(0,_._U)(e)})},re=()=>"constrained"===Y?.name||J;return(0,T.jsxs)(T.Fragment,{children:[te&&(0,T.jsxs)(b.A,{group:"layout",resetAllFilter:S,children:[q&&(0,T.jsx)(h.ToolsPanelItem,{label:(0,g.__)("Use content width"),hasValue:()=>w?(F?.type??"default")!==($?.type??"default"):"constrained"===e?.type,onDeselect:()=>ne({type:"default"}),isShownByDefault:!0,panelId:o,children:(0,T.jsx)(p.A,{label:(0,g.__)("Inner blocks use content width"),checked:re(),onChange:()=>ne({type:re()?"default":"constrained"}),help:re()?(0,g.__)("Nested blocks use content width with options for full and wide widths."):(0,g.__)("Nested blocks will fill the width of this container.")})}),ee&&(0,T.jsx)(h.ToolsPanelItem,{label:(0,g.__)("Layout type"),hasValue:()=>(F?.type??"default")!==($?.type??"default"),onDeselect:()=>ne($),isShownByDefault:!0,panelId:o,children:(0,T.jsx)(V,{type:K,onChange:e=>ne({type:e})})}),Y&&"default"!==Y.name&&(0,T.jsx)(Y.inspectorControls,{layout:F,value:e,onChange:ne,layoutBlockSupport:j,resetLayout:$,name:r,clientId:o}),Z&&Q&&(0,T.jsx)(Z.inspectorControls,{layout:F,value:e,onChange:ne,layoutBlockSupport:j,resetLayout:$,name:r,clientId:o})]}),!G&&Y&&(0,T.jsx)(Y.toolBarControls,{layout:F,onChange:ne,layoutBlockSupport:C,controlsGroup:m&&(0,E.oj)(f)&&!(0,E.u2)(f)?"style-state":"block",name:r,clientId:o})]})},attributeKeys:["layout","style"],hasSupport:e=>O(e)};function V({type:e,onChange:t}){return(0,T.jsx)(d.A,{isBlock:!0,label:(0,g.__)("Layout type"),hideLabelFromVision:!0,isAdaptiveWidth:!0,value:e,onChange:t,children:(0,k.g)().map(({name:e,label:t})=>(0,T.jsx)(f.A,{value:e,label:t},e))})}function F({block:e,props:t,blockGapSupport:n,globalBlockGapValue:o,viewportSettings:s,layoutClasses:a}){const{name:c,attributes:u}=t,d=(0,i.A)(e),{layout:f}=u,{default:p}=(0,l.bI)(c,I)||{},h=f?.inherit||f?.contentSize||f?.wideSize?{...f,type:"constrained"}:f||p||{},g=`wp-container-${(0,m.k)(c)}-is-layout-`,v=`.${g}${d}`,b=null!==n,y=(0,k.N)(h?.type||"default"),x=y?.getLayoutStyle?.({blockName:c,selector:v,layout:h,style:u?.style,hasBlockGapSupport:b,globalBlockGapValue:o}),w=[x,D({attributes:u,blockName:c,selector:v,layout:h,hasBlockGapSupport:b,globalBlockGapValue:o,viewportSettings:s})].filter(Boolean).join(""),A=(0,r.A)({[`${g}${d}`]:!!w},a);return(0,_.dK)({css:w}),(0,T.jsx)(e,{...t,__unstableLayoutClassNames:A})}var $=(0,o.f)(e=>function(t){const{clientId:n,name:r,attributes:o}=t,i=O(r),s=L(o,r),a=(0,u.A)(e=>{if(!i)return;const{getSettings:t,getBlockSettings:s}=(0,A.T)(e(v.M)),a=t(),{disableLayoutStyles:c}=a;if(c)return;const[u]=s(n,"spacing.blockGap"),d=a[S.Fr];let f;const p=o?.className;if(p?.includes("is-style-")){const{getBlockStyles:t}=e(l.M_),n=t(r),o=(0,C.$3)(p,n);f=o?d?.blocks?.[r]?.variations?.[o]?.spacing?.blockGap:void 0}return{blockGapSupport:u,globalBlockGapValue:f??d?.blocks?.[r]?.spacing?.blockGap??d?.spacing?.blockGap,viewportSettings:a?.__experimentalFeatures?.viewport}},[i,n,o?.className,r]);return a?(0,T.jsx)(F,{block:e,props:t,layoutClasses:s,...a}):(0,T.jsx)(e,{...t,__unstableLayoutClassNames:i?s:void 0})},"withLayoutStyles");(0,s.U2)("blocks.registerBlockType","core/layout/addAttribute",function(e){return"type"in(e.attributes?.layout??{})||O(e)&&(e.attributes={...e.attributes,layout:{type:"object"}}),e}),(0,s.U2)("editor.BlockListBlock","core/editor/layout/with-layout-styles",$)},48457(e,t,n){"use strict";n.d(t,{Nx:()=>r});n(87761),n(17868),n(93236);var r="typography.lineHeight"},37505(e,t,n){"use strict";n.d(t,{Ay:()=>m});var r=n(18335),o=n(16668),i=n(79027),s=n(19623),a=n(87761),l=n(2376),c=n(25552),u=n(26068),d=n(7761),f=n(53375),p=n(20447),h=n(61924),g=n(93236);var m={edit:function({clientId:e,name:t}){const{isSelectionWithinCurrentSection:n}=(0,l.useContext)(f.c),{isOpened:m,expandRevision:v,handleToggle:b}=(0,p.A)(e),{openListViewContentPanel:y}=(0,h.T)((0,i.A)(c.M)),{isEnabled:k,hasChildren:x,isNestedListView:w}=(0,s.A)(t=>{const{getBlockCount:n,getBlockParents:r,shouldRenderBlockListView:o}=(0,h.T)(t(c.M)),i=r(e,!1).find(e=>o(e));return{isEnabled:o(e),hasChildren:!!n(e),isNestedListView:i}},[e]),_=(0,a.E7)(t),A=_?.title||t;if(!k||w)return null;const S=n;return(0,g.jsx)(d.A,{group:"list",children:(0,g.jsxs)(o.Ay,{title:S?A:void 0,opened:m,onToggle:b,children:[!x&&(0,g.jsx)("p",{className:"block-editor-block-inspector__no-blocks",children:(0,r.__)("No items yet.")}),(0,g.jsx)(u.PrivateListView,{rootClientId:e,isExpanded:!0,description:A,showAppender:!0,onSelect:y},`${e}-${v}`)]})})},hasSupport:function(e){return(0,a.pN)(e,"listView")},attributeKeys:[],supportsPatternEditing:!0}},95064(e,t,n){"use strict";(0,n(80471).U2)("blocks.registerBlockType","core/lock/addAttribute",function(e){return"type"in(e.attributes?.lock??{})||(e.attributes={...e.attributes,lock:{type:"object"}}),e})},42006(e,t,n){"use strict";var r=n(80471),o=n(87761),i="metadata";(0,r.U2)("blocks.registerBlockType","core/metadata/addMetaAttribute",function(e){return e?.attributes?.[i]?.type||(e.attributes={...e.attributes,[i]:{type:"object"}}),e}),(0,r.U2)("blocks.switchToBlockType.transformedBlock","core/metadata/addTransforms",function(e,t,n,r){if(1===r.length&&e.innerBlocks.length===t.length)return e;if(1===r.length&&t.length>1||r.length>1&&1===t.length)return e;if(r.length>1&&t.length>1&&r.length!==t.length)return e;const i=t[n]?.attributes?.metadata;if(!i)return e;const s={};return i.noteId&&!e.attributes?.metadata?.noteId&&(s.noteId=i.noteId),i.name&&!e.attributes?.metadata?.name&&(0,o.pN)(e.name,"renaming",!0)&&(s.name=i.name),void 0!==i.blockVisibility&&!e.attributes?.metadata?.blockVisibility&&(0,o.pN)(e.name,"visibility",!0)&&(s.blockVisibility=i.blockVisibility),Object.keys(s).length>0?{...e,attributes:{...e.attributes,metadata:{...e.attributes.metadata,...s}}}:e})},79936(e,t,n){"use strict";n.d(t,{Ay:()=>S,R1:()=>w});var r=n(13022),o=n(18335),i=n(87761),s=n(41740),a=n(19623),l=n(2376),c=n(20249),u=n(35453),d=n(59798),f=n(34315),p=n(17868),h=n(25552),g=n(93236),m="position",v={key:"default",value:"",label:(0,o.__)("Default")},b={key:"sticky",value:"sticky",label:(0,o._x)("Sticky","Name for the value of the CSS position property"),hint:(0,o.__)("The block will stick to the top of the window instead of scrolling.")},y={key:"fixed",value:"fixed",label:(0,o._x)("Fixed","Name for the value of the CSS position property"),hint:(0,o.__)("The block will not move when the page is scrolled.")},k=["top","right","bottom","left"],x=["sticky","fixed"];function w(e){const t=e?.style?.position?.type;return"sticky"===t||"fixed"===t}function _({name:e}={}){const[t,n]=(0,u.t)("position.fixed","position.sticky"),r=!t&&!n;return o=e,!(0,i.bI)(o,m)||r;var o}function A({style:e={},clientId:t,name:n,setAttributes:r}){const s=function(e){const t=(0,i.bI)(e,m);return!(!0!==t&&!t?.fixed)}(n),u=function(e){const t=(0,i.bI)(e,m);return!(!0!==t&&!t?.sticky)}(n),k=e?.position?.type,{firstParentClientId:x}=(0,a.A)(e=>{const{getBlockParents:n}=e(h.M),r=n(t);return{firstParentClientId:r[r.length-1]}},[t]),w=(0,f.A)(x),_=u&&k===b.value&&w?(0,o.nv)(
208 /* translators: %s: the name of the parent block. */
209 /* translators: %s: the name of the parent block. */
210 (0,o.__)("The block will stick to the scrollable area of the parent %s block."),w.title):null,A=(0,l.useMemo)(()=>{const e=[v];return(u||k===b.value)&&e.push(b),(s||k===y.value)&&e.push(y),e},[s,u,k]),S=k&&A.find(e=>e.value===k)||v,C=(0,l.useId)();return A.length>1?(0,g.jsx)(d.A,{group:"position",children:(0,g.jsx)(c.Y,{label:(0,o.__)("Position"),hideLabelFromVision:!0,description:_,popupWidth:"anchor",items:A,value:S,onValueChange:t=>{(t=>{const n={...e,position:{...e?.position,type:t,top:"sticky"===t||"fixed"===t?"0px":void 0}};r({style:(0,p._U)(n)})})(t.value)},children:A.map(e=>{const t=e.hint?`${C}-${e.key}`:void 0;return(0,g.jsxs)(c.Y.Item,{value:e,label:e.label,"aria-describedby":t,children:[(0,g.jsx)("div",{children:e.label}),e.hint&&(0,g.jsx)("div",{id:t,className:"block-editor-hooks__position-control-item-hint","aria-hidden":"true",children:e.hint})]},e.key)})})}):null}var S={edit:function(e){return _(e)?null:(0,g.jsx)(A,{...e})},useBlockProps:function({name:e,style:t}){const n=(0,i.pN)(e,m),o=_({name:e}),a=n&&!o,l=(0,s.A)(C),c=`.wp-container-${l}.wp-container-${l}`;let u;a&&(u=function({selector:e,style:t}){let n="";const{type:r}=t?.position||{};return x.includes(r)?(n+=`${e} {`,n+=`position: ${r};`,k.forEach(e=>{void 0!==t?.position?.[e]&&(n+=`${e}: ${t.position[e]};`)}),"sticky"!==r&&"fixed"!==r||(n+="z-index: 10"),n+="}",n):n}({selector:c,style:t})||"");const d=(0,r.A)({[`wp-container-${l}`]:a&&!!u,[`is-position-${t?.position?.type}`]:a&&!!u&&!!t?.position?.type});return(0,p.dK)({css:u}),{className:d}},attributeKeys:["style"],hasSupport:e=>(0,i.pN)(e,m)},C={}},79406(e,t,n){"use strict";var r=n(80471),o=n(87761);(0,r.U2)("blocks.registerBlockType","core/settings/addAttribute",function(e){return t=e,(0,o.pN)(t,"__experimentalSettings",!1)?(e?.attributes?.settings||(e.attributes={...e.attributes,settings:{type:"object"}}),e):e;var t})},31313(e,t,n){"use strict";n.d(t,{Z:()=>u,i:()=>d});var r=n(2376),o=n(3007),i=n(21948),s=n(95691),a=n(93236);function l({clientId:e,value:t,computeStyle:n,forceShow:l}){const c=(0,s.dN)(e),[u,d]=(0,r.useReducer)(()=>n(c));(0,r.useEffect)(()=>{c&&l&&d()},[c,l]),(0,r.useEffect)(()=>{if(!c)return;const e=new window.MutationObserver(d);return e.observe(c,{attributes:!0,attributeFilter:["style","class"]}),()=>{e.disconnect()}},[c]);const f=(0,r.useRef)(t),[p,h]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if((0,o.hw)(t,f.current)||l)return;h(!0),f.current=t;const e=setTimeout(()=>{h(!1)},400);return()=>{h(!1),clearTimeout(e)}},[t,l]),p||l?(0,a.jsx)(i.A,{clientId:e,__unstablePopoverSlot:"block-toolbar",children:(0,a.jsx)("div",{className:"block-editor__spacing-visualizer",style:u})}):null}function c(e,t){return e.ownerDocument.defaultView.getComputedStyle(e).getPropertyValue(t)}function u({clientId:e,value:t,forceShow:n}){return(0,a.jsx)(l,{clientId:e,value:t?.spacing?.margin,computeStyle:e=>{const t=c(e,"margin-top"),n=c(e,"margin-right"),r=c(e,"margin-bottom"),o=c(e,"margin-left");return{borderTopWidth:t,borderRightWidth:n,borderBottomWidth:r,borderLeftWidth:o,top:t?`-${t}`:0,right:n?`-${n}`:0,bottom:r?`-${r}`:0,left:o?`-${o}`:0}},forceShow:n})}function d({clientId:e,value:t,forceShow:n}){return(0,a.jsx)(l,{clientId:e,value:t?.spacing?.padding,computeStyle:e=>({borderTopWidth:c(e,"padding-top"),borderRightWidth:c(e,"padding-right"),borderBottomWidth:c(e,"padding-bottom"),borderLeftWidth:c(e,"padding-left")}),forceShow:n})}},39760(e,t,n){"use strict";n.d(t,{TN:()=>o});n(87761);var r=n(72267);function o(e,t,n=""){if("string"!=typeof t||!t)return(0,r.uj)(e).map(e=>`${e.trim()}${n}`).join(", ");const o=(0,r.uj)(e).filter(e=>e.trim()),i=(0,r.uj)(t).filter(e=>e.trim());return i.length?i.map(e=>{const t=(e=e.trim()).match(/^([.#]?[-_a-zA-Z0-9]+|\[[^\]]+\])/);return t?o.map(r=>`${r.trim()}${e.slice(t[0].length)}${n}`).join(", "):o.map(e=>`${e.trim()}${n}`).join(", ")}).join(", "):o.map(e=>`${e.trim()}${n}`).join(", ")}},33235(e,t,n){"use strict";n.d(t,{Ne:()=>a});var r=n(14259),o=n(18335),i=n(61924),{getViewportBreakpoints:s}=(n(93236),(0,i.T)(r.j));(0,o._x)("Hover","Name for the CSS pseudo-class selector"),(0,o._x)("Focus","Name for the CSS pseudo-class selector"),(0,o._x)("Focus-visible","Name for the CSS pseudo-class selector"),(0,o._x)("Active","Name for the CSS pseudo-class selector"),(0,o.__)("Tablet"),(0,o.__)("Mobile");var a={"core/button":[":hover",":focus",":focus-visible",":active"],"core/navigation-link":[":hover",":focus",":focus-visible",":active"]}},14484(e,t,n){"use strict";n.d(t,{Ay:()=>q});var r=n(2376),o=n(80471),i=n(19623),s=n(60602),a=n(14259),l=n(87761),c=n(41740),u=n(77553),d=n(69099),f=n(27937),p=n(32475),h=n(72862),g=n(2522),m=n(77994),v=n(58262),b=n(17868),y=n(28656),k=n(33235),x=n(39760),w=n(61973),_=n(90376),A=n(35453),S=n(25552),C=n(12634),E=n(61924),T=n(93236),{getResponsiveMediaQueries:I}=(0,E.T)(a.j),j=["Top","Right","Bottom","Left"],B=[...m.Fs,p.lR,h.yI,v.I3,f.Zk,v.qn,p.J8],N=e=>B.some(t=>(0,l.pN)(e,t));function M(e={}){const t={};return(0,u.np)(e).forEach(e=>{t[e.key]=e.value}),t}function R(e,t){const n=function(e){const t=e?.dimensions;if(t)return(0,v.mG)(t.aspectRatio)?{dimensions:{minHeight:"unset",height:"unset"}}:t.minHeight||t.height?{dimensions:{aspectRatio:"unset"}}:void 0}(e),r=n?L(e,n):e,o=(0,u.zn)(r,{selector:t}),i=o?o.replace(/;/g," !important;"):void 0,s=function(e){const t=e?.border;if(!t)return;const n=!!t.style,r=!!t.color,o=!!t.width,i={};return n||!r&&!o||(i.style="solid"),j.forEach(e=>{const r=e.toLowerCase(),o=t[r];n||o?.style||!o?.color&&!o?.width||(i[r]={style:"solid"})}),(0,b._U)({border:(0,b._U)(i)})}(e),a=s?(0,u.zn)(s,{selector:t}):void 0,l=function(e,t){const n=e?.typography?.textAlign;if("string"!=typeof n||!n)return;const r=`text-align: ${(0,d.k5)(n)} !important`;return t?`${t} { ${r}; }`:`${r};`}(e,t),c=function(e,t){if(!e?.color?.background)return;if(e?.color?.gradient||e?.background?.gradient||e?.background?.backgroundImage)return;const n="background-image: unset !important";return t?`${t} { ${n}; }`:`${n};`}(e,t);return[i,l,a,c].filter(Boolean).join("\n")}function O(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}function L(e={},t={}){const n={...e};return Object.entries(t).forEach(([e,t])=>{n[e]=O(t)&&O(n[e])?L(n[e],t):t}),n}function P(e,t,n){const r=t||"",o=e.get(r)||{selector:t,style:{}};e.set(r,{selector:t,style:L(o.style,n)})}function D(e,t){const{name:n,baseSelector:r,state:o=""}=t,i=function(e,t){const n=(0,l.E7)(t)?.selectors||{},r=new Map;return Object.entries(e||{}).forEach(([e,t])=>{const o=n[e];if("string"!=typeof o){if(O(o)&&O(t)){const i={...t};return Object.entries(o).forEach(([n,o])=>{"root"!==n&&"string"==typeof o&&Object.hasOwn(t,n)&&(P(r,o,{[e]:{[n]:t[n]}}),delete i[n])}),void(Object.keys(i).length&&P(r,o.root||n.root,{[e]:i}))}P(r,n.root,{[e]:t})}else P(r,o,{[e]:t})}),Array.from(r.values())}(e,n).map(({selector:e,style:t})=>R(t,(0,x.TN)(r,e,o))).filter(Boolean);return i.length?i.join("\n"):void 0}function z(e,t,n){const r=k.Ne[t];if(!r)return[];const o=[];return r.forEach(r=>{const i=e?.[r];if(i){const e=D(i,{name:t,baseSelector:n,state:r});e&&o.push(e)}}),o}function V(e,t){const n=(0,y.KE)(e,t);if(!(0,y.oj)(t))return n;const r={...t,viewport:y.ol.viewport},o=(0,y.KE)(e,r);return o&&n?(0,s.q)(o,n):n||o}var F={[`${p.lR}.__experimentalSkipSerialization`]:["border"],[`${h.yI}.__experimentalSkipSerialization`]:[h.yI],[`${m.SU}.__experimentalSkipSerialization`]:[m.SU],[`${v.I3}.__experimentalSkipSerialization`]:[v.I3],[`${v.qn}.__experimentalSkipSerialization`]:[v.qn],[`${p.J8}.__experimentalSkipSerialization`]:[p.J8]},$={...F,[`${v.I3}.aspectRatio`]:[`${v.I3}.aspectRatio`],[`${f.Zk}`]:[f.Zk]},H={[`${v.I3}.aspectRatio`]:!0,[`${f.Zk}`]:!0},U={gradients:"gradient"};function W(e,t,n=!1){if(!e)return e;let r=e;return n||(r=JSON.parse(JSON.stringify(e))),Array.isArray(t)||(t=[t]),t.forEach(e=>{if(Array.isArray(e)||(e=e.split(".")),e.length>1){const[t,...n]=e;W(r[t],[n],!0)}else 1===e.length&&delete r[e[0]]}),r}function K(e,t,n,r=$){if(!N(t))return e;let{style:o}=n;return Object.entries(r).forEach(([e,n])=>{const r=H[e]||(0,l.bI)(t,e);!0===r&&(o=W(o,n)),Array.isArray(r)&&r.forEach(e=>{const t=U[e]||e;o=W(o,[[...n,t]])})}),e.style={...M(o),...e.style},e}var q={edit:function({clientId:e,name:t,setAttributes:n,style:o,__unstableParentLayout:a}){const l=(0,b.G)(t,a),c=(0,_.w)(),{globalBlockStyles:u,selectedState:d,showStateOnCanvas:h}=(0,i.A)(n=>{const r=n(S.M),{getSelectedBlockStyleState:o,isSelectedBlockStyleStateShownOnCanvas:i}=(0,E.T)(r),s=r.getSettings();return{globalBlockStyles:s?.[C.Fr]?.blocks?.[t],selectedState:o(e),showStateOnCanvas:i(e)}},[e,t]),k=(0,y.u2)(d),x=(0,r.useMemo)(()=>{if(!h||!k)return;const n=V(u,d),r=V(o,d);let i;if(n&&r)i=(0,s.q)(n,r);else if(r)i=r;else{if(!n)return;i=n}return D(i,{name:t,baseSelector:`[data-block="${e}"]`})},[h,k,u,o,d,e,t]);if((0,b.dK)({css:x}),"default"!==c)return null;const w={...l,typography:{...l.typography,textAlign:!1}},A={clientId:e,name:t,setAttributes:n,settings:w};return(0,T.jsxs)(y.$x,{value:d,children:[(0,T.jsx)(g.s,{...A}),(0,T.jsx)(f.Ks,{...A}),(0,T.jsx)(m.i5,{...A}),(0,T.jsx)(p.$0,{...A}),(0,T.jsx)(v.W3,{...A})]})},hasSupport:N,addSaveProps:K,attributeKeys:["style"],useBlockProps:function({clientId:e,name:t,style:n}){const o=(0,c.A)(X,"wp-elements"),i=`.${o}`,s=n?.elements,[a]=(0,A.t)("viewport"),l=(0,r.useMemo)(()=>{const e=[],r=Y(s,t,i);return r&&e.push(r),e.push(...z(n,t,i)),e.push(...function(e,t,n,r){const o=[],i=["elements",...k.Ne[t]??[]],s=I(r);return Object.entries(s).forEach(([r,s])=>{const a=(0,y.KE)(e,{viewport:r,pseudo:y.ol.pseudo});if(!a)return;const l=[],c=D(function(e,t){if(!e)return e;const n={...e};return t.forEach(e=>{delete n[e]}),n}(a,i),{name:t,baseSelector:n});c&&l.push(c);const u=Y(a.elements,t,n);u&&l.push(u),l.push(...z(a,t,n)),l.length&&o.push(`${s}{${l.join("")}}`)}),o}(n,t,i,a)),e.length>0?e.join(""):void 0},[i,s,t,n,a]);return(0,b.AX)({css:l,clientId:e}),K({className:o},t,{style:n},F)}},G=[{elementType:"button"},{elementType:"link",pseudo:[":hover"]},{elementType:"heading",elements:["h1","h2","h3","h4","h5","h6"]}],X={};function Y(e,t,n){if(!e)return;const r=[];return G.forEach(({elementType:o,pseudo:i,elements:s})=>{if((0,b.t1)(t,h.yI,o))return;const a=e?.[o];if(a){const e=(0,w.q1)(n,l.dB[o]);r.push((0,u.zn)(a,{selector:e})),i&&i.forEach(e=>{a[e]&&r.push((0,u.zn)(a[e],{selector:(0,w.q1)(n,`${l.dB[o]}${e}`)}))})}s&&s.forEach(t=>{e[t]&&r.push((0,u.zn)(e[t],{selector:(0,w.q1)(n,l.dB[t])}))})}),r.length>0?r.join(""):void 0}(0,o.U2)("blocks.registerBlockType","core/style/addAttribute",function(e){return N(e)||(0,l.pN)(e,"customCSS",!0)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})},54749(e,t,n){"use strict";n.d(t,{LS:()=>p,Sj:()=>y,U$:()=>h,Uk:()=>x,W1:()=>g,jS:()=>_,qJ:()=>b,t_:()=>k,w5:()=>v,xW:()=>m,ys:()=>w});var r=n(87761),o="align",i="__experimentalBorder",s="color",a="customClassName",l="typography.__experimentalFontFamily",c="typography.fontSize",u="typography.textAlign",d="layout",f=["shadow",...["typography.lineHeight",c,"typography.__experimentalFontStyle","typography.__experimentalFontWeight",l,u,"typography.textColumns","typography.__experimentalTextDecoration","typography.__experimentalTextTransform","typography.__experimentalWritingMode","typography.__experimentalLetterSpacing"],i,s,"spacing"],p=e=>(0,r.pN)(e,o);function h(e,t="any"){const n=(0,r.bI)(e,i);return!0===n||("any"===t?!!(n?.color||n?.radius||n?.width||n?.style):!!n?.[t])}var g=e=>{const t=(0,r.bI)(e,s);return null!==t&&"object"==typeof t&&!!t.gradients},m=e=>{const t=(0,r.bI)(e,s);return t&&!1!==t.background},v=e=>(0,r.pN)(e,u),b=e=>{const t=(0,r.bI)(e,s);return t&&!1!==t.text},y=e=>(0,r.pN)(e,a,!0),k=e=>(0,r.pN)(e,l),x=e=>(0,r.pN)(e,c),w=e=>(0,r.pN)(e,d),_=e=>f.some(t=>(0,r.pN)(e,t))},33528(e,t,n){"use strict";n.d(t,{Ay:()=>A,kh:()=>y});var r=n(13022),o=n(18335),i=n(87761),s=n(32948),a=n(78048),l=n(29659),c=n(19623),u=n(26068),d=n(65562),f=n(90376),p=n(28656),h=n(17868),g=n(77994),m=n(25552),v=n(61924),b=n(93236),y="typography.textAlign",k=[{icon:a.A,title:(0,o.__)("Align text left"),align:"left"},{icon:s.A,title:(0,o.__)("Align text center"),align:"center"},{icon:l.A,title:(0,o.__)("Align text right"),align:"right"}],x=["left","center","right"],w=[];function _(e){return Array.isArray(e)?x.filter(t=>e.includes(t)):!0===e?x:w}var A={edit:function({clientId:e,style:t,name:n,setAttributes:r}){const o=(0,h.G)(n),s=o?.typography?.textAlign,a=(0,f.w)(),{selectedState:l,isResponsiveEditing:g}=(0,c.A)(t=>{const{getSelectedBlockStyleState:n,isResponsiveEditing:r}=(0,v.T)(t(m.M));return{selectedState:n(e),isResponsiveEditing:r()}},[e]);if(!s||"default"!==a)return null;const x=_((0,i.bI)(n,y));if(!x.length)return null;const w=k.filter(e=>x.includes(e.align)),A=(0,p.KE)(t,l),S=function(e,t){return e&&(0,p.oj)(t)?"style-state":"block"}(g,l);return(0,b.jsx)(d.A,{group:S,children:(0,b.jsx)(u.AlignmentControl,{value:A?.typography?.textAlign,onChange:e=>{const n={...A,typography:{...A?.typography,textAlign:e}};r({style:(0,p.GU)(t,l,n)})},alignmentControls:w})})},useBlockProps:function({name:e,style:t}){if(!t?.typography?.textAlign)return null;if(!_((0,i.bI)(e,y)).length)return null;if((0,h.t1)(e,g.SU,"textAlign"))return null;const n=t.typography.textAlign;return{className:(0,r.A)({[`has-text-align-${n}`]:n})}},addSaveProps:function(e,t,n){if(!n?.style?.typography?.textAlign)return e;const{textAlign:o}=n.style.typography,s=(0,i.bI)(t,y);_(s).includes(o)&&!(0,h.t1)(t,g.SU,"textAlign")&&(e.className=(0,r.A)(`has-text-align-${o}`,e.className));return e},attributeKeys:["style"],hasSupport:e=>(0,i.pN)(e,y,!1)}},77994(e,t,n){"use strict";n.d(t,{Fs:()=>_,SU:()=>w,i5:()=>E});var r=n(87761),o=n(2376),i=n(19623),s=n(18335),a=n(59798),l=n(26068),c=n(19990),u=n(48457),d=n(7667),f=n(92300),p=n(33528),h=n(38178),g=n(17868),m=n(91772),v=n(25552),b=n(28656),y=n(83393),k=n(93236);function x(e,t){return Object.fromEntries(Object.entries(e).filter(([e])=>!t.includes(e)))}var w="typography",_=[u.Nx,f.WK,"typography.__experimentalFontStyle","typography.__experimentalFontWeight",d.nn,p.kh,"typography.textColumns","typography.__experimentalTextDecoration","typography.textIndent","typography.__experimentalWritingMode","typography.__experimentalTextTransform","typography.__experimentalLetterSpacing",h.ef];function A(e){const t={...x(e,["fontFamily"])},n=e?.typography?.fontSize,r=e?.typography?.fontFamily,o=e?.color?.text,i="string"==typeof n&&n?.startsWith("var:preset|font-size|")?n.substring(21):void 0,s=r?.startsWith("var:preset|font-family|")?r.substring(23):void 0,a=(0,m.U)(o,"color");return t.typography={...x(t.typography,["fontFamily"]),fontSize:i?void 0:n},t.color={...t.color,text:a?void 0:o},{style:(0,g._U)(t),fontFamily:s,fontSize:i,textColor:a}}function S(e){return{...e.style,typography:{...e.style?.typography,fontFamily:e.fontFamily?"var:preset|font-family|"+e.fontFamily:void 0,fontSize:e.fontSize?"var:preset|font-size|"+e.fontSize:e.style?.typography?.fontSize},color:{...e.style?.color,text:e.textColor?"var:preset|color|"+e.textColor:e.style?.color?.text}}}function C({children:e,resetAllFilter:t}){const n=(0,o.useCallback)(e=>{const n=S(e),r=t(n);return{...e,...A(r)}},[t]);return(0,k.jsx)(a.A,{group:"typography",resetAllFilter:n,children:e})}function E({clientId:e,name:t,setAttributes:n,settings:a,asWrapper:u}){const d=(0,b.R1)(),f=(0,l.useHasTypographyPanel)(a),{style:p,fontFamily:h,fontSize:g,fitText:m,textColor:x,className:_}=(0,i.A)(t=>{if(!f)return{};const{style:n,fontFamily:r,fontSize:o,fitText:i,textColor:s,className:a}=t(v.M).getBlockAttributes(e)||{};return{style:n,fontFamily:r,fontSize:o,fitText:i,textColor:s,className:a}},[e,f]),E=!(0,b.DX)(d),{value:T}=(0,c.j)(t,_,d),I=(0,o.useMemo)(()=>E?(0,b.KE)(p,d):S({style:p,fontFamily:h,fontSize:g,textColor:x}),[E,d,p,g,h,x]),j=E?e=>{n({style:(0,b.GU)(p,d,e)})}:e=>{const t=A(e);(t.fontSize||t.style?.typography?.fontSize)&&m&&(t.fitText=void 0),n(t)},B=!I?.color?.gradient&&!!I?.color?.text&&a?.color?.text&&!1!==(0,r.bI)(t,["color","enableContrastChecker"]),N=(0,y.A)({clientId:e,name:t,enabled:!!B,checkLinkColor:!1,messageOverride:(0,s.__)("This color has poor contrast against the background. Consider increasing contrast.")});if(!f)return null;const M=(0,r.bI)(t,[w,"__experimentalDefaultControls"]),R=(0,r.bI)(t,["color","__experimentalDefaultControls"]),O={...M,textColor:R?.text},L=u||C;return(0,k.jsx)(l,{as:L,panelId:e,settings:a,value:I,onChange:j,defaultControls:O,contrastWarning:N,inheritedValue:T})}},36916(e,t,n){"use strict";n(14484),n(32475)},28218(){"use strict"},78173(e,t,n){"use strict";n(14484)},26568(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(79027),o=n(19623),i=n(25552),s=n(61924);function a(e){const{isSectionBlock:t,isWithinSection:n,isWithinEditedSection:a,isEditingContentOnlySection:l,editedContentOnlySection:c}=(0,o.A)(t=>{const{isSectionBlock:n,getParentSectionBlock:r,getEditedContentOnlySection:o,isWithinEditedContentOnlySection:a}=(0,s.T)(t(i.M)),l=o();return{isSectionBlock:n(e),isWithinSection:n(e)||!!r(e),isWithinEditedSection:a(e),isEditingContentOnlySection:l===e,editedContentOnlySection:l}},[e]),u=(0,r.A)(i.M),{editContentOnlySection:d,stopEditingContentOnlySection:f}=(0,s.T)(u);return{isSectionBlock:t,isWithinSection:n,isWithinEditedSection:a,isEditingContentOnlySection:l,editedContentOnlySection:c,editContentOnlySection:d,stopEditingContentOnlySection:f}}},2349(e,t,n){"use strict";n(14484)},28366(e,t,n){"use strict";n(14484)},30023(e,t,n){"use strict";n(14484)},82361(e,t,n){"use strict";n(14484)},19649(e,t,n){"use strict";n.d(t,{l:()=>l});var r=n(79027),o=n(19623),i=n(2376),s=n(25552),a=n(61924);function l(e=!0){const{setZoomLevel:t,resetZoomLevel:n}=(0,a.T)((0,r.A)(s.M)),{isZoomedOut:l,isZoomOut:c}=(0,o.A)(e=>{const{isZoomOut:t}=(0,a.T)(e(s.M));return{isZoomedOut:t(),isZoomOut:t}},[]),u=(0,i.useRef)(!1),d=(0,i.useRef)(e);(0,i.useEffect)(()=>{l!==d.current&&(u.current=!1)},[l]),(0,i.useEffect)(()=>(d.current=e,e!==c()&&(u.current=!0,e?t("auto-scaled"):n()),()=>{u.current&&c()&&n()}),[e,c,n,t])}},17868(e,t,n){"use strict";n.d(t,{AX:()=>w,G:()=>_,RI:()=>b,Vo:()=>E,WO:()=>A,_U:()=>v,dK:()=>x,r5:()=>C,t1:()=>y});var r=n(13022),o=n(87761),i=n(2376),s=n(79027),a=n(65627),l=n(94081),c=n(80471),u=n(3217),d=n(35453),f=n(42974),p=n(69669),h=n(25552),g=n(61924),m=n(93236),v=e=>{if(null===e||"object"!=typeof e||Array.isArray(e))return e;const t=Object.entries(e).map(([e,t])=>[e,v(t)]).filter(([,e])=>void 0!==e);return t.length?Object.fromEntries(t):void 0};function b(e,t,n,r,o,i){if(Object.values(e??{}).every(e=>!e))return n;if(1===i.length&&n.innerBlocks.length===r.length)return n;let s=r[0]?.attributes;if(i.length>1&&r.length>1){if(!r[o])return n;s=r[o]?.attributes}let a=n;return Object.entries(e).forEach(([e,n])=>{n&&t[e].forEach(e=>{const t=(0,p.K0)(s,e);t&&(a={...a,attributes:(0,p.nv)(a.attributes,e,t)})})}),a}function y(e,t,n){const r=(0,o.bI)(e,t),i=r?.__experimentalSkipSerialization;return Array.isArray(i)?i.includes(n):i}var k=new WeakMap;function x({id:e,css:t}){return w({id:e,css:t})}function w({id:e,css:t,assets:n,__unstableType:r,variation:o,clientId:l}={}){const{setStyleOverride:c,deleteStyleOverride:u}=(0,g.T)((0,s.A)(h.M)),d=(0,a.A)(),f=(0,i.useId)();(0,i.useEffect)(()=>{if(!t&&!n)return;const i=e||f,s={id:e,css:t,assets:n,__unstableType:r,variation:o,clientId:l};return k.get(d)||k.set(d,[]),k.get(d).push([i,s]),window.queueMicrotask(()=>{k.get(d)?.length&&d.batch(()=>{k.get(d).forEach(e=>{c(...e)}),k.set(d,[])})}),()=>{const e=k.get(d)?.find(([e])=>e===i);e?k.set(d,k.get(d).filter(([e])=>e!==i)):u(i)}},[e,t,l,n,r,f,c,u,d,o])}function _(e,t){const[n,r,o,s,a,l,c,u,p,h,g,m,v,b,y,k,x,w,_,A,S,C,E,T,I,j,B,N,M,R,O,L,P,D,z,V,F,$,H,U,W,K,q,G,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,se,ae,le,ce,ue,de,fe,pe]=(0,d.t)("background.backgroundImage","background.backgroundSize","background.gradient","typography.fontFamilies.custom","typography.fontFamilies.default","typography.fontFamilies.theme","typography.defaultFontSizes","typography.fontSizes.custom","typography.fontSizes.default","typography.fontSizes.theme","typography.customFontSize","typography.fontStyle","typography.fontWeight","typography.lineHeight","typography.textAlign","typography.textColumns","typography.textDecoration","typography.textIndent","typography.writingMode","typography.textTransform","typography.letterSpacing","spacing.padding","spacing.margin","spacing.blockGap","spacing.defaultSpacingSizes","spacing.customSpacingSize","spacing.spacingSizes.custom","spacing.spacingSizes.default","spacing.spacingSizes.theme","spacing.units","dimensions.aspectRatio","dimensions.height","dimensions.minHeight","dimensions.minWidth","dimensions.width","dimensions.dimensionSizes","layout","border.color","border.radius","border.style","border.width","border.radiusSizes","color.custom","color.palette.custom","color.customDuotone","color.palette.theme","color.palette.default","color.defaultPalette","color.defaultDuotone","color.duotone.custom","color.duotone.theme","color.duotone.default","color.gradients.custom","color.gradients.theme","color.gradients.default","color.defaultGradients","color.customGradient","color.background","color.link","color.text","color.heading","color.button","shadow"),he=(0,i.useMemo)(()=>({background:{backgroundImage:n,backgroundSize:r,gradient:o},color:{palette:{custom:G,theme:Y,default:Z},gradients:{custom:re,theme:oe,default:ie},duotone:{custom:ee,theme:te,default:ne},defaultGradients:se,defaultPalette:Q,defaultDuotone:J,custom:q,customGradient:ae,customDuotone:X,background:le,link:ce,heading:de,button:fe,text:ue},typography:{fontFamilies:{custom:s,default:a,theme:l},fontSizes:{custom:u,default:p,theme:h},customFontSize:g,defaultFontSizes:c,fontStyle:m,fontWeight:v,lineHeight:b,textAlign:y,textColumns:k,textDecoration:x,textIndent:w,textTransform:A,letterSpacing:S,writingMode:_},spacing:{spacingSizes:{custom:B,default:N,theme:M},customSpacingSize:j,defaultSpacingSizes:I,padding:C,margin:E,blockGap:T,units:R},border:{color:$,radius:H,style:U,width:W,radiusSizes:K},dimensions:{aspectRatio:O,height:L,minHeight:P,minWidth:D,width:z,dimensionSizes:V},layout:F,parentLayout:t,shadow:pe}),[n,r,o,s,a,l,c,u,p,h,g,m,v,b,y,k,x,w,A,S,_,C,E,T,I,j,B,N,M,R,O,L,P,D,z,V,F,t,$,H,U,W,K,q,G,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,se,ae,le,ce,ue,de,fe,pe]);return(0,f.hL)(he,e)}function A(e){e=e.map(e=>({...e,Edit:(0,i.memo)(e.edit)}));const t=(0,l.f)(t=>function(n){const r=(0,u.m_)();return[...e.map((e,t)=>{const{Edit:o,hasSupport:i,attributeKeys:s=[],shareWithChildBlocks:a,supportsPatternEditing:l}=e;if(!(l&&r[u.v4]||r[u.dk]||r[u.dg]&&a)||!i(n.name))return null;const c={};for(const e of s)n.attributes[e]&&(c[e]=n.attributes[e]);return(0,m.jsx)(o,{name:n.name,isSelected:n.isSelected,clientId:n.clientId,setAttributes:n.setAttributes,__unstableParentLayout:n.__unstableParentLayout,...c},t)}),(0,m.jsx)(t,{...n},"edit")]},"withBlockEditHooks");(0,c.U2)("editor.BlockEdit","core/editor/hooks",t)}var S=(0,i.memo)(function({index:e,useBlockProps:t,setAllWrapperProps:n,...r}){const o=t(r),s=t=>n(n=>{const r=[...n];return r[e]=t,r});return(0,i.useEffect)(()=>(s(o),()=>{s(void 0)})),null});function C(e){const t=(0,l.f)(t=>function(n){const[o,s]=(0,i.useState)(Array(e.length).fill(void 0));return[...e.map((e,t)=>{const{hasSupport:r,attributeKeys:o=[],useBlockProps:i,isMatch:a}=e,l={};for(const e of o)n.attributes[e]&&(l[e]=n.attributes[e]);return!Object.keys(l).length||!r(n.name)||a&&!a(l)?null:(0,m.jsx)(S,{index:t,useBlockProps:i,setAllWrapperProps:s,name:n.name,clientId:n.clientId,...l},t)}),(0,m.jsx)(t,{...n,wrapperProps:o.filter(Boolean).reduce((e,t)=>({...e,...t,className:(0,r.A)(e.className,t.className),style:{...e.style,...t.style}}),n.wrapperProps||{})},"edit")]},"withBlockListBlockHooks");(0,c.U2)("editor.BlockListBlock","core/editor/hooks",t)}function E(e){(0,c.U2)("blocks.getSaveContent.extraProps","core/editor/hooks",function(t,n,r){return e.reduce((e,t)=>{const{hasSupport:o,attributeKeys:i=[],addSaveProps:s}=t,a={};for(const e of i)r[e]&&(a[e]=r[e]);return Object.keys(a).length&&o(n)?s(e,n,a):e},t)},0),(0,c.U2)("blocks.getSaveContent.extraProps","core/editor/hooks",e=>(e.hasOwnProperty("className")&&!e.className&&delete e.className,e))}},59070(e,t,n){"use strict";n.d(t,{EW:()=>r.EW,LE:()=>r.LE,LJ:()=>r.LJ,MK:()=>r.MK,M_:()=>i.M,Pe:()=>r.Pe,Q8:()=>r.Q8,RD:()=>r.RD,Tj:()=>r.Tj,Z0:()=>r.Z0,aX:()=>r.aX,cr:()=>r.cr,jb:()=>s.j,m9:()=>r.m9,mC:()=>r.mC,mF:()=>r.mF,oJ:()=>o.o,oS:()=>r.oS,qJ:()=>r.qJ,rE:()=>r.rE,s1:()=>r.s1,sD:()=>r.sD,t0:()=>r.t0,t4:()=>r.t4,tQ:()=>r.tQ,us:()=>r.us,wp:()=>r.wp,yK:()=>r.yK});n(10183);var r=n(85223),o=n(76968),i=n(25552),s=n(80439)},3008(e,t,n){"use strict";n.d(t,{o:()=>r});var r={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}}},23114(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(18335),o=n(45069),i=n(27443),s=n(17868),a=n(3008),l={name:"default",label:(0,r.__)("Flow"),hasInspectorControls:()=>!1,inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:e,style:t,blockName:n,hasBlockGapSupport:r,layoutDefinitions:l=a.o}){const c=t?.spacing?.blockGap;let u="";(0,s.t1)(n,"spacing","blockGap")||(c?.top?u=(0,i.$h)(c?.top):"string"==typeof c&&(u=(0,i.$h)(c)));let d="";return r&&u&&(d+=(0,o.Rz)(e,l,"default",u)),d},getOrientation:()=>"vertical",getAlignments(e,t){const n=(0,o.rZ)(e);if(void 0!==e.alignments)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(e=>({name:e,info:n[e]}));const r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){const{contentSize:t,wideSize:o}=e;t&&r.unshift({name:"full"}),o&&r.unshift({name:"wide",info:n.wide})}return r.unshift({name:"none",info:n.none}),r}}},95350(e,t,n){"use strict";n.d(t,{N:()=>i,g:()=>s});var r=n(26068),o=[n(23114).A,r,r,r];function i(e="default"){return o.find(t=>t.name===e)}function s(){return o}},45069(e,t,n){"use strict";n.d(t,{Rz:()=>i,rZ:()=>s});var r=n(18335),o=n(3008);function i(e,t=o.o,n,r){let i="";return t?.[n]?.spacingStyles?.length&&r&&t[n].spacingStyles.forEach(t=>{i+=`${function(e,t=""){return e.split(",").map(e=>`${e}${t?` ${t}`:""}`).join(",")}(e,t.selector.trim())} { `,i+=Object.entries(t.rules).map(([e,t])=>`${e}: ${t||r}`).join("; "),i+="; }"}),i}function s(e){const{contentSize:t,wideSize:n,type:o="default"}=e,i={},s=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return s.test(t)&&"constrained"===o&&(i.none=(0,r.nv)((0,r.__)("Max %s wide"),t)),s.test(n)&&(i.wide=(0,r.nv)((0,r.__)("Max %s wide"),n)),i}},61924(e,t,n){"use strict";n.d(t,{T:()=>i,s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/block-editor")},80439(e,t,n){"use strict";let r;n.d(t,{j:()=>G});var o=n(14259),i=n(26068),s=n(81779),a=n(61924),l=n(70028),c=n(13078),u=n(5538),d=n(73849),f=n(59210),p=n(80159),h=n(17868),g=n(28656),m=n(26016),v=n(59402),b=n(91067),y=n(12933),k=n(10183),x=n(34319),w=n(75453),_=n(650),A=n(54740),S=n(5718),C=n(12634),E=n(91462),T=n(78896),I=n(28833),j=n(49831),B=n(73943),N=n(72649),M=n(75301),R=n(6789),O=n(25126),L=n(85288),P=n(66172),D=n(95691),z=n(13994),V=n(96577),F=n(53375),$=n(20447),H=n(5994),U=n(6780),W=n(58388),K=n(59900),{getDuotoneFilter:q}=(0,a.T)(o.j),G={};(0,a.s)(G,{...r||(r=n.t(i,2)),ExperimentalBlockCanvas:A.sR,BlockCanvasCover:A.vV,ExperimentalBlockEditorProvider:s.Cg,getDuotoneFilter:q,getRichTextValues:l.S,PrivateQuickInserter:u.A,extractWords:d.b,getNormalizedSearchTerms:d.xg,normalizeString:d.J2,PrivateListView:i.PrivateListView,ResizableBoxPopover:c.A,InspectorControlsLastItem:f.A,useHasBlockToolbar:p.I,cleanEmptyObject:h._U,getStyleForState:g.KE,isDefaultBlockStyleState:g.DX,setStyleForState:g.GU,usePrivateStyleOverride:h.AX,BlockQuickNavigation:m.A,LayoutStyle:v.Yn,BlockManager:b.A,BlockRemovalWarningModal:y.v,useLayoutClasses:k.o,useLayoutStyles:k.I$,DimensionsTool:i,ResolutionTool:x.A,TabbedSidebar:R.A,TextAlignmentControl:w.A,usesContextKey:_.X,useFlashEditableBlocks:S.G,HTMLElementControl:P.A,useZoomOut:k.lG,globalStylesDataKey:C.Fr,globalStylesLinksDataKey:C.mE,selectBlockPatternsKey:C.WO,requiresWrapperOnCopy:E.wL,PrivateRichText:T.H3,PrivateInserterLibrary:j.b,reusableBlocksSelectKey:C.dq,userPatternCategoriesSelectKey:C.zm,PrivateBlockPopover:I.I,PrivatePublishDateTimePicker:B.Yv,useSpacingSizes:N.A,useBlockDisplayTitle:M.A,BlockStyleVariationOverridesWithConfig:k.Xu,setBackgroundStyleDefaults:k.gm,sectionRootClientIdKey:C.v7,NoteIconSlotFill:O.A,NoteIconToolbarSlotFill:L.A,mediaEditKey:C.Am,getMediaSelectKey:C.cb,deviceTypeKey:C.O9,isIsolatedEditorKey:C.qv,isNavigationOverlayContextKey:C.Ho,isNavigationPostEditorKey:C.N9,mediaUploadOnSuccessKey:C.Df,mediaSideloadFromUrlKey:C.It,openMediaEditorModalKey:C.eF,useBlockElement:D.dN,useBlockElementRef:D.Ou,LinkPicker:z.P,useRemoteUrlData:V.A,PrivateBlockContext:F.c,useListViewPanelState:$.A,isHashLink:W.d6,isRelativePath:W.Kb,InnerContent:H.A,useNativeUndo:U.h,usesNativeUndo:U.S,isElementVisible:K.J9})},72321(e,t,n){"use strict";n.r(t),n.d(t,{__unstableDeleteSelection:()=>H,__unstableExpandSelection:()=>W,__unstableIncrementListViewExpandRevision:()=>Ee,__unstableMarkAutomaticChange:()=>ue,__unstableMarkLastChangeAsPersistent:()=>le,__unstableMarkNextChangeAsNotPersistent:()=>ce,__unstableSaveReusableBlock:()=>ae,__unstableSetAllListViewPanelsOpen:()=>Se,__unstableSetEditorMode:()=>de,__unstableSetOpenListViewPanel:()=>Ae,__unstableSetTemporarilyEditingAsBlocks:()=>ke,__unstableSplitSelection:()=>U,__unstableToggleListViewPanel:()=>Ce,clearSelectedBlock:()=>C,duplicateBlocks:()=>pe,enterFormattedText:()=>te,exitFormattedText:()=>ne,flashBlock:()=>ve,hideInsertionPoint:()=>V,hoverBlock:()=>k,insertAfterBlock:()=>ge,insertBeforeBlock:()=>he,insertBlock:()=>O,insertBlocks:()=>D,insertDefaultBlock:()=>oe,mergeBlocks:()=>K,moveBlockToPosition:()=>R,moveBlocksDown:()=>B,moveBlocksToPosition:()=>M,moveBlocksUp:()=>N,multiSelect:()=>S,receiveBlocks:()=>m,registerInserterMediaCategory:()=>xe,removeBlock:()=>G,removeBlocks:()=>q,replaceBlock:()=>I,replaceBlocks:()=>T,replaceInnerBlocks:()=>X,resetBlocks:()=>p,resetSelection:()=>g,selectBlock:()=>y,selectNextBlock:()=>w,selectPreviousBlock:()=>x,selectionChange:()=>re,setBlockEditingMode:()=>we,setBlockMovingClientId:()=>fe,setBlockVisibility:()=>ye,setHasControlledInnerBlocks:()=>be,setTemplateValidity:()=>F,showInsertionPoint:()=>z,startDraggingBlocks:()=>J,startMultiSelect:()=>_,startTyping:()=>Z,stopDraggingBlocks:()=>ee,stopMultiSelect:()=>A,stopTyping:()=>Q,synchronizeTemplate:()=>$,toggleBlockHighlight:()=>me,toggleBlockMode:()=>Y,toggleSelection:()=>E,unsetBlockEditingMode:()=>_e,updateBlock:()=>b,updateBlockAttributes:()=>v,updateBlockListSettings:()=>ie,updateSettings:()=>se,validateBlocksToTemplate:()=>h});var r=n(87761),o=n(36331),i=n(18335),s=n(18124),a=n(4157),l=n(66786),c=n(65282),u=n(25311),d=n(33240),f=e=>Array.isArray(e)?e:[e],p=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(h(e))},h=e=>({select:t,dispatch:n})=>{const o=t.getTemplate(),i=t.getTemplateLock(),s=!o||"all"!==i||(0,r.V6)(e,o);if(s!==t.isValidTemplate())return n.setTemplateValidity(s),s};function g(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function m(e){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function v(e,t,n={uniqueByBlock:!1}){return"boolean"==typeof n&&(n={uniqueByBlock:n}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:f(e),attributes:t,options:n}}function b(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function y(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function k(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var x=(e,t=!1)=>({select:n,dispatch:r})=>{const o=n.getPreviousBlockClientId(e);if(o)r.selectBlock(o,-1);else if(t){const t=n.getBlockRootClientId(e);if(t)r.selectBlock(t,-1);else{const t=n.getNextBlockClientId(e);t&&r.selectBlock(t,0)}}},w=e=>({select:t,dispatch:n})=>{const r=t.getNextBlockClientId(e);r&&n.selectBlock(r)};function _(){return{type:"START_MULTI_SELECT"}}function A(){return{type:"STOP_MULTI_SELECT"}}var S=(e,t,n=0)=>({select:r,dispatch:s})=>{if(r.getBlockRootClientId(e)!==r.getBlockRootClientId(t))return;s({type:"MULTI_SELECT",start:e,end:t,initialPosition:n});const a=r.getSelectedBlockCount(),l=r.getClientIdsOfDescendants(r.getMultiSelectedBlockClientIds()).length;(0,o.L)(l?(0,i.nv)(
211 /* translators: 1: number of selected blocks. 2: number of blocks including nested blocks. */
212 /* translators: 1: number of selected blocks. 2: number of blocks including nested blocks. */
213 (0,i._n)("%1$s block selected, %2$s including nested blocks.","%1$s blocks selected, %2$s including nested blocks.",a),a,a+l):(0,i.nv)(
214 /* translators: %s: number of selected blocks */
215 /* translators: %s: number of selected blocks */
216 (0,i._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function C(){return{type:"CLEAR_SELECTED_BLOCK"}}function E(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var T=(e,t,n,r=0,o)=>({select:i,dispatch:s,registry:a})=>{e=f(e),t=f(t);const l=i.getBlockRootClientId(e[0]);for(let e=0;e<t.length;e++){const n=t[e];if(!i.canInsertBlockType(n.name,l))return}const c=L(t);a.batch(()=>{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:c,time:Date.now(),indexToSelect:n,initialPosition:r,meta:o}),P(i,s,t,c,r),s.ensureDefaultBlock()})};function I(e,t){return T(e,t)}var j=e=>(t,n)=>({select:r,dispatch:o})=>{r.canMoveBlocks(t)&&o({type:e,clientIds:f(t),rootClientId:n})},B=j("MOVE_BLOCKS_DOWN"),N=j("MOVE_BLOCKS_UP"),M=(e,t="",n="",r)=>({select:o,dispatch:i})=>{if(o.canMoveBlocks(e)){if(t!==n){if(!o.canRemoveBlocks(e))return;if(!o.canInsertBlocks(e,n))return}i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:r})}};function R(e,t="",n="",r){return M([e],t,n,r)}function O(e,t,n,r,o,i){return D([e],t,n,r,o,i)}function L(e,t=new Set){let n=!1;const o=e.map(e=>{let{innerBlocks:o}=e;if(o?.length)o=L(o,t);else if(!t.has(e.name)){const{template:n}=(0,r.E7)(e.name)??{};n?.length&&(o=L((0,r.Nk)([],n),new Set(t).add(e.name)))}return o===e.innerBlocks?e:(n=!0,{...e,innerBlocks:o})});return n?o:e}function P(e,t,n,o,i){const s=e.getSelectedBlockClientId();if(!s)return;const a=o.findIndex(e=>e.clientId===s);if(-1===a||o[a]===n[a]||!o[a].innerBlocks.length||!(0,r.E7)(o[a].name)?.templateInsertUpdatesSelection)return;let l=o[a];for(;l.innerBlocks[0];)l=l.innerBlocks[0];t.selectBlock(l.clientId,i)}var D=(e,t,n,r=!0,o=0,i)=>({select:s,dispatch:a,registry:c})=>{null!==o&&"object"==typeof o&&(i=o,o=0,(0,l.A)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=f(e);const u=[];for(const t of e){s.canInsertBlockType(t.name,n)&&u.push(t)}if(u.length){const e=L(u);c.batch(()=>{a({type:"INSERT_BLOCKS",blocks:e,index:t,rootClientId:n,time:Date.now(),updateSelection:r,initialPosition:r?o:null,meta:i}),P(s,a,u,e,o)})}};function z(e,t,n={}){const{__unstableWithInserter:r,operation:o,nearestSide:i}=n;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:o,nearestSide:i}}var V=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function F(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var $=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});const n=e.getBlocks(),o=e.getTemplate(),i=(0,r.Nk)(n,o);t.resetBlocks(i)},H=e=>({registry:t,select:n,dispatch:o})=>{const i=n.getSelectionStart(),s=n.getSelectionEnd();if(i.clientId===s.clientId)return;if(!i.attributeKey||!s.attributeKey||void 0===i.offset||void 0===s.offset)return!1;const l=n.getBlockRootClientId(i.clientId);if(l!==n.getBlockRootClientId(s.clientId))return;const u=n.getBlockOrder(l);let d,f;u.indexOf(i.clientId)>u.indexOf(s.clientId)?(d=s,f=i):(d=i,f=s);const p=e?f:d,h=n.getBlock(p.clientId),g=(0,r.E7)(h.name);if(!g.merge)return;const m=d,v=f,b=n.getBlock(m.clientId),y=n.getBlock(v.clientId),k=b.attributes[m.attributeKey],x=y.attributes[v.attributeKey];let w=(0,a.vt)({html:k}),_=(0,a.vt)({html:x});w=(0,a.TF)(w,m.offset,w.text.length),_=(0,a.Yr)(_,c.lo,0,v.offset);const A=(0,r.JB)(b,{[m.attributeKey]:(0,a.Ky)({value:w})}),S=(0,r.JB)(y,{[v.attributeKey]:(0,a.Ky)({value:_})}),C=e?A:S,E=b.name===y.name?[C]:(0,r.bh)(C,g.name);if(!E||!E.length)return;let T;if(e){const e=E.pop();T=g.merge(e.attributes,S.attributes)}else{const e=E.shift();T=g.merge(A.attributes,e.attributes)}const I=(0,c.ew)(T),j=T[I],B=(0,a.vt)({html:j}),N=B.text.indexOf(c.lo),M=(0,a.TF)(B,N,N+1),R=(0,a.Ky)({value:M});T[I]=R;const O=n.getSelectedBlockClientIds(),L=[...e?E:[],{...h,attributes:{...h.attributes,...T},innerBlocks:y.innerBlocks},...e?[]:E];t.batch(()=>{o.selectionChange(h.clientId,I,N,N),o.replaceBlocks(O,L,0,n.getSelectedBlocksInitialCaretPosition())})},U=(e=[])=>({registry:t,select:n,dispatch:o})=>{const l=n.getSelectionStart(),u=n.getSelectionEnd(),f=n.getBlockRootClientId(l.clientId),p=n.getBlockRootClientId(u.clientId);if(f!==p)return;const h=n.getBlockOrder(f);let g,m;h.indexOf(l.clientId)>h.indexOf(u.clientId)?(g=u,m=l):(g=l,m=u);const v=g,b=m,y=n.getBlock(v.clientId),k=n.getBlock(b.clientId),x=(0,r.E7)(y.name),w=(0,r.E7)(k.name),_="string"==typeof v.attributeKey?v.attributeKey:(0,c.eG)(x),A="string"==typeof b.attributeKey?b.attributeKey:(0,c.eG)(w),S=n.getBlockAttributes(v.clientId),C=S?.metadata?.bindings;if(C?.[_]){if(e.length){const{createWarningNotice:e}=t.dispatch(s.M);return void e((0,i.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"})}return void o.insertAfterBlock(v.clientId)}if(!_||!A||void 0===l.offset||void 0===u.offset)return;if(v.clientId===b.clientId&&_===A&&v.offset===b.offset)if(e.length){if((0,r.Xw)(y,"content"))return void o.replaceBlocks([v.clientId],e,e.length-1,-1)}else if(!n.getBlockOrder(v.clientId).length){let e=function(){const e=(0,r.K$)();if(n.canInsertBlockType(e,f))return(0,r.Wv)(e);const t=n.getBlockName(v.clientId);return(0,r.Wv)(t,(0,d.$)(t,S))};const t=S[_].length;if(0===v.offset&&t)return void o.insertBlocks([e()],n.getBlockIndex(v.clientId),f,!1);if(v.offset===t)return void o.insertBlocks([e()],n.getBlockIndex(v.clientId)+1,f)}const E=y.attributes[_],T=k.attributes[A];let I=(0,a.vt)({html:E}),j=(0,a.vt)({html:T});I=(0,a.TF)(I,v.offset,I.text.length),j=(0,a.TF)(j,0,b.offset);let B={...y,innerBlocks:y.clientId===k.clientId?[]:y.innerBlocks,attributes:{...y.attributes,[_]:(0,a.Ky)({value:I})}},N={...k,clientId:y.clientId===k.clientId?(0,r.Wv)(k.name).clientId:k.clientId,attributes:{...k.attributes,[A]:(0,a.Ky)({value:j})}};const M=(0,r.K$)();if(y.clientId===k.clientId&&M&&N.name!==M&&n.canInsertBlockType(M,f)){const e=(0,r.bh)(N,M);1===e?.length&&(N=e[0])}if(!e.length)return void o.replaceBlocks(n.getSelectedBlockClientIds(),[B,N]);let R;const O=[],L=[...e],P=L.shift(),D=(0,r.E7)(B.name),z=D.merge&&P.name===D.name?[P]:(0,r.bh)(P,D.name);if(z?.length){const e=z.shift();B={...B,attributes:{...B.attributes,...D.merge(B.attributes,e.attributes)}},O.push(B),R={clientId:B.clientId,attributeKey:_,offset:(0,a.vt)({html:B.attributes[_]}).text.length},L.unshift(...z)}else(0,r.C5)(B)||O.push(B),O.push(P);const V=L.pop(),F=(0,r.E7)(N.name);if(L.length&&O.push(...L),V){const e=F.merge&&F.name===V.name?[V]:(0,r.bh)(V,F.name);if(e?.length){const t=e.pop();O.push({...N,attributes:{...N.attributes,...F.merge(t.attributes,N.attributes)}}),O.push(...e),R={clientId:N.clientId,attributeKey:A,offset:(0,a.vt)({html:t.attributes[A]}).text.length}}else O.push(V),(0,r.C5)(N)||O.push(N)}else(0,r.C5)(N)||O.push(N);t.batch(()=>{o.replaceBlocks(n.getSelectedBlockClientIds(),O,O.length-1,0),R&&o.selectionChange(R.clientId,R.attributeKey,R.offset,R.offset)})},W=()=>({select:e,dispatch:t})=>{const n=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:n.clientId},end:{clientId:r.clientId}})},K=(e,t)=>({registry:n,select:o,dispatch:i})=>{const s=e,l=t,u=o.getBlock(s),d=(0,r.E7)(u.name);if(!d||"disabled"===o.getBlockEditingMode(s)||"disabled"===o.getBlockEditingMode(l))return;const f=o.getBlock(l);if(!d.merge&&(0,r.bI)(u.name,"__experimentalOnMerge")){const e=(0,r.bh)(f,d.name);if(1!==e?.length)return void i.selectBlock(u.clientId);const[t]=e;return t.innerBlocks.length<1?void i.selectBlock(u.clientId):void n.batch(()=>{i.insertBlocks(t.innerBlocks,void 0,s),i.removeBlock(l),i.selectBlock(t.innerBlocks[0].clientId);const e=o.getNextBlockClientId(s);if(e&&o.getBlockName(s)===o.getBlockName(e)){const t=o.getBlockAttributes(s),n=o.getBlockAttributes(e);Object.keys(t).every(e=>t[e]===n[e])&&(i.moveBlocksToPosition(o.getBlockOrder(e),e,s),i.removeBlock(e,!1))}})}if((0,r.Xw)(u)||d.merge&&u.name!==f.name&&(0,r.C5)(u,"content")){return void(o.isBlockSelected(s)?n.batch(()=>{i.removeBlock(s,!1),i.selectBlock(l,0)}):i.removeBlock(s,!1))}if((0,r.Xw)(f))return void i.removeBlock(l,o.isBlockSelected(l));if(!d.merge)return void((0,r.C5)(f,"content")?i.removeBlock(l,o.isBlockSelected(l)):i.selectBlock(u.clientId));const p=(0,r.E7)(f.name),{clientId:h,attributeKey:g,offset:m}=o.getSelectionStart(),v=(h===s?d:p).attributes[g],b=(h===s||h===l)&&void 0!==g&&void 0!==m&&!!v;v||("number"==typeof g?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was "+typeof g):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const y=(0,r.JB)(u),k=(0,r.JB)(f);if(b){const e=h===s?y:k,t=e.attributes[g],n=(0,a.Yr)((0,a.vt)({html:t}),c.lo,m,m);e.attributes[g]=(0,a.Ky)({value:n})}const x=u.name===f.name?[k]:(0,r.bh)(k,u.name);if(!x||!x.length)return;const w=d.merge(y.attributes,x[0].attributes);if(b){const e=(0,c.ew)(w),t=w[e],n=(0,a.vt)({html:t}),r=n.text.indexOf(c.lo),o=(0,a.TF)(n,r,r+1),s=(0,a.Ky)({value:o});w[e]=s,i.selectionChange(u.clientId,e,r,r)}i.replaceBlocks([u.clientId,f.clientId],[{...u,attributes:{...u.attributes,...w}},...x.slice(1)],0)},q=(e,t=!0)=>(0,u.privateRemoveBlocks)(e,t);function G(e,t){return q([e],t)}function X(e,t,n=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,initialPosition:n?r:null,time:Date.now()}}function Y(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Z(){return{type:"START_TYPING"}}function Q(){return{type:"STOP_TYPING"}}function J(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function ee(){return{type:"STOP_DRAGGING_BLOCKS"}}function te(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function ne(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function re(e,t,n,r){return"string"==typeof e?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var oe=(e,t,n)=>({dispatch:o})=>{const i=(0,r.K$)();if(!i)return;const s=(0,r.Wv)(i,e);return o.insertBlock(s,n,t)};function ie(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function se(e){return(0,u.__experimentalUpdateSettings)(e,{stripExperimentalSettings:!0})}function ae(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).__unstableSaveReusableBlock',{since:"7.1"}),{type:"DO_NOTHING"}}function le(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ce({history:e="merge"}={}){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",history:e}}var ue=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});const{requestIdleCallback:t=e=>setTimeout(e,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})};function de(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).__unstableSetEditorMode',{since:"7.2",hint:"The Write/Design editor tool has been removed."}),{type:"DO_NOTHING"}}function fe(){return(0,l.A)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var pe=(e,t=!0)=>({select:n,dispatch:o})=>{if(!e||!e.length)return;const i=n.getBlocksByClientId(e);if(i.some(e=>!e))return;if(i.map(e=>e.name).some(e=>!(0,r.pN)(e,"multiple",!0)))return;const s=n.getBlockRootClientId(e[0]),a=f(e),l=n.getBlockIndex(a[a.length-1]),c=i.map(e=>(0,r.GI)(e));return o.insertBlocks(c,l+1,s,t),c.length>1&&t&&o.multiSelect(c[0].clientId,c[c.length-1].clientId),c.map(e=>e.clientId)},he=e=>({select:t,dispatch:n})=>{if(!e)return;const o=t.getBlockRootClientId(e),i=t.getBlockIndex(e),{defaultBlock:s}=o?t.getBlockListSettings(o)??{}:{};if(!s)return n.insertDefaultBlock({},o,i);const a=(0,r.Wv)(s.name,{...s.attributes,...t.getBlockName(e)===s.name?(0,d.$)(s.name,t.getBlockAttributes(e)):{}});return n.insertBlock(a,i,o)},ge=e=>({select:t,dispatch:n})=>{if(!e)return;const o=t.getBlockRootClientId(e),i=t.getBlockIndex(e),{defaultBlock:s}=o?t.getBlockListSettings(o)??{}:{};if(!s)return n.insertDefaultBlock({},o,i+1);const a=(0,r.Wv)(s.name,{...s.attributes,...t.getBlockName(e)===s.name?(0,d.$)(s.name,t.getBlockAttributes(e)):{}});return n.insertBlock(a,i+1,o)};function me(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var ve=(e,t=150)=>async({dispatch:n})=>{n(me(e,!0)),await new Promise(e=>setTimeout(e,t)),n(me(e,!1))};function be(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function ye(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function ke(e){return(0,l.A)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),(0,u.editContentOnlySection)(e)}var xe=e=>({select:t,dispatch:n})=>{if(!e||"object"!=typeof e)return void console.error("Category should be an `InserterMediaCategory` object.");if(!e.name)return void console.error("Category should have a `name` that should be unique among all media categories.");if(!e.labels?.name)return void console.error("Category should have a `labels.name`.");if(!["image","audio","video"].includes(e.mediaType))return void console.error("Category should have `mediaType` property that is one of `image|audio|video`.");if(!e.fetch||"function"!=typeof e.fetch)return void console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise<InserterMediaItem[]|InserterMediaResponse>`.");const r=t.getRegisteredInserterMediaCategories();r.some(({name:t})=>t===e.name)?console.error(`A category is already registered with the same name: "${e.name}".`):r.some(({labels:{name:t}={}})=>t===e.labels?.name)?console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`):n({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function we(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function _e(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}function Ae(e){return{type:"SET_OPEN_LIST_VIEW_PANEL",clientId:e}}function Se(){return{type:"SET_ALL_LIST_VIEW_PANELS_OPEN"}}function Ce(e,t){return{type:"TOGGLE_LIST_VIEW_PANEL",clientId:e,isOpen:t}}function Ee(){return{type:"INCREMENT_LIST_VIEW_EXPAND_REVISION"}}},57091(e,t,n){"use strict";function r(e,t,n){return[...e.slice(0,n),...Array.isArray(t)?t:[t],...e.slice(n)]}function o(e,t,n,o=1){const i=[...e];return i.splice(t,o),r(i,e.slice(t,t+o),n)}n.d(t,{P:()=>r,t:()=>o})},89259(e,t,n){"use strict";n.d(t,{E:()=>r});var r="core/block-editor"},78430(e,t,n){"use strict";n.d(t,{K:()=>o,f:()=>i});var r=n(18335),o={insertUsage:{}},i={alignWide:!1,supportsLayout:!0,colors:[{name:(0,r.__)("Black"),slug:"black",color:"#000000"},{name:(0,r.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,r.__)("White"),slug:"white",color:"#ffffff"},{name:(0,r.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,r.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,r.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,r.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,r.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,r.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,r.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,r.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,r.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,r._x)("Small","font size name"),size:13,slug:"small"},{name:(0,r._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,r._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,r._x)("Large","font size name"),size:36,slug:"large"},{name:(0,r._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,r.__)("Thumbnail")},{slug:"medium",name:(0,r.__)("Medium")},{slug:"large",name:(0,r.__)("Large")},{slug:"full",name:(0,r.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,blockStatesEditingEnabled:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,r.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,r.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,r.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,r.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,r.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,r.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,r.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,r.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,r.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,r.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,r.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,r.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}}},10958(e,t,n){"use strict";n.d(t,{n:()=>u});var r=n(87761),o=n(80471),i=n(69669),s=n(7270),a=["color","border","dimensions","typography","spacing"],l={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>void 0===e.disableCustomColors?void 0:!e.disableCustomColors,"color.customGradient":e=>void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},c={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"};function u(e,t,...n){const u=(0,s.getBlockName)(e,t),d=[];if(t){let n=t;do{const t=(0,s.getBlockName)(e,n);(0,r.pN)(t,"__experimentalSettings",!1)&&d.push(n)}while(n=e.blocks.parents.get(n))}return n.map(n=>{if(a.includes(n))return void console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");let f=(0,o.W5)("blockEditor.useSetting.before",void 0,n,t,u);if(void 0!==f)return f;const p=(e=>c[e]||e)(n);for(const t of d){const n=(0,s.getBlockAttributes)(e,t);if(f=(0,i.K0)(n.settings?.blocks?.[u],p)??(0,i.K0)(n.settings,p),void 0!==f)break}const h=(0,s.getSettings)(e);if(void 0===f&&u&&(f=(0,i.K0)(h.__experimentalFeatures?.blocks?.[u],p)),void 0===f&&(f=(0,i.K0)(h.__experimentalFeatures,p)),void 0!==f)return r.G8[p]?f.custom??f.theme??f.default:f;const g=l[p]?.(h);return void 0!==g?g:"typography.dropCap"===p||void 0})}},25552(e,t,n){"use strict";n.d(t,{M:()=>p,i:()=>f});var r=n(1663),o=n(9080),i=n(92416),s=n(7270),a=n(25311),l=n(86448),c=n(72321),u=n(89259),d=n(61924),f={reducer:i.Ay,selectors:s,actions:c},p=(0,o.A)(u.E,{...f,persist:["preferences"]}),h=(0,r.ti)(u.E,{...f,persist:["preferences"]});(0,d.T)(h).registerPrivateActions(a),(0,d.T)(h).registerPrivateSelectors(l),(0,d.T)(p).registerPrivateActions(a),(0,d.T)(p).registerPrivateSelectors(l)},25311(e,t,n){"use strict";n.r(t),n.d(t,{__experimentalUpdateSettings:()=>l,clearBlockRemovalPrompt:()=>h,clearRequestedInspectorTab:()=>M,closeListViewContentPanel:()=>I,deleteStyleOverride:()=>v,editContentOnlySection:()=>_,ensureDefaultBlock:()=>f,expandBlock:()=>x,hideBlockInterface:()=>c,hideViewportModal:()=>B,openListViewContentPanel:()=>T,privateRemoveBlocks:()=>d,requestInspectorTab:()=>N,resetZoomLevel:()=>C,setBlockRemovalRules:()=>g,setInsertionPoint:()=>w,setLastFocus:()=>b,setResponsiveEditing:()=>P,setSelectedBlockStyleState:()=>R,setSelectedBlockStyleStateCanvasPreview:()=>O,setStyleOverride:()=>m,setStyleStateViewport:()=>L,setZoomLevel:()=>S,showBlockInterface:()=>u,showViewportModal:()=>j,startDragging:()=>y,stopDragging:()=>k,stopEditingContentOnlySection:()=>A,toggleBlockSpotlight:()=>E});var r=n(66786),o=n(36331),i=n(18335),s=n(87761),a=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function l(e,{stripExperimentalSettings:t=!1,reset:n=!1}={}){let o=e;Object.hasOwn(o,"__unstableIsPreviewMode")&&((0,r.A)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),o={...o},o.isPreviewMode=o.__unstableIsPreviewMode,delete o.__unstableIsPreviewMode);let i=o;if(t){i={};for(const e in o)a.includes(e)||(i[e]=o[e])}return{type:"UPDATE_SETTINGS",settings:i,reset:n}}function c(){return{type:"HIDE_BLOCK_INTERFACE"}}function u(){return{type:"SHOW_BLOCK_INTERFACE"}}var d=(e,t=!0,n=!1)=>({select:r,dispatch:o,registry:i})=>{if(!e||!e.length)return;var a;a=e,e=Array.isArray(a)?a:[a];if(!r.canRemoveBlocks(e))return;const l=!n&&r.getBlockRemovalRules();if(l){let n=function(e){const t=[],n=[...e];for(;n.length;){const{innerBlocks:e,...r}=n.shift();n.push(...e),t.push(r)}return t};const i=n(e.map(r.getBlock));let s;for(const n of l)if(s=n.callback(i),s)return void o(p(e,t,s))}let c=!1;const u=r.getBlockRootClientId(e[0]);if(u&&!(0,s.E7)(r.getBlockName(u))?.parent?.length){const t=r.getBlockOrder(u);c=t.length===e.length&&t.every(t=>e.includes(t))&&(0,s.C5)(r.__unstableGetBlockWithoutInnerBlocks(u))}t&&o.selectPreviousBlock(c?u:e[0],t),i.batch(()=>{o({type:"REMOVE_BLOCKS",clientIds:c?[u]:e}),o(f())})},f=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;const{__unstableHasCustomAppender:n}=e.getSettings();n||t.insertDefaultBlock()};function p(e,t,n){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:n}}function h(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function g(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function m(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function v(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function b(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function y(){return{type:"START_DRAGGING"}}function k(){return{type:"STOP_DRAGGING"}}function x(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function w(e){return{type:"SET_INSERTION_POINT",value:e}}function _(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function A(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var S=(e=100)=>({select:t,dispatch:n})=>{if(100!==e){const e=t.getBlockSelectionStart(),r=t.getSectionRootClientId();if(e){let s;if(r){const n=t.getBlockOrder(r);s=n?.includes(e)?e:t.getBlockParents(e).find(e=>n.includes(e))}else s=t.getBlockHierarchyRootClientId(e);s?n.selectBlock(s):n.clearSelectedBlock(),(0,o.L)((0,i.__)("You are currently in zoom-out mode."))}}n({type:"SET_ZOOM_LEVEL",zoom:e})};function C(){return{type:"RESET_ZOOM_LEVEL"}}function E(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}function T(){return{type:"OPEN_LIST_VIEW_CONTENT_PANEL"}}function I(){return{type:"CLOSE_LIST_VIEW_CONTENT_PANEL"}}function j(e){return{type:"SHOW_VIEWPORT_MODAL",clientIds:e}}function B(){return{type:"HIDE_VIEWPORT_MODAL"}}function N(e,t={}){return{type:"REQUEST_INSPECTOR_TAB",tabName:e,options:t}}function M(){return{type:"CLEAR_REQUESTED_INSPECTOR_TAB"}}function R(e,t){return{type:"SET_SELECTED_BLOCK_STYLE_STATE",clientId:e,value:t}}function O(e,t){return{type:"SET_SELECTED_BLOCK_STYLE_STATE_CANVAS_PREVIEW",clientId:e,value:t}}function L(e){return{type:"SET_STYLE_STATE_VIEWPORT",viewport:e}}function P(e){return{type:"SET_RESPONSIVE_EDITING",enabled:e}}},12634(e,t,n){"use strict";n.d(t,{Am:()=>c,Df:()=>g,Fr:()=>r,Ho:()=>p,It:()=>m,N9:()=>h,O9:()=>f,WO:()=>i,cb:()=>u,dq:()=>s,eF:()=>v,mE:()=>o,qv:()=>d,v7:()=>l,zm:()=>a});var r=Symbol("globalStylesDataKey"),o=Symbol("globalStylesLinks"),i=Symbol("selectBlockPatternsKey"),s=Symbol("reusableBlocksSelect"),a=Symbol("userPatternCategoriesSelect"),l=Symbol("sectionRootClientIdKey"),c=Symbol("mediaEditKey"),u=Symbol("getMediaSelect"),d=Symbol("isIsolatedEditor"),f=Symbol("deviceTypeKey"),p=Symbol("isNavigationOverlayContext"),h=Symbol("isNavigationPostEditor"),g=Symbol("mediaUploadOnSuccess"),m=Symbol("mediaSideloadFromUrl"),v=Symbol("openMediaEditorModal")},86448(e,t,n){"use strict";n.r(t),n.d(t,{canHostEditableRoot:()=>T,getAllPatterns:()=>z,getBlockRemovalRules:()=>M,getBlockSettings:()=>p.n,getBlockStyles:()=>Q,getBlockWithoutAttributes:()=>k,getClientIdWithClientIdsTree:()=>S,getClientIdsTree:()=>C,getClosestAllowedInsertionPoint:()=>ne,getClosestAllowedInsertionPointForPattern:()=>re,getContentLockingParent:()=>W,getEditedContentOnlySection:()=>Y,getEnabledBlockParents:()=>B,getEnabledClientIdsTree:()=>I,getExpandedBlock:()=>U,getInserterMediaCategories:()=>L,getInsertionPoint:()=>oe,getLastFocus:()=>$,getLastInsertedBlocksClientIds:()=>y,getListViewClientIdsTree:()=>j,getListViewExpandRevision:()=>ve,getParentSectionBlock:()=>q,getPatternBySlug:()=>D,getRegisteredInserterMediaCategories:()=>O,getRemovalPromptData:()=>N,getRequestedInspectorTab:()=>ke,getReusableBlocks:()=>F,getSectionRootClientId:()=>J,getSelectedBlockStyleState:()=>Ae,getStyleOverrides:()=>R,getStyleStateViewport:()=>we,getViewportModalClientIds:()=>ye,getZoomLevel:()=>te,hasAllowedPatterns:()=>P,hasBlockSpotlight:()=>ue,hasSelectedStyleState:()=>Se,isBlockHiddenAnywhere:()=>ie,isBlockHiddenAtViewport:()=>le,isBlockHiddenEverywhere:()=>se,isBlockInterfaceHidden:()=>b,isBlockParentHiddenAtViewport:()=>ce,isBlockParentHiddenEverywhere:()=>ae,isBlockSubtreeDisabled:()=>x,isContainerInsertableToInContentOnlyMode:()=>w,isDragging:()=>H,isEditLockedBlock:()=>de,isListViewContentPanelOpen:()=>ge,isListViewPanelOpened:()=>me,isLockedBlock:()=>he,isMoveLockedBlock:()=>fe,isRemoveLockedBlock:()=>pe,isResponsiveEditing:()=>_e,isSectionBlock:()=>G,isSelectedBlockStyleStateShownOnCanvas:()=>Ce,isSyncedBlock:()=>X,isWithinEditedContentOnlySection:()=>Z,isZoomOut:()=>ee,shouldRenderBlockListView:()=>be});var r=n(35705),o=n(23537),i=n(87761),s=n(14259),a=n(7270),l=n(65151),c=n(89259),u=n(61924),d=n(12634),f=n(30843),p=n(10958),{isContentBlock:h,editableRootKey:g}=(0,u.T)(i.jb),{getViewportBreakpoints:m}=(0,u.T)(s.j);function v(e,t){return t===f.B.desktop.key||void 0!==m((0,a.getSettings)(e)?.__experimentalFeatures?.viewport)[t]}function b(e){return e.isBlockInterfaceHidden}function y(e){return e?.lastBlockInserted?.clientIds}function k(e,t){return e.blocks.byClientId.get(t)}var x=(e,t)=>{const n=t=>"disabled"===(0,a.getBlockEditingMode)(e,t)&&(0,a.getBlockOrder)(e,t).every(n);return(0,a.getBlockOrder)(e,t).every(n)};function w(e,t,n){const r=h(t),o=(0,a.getBlockName)(e,n),i=h(o);return J(e)===n||i&&r}function _(e,t){return{clientId:t,innerBlocks:A(e,t)}}function A(e,t=""){return(0,a.getBlockOrder)(e,t).map(t=>_(e,t))}var S=(0,o.M)(_,e=>[e.blocks.order]),C=(0,o.M)(A,e=>[e.blocks.order]);function E(e,t,n){const r=(0,a.getBlockOrder)(e,t),o=[];for(const t of r){const r=E(e,t,n);n(e,t)?o.push({clientId:t,innerBlocks:r}):o.push(...r)}return o}var T=(0,o.M)((e,t)=>{if(!t||"default"!==(0,a.getBlockEditingMode)(e,t)||"visual"!==(0,a.getBlockMode)(e,t)||!(0,i.E7)((0,a.getBlockName)(e,t))?.[g])return!1;const n=(0,a.getBlockOrder)(e,(0,a.getBlockRootClientId)(e,t));return n.length>1&&n.every(t=>"default"===(0,a.getBlockEditingMode)(e,t))},e=>[e.blocks.order,e.blocks.parents,e.blocks.byClientId,e.blocks.blockEditingModes,e.derivedBlockEditingModes,e.blocksMode]);var I=(0,o.M)(function(e,t){return E(e,t,(e,t)=>"disabled"!==(0,a.getBlockEditingMode)(e,t))},e=>[e.blocks.order,e.derivedBlockEditingModes,e.blocks.blockEditingModes]),j=(0,o.M)(function(e,t){return E(e,t,(e,t)=>{if("disabled"!==(0,a.getBlockEditingMode)(e,t))return!0;const n=e.blocks.blockEditingModes.get(t);if(n)return"disabled"!==n;if(function(e,t){let n=e.blocks.parents.get(t);for(;void 0!==n;){const t=e.blocks.blockEditingModes.get(n);if(t)return"disabled"===t;n=e.blocks.parents.get(n)}return!1}(e,t))return!1;if(e.editedContentOnlySection){if(Z(e,t))return!1;if(!q(e,t))return!0;if(h((0,a.getBlockName)(e,t)))return!0}return!1})},e=>[e.blocks.order,e.derivedBlockEditingModes,e.blocks.blockEditingModes,e.blocks.parents,e.editedContentOnlySection,...e.editedContentOnlySection?[e.blocks.byClientId,e.blocks.attributes,e.blockListSettings,e.settings]:[]]),B=(0,o.M)((e,t,n=!1)=>(0,a.getBlockParents)(e,t,n).filter(t=>"disabled"!==(0,a.getBlockEditingMode)(e,t)),e=>[e.blocks.parents,e.blocks.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function N(e){return e.removalPromptData}function M(e){return e.blockRemovalRules}var R=(0,o.M)(e=>{const t=(0,a.getClientIdsWithDescendants)(e).reduce((e,t,n)=>(e[t]=n,e),{});return[...e.styleOverrides].sort((e,n)=>{const[,{clientId:r}]=e,[,{clientId:o}]=n;return(t[r]??-1)-(t[o]??-1)})},e=>[e.blocks.order,e.styleOverrides]);function O(e){return e.registeredInserterMediaCategories}var L=(0,o.M)(e=>{const{settings:{inserterMediaCategories:t,allowedMimeTypes:n,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:o}=e;if(!t&&!o.length||!n)return;const i=t?.map(({name:e})=>e)||[];return[...t||[],...(o||[]).filter(({name:e})=>!i.includes(e))].filter(e=>!(!r&&"openverse"===e.name)&&Object.values(n).some(t=>t.startsWith(`${e.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),P=(0,r.N)(e=>(0,o.M)((t,n=null)=>{const{getAllPatterns:r}=(0,u.T)(e(c.E)),o=r(),{allowedBlockTypes:i}=(0,a.getSettings)(t);return o.some(e=>{const{inserter:r=!0}=e;if(!r)return!1;const o=(0,l.Yb)(e);return(0,l.S0)(o,i)&&o.every(({name:e})=>(0,a.canInsertBlockType)(t,e,n))})},(t,n)=>[...(0,l.pk)(e)(t),...(0,l.LK)(e)(t,n)])),D=(0,r.N)(e=>(0,o.M)((t,n)=>{if(n?.startsWith("core/block/")){const r=parseInt(n.slice(11),10),o=(0,u.T)(e(c.E)).getReusableBlocks().find(({id:e})=>e===r);return o?(0,l.cB)(o,t.settings[d.zm]?.(e)??t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[d.WO]?.(e)??[]].find(({name:e})=>e===n)},(t,n)=>n?.startsWith("core/block/")?[(0,u.T)(e(c.E)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[d.WO]?.(e)])),z=(0,r.N)(e=>(0,o.M)(t=>[...(0,u.T)(e(c.E)).getReusableBlocks().map(n=>(0,l.cB)(n,t.settings[d.zm]?.(e)??t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[d.WO]?.(e)??[]].filter((e,t,n)=>t===n.findIndex(t=>e.name===t.name)),(0,l.pk)(e))),V=[],F=(0,r.N)(e=>t=>{const n=t.settings[d.dq];return(n?n(e):t.settings.__experimentalReusableBlocks)??V});function $(e){return e.lastFocus}function H(e){return e.isDragging}function U(e){return e.expandedBlock}var W=(e,t)=>{let n,r=t;for(;!n&&(r=e.blocks.parents.get(r));)"contentOnly"===(0,a.getTemplateLock)(e,r)&&(n=r);return n};function K(e,t){const n=(0,a.getBlockName)(e,t);if("core/block"===n)return!0;const r=(0,a.getBlockAttributes)(e,t),o="core/template-part"===n,i=e.settings?.[d.qv],s=e.settings?.disableContentOnlyForUnsyncedPatterns,l=e.settings?.disableContentOnlyForTemplateParts;if((!s&&r?.metadata?.patternName||o&&!l)&&!i)return!0;const c="contentOnly"===(0,a.getTemplateLock)(e,t),u=(0,a.getBlockRootClientId)(e,t),f="contentOnly"===(0,a.getTemplateLock)(e,u);return!(!c||f)}var q=(e,t)=>{if(Z(e,t))return;let n,r=t;for(;r=e.blocks.parents.get(r);)K(e,r)&&(n=r);return n};function G(e,t){return!Z(e,t)&&!q(e,t)&&K(e,t)}function X(e,t){const n=(0,a.getBlockName)(e,t);if("core/block"!==n&&"core/template-part"!==n)return!1;const r=(0,a.getBlockAttributes)(e,t)?.metadata?.patternName;return!(r&&G(e,t))}function Y(e){return e.editedContentOnlySection}function Z(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let n=t;for(;n=e.blocks.parents.get(n);)if(e.editedContentOnlySection===n)return!0;return!1}var Q=(0,o.M)((e,t)=>t.reduce((t,n)=>(t[n]=e.blocks.attributes.get(n)?.style,t),{}),(e,t)=>[...t.map(t=>e.blocks.attributes.get(t)?.style)]);function J(e){return e.settings?.[d.v7]}function ee(e){return"auto-scaled"===e.zoomLevel||e.zoomLevel<100}function te(e){return e.zoomLevel}function ne(e,t,n=""){const r=Array.isArray(t)?t:[t],o=t=>r.every(n=>(0,a.canInsertBlockType)(e,n,t));if(!n){if(o(n))return n;const t=J(e);return t&&o(t)?t:null}let i=n;for(;null!==i&&!o(i);){i=(0,a.getBlockRootClientId)(e,i)}return i}function re(e,t,n){const{allowedBlockTypes:r}=(0,a.getSettings)(e);if(!(0,l.S0)((0,l.Yb)(t),r))return null;return ne(e,(0,l.Yb)(t).map(({blockName:e})=>e),n)}function oe(e){return e.insertionPoint}var ie=(e,t)=>{const n=(0,a.getBlockName)(e,t);if(!(0,i.pN)(n,"visibility",!0))return!1;const r=e.blocks.attributes.get(t),o=r?.metadata?.blockVisibility;return!1===o||"object"==typeof o?.viewport&&null!==o?.viewport&&Object.values(f.B).some(t=>v(e,t.key)&&!1===o?.viewport?.[t.key])},se=(e,t)=>{const n=(0,a.getBlockName)(e,t);if(!(0,i.pN)(n,"visibility",!0))return!1;const r=e.blocks.attributes.get(t),o=r?.metadata?.blockVisibility;return!1===o},ae=(e,t)=>(0,a.getBlockParents)(e,t).some(t=>se(e,t)),le=(e,t,n)=>{if(se(e,t))return!0;const r=e.blocks.attributes.get(t),o=r?.metadata?.blockVisibility?.viewport;if("object"==typeof o&&null!==o&&"string"==typeof n){const t=n.toLowerCase();return v(e,t)&&!1===o?.[t]}return!1},ce=(e,t,n)=>(0,a.getBlockParents)(e,t).some(t=>le(e,t,n));function ue(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function de(e,t){const n=(0,a.getBlockAttributes)(e,t);return!!n?.lock?.edit}function fe(e,t){const n=(0,a.getBlockAttributes)(e,t);if(void 0!==n?.lock?.move)return!!n?.lock?.move;const r=(0,a.getBlockRootClientId)(e,t);return"all"===(0,a.getTemplateLock)(e,r)}function pe(e,t){const n=(0,a.getBlockAttributes)(e,t);if(void 0!==n?.lock?.remove)return!!n?.lock?.remove;const r=(0,a.getBlockRootClientId)(e,t),o=(0,a.getTemplateLock)(e,r);return"all"===o||"insert"===o}function he(e,t){return de(e,t)||fe(e,t)||pe(e,t)}function ge(e){return e.listViewContentPanelOpen}function me(e,t){return!!e.openedListViewPanels?.allOpen||!0===e.openedListViewPanels?.panels?.[t]}function ve(e){return e.listViewExpandRevision||0}function be(e,t){const n=(0,a.getBlockName)(e,t);if("core/navigation"===n)return!0;if(!(0,i.pN)(n,"listView"))return!1;const r=(0,a.getBlockListSettings)(e,t)?.allowedBlocks;return!(0===(0,a.getBlockOrder)(e,t).length&&(!1===r||Array.isArray(r)&&0===r.length))}function ye(e){return e.viewportModalClientIds}function ke(e){return e.requestedInspectorTab}var xe={viewport:"default",pseudo:"default"};function we(e){return e.styleStateViewport??xe.viewport}function _e(e){return e.isResponsiveEditing}var Ae=(0,o.M)((e,t)=>({...e.selectedBlockStyleState?.clientId===t?e.selectedBlockStyleState.value??xe:xe,viewport:we(e)}),e=>[e.styleStateViewport,e.selectedBlockStyleState]);function Se(e,t){const n=Ae(e,t);return n.viewport!==xe.viewport||n.pseudo!==xe.pseudo}function Ce(e,t){return e.selectedBlockStyleState?.clientId!==t||(e.selectedBlockStyleState.showStateOnCanvas??!0)}},92416(e,t,n){"use strict";n.d(t,{Ay:()=>N});var r=n(64168),o=n(29158),i=n(1663),s=n(1113),a=n(66786),l=n(87761),c=n(78430),u=n(57091),d=n(12634),f=n(61924),{isContentBlock:p}=(0,f.T)(l.jb),h=e=>e;function g(e,t=""){const n=new Map,r=[];return n.set(t,r),e.forEach(e=>{const{clientId:t,innerBlocks:o}=e;r.push(t),g(o,t).forEach((e,t)=>{n.set(t,e)})}),n}function m(e,t=""){const n=[],r=[[t,e]];for(;r.length;){const[e,t]=r.shift();t.forEach(({innerBlocks:t,...o})=>{n.push([o.clientId,e]),t?.length&&r.push([o.clientId,t])})}return n}function v(e,t=h){const n=[],r=[...e];for(;r.length;){const{innerBlocks:e,...o}=r.shift();r.push(...e),n.push([o.clientId,t(o)])}return n}function b(e){const t={},n=[...e];for(;n.length;){const{innerBlocks:e,...r}=n.shift();n.push(...e),t[r.clientId]=!0}return t}function y(e){return v(e,e=>{const{attributes:t,...n}=e;return n})}function k(e){return v(e,e=>e.attributes)}function x(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&r(e.clientIds,t.clientIds)&&(n=e.attributes,o=t.attributes,r(Object.keys(n),Object.keys(o)));var n,o}function w(e,t){const n=e.tree,r=[...t],o=[...t];for(;r.length;){const e=r.shift();r.push(...e.innerBlocks),o.push(...e.innerBlocks)}for(const e of o)n.set(e.clientId,{});for(const t of o)n.set(t.clientId,Object.assign(n.get(t.clientId),{...e.byClientId.get(t.clientId),attributes:e.attributes.get(t.clientId),innerBlocks:t.innerBlocks.map(e=>n.get(e.clientId))}))}function _(e,t,n=!1){const r=e.tree,o=new Set([]),i=new Set;for(const r of t){let t=n?r:e.parents.get(r);do{if(e.controlledInnerBlocks.has(t)){i.add(t);break}o.add(t),t=e.parents.get(t)}while(void 0!==t)}for(const e of o)r.set(e,{...r.get(e)});for(const t of o)r.get(t).innerBlocks=(e.order.get(t)||[]).map(e=>r.get(e));for(const t of i)r.set("controlled||"+t,{innerBlocks:(e.order.get(t)||[]).map(e=>r.get(e))})}var A=(0,o.h)(i.HY,e=>(t={},n)=>{const r=e(t,n);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,n.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":r.tree=new Map(r.tree),w(r,n.blocks),_(r,n.rootClientId?[n.rootClientId]:[""],!0);break;case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(n.clientId,{...r.tree.get(n.clientId),...r.byClientId.get(n.clientId),attributes:r.attributes.get(n.clientId)}),_(r,[n.clientId],!1);break;case"UPDATE_BLOCK_ATTRIBUTES":r.tree=new Map(r.tree),n.clientIds.forEach(e=>{r.tree.set(e,{...r.tree.get(e),attributes:r.attributes.get(e)})}),_(r,n.clientIds,!1);break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const e=b(n.blocks);r.tree=new Map(r.tree),n.replacedClientIds.forEach(t=>{r.tree.delete(t),e[t]||r.tree.delete("controlled||"+t)}),w(r,n.blocks),_(r,n.blocks.map(e=>e.clientId),!1);const o=[];for(const e of n.clientIds){const n=t.parents.get(e);void 0===n||""!==n&&!r.byClientId.get(n)||o.push(n)}_(r,o,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":const e=[];for(const o of n.clientIds){const n=t.parents.get(o);void 0===n||""!==n&&!r.byClientId.get(n)||e.push(n)}r.tree=new Map(r.tree),n.removedClientIds.forEach(e=>{r.tree.delete(e),r.tree.delete("controlled||"+e)}),_(r,e,!0);break;case"MOVE_BLOCKS_TO_POSITION":{const e=[];n.fromRootClientId?e.push(n.fromRootClientId):e.push(""),n.toRootClientId&&e.push(n.toRootClientId),r.tree=new Map(r.tree),_(r,e,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[n.rootClientId?n.rootClientId:""];r.tree=new Map(r.tree),_(r,e,!0);break}}return r},e=>(t,n)=>{const r=e=>{let r=e;for(let o=0;o<r.length;o++)!t.order.get(r[o])||n.keepControlledInnerBlocks&&n.keepControlledInnerBlocks[r[o]]||(r===e&&(r=[...r]),r.push(...t.order.get(r[o])));return r};if(t)switch(n.type){case"REMOVE_BLOCKS":n={...n,type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)};break;case"REPLACE_BLOCKS":n={...n,type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:r(n.clientIds)}}return e(t,n)},e=>(t,n)=>{if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);const r={};if(t.controlledInnerBlocks.size){const e=[...n.blocks];for(;e.length;){const{innerBlocks:n,...o}=e.shift();e.push(...n),t.controlledInnerBlocks.has(o.clientId)&&(r[o.clientId]=!0)}}let o=t;t.order.get(n.rootClientId)&&(o=e(o,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(n.rootClientId)}));let i=o;if(n.blocks.length){i=e(i,{...n,type:"INSERT_BLOCKS",index:0});const o=new Map(i.order);Object.keys(r).forEach(e=>{t.order.get(e)&&o.set(e,t.order.get(e))}),i.order=o,i.tree=new Map(i.tree),Object.keys(r).forEach(e=>{const n=`controlled||${e}`;t.tree.has(n)&&i.tree.set(n,t.tree.get(n))})}return i},e=>(t,n)=>{if("RESET_BLOCKS"===n.type){const r=e(void 0,{type:"INSERT_BLOCKS",rootClientId:"",blocks:n.blocks}),o=t?.controlledInnerBlocks??new Set;if(t?.order)for(const e of o){if(!r.byClientId.has(e))continue;r.controlledInnerBlocks.add(e);const n=t.order.get(e);if(!n?.length)continue;r.order.set(e,n);const o=(e,n)=>{const i=t.byClientId.get(e);if(!i)return;r.byClientId.set(e,i),r.attributes.set(e,t.attributes.get(e)),r.parents.set(e,n);const s=t.order.get(e)||[];r.order.set(e,s),s.forEach(t=>o(t,e))};n.forEach(t=>o(t,e))}for(const e of r.controlledInnerBlocks){const n=r.order.get(e);if(!n?.length)continue;const o=n.map(e=>t.tree.get(e)),i=r.tree.get(e);i&&(i.innerBlocks=o),r.tree.set("controlled||"+e,{innerBlocks:o});const s=e=>{const n=t.tree.get(e);if(!n)return;r.tree.set(e,n);(r.order.get(e)||[]).forEach(s)};n.forEach(s)}const i=t?.blockEditingModes??new Map;for(const[e,t]of i)r.tree.has(e)&&r.blockEditingModes.set(e,t);return r}return e(t,n)},function(e){let t,n;return(r,o)=>{const i=e(r,o),s=n;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type?o.history??"merge":void 0;const a="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||s;if(r===i&&!a)return void 0!==r.isPersistentChange?r:{...i,isPersistentChange:!0};const l=a?!s:!x(o,t);if(t=o,"ignore"===s)return{...i,isPersistentChange:l,lastBlockChangeHistoryMode:"ignore"};const{lastBlockChangeHistoryMode:c,...u}=i;return{...u,isPersistentChange:l}}},function(e){const t=new Set(["RECEIVE_BLOCKS"]);return(n,r)=>{const o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}},e=>(t,n)=>{if("SET_HAS_CONTROLLED_INNER_BLOCKS"===n.type){const r=t.order.get(n.clientId);if(r?.length){const r=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:n.clientId,blocks:[]});return e(r,n)}return e(t,n)}return e(t,n)})({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const n=new Map(e);return y(t.blocks).forEach(([e,t])=>{n.set(e,t)}),n}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;const{attributes:n,...r}=t.updates;if(0===Object.values(r).length)return e;const o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...r}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;const n=new Map(e);return t.replacedClientIds.forEach(e=>{n.delete(e)}),y(t.blocks).forEach(([e,t])=>{n.set(e,t)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const n=new Map(e);return t.removedClientIds.forEach(e=>{n.delete(e)}),n}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const n=new Map(e);return k(t.blocks).forEach(([e,t])=>{n.set(e,t)}),n}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;const n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),n}case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(t=>!e.get(t)))return e;let n=!1;const r=new Map(e);for(const o of t.clientIds){const i=Object.entries(t.options?.uniqueByBlock?t.attributes[o]:t.attributes??{});if(0===i.length)continue;let s=!1;const a=e.get(o),l={};i.forEach(([e,t])=>{a[e]!==t&&(s=!0,l[e]=t)}),n=n||s,s&&r.set(o,{...a,...l})}return n?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;const n=new Map(e);return t.replacedClientIds.forEach(e=>{n.delete(e)}),k(t.blocks).forEach(([e,t])=>{n.set(e,t)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const n=new Map(e);return t.removedClientIds.forEach(e=>{n.delete(e)}),n}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{const n=g(t.blocks),r=new Map(e);return n.forEach((e,t)=>{""!==t&&r.set(t,e)}),r.set("",(e.get("")??[]).concat(n[""])),r}case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,r=e.get(n)||[],o=g(t.blocks,n),{index:i=r.length}=t,s=new Map(e);return o.forEach((e,t)=>{s.set(t,e)}),s.set(n,(0,u.P)(r,o.get(n),i)),s}case"MOVE_BLOCKS_TO_POSITION":{const{fromRootClientId:n="",toRootClientId:r="",clientIds:o}=t,{index:i=e.get(r).length}=t;if(n===r){const t=e.get(r).indexOf(o[0]);if(-1===t)return e;const n=new Map(e);return n.set(r,(0,u.t)(e.get(r),t,i,o.length)),n}const s=new Map(e);return s.set(n,e.get(n)?.filter(e=>!o.includes(e))??[]),s.set(r,(0,u.P)(e.get(r),o,i)),s}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:r=""}=t,o=n[0],i=e.get(r);if(!i.length||o===i[0])return e;const s=i.indexOf(o),a=new Map(e);return a.set(r,(0,u.t)(i,s,s-1,n.length)),a}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:r=""}=t,o=n[0],i=n[n.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;const a=s.indexOf(o),l=new Map(e);return l.set(r,(0,u.t)(s,a,a+1,n.length)),l}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const r=g(t.blocks),o=new Map(e);return t.replacedClientIds.forEach(e=>{o.delete(e)}),r.forEach((e,t)=>{""!==t&&o.set(t,e)}),o.forEach((e,t)=>{const i=Object.values(e).reduce((e,t)=>t===n[0]?[...e,...r.get("")]:(-1===n.indexOf(t)&&e.push(t),e),[]);o.set(t,i)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const n=new Map(e);return t.removedClientIds.forEach(e=>{n.delete(e)}),n.forEach((e,r)=>{const o=e?.filter(e=>!t.removedClientIds.includes(e))??[];o.length!==e.length&&n.set(r,o)}),n}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{const n=new Map(e);return m(t.blocks).forEach(([e,t])=>{n.set(e,t)}),n}case"INSERT_BLOCKS":{const n=new Map(e);return m(t.blocks,t.rootClientId||"").forEach(([e,t])=>{n.set(e,t)}),n}case"MOVE_BLOCKS_TO_POSITION":{const n=new Map(e);return t.clientIds.forEach(e=>{n.set(e,t.toRootClientId||"")}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const n=new Map(e);return t.replacedClientIds.forEach(e=>{n.delete(e)}),m(t.blocks,e.get(t.clientIds[0])).forEach(([e,t])=>{n.set(e,t)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const n=new Map(e);return t.removedClientIds.forEach(e=>{n.delete(e)}),n}}return e},controlledInnerBlocks(e=new Set,{type:t,clientId:n,hasControlledInnerBlocks:r}){if("SET_HAS_CONTROLLED_INNER_BLOCKS"===t){if(r)return e.has(n)?e:new Set(e).add(n);if(!e.has(n))return e;const t=new Set(e);return t.delete(n),t}return e},blockEditingModes(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;const n=new Map(e);return n.delete(t.clientId),n}}return e}});function S(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":{if(-1===t.clientIds.indexOf(e.clientId))return e;const n=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return n?n.clientId===e.clientId?e:{clientId:n.clientId}:{}}}return e}var C=(0,i.HY)({blocks:A,isDragging:function(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e},isTyping:function(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isBlockInterfaceHidden:function(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e},draggedBlocks:function(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},selection:function(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":const{selectionStart:n,selectionEnd:o}=t;return{selectionStart:n,selectionEnd:o};case"MULTI_SELECT":const i={selectionStart:{clientId:t.start},selectionEnd:{clientId:t.end}};return r(e,i)?e:i;case"RESET_BLOCKS":const s=e?.selectionStart?.clientId,a=e?.selectionEnd?.clientId;if(!s&&!a)return e;if(!t.blocks.some(e=>e.clientId===s))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(e=>e.clientId===a))return{...e,selectionEnd:e.selectionStart}}const n=S(e.selectionStart,t),o=S(e.selectionEnd,t);return n===e.selectionStart&&o===e.selectionEnd?e:{selectionStart:n,selectionEnd:o}},isMultiSelecting:function(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(e=!0,t){return"TOGGLE_SELECTION"===t.type?t.isSelectionEnabled:e},initialPosition:function(e=null,t){return"REPLACE_BLOCKS"===t.type&&void 0!==t.initialPosition||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e},blocksMode:function(e={},t){if("TOGGLE_BLOCK_MODE"===t.type){const{clientId:n}=t;return{...e,[n]:e[n]&&"html"===e[n]?"visual":"html"}}return e},blockListSettings:(e=new Map,t)=>{switch(t.type){case"REPLACE_BLOCKS":{const n=new Set,r=[...t.blocks];for(;r.length;){const e=r.shift();n.add(e.clientId),r.push(...e.innerBlocks)}const o=new Map(e);for(const e of t.clientIds)n.has(e)||o.delete(e);return o}case"REMOVE_BLOCKS":{const n=new Map(e);for(const e of t.clientIds)n.delete(e);return n}case"UPDATE_BLOCK_LIST_SETTINGS":{const n=("string"==typeof t.clientId?[[t.clientId,t.settings]]:Object.entries(t.clientId)).filter(([t,n])=>n?!r(e.get(t),n):e.has(t));if(!n.length)return e;const o=new Map(e);for(const[e,t]of n)t?o.set(e,t):o.delete(e);return o}}return e},insertionPoint:function(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e},insertionCue:function(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{const{rootClientId:n,index:o,__unstableWithInserter:i,operation:s,nearestSide:a}=t,l={rootClientId:n,index:o,__unstableWithInserter:i,operation:s,nearestSide:a};return r(e,l)?e:l}case"HIDE_INSERTION_POINT":return null}return e},template:function(e={isValid:!0},t){return"SET_TEMPLATE_VALIDITY"===t.type?{...e,isValid:t.isValid}:e},settings:function(e=c.f,t){if("UPDATE_SETTINGS"===t.type){const n=t.reset?{...c.f,...t.settings}:{...e,...t.settings};return Object.defineProperty(n,"__unstableIsPreviewMode",{get(){return(0,a.A)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),n}return e},preferences:function(e=c.K,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{const n=t.blocks.reduce((e,n)=>{const{attributes:r,name:o}=n;let i=o;const a=(0,s.L)(l.M_).getActiveBlockVariation(o,r);return a?.name&&(i+="/"+a.name),"core/block"===o&&(i+="/"+r.ref),{...e,[i]:{time:t.time,count:e[i]?e[i].count+1:1}}},e.insertUsage);return{...e,insertUsage:n}}}return e},lastBlockAttributesChange:function(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((e,n)=>({...e,[n]:t.options?.uniqueByBlock?t.attributes[n]:t.attributes}),{})}return e},lastFocus:function(e=!1,t){return"LAST_FOCUS"===t.type?t.lastFocus:e},expandedBlock:function(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":const{clientId:n,isHighlighted:r}=t;return r?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},lastBlockInserted:function(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;const n=t.blocks.map(e=>e.clientId),r=t.meta?.source;return{clientIds:n,source:r};case"RESET_BLOCKS":return{}}return e},editedContentOnlySection:function(e,t){if("EDIT_CONTENT_ONLY_SECTION"===t.type)return t.clientId;if(!e)return e;switch(t.type){case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":if(t.clientIds.includes(e))return;break;case"RESET_BLOCKS":if(!b(t.blocks)[e])return}return e},blockVisibility:function(e={},t){return"SET_BLOCK_VISIBILITY"===t.type?{...e,...t.updates}:e},viewportModalClientIds:function(e=null,t){switch(t.type){case"SHOW_VIEWPORT_MODAL":return t.clientIds;case"HIDE_VIEWPORT_MODAL":return null}return e},styleOverrides:function(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{const n=new Map(e);return n.delete(t.id),n}}return e},removalPromptData:function(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":const{clientIds:e,selectPrevious:n,message:r}=t;return{clientIds:e,selectPrevious:n,message:r};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e},blockRemovalRules:function(e=!1,t){return"SET_BLOCK_REMOVAL_RULES"===t.type?t.rules:e},registeredInserterMediaCategories:function(e=[],t){return"REGISTER_INSERTER_MEDIA_CATEGORY"===t.type?[...e,t.category]:e},zoomLevel:function(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e},hasBlockSpotlight:function(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":const{clientId:n,hasBlockSpotlight:r}=t;return r?n:e===n?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e},openedListViewPanels:function(e={allOpen:!1,panels:{}},t){switch(t.type){case"SET_OPEN_LIST_VIEW_PANEL":return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case"SET_ALL_LIST_VIEW_PANELS_OPEN":return{allOpen:!0,panels:{}};case"TOGGLE_LIST_VIEW_PANEL":return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":{if(!t.clientIds||0===t.clientIds.length)return e;const n={...e.panels};let r=!1;return t.clientIds.forEach(e=>{e in n&&(delete n[e],r=!0)}),r?{...e,panels:n}:e}}return e},listViewExpandRevision:function(e=0,t){return"INCREMENT_LIST_VIEW_EXPAND_REVISION"===t.type?e+1:e},listViewContentPanelOpen:function(e=!1,t){switch(t.type){case"OPEN_LIST_VIEW_CONTENT_PANEL":return!0;case"CLOSE_LIST_VIEW_CONTENT_PANEL":case"CLEAR_SELECTED_BLOCK":return!1}return e},requestedInspectorTab:function(e=null,t){switch(t.type){case"REQUEST_INSPECTOR_TAB":return{tabName:t.tabName,options:t.options};case"CLEAR_REQUESTED_INSPECTOR_TAB":return null}return e},selectedBlockStyleState:function(e=void 0,t){switch(t.type){case"SET_SELECTED_BLOCK_STYLE_STATE":{if(!t.clientId||!t.value)return;const n=e?.clientId!==t.clientId||(e.showStateOnCanvas??!0),r=e?.clientId===t.clientId?e.value:{};return{clientId:t.clientId,showStateOnCanvas:n,value:{pseudo:"default",...r,...t.value}}}case"SET_SELECTED_BLOCK_STYLE_STATE_CANVAS_PREVIEW":{if(!t.clientId||"boolean"!=typeof t.value)return e;const n=e?.clientId===t.clientId?e.value:{};return{clientId:t.clientId,showStateOnCanvas:t.value,value:{pseudo:"default",...n}}}case"SELECT_BLOCK":case"SELECTION_CHANGE":{const n=t.clientId??t.start?.clientId,r=t.clientId??t.end?.clientId;if(e?.clientId&&(n!==r||e.clientId!==n))return;break}case"RESET_SELECTION":if(e?.clientId&&e.clientId!==t.selectionStart?.clientId)return;break;case"CLEAR_SELECTED_BLOCK":case"MULTI_SELECT":return;case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":if(e?.clientId&&t.clientIds?.includes(e.clientId))return;break;case"RESET_BLOCKS":if(e?.clientId&&!b(t.blocks)[e.clientId])return}return e},styleStateViewport:function(e="default",t){return"SET_STYLE_STATE_VIEWPORT"===t.type?t.viewport??"default":e},isResponsiveEditing:function(e=!1,t){return"SET_RESPONSIVE_EDITING"===t.type?t.enabled:e}});function E(e,t){if(""===t){const n=e.blocks.tree.get(t);if(!n)return;return{clientId:"",...n}}if(!e.blocks.controlledInnerBlocks.has(t))return e.blocks.tree.get(t);const n=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:n?.innerBlocks}}function T(e,t,n){const r=E(e,t);if(r&&(n(r),r?.innerBlocks?.length))for(const t of r?.innerBlocks)T(e,t.clientId,n)}function I(e,t,n){if(!n.length)return;let r=e.blocks.parents.get(t);for(;void 0!==r;){if(n.includes(r))return r;r=e.blocks.parents.get(r)}}function j(e,t=""){const n=e?.zoomLevel<100||"auto-scaled"===e?.zoomLevel,r=new Map,o=e.settings?.[d.v7],i=e.blocks.order.get(o),s=Array.from(e.blocks.blockEditingModes).some(([,e])=>"disabled"===e),a=[],l=[];e.blocks.controlledInnerBlocks.forEach(t=>{const n=e.blocks.byClientId?.get(t);"core/template-part"===n?.name&&a.push(t),"core/block"===n?.name&&l.push(t)});const c=Array.from(e.blockListSettings).flatMap(([e,t])=>"contentOnly"===t?.templateLock?[e]:[]),u=e.settings?.[d.qv],f=e.settings?.disableContentOnlyForUnsyncedPatterns,h=u||f?[]:Array.from(e.blocks.attributes.keys()).filter(t=>e.blocks.attributes.get(t)?.metadata?.patternName),g=e.settings?.disableContentOnlyForTemplateParts,m=[...c,...h,...u||g?[]:a];return T(e,t,t=>{const{clientId:a,name:c}=t,u=!!e.editedContentOnlySection;let d=!1;if(!u||(d=a===e.editedContentOnlySection||!!I(e,a,[e.editedContentOnlySection]),d)){if(!e.blocks.blockEditingModes.has(a)){if(s){let t,n=e.blocks.parents.get(a);for(;void 0!==n&&(e.blocks.blockEditingModes.has(n)&&(t=e.blocks.blockEditingModes.get(n)),!t);)n=e.blocks.parents.get(n);if("disabled"===t)return void r.set(a,"disabled")}if(n)return a===o||i?.length&&i.includes(a)?void r.set(a,"contentOnly"):void r.set(a,"disabled");if(l.length){if(l.includes(a))return I(e,a,l)?void r.set(a,"disabled"):void 0;const n=I(e,a,l);if(n)return I(e,n,l)?void r.set(a,"disabled"):function(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}(t)?void r.set(a,"contentOnly"):void r.set(a,"disabled")}if(u&&d)r.set(a,"default");else if(m.length){!!I(e,a,m)&&(p(c)?r.set(a,"contentOnly"):r.set(a,"disabled"))}}}else r.set(a,"disabled")}),r}function B({prevState:e,nextState:t,addedBlocks:n,removedClientIds:r}){const o=e.derivedBlockEditingModes;let i;return r?.forEach(t=>{T(e,t,e=>{o.has(e.clientId)&&(i||(i=new Map(o)),i.delete(e.clientId))})}),n?.forEach(e=>{const n=j(t,e.clientId);n.size&&(i=i?new Map([...i?.size?i:[],...n]):new Map([...o?.size?o:[],...n]))}),i}var N=(0,o.h)(function(e){return(t,n)=>{const r=e(t,n);if("SET_EDITOR_MODE"!==n.type&&r===t)return t;switch(n.type){case"REMOVE_BLOCKS":{const e=B({prevState:t,nextState:r,removedClientIds:n.clientIds});if(e)return{...r,derivedBlockEditingModes:e??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const e=B({prevState:t,nextState:r,addedBlocks:n.blocks});if(e)return{...r,derivedBlockEditingModes:e??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{const e=r.settings?.disableContentOnlyForUnsyncedPatterns;if(e)break;const o=[],i=[];for(const e of n?.clientIds){const s=n.options?.uniqueByBlock?n.attributes[e]:n.attributes;if(!s)break;s.metadata?.patternName&&!t.blocks.attributes.get(e)?.metadata?.patternName?o.push(r.blocks.tree.get(e)):s.metadata&&!s.metadata?.patternName&&t.blocks.attributes.get(e)?.metadata?.patternName&&i.push(e)}if(!o?.length&&!i?.length)break;const s=B({prevState:t,nextState:r,addedBlocks:o,removedClientIds:i});if(s)return{...r,derivedBlockEditingModes:s??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{const e=[],o=[],i="string"==typeof n.clientId?{[n.clientId]:n.settings}:n.clientId;for(const n in i){const i="contentOnly"!==t.blockListSettings.get(n)?.templateLock&&"contentOnly"===r.blockListSettings.get(n)?.templateLock,s="contentOnly"===t.blockListSettings.get(n)?.templateLock&&"contentOnly"!==r.blockListSettings.get(n)?.templateLock;i?e.push(r.blocks.tree.get(n)):s&&o.push(n)}if(!e.length&&!o.length)break;const s=B({prevState:t,nextState:r,addedBlocks:e,removedClientIds:o});if(s)return{...r,derivedBlockEditingModes:s??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{const e=E(r,n.clientId);if(!e)break;const o=B({prevState:t,nextState:r,removedClientIds:[n.clientId],addedBlocks:[e]});if(o)return{...r,derivedBlockEditingModes:o??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{const e=B({prevState:t,nextState:r,addedBlocks:n.blocks,removedClientIds:n.clientIds});if(e)return{...r,derivedBlockEditingModes:e??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{const e=t.blocks.order.get(n.rootClientId),o=B({prevState:t,nextState:r,addedBlocks:n.blocks,removedClientIds:e});if(o)return{...r,derivedBlockEditingModes:o??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{const e=n.clientIds.map(e=>r.blocks.byClientId.get(e)),o=B({prevState:t,nextState:r,addedBlocks:e,removedClientIds:n.clientIds});if(o)return{...r,derivedBlockEditingModes:o??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":if(t?.settings?.[d.v7]!==r?.settings?.[d.v7]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[d.qv]!=!!r?.settings?.[d.qv]||!!t?.settings?.disableContentOnlyForTemplateParts!=!!r?.settings?.disableContentOnlyForTemplateParts)return{...r,derivedBlockEditingModes:j(r)};break;case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:j(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}},function(e){return(t,n)=>{const r=e(t,n);return t?(r.automaticChangeStatus=t.automaticChangeStatus,"MARK_AUTOMATIC_CHANGE"===n.type?{...r,automaticChangeStatus:"pending"}:"MARK_AUTOMATIC_CHANGE_FINAL"===n.type&&"pending"===t.automaticChangeStatus?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||"final"!==r.automaticChangeStatus&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}})(C)},7270(e,t,n){"use strict";n.r(t),n.d(t,{__experimentalGetActiveBlockIdByBlockNames:()=>At,__experimentalGetAllowedBlocks:()=>tt,__experimentalGetAllowedPatterns:()=>lt,__experimentalGetBlockListSettingsForBlocks:()=>mt,__experimentalGetDirectInsertBlock:()=>rt,__experimentalGetGlobalBlocksByName:()=>B,__experimentalGetLastBlockAttributeChanges:()=>yt,__experimentalGetParsedPattern:()=>ot,__experimentalGetPatternTransformItems:()=>dt,__experimentalGetPatternsByBlockTypes:()=>ut,__experimentalGetReusableBlockTitle:()=>vt,__unstableGetBlockWithoutInnerBlocks:()=>_,__unstableGetClientIdWithClientIdsTree:()=>S,__unstableGetClientIdsTree:()=>C,__unstableGetContentLockingParent:()=>Rt,__unstableGetLastBlockChangeHistoryMode:()=>gt,__unstableGetSelectedBlocksWithPartialSelection:()=>pe,__unstableGetTemporarilyEditingAsBlocks:()=>Ot,__unstableGetVisibleBlocks:()=>Tt,__unstableHasActiveBlockOverlayActive:()=>It,__unstableIsFullySelected:()=>ce,__unstableIsLastBlockChangeIgnored:()=>bt,__unstableIsSelectionCollapsed:()=>ue,__unstableIsSelectionMergeable:()=>fe,__unstableIsWithinBlockOverlay:()=>jt,__unstableSelectionHasUnmergeableBlock:()=>de,areInnerBlocksControlled:()=>_t,canEditBlock:()=>We,canInsertBlockType:()=>De,canInsertBlocks:()=>ze,canLockBlockType:()=>Ke,canMoveBlock:()=>He,canMoveBlocks:()=>Ue,canRemoveBlock:()=>Fe,canRemoveBlocks:()=>$e,didAutomaticChange:()=>xt,getAdjacentBlockClientId:()=>G,getAllowedBlocks:()=>et,getBlock:()=>w,getBlockAttributes:()=>x,getBlockCount:()=>R,getBlockEditingMode:()=>Bt,getBlockHierarchyRootClientId:()=>K,getBlockIndex:()=>ge,getBlockInsertionPoint:()=>Be,getBlockListSettings:()=>ft,getBlockMode:()=>Ae,getBlockName:()=>y,getBlockNamesByClientId:()=>M,getBlockOrder:()=>he,getBlockParents:()=>U,getBlockParentsByBlockName:()=>W,getBlockRootClientId:()=>H,getBlockSelectionEnd:()=>D,getBlockSelectionStart:()=>P,getBlockTransformItems:()=>Qe,getBlocks:()=>A,getBlocksByClientId:()=>N,getBlocksByName:()=>j,getClientIdsOfDescendants:()=>E,getClientIdsWithDescendants:()=>T,getDirectInsertBlock:()=>nt,getDraggedBlockClientIds:()=>Ee,getFirstMultiSelectedBlockClientId:()=>ne,getGlobalBlockCount:()=>I,getHoveredBlockClientId:()=>Et,getInserterItems:()=>Ze,getLastMultiSelectedBlockClientId:()=>re,getLowestCommonAncestorWithSelectedBlock:()=>q,getMultiSelectedBlockClientIds:()=>ee,getMultiSelectedBlocks:()=>te,getMultiSelectedBlocksEndClientId:()=>le,getMultiSelectedBlocksStartClientId:()=>ae,getNextBlockClientId:()=>Y,getPatternsByBlockTypes:()=>ct,getPreviousBlockClientId:()=>X,getSelectedBlock:()=>$,getSelectedBlockClientId:()=>F,getSelectedBlockClientIds:()=>J,getSelectedBlockCount:()=>z,getSelectedBlocksInitialCaretPosition:()=>Z,getSelectionEnd:()=>L,getSelectionStart:()=>O,getSettings:()=>pt,getTemplate:()=>Re,getTemplateLock:()=>Oe,hasBlockMovingClientId:()=>kt,hasDraggedInnerBlock:()=>ye,hasInserterItems:()=>Je,hasMultiSelection:()=>xe,hasSelectedBlock:()=>V,hasSelectedInnerBlock:()=>be,isAncestorBeingDragged:()=>Ie,isAncestorMultiSelected:()=>se,isBlockBeingDragged:()=>Te,isBlockHighlighted:()=>wt,isBlockInsertionPointVisible:()=>Ne,isBlockMultiSelected:()=>ie,isBlockSelected:()=>me,isBlockValid:()=>k,isBlockVisible:()=>Ct,isBlockWithinSelection:()=>ke,isCaretWithinFormattedText:()=>je,isDraggingBlocks:()=>Ce,isFirstMultiSelectedBlock:()=>oe,isGroupable:()=>Mt,isLastBlockChangePersistent:()=>ht,isMultiSelecting:()=>we,isSelectionEnabled:()=>_e,isTyping:()=>Se,isUngroupable:()=>Nt,isValidTemplate:()=>Me,wasBlockJustInserted:()=>St});var r=n(87761),o=n(80471),i=n(69651),s=n(4157),a=n(66786),l=n(35705),c=n(23537),u=n(65151),d=n(76684),f=n(89259),p=n(61924),h=n(86448),{isContentBlock:g}=(0,p.T)(r.jb),m=[],v=new Set,b={[u.s4]:!0};function y(e,t){const n=e.blocks.byClientId.get(t);return n?n.name:null}function k(e,t){const n=e.blocks.byClientId.get(t);return!!n&&n.isValid}function x(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function w(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var _=(0,c.M)((e,t)=>{const n=e.blocks.byClientId.get(t);return n?{...n,attributes:x(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function A(e,t){const n=t&&_t(e,t)?"controlled||"+t:t||"";return e.blocks.tree.get(n)?.innerBlocks||m}function S(e,t){return(0,a.A)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),(0,h.getClientIdWithClientIdsTree)(e,t)}function C(e,t){return(0,a.A)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),(0,h.getClientIdsTree)(e,t)}var E=(0,c.M)((e,t)=>{t=Array.isArray(t)?[...t]:[t];const n=[];for(const r of t){const t=e.blocks.order.get(r);t&&n.push(...t)}let r=0;for(;r<n.length;){const t=n[r],o=e.blocks.order.get(t);o&&n.splice(r+1,0,...o),r++}return n},e=>[e.blocks.order]),T=e=>E(e,""),I=(0,c.M)((e,t)=>{const n=T(e);if(!t)return n.length;let r=0;for(const o of n){e.blocks.byClientId.get(o).name===t&&r++}return r},e=>[e.blocks.order,e.blocks.byClientId]),j=(0,c.M)((e,t)=>{if(!t)return m;const n=Array.isArray(t)?t:[t],r=T(e).filter(t=>{const r=e.blocks.byClientId.get(t);return n.includes(r.name)});return r.length>0?r:m},e=>[e.blocks.order,e.blocks.byClientId]);function B(e,t){return(0,a.A)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),j(e,t)}var N=(0,c.M)((e,t)=>(Array.isArray(t)?t:[t]).map(t=>w(e,t)),(e,t)=>(Array.isArray(t)?t:[t]).map(t=>e.blocks.tree.get(t))),M=(0,c.M)((e,t)=>N(e,t).filter(Boolean).map(e=>e.name),(e,t)=>N(e,t));function R(e,t){return he(e,t).length}function O(e){return e.selection.selectionStart}function L(e){return e.selection.selectionEnd}function P(e){return e.selection.selectionStart.clientId}function D(e){return e.selection.selectionEnd.clientId}function z(e){const t=ee(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function V(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function F(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:r}=t;return r&&r===n.clientId?r:null}function $(e){const t=F(e);return t?w(e,t):null}function H(e,t){return e.blocks.parents.get(t)??null}var U=(0,c.M)((e,t,n=!1)=>{const r=[];let o=t;for(;o=e.blocks.parents.get(o);)r.push(o);return r.length?n?r:r.reverse():m},e=>[e.blocks.parents]),W=(0,c.M)((e,t,n,r=!1)=>{const o=U(e,t,r),i=Array.isArray(n)?e=>n.includes(e):e=>n===e;return o.filter(t=>i(y(e,t)))},e=>[e.blocks.parents]);function K(e,t){let n,r=t;do{n=r,r=e.blocks.parents.get(r)}while(r);return n}function q(e,t){const n=F(e),r=[...U(e,t),t],o=[...U(e,n),n];let i;const s=Math.min(r.length,o.length);for(let e=0;e<s&&r[e]===o[e];e++)i=r[e];return i}function G(e,t,n=1){if(void 0===t&&(t=F(e)),void 0===t&&(t=n<0?ne(e):re(e)),!t)return null;const r=H(e,t);if(null===r)return null;const{order:o}=e.blocks,i=o.get(r),s=i.indexOf(t)+1*n;return s<0||s===i.length?null:i[s]}function X(e,t){return G(e,t,-1)}function Y(e,t){return G(e,t,1)}function Z(e){return e.initialPosition}function Q(e){const{selectionStart:t,selectionEnd:n}=e.selection,r=t.clientId,o=n.clientId;if(r&&o&&r!==o)return U(e,o).includes(r)?r:U(e,r).includes(o)?o:void 0}var J=(0,c.M)(e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(!t.clientId||!n.clientId)return m;if(t.clientId===n.clientId)return[t.clientId];const r=Q(e);if(r)return[r];const o=H(e,t.clientId);if(null===o)return m;const i=he(e,o),s=i.indexOf(t.clientId),a=i.indexOf(n.clientId);return s>a?i.slice(a,s+1):i.slice(s,a+1)},e=>[e.blocks.order,e.blocks.parents,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function ee(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?m:J(e)}var te=(0,c.M)(e=>{const t=ee(e);return t.length?t.map(t=>w(e,t)):m},e=>[...J.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function ne(e){return ee(e)[0]||null}function re(e){const t=ee(e);return t[t.length-1]||null}function oe(e,t){return ne(e)===t}function ie(e,t){return-1!==ee(e).indexOf(t)}var se=(0,c.M)((e,t)=>{let n=t,r=!1;for(;n&&!r;)n=H(e,n),r=ie(e,n);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function ae(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function le(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function ce(e){if(Q(e))return!0;const t=O(e),n=L(e);return!t.attributeKey&&!n.attributeKey&&void 0===t.offset&&void 0===n.offset}function ue(e){const t=O(e),n=L(e);return!!t&&!!n&&t.clientId===n.clientId&&t.attributeKey===n.attributeKey&&t.offset===n.offset}function de(e){return J(e).some(t=>{const n=y(e,t);return!(0,r.E7)(n).merge})}function fe(e,t){const n=O(e),o=L(e);if(n.clientId===o.clientId)return!1;if(!n.attributeKey||!o.attributeKey||void 0===n.offset||void 0===o.offset)return!1;const i=H(e,n.clientId);if(i!==H(e,o.clientId))return!1;const s=he(e,i);let a,l;s.indexOf(n.clientId)>s.indexOf(o.clientId)?(a=o,l=n):(a=n,l=o);const c=t?l.clientId:a.clientId,u=t?a.clientId:l.clientId,d=y(e,c);if(!(0,r.E7)(d).merge)return!1;const f=w(e,u);if(f.name===d)return!0;const p=(0,r.bh)(f,d);return p&&p.length}var pe=e=>{const t=O(e),n=L(e);if(t.clientId===n.clientId)return m;if(!t.attributeKey||!n.attributeKey||void 0===t.offset||void 0===n.offset)return m;const r=H(e,t.clientId);if(r!==H(e,n.clientId))return m;const o=he(e,r),i=o.indexOf(t.clientId),a=o.indexOf(n.clientId),[l,c]=i>a?[n,t]:[t,n],u=w(e,l.clientId),d=w(e,c.clientId),f=u.attributes[l.attributeKey],p=d.attributes[c.attributeKey];let h=(0,s.vt)({html:f}),g=(0,s.vt)({html:p});return h=(0,s.TF)(h,0,l.offset),g=(0,s.TF)(g,c.offset,g.text.length),[{...u,attributes:{...u.attributes,[l.attributeKey]:(0,s.Ky)({value:h})}},{...d,attributes:{...d.attributes,[c.attributeKey]:(0,s.Ky)({value:g})}}]};function he(e,t){return e.blocks.order.get(t||"")||m}function ge(e,t){return he(e,H(e,t)).indexOf(t)}function me(e,t){const{selectionStart:n,selectionEnd:r}=e.selection;return n.clientId===r.clientId&&(!!t&&n.clientId===t)}var ve=(0,c.M)(e=>{const t=new Set;for(const n of J(e)){let r=n;for(;(r=e.blocks.parents.get(r))&&!t.has(r);)t.add(r)}return t},e=>J.getDependants(e));function be(e,t,n=!1){if(!t)return!1;const r=J(e);return!!r.length&&(n?ve(e).has(t):r.some(n=>H(e,n)===t))}function ye(e,t,n=!1){return he(e,t).some(t=>Te(e,t)||n&&ye(e,t,n))}function ke(e,t){if(!t)return!1;const n=ee(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function xe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId!==n.clientId}function we(e){return e.isMultiSelecting}function _e(e){return e.isSelectionEnabled}function Ae(e,t){return e.blocksMode[t]||"visual"}function Se(e){return e.isTyping}function Ce(e){return!!e.draggedBlocks.length}function Ee(e){return e.draggedBlocks}function Te(e,t){return e.draggedBlocks.includes(t)}function Ie(e,t){if(!Ce(e))return!1;return U(e,t).some(t=>Te(e,t))}function je(){return(0,a.A)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Be=(0,c.M)(e=>{let t,n;const{insertionCue:r,selection:{selectionEnd:o}}=e;if(null!==r)return r;const{clientId:i}=o;return i?(t=H(e,i)||void 0,n=ge(e,o.clientId)+1):n=he(e).length,{rootClientId:t,index:n}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Ne(e){return null!==e.insertionCue}function Me(e){return e.template.isValid}function Re(e){return e.settings.template}function Oe(e,t){if(!t)return e.settings.templateLock??!1;const n=ft(e,t)?.templateLock;return("contentOnly"!==n||e.editedContentOnlySection!==t)&&(n??!1)}var Le=(e,t,n=null)=>{let o,i;if(t&&"object"==typeof t?(o=t,i=t.name):(o=(0,r.E7)(t),i=t),!o)return!1;const{allowedBlockTypes:s}=pt(e);if(!(0,u.yO)(s,i,!0))return!1;const a=(Array.isArray(o.parent)?o.parent:[]).concat(Array.isArray(o.ancestor)?o.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let t=n,r=!1;do{if(a.includes(y(e,t))){r=!0;break}t=e.blocks.parents.get(t)}while(t);return r}return!0},Pe=(e,t,n=null)=>{if(e.settings.isPreviewMode)return!1;if(!Le(e,t,n))return!1;let i;t&&"object"==typeof t?(i=t,t=i.name):i=(0,r.E7)(t);const s=Oe(e,n);if(s&&"contentOnly"!==s)return!1;if(Ve(e,n))return!1;const a=Bt(e,n??""),l=!!(0,h.isSectionBlock)(e,n),c=l?n:(0,h.getParentSectionBlock)(e,n),d=!!c;if("disabled"===a&&(!d||t!==(0,r.K$)()))return!1;const f=ft(e,n);if(n&&void 0===f)return!1;const p=g(t);if(d&&!p)return!1;if(d&&"core/block"===y(e,c))return!1;if(d&&(l||"contentOnly"===a||"disabled"===a)&&!(0,h.isContainerInsertableToInContentOnlyMode)(e,t,n)){const o=(0,r.K$)();if(t!==o)return!1;if(!he(e,n).some(t=>y(e,t)===o))return!1}const m=y(e,n),v=(0,r.E7)(m),b=v?.allowedBlocks;let k=(0,u.yO)(b,t);if(!1!==k){const e=f?.allowedBlocks,n=(0,u.yO)(e,t);null!==n&&(k=n)}const x=i.parent,_=(0,u.yO)(x,m);let A=!0;const S=i.ancestor;if(S){A=[n,...U(e,n)].some(t=>(0,u.yO)(S,y(e,t)))}const C=A&&(null===k&&null===_||!0===k||!0===_);return C?(0,o.W5)("blockEditor.__unstableCanInsertBlockType",C,i,n,{getBlock:w.bind(null,e),getBlockParentsByBlockName:W.bind(null,e)}):C},De=(0,l.N)(e=>(0,c.M)(Pe,(t,n,r)=>(0,u.LK)(e)(t,r)));function ze(e,t,n=null){return t.every(t=>De(e,y(e,t),n))}function Ve(e,t){return!!t&&"core/html"===y(e,t)}function Fe(e,t){if(e.settings.isPreviewMode)return!1;if(Ve(e,H(e,t)))return!1;const n=x(e,t);if(null===n)return!0;if(void 0!==n.lock?.remove)return!n.lock.remove;const o=H(e,t),i=Oe(e,o);if(i&&"contentOnly"!==i)return!1;const s=!!(0,h.isSectionBlock)(e,o),a=s?o:(0,h.getParentSectionBlock)(e,o),l=!!a,c=g(y(e,t));if(l&&!c)return!1;if(l&&"core/block"===y(e,a))return!1;const u=Bt(e,o),d=y(e,t),f=(0,r.K$)();if(l&&(s||d===f||"contentOnly"===u)&&!(0,h.isContainerInsertableToInContentOnlyMode)(e,y(e,t),o)){if(d===f){return he(e,o).filter(t=>y(e,t)===f).length>1}return!1}return"disabled"!==u}function $e(e,t){return t.every(t=>Fe(e,t))}function He(e,t){if(e.settings.isPreviewMode)return!1;if(Ve(e,H(e,t)))return!1;const n=x(e,t);if(null===n)return!0;if(void 0!==n.lock?.move)return!n.lock.move;const r=H(e,t);if("all"===Oe(e,r))return!1;const o=!!(0,h.getParentSectionBlock)(e,t),i=g(y(e,t));if(o&&!i)return!1;const s=!!(0,h.isSectionBlock)(e,r),a=Bt(e,r);return!(o&&(s||"contentOnly"===a)&&!(0,h.isContainerInsertableToInContentOnlyMode)(e,y(e,t),r))&&"disabled"!==Bt(e,r)}function Ue(e,t){return t.every(t=>He(e,t))}function We(e,t){if(e.settings.isPreviewMode)return!1;const n=x(e,t);if(null===n)return!0;const{lock:r}=n;return!r?.edit}function Ke(e,t){return!e.settings.isPreviewMode&&(!!(0,r.pN)(t,"lock",!0)&&!!e.settings?.canLockBlocks)}function qe(e,t){return e.preferences.insertUsage?.[t]??null}var Ge=(e,t,n)=>!!(0,r.pN)(t,"inserter",!0)&&Pe(e,t.name,n),Xe=(e,t)=>{if(!e)return t;const n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},Ye=(e,{buildScope:t="inserter"})=>n=>{const o=n.name;let i=!1;(0,r.pN)(n.name,"multiple",!0)||(i=N(e,T(e)).some(({name:e})=>e===n.name));const{time:s,count:a=0}=qe(e,o)||{},l={id:o,name:n.name,title:n.title,icon:n.icon,isDisabled:i,frecency:Xe(s,a)};if("transform"===t)return l;const c=[...(0,r.oO)(n.name,"inserter"),...(0,r.oO)(n.name,"block").filter(e=>"core/heading"===n.name&&["h1","h2","h3","h4","h5","h6"].includes(e.name)).map(e=>({...e,isSearchOnly:!0}))];return{...l,initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,parent:n.parent,ancestor:n.ancestor,variations:c,example:n.example,utility:1}},Ze=(0,l.N)(e=>(0,c.M)((t,n=null,o=b)=>{const s=Pe(t,"core/block",n)?(0,p.T)(e(f.E)).getReusableBlocks().map(e=>{const n=e.wp_pattern_sync_status?i.A:{src:i.A,foreground:"var(--wp-block-synced-color)"},r=(0,u.cB)(e),{time:o,count:s=0}=qe(t,r.name)||{},a=Xe(o,s);return{id:r.name,name:"core/block",initialAttributes:{ref:e.id},title:r.title,icon:n,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:a,content:r.content,get blocks(){return(0,u.mU)(r).blocks},syncStatus:r.syncStatus}}):[],a=Ye(t,{buildScope:"inserter"});let l=(0,r.li)().filter(e=>(0,r.pN)(e,"inserter",!0)).map(a);if(!1!==o[u.s4])l=l.filter(e=>Ge(t,e,n));else{const{getClosestAllowedInsertionPoint:r}=(0,p.T)(e(f.E));l=l.filter(e=>Le(t,e,n)&&null!==r(e.name,n)).map(e=>({...e,isAllowedInCurrentRoot:Ge(t,e,n)}))}const c=l.reduce((e,n)=>{const{variations:r=[]}=n;if(r.some(({isDefault:e})=>e)||e.push(n),r.length){const o=((e,t)=>n=>{const r=`${t.id}/${n.name}`,{time:o,count:i=0}=qe(e,r)||{};return{...t,id:r,icon:n.icon||t.icon,title:n.title||t.title,description:n.description||t.description,category:n.category||t.category,example:n.hasOwnProperty("example")?n.example:t.example,initialAttributes:{...t.initialAttributes,...n.attributes},innerBlocks:n.innerBlocks,innerContent:n.innerContent,keywords:n.keywords||t.keywords,frecency:Xe(o,i),isSearchOnly:n.isSearchOnly}})(t,n);e.push(...r.map(o))}return e},[]),{core:d,noncore:h}=c.reduce((e,t)=>{const{core:n,noncore:r}=e;return(t.name.startsWith("core/")?n:r).push(t),e},{core:[],noncore:[]});return[...[...d,...h],...s]},(t,n)=>[(0,r.li)(),(0,p.T)(e(f.E)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...(0,u.LK)(e)(t,n)])),Qe=(0,l.N)(e=>(0,c.M)((e,t,n=null)=>{const o=Array.isArray(t)?t:[t],i=Ye(e,{buildScope:"transform"}),s=(0,r.li)().filter(t=>Ge(e,t,n)).map(i),a=Object.fromEntries(Object.entries(s).map(([,e])=>[e.name,e])),l=(0,r.Fk)(o).reduce((t,n)=>{const o=a[n?.name];if(!o)return t;const{variationName:i}=n;if(!i)return t.push(o),t;const s=(0,r.oO)(o.name,"transform")?.find(({name:e})=>e===i);return s?(t.push(((e,t)=>n=>{const r=`${t.id}/${n.name}`,{time:o,count:i=0}=qe(e,r)||{};return{...t,id:r,icon:n.icon||t.icon,title:n.title||t.title,frecency:Xe(o,i),variationName:n.name}})(e,o)(s)),t):(t.push(o),t)},[]);return(0,d.M)(l,e=>e.frecency,"desc")},(t,n,o)=>[(0,r.li)(),t.preferences.insertUsage,...(0,u.LK)(e)(t,o)])),Je=(e,t=null)=>{if((0,r.li)().some(n=>Ge(e,n,t)))return!0;return Pe(e,"core/block",t)},et=(0,l.N)(e=>(0,c.M)((e,t=null)=>{if(!t)return;const n=(0,r.li)().filter(n=>Ge(e,n,t));return Pe(e,"core/block",t)&&n.push("core/block"),n},(t,n)=>[(0,r.li)(),...(0,u.LK)(e)(t,n)])),tt=(0,c.M)((e,t=null)=>((0,a.A)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),et(e,t)),(e,t)=>et.getDependants(e,t));function nt(e,t=null){if(!t)return;const{defaultBlock:n,directInsert:r}=e.blockListSettings.get(t)??{};return n&&r?n:void 0}function rt(e,t=null){return(0,a.A)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),nt(e,t)}var ot=(0,l.N)(e=>(t,n)=>{const r=(0,p.T)(e(f.E)).getPatternBySlug(n);return r?(0,u.mU)(r):null}),it=e=>(t,n)=>[...(0,u.pk)(e)(t),...(0,u.LK)(e)(t,n)],st=new WeakMap;function at(e){let t=st.get(e);return t||(t={...e,get blocks(){return(0,u.mU)(e).blocks}},st.set(e,t)),t}var lt=(0,l.N)(e=>(0,c.M)((t,n=null,r=b)=>{const{getAllPatterns:o}=(0,p.T)(e(f.E)),i=o(),{allowedBlockTypes:s}=pt(t);return i.filter(({inserter:e=!0})=>!!e).map(at).filter(e=>(0,u.S0)((0,u.Yb)(e),s)).filter(e=>(0,u.Yb)(e).every(({blockName:e})=>!1!==r[u.s4]?De(t,e,n):Le(t,e,n)))},it(e))),ct=(0,l.N)(e=>(0,c.M)((t,n,r=null)=>{if(!n)return m;const o=e(f.E).__experimentalGetAllowedPatterns(r),i=Array.isArray(n)?n:[n],s=o.filter(e=>e?.blockTypes?.some?.(e=>i.includes(e)));return 0===s.length?m:s},(t,n,r)=>it(e)(t,r))),ut=(0,l.N)(e=>((0,a.A)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(f.E).getPatternsByBlockTypes)),dt=(0,l.N)(e=>(0,c.M)((t,n,r=null)=>{if(!n)return m;if(n.some(({clientId:e,innerBlocks:n})=>n.length||_t(t,e)))return m;const o=Array.from(new Set(n.map(({name:e})=>e)));return e(f.E).getPatternsByBlockTypes(o,r)},(t,n,r)=>it(e)(t,r)));function ft(e,t){return e.blockListSettings.get(t)}function pt(e){return e.settings}function ht(e){return e.blocks.isPersistentChange}function gt(e){return e.blocks.lastBlockChangeHistoryMode?e.blocks.lastBlockChangeHistoryMode:!1===e.blocks.isPersistentChange?"merge":"persistent"}var mt=(0,c.M)((e,t=[])=>{const n={};for(const r of t){const t=ft(e,r);t&&(n[r]=t)}return n},e=>[e.blockListSettings]),vt=(0,l.N)(e=>(0,c.M)((t,n)=>{(0,a.A)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});const r=(0,p.T)(e(f.E)).getReusableBlocks().find(e=>e.id===n);return r?r.title?.raw:null},()=>[(0,p.T)(e(f.E)).getReusableBlocks()]));function bt(e){return e.blocks.isIgnoredChange}function yt(e){return e.lastBlockAttributesChange}function kt(){return(0,a.A)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function xt(e){return!!e.automaticChangeStatus}function wt(e,t){return e.highlightedBlock===t}function _t(e,t){return e.blocks.controlledInnerBlocks.has(t)}var At=(0,c.M)((e,t)=>{if(!t.length)return null;const n=F(e);if(t.includes(y(e,n)))return n;const r=ee(e),o=W(e,n||r[0],t);return o?o[o.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function St(e,t,n){const{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===n}function Ct(e,t){return e.blockVisibility?.[t]??!0}function Et(){(0,a.A)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var Tt=(0,c.M)(e=>{const t=new Set(Object.keys(e.blockVisibility).filter(t=>e.blockVisibility[t]));return 0===t.size?v:t},e=>[e.blockVisibility]);function It(e,t){if("default"!==Bt(e,t))return!1;if(!We(e,t))return!0;if((0,h.isZoomOut)(e)){const n=(0,h.getSectionRootClientId)(e);if(n){const r=he(e,n);if(r?.includes(t))return!0}else if(t&&!H(e,t))return!0}return!(0,r.pN)(y(e,t),"__experimentalDisableBlockOverlay",!1)&&_t(e,t)&&!me(e,t)&&!be(e,t,!0)}function jt(e,t){let n=e.blocks.parents.get(t);for(;n;){if(It(e,n))return!0;n=e.blocks.parents.get(n)}return!1}function Bt(e,t=""){return null===t&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blocks.blockEditingModes.has(t)?e.blocks.blockEditingModes.get(t):"default"}var Nt=(0,l.N)(e=>(t,n="")=>{const o=n||F(t);if(!o)return!1;if((0,h.isSectionBlock)(t,o))return!1;const{getGroupingBlockName:i}=e(r.M_),s=w(t,o),a=i();return s&&(s.name===a||(0,r.E7)(s.name)?.transforms?.ungroup)&&!!s.innerBlocks.length&&Fe(t,o)}),Mt=(0,l.N)(e=>(t,n=m)=>{const{getGroupingBlockName:o}=e(r.M_),i=o(),s=n?.length?n:J(t),a=s?.length?H(t,s[0]):void 0;return De(t,i,a)&&s.length&&$e(t,s)}),Rt=(e,t)=>((0,a.A)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),(0,h.getContentLockingParent)(e,t));function Ot(e){return(0,a.A)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),(0,h.getEditedContentOnlySection)(e)}},65151(e,t,n){"use strict";n.d(t,{LK:()=>k,S0:()=>b,Yb:()=>m,cB:()=>h,mU:()=>g,pk:()=>y,s4:()=>d,yO:()=>v});var r=n(87761),o=n(33691),i=n(12634),s=n(61924),a=n(89259),l=n(86448),c=n(7270),u=n(32903),d=Symbol("isFiltered"),f=new WeakMap,p=new WeakMap;function h(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:u.KG.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(e=>{const n=t.find(({id:t})=>t===e);return n?n.slug:e}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function g(e){let t=f.get(e);return t||(t=function(e){const t=(0,r.qg)(e.content,{__unstableSkipMigrationLogs:!0});return 1===t.length&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}(e),f.set(e,t)),t}function m(e){let t=p.get(e);return t||(t=(0,o.q)(e.content),t=t.filter(e=>null!==e.blockName),p.set(e,t)),t}var v=(e,t,n=null)=>"boolean"==typeof e?e:Array.isArray(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n,b=(e,t)=>{if("boolean"==typeof t)return t;const n=[...e];for(;n.length>0;){const e=n.shift();if(!v(t,e.name||e.blockName,!0))return!1;e.innerBlocks?.forEach(e=>{n.push(e)})}return!0},y=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings[i.zm]?.(e)??t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[i.WO]?.(e),t.blockPatterns,(0,s.T)(e(a.E)).getReusableBlocks()],k=()=>(e,t)=>[e.blockListSettings.get(t),e.blocks.byClientId.get(t),e.blocks.order.get(t||""),e.settings.allowedBlockTypes,e.settings.templateLock,(0,c.getBlockEditingMode)(e,t),(0,l.getSectionRootClientId)(e),(0,l.isSectionBlock)(e,t),(0,l.getParentSectionBlock)(e,t)]},82710(e,t,n){"use strict";n.d(t,{KV:()=>s,pI:()=>i,sQ:()=>a});var r="core/pattern-overrides",o={};function i(e,t,n){let r;if(t)for(const[n,o]of Object.entries(e))t.includes(n)&&(void 0===r&&(r={}),r[n]=o);if(n)for(const t of n)t?.usesContext?.forEach(t=>{t in e&&(void 0===r&&(r={}),r[t]=e[t])});return r??o}function s(e){return e?.__default?.source===r}function a(e,t){if(!s(e))return e;const n={};for(const o of t){const t=e[o]?e[o]:{source:r};n[o]=t}return n}},91772(e,t,n){"use strict";function r(e,t){if("string"!=typeof e)return;const n=`var:preset|${t}|`;if(e.startsWith(n))return e.slice(n.length);const r=`--wp--preset--${t}--`,o=e.match(new RegExp(`^var\\(${r}([^)]+)\\)$`));return o?.[1]}n.d(t,{U:()=>r})},59900(e,t,n){"use strict";n.d(t,{J9:()=>d,Nq:()=>l,Oz:()=>c,_V:()=>a,gD:()=>h,s8:()=>u,vz:()=>s});var r=".block-editor-block-list__block",o=".block-list-appender",i=".block-editor-button-block-appender";function s(e,t){return e.closest(r)===t.closest(r)}function a(e,t){return t.closest([r,o,i].join(","))===e}function l(e,t){const{anchorNode:n,focusNode:r}=e;if(!n||!r)return;const o=n.nodeType===n.ELEMENT_NODE?n:n.parentElement,i=o?.closest('[contenteditable="true"]');return i&&i!==t&&i.contains(r)?i:void 0}function c(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(r);return t?t.id.slice(6):void 0}function u(e,t){const n=Math.min(e.left,t.left),r=Math.max(e.right,t.right),o=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(n,i,r-n,o-i)}function d(e){const t=e.ownerDocument.defaultView;if(!t)return!1;if(e.hasAttribute("data-visually-hidden"))return!1;const n=e.getBoundingClientRect();if(0===n.width||0===n.height)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});const r=t.getComputedStyle(e);return"none"!==r.display&&"hidden"!==r.visibility&&"0"!==r.opacity}function f(e){const t=window.getComputedStyle(e);return"auto"===t.overflowX||"scroll"===t.overflowX||"auto"===t.overflowY||"scroll"===t.overflowY}var p=["core/navigation"];function h(e){const t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let n=e.getBoundingClientRect();const r=e.getAttribute("data-type");if(r&&p.includes(r)){const t=[e];let r;for(;r=t.pop();)if(!f(r))for(const e of r.children)if(d(e)){n=u(n,e.getBoundingClientRect()),t.push(e)}}const o=Math.max(n.left,0),i=Math.min(n.right,t.innerWidth);return n=new window.DOMRectReadOnly(o,n.top,i-o,n.height),n}},45627(e,t,n){"use strict";function r(e,t){if(!e)return;t(0);const n=function(e,t){const n=e.scrollHeight>e.clientHeight;let r=0,o=2400,i=r;const s=window.getComputedStyle(e);let a=parseFloat(s.paddingLeft)||0,l=parseFloat(s.paddingRight)||0;const c=document.createRange();c.selectNodeContents(e);let u=e;const d=e.parentElement;if(d){const e=window.getComputedStyle(d);"flex"===e?.display&&(u=d,a+=parseFloat(e.paddingLeft)||0,l+=parseFloat(e.paddingRight)||0)}let f=u.clientHeight;for(;r<=o;){const s=Math.floor((r+o)/2);t(s);const d=c.getBoundingClientRect().width,p=e.scrollWidth<=u.clientWidth&&d<=u.clientWidth-a-l,h=n||e.scrollHeight<=u.clientHeight||e.scrollHeight<=f;u.clientHeight>f&&(f=u.clientHeight),p&&h?(i=s,r=s+1):o=s-1}return c.detach(),i}(e,t);return t(n),n}n.d(t,{m:()=>r})},64764(e,t,n){"use strict";n.d(t,{m:()=>o});var r=n(87761);function o(e,t){const n=(0,r.wG)((0,r.XD)("from",t),e=>"block"===e.type&&e.isMultiBlock&&e.blocks.includes("*"));if(n?.__experimentalConvert){const t=n.__experimentalConvert(e);return Array.isArray(t)?t:[t]}return(0,r.bh)(e,t)}},92190(e,t,n){"use strict";function r(e,t,n=["top","bottom","left","right"]){let r,o;return n.forEach(n=>{const i=function(e,t,n){const r="top"===n||"bottom"===n,{x:o,y:i}=e,s=r?o:i,a=r?i:o,l=r?t.left:t.top,c=r?t.right:t.bottom,u=t[n];let d;return d=s>=l&&s<=c?s:s<c?l:c,Math.sqrt((s-d)**2+(a-u)**2)}(e,t,n);(void 0===r||i<r)&&(r=i,o=n)}),[r,o]}function o(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}function i(e,t){return t.top<=e.y&&t.bottom>=e.y}n.d(t,{P7:()=>o,WE:()=>r,Yx:()=>i})},6780(e,t,n){"use strict";n.d(t,{S:()=>s,h:()=>i});var r=n(71886),o=new WeakSet;function i(){return(0,r.A)(e=>(o.add(e),()=>{o.delete(e)}),[])}function s(e){let{target:t}=e;for("IFRAME"===t?.nodeName&&(t=t.contentDocument?.activeElement);t;){if(o.has(t))return!0;t=t.parentElement}return!1}},69669(e,t,n){"use strict";function r(e,t,n){const r=Array.isArray(t)?[...t]:[t],o=Array.isArray(e)?[...e]:{...e},i=r.pop();let s=o;for(const e of r){const t=s[e];s[e]=s=Array.isArray(t)?[...t]:{...t}}return s[i]=n,o}n.d(t,{K0:()=>o,nv:()=>r});var o=(e,t,n)=>{const r=Array.isArray(t)?t:t.split(".");let o=e;return r.forEach(e=>{o=o?.[e]}),o??n}},28628(e,t,n){"use strict";n.d(t,{I:()=>r});var r=(e,t)=>t?(e.sort(({id:e},{id:n})=>{let r=t.indexOf(e),o=t.indexOf(n);return r<0&&(r=t.length),o<0&&(o=t.length),r-o}),e):e},74220(e,t,n){"use strict";n.d(t,{O:()=>o});var r=n(44099);function o({clipboardData:e}){let t="",n="";try{t=e.getData("text/plain"),n=e.getData("text/html")}catch{return}n=function(e){const t="\x3c!--StartFragment--\x3e",n=e.indexOf(t);if(!(n>-1))return e;const r=(e=e.substring(n+20)).indexOf("\x3c!--EndFragment--\x3e");return r>-1&&(e=e.substring(0,r)),e}(n),n=function(e){const t="<meta charset='utf-8'>";return e.startsWith(t)?e.slice(22):e}(n);const o=(0,r.$)(e);return o.length&&!function(e,t){if(t&&1===e?.length&&0===e[0].type.indexOf("image/")){const e=/<\s*img\b/gi;if(1!==t.match(e)?.length)return!0;const n=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(n))return!0}return!1}(o,n)?{files:o}:{html:n,plainText:t,files:[]}}},65282(e,t,n){"use strict";n.d(t,{eG:()=>s,ew:()=>i,lo:()=>o});var r=n(4157),o="†";function i(e){if(e)return Object.keys(e).find(t=>{const n=e[t];return("string"==typeof n||n instanceof r.EF)&&-1!==n.toString().indexOf(o)})}function s(e){for(const[t,n]of Object.entries(e.attributes))if("rich-text"===n.source||"html"===n.source)return t}},33240(e,t,n){"use strict";n.d(t,{$:()=>o});var r=n(87761);function o(e,t){if(!t)return{};const n=new Set((0,r.oA)(e,"content"));return n.add("metadata"),Object.fromEntries(Object.entries(t).filter(([e])=>!n.has(e)))}},76684(e,t,n){"use strict";function r(e,t){return"string"==typeof e&&"string"==typeof t?e>t:Number(e)>Number(t)}n.d(t,{M:()=>o});function o(e,t,n="asc"){return e.concat().sort(((e,t,n)=>(o,i)=>{let s,a;if("function"==typeof e?(s=e(o),a=e(i)):(s=o[e],a=i[e]),r(s,a))return"asc"===n?1:-1;if(r(a,s))return"asc"===n?-1:1;const l=t.findIndex(e=>e===o),c=t.findIndex(e=>e===i);return l>c?1:c>l?-1:0})(t,e,n))}},30570(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(92813),o=n(26068),i=n(65389),s=n(99310),a=new Map,l=[{type:"type",content:"body"},{type:"type",content:"html"},{type:"pseudo-class",content:":root"},{type:"pseudo-class",content:":where(body)"},{type:"pseudo-class",content:":where(:root)"},{type:"pseudo-class",content:":where(html)"}];function c({css:e,ignoredSelectors:t=[],baseURL:n},a="",c){if(!a&&!n)return e;try{const u=[...t,...c?.ignoredSelectors??[],a];return new o([a&&i({prefix:a,transform(e,t,n){if(u.some(e=>e instanceof RegExp?t.match(e):t.includes(e)))return t;return l.some(e=>t.startsWith(e.content))?function(e,t){const n=r.qw(t);let o=-1;for(let e=n.findLastIndex(({content:e,type:t})=>l.some(n=>e===n.content&&t===n.type))+1;e<n.length;e++)if("combinator"===n[e].type){o=e;break}const i=r.qw(e);return n.splice(-1===o?n.length:o,0,{type:"combinator",content:" ",pos:[0,0]},...i),r.As(n)}(e,t):n}}),n&&s({rootUrl:n})].filter(Boolean)).process(e,{}).css}catch(e){return e instanceof o?console.warn("wp.blockEditor.transformStyles Failed to transform CSS.",e.message+"\n"+e.showSourceCode(!1)):console.warn("wp.blockEditor.transformStyles Failed to transform CSS.",e),null}}var u=(e,t="",n)=>{let r=a.get(t);return r||(r=new WeakMap,a.set(t,r)),e.map(e=>{let o=r.get(e);return o||(o=c(e,t,n),r.set(e,o)),o})}},91477(e,t,n){"use strict";n.d(t,{g:()=>u});var r=n(2376),o=n(87761),i=n(79027),s=n(19623),a=n(18335),l=n(18124),c=n(25552);function u(){const{getBlockName:e}=(0,s.A)(c.M),{getBlockType:t}=(0,s.A)(o.M_),{createSuccessNotice:n}=(0,i.A)(l.M);return(0,r.useCallback)((r,o)=>{let i="";if("copyStyles"===r)i=(0,a.__)("Styles copied to clipboard.");else if(1===o.length){const n=o[0],s=t(e(n))?.title;i="copy"===r?(0,a.nv)(
217 // Translators: %s: Name of the block being copied, e.g. "Paragraph".
218 // Translators: %s: Name of the block being copied, e.g. "Paragraph".
219 (0,a.__)('Copied "%s" to clipboard.'),s):(0,a.nv)(
220 // Translators: %s: Name of the block being cut, e.g. "Paragraph".
221 // Translators: %s: Name of the block being cut, e.g. "Paragraph".
222 (0,a.__)('Moved "%s" to clipboard.'),s)}else i="copy"===r?(0,a.nv)(
223 // Translators: %d: Number of blocks being copied.
224 // Translators: %d: Number of blocks being copied.
225 (0,a._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",o.length),o.length):(0,a.nv)(
226 // Translators: %d: Number of blocks being moved.
227 // Translators: %d: Number of blocks being moved.
228 (0,a._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",o.length),o.length);n(i,{type:"snackbar"})},[n,e,t])}},22494(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(18335),o=n(59070),i=n(87761),s=n(93236);function a({attributes:e,setAttributes:t,onRemove:n,insertBlocksAfter:a,mergeBlocks:l}){const c=(0,o.Z0)();return(0,s.jsx)("pre",{...c,children:(0,s.jsx)(o.sD,{tagName:"code",identifier:"content",value:e.content,onChange:e=>t({content:e}),onRemove:n,onMerge:l,placeholder:(0,r.__)("Write code…"),"aria-label":(0,r.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:a?()=>a((0,i.Wv)((0,i.K$)())):void 0,style:{whiteSpace:"break-spaces"}})})}},43102(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>f,metadata:()=>a,name:()=>u,settings:()=>d});var r=n(18335),o=n(98756),i=n(6036),s=n(22494),a=n(7486),l=n(27141),c=n(3581),{name:u}=a,d={icon:o.A,example:{attributes:{
229 // translators: Preserve \n markers for line breaks
230 content:(0,r.__)("// 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:c.A,edit:s.A,save:l.A},f=()=>(0,i.A)({name:u,metadata:a,settings:d})},27141(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(59070),o=n(24325),i=n(93236);function s({attributes:e}){return(0,i.jsx)("pre",{...r.Z0.save(),children:(0,i.jsx)(r.sD.Content,{tagName:"code",value:(0,o.i)("string"==typeof e.content?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}))})})}},3581(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(87761),o=n(4157),i=n(29856),s={from:[{type:"input",regExp:/^```$/,transform:()=>(0,r.Wv)("core/code")},{type:"block",blocks:["core/paragraph"],transform:e=>{const{content:t}=e;return(0,r.Wv)("core/code",{...e,...(0,i.b)(e,"core/code"),content:t})}},{type:"block",blocks:["core/html"],__experimentalConvert(e){const{attributes:t}=e;return(0,r.Wv)("core/code",{...t,...(0,i.b)(t,"core/code"),content:(0,o.Ky)({value:(0,o.vt)({text:(0,r.F8)(e)})})})}},{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:e=>{const{content:t}=e;return(0,r.Wv)("core/paragraph",{...(0,i.b)(e,"core/paragraph"),content:t})}}]}},24325(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(29158);function o(e){return(0,r.h)(i,s)(e||"")}function i(e){return e.replace(/\[/g,"&#91;")}function s(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}},75043(e,t,n){"use strict";n.d(t,{A:()=>x});var r=n(59070),o=n(18335),i=n(54646),s=n(73596),a=n(13233),l=n(66927),c=n(93970),u=n(43730),d=n(65627),f=n(19623),p=n(8312),h=n(54552),g=n(31311),m=n(17728),v=n(48638),b=n(3754),y=n(93236);function k({clientId:e}){const t=(0,d.A)(),{canIndent:n,canOutdent:u}=(0,f.A)(t=>{const n=t(r.M_);return{canIndent:!!(0,b.ER)(n,e),canOutdent:!!(0,b.rj)(n,e)}},[e]);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.A,{icon:(0,o.V8)()?l.A:c.A,title:(0,o.__)("Outdent"),shortcut:p.dz.shift("Tab"),description:(0,o.__)("Outdent list item"),disabled:!u,onClick:()=>(0,b.qx)(t)}),(0,y.jsx)(i.A,{icon:(0,o.V8)()?s.A:a.A,title:(0,o.__)("Indent"),shortcut:"Tab",description:(0,o.__)("Indent list item"),disabled:!n,onClick:()=>(0,b.rL)(t,e)})]})}function x({attributes:e,setAttributes:t,clientId:n,mergeBlocks:i}){const{placeholder:s,content:a}=e,l=(0,r.Z0)(),c=(0,r.yK)(l,{renderAppender:!1,__unstableDisableDropZone:!0}),d=(0,h.A)(n),f=(0,g.A)(),p=(0,m.A)(n),b=(0,v.A)(n,i);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("li",{...c,children:[(0,y.jsx)(r.sD,{ref:(0,u.A)([d,f,p]),identifier:"content",tagName:"div",onChange:e=>t({content:e}),value:a,"aria-label":(0,o.__)("List text"),placeholder:s||(0,o.__)("List"),onMerge:b}),c.children]}),(0,y.jsx)(r.mC,{group:"block",children:(0,y.jsx)(k,{clientId:n})})]})}},54552(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(87761),o=n(71886),i=n(4157),s=n(65627),a=n(59070),l=n(3754),c=n(91190),{subscribeOwnedListener:u}=(0,c.T)(i.jb);function d(e){const t=(0,s.A)();return(0,o.A)(n=>u(n,"beforeinput",function(n){if(n.defaultPrevented||"insertParagraph"!==n.inputType)return;const o=t.select(a.M_),{getBlock:i,getBlockAttributes:s,getBlockRootClientId:c,getBlockIndex:u}=o,{replaceBlocks:d,selectionChange:f}=t.dispatch(a.M_),{content:p}=s(e)??{};if(p?.length)return;if(n.preventDefault(),!!(0,l.rj)(o,e))return void(0,l.qx)(t);const h=i(c(e)),g=u(e),m=(0,r.JB)({...h,innerBlocks:h.innerBlocks.slice(0,g)}),v=(0,r.Wv)((0,r.K$)()),b=[...h.innerBlocks[g].innerBlocks[0]?.innerBlocks||[],...h.innerBlocks.slice(g+1)],y=b.length?[(0,r.JB)({...h,innerBlocks:b})]:[];d(h.clientId,[m,v,...y],1),f(v.clientId)},!0),[e,t])}},48638(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(65627),o=n(59070),i=n(87761),s=n(3754);function a(e,t){const n=(0,r.A)();return r=>{const a=n.select(o.M_),{getPreviousBlockClientId:l,getNextBlockClientId:c,getBlockOrder:u,getBlockIndex:d,getBlockRootClientId:f,getBlockName:p,getBlock:h}=a,{mergeBlocks:g,moveBlocksToPosition:m,removeBlock:v,insertBlocks:b}=n.dispatch(o.M_);function y(e,t){n.batch(()=>{const[n]=u(t);n&&(l(t)!==e||u(e).length?(0,s.rj)(a,t)===e?m(u(n),n,f(t),d(t)+1):m(u(n),n,f(e)):m([n],t,e));const r=f(t);g(e,t),u(r).length||v(r,!1)})}if(r){const t=u(e)[0];let r,o=e;if(t)r=u(t)[0];else for(;!(r=c(o));){const e=(0,s.rj)(a,o);if(!e)break;o=e}if(r)y(e,r);else{const e=f(o),t=c(e);if(t)if("core/list"===p(t))n.batch(()=>{m(u(t),t,e),v(t,!1)});else{const r=(0,i.bh)(h(t),"core/list"),o=r?.[0]?.innerBlocks;o?.length&&n.batch(()=>{b(o,void 0,e,!1),v(t,!1)})}}}else{const o=l(e);if(o){const t=function e(t){const n=u(t);return n.length?e(n[n.length-1]):t}(o);return void y(t,e)}const c=(0,s.rj)(a,e);if(c)return void y(c,e);const d=u(e);(0,i.C5)(h(e),"content")&&d.length>0?n.batch(()=>{(0,s.qx)(n,u(d[0])),v(e,!0)}):t(r)}}}},17728(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(71886),o=n(8312),i=n(59070),s=n(65627),a=n(19623),l=n(3754);function c(e){const t=(0,s.A)(),n=(0,a.A)(t=>{const{hasMultiSelection:n,getMultiSelectedBlockClientIds:r,getBlockName:o}=t(i.M_);if(!n())return!1;const s=r();return s[0]===e&&s.every(e=>"core/list-item"===o(e))},[e]);return(0,r.A)(e=>{if(!n)return;function r(n){const{keyCode:r,shiftKey:i,altKey:s,metaKey:a,ctrlKey:c}=n;r!==o.wn||n.defaultPrevented||s||a||c||n.target.contains(e)&&(i?(0,l.qx)(t)&&n.preventDefault():(0,l.rL)(t)&&n.preventDefault())}const{ownerDocument:i}=e;return i.addEventListener("keydown",r,!0),()=>{i.removeEventListener("keydown",r,!0)}},[n,t])}},31311(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(71886),o=n(4157),i=n(8312),s=n(59070),a=n(65627),l=n(72317),c=n(3754),u=n(91190),{subscribeOwnedListener:d}=(0,u.T)(o.jb);function f(){const e=(0,a.A)();return(0,r.A)(t=>d(t,"keydown",function(n){const{keyCode:r,shiftKey:o,altKey:a,metaKey:u,ctrlKey:d}=n;if(n.defaultPrevented||r!==i.t6&&r!==i.wn||a||u||d)return;const{getSelectionStart:f,getSelectionEnd:p}=e.select(s.M_);if(!(0===f().offset&&0===p().offset||r===i.wn&&(0,l.A)(t)))return;(o?c.qx:c.rL)(e)&&n.preventDefault()},!0),[e])}},93093(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>p,metadata:()=>s,name:()=>d,settings:()=>f});var r=n(98969),o=n(59070),i=n(6036),s=n(3341),a=n(75043),l=n(27820),c=n(66792),u=n(91190),{name:d}=s,f={icon:r.A,edit:a.A,save:l.A,merge:(e,t)=>({...e,content:e.content+t.content}),transforms:c.A,[(0,u.T)(o.jb).requiresWrapperOnCopy]:!0,__experimentalLabel(e,{context:t}){const{content:n}=e,r=e?.metadata?.name,o=n?.trim().length>0;return"list-view"===t&&(r||o)?r||n:"breadcrumb"===t&&r?r:void 0}},p=()=>(0,i.A)({name:d,metadata:s,settings:f})},27820(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(59070),o=n(93236);function i({attributes:e}){return(0,o.jsxs)("li",{...r.Z0.save(),children:[(0,o.jsx)(r.sD.Content,{value:e.content}),(0,o.jsx)(r.Tj.Content,{})]})}},66792(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(87761),o={to:[{type:"block",blocks:["core/paragraph"],transform:(e,t=[])=>[(0,r.Wv)("core/paragraph",e),...t.map(e=>(0,r.JB)(e))]}]}},3754(e,t,n){"use strict";n.d(t,{ER:()=>i,qx:()=>c,rL:()=>l,rj:()=>s});var r=n(59070),o=n(87761);function i(e,t){return e.getPreviousBlockClientId(t)}function s(e,t){const n=e.getBlockRootClientId(t),r=e.getBlockRootClientId(n);if(r&&"core/list-item"===e.getBlockName(r))return r}function a(e,t,n,i){const{getBlockOrder:s,getBlock:a}=e.select(r.M_),{moveBlocksToPosition:l,removeBlocks:c,insertBlock:u}=e.dispatch(r.M_),d=s(i),f=d[d.length-1];if(f)return void l(t,n,f);const p=(0,o.JB)(a(n),{},t.map(e=>a(e)));e.batch(()=>{c(t,!1),u(p,0,i,!1)})}function l(e,t){const n=e.select(r.M_),{getBlockRootClientId:o,getSelectedBlockClientIds:s,getSelectionStart:l,getSelectionEnd:c,hasMultiSelection:u,getMultiSelectedBlockClientIds:d}=n,{selectionChange:f,multiSelect:p}=e.dispatch(r.M_),h=u(),g=h?d():s();void 0===t&&(t=g[0]);const m=i(n,t);if(!m)return!1;const v=o(t),b=l(),y=c();return e.batch(()=>{a(e,g,v,m),h?p(g[0],g[g.length-1]):f(g[0],y.attributeKey,y.clientId===b.clientId?b.offset:y.offset,y.offset)}),!0}function c(e,t){const n=e.select(r.M_),{getBlockRootClientId:o,getBlockName:i,getBlockOrder:l,getBlockIndex:c,getSelectedBlockClientIds:u}=n,{moveBlocksToPosition:d,removeBlock:f,multiSelect:p}=e.dispatch(r.M_);if(void 0===t&&(t=u()),Array.isArray(t)||(t=[t]),!t.length)return!1;const h=t[0];if("core/list-item"!==i(h))return!1;const g=s(n,h);if(!g)return!1;const m=o(h),v=t[t.length-1],b=l(m).slice(c(v)+1);return e.batch(()=>{if(b.length&&a(e,b,m,h),d(t,m,o(g),c(g)+1),!l(m).length){f(m,!1)}t.length>1&&p(h,v)}),!0}},22716(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(59070),o=n(90917),i=n(11670),s=n(93236),a={attributes:{ordered:{type:"boolean",default:!1,role:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",role:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},save({attributes:e}){const{ordered:t,values:n,type:o,reversed:i,start:a}=e,l=t?"ol":"ul";return(0,s.jsx)(l,{...r.Z0.save({type:o,reversed:i,start:a}),children:(0,s.jsx)(r.sD.Content,{value:n,multiline:"li"})})},migrate:o.A,isEligible:({style:e})=>e?.typography?.fontFamily},l={attributes:{ordered:{type:"boolean",default:!1,role:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",role:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},save({attributes:e}){const{ordered:t,values:n,type:o,reversed:i,start:a}=e,l=t?"ol":"ul";return(0,s.jsx)(l,{...r.Z0.save({type:o,reversed:i,start:a}),children:(0,s.jsx)(r.sD.Content,{value:n,multiline:"li"})})},migrate:i.t3},c={attributes:{ordered:{type:"boolean",default:!1,role:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",role:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},isEligible:({type:e})=>!!e,save({attributes:e}){const{ordered:t,type:n,reversed:o,start:i}=e,a=t?"ol":"ul";return(0,s.jsx)(a,{...r.Z0.save({type:n,reversed:o,start:i}),children:(0,s.jsx)(r.Tj.Content,{})})},migrate:i.RB},u=[{attributes:{ordered:{type:"boolean",default:!1,role:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",role:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalOnMerge:"true",__experimentalSlashInserter:!0},save({attributes:e}){const{ordered:t,type:n,reversed:o,start:i}=e,a=t?"ol":"ul";return(0,s.jsx)(a,{...r.Z0.save({reversed:o,start:i,style:{listStyleType:t&&"decimal"!==n?n:void 0}}),children:(0,s.jsx)(r.Tj.Content,{})})}},c,l,a]},54983(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(59070),o=n(54646),i=n(79027),s=n(65627),a=n(19623),l=n(18335),c=n(77174),u=n(40743),d=n(41641),f=n(74584),p=n(66927),h=n(93970),g=n(87761),m=n(2376),v=n(66786),b=n(71743),y=n(11670),k=n(53823),x=n(93236),w={name:"core/list-item"};function _({clientId:e}){const t=function(e){const{replaceBlocks:t,selectionChange:n}=(0,i.A)(r.M_),{getBlockRootClientId:o,getBlockAttributes:s,getBlock:l}=(0,a.A)(r.M_);return(0,m.useCallback)(()=>{const r=o(e),i=s(r),a=(0,g.Wv)("core/list-item",i),{innerBlocks:c}=l(e);t([r],[a,...c]),n(c[c.length-1].clientId)},[e])}(e),n=(0,a.A)(t=>{const{getBlockRootClientId:n,getBlockName:o}=t(r.M_);return"core/list-item"===o(n(e))},[e]);return(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(o.A,{icon:(0,l.V8)()?p.A:h.A,title:(0,l.__)("Outdent"),description:(0,l.__)("Outdent list item"),disabled:!n,onClick:t})})}function A({attributes:e,setAttributes:t,clientId:n}){const{ordered:a,type:p,reversed:h,start:g}=e,A=(0,r.Z0)({style:{listStyleType:a&&"decimal"!==p?p:void 0}}),S=(0,r.yK)(A,{defaultBlock:w,directInsert:!0,templateLock:!1,__experimentalCaptureToolbars:!0});!function(e,t){const n=(0,s.A)(),{updateBlockAttributes:o,replaceInnerBlocks:a,selectBlock:l}=(0,i.A)(r.M_);(0,m.useEffect)(()=>{if(!e.values)return;const[i,s]=(0,y.t3)(e);(0,v.A)("Value attribute on the list block",{since:"6.0",version:"6.5",alternative:"inner blocks"});const c=n.select(r.M_).hasSelectedInnerBlock(t,!0);n.batch(()=>{o(t,i),a(t,s),c&&l(t)})},[e.values])}(e,n);const C=(0,x.jsxs)(r.mC,{group:"block",children:[(0,x.jsx)(o.A,{icon:(0,l.V8)()?c.A:u.A,title:(0,l.__)("Unordered"),description:(0,l.__)("Convert to unordered list"),isActive:!1===a,onClick:()=>{t({ordered:!1})}}),(0,x.jsx)(o.A,{icon:(0,l.V8)()?d.A:f.A,title:(0,l.__)("Ordered"),description:(0,l.__)("Convert to ordered list"),isActive:!0===a,onClick:()=>{t({ordered:!0})}}),(0,x.jsx)(_,{clientId:n})]});return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(k.A,{ordered:a,reversed:h,start:g,...S}),C,a&&(0,x.jsx)(b.A,{setAttributes:t,reversed:h,start:g,type:p})]})}},55089(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>p,metadata:()=>l,name:()=>d,settings:()=>f});var r=n(19203),o=n(18335),i=n(6036),s=n(22716),a=n(54983),l=n(43859),c=n(42952),u=n(51420),{name:d}=l,f={icon:r.A,example:{innerBlocks:[{name:"core/list-item",attributes:{content:(0,o.__)("Alice.")}},{name:"core/list-item",attributes:{content:(0,o.__)("The White Rabbit.")}},{name:"core/list-item",attributes:{content:(0,o.__)("The Cheshire Cat.")}},{name:"core/list-item",attributes:{content:(0,o.__)("The Mad Hatter.")}},{name:"core/list-item",attributes:{content:(0,o.__)("The Queen of Hearts.")}}]},transforms:u.A,template:[["core/list-item"]],templateInsertUpdatesSelection:!0,edit:a.A,save:c.A,deprecated:s.A},p=()=>(0,i.A)({name:d,metadata:l,settings:f})},71743(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(18335),o=n(59070),i=n(69919),s=n(13533),a=n(91892),l=n(26068),c=n(71222),u=n(93236),d=[{label:(0,r.__)("Numbers"),value:"decimal"},{label:(0,r.__)("Uppercase letters"),value:"upper-alpha"},{label:(0,r.__)("Lowercase letters"),value:"lower-alpha"},{label:(0,r.__)("Uppercase Roman numerals"),value:"upper-roman"},{label:(0,r.__)("Lowercase Roman numerals"),value:"lower-roman"}],f=({setAttributes:e,reversed:t,start:n,type:f})=>{const p=(0,c.DN)();return(0,u.jsx)(o.s1,{children:(0,u.jsxs)(l.ToolsPanel,{label:(0,r.__)("Settings"),resetAll:()=>{e({type:void 0,start:void 0,reversed:void 0})},dropdownMenuProps:p,children:[(0,u.jsx)(l.ToolsPanelItem,{label:(0,r.__)("List style"),isShownByDefault:!0,hasValue:()=>!!f,onDeselect:()=>e({type:void 0}),children:(0,u.jsx)(i.A,{label:(0,r.__)("List style"),options:d,value:f||"decimal",onChange:t=>e({type:t})})}),(0,u.jsx)(l.ToolsPanelItem,{label:(0,r.__)("Start value"),isShownByDefault:!0,hasValue:()=>!!n,onDeselect:()=>e({start:void 0}),children:(0,u.jsx)(s.A,{label:(0,r.__)("Start value"),type:"number",onChange:t=>{const n=parseInt(t,10);e({start:isNaN(n)?void 0:n})},value:Number.isInteger(n)?n.toString(10):"",step:"1"})}),(0,u.jsx)(l.ToolsPanelItem,{label:(0,r.__)("Reverse order"),isShownByDefault:!0,hasValue:()=>!!t,onDeselect:()=>e({reversed:void 0}),children:(0,u.jsx)(a.A,{label:(0,r.__)("Reverse order"),checked:t||!1,onChange:t=>{e({reversed:t||void 0})}})})]})})}},42952(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(59070),o=n(93236);function i({attributes:e}){const{ordered:t,type:n,reversed:i,start:s}=e,a=t?"ol":"ul";return(0,o.jsx)(a,{...r.Z0.save({reversed:i,start:s,style:{listStyleType:t&&"decimal"!==n?n:void 0}}),children:(0,o.jsx)(r.Tj.Content,{})})}},53823(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=n(93236);var i=(0,r.forwardRef)(function(e,t){const{ordered:n,...r}=e,i=n?"ol":"ul";return(0,o.jsx)(i,{ref:t,...r})})},51420(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(87761),o=n(4157);function i({phrasingContentSchema:e}){const t={...e,ul:{},ol:{attributes:["type","start","reversed"]}};return["ul","ol"].forEach(e=>{t[e].children={li:{children:t}}}),t}function s(e){return e.flatMap(({name:e,attributes:t,innerBlocks:n=[]})=>"core/list-item"===e?[t.content,...s(n)]:s(n))}var a={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:e=>{let t=[];if(e.length>1)t=e.map(({content:e})=>(0,r.Wv)("core/list-item",{content:e}));else if(1===e.length){const n=(0,o.vt)({html:e[0].content});t=(0,o.lD)(n,"\n").map(e=>(0,r.Wv)("core/list-item",{content:(0,o.Ky)({value:e})}))}return(0,r.Wv)("core/list",{anchor:e.anchor},t)}},{type:"raw",selector:"ol,ul",schema:e=>({ol:i(e).ol,ul:i(e).ul}),transform:n(11670).kO},...["*","-"].map(e=>({type:"prefix",prefix:e,transform:e=>(0,r.Wv)("core/list",{},[(0,r.Wv)("core/list-item",{content:e})])})),...["1.","1)"].map(e=>({type:"prefix",prefix:e,transform:e=>(0,r.Wv)("core/list",{ordered:!0},[(0,r.Wv)("core/list-item",{content:e})])}))],to:[...["core/paragraph","core/heading"].map(e=>({type:"block",blocks:[e],transform:(t,n)=>s(n).map(t=>(0,r.Wv)(e,{content:t}))}))]}},11670(e,t,n){"use strict";n.d(t,{RB:()=>a,kO:()=>i,t3:()=>s});var r=n(87761),o={A:"upper-alpha",a:"lower-alpha",I:"upper-roman",i:"lower-roman"};function i(e){const t=e.getAttribute("type"),n={ordered:"OL"===e.tagName,anchor:e.id?e.id:void 0,start:e.getAttribute("start")?parseInt(e.getAttribute("start"),10):void 0,reversed:!!e.hasAttribute("reversed")||void 0,type:t&&o[t]?o[t]:void 0},s=Array.from(e.children).map(e=>{const t=Array.from(e.childNodes).filter(e=>e.nodeType!==e.TEXT_NODE||0!==e.textContent.trim().length);t.reverse();const[n,...o]=t;if(!("UL"===n?.tagName||"OL"===n?.tagName))return(0,r.Wv)("core/list-item",{content:e.innerHTML});const s=o.map(e=>e.nodeType===e.TEXT_NODE?e.textContent:e.outerHTML);s.reverse();const a={content:s.join("").trim()},l=[i(n)];return(0,r.Wv)("core/list-item",a,l)});return(0,r.Wv)("core/list",n,s)}function s(e){const{values:t,start:n,reversed:o,ordered:i,type:s,...a}=e,l=document.createElement(i?"ol":"ul");l.innerHTML=t,n&&l.setAttribute("start",n),o&&l.setAttribute("reversed",!0),s&&l.setAttribute("type",s);const[c]=(0,r.lh)({HTML:l.outerHTML});return[{...a,...c.attributes},c.innerBlocks]}function a(e){const{type:t}=e;return t&&o[t]?{...e,type:o[t]}:e}},91190(e,t,n){"use strict";n.d(t,{T:()=>i});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/block-library")},5520(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(74233),o=n(2376),i=n(66786),s=n(79027),a=n(59070);function l(e,t,n){const{__unstableMarkNextChangeAsNotPersistent:l}=(0,s.A)(a.M_),c=(0,r.A)(()=>{(0,i.A)("align attribute in paragraph block",{alternative:"style.typography.textAlign",since:"7.0"}),l(),n({style:{...t,typography:{...t?.typography,textAlign:e}}})}),u=(0,o.useRef)();(0,o.useEffect)(()=>{"full"!==e&&"wide"!==e&&e!==u.current&&(u.current=e,c())},[e,c])}},98022(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(13022),o=n(32557),i=n(59070),s=n(18335),a=n(93236),l={className:!1},c={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},u=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;const t={};(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize});const{customTextColor:n,customBackgroundColor:r,customFontSize:o,...i}=e;return{...i,style:t}},d=e=>{const{align:t,...n}=e;return t?{...n,style:{...e.style,typography:{...e.style?.typography,textAlign:t}}}:e},{style:f,...p}=c,h=[{supports:{className:!1,color:!0,typography:{fontSize:!0}},attributes:c,isEligible:e=>!!e.align||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/),save({attributes:e}){const{align:t,content:n,dropCap:o,direction:l}=e,c=(0,r.A)({"has-drop-cap":t!==((0,s.V8)()?"left":"right")&&"center"!==t&&o,[`has-text-align-${t}`]:t});return(0,a.jsx)("p",{...i.Z0.save({className:c,dir:l}),children:(0,a.jsx)(i.sD.Content,{value:n})})},migrate:d},{supports:l,attributes:{...p,customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:d,save({attributes:e}){const{align:t,content:n,dropCap:o,direction:l}=e,c=(0,r.A)({"has-drop-cap":t!==((0,s.V8)()?"left":"right")&&"center"!==t&&o,[`has-text-align-${t}`]:t});return(0,a.jsx)("p",{...i.Z0.save({className:c,dir:l}),children:(0,a.jsx)(i.sD.Content,{value:n})})}},{supports:l,attributes:{...p,customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:e=>u(d(e)),save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:s,textColor:l,customBackgroundColor:c,customTextColor:u,fontSize:d,customFontSize:f,direction:p}=e,h=(0,i.tQ)("color",l),g=(0,i.tQ)("background-color",s),m=(0,i.t4)(d),v=(0,r.A)({"has-text-color":l||u,"has-background":s||c,"has-drop-cap":o,[`has-text-align-${t}`]:t,[m]:m,[h]:h,[g]:g}),b={backgroundColor:g?void 0:c,color:h?void 0:u,fontSize:m?void 0:f};return(0,a.jsx)(i.sD.Content,{tagName:"p",style:b,className:v||void 0,value:n,dir:p})}},{supports:l,attributes:{...p,customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:e=>u(d(e)),save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:s,textColor:l,customBackgroundColor:c,customTextColor:u,fontSize:d,customFontSize:f,direction:p}=e,h=(0,i.tQ)("color",l),g=(0,i.tQ)("background-color",s),m=(0,i.t4)(d),v=(0,r.A)({"has-text-color":l||u,"has-background":s||c,"has-drop-cap":o,[m]:m,[h]:h,[g]:g}),b={backgroundColor:g?void 0:c,color:h?void 0:u,fontSize:m?void 0:f,textAlign:t};return(0,a.jsx)(i.sD.Content,{tagName:"p",style:b,className:v||void 0,value:n,dir:p})}},{supports:l,attributes:{...p,customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:e=>u(d(e)),save({attributes:e}){const{width:t,align:n,content:o,dropCap:s,backgroundColor:l,textColor:c,customBackgroundColor:u,customTextColor:d,fontSize:f,customFontSize:p}=e,h=(0,i.tQ)("color",c),g=(0,i.tQ)("background-color",l),m=f&&`is-${f}-text`,v=(0,r.A)({[`align${t}`]:t,"has-background":l||u,"has-drop-cap":s,[m]:m,[h]:h,[g]:g}),b={backgroundColor:g?void 0:u,color:h?void 0:d,fontSize:m?void 0:p,textAlign:n};return(0,a.jsx)(i.sD.Content,{tagName:"p",style:b,className:v||void 0,value:o})}},{supports:l,attributes:{...p,fontSize:{type:"number"}},save({attributes:e}){const{width:t,align:n,content:o,dropCap:i,backgroundColor:s,textColor:l,fontSize:c}=e,u=(0,r.A)({[`align${t}`]:t,"has-background":s,"has-drop-cap":i}),d={backgroundColor:s,color:l,fontSize:c,textAlign:n};return(0,a.jsx)("p",{style:d,className:u||void 0,children:o})},migrate:e=>u(d({...e,customFontSize:Number.isFinite(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}))},{supports:l,attributes:{...c,content:{type:"string",source:"html",default:""}},save:({attributes:e})=>(0,a.jsx)(o.A,{children:e.content}),migrate:e=>e}]},84457(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(13022),o=n(18335),i=n(54646),s=n(91892),a=n(26068),l=n(59070),c=n(19623),u=n(87761),d=n(57035),f=n(77543),p=n(5520),h=n(91190),g=n(93236);function m({direction:e,setDirection:t}){return(0,o.V8)()&&(0,g.jsx)(i.A,{icon:d.A,title:(0,o._x)("Left to right","editor button"),isActive:"ltr"===e,onClick:()=>{t("ltr"===e?void 0:"ltr")}})}function v(e){return e===((0,o.V8)()?"left":"right")||"center"===e}function b({clientId:e,attributes:t,setAttributes:n,name:r}){const[i]=(0,l.t0)("typography.dropCap"),d=(0,c.A)(t=>{const{hasSelectedStyleState:n}=(0,h.T)(t(l.M_));return n(e)},[e]);if(!i||d)return null;const{style:f,dropCap:p}=t,m=f?.typography?.textAlign;let b;b=v(m)?(0,o.__)("Not available for aligned text."):p?(0,o.__)("Showing large initial letter."):(0,o.__)("Show a large initial letter.");const y=(0,u.bI)(r,"typography.defaultControls.dropCap",!1);return(0,g.jsx)(l.s1,{group:"typography",children:(0,g.jsx)(a.ToolsPanelItem,{hasValue:()=>!!p,label:(0,o.__)("Drop cap"),isShownByDefault:y,onDeselect:()=>n({dropCap:!1}),resetAllFilter:()=>({dropCap:!1}),panelId:e,children:(0,g.jsx)(s.A,{label:(0,o.__)("Drop cap"),checked:!!p,onChange:()=>n({dropCap:!p}),help:b,disabled:v(m)})})})}var y=function({attributes:e,mergeBlocks:t,onReplace:n,onRemove:i,setAttributes:s,clientId:a,isSelected:c,name:u}){const{content:d,direction:h,dropCap:y,placeholder:k,style:x}=e,w=x?.typography?.textAlign;(0,p.A)(e.align,x,s);const _=(0,l.Z0)({ref:(0,f.x)({clientId:a,content:d}),className:(0,r.A)({"has-drop-cap":!v(w)&&y}),style:{direction:h},"aria-label":l.sD.isEmpty(d)?(0,o.__)("Empty block; start writing or type forward slash to choose a block"):(0,o.__)("Block: Paragraph")}),A=(0,l.wp)();return(0,g.jsxs)(g.Fragment,{children:["default"===A&&(0,g.jsx)(l.mC,{group:"block",children:(0,g.jsx)(m,{direction:h,setDirection:e=>s({direction:e})})}),c&&(0,g.jsx)(b,{name:u,clientId:a,attributes:e,setAttributes:s}),(0,g.jsx)(l.sD,{identifier:"content",tagName:"p",..._,value:d,onChange:e=>s({content:e}),onMerge:t,onReplace:n,onRemove:i,"data-empty":l.sD.isEmpty(d),placeholder:k||(0,o.__)("Type / to choose a block"),"data-custom-placeholder":!!k||void 0,__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})]})}},69179(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>p,metadata:()=>l,name:()=>d,settings:()=>f});var r=n(18335),o=n(7535),i=n(6036),s=n(98022),a=n(84457),l=n(39915),c=n(14786),u=n(17050),{name:d}=l,f={icon:o.A,example:{attributes:{content:(0,r.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.")}},__experimentalLabel(e,{context:t}){const n=e?.metadata?.name;if(("list-view"===t||"breadcrumb"===t)&&n)return n;if("accessibility"===t){if(n)return n;const{content:t}=e;return t&&0!==t.length?t:(0,r.__)("Empty")}},transforms:u.A,deprecated:s.A,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:a.A,save:c.A},p=()=>(0,i.A)({name:d,metadata:l,settings:f})},14786(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(13022),o=n(59070),i=n(18335),s=n(93236);function a({attributes:e}){const{content:t,dropCap:n,direction:a,style:l}=e,c=l?.typography?.textAlign,u=(0,r.A)({"has-drop-cap":c!==((0,i.V8)()?"left":"right")&&"center"!==c&&n});return(0,s.jsx)("p",{...o.Z0.save({className:u,dir:a}),children:(0,s.jsx)(o.sD.Content,{value:t})})}},17050(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(87761),o=n(39915),{name:i}=o,s={from:[{type:"raw",priority:20,selector:"p",schema:({phrasingContentSchema:e,isPaste:t})=>({p:{children:e,attributes:t?[]:["style","id"]}}),transform(e){const t=(0,r.Ph)(i,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.style={...t.style,typography:{...t.style?.typography,textAlign:n}}),(0,r.Wv)(i,t)}}]}},77543(e,t,n){"use strict";n.d(t,{x:()=>p});var r=n(2376),o=n(71886),i=n(4157),s=n(79027),a=n(65627),l=n(19623),c=n(59070),u=n(87761),d=n(91190),{subscribeOwnedListener:f}=(0,d.T)(i.jb);function p(e){const{batch:t}=(0,a.A)(),{moveBlocksToPosition:n,replaceBlocks:i,selectionChange:d}=(0,s.A)(c.M_),{getBlockRootClientId:p,getBlockIndex:h,getBlockOrder:g,getBlockName:m,getBlock:v,canInsertBlockType:b}=(0,l.A)(c.M_),y=(0,r.useRef)(e);return y.current=e,(0,o.A)(e=>f(e,"beforeinput",function(e){if(e.defaultPrevented)return;if("insertParagraph"!==e.inputType)return;const{content:r,clientId:o}=y.current;if(r.length)return;const s=p(o);if(!(0,u.pN)(m(s),"__experimentalOnEnter",!1))return;const a=g(s),l=a.indexOf(o);if(l===a.length-1){let t=s;for(;!b(m(o),p(t));)t=p(t);return void("string"==typeof t&&(e.preventDefault(),n([o],s,p(t),h(t)+1)))}const c=(0,u.K$)(),f=m(s),k=p(s);if(!b(c,k)||!b(f,k))return;e.preventDefault();const x=v(s),w=(0,u.JB)({...x,innerBlocks:x.innerBlocks.slice(0,l)}),_=(0,u.Wv)(c),A=(0,u.JB)({...x,innerBlocks:x.innerBlocks.slice(l+1)});t(()=>{i(s,[w,_,A]),d(_.clientId)})},!0),[])}},58420(e,t,n){"use strict";n.d(t,{A:()=>u,b:()=>a});var r=n(13022),o=n(87761),i=n(59070),s=n(93236),a=e=>{const{value:t,...n}=e;return[{...n},t?(0,o.b6)(t,{type:"array",source:"query",selector:"p",query:{content:{type:"string",source:"html"}}}).map(({content:e})=>(0,o.Wv)("core/paragraph",{content:e})):(0,o.Wv)("core/paragraph")]},l=["left","right","center"],c=(e,t)=>{const{align:n,...r}=e;return[l.includes(n)?{...r,textAlign:n}:e,t]},u=[{attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",role:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",role:"content"},align:{type:"string"}},supports:{anchor:!0,html:!1,__experimentalOnEnter:!0,__experimentalOnMerge:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}}},isEligible:({align:e})=>l.includes(e),save({attributes:e}){const{align:t,citation:n}=e,o=(0,r.A)({[`has-text-align-${t}`]:t});return(0,s.jsxs)("blockquote",{...i.Z0.save({className:o}),children:[(0,s.jsx)(i.Tj.Content,{}),!i.sD.isEmpty(n)&&(0,s.jsx)(i.sD.Content,{tagName:"cite",value:n})]})},migrate:c},{attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",role:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",role:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},save({attributes:e}){const{align:t,value:n,citation:o}=e,a=(0,r.A)({[`has-text-align-${t}`]:t});return(0,s.jsxs)("blockquote",{...i.Z0.save({className:a}),children:[(0,s.jsx)(i.sD.Content,{multiline:!0,value:n}),!i.sD.isEmpty(o)&&(0,s.jsx)(i.sD.Content,{tagName:"cite",value:o})]})},migrate:e=>c(...a(e))},{attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},migrate:e=>c(...a(e)),save({attributes:e}){const{align:t,value:n,citation:r}=e;return(0,s.jsxs)("blockquote",{style:{textAlign:t||null},children:[(0,s.jsx)(i.sD.Content,{multiline:!0,value:n}),!i.sD.isEmpty(r)&&(0,s.jsx)(i.sD.Content,{tagName:"cite",value:r})]})}},{attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"},style:{type:"number",default:1}},migrate(e){if(2===e.style){const{style:t,...n}=e;return c(...((e,t)=>[{...e,className:e.className?e.className+" is-style-large":"is-style-large"},t])(...a(n)))}return c(...a(e))},save({attributes:e}){const{align:t,value:n,citation:r,style:o}=e;return(0,s.jsxs)("blockquote",{className:2===o?"is-large":"",style:{textAlign:t||null},children:[(0,s.jsx)(i.sD.Content,{multiline:!0,value:n}),!i.sD.isEmpty(r)&&(0,s.jsx)(i.sD.Content,{tagName:"cite",value:r})]})}},{attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"footer",default:""},align:{type:"string"},style:{type:"number",default:1}},migrate(e){if(!isNaN(parseInt(e.style))){const{style:t,...n}=e;return c(...a(n))}return c(...a(e))},save({attributes:e}){const{align:t,value:n,citation:r,style:o}=e;return(0,s.jsxs)("blockquote",{className:`blocks-quote-style-${o}`,style:{textAlign:t||null},children:[(0,s.jsx)(i.sD.Content,{multiline:!0,value:n}),!i.sD.isEmpty(r)&&(0,s.jsx)(i.sD.Content,{tagName:"footer",value:r})]})}}]},43439(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(13022),o=n(18335),i=n(59070),s=n(18266),a=n(79027),l=n(65627),c=n(19623),u=n(2376),d=n(66786),f=n(58450),p=n(58420),h=n(66372),g=n(93236);function m({attributes:e,setAttributes:t,insertBlocksAfter:n,clientId:m,className:v,isSelected:b}){const{textAlign:y,allowedBlocks:k}=e,{hasInnerBlocks:x}=(0,c.A)(e=>{const{getBlockCount:t}=e(i.M_);return{hasInnerBlocks:t(m)>0}},[m]);((e,t)=>{const n=(0,l.A)(),{updateBlockAttributes:r,replaceInnerBlocks:o,selectBlock:s}=(0,a.A)(i.M_);(0,u.useEffect)(()=>{if(!e.value)return;const[a,l]=(0,p.b)(e);(0,d.A)("Value attribute on the quote block",{since:"6.0",version:"6.5",alternative:"inner blocks"});const c=n.select(i.M_).hasSelectedInnerBlock(t,!0);n.batch(()=>{r(t,a),o(t,l),c&&s(t)})},[e.value])})(e,m);const w=(0,i.Z0)({className:(0,r.A)(v,{[`has-text-align-${y}`]:y})}),_=(0,i.yK)(w,{__experimentalCaptureToolbars:!0,renderAppender:!x&&void 0,allowedBlocks:k});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(i.mC,{group:"block",children:(0,g.jsx)(i.LE,{value:y,onChange:e=>{t({textAlign:e})}})}),(0,g.jsxs)(s.o,{..._,children:[_.children,(0,g.jsx)(h.H,{attributeKey:"citation",tagName:"cite",style:{display:"block"},isSelected:b,attributes:e,setAttributes:t,icon:f.A,label:(0,o.__)("Quote citation"),placeholder:
231 // translators: placeholder text used for the
232 // translators: placeholder text used for the
233 (0,o.__)("Add citation"),addLabel:(0,o.__)("Add citation"),removeLabel:(0,o.__)("Remove citation"),excludeElementClassName:!0,className:"wp-block-quote__citation",insertBlocksAfter:n})]})]})}},83401(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>p,metadata:()=>l,name:()=>d,settings:()=>f});var r=n(18335),o=n(39389),i=n(6036),s=n(58420),a=n(43439),l=n(55433),c=n(50880),u=n(964),{name:d}=l,f={icon:o.A,example:{attributes:{citation:(0,r.__)("Julio Cortázar")},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,r.__)("In quoting others, we cite ourselves.")}}]},transforms:u.A,template:[["core/paragraph",{}]],templateInsertUpdatesSelection:!0,edit:a.A,save:c.A,deprecated:s.A},p=()=>(0,i.A)({name:d,metadata:l,settings:f})},50880(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(13022),o=n(59070),i=n(93236);function s({attributes:e}){const{textAlign:t,citation:n}=e,s=(0,r.A)({[`has-text-align-${t}`]:t});return(0,i.jsxs)("blockquote",{...o.Z0.save({className:s}),children:[(0,i.jsx)(o.Tj.Content,{}),!o.sD.isEmpty(n)&&(0,i.jsx)(o.sD.Content,{tagName:"cite",value:n})]})}},964(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(59070),o=n(87761),i={from:[{type:"block",blocks:["core/verse"],transform:({content:e})=>(0,o.Wv)("core/quote",{},[(0,o.Wv)("core/paragraph",{content:e})])},{type:"block",blocks:["core/pullquote"],transform:({value:e,align:t,citation:n,anchor:r,fontSize:i,style:s})=>(0,o.Wv)("core/quote",{align:t,citation:n,anchor:r,fontSize:i,style:s},[(0,o.Wv)("core/paragraph",{content:e})])},{type:"prefix",prefix:">",transform:e=>(0,o.Wv)("core/quote",{},[(0,o.Wv)("core/paragraph",{content:e})])},{type:"raw",schema:()=>({blockquote:{children:"*"}}),selector:"blockquote",transform:(e,t)=>(0,o.Wv)("core/quote",{},t({HTML:e.innerHTML,mode:"BLOCKS"}))},{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:({},e)=>1===e.length?["core/paragraph","core/heading","core/list","core/pullquote"].includes(e[0].name):!e.some(({name:e})=>"core/quote"===e),__experimentalConvert:e=>(0,o.Wv)("core/quote",{},e.map(e=>(0,o.GI)(e)))}],to:[{type:"block",blocks:["core/pullquote"],isMatch:({},e)=>e.innerBlocks.every(({name:e})=>"core/paragraph"===e),transform:({align:e,citation:t,anchor:n,fontSize:r,style:i},s)=>{const a=s.map(({attributes:e})=>`${e.content}`).join("<br>");return(0,o.Wv)("core/pullquote",{value:a,align:e,citation:t,anchor:n,fontSize:r,style:i})}},{type:"block",blocks:["core/verse"],isMatch:({},e)=>e.innerBlocks.every(e=>{if("core/paragraph"===e.name)return!0;return null!==(0,o.bh)(e,"core/paragraph")}),transform:({},e)=>{const t=e.flatMap(e=>"core/paragraph"===e.name?e:(0,o.bh)(e,"core/paragraph")||[]).map(({attributes:e})=>e.content||"").filter(Boolean).join("<br>");return(0,o.Wv)("core/verse",{content:t})}},{type:"block",blocks:["core/paragraph"],isMatch:({citation:e},t)=>{const n=t.innerBlocks;return n.length?n.every(e=>{if("core/paragraph"===e.name)return!0;return null!==(0,o.bh)(e,"core/paragraph")}):!r.sD.isEmpty(e)},transform:({citation:e},t)=>{const n=t.flatMap(e=>"core/paragraph"===e.name?e:(0,o.bh)(e,"core/paragraph")||[]);return r.sD.isEmpty(e)?n:[...n,(0,o.Wv)("core/paragraph",{content:e})]}},{type:"block",blocks:["core/group"],transform:({citation:e,anchor:t},n)=>(0,o.Wv)("core/group",{anchor:t},r.sD.isEmpty(e)?n:[...n,(0,o.Wv)("core/paragraph",{content:e})])}],ungroup:({citation:e},t)=>r.sD.isEmpty(e)?t:[...t,(0,o.Wv)("core/paragraph",{content:e})]}},66372(e,t,n){"use strict";n.d(t,{H:()=>f});var r=n(13022),o=n(2376),i=n(15766),s=n(18335),a=n(59070),l=n(54646),c=n(83147),u=n(87761),d=n(93236);function f({attributeKey:e="caption",attributes:t,setAttributes:n,isSelected:f,insertBlocksAfter:p,placeholder:h=(0,s.__)("Add caption"),label:g=(0,s.__)("Caption text"),showToolbarButton:m=!0,excludeElementClassName:v,className:b,readOnly:y,tagName:k="figcaption",addLabel:x=(0,s.__)("Add caption"),removeLabel:w=(0,s.__)("Remove caption"),icon:_=c.A,...A}){const S=t[e],C=(0,i.A)(S),E=a.sD.isEmpty(S),T=a.sD.isEmpty(C),[I,j]=(0,o.useState)(!E);(0,o.useEffect)(()=>{!E&&T&&j(!0)},[E,T]),(0,o.useEffect)(()=>{!f&&E&&j(!1)},[f,E]);const B=(0,o.useCallback)(e=>{e&&E&&e.focus()},[E]);return(0,d.jsxs)(d.Fragment,{children:[m&&(0,d.jsx)(a.mC,{group:"block",children:(0,d.jsx)(l.A,{onClick:()=>{j(!I),I&&S&&n({[e]:void 0})},icon:_,isPressed:I,label:I?w:x})}),I&&(!a.sD.isEmpty(S)||f)&&(0,d.jsx)(a.sD,{identifier:e,tagName:k,className:(0,r.A)(b,v?"":(0,a.oJ)("caption")),ref:B,"aria-label":g,placeholder:h,value:S,onChange:t=>n({[e]:t}),inlineToolbar:!0,__unstableOnSplitAtEnd:p?()=>p((0,u.Wv)((0,u.K$)())):void 0,readOnly:y,...A})]})}},29856(e,t,n){"use strict";n.d(t,{b:()=>o});var r=n(87761);function o(e,t,n=null){if(!e)return;const o=(0,r.E7)(t);if(!o)return;const i={};if((0,r.pN)(o,"anchor")&&e.anchor&&(i.anchor=e.anchor),(0,r.pN)(o,"ariaLabel")&&e.ariaLabel&&(i.ariaLabel=e.ariaLabel),e.metadata){const t=[];if(n&&t.push("id","bindings"),t.length>0){const r=Object.entries(e.metadata).reduce((e,[r,o])=>t.includes(r)?(e[r]="bindings"===r?n(o):o,e):e,{});Object.keys(r).length>0&&(i.metadata=r)}}return 0!==Object.keys(i).length?i:void 0}},71222(e,t,n){"use strict";n.d(t,{DN:()=>o});n(59070),n(26068);var r=n(27319);function o(){return(0,r.A)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}},6036(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(87761);function o(e){if(!e)return;const{metadata:t,settings:n,name:o}=e;return(0,r.xU)({name:o,...t},n)}},90917(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(59070),o=n(91190),{cleanEmptyObject:i}=(0,o.T)(r.jb);function s(e){if(!e?.style?.typography?.fontFamily)return e;const{fontFamily:t,...n}=e.style.typography;return{...e,style:i({...e.style,typography:n}),fontFamily:t.split("|").pop()}}},33691(e,t,n){"use strict";var r,o,i,s;n.d(t,{q:()=>u});var a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(e,t,n,r,o){return{blockName:e,attrs:t,innerBlocks:n,innerHTML:r,innerContent:o}}function c(e){return l(null,{},[],e,[e])}var u=e=>{r=e,o=0,i=[],s=[],a.lastIndex=0;do{}while(d());return i};function d(){const e=s.length,t=function(){const e=a.exec(r);if(null===e)return["no-more-tokens","",null,0,0];const t=e.index,[n,o,i,s,l,,c]=e,u=n.length,d=!!o,f=!!c,p=(i||"core/")+s,h=!!l,g=h?function(e){try{return JSON.parse(e)}catch{return null}}(l):{};if(f)return["void-block",p,g,t,u];if(d)return["block-closer",p,null,t,u];return["block-opener",p,g,t,u]}(),[n,u,d,g,m]=t,v=g>o?o:null;switch(n){case"no-more-tokens":if(0===e)return f(),!1;if(1===e)return h(),!1;for(;0<s.length;)h();return!1;case"void-block":return 0===e?(null!==v&&i.push(c(r.substr(v,g-v))),i.push(l(u,d,[],"",[])),o=g+m,!0):(p(l(u,d,[],"",[]),g,m),o=g+m,!0);case"block-opener":return s.push(function(e,t,n,r,o){return{block:e,tokenStart:t,tokenLength:n,prevOffset:r||t+n,leadingHtmlStart:o}}(l(u,d,[],"",[]),g,m,g+m,v)),o=g+m,!0;case"block-closer":if(0===e)return f(),!1;if(1===e)return h(g),o=g+m,!0;const t=s.pop(),n=r.substr(t.prevOffset,g-t.prevOffset);return t.block.innerHTML+=n,t.block.innerContent.push(n),t.prevOffset=g+m,p(t.block,t.tokenStart,t.tokenLength,g+m),o=g+m,!0;default:return f(),!1}}function f(e){const t=e||r.length-o;0!==t&&i.push(c(r.substr(o,t)))}function p(e,t,n,o){const i=s[s.length-1];i.block.innerBlocks.push(e);const a=r.substr(i.prevOffset,t-i.prevOffset);a&&(i.block.innerHTML+=a,i.block.innerContent.push(a)),i.block.innerContent.push(null),i.prevOffset=o||t+n}function h(e){const{block:t,leadingHtmlStart:n,prevOffset:o,tokenStart:a}=s.pop(),l=e?r.substr(o,e-o):r.substr(o);l&&(t.innerHTML+=l,t.innerContent.push(l)),null!==n&&i.push(c(r.substr(n,a-n))),i.push(t)}},48573(e,t,n){"use strict";n.d(t,{Ay:()=>l,f6:()=>s,jN:()=>a});var r=n(30621),o=n(66786),i=n(79352);function s(e){(0,o.A)("wp.blocks.children.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});const t=[];for(let n=0;n<e.length;n++)try{t.push(i.f6(e[n]))}catch{}return t}function a(e){return(0,o.A)("wp.blocks.children.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let n=t;return e&&(n=t.querySelector(e)),n?s(n.childNodes):[]}}var l={concat:function(...e){(0,o.A)("wp.blocks.children.concat",{since:"6.1",version:"6.3",alternative:"wp.richText.concat",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});const t=[];for(let n=0;n<e.length;n++){const r=Array.isArray(e[n])?e[n]:[e[n]];for(let e=0;e<r.length;e++){const n=r[e];"string"==typeof n&&"string"==typeof t[t.length-1]?t[t.length-1]+=n:t.push(n)}}return t},getChildrenArray:function(e){return(0,o.A)("wp.blocks.children.getChildrenArray",{since:"6.1",version:"6.3",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),e},fromDOM:s,toHTML:function(e){(0,o.A)("wp.blocks.children.toHTML",{since:"6.1",version:"6.3",alternative:"wp.richText.toHTMLString",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});const t=e;return(0,r.Ay)(t)},matcher:a}},83019(e,t,n){"use strict";n.d(t,{G8:()=>a,IR:()=>r,RY:()=>i,dB:()=>s,m:()=>o});var r="block-default",o=["attributes","supports","save","migrate","isEligible","apiVersion"],i={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},aspectRatio:{value:["dimensions","aspectRatio"],support:["dimensions","aspectRatio"],useEngine:!0},background:{value:["color","gradient"],support:["color","gradients"],useEngine:!0},backgroundColor:{value:["color","background"],support:["color","background"],requiresOptOut:!0,useEngine:!0},backgroundImage:{value:["background","backgroundImage"],support:["background","backgroundImage"],useEngine:!0},backgroundRepeat:{value:["background","backgroundRepeat"],support:["background","backgroundRepeat"],useEngine:!0},backgroundSize:{value:["background","backgroundSize"],support:["background","backgroundSize"],useEngine:!0},backgroundPosition:{value:["background","backgroundPosition"],support:["background","backgroundPosition"],useEngine:!0},backgroundGradient:{value:["background","gradient"],support:["background","gradient"],useEngine:!0},borderColor:{value:["border","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"],properties:{borderTopLeftRadius:"topLeft",borderTopRightRadius:"topRight",borderBottomLeftRadius:"bottomLeft",borderBottomRightRadius:"bottomRight"},useEngine:!0},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"],useEngine:!0},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"],useEngine:!0},borderTopColor:{value:["border","top","color"],support:["__experimentalBorder","color"],useEngine:!0},borderTopStyle:{value:["border","top","style"],support:["__experimentalBorder","style"],useEngine:!0},borderTopWidth:{value:["border","top","width"],support:["__experimentalBorder","width"],useEngine:!0},borderRightColor:{value:["border","right","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRightStyle:{value:["border","right","style"],support:["__experimentalBorder","style"],useEngine:!0},borderRightWidth:{value:["border","right","width"],support:["__experimentalBorder","width"],useEngine:!0},borderBottomColor:{value:["border","bottom","color"],support:["__experimentalBorder","color"],useEngine:!0},borderBottomStyle:{value:["border","bottom","style"],support:["__experimentalBorder","style"],useEngine:!0},borderBottomWidth:{value:["border","bottom","width"],support:["__experimentalBorder","width"],useEngine:!0},borderLeftColor:{value:["border","left","color"],support:["__experimentalBorder","color"],useEngine:!0},borderLeftStyle:{value:["border","left","style"],support:["__experimentalBorder","style"],useEngine:!0},borderLeftWidth:{value:["border","left","width"],support:["__experimentalBorder","width"],useEngine:!0},color:{value:["color","text"],support:["color","text"],requiresOptOut:!0,useEngine:!0},columnCount:{value:["typography","textColumns"],support:["typography","textColumns"],useEngine:!0},filter:{value:["filter","duotone"],support:["filter","duotone"]},linkColor:{value:["elements","link","color","text"],support:["color","link"]},captionColor:{value:["elements","caption","color","text"],support:["color","caption"]},buttonColor:{value:["elements","button","color","text"],support:["color","button"]},buttonBackgroundColor:{value:["elements","button","color","background"],support:["color","button"]},headingColor:{value:["elements","heading","color","text"],support:["color","heading"]},headingBackgroundColor:{value:["elements","heading","color","background"],support:["color","heading"]},fontFamily:{value:["typography","fontFamily"],support:["typography","__experimentalFontFamily"],useEngine:!0},fontSize:{value:["typography","fontSize"],support:["typography","fontSize"],useEngine:!0},fontStyle:{value:["typography","fontStyle"],support:["typography","__experimentalFontStyle"],useEngine:!0},fontWeight:{value:["typography","fontWeight"],support:["typography","__experimentalFontWeight"],useEngine:!0},lineHeight:{value:["typography","lineHeight"],support:["typography","lineHeight"],useEngine:!0},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:{marginTop:"top",marginRight:"right",marginBottom:"bottom",marginLeft:"left"},useEngine:!0},minHeight:{value:["dimensions","minHeight"],support:["dimensions","minHeight"],useEngine:!0},minWidth:{value:["dimensions","minWidth"],support:["dimensions","minWidth"],useEngine:!0},height:{value:["dimensions","height"],support:["dimensions","height"],useEngine:!0},width:{value:["dimensions","width"],support:["dimensions","width"],useEngine:!0},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:{paddingTop:"top",paddingRight:"right",paddingBottom:"bottom",paddingLeft:"left"},useEngine:!0},textAlign:{value:["typography","textAlign"],support:["typography","textAlign"],useEngine:!1},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"],useEngine:!0},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"],useEngine:!0},letterSpacing:{value:["typography","letterSpacing"],support:["typography","__experimentalLetterSpacing"],useEngine:!0},textIndent:{value:["typography","textIndent"],support:["typography","textIndent"],useEngine:!0},writingMode:{value:["typography","writingMode"],support:["typography","__experimentalWritingMode"],useEngine:!0},"--wp--style--root--padding":{value:["spacing","padding"],support:["spacing","padding"],properties:{"--wp--style--root--padding-top":"top","--wp--style--root--padding-right":"right","--wp--style--root--padding-bottom":"bottom","--wp--style--root--padding-left":"left"},rootOnly:!0}},s={link:"a:where(:not(.wp-element-button))",heading:"h1, h2, h3, h4, h5, h6",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",button:".wp-element-button, .wp-block-button__link",caption:".wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption",cite:"cite",label:"label",select:"select",textInput:"textarea, input:where([type=email],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=url])"},a={"color.duotone":!0,"color.gradients":!0,"color.palette":!0,"dimensions.aspectRatios":!0,"typography.fontSizes":!0,"spacing.spacingSizes":!0}},3118(e,t,n){"use strict";n.d(t,{Fk:()=>v,GI:()=>f,JB:()=>p,KL:()=>w,Wv:()=>u,XD:()=>y,bh:()=>x,to:()=>d,wG:()=>b});var r=n(75554),o=n(80471),i=n(90531),s=n(4739),a=n(92191),l=e=>"block"===e?.type,c=(e,t)=>t.variationName?{...e,variationName:t.variationName}:e;function u(e,t={},n=[],o){if(!(0,a.yb)(e))return u("core/missing",{originalName:e,originalContent:"",originalUndelimitedContent:""});const s=(0,a.cA)(e,t),l={clientId:(0,r.A)(),name:e,isValid:!0,attributes:s,innerBlocks:n};return o&&("core/html"===e?l.innerContent=o:(0,i.A)(`The innerContent argument passed to createBlock for the "${e}" block was ignored. Only the Custom HTML block stores static inner content.`)),l}function d(e=[]){return e.map(e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks,e.innerContent],[n,r,o=[],i]=t;return u(n,r,d(o),i)})}function f(e,t={},n){const{name:o}=e;if(!(0,a.yb)(o))return u("core/missing",{originalName:o,originalContent:"",originalUndelimitedContent:""});const i=(0,r.A)(),s=(0,a.cA)(o,{...e.attributes,...t});return{...e,clientId:i,attributes:s,innerBlocks:n||e.innerBlocks.map(e=>f(e))}}function p(e,t={},n){const o=(0,r.A)();return{...e,clientId:o,attributes:{...e.attributes,...t},innerBlocks:n||e.innerBlocks.map(e=>p(e))}}var h=(e,t,n)=>{if(!n.length)return!1;const r=n.length>1,o=n[0].name;if(!(g(e)||!r||e.isMultiBlock))return!1;if(!g(e)&&!n.every(e=>e.name===o))return!1;const i=n[0];return!("from"===t&&-1===e.blocks.indexOf(i.name)&&!g(e))&&(!(!r&&"from"===t&&m(i.name)&&m(e.blockName))&&!!k(e,n))},g=e=>l(e)&&Array.isArray(e.blocks)&&e.blocks.includes("*"),m=e=>e===(0,s.uK)();function v(e){if(!e.length)return[];const t=(e=>e.length?(0,s.li)().flatMap(t=>y("from",t.name).filter(l).filter(t=>h(t,"from",e)).map(e=>c(t,e))):[])(e),n=(e=>{if(!e.length)return[];const t=e[0],n=(0,s.E7)(t.name);return(n?y("to",n.name):[]).filter(l).filter(t=>h(t,"to",e)).flatMap(e=>(e.blocks??[]).map(t=>{const n=(0,s.E7)(t);return n?c(n,e):void 0})).filter(e=>!!e)})(e),r=new Map;for(const e of[...t,...n]){const t=e.variationName?`${e.name}/${e.variationName}`:e.name;r.has(t)||r.set(t,e)}return[...r.values()]}function b(e,t){const n=(0,o.FF)();for(let r=0;r<e.length;r++){const o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),e=>e||o,o.priority)}return n.applyFilters("transform",null)}function y(e,t){if(void 0===t)return(0,s.li)().map(({name:t})=>y(e,t)).flat();const n=(0,a.nh)(t),r=n?.transforms?.[e];return n&&Array.isArray(r)?r.map(e=>({...e,blockName:n.name})):[]}function k(e,t){if("function"!=typeof e.isMatch)return!0;const n=t[0],r=e.isMultiBlock?t.map(e=>e.attributes):n.attributes,o=e.isMultiBlock?t:n;return e.isMatch(r,o)}function x(e,t,n){const r=Array.isArray(e)?e:[e],i=r.length>1,a=r[0],c=a.name,u=y("from",t).filter(l),d=y("to",c).filter(l),f=e=>n?e.variationName===n:!e.variationName,p=b(d,e=>f(e)&&(g(e)||-1!==e.blocks.indexOf(t))&&(!i||!!e.isMultiBlock)&&k(e,r))||b(u,e=>f(e)&&(g(e)||-1!==e.blocks.indexOf(c))&&(!i||!!e.isMultiBlock)&&k(e,r));if(!p)return null;let h;if(h=p.isMultiBlock?"__experimentalConvert"in p?p.__experimentalConvert(r):p.transform(r.map(e=>e.attributes),r.map(e=>e.innerBlocks)):"__experimentalConvert"in p?p.__experimentalConvert(a):p.transform(a.attributes,a.innerBlocks),null===h||"object"!=typeof h)return null;if(h=Array.isArray(h)?h:[h],h.some(e=>!(0,s.E7)(e.name)))return null;if(!h.some(e=>e.name===t))return null;return h.map((t,n,r)=>(0,o.W5)("blocks.switchToBlockType.transformedBlock",t,e,n,r))}var w=(e,t)=>u(e,t.attributes,(t.innerBlocks??[]).map(e=>w(e.name,e)),t.innerContent)},10864(e,t,n){"use strict";n.d(t,{C5:()=>o.C5,E7:()=>p.E7,F8:()=>d.zD,Fk:()=>i.Fk,G8:()=>m.G8,GD:()=>d.GD,GI:()=>i.GI,Gk:()=>u.G,HK:()=>d.HK,JB:()=>i.JB,K$:()=>p.K$,KL:()=>i.KL,KW:()=>d.KW,Kx:()=>a.K,Nk:()=>h.N,Ph:()=>l.Ph,RY:()=>m.RY,V6:()=>h.V,Wv:()=>i.Wv,XD:()=>i.XD,Xm:()=>p.Xm,Xw:()=>o.Xw,Y0:()=>o.gY,YV:()=>f.YV,Y_:()=>g.Ay,Z9:()=>d.Z9,b6:()=>l.b6,bI:()=>p.bI,bh:()=>i.bh,cV:()=>d.it,dB:()=>m.dB,gc:()=>p.gc,jb:()=>b,lK:()=>d.Ay,lh:()=>c.lh,li:()=>p.li,oA:()=>o.oA,oO:()=>p.oO,pN:()=>p.pN,qg:()=>s.Ay,tk:()=>p.tk,to:()=>i.to,uz:()=>p.uz,v9:()=>d.jO,wG:()=>i.wG,xU:()=>p.xU});var r=n(7283),o=n(92191),i=n(3118),s=n(80540),a=n(5884),l=n(88702),c=n(92649),u=n(75159),d=n(42168),f=n(43784),p=n(4739),h=n(96525),g=n(48573),m=n(83019),v=Symbol("editableRoot"),b={};(0,r.s)(b,{isContentBlock:o.f,editableRootKey:v,parseRawBlock:s.Qu})},99497(e,t,n){"use strict";n.d(t,{YD:()=>i,qy:()=>o});n(21121);var r=n(4157);function o(e,t){return n=>{let r=n;if(e&&(r=n.querySelector(e)),!r)return"";if(t){let e="";const n=r.children.length;for(let o=0;o<n;o++){const n=r.children[o];n.nodeName.toLowerCase()===t&&(e+=n.outerHTML)}return e}return r.innerHTML}}var i=(e,t)=>n=>{const o=e?n.querySelector(e):n;return o?r.EF.fromHTMLElement(o,{preserveWhiteSpace:t}):r.EF.empty()}},79352(e,t,n){"use strict";n.d(t,{f6:()=>s,jN:()=>a});var r=n(66786),o=n(48573);function i(e){const t={};for(let n=0;n<e.length;n++){const{name:r,value:o}=e[n];t[r]=o}return t}function s(e){if((0,r.A)("wp.blocks.node.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:{...i(e.attributes),children:o.f6(e.childNodes)}}}function a(e){return(0,r.A)("wp.blocks.node.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let n=t;e&&(n=t.querySelector(e));try{return s(n)}catch{return null}}}},40872(e,t,n){"use strict";n.d(t,{s:()=>c});var r=n(83019),o=n(43784),i=n(88702),s=n(93773),a=n(92191);function l(){return!1}function c(e,t,n){const c=t.attrs??{},{deprecated:u}=n;if(!u||!u.length)return e;for(let d=0;d<u.length;d++){const{isEligible:f=l}=u[d];if(e.isValid&&!f(c,e.innerBlocks,{blockNode:t,block:e}))continue;const p=Object.assign((0,a.cJ)(n,r.m),u[d]);let h={...e,attributes:(0,i.Ph)(p,e.originalContent??"",c)},[g]=(0,o.YV)(h,p);if(g||(h=(0,s.m)(h,p),[g]=(0,o.YV)(h,p)),!g)continue;let m=h.innerBlocks,v=h.attributes;const{migrate:b}=p;if(b){let t=b(v,e.innerBlocks);Array.isArray(t)||(t=[t]),[v=c,m=e.innerBlocks]=t}e={...e,attributes:v,innerBlocks:m,isValid:!0,validationIssues:[]}}return e}},93773(e,t,n){"use strict";n.d(t,{m:()=>a});var r=n(11349),o=n(1424),i={type:"string",source:"attribute",selector:"[data-aria-label] > *",attribute:"aria-label"},s={type:"string",source:"attribute",selector:"[data-anchor] > *",attribute:"id"};function a(e,t){const{attributes:n,originalContent:a}=e;let l=n;return l=(0,r.w)(n,t,a??""),l=(0,o.j)(l,t,a??"","ariaLabel","data-aria-label",i),l=(0,o.j)(l,t,a??"","anchor","data-anchor",s),{...e,attributes:l}}},77011(e,t,n){"use strict";function r(e,t){const n={...t};if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(n.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){const t=e.substring(11),r={speaker:"speaker-deck",polldaddy:"crowdsignal"};n.providerNameSlug=t in r?r[t]:t,["amazon-kindle","wordpress"].includes(t)||(n.responsive=!0),e="core/embed"}if("core/post-comment-author"===e&&(e="core/comment-author-name"),"core/post-comment-content"===e&&(e="core/comment-content"),"core/post-comment-date"===e&&(e="core/comment-date"),"core/comments-query-loop"===e){e="core/comments";const t=n.className??"";t.includes("wp-block-comments-query-loop")||(n.className=["wp-block-comments-query-loop",t].join(" "))}"core/post-comments"===e&&(e="core/comments",n.legacy=!0);const r=t.layout;"grid"===r?.type&&"string"==typeof r?.columnCount&&(n.layout={...n.layout,columnCount:parseInt(r.columnCount,10)});const o=t.style,i=o?.layout;if("string"==typeof i?.columnSpan){const e=parseInt(i.columnSpan,10);n.style={...n.style,layout:{...n.style?.layout,columnSpan:isNaN(e)?void 0:e}}}if("string"==typeof i?.rowSpan){const e=parseInt(i.rowSpan,10);n.style={...n.style,layout:{...n.style?.layout,rowSpan:isNaN(e)?void 0:e}}}const s=function(e){if(!globalThis.IS_GUTENBERG_PLUGIN)return e;if(!e||"object"!=typeof e||Array.isArray(e))return e;let t=e;return Object.entries({"@mobile":"mobile","@tablet":"tablet"}).forEach(([n,r])=>{Object.hasOwn(t,r)&&(t===e&&(t={...t}),Object.hasOwn(t,n)||(t[n]=t[r]),delete t[r])}),t}(n.style);return s!==n.style&&(n.style=s),[e,n]}n.d(t,{l:()=>r})},11349(e,t,n){"use strict";n.d(t,{w:()=>l});var r=n(4739),o=n(42168),i=n(88702),s={type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"};function a(e){const t=(0,i.b6)(`<div data-custom-class-name>${e}</div>`,s);return t?t.trim().split(/\s+/):[]}function l(e,t,n){if(!(0,r.pN)(t,"customClassName",!0))return e;const i={...e},{className:s,...l}=i,c=(0,o.Z9)(t,l),u=a(c),d=a(n).filter(e=>!u.includes(e));return d.length?i.className=d.join(" "):c&&delete i.className,i}},1424(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(4739),o=n(88702);function i(e,t,n,i,s,a){if(!(0,r.pN)(t,i,!1))return e;const l={...e},c=function(e,t,n){return(0,o.b6)(`<div ${t}>${e}</div>`,n)}(n,s,a);return c&&(l[i]=c),l}},88702(e,t,n){"use strict";n.d(t,{Ph:()=>m,b6:()=>g});var r=n(21121),o=n(1636),i=n(80471),s=n(4157),a=n(99497),l=n(79352),c=n(48573),u=n(92191);function d(e,t){return t.some(t=>function(e,t){switch(t){case"rich-text":return e instanceof s.EF;case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t))}function f(e,t,n,r,o){let i;switch(t.source){case void 0:i=r?r[e]:void 0;break;case"raw":i=o;break;case"attribute":case"property":case"html":case"text":case"rich-text":case"children":case"node":case"query":case"tag":i=g(n,t)}return function(e,t){return void 0===t||d(e,Array.isArray(t)?t:[t])}(i,t.type)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(i,t.enum)||(i=void 0),void 0===i&&(i=(0,u.Ud)(t)),i}var p=(0,o.A)(e=>{switch(e.source){case"attribute":{const t=(0,r.CF)(e.selector,e.attribute);return"boolean"===e.type?(e=>t=>void 0!==e(t))(t):t}case"html":return(0,a.qy)(e.selector,e.multiline);case"text":return(0,r.Qq)(e.selector);case"rich-text":return(0,a.YD)(e.selector,e.__unstablePreserveWhiteSpace);case"children":return(0,c.jN)(e.selector);case"node":return(0,l.jN)(e.selector);case"query":const t=Object.fromEntries(Object.entries(e.query).map(([e,t])=>[e,p(t)]));return(0,r.P)(e.selector,t);case"tag":{const t=(0,r._w)(e.selector,"nodeName");return e=>t(e)?.toLowerCase()}default:return void console.error(`Unknown source type "${e.source}"`)}});function h(e){return(0,r.qg)(e??"",e=>e)}function g(e,t){return p(t)(h(e))}function m(e,t,n={}){const r=h(t),o=(0,u.nh)(e),s=Object.fromEntries(Object.entries(o?.attributes??{}).map(([e,o])=>[e,f(e,o,r,n,t)]));return(0,i.W5)("blocks.getBlockAttributes",s,o,t,n)}},80540(e,t,n){"use strict";n.d(t,{Ay:()=>g,Qu:()=>h});var r=n(33691),o=n(57158),i=n(4739),s=n(42168),a=n(43784),l=n(3118),c=n(77011),u=n(5884),d=n(88702),f=n(40872),p=n(93773);function h(e,t){let n=function(e,t){const n=(0,i.dZ)(),r=e.blockName||(0,i.dZ)(),s=e.attrs||{},a=e.innerBlocks||[];let l=e.innerHTML.trim();return r!==n||"core/freeform"!==r||t?.__unstableSkipAutop||(l=(0,o.A)(l).trim()),{...e,blockName:r,attrs:s,innerHTML:l,innerBlocks:a}}(e,t);n=function(e){const[t,n]=(0,c.l)(e.blockName,e.attrs??{});return{...e,blockName:t,attrs:n}}(n);let r=(0,i.E7)(n.blockName);r||(n=function(e){const t=(0,i.Lq)()||(0,i.dZ)(),n=(0,u.K)(e,{isCommentDelimited:!1}),r=(0,u.K)(e,{isCommentDelimited:!0});return{blockName:t,attrs:{originalName:e.blockName,originalContent:r,originalUndelimitedContent:n},innerHTML:e.blockName?r:e.innerHTML,innerBlocks:e.innerBlocks,innerContent:e.innerContent}}(n),r=(0,i.E7)(n.blockName));const g=n.blockName===(0,i.dZ)()||n.blockName===(0,i.Lq)();if(!r||!n.innerHTML&&g)return;const m=n.innerBlocks.map(e=>h(e,t)).filter(e=>!!e),v=(0,l.Wv)(n.blockName,(0,d.Ph)(r,n.innerHTML,n.attrs),m);if(v.originalContent=n.innerHTML,"core/html"===r.name)return v.innerContent=n.innerContent??[n.innerHTML],v.isValid=!0,v.validationIssues=[],v;const b=function(e,t){const[n]=(0,a.YV)(e,t);if(n)return{...e,isValid:n,validationIssues:[]};const r=(0,p.m)(e,t),[o,i]=(0,a.YV)(r,t);return{...r,isValid:o,validationIssues:i}}(v,r),{validationIssues:y}=b,k=(0,f.s)(b,n,r);return k.isValid||(k.__unstableBlockSource=e),b.isValid||!k.isValid||t?.__unstableSkipMigrationLogs?b.isValid||k.isValid||y.forEach(({log:e,args:t})=>e(...t)):(console.groupCollapsed("Updated Block: %s",r.name),console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",r.name,r,(0,s.Z9)(r,k.attributes),k.originalContent),console.groupEnd()),k}function g(e,t){return(0,r.q)(e).reduce((e,n)=>{const r=h(n,t);return r&&e.push(r),e},[])}},5884(e,t,n){"use strict";n.d(t,{K:()=>o});var r=n(42168);function o(e,t={}){const{isCommentDelimited:n=!0}=t,{blockName:i,attrs:s={},innerBlocks:a=[],innerContent:l=[]}=e;let c=0;const u=l.map(e=>null!==e?e:o(a[c++],t)).join("\n").replace(/\n+/g,"\n").trim();return n?(0,r.o7)(i??void 0,s,u):u}},47143(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(34342);function o(e={}){return t=>{if("BLOCKQUOTE"!==t.nodeName)return;const n=t;n.innerHTML=(0,r.A)(n.innerHTML,e)}}},49622(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(86558);function o(e){"BR"===e.nodeName&&((0,r.rQ)(e,"next")||e.parentNode.removeChild(e))}},5775(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69166);function o(e){e.nodeType===e.COMMENT_NODE&&(0,r.A)(e)}},14221(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(34342);function o(e){if("DIV"!==e.nodeName)return;const t=e;t.innerHTML=(0,r.A)(t.innerHTML)}},64806(e,t,n){"use strict";function r(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}n.d(t,{A:()=>r})},29192(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(53299);function o(e,t=e){const n=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(n,t),n.appendChild(e)}function i(e,t,n){if(!n||!function(e,t){const n=e.nodeName.toLowerCase();return"figcaption"!==n&&!(0,r.jw)(e)&&n in(t?.figure?.children??{})}(e,n))return;let i=e;const s=e.parentNode;(function(e,t){return e.nodeName.toLowerCase()in(t?.figure?.children?.a?.children??{})})(e,n)&&"A"===s.nodeName&&1===s.childNodes.length&&(i=e.parentNode);const a=i.closest("p,div");if(a){const t=e;t.classList?(t.classList.contains("alignright")||t.classList.contains("alignleft")||t.classList.contains("aligncenter")||!a.textContent.trim())&&o(i,a):o(i,a)}else o(i)}},17009(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(53299);function o(e,t,n){const r=n?e.firstChild:e.lastChild;if(!r||r.nodeType!==e.TEXT_NODE)return;const o=r,i=n?0:o.data.length-1;" "===o.data[i]&&(o.data=n?o.data.slice(1):o.data.slice(0,-1),o.data||e.removeChild(o),e.parentNode.insertBefore(t.createTextNode(" "),n?e:e.nextSibling))}function i(e,t){e.nodeType===e.ELEMENT_NODE&&(0,r.S)(e)&&(o(e,t,!0),o(e,t,!1))}},17942(e,t,n){"use strict";n.d(t,{Y:()=>o});var r=n(3118);function o(){return(0,r.XD)("from").filter(e=>"raw"===e.type).map(e=>({...e,isMatch:e.isMatch??(t=>!!e.selector&&t.matches(e.selector))}))}},62906(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(73967);function o(e){const t=e;t.id&&0===t.id.indexOf("docs-internal-guid-")&&("B"===t.tagName?(0,r.A)(e):t.removeAttribute("id"))}},35348(e,t,n){"use strict";function r(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}n.d(t,{A:()=>r})},16161(e,t,n){"use strict";function r(e){if(e.nodeType!==e.ELEMENT_NODE)return;const t=e;if("P"===t.tagName&&"heading"===t.getAttribute("role")&&t.hasAttribute("aria-level")){const e=parseInt(t.getAttribute("aria-level"),10);if(e>=1&&e<=6){const n=`H${e}`,r=t.ownerDocument.createElement(n);for(Array.from(t.attributes).forEach(e=>{"role"!==e.name&&"aria-level"!==e.name&&r.setAttribute(e.name,e.value)});t.firstChild;)r.appendChild(t.firstChild);t.parentNode.replaceChild(r,t)}}}n.d(t,{A:()=>r})},93797(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(86558);function o(e){if(e.nodeType!==e.TEXT_NODE)return;let t=e;for(;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;const n=e;let o=n.data.replace(/[ \r\n\t]+/g," ");if(" "===o[0]){const t=(0,r.rQ)(e,"previous");t&&"BR"!==t.nodeName&&" "!==t.textContent.slice(-1)||(o=o.slice(1))}if(" "===o[o.length-1]){const t=(0,r.rQ)(e,"next");(!t||"BR"===t.nodeName||t.nodeType===t.TEXT_NODE&&(" "===(i=t.textContent[0])||"\r"===i||"\n"===i||"\t"===i))&&(o=o.slice(0,-1))}var i;o?n.data=o:e.parentNode.removeChild(e)}},25377(e,t,n){"use strict";n.d(t,{l:()=>s});var r=n(3118),o=n(88702),i=n(17942);function s(e,t){const n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,Array.from(n.body.children).flatMap(e=>{const n=(0,i.Y)(),s=(0,r.wG)(n,t=>t.isMatch(e));if(!s)return(0,r.Wv)("core/html",{},[],[e.outerHTML]);const{transform:a,blockName:l}=s;if(a){const n=a(e,t);return e.hasAttribute("class")&&(n.attributes.className=e.getAttribute("class")),n}return(0,r.Wv)(l,(0,o.Ph)(l,e.outerHTML))})}},46050(e,t,n){"use strict";function r(e){if("IFRAME"===e.nodeName){const t=e,n=t.ownerDocument.createTextNode(t.src);t.parentNode.replaceChild(n,t)}}n.d(t,{A:()=>r})},83580(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(34552);function o(e){if("IMG"!==e.nodeName)return;const t=e;if(0===t.src.indexOf("file:")&&(t.src=""),0===t.src.indexOf("data:")){const[e,n]=t.src.split(","),[o]=e.slice(5).split(";");if(!n||!o)return void(t.src="");let i;try{i=atob(n)}catch{return void(t.src="")}const s=new Uint8Array(i.length);for(let e=0;e<s.length;e++)s[e]=i.charCodeAt(e);const a=o.replace("/","."),l=new window.File([s],a,{type:o});t.src=(0,r.bW)(l)}1!==t.height&&1!==t.width||t.parentNode.removeChild(t)}},92649(e,t,n){"use strict";n.d(t,{lh:()=>f});var r=n(25377),o=n(80540),i=n(34342),s=n(65123),a=n(92888),l=n(47143),c=n(29192),u=n(78207),d=n(86558);function f({HTML:e=""}){if(-1!==e.indexOf("\x3c!-- wp:")){const t=(0,o.Ay)(e);if(!(1===t.length&&"core/freeform"===t[0].name))return t}const t=(0,u.A)(e),n=(0,d.se)();return t.map(e=>{if("string"!=typeof e)return e;const t=[a.A,s.A,c.A,(0,l.A)({raw:!0})];return e=(0,d.M9)(e,t,n),e=(0,i.A)(e,{raw:!0}),(0,r.l)(e,f)}).flat().filter(Boolean)}},37491(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(53299);function o(e,t){return e.every(e=>function(e,t){if((0,r.jw)(e))return!0;if(!t)return!1;const n=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some(e=>0===[n,t].filter(t=>!e.includes(t)).length)}(e,t)&&o(Array.from(e.children),t))}function i(e){return"BR"===e.nodeName&&!!e.previousSibling&&"BR"===e.previousSibling.nodeName}function s(e,t){const n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;const r=Array.from(n.body.children);return!r.some(i)&&o(r,t)}},14220(e,t,n){"use strict";function r(e){const t=/[\p{L}\s]+/gu;let n;for(;n=t.exec(e);){if("{"===e[n.index-1])continue;let t=n[0];if("\\"===e[n.index-1]&&(t=t.replace(/^[a-zA-Z]+/,"")),!(t.length<6))return!1}if(/\\[a-zA-Z]+\s*\{/g.test(e))return!0;return[e=>e.includes("^")&&!e.startsWith("^"),e=>["=","+","-","/","*"].some(t=>e.includes(t)),e=>/\\[a-zA-Z]+/g.test(e)].filter(t=>t(e)).length>=2}n.d(t,{A:()=>r})},92888(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(73967);function o(e){return"OL"===e.nodeName||"UL"===e.nodeName}function i(e){if(!o(e))return;const t=e,n=t.previousElementSibling;if(n&&n.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode.removeChild(t)}const i=e.parentNode;if(i&&"LI"===i.nodeName&&1===i.children.length&&!/\S/.test((s=i,Array.from(s.childNodes).map(({nodeValue:e=""})=>e).join("")))){const e=i,n=e.previousElementSibling,r=e.parentNode;n&&(n.appendChild(t),r.removeChild(e))}var s;if(i&&o(i)){const n=t.previousElementSibling;n?n.appendChild(e):(0,r.A)(e)}}},31115(e,t,n){"use strict";function r(e){return e.replace(/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}n.d(t,{A:()=>s});var o=new(n(17649).Dz)({gfm:!0,breaks:!0,renderer:{code({text:e,lang:t}){const n=(t||"").match(/^\S*/)?.[0];return`<pre><code${n?` class="${n} language-${n}"`:""}>${r(e)}</code></pre>`},text:e=>!("tokens"in e&&e.tokens||"escaped"in e&&e.escaped)&&r(e.text)}});var i=[function(e){return e.includes("\n")?e:e.replace(/^(\d+)\.(\s)/,"$1\\.$2")},function(e){return e.replace(/(^|\n)•( +)/g,"$1*$2")},function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(e,t,n,r)=>`${t}\n${n}\n${r}`)}];function s(e){return o.parse(i.reduce((e,t)=>t(e),e),{async:!1})}},31963(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(86558),o=n(37687);function i(e){return"OL"===e.nodeName||"UL"===e.nodeName}function s(e,t){if("P"!==e.nodeName)return;const n=e,s=n.getAttribute("style");if(!s||!s.includes("mso-list"))return;const a=n.previousElementSibling;if(!a||!i(a)){const e=n.textContent.trim().slice(0,1),r=/[1iIaA]/.test(e),o=t.createElement(r?"ol":"ul");r&&o.setAttribute("type",e),n.parentNode.insertBefore(o,n)}const l=n.previousElementSibling,c=l.nodeName,u=t.createElement("li");let d=l;u.innerHTML=(0,r.M9)(n.innerHTML,[o.A]);const f=/mso-list\s*:[^;]+level([0-9]+)/i.exec(s);let p=f&&parseInt(f[1],10)-1||0;for(;p--;)d=d.lastChild||d,i(d)&&(d=d.lastChild||d);i(d)||(d=d.appendChild(t.createElement(c))),d.appendChild(u),n.parentNode.removeChild(n)}},37687(e,t,n){"use strict";function r(e){if(e.nodeType!==e.ELEMENT_NODE)return;const t=e,n=t.getAttribute("style");if(!n||!n.includes("mso-list"))return;"ignore"===n.split(";").reduce((e,t)=>{const[n,r]=t.split(":");return n&&r&&(e[n.trim().toLowerCase()]=r.trim().toLowerCase()),e},{})["mso-list"]&&t.remove()}n.d(t,{A:()=>r})},34342(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(53299),o=n(20122);function i(e,t={}){const n=document.implementation.createHTMLDocument(""),i=document.implementation.createHTMLDocument(""),s=n.body,a=i.body;for(s.innerHTML=e;s.firstChild;){const e=s.firstChild;e.nodeType===e.TEXT_NODE?(0,o.A)(e)?s.removeChild(e):(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(i.createElement("P")),a.lastChild.appendChild(e)):e.nodeType===e.ELEMENT_NODE?"BR"===e.nodeName?(e.nextSibling&&"BR"===e.nextSibling.nodeName&&(a.appendChild(i.createElement("P")),s.removeChild(e.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(e):s.removeChild(e)):"P"===e.nodeName?(0,o.A)(e)&&!t.raw?s.removeChild(e):a.appendChild(e):(0,r.S)(e)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(i.createElement("P")),a.lastChild.appendChild(e)):a.appendChild(e):s.removeChild(e)}return a.innerHTML}},75159(e,t,n){"use strict";n.d(t,{G:()=>P});var r=n(53299),o=n(20994),i=n(25377),s=n(4739),a=n(42168),l=n(80540),c=n(34342),u=n(65123),d=n(5775),f=n(37491),p=n(62194),h=n(35348),g=n(31963),m=n(37687),v=n(92888),b=n(83580),y=n(47143),k=n(14221),x=n(29192),w=n(78207),_=n(31115),A=n(46050),S=n(62906),C=n(93797),E=n(17009),T=n(49622),I=n(86558),j=n(64806),B=n(36254),N=n(14220),M=n(3118),R=n(16161),O=(...e)=>window?.console?.log?.(...e);function L(e){return e=(0,I.M9)(e,[h.A,S.A,m.A,p.A,d.A]),e=(0,o.A)(e,(0,r.dA)("paste"),!0),e=(0,I.M9)(e,[C.A,E.A,T.A]),O("Processed inline HTML:\n\n",e),e}function P({HTML:e="",plainText:t="",mode:n="AUTO",tagName:m}){if(O("Received HTML (pasteHandler):\n\n",e),O("Received plain text (pasteHandler):\n\n",t),e=(e=(e=e.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==n){const n=e||t;if(-1!==n.indexOf("\x3c!-- wp:")){const e=(0,l.Ay)(n);if(!(1===e.length&&"core/freeform"===e[0].name))return e}}e=e.normalize(),e=(0,I.M9)(e,[B.A]);const D=t&&(!e||(0,I.$i)(e));if(D&&(0,N.A)(t))return[(0,M.Wv)("core/math",{latex:t})];D&&(e=t,/^\s+$/.test(t)||(e=(0,_.A)(e)));const z=(0,w.A)(e),V=z.length>1;if(D&&!V&&"AUTO"===n&&-1===t.indexOf("\n")&&0!==t.indexOf("<p>")&&0===e.indexOf("<p>")&&(n="INLINE"),"INLINE"===n)return L(e);if("AUTO"===n&&!V&&(0,f.A)(e,m))return L(e);const F=(0,r.dA)("paste"),$=(0,I.se)("paste"),H=z.map(e=>{if("string"!=typeof e)return e;const t=[S.A,g.A,h.A,v.A,b.A,p.A,u.A,d.A,A.A,x.A,(0,y.A)(),k.A,R.A],n={...$,...F};return e=(0,I.M9)(e,t,$),e=(0,o.A)(e,n,!1),e=(0,c.A)(e),e=(0,I.M9)(e,[C.A,E.A,T.A,j.A],$),O("Processed HTML piece:\n\n",e),(0,i.l)(e,P)}).flat().filter(Boolean);if("AUTO"===n&&1===H.length&&(0,s.pN)(H[0].name,"__unstablePasteTextInline",!1)){const e=/^[\n]+|[\n]+$/g,n=t.replace(e,"");if(""!==n&&-1===n.indexOf("\n"))return(0,o.A)((0,a.zD)(H[0]),F,!1).replace(e,"")}return H}},62194(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(62473),o=n(94034);function i(e,t){if("SPAN"===e.nodeName&&e.style){const{fontWeight:n,fontStyle:r,textDecorationLine:i,textDecoration:s,verticalAlign:a}=e.style,l=e;"bold"!==n&&"700"!==n||(0,o.A)(t.createElement("strong"),l),"italic"===r&&(0,o.A)(t.createElement("em"),l),("line-through"===i||s.includes("line-through"))&&(0,o.A)(t.createElement("s"),l),"super"===a?(0,o.A)(t.createElement("sup"),l):"sub"===a&&(0,o.A)(t.createElement("sub"),l)}else if("B"===e.nodeName)(0,r.A)(e,"strong");else if("I"===e.nodeName)(0,r.A)(e,"em");else if("A"===e.nodeName){const t=e;t.target&&"_blank"===t.target.toLowerCase()?t.rel="noopener":(t.removeAttribute("target"),t.removeAttribute("rel")),t.name&&!t.id&&(t.id=t.name),t.id&&!t.ownerDocument.querySelector(`[href="#${t.id}"]`)&&t.removeAttribute("id")}}},78207(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(78400),o=n(3118),i=n(4739),s=n(88702),a=n(93773),l=e=>Array.isArray(e)?e:[e],c=/(\n|<p>|<br\s*\/?>)\s*$/,u=/^\s*(\n|<\/p>|<br\s*\/?>)/;var d=function e(t,n=0,d=[]){const f=(0,o.XD)("from").filter(e=>"shortcode"===e.type),p=(0,o.wG)(f,e=>-1===d.indexOf(e.blockName)&&l(e.tag).some(e=>(0,r.WS)(e).test(t)));if(!p)return[t];const h=l(p.tag).find(e=>(0,r.WS)(e).test(t)),g=n,m=(0,r.K2)(h,t,n);if(!m)return[t];n=m.index+m.content.length;const v=t.substr(0,m.index),b=t.substr(n);if(!(m.shortcode.content?.includes("<")||c.test(v)&&u.test(b)))return e(t,n);if(p.isMatch&&!p.isMatch(m.shortcode.attrs))return e(t,g,[...d,p.blockName]);let y=[];if("function"==typeof p.transform)y=[].concat(p.transform(m.shortcode.attrs,m)),y=y.map(e=>(e.originalContent=m.shortcode.content,(0,a.m)(e,(0,i.E7)(e.name))));else{const e=(0,i.E7)(p.blockName);if(!e)return[t];const n=p.attributes??e.attributes,r=Object.fromEntries(Object.entries(n).filter(([,e])=>e.shortcode).map(([e,t])=>[e,t.shortcode(m.shortcode.attrs,m)])),l={...e,attributes:n};let c=(0,o.Wv)(p.blockName,(0,s.Ph)(l,m.shortcode.content,r));c.originalContent=m.shortcode.content,c=(0,a.m)(c,l),y=[c]}return[...e(v.replace(c,"")),...y,...e(b.replace(u,""))]}},36254(e,t,n){"use strict";function r(e){if("SPAN"!==e.nodeName)return;if("paragraph-break"!==e.getAttribute("data-stringify-type"))return;const t=e.parentNode;t.insertBefore(e.ownerDocument.createElement("br"),e),t.insertBefore(e.ownerDocument.createElement("br"),e),t.removeChild(e)}n.d(t,{A:()=>r})},65123(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(82494),o=n(69166);function i(e,t){if(e.nodeType!==e.COMMENT_NODE)return;if("nextpage"!==e.nodeValue&&0!==e.nodeValue.indexOf("more"))return;const n=function(e,t){if("nextpage"===e.nodeValue)return function(e){const t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t);const n=e.nodeValue.slice(4).trim();let r=e,i=!1;for(;r=r.nextSibling;)if(r.nodeType===r.COMMENT_NODE&&"noteaser"===r.nodeValue){i=!0,(0,o.A)(r);break}return function(e,t,n){const r=n.createElement("wp-block");r.dataset.block="core/more",e&&(r.dataset.customText=e);t&&(r.dataset.noTeaser="");return r}(n,i,t)}(e,t);if(e.parentNode&&"P"===e.parentNode.nodeName){const r=Array.from(e.parentNode.childNodes),i=r.indexOf(e),s=e.parentNode.parentNode||t.body,a=(e,n)=>(e||(e=t.createElement("p")),e.appendChild(n),e);[r.slice(0,i).reduce(a,null),n,r.slice(i+1).reduce(a,null)].forEach(t=>t&&s.insertBefore(t,e.parentNode)),(0,o.A)(e.parentNode)}else(0,r.A)(e,n)}},86558(e,t,n){"use strict";n.d(t,{$i:()=>a,M9:()=>c,rQ:()=>u,se:()=>s});var r=n(53299),o=n(4739),i=n(17942);function s(e){return function(e,t){const n={phrasingContentSchema:(0,r.dA)(t),isPaste:"paste"===t};function i(e,t,n){switch(n){case"children":return"*"===e||"*"===t?"*":a({...e||{}},t||{});case"attributes":case"require":return Array.from(new Set([...e||[],...t||[]]));case"isMatch":if(!e||!t)return;return(...n)=>e(...n)||t(...n);case"classes":return(e||[]).includes("*")||(t||[]).includes("*")?["*"]:[...e||[],...t||[]]}}function s(e,t){if(e===t)return e;for(const n in t)e[n]?e[n]=i(e[n],t[n],n):Array.isArray(t[n])?e[n]=t[n].slice():e[n]={...t[n]};return e}function a(e,t){if(e===t)return e;for(const n in t)e[n]?e[n]=s(e[n],t[n]):Array.isArray(t[n])?e[n]=t[n].slice():e[n]={...t[n]};return e}return e.map(({isMatch:e,blockName:t,schema:r})=>{const i=(0,o.pN)(t,"anchor");return r="function"==typeof r?r(n):r,i||e?r?Object.fromEntries(Object.entries(r).map(([t,n])=>{let r=n.attributes||[];return i&&(r=[...r,"id"]),[t,{...n,attributes:r,isMatch:e||void 0}]})):{}:r}).reduce(a,{})}((0,i.Y)(),e)}function a(e){if(!/<(?!br[ />])/i.test(e))return!0;const t=document.implementation.createHTMLDocument("");if(t.body.innerHTML=e,1!==t.body.children.length)return!1;const n=t.body.children.item(0),r=n.getElementsByTagName("*");for(let e=0;e<r.length;e++)if("BR"!==r.item(e).tagName)return!1;return"SPAN"===n.tagName}function l(e,t,n,r){Array.from(e).forEach(e=>{l(e.childNodes,t,n,r),t.forEach(t=>{n.contains(e)&&t(e,n,r)})})}function c(e,t=[],n){const r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,l(r.body.childNodes,t,r,n),r.body.innerHTML}function u(e,t){const n=e[`${t}Sibling`];if(n&&(0,r.S)(n))return n;const{parentNode:o}=e;return o&&(0,r.S)(o)?u(o,t):void 0}},4739(e,t,n){"use strict";n.d(t,{E7:()=>y,K$:()=>b,Lq:()=>m,Xm:()=>C,bI:()=>x,dZ:()=>h,gc:()=>A,li:()=>k,oO:()=>S,pN:()=>w,tk:()=>_,uK:()=>g,uz:()=>v,xU:()=>f});var r=n(76319),o=n(1113),i=n(18335),s=n(90531),a=n(69543),l=n(7855),c=n(7283);function u(e){return null!==e&&"object"==typeof e}function d({textdomain:e,...t}){const n=["apiVersion","title","category","parent","ancestor","icon","description","keywords","attributes","providesContext","usesContext","selectors","supports","styles","example","variations","blockHooks","allowedBlocks"],r=Object.fromEntries(Object.entries(t).filter(([e])=>n.includes(e)));return e&&Object.keys(a).forEach(t=>{r[t]&&(r[t]=p(a[t],r[t],e))}),r}function f(e,t){const n=u(e)?e.name:e;if("string"!=typeof n)return void(0,s.A)("Block names must be strings.");if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(n))return void(0,s.A)("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");if((0,o.L)(l.M).getBlockType(n))return void(0,s.A)('Block "'+n+'" is already registered.');const{addBootstrappedBlockType:i,addUnprocessedBlockType:a}=(0,c.T)((0,r.J)(l.M));if(u(e)){i(n,d(e))}return a(n,t),(0,o.L)(l.M).getBlockType(n)}function p(e,t,n){return"string"==typeof e&&"string"==typeof t?(0,i._x)(t,e,n):Array.isArray(e)&&e.length&&Array.isArray(t)?t.map(t=>p(e[0],t,n)):u(e)&&Object.entries(e).length&&u(t)?Object.keys(t).reduce((r,o)=>e[o]?(r[o]=p(e[o],t[o],n),r):(r[o]=t[o],r),{}):t}function h(){return(0,o.L)(l.M).getFreeformFallbackBlockName()}function g(){return(0,o.L)(l.M).getGroupingBlockName()}function m(){return(0,o.L)(l.M).getUnregisteredFallbackBlockName()}function v(e){(0,r.J)(l.M).setDefaultBlockName(e)}function b(){return(0,o.L)(l.M).getDefaultBlockName()}function y(e){return(0,o.L)(l.M)?.getBlockType(e)}function k(){return(0,o.L)(l.M).getBlockTypes()}function x(e,t,n){return(0,o.L)(l.M).getBlockSupport(e,t,n)}function w(e,t,n){return(0,o.L)(l.M).hasBlockSupport(e,t,n)}function _(e){return"core/block"===e?.name}function A(e){return"core/template-part"===e?.name}var S=(e,t)=>(0,o.L)(l.M).getBlockVariations(e,t);function C(e){return(0,c.T)((0,o.L)(l.M)).getBlockBindingsSource(e)}},42168(e,t,n){"use strict";n.d(t,{Ay:()=>A,GD:()=>y,HK:()=>h,KW:()=>p,Z9:()=>k,it:()=>v,jO:()=>b,o7:()=>w,zD:()=>x});var r=n(2376),o=n(30621),i=n(32557),s=n(80471),a=n(3007),l=n(66786),c=n(4739),u=n(5884),d=n(92191),f=n(93236);function p(e){const t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,s.W5)("blocks.getBlockDefaultClassName",t,e)}function h(e){const t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,s.W5)("blocks.getBlockMenuDefaultClassName",t,e)}var g={},m={};function v(e={}){const{blockType:t,attributes:n}=g;return v.skipFilters?e:(0,s.W5)("blocks.getSaveContent.extraProps",{...e},t,n)}function b(e={}){const{innerBlocks:t}=m;if(!Array.isArray(t))return{...e,children:t};const n=A(t,{isInnerBlocks:!0}),r=(0,f.jsx)(i.A,{children:n});return{...e,children:r}}function y(e,t,n=[]){const o=(0,d.nh)(e);if(!o?.save)return null;let i=o.save;if(i.prototype instanceof r.Component){const e=new i({attributes:t});i=e.render.bind(e)}g.blockType=o,g.attributes=t,m.innerBlocks=n;let l=i({attributes:t,innerBlocks:n});if(null!==l&&"object"==typeof l&&(0,s.FC)("blocks.getSaveContent.extraProps")&&!((o.apiVersion??0)>1)){const e=(0,s.W5)("blocks.getSaveContent.extraProps",{...l.props},o,t);(0,a.hw)(e,l.props)||(l=(0,r.cloneElement)(l,e))}return(0,s.W5)("blocks.getSaveElement",l,o,t)}function k(e,t,n){const r=(0,d.nh)(e);return r?(0,o.Ay)(y(r,t,n)):""}function x(e){if(e.innerContent&&"core/html"===e.name)return function(e,t){let n=0;const r=e.map(e=>{if(null!==e)return e;const r=t[n++];return r?_(r,{isInnerBlocks:!0}):""});for(;n<t.length;n++)r.push(_(t[n],{isInnerBlocks:!0}));return r.join("").trim()}(e.innerContent,e.innerBlocks);let t=e.originalContent??"";if(e.isValid||e.innerBlocks.length)try{t=k(e.name,e.attributes,e.innerBlocks)}catch{}return t}function w(e,t,n){const r=t&&Object.entries(t).length?function(e){return JSON.stringify(e).replaceAll("\\\\","\\u005c").replaceAll("--","\\u002d\\u002d").replaceAll("<","\\u003c").replaceAll(">","\\u003e").replaceAll("&","\\u0026").replaceAll('\\"',"\\u0022")}(t)+" ":"",o=e?.startsWith("core/")?e.slice(5):e;return n?`\x3c!-- wp:${o} ${r}--\x3e\n`+n+`\n\x3c!-- /wp:${o} --\x3e`:`\x3c!-- wp:${o} ${r}/--\x3e`}function _(e,{isInnerBlocks:t=!1}={}){if(!e.isValid&&e.__unstableBlockSource)return(0,u.K)(e.__unstableBlockSource);const n=e.name,r=x(e);if(n===(0,c.Lq)()||!t&&n===(0,c.dZ)())return r;const o=(0,c.E7)(n);if(!o)return r;const i=function(e,t){return Object.entries(e.attributes??{}).reduce((n,[r,o])=>{const i=t[r];return void 0===i||void 0!==o.source||"local"===o.role?n:"local"===o.__experimentalRole?((0,l.A)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${e?.name} block.`}),n):("default"in o&&JSON.stringify(o.default)===JSON.stringify(i)||(n[r]=i),n)},{})}(o,e.attributes);return w(n,i,r)}function A(e,t){return(Array.isArray(e)?e:[e]).map(e=>_(e,t)).join("\n\n")}},96525(e,t,n){"use strict";n.d(t,{N:()=>u,V:()=>a});var r=n(30621),o=n(77011),i=n(3118),s=n(4739);function a(e=[],t=[]){return e.length===t.length&&t.every(([t,,n],r)=>{const o=e[r];return t===o.name&&a(o.innerBlocks,n)})}function l(e,t){return t?Object.fromEntries(Object.entries(t).map(([t,n])=>[t,c(e[t],n)])):{}}function c(e,t){return n=e,"html"===n?.source&&Array.isArray(t)?(0,r.Ay)(t):(e=>"query"===e?.source)(e)&&t?t.map(t=>l(e.query,t)):t;var n}function u(e=[],t){return t?t.map(([t,n,r],a)=>{const c=e[a];if(c&&c.name===t){const e=u(c.innerBlocks,r);return{...c,innerBlocks:e}}const d=(0,s.E7)(t),f=l(d?.attributes??{},n),[p,h]=(0,o.l)(t,f);return(0,i.Wv)(p,h,u([],r))}):e}},92191(e,t,n){"use strict";n.d(t,{C5:()=>p,IR:()=>g,Ig:()=>m,Ud:()=>y,Xw:()=>h,cA:()=>x,cJ:()=>A,f:()=>_,gY:()=>b,nh:()=>v,oA:()=>w,yb:()=>k});var r=n(63270),o=n(93295),i=n(96089),s=n(2376),a=(n(18335),n(15394)),l=n(4157),c=n(66786),u=n(83019),d=n(4739);(0,r.X$)([o.A,i.A]);var f=["#191e23","#f8f9f9"];function p(e,t){const n=(0,d.E7)(e.name)?.attributes??{},r=t?Object.entries(n).filter(([n,r])=>"content"===t&&"metadata"===n?Object.keys(e.attributes[n]?.bindings??{}).length>0:r.role===t||r.__experimentalRole===t):[];return(r.length?r:Object.entries(n)).every(([t,n])=>{const r=e.attributes[t];return n.hasOwnProperty("default")?r===n.default:"rich-text"===n.type?!r?.length:void 0===r})}function h(e,t){return e.name===(0,d.K$)()&&p(e,t)}function g(e){return!!e&&("string"==typeof e||(0,s.isValidElement)(e)||"function"==typeof e||e instanceof s.Component)}function m(e){const t=e||u.IR;if(g(t))return{src:t};const n=t;if("background"in n){const e=(0,r.Mj)(n.background),t=t=>e.contrast(t),o=Math.max(...f.map(t));return{...n,foreground:n.foreground?n.foreground:f.find(e=>t(e)===o),shadowColor:e.alpha(.3).toRgbString()}}return n}function v(e){return"string"==typeof e?(0,d.E7)(e):e}function b(e,t,n="visual"){const{__experimentalLabel:r,title:o}=e,i=r&&r(t,{context:n});return i?i.toPlainText?i.toPlainText():(0,a.A)(i):o}function y(e){return void 0!==e.default?e.default:"rich-text"===e.type?new l.EF:void 0}function k(e){return void 0!==(0,d.E7)(e)}function x(e,t){const n=(0,d.E7)(e);if(void 0===n)throw new Error(`Block type '${e}' is not registered.`);return Object.entries(n.attributes).reduce((e,[n,r])=>{const o=t[n];if(void 0!==o)"rich-text"===r.type?o instanceof l.EF?e[n]=o:"string"==typeof o&&(e[n]=l.EF.fromHTMLString(o)):"string"===r.type&&o instanceof l.EF?e[n]=o.toHTMLString():e[n]=o;else{const t=y(r);void 0!==t&&(e[n]=t)}return-1!==["node","children"].indexOf(r.source??"")&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e},{})}function w(e,t){const n=(0,d.E7)(e)?.attributes;if(!n)return[];const r=Object.keys(n);return t?r.filter(r=>{const o=n[r];return o?.role===t||o?.__experimentalRole===t&&((0,c.A)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${e} block.`}),!0)}):r}function _(e){const t=(0,d.E7)(e),n=t?.attributes,r=t?.supports?.contentRole;return!!r||!!n&&!!Object.keys(n)?.some(e=>{const t=n[e];return"content"===t?.role||"content"===t?.__experimentalRole})}function A(e,t){const n=Array.isArray(t)?t:[t];return Object.fromEntries(Object.entries(e).filter(([e])=>!n.includes(e)))}},43784(e,t,n){"use strict";n.d(t,{YV:()=>B});var r=n(20745),o=n(64168),i=n(28520),s=n(71624),a=n(42168),l=n(4739),c=n(92191),u=/[\t\n\r\v\f ]+/g,d=/^[\t\n\r\v\f ]*$/,f=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,p=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],h=[...p,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],g=[e=>e,function(e){return k(e).join(" ")}],m=/^[\da-z]+$/i,v=/^#\d+$/,b=/^#x[\da-f]+$/i;var y=class{parse(e){if(t=e,m.test(t)||v.test(t)||b.test(t))return(0,i.S)("&"+e+";");var t}};function k(e){return e.trim().split(u)}function x(e){return(e.attributes??[]).filter(e=>{const[t,n]=e;return n||0===t.indexOf("data-")||h.includes(t)})}function w(e,t,n=(0,s.h)()){let r=e.chars,o=t.chars;for(let e=0;e<g.length;e++){const t=g[e];if(r=t(r),o=t(o),r===o)return!0}return n.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function _(e){return 0===parseFloat(e)?"0":0===e.indexOf(".")?"0"+e:e}function A(e){return k(e).map(_).join(" ").replace(f,"url($1)")}function S(e){const t=e.replace(/;?\s*$/,"").split(";").map(e=>{const[t,...n]=e.split(":"),r=n.join(":");return[t.trim(),A(r.trim())]});return Object.fromEntries(t)}var C={class:(e,t)=>{const[n,r]=[e,t].map(k),o=n.filter(e=>!r.includes(e)),i=r.filter(e=>!n.includes(e));return 0===o.length&&0===i.length},style:(e,t)=>o(...[e,t].map(S)),...Object.fromEntries(p.map(e=>[e,()=>!0]))};var E={StartTag:(e,t,n=(0,s.h)())=>e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(n.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t,n=(0,s.h)()){if(e.length!==t.length)return n.warning("Expected attributes %o, instead saw %o.",t,e),!1;const r={};for(let e=0;e<t.length;e++)r[t[e][0].toLowerCase()]=t[e][1];for(let t=0;t<e.length;t++){const[o,i]=e[t],s=o.toLowerCase();if(!r.hasOwnProperty(s))return n.warning("Encountered unexpected attribute `%s`.",o),!1;const a=r[s],l=C[s];if(l){if(!l(i,a))return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",o,a,i),!1}else if(i!==a)return n.warning("Expected attribute `%s` of value `%s`, saw `%s`.",o,a,i),!1}return!0}(...[e,t].map(x),n),Chars:w,Comment:w};function T(e){let t;for(;t=e.shift();){if("Chars"!==t.type)return t;if(!d.test(t.chars))return t}}function I(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function j(e,t,n=(0,s.h)()){if(e===t)return!0;const[o,i]=[e,t].map(e=>function(e,t=(0,s.h)()){try{return new r._F(new y).tokenize(e)}catch{t.warning("Malformed HTML detected: %s",e)}return null}(e,n));if(!o||!i)return!1;let a,l;for(;a=T(o);){if(l=T(i),!l)return n.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==l.type)return n.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",l.type,l,a.type,a),!1;const e=E[a.type];if(e&&!e(a,l,n))return!1;I(a,i[0])?T(i):I(l,o[0])&&T(o)}return!(l=T(i))||(n.warning("Expected %o, instead saw end of content.",l),!1)}function B(e,t=e.name){if(e.name===(0,l.dZ)()||e.name===(0,l.Lq)())return[!0,[]];const n=(0,s.U)(),r=(0,c.nh)(t);let o;try{o=(0,a.Z9)(r,e.attributes)}catch(e){return n.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),[!1,n.getItems()]}const i=j(e.originalContent,o,n);return i||n.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",r.name,r,o,e.originalContent),[i,n.getItems()]}},71624(e,t,n){"use strict";function r(){function e(e){return(t,...n)=>e("Block validation: "+t,...n)}return{error:e(console.error),warning:e(console.warn),getItems:()=>[]}}function o(){const e=[],t=r();return{error(...n){e.push({log:t.error,args:n})},warning(...n){e.push({log:t.warning,args:n})},getItems:()=>e}}n.d(t,{U:()=>o,h:()=>r})},87761(e,t,n){"use strict";n.d(t,{C5:()=>o.C5,E7:()=>o.E7,F8:()=>o.F8,Fk:()=>o.Fk,G8:()=>o.G8,GD:()=>o.GD,GI:()=>o.GI,Gk:()=>o.Gk,HK:()=>o.HK,JB:()=>o.JB,K$:()=>o.K$,KL:()=>o.KL,KW:()=>o.KW,Kx:()=>o.Kx,M_:()=>r.M,Nk:()=>o.Nk,Ph:()=>o.Ph,RY:()=>o.RY,V6:()=>o.V6,Wv:()=>o.Wv,XD:()=>o.XD,Xm:()=>o.Xm,Xw:()=>o.Xw,Y0:()=>o.Y0,YV:()=>o.YV,Y_:()=>o.Y_,Z9:()=>o.Z9,b6:()=>o.b6,bI:()=>o.bI,bh:()=>o.bh,cV:()=>o.cV,dB:()=>o.dB,gc:()=>o.gc,jb:()=>o.jb,lK:()=>o.lK,lh:()=>o.lh,li:()=>o.li,oA:()=>o.oA,oO:()=>o.oO,pN:()=>o.pN,qg:()=>o.qg,tk:()=>o.tk,to:()=>o.to,uz:()=>o.uz,v9:()=>o.v9,wG:()=>o.wG,xU:()=>o.xU});var r=n(7855),o=n(10864)},7283(e,t,n){"use strict";n.d(t,{T:()=>i,s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/blocks")},30026(e,t,n){"use strict";n.r(t),n.d(t,{__experimentalReapplyBlockFilters:()=>a,addBlockCollection:()=>y,addBlockStyles:()=>c,addBlockTypes:()=>i,addBlockVariations:()=>d,reapplyBlockTypeFilters:()=>s,removeBlockCollection:()=>k,removeBlockStyles:()=>u,removeBlockTypes:()=>l,removeBlockVariations:()=>f,setCategories:()=>v,setDefaultBlockName:()=>p,setFreeformFallbackBlockName:()=>h,setGroupingBlockName:()=>m,setUnregisteredFallbackBlockName:()=>g,updateCategory:()=>b});var r=n(66786),o=n(33825);function i(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Array.isArray(e)?e:[e]}}function s(){return({dispatch:e,select:t})=>{const n=[];for(const[r,i]of Object.entries(t.getUnprocessedBlockTypes())){const t=e((0,o.$)(r,i));t&&n.push(t)}n.length&&e.addBlockTypes(n)}}function a(){return(0,r.A)('wp.data.dispatch( "core/blocks" ).__experimentalReapplyBlockFilters',{since:"6.4",alternative:"reapplyBlockFilters"}),s()}function l(e){return{type:"REMOVE_BLOCK_TYPES",names:Array.isArray(e)?e:[e]}}function c(e,t){return{type:"ADD_BLOCK_STYLES",styles:Array.isArray(t)?t:[t],blockNames:Array.isArray(e)?e:[e]}}function u(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Array.isArray(t)?t:[t],blockName:e}}function d(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Array.isArray(t)?t:[t],blockName:e}}function f(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Array.isArray(t)?t:[t],blockName:e}}function p(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function h(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function g(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function m(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function v(e){return{type:"SET_CATEGORIES",categories:e}}function b(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function y(e,t,n){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:n}}function k(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}},95312(e,t,n){"use strict";n.d(t,{E:()=>r});var r="core/blocks"},7855(e,t,n){"use strict";n.d(t,{M:()=>f});var r=n(1663),o=n(9080),i=n(88427),s=n(19385),a=n(56103),l=n(30026),c=n(77484),u=n(95312),d=n(7283),f=(0,o.A)(u.E,{reducer:i.Ay,selectors:s,actions:l});(0,r.kz)(f),(0,d.T)(f).registerPrivateSelectors(a),(0,d.T)(f).registerPrivateActions(c)},77484(e,t,n){"use strict";n.r(t),n.d(t,{addBlockBindingsSource:()=>s,addBootstrappedBlockType:()=>o,addUnprocessedBlockType:()=>i,removeBlockBindingsSource:()=>a});var r=n(33825);function o(e,t){return{type:"ADD_BOOTSTRAPPED_BLOCK_TYPE",name:e,blockType:t}}function i(e,t){return({dispatch:n})=>{n({type:"ADD_UNPROCESSED_BLOCK_TYPE",name:e,blockType:t});const o=n((0,r.$)(e,t));o&&n.addBlockTypes(o)}}function s(e){return{type:"ADD_BLOCK_BINDINGS_SOURCE",name:e.name,label:e.label,usesContext:e.usesContext,getValues:e.getValues,setValues:e.setValues,canUserEditValue:e.canUserEditValue,getFieldsList:e.getFieldsList}}function a(e){return{type:"REMOVE_BLOCK_BINDINGS_SOURCE",name:e}}},56103(e,t,n){"use strict";n.r(t),n.d(t,{getAllBlockBindingsSources:()=>h,getBlockBindingsSource:()=>g,getBlockBindingsSourceFieldsList:()=>m,getBlockKeyboardShortcuts:()=>v,getBootstrappedBlockType:()=>f,getSupportedStyles:()=>d,getUnprocessedBlockTypes:()=>p,hasContentRoleAttribute:()=>b});var r=n(35705),o=n(23537),i=n(66786),s=n(19385),a=n(71076),l=n(83019),c=["background","backgroundColor","color","linkColor","captionColor","buttonColor","headingColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","padding","contentSize","wideSize","blockGap","textAlign","textDecoration","textIndent","textTransform","letterSpacing"];function u(e,t,n){return e.filter(e=>("fontSize"!==e||"heading"!==n)&&(!("textDecoration"===e&&!t&&"link"!==n)&&(!("textTransform"===e&&!t&&!["heading","h1","h2","h3","h4","h5","h6"].includes(n)&&"button"!==n&&"caption"!==n&&"text"!==n)&&(!("letterSpacing"===e&&!t&&!["heading","h1","h2","h3","h4","h5","h6"].includes(n)&&"button"!==n&&"caption"!==n&&"text"!==n)&&(!("textIndent"===e&&!t)&&!("textColumns"===e&&!t))))))}var d=(0,o.M)((e,t,n)=>{if(!t)return u(c,t,n);const r=(0,s.getBlockType)(e,t);if(!r)return[];const o=[],i=r?.supports;i?.spacing?.blockGap&&o.push("blockGap"),i?.shadow&&o.push("shadow");const d=l.RY;return Object.keys(d).forEach(e=>{d[e].support&&(d[e].requiresOptOut&&i&&d[e].support[0]in i&&!1!==(0,a.K)(i,d[e].support)||i&&(0,a.K)(i,d[e].support,!1))&&o.push(e)}),u(o,t,n)},(e,t)=>[e.blockTypes[t]]);function f(e,t){return e.bootstrappedBlockTypes[t]}function p(e){return e.unprocessedBlockTypes}function h(e){return e.blockBindingsSources}function g(e,t){return e.blockBindingsSources[t]}var m=(0,r.N)(e=>(0,o.M)((t,n,r)=>{if(!n.getFieldsList)return[];const o={};if(n?.usesContext?.length)for(const e of n.usesContext)o[e]=r[e];return n.getFieldsList({select:e,context:o})},(e,t,n)=>[t.getFieldsList,t.usesContext,n])),v=(0,o.M)(e=>{const t=[];for(const n of Object.keys(e.blockTypes)){for(const r of e.blockVariations[n]??[])r.shortcut&&t.push({...r.shortcut,targetBlockName:n,blockNames:[n],variationName:r.name});const r=e.blockTypes[n]?.transforms;for(const e of r?.to??[]){if("block"!==e.type)continue;const r=e.blocks?.[0];if(r)for(const o of e.shortcuts??[])t.push({...o,targetBlockName:r,blockNames:[n],variationName:o.variationName??e.variationName})}for(const e of r?.from??[])if("block"===e.type&&e.blocks?.length)for(const r of e.shortcuts??[])t.push({...r,targetBlockName:n,blockNames:e.blocks,variationName:r.variationName??e.variationName})}return t},e=>[e.blockTypes,e.blockVariations]),b=(e,t)=>{const n=(0,s.getBlockType)(e,t);return!!n&&Object.values(n.attributes).some(({role:e,__experimentalRole:n})=>"content"===e||"content"===n&&((0,i.A)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${t} block.`}),!0))}},33825(e,t,n){"use strict";n.d(t,{$:()=>f});var r=n(97160),o=n(95415),i=n(66786),s=n(80471),a=n(90531),l=n(92191),c=n(83019),u={common:"text",formatting:"text",layout:"design"};function d(e=[],t=[]){const n=[...e];return t.forEach(e=>{const t=n.findIndex(t=>t.name===e.name);-1!==t?n[t]={...n[t],...e}:n.push(e)}),n}var f=(e,t)=>({select:n})=>{const f=n.getBootstrappedBlockType(e),p={apiVersion:1,name:e,icon:c.IR,keywords:[],attributes:{},providesContext:{},usesContext:[],selectors:{},supports:{},styles:[],blockHooks:{},save:()=>null,...f,...t,variations:d(Array.isArray(f?.variations)?f.variations:[],Array.isArray(t?.variations)?t.variations:[])};p.attributes&&"object"==typeof p.attributes||((0,a.A)('The block "'+e+'" is registering attributes as `null` or `undefined`. Use an empty object (`attributes: {}`) or exclude the `attributes` key.'),p.attributes={});const h=(0,s.W5)("blocks.registerBlockType",p,e,null);if(h.apiVersion<=2&&(0,i.A)("Block with API version 2 or lower",{since:"6.9",hint:`The block "${e}" is registered with API version ${h.apiVersion}. This means that the post editor may work as a non-iframe editor. Since all editors are planned to work as iframes in the future, set the \`apiVersion\` field to 3 and test the block inside the iframe editor.`,link:"https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/block-migration-for-iframe-editor-compatibility/"}),h.description&&"string"!=typeof h.description&&(0,i.A)("Declaring non-string block descriptions",{since:"6.2"}),h.deprecated&&(h.deprecated=h.deprecated.map(e=>Object.fromEntries(Object.entries((0,s.W5)("blocks.registerBlockType",{...(0,l.cJ)(p,c.m),...e},p.name,e)).filter(([e])=>c.m.includes(e))))),!(0,r.Q)(h))return void(0,a.A)("Block settings must be a valid object.");if("function"!=typeof h.save)return void(0,a.A)('The "save" property must be a valid function.');if("edit"in h&&!(0,o.isValidElementType)(h.edit))return void(0,a.A)('The "edit" property must be a valid component.');if("string"==typeof h.category&&u.hasOwnProperty(h.category)&&(h.category=u[h.category]),"category"in h&&!n.getCategories().some(({slug:e})=>e===h.category)&&((0,a.A)('The block "'+e+'" is registered with an invalid category "'+h.category+'".'),delete h.category),!("title"in h)||""===h.title)return void(0,a.A)('The block "'+e+'" must have a title.');if("string"!=typeof h.title)return void(0,a.A)("Block titles must be strings.");const g=(0,l.Ig)(h.icon);if(h.icon=g,(0,l.IR)(g.src))if(("string"==typeof h?.parent||h?.parent instanceof String)&&(h.parent=[h.parent],(0,a.A)("Parent must be undefined or an array of strings (block types), but it is a string.")),Array.isArray(h?.parent)||void 0===h?.parent){if(1!==h?.parent?.length||e!==h.parent[0])return h;(0,a.A)('Block "'+e+'" cannot be a parent of itself. Please remove the block name from the parent list.')}else(0,a.A)("Parent must be undefined or an array of block types, but it is "+h.parent);else(0,a.A)("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}},88427(e,t,n){"use strict";n.d(t,{Ay:()=>m});var r=n(51889),o=n(1663),i=n(18335),s=n(92191),a=[{slug:"text",title:(0,i.__)("Text")},{slug:"media",title:(0,i.__)("Media")},{slug:"design",title:(0,i.__)("Design")},{slug:"widgets",title:(0,i.__)("Widgets")},{slug:"theme",title:(0,i.__)("Theme")},{slug:"embed",title:(0,i.__)("Embeds")},{slug:"reusable",title:(0,i.__)("Reusable blocks")}];function l(e){return e.reduce((e,t)=>({...e,[t.name]:t}),{})}function c(e){return e.reduce((e,t)=>(e.some(e=>e.name===t.name)||e.push(t),e),[])}function u(e){return(t=null,n)=>{switch(n.type){case"REMOVE_BLOCK_TYPES":return-1!==n.names.indexOf(t)?null:t;case e:return n.name||null}return t}}var d=u("SET_DEFAULT_BLOCK_NAME"),f=u("SET_FREEFORM_FALLBACK_BLOCK_NAME"),p=u("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),h=u("SET_GROUPING_BLOCK_NAME");function g(e=[],t=[]){const n=Array.from(new Set(e.concat(t)));return n.length>0?n:void 0}var m=(0,o.HY)({bootstrappedBlockTypes:function(e={},t){switch(t.type){case"ADD_BOOTSTRAPPED_BLOCK_TYPE":const{name:n,blockType:o}=t;if(e[n])return e;const i=Object.fromEntries(Object.entries(o).filter(([,e])=>null!=e).map(([e,t])=>[(0,r.xQ)(e),t]));return i.name=n,{...e,[n]:i};case"REMOVE_BLOCK_TYPES":return(0,s.cJ)(e,t.names)}return e},unprocessedBlockTypes:function(e={},t){switch(t.type){case"ADD_UNPROCESSED_BLOCK_TYPE":return{...e,[t.name]:t.blockType};case"REMOVE_BLOCK_TYPES":return(0,s.cJ)(e,t.names)}return e},blockTypes:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...l(t.blockTypes)};case"REMOVE_BLOCK_TYPES":return(0,s.cJ)(e,t.names)}return e},blockStyles:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object.fromEntries(Object.entries(l(t.blockTypes)).map(([t,n])=>[t,c([...(n.styles??[]).map(e=>({...e,source:"block"})),...(e[n.name]??[]).filter(({source:e})=>"block"!==e)])]))};case"ADD_BLOCK_STYLES":const n={};return t.blockNames.forEach(r=>{n[r]=c([...e[r]??[],...t.styles])}),{...e,...n};case"REMOVE_BLOCK_STYLES":return{...e,[t.blockName]:(e[t.blockName]??[]).filter(e=>-1===t.styleNames.indexOf(e.name))}}return e},blockVariations:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object.fromEntries(Object.entries(l(t.blockTypes)).map(([t,n])=>[t,c([...(n.variations??[]).map(e=>({...e,source:"block"})),...(e[n.name]??[]).filter(({source:e})=>"block"!==e)])]))};case"ADD_BLOCK_VARIATIONS":return{...e,[t.blockName]:c([...e[t.blockName]??[],...t.variations])};case"REMOVE_BLOCK_VARIATIONS":return{...e,[t.blockName]:(e[t.blockName]??[]).filter(e=>-1===t.variationNames.indexOf(e.name))}}return e},defaultBlockName:d,freeformFallbackBlockName:f,unregisteredFallbackBlockName:p,groupingBlockName:h,categories:function(e=a,t){switch(t.type){case"SET_CATEGORIES":const n=new Map;return(t.categories||[]).forEach(e=>{n.set(e.slug,e)}),[...n.values()];case"UPDATE_CATEGORY":if(!t.category||!Object.keys(t.category).length)return e;if(e.find(({slug:e})=>e===t.slug))return e.map(e=>e.slug===t.slug?{...e,...t.category}:e)}return e},collections:function(e={},t){switch(t.type){case"ADD_BLOCK_COLLECTION":return{...e,[t.namespace]:{title:t.title,icon:t.icon}};case"REMOVE_BLOCK_COLLECTION":return(0,s.cJ)(e,t.namespace)}return e},blockBindingsSources:function(e={},t){switch(t.type){case"ADD_BLOCK_BINDINGS_SOURCE":return{...e,[t.name]:{label:t.label||e[t.name]?.label,usesContext:g(e[t.name]?.usesContext,t.usesContext),getValues:t.getValues,setValues:t.setValues,canUserEditValue:t.setValues&&t.canUserEditValue,getFieldsList:t.getFieldsList}};case"REMOVE_BLOCK_BINDINGS_SOURCE":return(0,s.cJ)(e,t.name)}return e}})},19385(e,t,n){"use strict";n.r(t),n.d(t,{__experimentalHasContentRoleAttribute:()=>j,getActiveBlockVariation:()=>g,getBlockStyles:()=>p,getBlockSupport:()=>A,getBlockType:()=>f,getBlockTypes:()=>d,getBlockVariations:()=>h,getCategories:()=>v,getChildBlockNames:()=>_,getCollections:()=>b,getDefaultBlockName:()=>y,getDefaultBlockVariation:()=>m,getFreeformFallbackBlockName:()=>k,getGroupingBlockName:()=>w,getUnregisteredFallbackBlockName:()=>x,hasBlockSupport:()=>S,hasChildBlocks:()=>T,hasChildBlocksWithInserterSupport:()=>I,isMatchingSearchTerm:()=>E});var r=n(44775),o=n(64168),i=n(23537),s=n(4157),a=n(66786),l=n(71076),c=n(56103),u=(e,t)=>"string"==typeof t?f(e,t):t,d=(0,i.M)(e=>Object.values(e.blockTypes),e=>[e.blockTypes]);function f(e,t){return e.blockTypes[t]}function p(e,t){return e.blockStyles[t]}var h=(0,i.M)((e,t,n)=>{const r=e.blockVariations[t];return r&&n?r.filter(e=>(e.scope||["block","inserter"]).includes(n)):r},(e,t)=>[e.blockVariations[t]]);function g(e,t,n,r,i){const a=h(e,t,r);if(!a)return a;if(i){const e=a.find(e=>e.innerContent&&o(e.innerContent,i));if(e)return e}const c=f(e,t),u=Object.keys(c?.attributes||{});let d,p=0;for(const e of a)if(!e.innerContent)if(Array.isArray(e.isActive)){const t=e.isActive.filter(e=>{const t=e.split(".")[0];return u.includes(t)}),r=t.length;if(0===r)continue;t.every(t=>{const r=(0,l.K)(e.attributes,t);if(void 0===r)return!1;let o=(0,l.K)(n,t);return o instanceof s.EF&&(o=o.toHTMLString()),(0,l.V)(o,r)})&&r>p&&(d=e,p=r)}else if(e.isActive?.(n,e.attributes))return d||e;return!d&&["block","transform"].includes(r)&&(d=a.find(e=>e?.isDefault&&!Object.hasOwn(e,"isActive"))),d}function m(e,t,n){const r=h(e,t,n);return[...r||[]].reverse().find(({isDefault:e})=>!!e)||r?.[0]}function v(e){return e.categories}function b(e){return e.collections}function y(e){return e.defaultBlockName}function k(e){return e.freeformFallbackBlockName}function x(e){return e.unregisteredFallbackBlockName}function w(e){return e.groupingBlockName}var _=(0,i.M)((e,t)=>d(e).filter(e=>e.parent?.includes(t)).map(({name:e})=>e),e=>[e.blockTypes]),A=(e,t,n,r)=>{const o=u(e,t);return o?.supports?(0,l.K)(o.supports,n,r):r};function S(e,t,n,r){return!!A(e,t,n,r)}function C(e){return r(e??"").toLowerCase().trim()}function E(e,t,n=""){const r=u(e,t),o=C(n),i=e=>C(e).includes(o);return i(r?.title)||r?.keywords?.some(i)||i(r?.category)||"string"==typeof r?.description&&i(r.description)}var T=(e,t)=>_(e,t).length>0,I=(e,t)=>_(e,t).some(t=>S(e,t,"inserter",!0)),j=(...e)=>((0,a.A)("__experimentalHasContentRoleAttribute",{since:"6.7",version:"6.8",hint:"This is a private selector."}),(0,c.hasContentRoleAttribute)(...e))},71076(e,t,n){"use strict";n.d(t,{K:()=>r,V:()=>i});var r=(e,t,n)=>{const r=Array.isArray(t)?t:t.split(".");let o=e;return r.forEach(e=>{o=o?.[e]}),o??n};function o(e){return"object"==typeof e&&null!==e&&e.constructor===Object}function i(e,t){return o(e)&&o(t)?Object.entries(t).every(([t,n])=>i(e?.[t],n)):e===t}},45857(e,t,n){"use strict";n.d(t,{p:()=>b});var r=n(13022),o=n(45149),i=n(2376),s=n(4157),a=n(87444),l=n(43730),c=n(71886),u=n(36331),d=n(18335),f=n(68281),p=n(43192),h=n(88149),g=n(69257),m=n(93236);function v({items:e,onSelect:t,selectedIndex:n,instanceId:o,listBoxId:i,className:s,Component:a="div"}){return(0,m.jsx)(a,{id:i,role:"listbox",className:"components-autocomplete__results",children:e.map((e,i)=>(0,m.jsx)(p.A,{id:`components-autocomplete-item-${o}-${e.key}`,role:"option",__next40pxDefaultSize:!0,"aria-selected":i===n,accessibleWhenDisabled:!0,disabled:e.isDisabled,className:(0,r.A)("components-autocomplete__result",s,{"is-selected":i===n}),variant:i===n?"primary":void 0,onClick:()=>t(e),children:e.label},e.key))})}function b({autocompleter:e,filterValue:t,instanceId:n,listBoxId:r,className:p,selectedIndex:b,onChangeOptions:y,onSelect:k,reset:x,contentRef:w}){const _=e.useItems??(0,f.A)(e),[A]=_(t),S=(0,s.d6)({editableContentElement:w.current}),[C,E]=(0,i.useState)(!1),T=(0,i.useRef)(null),I=(0,l.A)([T,(0,c.A)(e=>{w.current&&E(e.ownerDocument!==w.current.ownerDocument)},[w])]);var j,B;j=T,B=x,(0,i.useEffect)(()=>{const e=e=>{j.current&&!j.current.contains(e.target)&&B(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[B,j]);const N=(0,a.A)(u.L,500);return(0,i.useLayoutEffect)(()=>{var e;y(A),e=A,N&&(e.length?N(t?(0,d.nv)(
234 /* translators: %d: number of results. */
235 /* translators: %d: number of results. */
236 (0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length):(0,d.nv)(
237 /* translators: %d: number of results. */
238 /* translators: %d: number of results. */
239 (0,d._n)("Initial %d result loaded. Type to filter all available results. Use up and down arrow keys to navigate.","Initial %d results loaded. Type to filter all available results. Use up and down arrow keys to navigate.",e.length),e.length),"assertive"):N((0,d.__)("No results."),"assertive"))},[A]),0===A.length?null:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.Ay,{offset:8,focusOnMount:!1,placement:"top-start",className:"components-autocomplete__popover",anchor:S,ref:I,children:(0,m.jsx)(v,{items:A,onSelect:k,selectedIndex:b,instanceId:n,listBoxId:r,className:p})}),w.current&&C&&(0,o.createPortal)((0,m.jsx)(v,{items:A,onSelect:k,selectedIndex:b,instanceId:n,listBoxId:r,className:p,Component:g.A}),w.current.ownerDocument.body)]})}},5313(e,t,n){"use strict";n.d(t,{w:()=>o});var r=n(44775);function o(e,t,n){const{matchCount:o,isBackspacing:i,getTextAfterSelection:s,lastCompletion:a}=n;if(!e)return null;let l=null,c=-1,u=-1,d=0;for(const n of t){const t=e.lastIndexOf(n.triggerPrefix);if(t<0)continue;const r=t+n.triggerPrefix.length;(r>u||r===u&&n.triggerPrefix.length>d)&&(l=n,c=t,u=r,d=n.triggerPrefix.length)}if(!l)return null;const{allowContext:f,triggerPrefix:p}=l,h=e.slice(c+p.length);if(h.length>50)return null;const g=0===o,m=h.split(/\s/),v=1===m.length,b=i&&m.length<=3;return!g||b||v?f&&!f(e.slice(0,c),s())||/^\s/.test(h)||/\s\s+$/.test(h)||a&&a.name===l.name&&h.trimEnd()===a.value?null:{completer:l,filterValue:r(h)}:null}},68281(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(44775),o=n(82695),i=n(2376),s=n(91415);function a(e){return t=>{const[n,a]=(0,i.useState)([]);return(0,i.useLayoutEffect)(()=>{const{options:n,isDebounced:i}=e,l=(0,o.s)(()=>{const o=Promise.resolve("function"==typeof n?n(t):n).then(n=>{if(o.canceled)return;const i=n.map((t,n)=>({key:`${e.name}-${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)})),l=new RegExp("(?:\\b|\\s|^)"+(0,s.N)(t),"i");a(function(e,t=[],n=10){const o=[];for(let i=0;i<t.length;i++){const s=t[i];let{keywords:a=[]}=s;if("string"==typeof s.label&&(a=[...a,s.label]),a.some(t=>e.test(r(t)))&&(o.push(s),o.length===n))break}return o}(l,i))});return o},i?250:0),c=l();return()=>{l.cancel(),c&&(c.canceled=!0)}},[t]),[n]}}},47884(e,t,n){"use strict";n.d(t,{ad:()=>w});var r=n(2376),o=n(30621),i=n(41740),s=n(43730),a=n(71886),l=n(4157),c=n(36331),u=n(50017),d=n(7995),f=n(45857),p=n(5313),h=n(19406),g=n(74869),m=n(93236),{subscribeOwnedListener:v}=(0,g.T)(l.jb),b={};var y={selectedIndex:0,filteredOptions:[],filterValue:"",autocompleter:null};function k(e,t){switch(t.type){case"RESET":return y;case"SELECT":return{...e,selectedIndex:t.index};case"OPTIONS":return{...e,filteredOptions:t.options,selectedIndex:t.options.length===e.filteredOptions.length?e.selectedIndex:0};case"MATCH":return{...e,autocompleter:t.completer,filterValue:t.query}}}function x({record:e,onChange:t,onReplace:n,completers:s,contentRef:a}){const g=(0,i.A)(b),[v,x]=(0,r.useReducer)(k,y),{selectedIndex:w,filteredOptions:_,filterValue:A,autocompleter:S}=v,C=(0,r.useRef)(!1),E=(0,r.useRef)(""),T=(0,r.useRef)(null);function I(r){if(r.isDisabled||!S)return;const{getOptionCompletion:i}=S;if(!i)return x({type:"RESET"}),void a.current?.focus();const s=null!==(c=i(r.value,A))&&"object"==typeof c&&"action"in c&&void 0!==c.action&&"value"in c&&void 0!==c.value?c:{action:"insert-at-caret",value:c};var c;if("replace"!==s.action){if("insert-at-caret"===s.action){const n=function(n){if(null===S)return"";const r=e.start,i=r-S.triggerPrefix.length-A.length,s=(0,l.vt)({html:(0,o.Ay)(n)});return t((0,l.Yr)(e,s,i,r)),(0,l.rf)(s)}(s.value);if(n.startsWith(S.triggerPrefix)){const e=n.slice(S.triggerPrefix.length);e&&(T.current={name:S.name,value:e})}}x({type:"RESET"}),a.current?.focus()}else n([s.value])}const j=(0,r.useMemo)(()=>(0,l.kW)(e)?(0,l.rf)((0,l.di)(e,0)):"",[e]);(0,r.useEffect)(()=>{const t=e.text!==E.current;E.current=e.text;const n=(0,p.w)(j,s,{matchCount:_.length,isBackspacing:C.current,getTextAfterSelection:function(){return j?(0,l.rf)((0,l.di)(e,void 0,(0,l.rf)(e).length)):""},lastCompletion:T.current});if(!n)return void(S&&x({type:"RESET"}));const{completer:r,filterValue:o}=n;(S||t)&&(T.current&&T.current.name===r.name&&(T.current=null),x({type:"MATCH",completer:r,query:o}))},[j]);const{key:B=""}=_[w]||{},{className:N}=S||{},M=!!S&&_.length>0,R=M?`components-autocomplete-listbox-${g}`:void 0,O=M?`components-autocomplete-item-${g}-${B}`:null,L=void 0!==e.start,P=!!j&&L&&!!S;return{listBoxId:R,activeId:O,onKeyDown:(0,d.n)(function(e){if(C.current="Backspace"===e.key,S&&0!==_.length&&!e.defaultPrevented){switch(e.key){case"ArrowUp":case"ArrowDown":{const t="ArrowUp"===e.key?-1:1,n=(w+t+_.length)%_.length;x({type:"SELECT",index:n}),(0,u.H)()&&(0,c.L)((0,h.A)(_[n].label),"assertive");break}case"Escape":x({type:"RESET"}),e.preventDefault();break;case"Enter":I(_[w]);break;case"ArrowLeft":case"ArrowRight":return void x({type:"RESET"});default:return}e.preventDefault()}}),popover:P&&(0,m.jsx)(f.p,{autocompleter:S,className:N,filterValue:A,instanceId:g,listBoxId:R,selectedIndex:w,onChangeOptions:function(e){x({type:"OPTIONS",options:e})},onSelect:I,contentRef:a,reset:()=>x({type:"RESET"})},S.name+S.triggerPrefix)}}function w(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(void 0),{record:o}=e,i=function(e){const t=(0,r.useRef)([]),n=t.current[t.current.length-1];var o,i;return n&&(i=n,(o=e).text===i.text&&o.start===i.start&&o.end===i.end)||t.current.push(e),t.current.length>2&&t.current.shift(),t.current[0]}(o),{popover:l,listBoxId:c,activeId:u,onKeyDown:d}=x({...e,contentRef:t});n.current=d;const f=(0,s.A)([t,(0,a.A)(e=>v(e,"keydown",function(e){n.current?.(e)},!0),[])]);return o.text!==i?.text?{ref:f,children:l,"aria-autocomplete":c?"list":void 0,"aria-haspopup":c?"listbox":void 0,"aria-controls":c,"aria-owns":c,"aria-activedescendant":u??void 0}:{ref:f}}},79675(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(13022),o=n(53758),i=n(49099),s=n(28847),a=n(42243),l=n(93331),c=n(93236);var u=function({className:e,intent:t="default",children:n,...u}){const d=function(e="default"){switch(e){case"info":return s.A;case"success":return a.A;case"warning":return o.A;case"error":return i.A;default:return null}}(t),f=!!d;return(0,c.jsx)("span",{className:(0,r.A)("components-badge",e,{[`is-${t}`]:t,"has-icon":f}),...u,children:(0,c.jsxs)("span",{className:"components-badge__flex-wrapper",children:[f&&(0,c.jsx)(l.A,{icon:d,size:16,fill:"currentColor",className:"components-badge__icon"}),(0,c.jsx)("span",{className:"components-badge__content",children:n})]})})}},93203(e,t,n){"use strict";n.d(t,{Y:()=>i});var r=n(41740),o=n(1179);function i(e){const{help:t,id:n,...i}=e,s=(0,r.A)(o.Ay,"wp-components-base-control",n);return{baseControlProps:{id:s,help:t,...i},controlProps:{id:s,...t?{"aria-describedby":`${s}__help`}:{}}}}},1179(e,t,n){"use strict";n.d(t,{Ay:()=>d});var r=n(13022),o=n(2376),i=n(69257),s=n(69764),a=n(39179),l=n(52898),c=n(93236),u=(0,o.forwardRef)((e,t)=>{const{className:n,children:o,...i}=e;return(0,c.jsx)(s.Om,{ref:t,...i,className:(0,r.A)("components-base-control__label",n),children:o})}),d=Object.assign((0,a.zS)(e=>{const{id:t,label:n,hideLabelFromVision:r=!1,help:o,className:a,children:d}=(0,l.A)(e,"BaseControl");return(0,c.jsxs)(s.mO,{className:a,children:[(0,c.jsxs)(s.mh,{className:"components-base-control__field",children:[n&&t&&(r?(0,c.jsx)(i.A,{as:"label",htmlFor:t,children:n}):(0,c.jsx)(s.Gw,{className:"components-base-control__label",htmlFor:t,children:n})),n&&!t&&(r?(0,c.jsx)(i.A,{as:"label",children:n}):(0,c.jsx)(u,{children:n})),d]}),!!o&&(0,c.jsx)(s.te,{id:t?t+"__help":void 0,className:"components-base-control__help",children:o})]})},"BaseControl"),{VisualLabel:u})},69764(e,t,n){"use strict";n.d(t,{Gw:()=>m,Om:()=>b,mO:()=>h,mh:()=>g,te:()=>v});var r=n(13022),o=n(2376),i=n(88838),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)})("bae7d73a59","._94dff8a2f7c49fc8__wrapper{box-sizing:border-box;font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}._94dff8a2f7c49fc8__wrapper *,._94dff8a2f7c49fc8__wrapper :after,._94dff8a2f7c49fc8__wrapper :before{box-sizing:inherit}.components-panel__row .d9ac8e2c0db95cc7__field{margin-bottom:inherit}.a54361fe302593c3__label{display:block;font-size:11px;font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-bottom:8px;padding:0;text-transform:uppercase}.de68669d18f359f5__help{text-wrap:pretty;color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));font-size:12px;font-style:normal;margin-bottom:0;margin-top:8px}");var u="_94dff8a2f7c49fc8__wrapper",d="d9ac8e2c0db95cc7__field",f="a54361fe302593c3__label",p="de68669d18f359f5__help";var h=(0,o.forwardRef)(function({className:e,...t},n){return(0,s.jsx)(i.Z,{ref:n,...t,className:(0,r.A)(u,e)})}),g=(0,o.forwardRef)(function({className:e,...t},n){return(0,s.jsx)(i.Z,{ref:n,...t,className:(0,r.A)(d,e)})}),m=(0,o.forwardRef)(function({as:e,className:t,...n},o){return(0,s.jsx)(i.Z,{as:e??"label",ref:o,...n,className:(0,r.A)(f,t)})}),v=(0,o.forwardRef)(function({as:e,className:t,...n},o){return(0,s.jsx)(i.Z,{as:e??"p",ref:o,...n,className:(0,r.A)(p,t)})}),b=(0,o.forwardRef)(function({as:e,className:t,...n},o){return(0,s.jsx)(i.Z,{as:e??"span",ref:o,...n,className:(0,r.A)(f,t)})})},43192(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(13022),o=n(66786),i=n(2376),s=n(41740),a=n(17747),l=n(93331),c=n(69257),u=n(17690),d=n(93236),f=["onMouseDown","onClick"],p=e=>i.Children.toArray(e).some(e=>(0,i.isValidElement)(e)?e.type===i.Fragment?p(e.props.children):"components-tooltip"!==e.props.className:""!==e);var h=(0,i.forwardRef)(function(e,t){const{__next40pxDefaultSize:n,accessibleWhenDisabled:i,isBusy:g,isDestructive:m,className:v,disabled:b,icon:y,iconPosition:k="left",iconSize:x,showTooltip:w,tooltipPosition:_,shortcut:A,label:S,children:C,size:E="default",text:T,variant:I,description:j,...B}=function({__experimentalIsFocusable:e,isDefault:t,isPrimary:n,isSecondary:r,isTertiary:i,isLink:s,isPressed:a,isSmall:l,size:c,variant:u,describedBy:d,...f}){let p=c,h=u;const g={accessibleWhenDisabled:e,"aria-pressed":a,description:d};return l&&(p??="small"),n&&(h??="primary"),i&&(h??="tertiary"),r&&(h??="secondary"),t&&((0,o.A)("wp.components.Button `isDefault` prop",{since:"5.4",alternative:'variant="secondary"'}),h??="secondary"),s&&(h??="link"),{...g,...f,size:p,variant:h}}(e),{href:N,target:M,"aria-checked":R,"aria-pressed":O,"aria-selected":L,...P}="href"in B?B:{href:void 0,target:void 0,...B},D=(0,s.A)(h,"components-button__description"),z=(0,r.A)("components-button",v,{"is-next-40px-default-size":n,"is-secondary":"secondary"===I,"is-primary":"primary"===I,"is-small":"small"===E,"is-compact":"compact"===E,"is-tertiary":"tertiary"===I,"is-pressed":[!0,"true","mixed"].includes(O),"is-pressed-mixed":"mixed"===O,"is-busy":g,"is-link":"link"===I,"is-destructive":m,"has-text":!!y&&(T||p(C)),"has-icon":!!y,"has-icon-right":"right"===k}),V=b&&!i,F=void 0===N||b?"button":"a",$="button"===F?{type:"button",disabled:V,"aria-checked":R,"aria-pressed":O,"aria-selected":L}:{},H="a"===F?{href:N,target:M}:{},U={};if(b&&i){$["aria-disabled"]=!0,H["aria-disabled"]=!0;for(const e of f)U[e]=e=>{e&&(e.stopPropagation(),e.preventDefault())}}const W=!V&&(w&&!!S||!!A||!!S&&!C?.length&&!1!==w),K=j?D:void 0,q=P["aria-describedby"]||K,G={className:z,"aria-label":P["aria-label"]||S,"aria-describedby":q,ref:t},X=(0,d.jsxs)(d.Fragment,{children:[y&&"left"===k&&(0,d.jsx)(l.A,{icon:y,size:x}),T&&(0,d.jsx)(d.Fragment,{children:T}),C,y&&"right"===k&&(0,d.jsx)(l.A,{icon:y,size:x})]}),Y="a"===F?(0,d.jsx)("a",{...H,...P,...U,...G,children:X}):(0,d.jsx)("button",{...$,...P,...U,...G,children:X}),Z=W?{text:C?.length&&j?j:S,shortcut:A,placement:_&&(0,u.YK)(_)}:{};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.Ay,{...Z,children:Y}),j&&(0,d.jsx)(c.A,{children:(0,d.jsx)("span",{id:K,children:j})})]})}),g=h},43715(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(13022),o=n(2376),i=n(41740),s=n(71886),a=n(66786),l=n(13109),c=n(88901),u=n(32484),d=n(1179),f=n(83832),p=n(93236);var h=function e(t){const{__nextHasNoMarginBottom:n,label:h,className:g,heading:m,checked:v,indeterminate:b,help:y,id:k,onChange:x,onClick:w,..._}=t;m&&(0,a.A)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const[A,S]=(0,o.useState)(!1),[C,E]=(0,o.useState)(!1),T=(0,s.A)(e=>{e&&(e.indeterminate=!!b,S(e.matches(":checked")),E(e.matches(":indeterminate")))},[v,b]),I=(0,i.A)(e,"inspector-checkbox-control",k);return(0,p.jsx)(d.Ay,{label:m,id:I,help:y&&(0,p.jsx)("span",{className:"components-checkbox-control__help",children:y}),className:(0,r.A)("components-checkbox-control",g),children:(0,p.jsxs)(f.A,{spacing:0,justify:"start",alignment:"top",children:[(0,p.jsxs)("span",{className:"components-checkbox-control__input-container",children:[(0,p.jsx)("input",{ref:T,id:I,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>x(e.target.checked),checked:v,"aria-describedby":y?I+"__help":void 0,onClick:e=>{e.currentTarget.focus(),w?.(e)},..._}),C?(0,p.jsx)(l.A,{icon:u.A,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,A?(0,p.jsx)(l.A,{icon:c.A,className:"components-checkbox-control__checked",role:"presentation"}):null]}),h&&(0,p.jsx)("label",{className:"components-checkbox-control__label",htmlFor:I,children:h})]})})}},32383(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(13022),o=n(2376),i=n(93236);var s=(0,o.forwardRef)(function(e,t){const{className:n,colorValue:o,...s}=e;return(0,i.jsx)("span",{className:(0,r.A)("component-color-indicator",n),style:{background:o},ref:t,...s})});s.displayName="ColorIndicator";var a=s},59010(e,t,n){"use strict";n.d(t,{bN:()=>a,hn:()=>o,k:()=>i,s8:()=>s});var r=n(2376),o=(0,r.createContext)({});o.displayName="CompositeContext";var i=()=>(0,r.useContext)(o),s=(0,r.createContext)(!1);s.displayName="CompositeGroupContext";var a=()=>(0,r.useContext)(s)},38655(e,t,n){"use strict";n.d(t,{$:()=>a});var r=n(3283),o=n(2376),i=n(59010),s=n(93236),a=(0,o.forwardRef)(function(e,t){const n=(0,i.k)();if(!(0,i.bN)())throw new Error("Composite.GroupLabel can only be rendered inside Composite.Group.");const o=e.store??n.store;return(0,s.jsx)(r.$,{store:o,...e,ref:t})})},46898(e,t,n){"use strict";n.d(t,{t:()=>a});var r=n(75868),o=n(2376),i=n(59010),s=n(93236),a=(0,o.forwardRef)(function(e,t){const n=(0,i.k)(),{children:o,...a}=e,l=e.store??n.store;return(0,s.jsx)(r.t,{store:l,...a,ref:t,children:(0,s.jsx)(i.s8.Provider,{value:!0,children:o})})})},23465(e,t,n){"use strict";n.d(t,{c:()=>a});var r=n(98665),o=n(2376),i=n(59010),s=n(93236),a=(0,o.forwardRef)(function(e,t){const n=(0,i.k)(),o=e.store??n.store;return(0,s.jsx)(r.c,{store:o,...e,ref:t})})},67215(e,t,n){"use strict";n.d(t,{e:()=>g});var r=n(24786),o=n(65694),i=n(18335),s=n(2376),a=n(59010),l=n(46898),c=n(38655),u=n(23465),d=n(70428),f=n(55935),p=n(12588),h=n(93236),g=Object.assign((0,s.forwardRef)(function({activeId:e,defaultActiveId:t,setActiveId:n,focusLoop:l=!1,focusWrap:c=!1,focusShift:u=!1,virtualFocus:d=!1,orientation:f="both",rtl:p=(0,i.V8)(),children:g,disabled:m=!1,...v},b){const y=v.store,k=o.q4({activeId:e,defaultActiveId:t,setActiveId:n,focusLoop:l,focusWrap:c,focusShift:u,virtualFocus:d,orientation:f,rtl:p}),x=y??k,w=(0,s.useMemo)(()=>({store:x}),[x]);return(0,h.jsx)(r.e,{disabled:m,store:x,...v,ref:b,children:(0,h.jsx)(a.hn.Provider,{value:w,children:g})})}),{Group:Object.assign(l.t,{displayName:"Composite.Group"}),GroupLabel:Object.assign(c.$,{displayName:"Composite.GroupLabel"}),Item:Object.assign(d.l,{displayName:"Composite.Item"}),Row:Object.assign(f.s,{displayName:"Composite.Row"}),Hover:Object.assign(u.c,{displayName:"Composite.Hover"}),Typeahead:Object.assign(p.f,{displayName:"Composite.Typeahead"}),Context:Object.assign(a.hn,{displayName:"Composite.Context"})})},70428(e,t,n){"use strict";n.d(t,{l:()=>l});var r=n(18864),o=n(2376),i=n(90531),s=n(59010),a=n(93236),l=(0,o.forwardRef)(function(e,t){const n=(0,s.k)(),o=e.store??n.store;return o||!0===globalThis.SCRIPT_DEBUG&&(0,i.A)("Composite.Item: Missing composite state. Render inside Composite to enable composite keyboard behavior."),(0,a.jsx)(r.l,{store:o,...e,ref:t})})},55935(e,t,n){"use strict";n.d(t,{s:()=>a});var r=n(30479),o=n(2376),i=n(59010),s=n(93236),a=(0,o.forwardRef)(function(e,t){const n=(0,i.k)(),o=e.store??n.store;return(0,s.jsx)(r.s,{store:o,...e,ref:t})})},12588(e,t,n){"use strict";n.d(t,{f:()=>a});var r=n(22174),o=n(2376),i=n(59010),s=n(93236),a=(0,o.forwardRef)(function(e,t){const n=(0,i.k)(),o=e.store??n.store;return(0,s.jsx)(r.f,{store:o,...e,ref:t})})},11856(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(43730),o=n(2376),i=n(1179),s=n(93203),a=n(69257),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)})("3558237a49","._0f130cee1a924516__editable{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;width:100%}@media (min-width:600px){._0f130cee1a924516__editable{font-size:13px;line-height:normal}}._0f130cee1a924516__editable:hover:not(:disabled,[aria-disabled=true],[type=checkbox]){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}._0f130cee1a924516__editable:focus{border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);box-shadow:none;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._0f130cee1a924516__editable::placeholder{color:rgba(30,30,30,.62)}._0f130cee1a924516__editable[aria-placeholder]:empty:before{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%);content:attr(aria-placeholder)}._0f130cee1a924516__editable{min-height:40px;padding:12px}._0f130cee1a924516__editable[aria-disabled=true]{background:var(--wp-components-color-gray-100,var(--wpds-color-background-surface-neutral,#fcfcfc));border-color:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb));color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));cursor:default}");var f="_0f130cee1a924516__editable";var p=(0,o.forwardRef)(function({label:e,id:t,className:n,help:c,hideLabelFromVision:u,disabled:d,required:p,placeholder:h,...g},m){const{baseControlProps:v,controlProps:b}=(0,s.Y)({id:t,className:n,help:c}),y=`${b.id}__label`,k=(0,o.useRef)(null),x=(0,r.A)([k,m]);return(0,l.jsxs)(i.Ay,{...v,children:[u?(0,l.jsx)(a.A,{id:y,children:e}):(0,l.jsx)(i.Ay.VisualLabel,{id:y,onClick:()=>k.current?.focus(),children:e}),(0,l.jsx)("div",{className:f,role:"textbox","aria-multiline":!0,"aria-labelledby":y,"aria-placeholder":h||void 0,"aria-disabled":d||void 0,"aria-required":p||void 0,ref:x,contentEditable:!d,suppressContentEditableWarning:!0,...g,...b})]})})},61576(e,t,n){"use strict";n.d(t,{Yr:()=>i,yG:()=>r,yy:()=>o});var r="data-wp-component",o="data-wp-c16t",i="__contextSystemKey__"},39179(e,t,n){"use strict";n.d(t,{KZ:()=>a,SZ:()=>d,zS:()=>l});var r=n(2376),o=n(90531),i=n(61576),s=n(85081);function a(e,t){return c(e,t,{forwardsRef:!0})}function l(e,t){return c(e,t)}function c(e,t,n){const a=n?.forwardsRef?(0,r.forwardRef)(e):e;void 0===t&&!0===globalThis.SCRIPT_DEBUG&&(0,o.A)("contextConnect: Please provide a namespace");let l=a[i.Yr]||[t];return Array.isArray(t)&&(l=[...l,...t]),"string"==typeof t&&(l=[...l,t]),Object.assign(a,{[i.Yr]:[...new Set(l)],displayName:t,selector:`.${(0,s.o)(t)}`})}function u(e){if(!e)return[];let t=[];return e[i.Yr]&&(t=e[i.Yr]),e.type&&e.type[i.Yr]&&(t=e.type[i.Yr]),t}function d(e,t){return!!e&&("string"==typeof t?u(e).includes(t):!!Array.isArray(t)&&t.some(t=>u(e).includes(t)))}},48538(e,t,n){"use strict";n.d(t,{aG:()=>u,c7:()=>f,rm:()=>d});var r=n(93764),o=n(64168),i=n(97160),s=n(2376),a=n(90531),l=n(39057),c=n(93236),u=(0,s.createContext)({});u.displayName="ComponentsContext";var d=()=>(0,s.useContext)(u);var f=(0,s.memo)(({children:e,value:t})=>{const n=function({value:e}){const t=d(),n=(0,s.useRef)(e);return(0,l.A)(()=>{o(n.current,e)&&n.current!==e&&!0===globalThis.SCRIPT_DEBUG&&(0,a.A)(`Please memoize your context: ${JSON.stringify(e)}`)},[e]),(0,s.useMemo)(()=>r(t??{},e??{},{isMergeableObject:i.Q}),[t,e])}({value:t});return(0,c.jsx)(u.Provider,{value:n,children:e})})},85081(e,t,n){"use strict";n.d(t,{o:()=>o});var r=n(74572);var o=(0,n(1636).A)(function(e){return`components-${(0,r.c)(e)}`})},52898(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(90531),o=n(48538),i=n(12044),s=n(85081),a=n(86447);function l(e,t){const n=(0,o.rm)();void 0===t&&!0===globalThis.SCRIPT_DEBUG&&(0,r.A)("useContextSystem: Please provide a namespace");const l=n?.[t]||{},c={...(0,i.X)(),...(0,i.U)(t)},{_overrides:u,...d}=l,f=u,p=Object.entries(d).length?Object.assign({},d,e):e,h=p,g=(0,a.l)()((0,s.o)(t),e.className),m="function"==typeof h.renderChildren?h.renderChildren(p):h.children;for(const e in p)c[e]=p[e];for(const e in f)c[e]=f[e];return void 0!==m&&(c.children=m),c.className=g,c}},12044(e,t,n){"use strict";n.d(t,{U:()=>o,X:()=>i});var r=n(61576);function o(e){return{[r.yG]:e}}function i(){return{[r.yy]:!0}}},26955(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(93236);var o=function({icon:e,className:t,size:n=20,style:o={},...i}){const s=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" "),a={...20!=n?{fontSize:`${n}px`,width:`${n}px`,height:`${n}px`}:{},...o};return(0,r.jsx)("span",{className:s,style:a,...i})}},30335(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(38206),o=n(2376),i=n(84377),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)})("e7e88c1781","._3476c2e530687f96__invisible-drag-image{height:50px;left:-1000px;position:fixed;width:50px}._6f00e51ab7574306__clone{background:transparent;padding:0;pointer-events:none;position:fixed}._6f00e51ab7574306__clone:not(._664ecd37377558df__is-in-compat-slot){z-index:1000000000}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}");var u={"invisible-drag-image":"_3476c2e530687f96__invisible-drag-image",clone:"_6f00e51ab7574306__clone","is-in-compat-slot":"_664ecd37377558df__is-in-compat-slot"},d=[u["invisible-drag-image"],"components-draggable__invisible-drag-image"].filter(Boolean),f=[u.clone,"components-draggable__clone"].filter(Boolean),p="is-dragging-components-draggable";var h=function({children:e,onDragStart:t,onDragOver:n,onDragEnd:a,appendToOwnerDocument:l=!1,cloneClassname:c,elementId:h,transferData:g,__experimentalTransferDataType:m="text",__experimentalDragComponent:v}){const b=(0,o.useRef)(null),y=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>()=>{y.current()},[]),(0,s.jsxs)(s.Fragment,{children:[e({onDraggableStart:function(e){const{ownerDocument:o}=e.target,s=(0,i.un)(),a=s?.ownerDocument===o?s:null;e.dataTransfer.setData(m,JSON.stringify(g));const v=o.createElement("div");v.style.top="0",v.style.left="0";const k=o.createElement("div");"function"==typeof e.dataTransfer.setDragImage&&(k.classList.add(...d),o.body.appendChild(k),e.dataTransfer.setDragImage(k,0,0)),v.classList.add(...f);const x=u["is-in-compat-slot"];a&&x&&v.classList.add(x),c&&v.classList.add(c);let w=0,_=0;if(b.current){w=e.clientX,_=e.clientY,v.style.transform=`translate( ${w}px, ${_}px )`;const t=o.createElement("div");t.innerHTML=b.current.innerHTML,v.appendChild(t),(a??o.body).appendChild(v)}else{const e=o.getElementById(h),t=e.getBoundingClientRect(),n=e.parentNode,r=t.top,i=t.left;v.style.width=`${t.width+0}px`;const s=e.cloneNode(!0);s.id=`clone-${h}`,w=i-0,_=r-0,v.style.transform=`translate( ${w}px, ${_}px )`,Array.from(s.querySelectorAll("iframe")).forEach(e=>e.parentNode?.removeChild(e)),v.appendChild(s),a?a.appendChild(v):l?o.body.appendChild(v):n?.appendChild(v)}let A=e.clientX,S=e.clientY;const C=(0,r.n)(function(e){if(A===e.clientX&&S===e.clientY)return;const t=w+e.clientX-A,r=_+e.clientY-S;v.style.transform=`translate( ${t}px, ${r}px )`,A=e.clientX,S=e.clientY,w=t,_=r,n&&n(e)},16);o.addEventListener("dragover",C),o.body.classList.add(p),t&&t(e),y.current=()=>{v&&v.parentNode&&v.parentNode.removeChild(v),k&&k.parentNode&&k.parentNode.removeChild(k),o.body.classList.remove(p),o.removeEventListener("dragover",C)}},onDraggableEnd:function(e){e.preventDefault(),y.current(),a&&a(e)}}),v&&(0,s.jsx)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:b,children:v})]})}},3443(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(86110),i=n(39179),s=n(52898),a=n(43192),l=n(26075),c=n(23528),u=n(93236);function d(e={},t={}){const n={...e,...t};return t.className&&e.className&&(n.className=(0,r.A)(t.className,e.className)),n}function f(e){return"function"==typeof e}var p=(0,i.zS)(function(e){const{children:t,className:n,controls:i,icon:p=o.A,label:h,popoverProps:g,toggleProps:m,menuProps:v,disableOpenOnArrowDown:b=!1,text:y,noIcons:k,open:x,defaultOpen:w,onToggle:_,variant:A}=(0,s.A)(e,"DropdownMenu");if(!i?.length&&!f(t))return null;let S;i?.length&&(S=i,Array.isArray(S[0])||(S=[i]));const C=d({className:"components-dropdown-menu__popover",variant:A},g);return(0,u.jsx)(l.A,{className:n,popoverProps:C,renderToggle:({isOpen:e,onToggle:t})=>{const{as:n=a.A,...o}=m??{},i=d({className:(0,r.A)("components-dropdown-menu__toggle",{"is-opened":e})},o);return(0,u.jsx)(n,{...i,icon:p,onClick:e=>{t(),i.onClick&&i.onClick(e)},onKeyDown:n=>{(n=>{b||e||"ArrowDown"!==n.code||(n.preventDefault(),t())})(n),i.onKeyDown&&i.onKeyDown(n)},"aria-haspopup":"true","aria-expanded":e,label:h,text:y,showTooltip:m?.showTooltip??!0,children:i.children})},renderContent:e=>{const n=d({"aria-label":h,className:(0,r.A)("components-dropdown-menu__menu",{"no-icons":k})},v);return(0,u.jsxs)(c.Ay,{...n,role:"menu",children:[f(t)?t(e):null,S?.flatMap((t,n)=>t.map((t,o)=>(0,u.jsx)(a.A,{size:"compact",onClick:n=>{n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:(0,r.A)("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===o,"is-active":t.isActive,"is-icon-only":!t.title}),icon:t.icon,label:t.label,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",accessibleWhenDisabled:!0,disabled:t.isDisabled,children:t.title},[n,o].join())))]})},open:x,defaultOpen:w,onToggle:_})},"DropdownMenu")},63624(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(39179),i=n(52898),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)})("7f9bfd3385",".ab61d20c737fa550__content-wrapper{margin-left:-8px;margin-right:-8px}.ab61d20c737fa550__content-wrapper:first-of-type{margin-top:-8px}.ab61d20c737fa550__content-wrapper:last-of-type{margin-bottom:-8px}.f0a033fae417d720__padding-small{padding:8px}.d83816967399484e__padding-medium{padding:16px}");var u="ab61d20c737fa550__content-wrapper",d="f0a033fae417d720__padding-small",f="d83816967399484e__padding-medium";var p=(0,o.KZ)(function(e,t){const{paddingSize:n="small",className:o,...a}=(0,i.A)(e,"DropdownContentWrapper");return(0,s.jsx)("div",{...a,className:(0,r.A)(u,{[d]:"none"!==n&&"medium"!==n,[f]:"medium"===n},o),ref:t})},"DropdownContentWrapper")},26075(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(2376),i=n(43730),s=n(66786),a=n(39179),l=n(52898),c=n(16624),u=n(88149),d=n(93236),f=(0,a.KZ)((e,t)=>{const{renderContent:n,renderToggle:a,className:f,contentClassName:p,expandOnMobile:h,headerTitle:g,focusOnMount:m,popoverProps:v,onClose:b,onToggle:y,style:k,open:x,defaultOpen:w,position:_,variant:A}=(0,l.A)(e,"Dropdown");void 0!==_&&(0,s.A)("`position` prop in wp.components.Dropdown",{since:"6.2",alternative:"`popoverProps.placement` prop",hint:"Note that the `position` prop will override any values passed through the `popoverProps.placement` prop."});const[S,C]=(0,o.useState)(null),E=(0,o.useRef)(null),[T,I]=(0,c.j)({defaultValue:w,value:x,onChange:y});function j(){b?.(),I(!1)}const B={isOpen:!!T,onToggle:()=>I(!T),onClose:j},N=!!(v?.anchor||v?.anchorRef||v?.getAnchorRect||v?.anchorRect);return(0,d.jsxs)("div",{className:f,ref:(0,i.A)([E,t,C]),tabIndex:-1,style:k,children:[a(B),T&&(0,d.jsx)(u.Ay,{position:_,onClose:j,onFocusOutside:function(){if(!E.current)return;const{ownerDocument:e}=E.current,t=e?.activeElement?.closest('[role="dialog"]');E.current.contains(e.activeElement)||t&&!t.contains(E.current)||j()},expandOnMobile:h,headerTitle:g,focusOnMount:m,offset:13,anchor:N?void 0:S,variant:A,...v,className:(0,r.A)("components-dropdown__content",v?.className,p),children:n(B)})]})},"Dropdown")},8096(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(13022),o=n(18335),i=n(2376),s=n(93236);var a=(0,i.forwardRef)(function(e,t){const{href:n,children:i,className:a,...l}=e,c=(0,r.A)("components-external-link",a),u=!!n?.startsWith("#");return(0,s.jsxs)("a",{...l,className:c,href:n,onClick:t=>{u&&t.preventDefault(),e.onClick&&e.onClick(t)},target:"_blank",ref:t,children:[(0,s.jsx)("span",{className:"components-external-link__contents",children:i}),(0,s.jsx)("span",{className:(0,r.A)("components-external-link__icon","wp-exclude-emoji"),"aria-label":
240 /* translators: accessibility text */
241 /* translators: accessibility text */(0,o.__)("(opens in a new tab)"),children:(0,o.V8)()?"↖":"↗"})]})});a.displayName="ExternalLink";var l=a},88520(e,t,n){"use strict";n.d(t,{R:()=>o,a:()=>i});var r=n(2376),o=(0,r.createContext)({flexItemDisplay:void 0}),i=()=>(0,r.useContext)(o)},13298(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(29628),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.I)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"FlexBlock")},29628(e,t,n){"use strict";n.d(t,{I:()=>i});var r=n(52898),o=n(74756);function i(e){const t=(0,r.A)(e,"FlexBlock");return(0,o.K)({isBlock:!0,...t})}},52474(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(74756),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.K)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"FlexItem")},74756(e,t,n){"use strict";n.d(t,{K:()=>d});var r=n(13022),o=n(52898),i=n(88520),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("1931a27616",".e518617e7c3a18e7__flex{align-items:var(--wp-components-flex-align);display:flex;flex-direction:var(--wp-components-flex-direction);flex-wrap:var(--wp-components-flex-wrap);gap:var(--wp-components-flex-gap);justify-content:var(--wp-components-flex-justify)}.e4a76957e0b12292__expanded-column{height:100%}.cc39999a5fb580d4__expanded-row{width:100%}.bc09d0edcc10c304__item{display:var(--wp-components-flex-item-display);max-height:100%;max-width:100%;min-height:0;min-width:0}.c184ec8e81027f31__block{flex:1}.f9694ed4faabfc82__items-column>*{min-height:0}._3896336788892095__items-row>*{min-width:0}");var c="bc09d0edcc10c304__item",u="c184ec8e81027f31__block";function d(e){const{className:t,display:n,isBlock:s=!1,style:a,...l}=(0,o.A)(e,"FlexItem"),d=(0,i.a)().flexItemDisplay,f={...a,"--wp-components-flex-item-display":n||d||"block"};return{...l,className:(0,r.A)(c,s&&u,t),style:f}}},38162(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(39179),o=n(97340),i=n(88520),s=n(26930),a=n(93236);var l=(0,r.KZ)(function(e,t){const{children:n,isColumn:r,...l}=(0,o.v)(e);return(0,a.jsx)(i.R.Provider,{value:{flexItemDisplay:r?"block":void 0},children:(0,a.jsx)(s.A,{...l,ref:t,children:n})})},"Flex")},97340(e,t,n){"use strict";n.d(t,{v:()=>m});var r=n(13022),o=n(66786),i=n(52898),s=n(99947),a=n(80359),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)})("1931a27616",".e518617e7c3a18e7__flex{align-items:var(--wp-components-flex-align);display:flex;flex-direction:var(--wp-components-flex-direction);flex-wrap:var(--wp-components-flex-wrap);gap:var(--wp-components-flex-gap);justify-content:var(--wp-components-flex-justify)}.e4a76957e0b12292__expanded-column{height:100%}.cc39999a5fb580d4__expanded-row{width:100%}.bc09d0edcc10c304__item{display:var(--wp-components-flex-item-display);max-height:100%;max-width:100%;min-height:0;min-width:0}.c184ec8e81027f31__block{flex:1}.f9694ed4faabfc82__items-column>*{min-height:0}._3896336788892095__items-row>*{min-width:0}");var d="e518617e7c3a18e7__flex",f="e4a76957e0b12292__expanded-column",p="cc39999a5fb580d4__expanded-row",h="f9694ed4faabfc82__items-column",g="_3896336788892095__items-row";function m(e){const{align:t,className:n,direction:l="row",expanded:c=!0,gap:u=2,justify:m="space-between",style:v,wrap:b=!1,...y}=(0,i.A)(function(e){const{isReversed:t,...n}=e;return void 0!==t?((0,o.A)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),k=Array.isArray(l)?l:[l],x=(0,s.t)(k),w="string"==typeof x&&!!x.includes("column"),_={...v,"--wp-components-flex-align":t??(w?"normal":"center"),"--wp-components-flex-direction":x,"--wp-components-flex-wrap":b?"wrap":"nowrap","--wp-components-flex-gap":(0,a.x)(u),"--wp-components-flex-justify":m};return{...y,className:(0,r.A)(d,w?h:g,c&&(w?f:p),n),style:_,isColumn:w}}},3385(e,t,n){"use strict";n.d(t,{Ay:()=>l});var r=n(13022),o=n(2376),i=n(93236),s=()=>{};var a=(0,o.forwardRef)(function(e,t){const{className:n,checked:o,id:a,disabled:l,onChange:c=s,onClick:u,...d}=e,f=(0,r.A)("components-form-toggle",n,{"is-checked":o,"is-disabled":l});return(0,i.jsxs)("span",{className:f,children:[(0,i.jsx)("input",{className:"components-form-toggle__input",id:a,type:"checkbox",checked:o,onChange:c,disabled:l,onClick:e=>{e.currentTarget.focus(),u?.(e)},...d,ref:t}),(0,i.jsx)("span",{className:"components-form-toggle__track"}),(0,i.jsx)("span",{className:"components-form-toggle__thumb"})]})});a.displayName="FormToggle";var l=a},83832(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(85510),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.A)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"HStack")},85510(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(39179),o=n(52898),i=n(52474),s=n(97340),a=n(58230),l=n(1780),c=n(93236);function u(e){const{alignment:t="edge",children:n,direction:u,spacing:d=2,...f}=(0,o.A)(e,"HStack"),p=(0,a.A)(t,u),h={children:(0,l.a)(n).map((e,t)=>{if((0,r.SZ)(e,["Spacer"])){const n=e,r=n.key||`hstack-${t}`;return(0,c.jsx)(i.A,{isBlock:!0,...n.props},r)}return e}),direction:u,justify:"center",...p,...f,gap:d},{isColumn:g,...m}=(0,s.v)(h);return m}},58230(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(17273),o={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-end",justify:"flex-start"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},i={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-end",align:"flex-start"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{align:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function s(e,t="row"){if(!(0,r.J5)(e))return{};const n="column"===t?i:o;return e in n?n[e]:{align:e}}},71837(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(3841),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.C)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"Heading")},3841(e,t,n){"use strict";n.d(t,{C:()=>l});var r=n(52898),o=n(78182),i=n(35350),s=n(32868),a=n(17266);function l(e){const{as:t,level:n=2,color:l=a.l.theme.foreground,isBlock:c=!0,weight:u=s.A.fontWeightEmphasis,...d}=(0,r.A)(e,"Heading"),f=t||`h${n}`,p={};"string"==typeof f&&"h"!==f[0]&&(p.role="heading",p["aria-level"]="string"==typeof n?parseInt(n):n);return{...(0,o.A)({color:l,isBlock:c,weight:u,size:(0,i.fM)(n),...d}),...p,as:f}}},21053(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(80471),i=n(94081),s=n(82695),a=n(93236);function l(e){return(0,i.f)(t=>{const n="core/with-filters/"+e;let i;class l extends r.Component{constructor(n){super(n),void 0===i&&(i=(0,o.W5)(e,t))}componentDidMount(){l.instances.push(this),1===l.instances.length&&((0,o.ip)("hookRemoved",n,u),(0,o.ip)("hookAdded",n,u))}componentWillUnmount(){l.instances=l.instances.filter(e=>e!==this),0===l.instances.length&&((0,o.V5)("hookRemoved",n),(0,o.V5)("hookAdded",n))}render(){return(0,a.jsx)(i,{...this.props})}}l.instances=[];const c=(0,s.s)(()=>{i=(0,o.W5)(e,t),l.instances.forEach(e=>{e.forceUpdate()})},16);function u(t){t===e&&c()}return l},"withFilters")}},93331(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(2376),o=n(65334),i=n(26955),s=n(93236);var a=function({icon:e=null,size:t=("string"==typeof e?20:24),...n}){if("string"==typeof e)return(0,s.jsx)(i.A,{icon:e,size:t,...n});if((0,r.isValidElement)(e)&&i.A===e.type)return(0,r.cloneElement)(e,{...n});if("function"==typeof e)return(0,r.createElement)(e,{size:t,...n});if((0,r.isValidElement)(e)){const{style:i,...a}=n,l=e.props.style||i?{...e.props.style,...i}:void 0,c=l?{style:l}:{};if("svg"===e.type||e.type===o.t4){const n={...e.props,width:t,height:t,...a,...c};return(0,s.jsx)(o.t4,{...n})}return(0,r.cloneElement)(e,{size:t,width:t,height:t,...a,...c})}return e}},5124(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(38500),i=n(93236);var s=(0,r.memo)(function({disabled:e=!1,isBorderless:t=!1}){return(0,i.jsx)(o.Hr,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:e,isBorderless:t})})},16006(e,t,n){"use strict";n.d(t,{Ay:()=>h});var r=n(13022),o=n(41740),i=n(2376),s=n(65784),a=n(16461),l=n(80359),c=n(97757),u=n(1179),d=n(93236),f=()=>{};var p=(0,i.forwardRef)(function(e,t){const{__next40pxDefaultSize:n,__next36pxDefaultSize:i,__unstableStateReducer:h=e=>e,__unstableInputWidth:g,className:m,disabled:v=!1,help:b,hideLabelFromVision:y=!1,id:k,isPressEnterToChange:x=!1,label:w,labelPosition:_="top",onChange:A=f,onValidate:S=f,onKeyDown:C=f,prefix:E,size:T="default",style:I,suffix:j,value:B,...N}=e,M=function(e){const t=(0,o.A)(p);return e||`inspector-input-control-${t}`}(k),R=(0,r.A)("components-input-control",m),O=(0,c.Te)({value:B,onBlur:N.onBlur,onChange:A}),L=b?{"aria-describedby":`${M}__help`}:{};return(0,d.jsx)(u.Ay,{className:R,help:b,id:M,children:(0,d.jsx)(s.A,{__unstableInputWidth:g,disabled:v,gap:3,hideLabelFromVision:y,id:M,justify:"left",label:w,labelPosition:_,prefix:E,size:T,style:I,suffix:j,children:(0,d.jsx)(a.A,{...N,...L,className:"components-input-control__input",disabled:v,id:M,isPressEnterToChange:x,onKeyDown:C,onValidate:S,paddingInlineStart:E?(0,l.x)(1):void 0,paddingInlineEnd:j?(0,l.x)(1):void 0,ref:t,size:T,stateReducer:h,...O})})})}),h=p},65784(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(41740),o=n(2376),i=n(5124),s=n(49912),a=n(38500),l=n(48538),c=n(39179),u=n(52898),d=n(93236);function f(e){const t={};switch(e){case"top":t.direction="column",t.expanded=!1,t.gap=0;break;case"bottom":t.direction="column-reverse",t.expanded=!1,t.gap=0;break;case"edge":t.justify="space-between"}return t}function p(e,t){const{__unstableInputWidth:n,children:c,className:h,disabled:g=!1,hideLabelFromVision:m=!1,labelPosition:v,id:b,isBorderless:y=!1,label:k,prefix:x,size:w="default",suffix:_,...A}=(0,u.A)(e,"InputBase"),S=function(e){const t=(0,r.A)(p);return e||`input-base-control-${t}`}(b),C=m||!k,E=(0,o.useMemo)(()=>({InputControlPrefixWrapper:{size:w},InputControlSuffixWrapper:{size:w}}),[w]);return(0,d.jsxs)(a.bL,{...A,...f(v),className:h,gap:2,ref:t,children:[(0,d.jsx)(s.A,{className:"components-input-control__label",hideLabelFromVision:m,labelPosition:v,htmlFor:S,children:k}),(0,d.jsxs)(a.mc,{__unstableInputWidth:n,className:"components-input-control__container",disabled:g,hideLabel:C,labelPosition:v,children:[(0,d.jsxs)(l.c7,{value:E,children:[x&&(0,d.jsx)(a.b3,{className:"components-input-control__prefix",children:x}),c,_&&(0,d.jsx)(a.sZ,{className:"components-input-control__suffix",children:_})]}),(0,d.jsx)(i.A,{disabled:g,isBorderless:y})]})]})}var h=(0,c.KZ)(p,"InputBase")},16461(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(26068),o=n(2376),i=n(7995),s=n(97757),a=n(38500),l=n(95723),c=n(93236),u=()=>{};var d=(0,o.forwardRef)(function({disabled:e=!1,dragDirection:t="n",dragThreshold:n=10,id:d,isDragEnabled:f=!1,isPressEnterToChange:p=!1,onBlur:h=u,onChange:g=u,onDrag:m=u,onDragEnd:v=u,onDragStart:b=u,onKeyDown:y=u,onValidate:k=u,size:x="default",stateReducer:w=e=>e,value:_,type:A,...S},C){const{state:E,change:T,commit:I,drag:j,dragEnd:B,dragStart:N,invalidate:M,pressDown:R,pressEnter:O,pressUp:L,reset:P}=(0,l.A)(w,{isDragEnabled:f,value:_,isPressEnterToChange:p},g),{value:D,isDragging:z,isDirty:V}=E,F=(0,o.useRef)(!1),$=(0,s.Ef)(z,t),H=e=>{const t=e.currentTarget.value;try{k(t),I(t,e)}catch(t){M(t,e)}},U=(0,r.useDrag)(e=>{const{distance:t,dragging:n,event:r,target:o}=e;if(e.event={...e.event,target:o},t){if(r.stopPropagation(),!n)return v(e),void B(e);m(e),j(e),z||(b(e),N(e))}},{axis:"e"===t||"w"===t?"x":"y",threshold:n,enabled:f,pointer:{capture:!1}}),W=f?U():{};return(0,c.jsx)(a.pd,{...S,...W,className:"components-input-control__input","data-empty-value":D?void 0:"",disabled:e,dragCursor:$,isDragging:z,id:d,onBlur:e=>{h(e),!V&&e.target.validity.valid||(F.current=!0,H(e))},onChange:e=>{const t=e.target.value;T(t,e)},onKeyDown:(0,i.n)(e=>{const{key:t}=e;switch(y(e),t){case"ArrowUp":L(e);break;case"ArrowDown":R(e);break;case"Enter":O(e),p&&(e.preventDefault(),H(e));break;case"Escape":p&&V&&(e.preventDefault(),P(_,e))}}),ref:C,inputSize:x,value:D??"",type:A})})},78609(e,t,n){"use strict";n.d(t,{R:()=>a});var r=n(39179),o=n(52898),i=n(38500),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,o.A)(e,"InputControlPrefixWrapper");return(0,s.jsx)(i.bC,{...n,isPrefix:!0,ref:t})},"InputControlPrefixWrapper")},90882(e,t,n){"use strict";n.d(t,{A:()=>l,i:()=>a});var r=n(39179),o=n(52898),i=n(38500),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,o.A)(e,"InputControlSuffixWrapper");return(0,s.jsx)(i.bC,{...n,ref:t})},"InputControlSuffixWrapper"),l=a},49912(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(69257),o=n(38500),i=n(93236);function s({children:e,hideLabelFromVision:t,htmlFor:n,...s}){return e?t?(0,i.jsx)(r.A,{as:"label",htmlFor:n,children:e}):(0,i.jsx)(o.cR,{children:(0,i.jsx)(o.JU,{htmlFor:n,...s,children:e})}):null}},37322(e,t,n){"use strict";n.d(t,{PL:()=>r,Qf:()=>a,Ry:()=>s,Ut:()=>p,W3:()=>i,bR:()=>d,cJ:()=>o,j:()=>l,r7:()=>u,uY:()=>c,wX:()=>f});var r="CHANGE",o="COMMIT",i="CONTROL",s="DRAG_END",a="DRAG_START",l="DRAG",c="INVALIDATE",u="PRESS_DOWN",d="PRESS_ENTER",f="PRESS_UP",p="RESET"},95723(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(34540),i=n(37322);function s(e=o.g,t=o.V,n){const[s,a]=(0,r.useReducer)((l=e,(e,t)=>{const n={...e};switch(t.type){case i.W3:return n.value=t.payload.value,n.isDirty=!1,n._event=void 0,n;case i.wX:case i.r7:n.isDirty=!1;break;case i.Qf:n.isDragging=!0;break;case i.Ry:n.isDragging=!1;break;case i.PL:n.error=null,n.value=t.payload.value,e.isPressEnterToChange&&(n.isDirty=!0);break;case i.cJ:n.value=t.payload.value,n.isDirty=!1;break;case i.Ut:n.error=null,n.isDirty=!1,n.value=t.payload.value||e.initialValue;break;case i.uY:n.error=t.payload.error}return n._event=t.payload.event,l(n,t)}),function(e=o.V){const{value:t}=e;return{...o.V,...e,initialValue:t}}(t));var l;const c=e=>(t,n)=>{a({type:e,payload:{value:t,event:n}})},u=e=>t=>{a({type:e,payload:{event:t}})},d=e=>t=>{a({type:e,payload:t})},f=c(i.PL),p=c(i.Ut),h=c(i.cJ),g=d(i.Qf),m=d(i.j),v=d(i.Ry),b=u(i.wX),y=u(i.r7),k=u(i.bR),x=(0,r.useRef)(s),w=(0,r.useRef)({value:t.value,onChangeHandler:n});return(0,r.useLayoutEffect)(()=>{x.current=s,w.current={value:t.value,onChangeHandler:n}}),(0,r.useLayoutEffect)(()=>{void 0===x.current._event||s.value===w.current.value||s.isDirty||w.current.onChangeHandler(s.value??"",{event:x.current._event})},[s.value,s.isDirty]),(0,r.useLayoutEffect)(()=>{t.value===x.current.value||x.current.isDirty||a({type:i.W3,payload:{value:t.value??""}})},[t.value]),{change:f,commit:h,dispatch:a,drag:m,dragEnd:v,dragStart:g,invalidate:(e,t)=>a({type:i.uY,payload:{error:e,event:t}}),pressDown:y,pressEnter:k,pressUp:b,reset:p,state:s}}},34540(e,t,n){"use strict";n.d(t,{V:()=>o,g:()=>r});var r=e=>e,o={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""}},38500(e,t,n){"use strict";n.d(t,{Hr:()=>b,JU:()=>N,TA:()=>S,b3:()=>p,bC:()=>O,bL:()=>y,cR:()=>M,mc:()=>_,pd:()=>j,sZ:()=>h});var r=n(76503),o=n(51505),i=n(38162),s=n(52474),a=n(46936),l=n(91731),c=n(32868),u=n(17266),d=n(91705),f=n(93236);var p=(0,r.A)("span",{target:"em5sgkm8"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),h=(0,r.A)("span",{target:"em5sgkm7"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),g=({disabled:e,isBorderless:t})=>t?"transparent":e?u.l.ui.borderDisabled:u.l.ui.border,m={name:"v60t78",styles:"@media ( forced-colors: active ){border-color:GrayText;}"},v=({disabled:e,isBorderless:t})=>{if(e&&!t)return m},b=(0,r.A)("div",{target:"em5sgkm6"})("&&&{box-sizing:border-box;border-color:",g,";border-radius:inherit;border-style:solid;border-width:1px;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(0,l.h)({paddingLeft:2})," ",v,";}"),y=(0,r.A)(i.A,{target:"em5sgkm5"})("box-sizing:border-box;position:relative;border-radius:",c.A.radiusSmall,";padding-top:0;"),k=({disabled:e})=>{if(e)return(0,o.AH)("color:",u.l.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}","")},x={name:"1d3w5wq",styles:"width:100%"},w=({__unstableInputWidth:e,labelPosition:t})=>e?"side"===t?"":"edge"===t?(0,o.AH)({flex:`0 0 ${e}`},"",""):(0,o.AH)({width:e},"",""):x,_=(0,r.A)("div",{target:"em5sgkm4"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;background-color:",u.l.ui.background,";",k," ",w,";"),A=({disabled:e})=>e?(0,o.AH)("color:",u.l.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}&:disabled::placeholder{color:",u.l.ui.textDisabled,";}",""):"",S=({inputSize:e})=>{const t={default:"13px",small:"11px",compact:"13px"},n=t[e]||t.default;return n?(0,o.AH)("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""},C=({inputSize:e})=>{const t={default:{height:40,lineHeight:1,minHeight:40,paddingLeft:c.A.controlPaddingX,paddingRight:c.A.controlPaddingX},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:c.A.controlPaddingXSmall,paddingRight:c.A.controlPaddingXSmall},compact:{height:32,lineHeight:1,minHeight:32,paddingLeft:c.A.controlPaddingXSmall,paddingRight:c.A.controlPaddingXSmall}};return t[e]||t.default},E=e=>(0,o.AH)(C(e),"",""),T=({paddingInlineStart:e,paddingInlineEnd:t})=>(0,o.AH)({paddingInlineStart:e,paddingInlineEnd:t},"",""),I=({isDragging:e,dragCursor:t})=>{let n,r;return e&&(n=(0,o.AH)("cursor:",t,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),e&&t&&(r=(0,o.AH)("&:active{cursor:",t,";}","")),(0,o.AH)(n," ",r,";","")},j=(0,r.A)("input",{target:"em5sgkm3"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",u.l.theme.foreground,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",I," ",A," ",S," ",E," ",T," &::-webkit-input-placeholder{color:",u.l.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",u.l.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",u.l.ui.darkGrayPlaceholder,";}&[type='date'],&[type='datetime-local'],&[type='month'],&[type='time'],&[type='week']{&::-webkit-datetime-edit{display:flex;align-items:center;height:100%;}}@supports ( -webkit-hyphens: none ) and ( not ( -moz-appearance: none ) ){&[type='date'][data-empty-value]:not( :focus ),&[type='time'][data-empty-value]:not( :focus ),&[type='datetime-local'][data-empty-value]:not( :focus ){color:transparent;&:disabled::-webkit-datetime-edit-text{color:transparent;}}}&[type='email'],&[type='url']{direction:ltr;}}"),B=(0,r.A)(a.A,{target:"em5sgkm2"})("&&&{",d.z,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;}"),N=e=>(0,f.jsx)(B,{...e,as:"label"}),M=(0,r.A)(s.A,{target:"em5sgkm1"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),R=({variant:e="default",size:t,isPrefix:n})=>{const{paddingLeft:r}=C({inputSize:t}),i=n?"paddingInlineStart":"paddingInlineEnd";return"default"===e?(0,o.AH)({[i]:r},"",""):(0,o.AH)({display:"flex",[i]:r-4},"","")},O=(0,r.A)("div",{target:"em5sgkm0"})(R,";")},97757(e,t,n){"use strict";n.d(t,{Ef:()=>o,Te:()=>i});var r=n(2376);function o(e,t){const n=function(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,r.useEffect)(()=>{e?document.documentElement.style.cursor=n:document.documentElement.style.removeProperty("cursor")},[e,n]),n}function i(e){const t=(0,r.useRef)(e.value),[n,o]=(0,r.useState)({}),i=void 0!==n.value?n.value:e.value;(0,r.useLayoutEffect)(()=>{const{current:r}=t;t.current=e.value,void 0===n.value||n.isStale?n.isStale&&e.value!==r&&o({}):o({...n,isStale:!0})},[e.value,n]);return{value:i,onBlur:t=>{o({}),e.onBlur?.(t)},onChange:(t,n)=>{o(e=>Object.assign(e,{value:t,isStale:!1})),e.onChange(t,n)}}}},48822(e,t,n){"use strict";n.d(t,{C:()=>o,j:()=>i});var r=n(2376),o=(0,r.createContext)({isList:!1,size:"medium"});o.displayName="ItemGroupContext";var i=()=>(0,r.useContext)(o)},5674(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(39179),o=n(48180),i=n(48822),s=n(26930),a=n(93236);var l=(0,r.KZ)(function(e,t){const{isBordered:n,isSeparated:r,size:l,...c}=(0,o.w)(e),{size:u}=(0,i.j)(),d=!n&&!r,f=l||u,p={isList:"list"===c.role||"directory"===c.role,spacedAround:d,size:f};return(0,a.jsx)(i.C.Provider,{value:p,children:(0,a.jsx)(s.A,{...c,ref:t})})},"ItemGroup")},48180(e,t,n){"use strict";n.d(t,{w:()=>f});var r=n(13022),o=n(52898),i="data-wp-hash";function s(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=s();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)a(e,n,r)}(document)),e.__wpStyleRuntime}function a(e,t,n){if(!e.head)return;const r=s();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${i}]`))if(n.getAttribute(i)===t)return!0;return!1}(e,t))return void o.add(t);const a=e.createElement("style");a.setAttribute(i,t),a.appendChild(e.createTextNode(n)),e.head.appendChild(a),o.add(t)}(function(e,t){const n=s();n.styles.set(e,t);for(const r of n.documents.keys())a(r,e,t)})("d5c166f26a","._68553e70f1f1cb4e__item-group._55756ee749a180e1__is-bordered{border:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:not(marquee)>*{border-block-end:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:last-of-type>*{border-block-end-color:transparent}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded{border-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:first-of-type>*{border-start-end-radius:var(--wpds-border-radius-sm,2px);border-start-start-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:last-of-type>*{border-end-end-radius:var(--wpds-border-radius-sm,2px);border-end-start-radius:var(--wpds-border-radius-sm,2px)}._4f562a88cd53281b__item-wrapper,.fc4c000709063bb0__item{display:block;width:100%}.fc4c000709063bb0__item{box-sizing:border-box;color:inherit;margin:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button{appearance:none;background:none;border:1px solid transparent;cursor:var(--wpds-cursor-control,pointer);font-family:inherit;font-size:13px;text-align:start}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link svg,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button svg{fill:currentColor}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:hover,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:hover{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus{box-shadow:none;outline:none}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus-visible,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus-visible{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline:2px solid transparent;outline-offset:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link{text-decoration:none}.fc4c000709063bb0__item._62800b4fe741b26a__is-spaced-around{border-radius:var(--wpds-border-radius-sm,2px)}.fc4c000709063bb0__item.ff341e6676e9138f__is-size-small{padding:4.3px 8px}.fc4c000709063bb0__item._715af0bb13514a58__is-size-medium{padding:7.9px 12px}.fc4c000709063bb0__item.b141618c0c420070__is-size-large{padding:11.5px 16.0008px}");var l="_68553e70f1f1cb4e__item-group",c="_55756ee749a180e1__is-bordered",u="_4e8285db01e0c630__is-separated",d="_58738db58e87759e__is-rounded";function f(e){const{className:t,isBordered:n=!1,isRounded:i=!0,isSeparated:s=!1,role:a="list",...f}=(0,o.A)(e,"ItemGroup");return{isBordered:n,className:(0,r.A)(l,{[c]:n,[u]:s,[d]:i},t),role:a,isSeparated:s,...f}}},77944(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(15046),i=n(39179),s=n(26930),a=n(48822),l=n(93236);var c=(0,i.KZ)(function(e,t){const{role:n,wrapperClassName:i,...c}=(0,o.H)(e),u=(0,r.useRef)(null),{isList:d}=(0,a.j)();return(0,r.useEffect)(()=>{if(d&&"listitem"===n&&!u.current?.closest('ol, ul, menu, [role="list"], [role="directory"]'))throw new Error('Item with list semantics must be rendered inside an element with role="list".')},[d,n]),(0,l.jsx)("div",{ref:u,role:n,className:i,children:(0,l.jsx)(s.A,{...c,ref:t})})},"Item")},15046(e,t,n){"use strict";n.d(t,{H:()=>g});var r=n(13022),o=n(52898),i=n(48822),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("d5c166f26a","._68553e70f1f1cb4e__item-group._55756ee749a180e1__is-bordered{border:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:not(marquee)>*{border-block-end:1px solid rgba(0,0,0,.1)}._68553e70f1f1cb4e__item-group._4e8285db01e0c630__is-separated>:last-of-type>*{border-block-end-color:transparent}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded{border-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:first-of-type>*{border-start-end-radius:var(--wpds-border-radius-sm,2px);border-start-start-radius:var(--wpds-border-radius-sm,2px)}._68553e70f1f1cb4e__item-group._58738db58e87759e__is-rounded>:last-of-type>*{border-end-end-radius:var(--wpds-border-radius-sm,2px);border-end-start-radius:var(--wpds-border-radius-sm,2px)}._4f562a88cd53281b__item-wrapper,.fc4c000709063bb0__item{display:block;width:100%}.fc4c000709063bb0__item{box-sizing:border-box;color:inherit;margin:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button{appearance:none;background:none;border:1px solid transparent;cursor:var(--wpds-cursor-control,pointer);font-family:inherit;font-size:13px;text-align:start}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link svg,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button svg{fill:currentColor}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:hover,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:hover{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus{box-shadow:none;outline:none}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link:focus-visible,.fc4c000709063bb0__item.d204dc5a680d24cf__is-unstyled-button:focus-visible{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline:2px solid transparent;outline-offset:0}.fc4c000709063bb0__item.a5802f3508d737a0__is-unstyled-link{text-decoration:none}.fc4c000709063bb0__item._62800b4fe741b26a__is-spaced-around{border-radius:var(--wpds-border-radius-sm,2px)}.fc4c000709063bb0__item.ff341e6676e9138f__is-size-small{padding:4.3px 8px}.fc4c000709063bb0__item._715af0bb13514a58__is-size-medium{padding:7.9px 12px}.fc4c000709063bb0__item.b141618c0c420070__is-size-large{padding:11.5px 16.0008px}");var c="_4f562a88cd53281b__item-wrapper",u="fc4c000709063bb0__item",d="d204dc5a680d24cf__is-unstyled-button",f="a5802f3508d737a0__is-unstyled-link",p="_62800b4fe741b26a__is-spaced-around",h={small:"ff341e6676e9138f__is-size-small",medium:"_715af0bb13514a58__is-size-medium",large:"b141618c0c420070__is-size-large"};function g(e){const{isList:t,spacedAround:n,size:s}=(0,i.j)(),{as:a,className:l,onClick:g,role:m=(t?"listitem":void 0),size:v,...b}=(0,o.A)(e,"Item"),y=v||s,k=a||(void 0!==g?"button":"div");return{as:k,className:(0,r.A)(u,"button"===k&&d,"a"===k&&f,h[y]||h.medium,n&&p,l),onClick:g,wrapperClassName:c,role:m,...b}}},74869(e,t,n){"use strict";n.d(t,{T:()=>i,s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/components")},57655(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(13022),o=n(2376),i=n(41740),s=n(93236);var a=function e(t){const{children:n,className:a="",label:l,hideSeparator:c}=t,u=(0,i.A)(e);if(!o.Children.count(n))return null;const d=`components-menu-group-label-${u}`,f=(0,r.A)(a,"components-menu-group",{"has-hidden-separator":c});return(0,s.jsxs)("div",{className:f,children:[l&&(0,s.jsx)("div",{className:"components-menu-group__label",id:d,"aria-hidden":"true",children:l}),(0,s.jsx)("div",{role:"group","aria-labelledby":l?d:void 0,children:n})]})}},22953(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(13022),o=n(2376),i=n(73770),s=n(43192),a=n(93331),l=n(93236);var c=(0,o.forwardRef)(function(e,t){let{children:n,info:c,className:u,icon:d,iconPosition:f="right",shortcut:p,isSelected:h,role:g="menuitem",suffix:m,...v}=e;return u=(0,r.A)("components-menu-item__button",u),c&&(n=(0,l.jsxs)("span",{className:"components-menu-item__info-wrapper",children:[(0,l.jsx)("span",{className:"components-menu-item__item",children:n}),(0,l.jsx)("span",{className:"components-menu-item__info",children:c})]})),d&&"string"!=typeof d&&(d=(0,o.cloneElement)(d,{className:(0,r.A)("components-menu-items__item-icon",{"has-icon-right":"right"===f})})),(0,l.jsxs)(s.A,{size:"compact",ref:t,"aria-checked":"menuitemcheckbox"===g||"menuitemradio"===g?h:void 0,role:g,icon:"left"===f?d:void 0,className:u,accessibleWhenDisabled:!0,...v,children:[(0,l.jsx)("span",{className:"components-menu-item__item",children:n}),!m&&(0,l.jsx)(i.A,{className:"components-menu-item__shortcut",shortcut:p}),!m&&d&&"right"===f&&(0,l.jsx)(a.A,{icon:d}),m]})});c.displayName="MenuItem";var u=c},67276(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(88901),o=n(22953),i=n(93236),s=()=>{};var a=function({choices:e=[],onHover:t=s,onSelect:n,value:a}){return(0,i.jsx)(i.Fragment,{children:e.map(e=>{const s=a===e.value;return(0,i.jsx)(o.A,{role:"menuitemradio",disabled:e.disabled,icon:s?r.A:null,info:e.info,isSelected:s,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{s||n(e.value)},onMouseEnter:()=>t(e.value),onMouseLeave:()=>t(null),"aria-label":e["aria-label"],children:e.label},e.value)})})}},85556(e,t,n){"use strict";n.d(t,{H:()=>d});var r=n(7437),o=n(2376),i=n(13109),s=n(88901),a=n(62568),l=n(34737),c=n(76822),u=n(93236),d=(0,o.forwardRef)(function({suffix:e,children:t,disabled:n=!1,hideOnClick:d=!1,...f},p){const h=(0,o.useContext)(a.o),g=h?.store,m=(0,c.t)(g,d);if(!g)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,u.jsxs)(l.H_,{ref:p,...f,accessibleWhenDisabled:!0,disabled:n,store:g,hideOnClick:m,children:[(0,u.jsx)(r.p,{store:g,render:(0,u.jsx)(l.Ny,{}),style:{width:"auto",height:"auto"},children:(0,u.jsx)(i.A,{icon:s.A,size:24})}),(0,u.jsxs)(l.Cv,{children:[(0,u.jsx)(l.Ux,{children:t}),e&&(0,u.jsx)(l.G5,{children:e})]})]})})},62568(e,t,n){"use strict";n.d(t,{o:()=>r});var r=(0,n(2376).createContext)(void 0);r.displayName="MenuContext"},99513(e,t,n){"use strict";n.d(t,{W:()=>c});var r=n(2376),o=n(62568),i=n(46936),s=n(32868),a=n(34737),l=n(93236),c=(0,r.forwardRef)(function(e,t){const n=(0,r.useContext)(o.o);if(!n?.store)throw new Error("Menu.GroupLabel can only be rendered inside a Menu component");return(0,l.jsx)(a.WL,{ref:t,render:(0,l.jsx)(i.A,{upperCase:!0,variant:"muted",size:"11px",weight:s.A.fontWeightEmphasis,lineHeight:"16px"}),...e,store:n.store})})},44728(e,t,n){"use strict";n.d(t,{Y:()=>a});var r=n(2376),o=n(62568),i=n(34737),s=n(93236),a=(0,r.forwardRef)(function(e,t){const n=(0,r.useContext)(o.o);if(!n?.store)throw new Error("Menu.Group can only be rendered inside a Menu component");return(0,s.jsx)(i.YJ,{ref:t,...e,store:n.store})})},65629(e,t,n){"use strict";n.d(t,{W:()=>x});var r=n(58966),o=n(2376),i=n(18335),s=n(39179),a=n(52898),l=n(62568),c=n(21242),u=n(85556),d=n(42712),f=n(44728),p=n(99513),h=n(56852),g=n(79319),m=n(75206),v=n(19818),b=n(73599),y=n(85746),k=n(93236),x=Object.assign((0,s.zS)(e=>{const{children:t,defaultOpen:n=!1,open:s,onOpenChange:c,placement:u,variant:d}=(0,a.A)(e,"Menu"),f=(0,o.useContext)(l.o),p=(0,i.V8)();let h=u??(f?.store?"right-start":"bottom-start");p&&(/right/.test(h)?h=h.replace("right","left"):/left/.test(h)&&(h=h.replace("left","right")));const g=r.c({parent:f?.store,open:s,defaultOpen:n,placement:h,focusLoop:!0,setOpen(e){c?.(e)},rtl:p}),m=(0,o.useMemo)(()=>({store:g,variant:d}),[g,d]);return(0,k.jsx)(l.o.Provider,{value:m,children:t})},"Menu"),{Context:Object.assign(l.o,{displayName:"Menu.Context"}),Item:Object.assign(c.q,{displayName:"Menu.Item"}),RadioItem:Object.assign(d.h,{displayName:"Menu.RadioItem"}),CheckboxItem:Object.assign(u.H,{displayName:"Menu.CheckboxItem"}),Group:Object.assign(f.Y,{displayName:"Menu.Group"}),GroupLabel:Object.assign(p.W,{displayName:"Menu.GroupLabel"}),Separator:Object.assign(h.w,{displayName:"Menu.Separator"}),ItemLabel:Object.assign(g.g,{displayName:"Menu.ItemLabel"}),ItemHelpText:Object.assign(m.M,{displayName:"Menu.ItemHelpText"}),Popover:Object.assign(y.A,{displayName:"Menu.Popover"}),TriggerButton:Object.assign(v.T,{displayName:"Menu.TriggerButton"}),SubmenuTriggerItem:Object.assign(b.B,{displayName:"Menu.SubmenuTriggerItem"})})},75206(e,t,n){"use strict";n.d(t,{M:()=>a});var r=n(2376),o=n(62568),i=n(34737),s=n(93236),a=(0,r.forwardRef)(function(e,t){const n=(0,r.useContext)(o.o);if(!n?.store)throw new Error("Menu.ItemHelpText can only be rendered inside a Menu component");return(0,s.jsx)(i.MC,{numberOfLines:2,ref:t,...e})})},79319(e,t,n){"use strict";n.d(t,{g:()=>a});var r=n(2376),o=n(62568),i=n(34737),s=n(93236),a=(0,r.forwardRef)(function(e,t){const n=(0,r.useContext)(o.o);if(!n?.store)throw new Error("Menu.ItemLabel can only be rendered inside a Menu component");return(0,s.jsx)(i.gf,{numberOfLines:1,ref:t,...e})})},21242(e,t,n){"use strict";n.d(t,{q:()=>l});var r=n(2376),o=n(34737),i=n(62568),s=n(76822),a=n(93236),l=(0,r.forwardRef)(function({prefix:e,suffix:t,children:n,disabled:l=!1,hideOnClick:c=!0,store:u,...d},f){const p=(0,r.useContext)(i.o),h=u??p?.store,g=(0,s.t)(h,c);if(!p?.store||!h)throw new Error("Menu.Item can only be rendered inside a Menu component");return(0,a.jsxs)(o.q7,{ref:f,...d,accessibleWhenDisabled:!0,disabled:l,store:h,hideOnClick:g,children:[(0,a.jsx)(o.Ny,{children:e}),(0,a.jsxs)(o.Cv,{children:[(0,a.jsx)(o.Ux,{children:n}),t&&(0,a.jsx)(o.G5,{children:t})]})]})})},85746(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(45934),o=n(2376),i=n(34737),s=n(62568),a=n(93236),l=(0,o.forwardRef)(function({gutter:e,shift:t,modal:n=!0,...l},c){const u=(0,o.useContext)(s.o),d=r.O$(u?.store,"currentPlacement")?.split("-")[0],f=(0,o.useCallback)(e=>(e.preventDefault(),!0),[]),p=r.O$(u?.store,"rtl")?"rtl":"ltr",h=(0,o.useMemo)(()=>({dir:p,style:{direction:p}}),[p]);if(!u?.store)throw new Error("Menu.Popover can only be rendered inside a Menu component");const g=(0,o.useCallback)(e=>(0,a.jsx)(i.Kw,{children:(0,a.jsx)(i.XN,{...e,variant:u.variant})}),[u.variant]);return(0,a.jsx)(i.W1,{...l,ref:c,modal:n,store:u.store,gutter:e??(u.store.parent?0:8),shift:t??(u.store.parent?-4:0),hideOnHoverOutside:!1,"data-side":d,"data-submenu":!!u.store.parent||void 0,wrapperProps:h,hideOnEscape:f,unmountOnHide:!0,render:g})})},42712(e,t,n){"use strict";n.d(t,{h:()=>f});var r=n(7437),o=n(2376),i=n(13109),s=n(65334),a=n(62568),l=n(34737),c=n(76822),u=n(93236),d=(0,u.jsx)(s.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)(s.jl,{cx:12,cy:12,r:3})}),f=(0,o.forwardRef)(function({suffix:e,children:t,disabled:n=!1,hideOnClick:s=!1,...f},p){const h=(0,o.useContext)(a.o),g=h?.store,m=(0,c.t)(g,s);if(!g)throw new Error("Menu.RadioItem can only be rendered inside a Menu component");return(0,u.jsxs)(l.hN,{ref:p,...f,accessibleWhenDisabled:!0,disabled:n,store:g,hideOnClick:m,children:[(0,u.jsx)(r.p,{store:g,render:(0,u.jsx)(l.Ny,{}),style:{width:"auto",height:"auto"},children:(0,u.jsx)(i.A,{icon:d,size:24})}),(0,u.jsxs)(l.Cv,{children:[(0,u.jsx)(l.Ux,{children:t}),e&&(0,u.jsx)(l.G5,{children:e})]})]})})},56852(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(2376),o=n(62568),i=n(34737),s=n(93236),a=(0,r.forwardRef)(function(e,t){const n=(0,r.useContext)(o.o);if(!n?.store)throw new Error("Menu.Separator can only be rendered inside a Menu component");return(0,s.jsx)(i.wv,{ref:t,...e,store:n.store,variant:n.variant})})},34737(e,t,n){"use strict";n.d(t,{Cv:()=>z,G5:()=>F,Gq:()=>W,H_:()=>L,Kw:()=>M,MC:()=>q,Ny:()=>D,Ux:()=>V,W1:()=>B,WL:()=>H,XN:()=>N,YJ:()=>$,gf:()=>K,hN:()=>P,q7:()=>O,wv:()=>U});var r=n(76503),o=n(48522),i=n(37780),s=n(26363),a=n(88328),l=n(69220),c=n(2218),u=n(28832),d=n(51505),f=n(91731),p=n(37668),h=n(32868),g=n(17266),m=n(20463),v=n(80359),b=n(93331),y=n(39927);var k=(0,v.x)(1),x=(0,v.x)(1),w=(0,v.x)(3),_=g.l.theme.gray[300],A=g.l.theme.gray[200],S=g.l.theme.gray[700],C=g.l.theme.gray[100],E=g.l.theme.foreground,T=`0 0 0 ${h.A.borderWidth} ${_}, ${h.A.elevationMedium}`,I=`0 0 0 ${h.A.borderWidth} ${E}`,j="minmax( 0, max-content ) 1fr",B=(0,r.A)(o.W,{target:"e1wg7tti15"})({name:"1xd6ev0",styles:"position:relative;z-index:1000000;outline:2px solid transparent!important"}),N=(0,r.A)("div",{target:"e1wg7tti14"})("display:grid;grid-template-columns:",j,";grid-template-rows:auto;box-sizing:border-box;min-width:160px;max-width:320px;max-height:var( --popover-available-height );padding:",k,";overscroll-behavior:contain;overflow:auto;background-color:",g.l.ui.background,";border-radius:",h.A.radiusMedium,";",e=>(0,d.AH)("box-shadow:","toolbar"===e.variant?I:T,";",""),";"),M=(0,r.A)("div",{target:"e1wg7tti13"})("@media not ( prefers-reduced-motion ){transition-property:transform,opacity;transition-duration:",m.r.SLIDE_DURATION,",",m.r.FADE_DURATION,";transition-timing-function:",m.r.SLIDE_EASING,",",m.r.FADE_EASING,";will-change:transform,opacity;&:not( :has( > ",N,"[data-submenu] ) ){opacity:0;&:has( > ",N,"[data-enter] ){opacity:1;}&:has( > ",N,"[data-side='bottom'] ){transform:translateY(\n\t\t\t\t\t-",m.r.SLIDE_DISTANCE,"\n\t\t\t\t);}&:has( > ",N,"[data-side='top'] ){transform:translateY(\n\t\t\t\t\t",m.r.SLIDE_DISTANCE,"\n\t\t\t\t);}&:has( > ",N,"[data-side='left'] ){transform:translateX(\n\t\t\t\t\t",m.r.SLIDE_DISTANCE,"\n\t\t\t\t);}&:has( > ",N,"[data-side='right'] ){transform:translateX(\n\t\t\t\t\t-",m.r.SLIDE_DISTANCE,"\n\t\t\t\t);}&:has( > ",N,"[data-enter][data-side='bottom'] ),&:has( > ",N,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",N,"[data-enter][data-side='left'] ),&:has( > ",N,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),R=(0,d.AH)("all:unset;cursor:pointer;position:relative;min-height:",(0,v.x)(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",j,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",(0,p.g)("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",g.l.theme.foreground,";border-radius:",h.A.radiusSmall,";padding-block:",x,";padding-inline:",w,";scroll-margin:",k,";user-select:none;outline:none;&[aria-disabled='true']{color:",g.l.ui.textDisabled,";}&[data-active-item]:not( [data-focus-visible] ):not(\n\t\t\t[aria-disabled='true']\n\t\t){background-color:",g.l.theme.accent,";color:",g.l.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",g.l.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",B,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',C,";color:",g.l.theme.foreground,";}svg{fill:currentColor;}",""),O=(0,r.A)(a.D,{target:"e1wg7tti12"})(R,";"),L=(0,r.A)(l.K,{target:"e1wg7tti11"})(R,";"),P=(0,r.A)(c.s,{target:"e1wg7tti10"})(R,";"),D=(0,r.A)("span",{target:"e1wg7tti9"})("grid-column:1;",L,">&,",P,">&{min-width:",(0,v.x)(6),";}",L,">&,",P,">&,&:not( :empty ){margin-inline-end:",(0,v.x)(2),";}display:flex;align-items:center;justify-content:center;color:",S,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),z=(0,r.A)("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",(0,v.x)(3),";pointer-events:none;"),V=(0,r.A)("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",(0,v.x)(1),";"),F=(0,r.A)("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",(0,v.x)(3),";color:",S,";[data-active-item]:not( [data-focus-visible] ) *:not(",B,") &,[aria-disabled='true'] *:not(",B,") &{color:inherit;}"),$=(0,r.A)(i.r,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),H=(0,r.A)(s.N,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",(0,v.x)(3),";padding-block-end:",(0,v.x)(2),";padding-inline:",w,";"),U=(0,r.A)(u.b,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",h.A.borderWidth,";background-color:",e=>"toolbar"===e.variant?E:A,";margin-block:",(0,v.x)(2),";margin-inline:",w,";outline:2px solid transparent;"),W=(0,r.A)(b.A,{target:"e1wg7tti2"})("width:",(0,v.x)(1.5),";",(0,f.h)({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),K=(0,r.A)(y.A,{target:"e1wg7tti1"})("font-size:",(0,p.g)("default.fontSize"),";line-height:20px;color:inherit;"),q=(0,r.A)(y.A,{target:"e1wg7tti0"})("font-size:",(0,p.g)("helpText.fontSize"),";line-height:16px;color:",S,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",B," ) &,[aria-disabled='true'] *:not( ",B," ) &{color:inherit;}")},73599(e,t,n){"use strict";n.d(t,{B:()=>u});var r=n(83927),o=n(2376),i=n(72979),s=n(62568),a=n(21242),l=n(34737),c=n(93236),u=(0,o.forwardRef)(function({suffix:e,...t},n){const u=(0,o.useContext)(s.o);if(!u?.store.parent)throw new Error("Menu.SubmenuTriggerItem can only be rendered inside a nested Menu component");return(0,c.jsx)(r.I,{ref:n,accessibleWhenDisabled:!0,store:u.store,render:(0,c.jsx)(a.q,{...t,store:u.store.parent,suffix:(0,c.jsxs)(c.Fragment,{children:[e,(0,c.jsx)(l.Gq,{"aria-hidden":"true",icon:i.A,size:24,preserveAspectRatio:"xMidYMid slice"})]})})})})},19818(e,t,n){"use strict";n.d(t,{T:()=>a});var r=n(83927),o=n(2376),i=n(62568),s=n(93236),a=(0,o.forwardRef)(function({children:e,disabled:t=!1,...n},a){const l=(0,o.useContext)(i.o);if(!l?.store)throw new Error("Menu.TriggerButton can only be rendered inside a Menu component");if(l.store.parent)throw new Error("Menu.TriggerButton should not be rendered inside a nested Menu component. Use Menu.SubmenuTriggerItem instead.");return(0,s.jsx)(r.I,{ref:a,...n,disabled:t,store:l.store,children:e})})},76822(e,t,n){"use strict";n.d(t,{t:()=>o});var r=n(2376);function o(e,t){return(0,r.useCallback)(n=>{if(!("function"==typeof t?t(n):t))return!1;if(!e||!("hideAll"in e))return!0;const r=e.getState().contentElement,o=r?.ownerDocument.activeElement;if(r?.contains(o??null)){let t=e;for(;t.parent;)t=t.parent;const n=t.getState().disclosureElement;n&&function(e){if(e.focus(),e.ownerDocument.activeElement===e)return;const t=e.closest("[inert]");t&&(t.inert=!1),e.ownerDocument.defaultView?.HTMLElement.prototype.focus.call(e)}(n)}return!0},[t,e])}},59398(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(2376),o=n(43730),i=n(98003),s=n(93236),a=()=>{},l=["menuitem","menuitemradio","menuitemcheckbox"];var c=(0,r.forwardRef)(function({children:e,stopNavigationEvents:t,eventToOffset:n,onNavigate:c=a,onKeyDown:u,cycle:d=!0,onlyBrowserTabstops:f,...p},h){const g=(0,r.useRef)(null);(0,r.useEffect)(()=>{const e=g.current;if(e)return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)};function r(r){u&&u(r);const o=n(r);if(void 0!==o&&t){r.stopImmediatePropagation();const e=r.target?.getAttribute("role");!!e&&l.includes(e)&&r.preventDefault()}if(!o)return;const s=r.target?.ownerDocument?.activeElement;if(!s)return;const a=function(e,t,n){const r=(n?i.XC.tabbable:i.XC.focusable).find(e),o=r.indexOf(t);return o>-1?{index:o,target:t,focusables:r}:null}(e,s,!!f);if(!a)return;const{index:p,focusables:h}=a,g=d?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(p,h.length,o):p+o;g>=0&&g<h.length&&(h[g].focus(),c(g,h[g]),"Tab"===r.code&&r.preventDefault())}},[u,n,t,d,c,f]);const m=(0,o.A)([g,h]);return(0,s.jsx)("div",{ref:m,...p,children:e})});c.displayName="NavigableContainer";var u=c},23528(e,t,n){"use strict";n.d(t,{Ay:()=>a});var r=n(2376),o=n(59398),i=n(93236);var s=(0,r.forwardRef)(function({role:e="menu",orientation:t="vertical",...n},r){return(0,i.jsx)(o.A,{ref:r,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:e,"aria-orientation":"presentation"===e||"vertical"!==t&&"horizontal"!==t?void 0:t,eventToOffset:e=>{const{code:n}=e;let r=["ArrowDown"],o=["ArrowUp"];return"horizontal"===t&&(r=["ArrowRight"],o=["ArrowLeft"]),"both"===t&&(r=["ArrowRight","ArrowDown"],o=["ArrowLeft","ArrowUp"]),r.includes(n)?1:o.includes(n)?-1:["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(n)?0:void 0},...n})});s.displayName="NavigableMenu";var a=s},13440(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(13022),o=n(18335),i=n(2376),s=n(30621),a=n(32557),l=n(36331),c=n(65995),u=n(43192),d=n(69257),f=n(93236),p=()=>{};function h(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}function g(e){switch(e){case"warning":return(0,o.__)("Warning notice");case"info":return(0,o.__)("Information notice");case"error":return(0,o.__)("Error notice");default:return(0,o.__)("Notice")}}var m=function({className:e,status:t="info",children:n,spokenMessage:m=n,onRemove:v=p,isDismissible:b=!0,actions:y=[],politeness:k=h(t),__unstableHTML:x,onDismiss:w=p}){!function(e,t){const n="string"==typeof e?e:(0,s.Ay)(e);(0,i.useEffect)(()=>{n&&(0,l.L)(n,t)},[n,t])}(m,k);const _=(0,r.A)(e,"components-notice","is-"+t);return x&&"string"==typeof n&&(n=(0,f.jsx)(a.A,{children:n})),(0,f.jsxs)("div",{className:_,children:[(0,f.jsx)(d.A,{children:g(t)}),(0,f.jsx)("div",{className:"components-notice__content",children:n}),y.length>0&&(0,f.jsx)("div",{className:"components-notice__actions",children:y.map(({className:e,label:t,isPrimary:n,variant:o,noDefaultClasses:i=!1,onClick:s,url:a,disabled:l},c)=>{let d=o;return"primary"===o||i||(d=a?"link":"secondary"),void 0===d&&n&&(d="primary"),(0,f.jsx)(u.A,{size:"compact",href:a,variant:d,onClick:s,disabled:l,accessibleWhenDisabled:!0,className:(0,r.A)("components-notice__action",e),children:t},c)})}),b&&(0,f.jsx)(u.A,{size:"small",className:"components-notice__dismiss",icon:c.A,label:(0,o.__)("Close"),onClick:()=>{w(),v()}})]})}},37595(e,t,n){"use strict";n.d(t,{A:()=>k});var r=n(13022),o=n(2376),i=n(18335),s=n(60167),a=n(32484),l=n(43730),c=n(66786),u=n(94456),d=n(37322),f=n(30301),p=n(17273),h=n(83832),g=n(12957),m=n(86447),v=n(93236),b=()=>{};var y=(0,o.forwardRef)(function(e,t){const{__unstableStateReducer:n,className:y,dragDirection:k="n",hideHTMLArrows:x=!1,spinControls:w=(x?"none":"native"),isDragEnabled:_=!0,isShiftStepEnabled:A=!0,label:S,max:C=1/0,min:E=-1/0,required:T=!1,shiftStep:I=10,step:j=1,spinFactor:B=1,type:N="number",value:M,size:R="default",suffix:O,onChange:L=b,...P}=e;x&&(0,c.A)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"});const D=(0,o.useRef)(null),z=(0,l.A)([D,t]),V="any"===j,F=V?1:(0,p.GB)(j),$=(0,p.GB)(B)*F,H=(e,t)=>(V||(e=(0,f.v9)(e,E,t??F)),`${(0,f.qE)(e,E,C)}`),U=H(0),W="number"===N?"off":void 0,K=(0,r.A)("components-number-control",y),q=(0,m.l)()("small"===R&&u.R7.smallSpinButtons),G=(e,t,n)=>{n?.preventDefault();const r=n?.shiftKey&&A,o=r?(0,p.GB)(I)*$:$;let i=(0,p.r6)(e)?U:e;return"up"===t?i=(0,f.WQ)(i,o):"down"===t&&(i=(0,f.Re)(i,o)),H(i,r?o:void 0)},X=e=>t=>L(String(G(M,e,t)),{event:{...t,target:D.current}});return(0,v.jsx)(u.pd,{autoComplete:W,inputMode:"numeric",...P,className:K,dragDirection:k,hideHTMLArrows:"native"!==w,isDragEnabled:_,label:S,max:C===1/0?void 0:C,min:E===-1/0?void 0:E,ref:z,required:T,step:j,type:N,value:M,__unstableStateReducer:(e,t)=>{const r={...e},{type:o,payload:s}=t,a=s.event,l=r.value;if(o!==d.wX&&o!==d.r7||(r.value=G(l,o===d.wX?"up":"down",a)),o===d.j&&_){const[e,t]=s.delta,n=s.shiftKey&&A,o=n?(0,p.GB)(I)*$:$;let a,c;switch(k){case"n":c=t,a=-1;break;case"e":c=e,a=(0,i.V8)()?-1:1;break;case"s":c=t,a=1;break;case"w":c=e,a=(0,i.V8)()?1:-1}if(0!==c){c=Math.ceil(Math.abs(c))*Math.sign(c);const e=c*o*a;r.value=H((0,f.WQ)(l,e),n?o:void 0)}}if(o===d.bR||o===d.cJ){const e=!1===T&&""===l;r.value=e?l:H(l)}return n?.(r,t)??r},size:R,suffix:"custom"===w?(0,v.jsxs)(v.Fragment,{children:[O,(0,v.jsx)(g.A,{marginBottom:0,marginRight:2,children:(0,v.jsxs)(h.A,{spacing:1,children:[(0,v.jsx)(u.h,{className:q,icon:s.A,size:"small",label:(0,i.__)("Increment"),onClick:X("up")}),(0,v.jsx)(u.h,{className:q,icon:a.A,size:"small",label:(0,i.__)("Decrement"),onClick:X("down")})]})})]}):O,onChange:L})});y.displayName="NumberControl";var k=y},94456(e,t,n){"use strict";n.d(t,{R7:()=>p,h:()=>f,pd:()=>d});var r=n(76503),o=n(51505),i=n(16006),s=n(17266),a=n(43192),l=n(80359);var c={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"},u=({hideHTMLArrows:e})=>e?c:"",d=(0,r.A)(i.Ay,{target:"ep09it41"})(u,";"),f=(0,r.A)(a.A,{target:"ep09it40"})("&&&&&{color:",s.l.theme.accent,";}"),p={smallSpinButtons:(0,o.AH)("width:",(0,l.x)(5),";min-width:",(0,l.x)(5),";height:",(0,l.x)(5),";","")}},16668(e,t,n){"use strict";n.d(t,{Ay:()=>v});var r=n(13022),o=n(7680),i=n(43730),s=n(2376),a=n(65673),l=n(75462),c=n(43192),u=n(93331),d=n(28084),f=n(39057),p=n(93236),h=()=>{};var g=(0,s.forwardRef)(({isOpened:e,icon:t,title:n,...r},o)=>n?(0,p.jsx)("h2",{className:"components-panel__body-title",children:(0,p.jsxs)(c.A,{__next40pxDefaultSize:!0,className:"components-panel__body-toggle","aria-expanded":e,ref:o,...r,children:[(0,p.jsx)("span",{"aria-hidden":"true",children:(0,p.jsx)(u.A,{className:"components-panel__arrow",icon:e?l.A:a.A})}),n,t&&(0,p.jsx)(u.A,{icon:t,className:"components-panel__icon",size:20})]})}):null),m=(0,s.forwardRef)(function(e,t){const{buttonProps:n={},children:a,className:l,icon:c,initialOpen:u,onToggle:m=h,opened:v,title:b,scrollAfterOpen:y=!0}=e,[k,x]=(0,d.A)(v,{initial:void 0===u||u,fallback:!1}),w=(0,s.useRef)(null),_=(0,o.A)()?"auto":"smooth",A=(0,s.useRef)(void 0);A.current=y,(0,f.A)(()=>{k&&A.current&&w.current?.scrollIntoView&&w.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:_})},[k,_]);const S=(0,r.A)("components-panel__body",l,{"is-opened":k});return(0,p.jsxs)("div",{className:S,ref:(0,i.A)([w,t]),children:[(0,p.jsx)(g,{icon:c,isOpened:Boolean(k),onClick:e=>{e.preventDefault();const t=!k;x(t),m(t)},title:b,...n}),"function"==typeof a?a({opened:Boolean(k)}):k&&a]})});m.displayName="PanelBody";var v=m},60288(e,t,n){"use strict";n.d(t,{l:()=>r});var r=(0,n(2376).createContext)(void 0);r.displayName="__unstableSlotNameContext"},88149(e,t,n){"use strict";n.d(t,{Ay:()=>M});var r=n(13022),o=n(10469),i=n(25569),s=n(5158),a=n(2376),l=n(39546),c=n(84197),u=n(7680),d=n(27319),f=n(43730),p=n(51489),h=n(66786),g=n(65334),m=n(18335),v=n(43192),b=n(75343),y=n(63684),k=n(51203),x=n(67399),w=n(17690),_=n(39179),A=n(52898),S=n(75553),C=n(25787),E=n(60288),T=n(93236),I="Popover",j=()=>(0,T.jsxs)(g.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation",children:[(0,T.jsx)(g.wA,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,T.jsx)(g.wA,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})]}),B="components-popover__fallback-container",N=(0,a.forwardRef)(({name:e=I},t)=>(0,T.jsx)(y.DX,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})),M=Object.assign((0,_.KZ)((e,t)=>{const{animate:n=!0,headerTitle:g,constrainTabbing:y,onClose:_,children:N,className:M,noArrow:R=!0,position:O,placement:L="bottom-start",offset:P=0,focusOnMount:D="firstElement",anchor:z,expandOnMobile:V,onFocusOutside:F,__unstableSlotName:$=I,flip:H=!0,resize:U=!0,shift:W=!1,inline:K=!1,variant:q,style:G,__unstableForcePosition:X,anchorRef:Y,anchorRect:Z,getAnchorRect:Q,isAlternate:J,onKeyDown:ee,...te}=(0,A.A)(e,"Popover");let ne=H,re=U;void 0!==X&&((0,h.A)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),ne=!X,re=!X),void 0!==Y&&(0,h.A)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==Z&&(0,h.A)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==Q&&(0,h.A)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});const oe=J?"toolbar":q;void 0!==J&&(0,h.A)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});const ie=(0,a.useRef)(null),[se,ae]=(0,a.useState)(null),le=(0,a.useCallback)(e=>{ae(e)},[]),ce=(0,d.A)("medium","<"),ue=V&&ce,de=!ue&&!R,fe=O?(0,w.YK)(O):L,pe=[..."overlay"===L?(0,S.u)():[],(0,o.cY)(P),ne&&(0,o.UU)(),re&&(0,o.Ej)({padding:8,apply(e){const{firstElementChild:t}=xe.floating.current??{};t instanceof HTMLElement&&Object.assign(t.style,{maxHeight:`${Math.max(0,e.availableHeight)}px`,overflow:"auto"})}}),W&&(0,o.BN)({crossAxis:!0,limiter:(0,o.ER)(),padding:1}),(0,o.UE)({element:ie})],he=(0,a.useContext)(E.l)||$,ge=(0,x.A)(he);let me;(_||F)&&(me=(e,t)=>{if("focus-outside"===e){const e=t?.target,n=xe.reference.current,r=xe.floating.current,o=n&&"contains"in n&&n.contains(e)||r?.contains(e),i=r?.ownerDocument;if(!(o||"relatedTarget"in t&&t.relatedTarget||i?.activeElement!==i?.body))return;const s="relatedTarget"in t?t.relatedTarget:null;if(s instanceof Element&&s.closest("[data-wp-compat-overlay-slot]"))return;if(r&&i?.activeElement instanceof Element&&r.contains(i.activeElement))return;F?F(t):_&&_()}else _&&_()});const[ve,be]=(0,c.A)({constrainTabbing:y,focusOnMount:D,onKeyDown:ee,__unstableOnClose:me,onClose:me}),{x:ye,y:ke,refs:xe,strategy:we,update:_e,placement:Ae,middlewareData:{arrow:Se}}=(0,o.we)({placement:"overlay"===fe?void 0:fe,middleware:pe,whileElementsMounted:(e,t,n)=>(0,i.ll)(e,t,n,{layoutShift:!1,animationFrame:!0})}),Ce=(0,a.useCallback)(e=>{ie.current=e,_e()},[_e]),Ee=Y?.top,Te=Y?.bottom,Ie=Y?.startContainer,je=Y?.current;(0,a.useLayoutEffect)(()=>{const e=(0,w._G)({anchor:z,anchorRef:Y,anchorRect:Z,getAnchorRect:Q,fallbackReferenceElement:se});xe.setReference(e)},[z,Y,Ee,Te,Ie,je,Z,Q,se,xe]);const Be=(0,f.A)([xe.setFloating,ve,t]),Ne=ue?void 0:{position:we,top:0,left:0,x:(0,w.WS)(ye),y:(0,w.WS)(ke)},Me=(0,u.A)(),Re=n&&!ue&&!Me,[Oe,Le]=(0,a.useState)(!1),{style:Pe,...De}=(0,a.useMemo)(()=>(0,w.Vn)(Ae),[Ae]),ze=Re?{style:{...G,...Pe,...Ne},onAnimationComplete:()=>Le(!0),...De}:{animate:!1,style:{...G,...Ne}},Ve=(!Re||Oe)&&null!==ye&&null!==ke;let Fe=(0,T.jsxs)(s.P.div,{className:(0,r.A)(M,{"is-expanded":ue,"is-positioned":Ve,[`is-${"toolbar"===oe?"alternate":oe}`]:oe}),...ze,...te,ref:Be,...be,tabIndex:-1,children:[ue&&(0,T.jsx)(b.A,{}),ue&&(0,T.jsxs)("div",{className:"components-popover__header",children:[(0,T.jsx)("span",{className:"components-popover__header-title",children:g}),(0,T.jsx)(v.A,{className:"components-popover__close",size:"small",icon:p.A,onClick:_,label:(0,m.__)("Close")})]}),(0,T.jsx)("div",{className:"components-popover__content",children:N}),de&&(0,T.jsx)("div",{ref:Ce,className:["components-popover__arrow",`is-${Ae.split("-")[0]}`].join(" "),style:{left:void 0!==Se?.x&&Number.isFinite(Se.x)?`${Se.x}px`:"",top:void 0!==Se?.y&&Number.isFinite(Se.y)?`${Se.y}px`:""},children:(0,T.jsx)(j,{})})]});const $e=ge.ref&&!K,He=Y||Z||z;return $e?Fe=(0,T.jsx)(k.A,{name:he,children:Fe}):K||(Fe=(0,l.d5)((0,T.jsx)(C.N,{document,children:Fe}),(()=>{let e=document.body.querySelector("."+B);return e||(e=document.createElement("div"),e.className=B,document.body.append(e)),e})())),He?Fe:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("span",{ref:le}),Fe]})},"Popover"),{Slot:Object.assign(N,{displayName:"Popover.Slot"}),__unstableSlotNameProvider:Object.assign(E.l.Provider,{displayName:"Popover.__unstableSlotNameProvider"})})},75553(e,t,n){"use strict";n.d(t,{u:()=>o});var r=n(10469);function o(){return[{name:"overlay",fn:({rects:e})=>e.reference},(0,r.Ej)({apply({rects:e,elements:t}){const{firstElementChild:n}=t.floating??{};n instanceof HTMLElement&&Object.assign(n.style,{width:`${e.reference.width}px`,height:`${e.reference.height}px`})}})]}},17690(e,t,n){"use strict";n.d(t,{Vn:()=>l,WS:()=>u,YK:()=>s,_G:()=>c});var r=n(80257),o=n(20463),i={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},s=e=>i[e]??"bottom",a={top:{originX:.5,originY:1},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},right:{originX:0,originY:.5},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},bottom:{originX:.5,originY:0},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},left:{originX:1,originY:.5},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1},overlay:{originX:.5,originY:.5}},l=e=>{const t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",n=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:a[e],initial:{opacity:0,[t]:o.p.SLIDE_DISTANCE*n+"px"},animate:{opacity:1,[t]:0},transition:{opacity:{duration:o.p.FADE_DURATION/1e3,ease:o.p.FADE_EASING.function},[t]:{duration:o.p.SLIDE_DURATION/1e3,ease:(0,r.A)(...o.p.SLIDE_EASING.args)}}}};var c=({anchor:e,anchorRef:t,anchorRect:n,getAnchorRect:r,fallbackReferenceElement:o})=>{let i=null;return e?i=e:!function(e){return!!e?.top}(t)?!function(e){return!!e?.current}(t)?t?i=t:n?i={getBoundingClientRect:()=>n}:r?i={getBoundingClientRect(){const e=r(o);return new window.DOMRect(e.x??e.left,e.y??e.top,e.width??e.right-e.left,e.height??e.bottom-e.top)}}:o&&(i=o.parentElement):i=t.current:i={getBoundingClientRect(){const e=t.top.getBoundingClientRect(),n=t.bottom.getBoundingClientRect();return new window.DOMRect(e.x,e.y,e.width,n.bottom-e.top)}},i??null},u=e=>null===e||Number.isNaN(e)?void 0:Math.round(e)},23720(e,t,n){"use strict";n.d(t,{j:()=>p});var r=n(26068),o=n(17690),i=n(65629),s=n(48538),a=n(74869),l=n(79675),c=n(19503),u=n(9361),d=n(28463),f=n(11856),p={};(0,a.s)(p,{ContentEditableControl:f.A,__experimentalPopoverLegacyPositionToPlacement:o.YK,ComponentsContext:s.aG,Tabs:r.Tabs,Menu:i.W,Badge:l.A,useDrag:r.useDrag,ValidatedInputControl:c.Q,ValidatedContentEditableControl:u.V,ValidatedTextareaControl:d.w})},98253(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(2376),o=n(13022),i=n(26068),s=n(5900),a=n(93236),l="components-resizable-box__handle",c="components-resizable-box__side-handle",u="components-resizable-box__corner-handle",d={top:(0,o.A)(l,c,"components-resizable-box__handle-top"),right:(0,o.A)(l,c,"components-resizable-box__handle-right"),bottom:(0,o.A)(l,c,"components-resizable-box__handle-bottom"),left:(0,o.A)(l,c,"components-resizable-box__handle-left"),topLeft:(0,o.A)(l,u,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:(0,o.A)(l,u,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:(0,o.A)(l,u,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:(0,o.A)(l,u,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},f={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},p={top:f,right:f,bottom:f,left:f,topLeft:f,topRight:f,bottomRight:f,bottomLeft:f};var h=(0,r.forwardRef)(function({className:e,children:t,showHandle:n=!0,__experimentalShowTooltip:r=!1,__experimentalTooltipProps:l={},...c},u){return(0,a.jsxs)(i.Resizable,{className:(0,o.A)("components-resizable-box__container",n&&"has-show-handle",e),handleComponent:Object.fromEntries(Object.keys(d).map(e=>[e,(0,a.jsx)("div",{tabIndex:-1},e)])),handleClasses:d,handleStyles:p,ref:u,...c,children:[t,r&&(0,a.jsx)(s.A,{...l})]})});h.displayName="ResizableBox";var g=h},5900(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(13022),o=n(2376),i=n(88838),s=n(98150),a=n(79083),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)})("6a3e579287",".f1c3c2f08c84bcca__root{box-sizing:border-box;inset:0;pointer-events:none;position:absolute}.dd094b49bf71dfd9__tooltip-wrapper{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity .12s linear}.d768357cc581321f__tooltip{background:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));border-radius:2px;box-sizing:border-box;color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;padding:4px 8px;position:relative}.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text{color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));display:block;font-size:13px;line-height:1.4;white-space:nowrap}");var f="f1c3c2f08c84bcca__root",p=()=>{};var h=(0,o.forwardRef)(function({as:e="div",axis:t,className:n,fadeTimeout:o=180,isVisible:c=!0,labelRef:u,onResize:d=p,position:h=a.l.bottom,showPx:g=!0,zIndex:m=1e3,...v},b){const{label:y,resizeListener:k}=(0,a.G)({axis:t,fadeTimeout:o,onResize:d,showPx:g,position:h});if(!c)return null;const x=(0,r.A)("components-resize-tooltip",f,n);return(0,l.jsxs)(i.Z,{"aria-hidden":"true",as:e,...v,className:x,ref:b,children:[k,(0,l.jsx)(s.A,{"aria-hidden":v["aria-hidden"],label:y,position:h,ref:u,zIndex:m})]})})},98150(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(13022),o=n(2376),i=n(18335),s=n(46936),a=n(79083),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)})("6a3e579287",".f1c3c2f08c84bcca__root{box-sizing:border-box;inset:0;pointer-events:none;position:absolute}.dd094b49bf71dfd9__tooltip-wrapper{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity .12s linear}.d768357cc581321f__tooltip{background:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));border-radius:2px;box-sizing:border-box;color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;padding:4px 8px;position:relative}.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text.a32e43dd68941abb__label-text{color:var(--wp-components-color-foreground-inverted,var(--wpds-color-background-surface-neutral,#fcfcfc));display:block;font-size:13px;line-height:1.4;white-space:nowrap}");var f="dd094b49bf71dfd9__tooltip-wrapper",p="d768357cc581321f__tooltip",h="a32e43dd68941abb__label-text";var g=(0,o.forwardRef)(function({label:e,position:t=a.l.corner,zIndex:n=1e3,...o},c){const u=!!e,d=t===a.l.bottom,g=t===a.l.corner;if(!u)return null;let m={opacity:u?1:void 0,zIndex:n},v={};return d&&(m={...m,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},v={transform:"translate(0, 100%)"}),g&&(m={...m,position:"absolute",top:4,right:(0,i.V8)()?void 0:4,left:(0,i.V8)()?4:void 0}),(0,l.jsx)("div",{"aria-hidden":"true",className:(0,r.A)("components-resizable-tooltip__tooltip-wrapper",f),ref:c,style:m,...o,children:(0,l.jsx)("div",{className:(0,r.A)("components-resizable-tooltip__tooltip",p),style:v,children:(0,l.jsx)(s.A,{as:"span",className:h,children:e})})})})},79083(e,t,n){"use strict";n.d(t,{G:()=>a,l:()=>s});var r=n(2376),o=n(19274),i=()=>{},s={bottom:"bottom",corner:"corner"};function a({axis:e,fadeTimeout:t=180,onResize:n=i,position:a=s.bottom,showPx:l=!1}){const[c,u]=(0,o.A)(),d=!!e,[f,p]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),{width:m,height:v}=u,b=(0,r.useRef)(v),y=(0,r.useRef)(m),k=(0,r.useRef)(void 0),x=(0,r.useCallback)(()=>{k.current&&window.clearTimeout(k.current),k.current=window.setTimeout(()=>{d||(p(!1),g(!1))},t)},[t,d]);(0,r.useEffect)(()=>{if(!(null!==m||null!==v))return;const e=m!==y.current,t=v!==b.current;if(e||t){if(m&&!y.current&&v&&!b.current)return y.current=m,void(b.current=v);e&&(p(!0),y.current=m),t&&(g(!0),b.current=v),n({width:m,height:v}),x()}},[m,v,n,x]);const w=function({axis:e,height:t,moveX:n=!1,moveY:r=!1,position:o=s.bottom,showPx:i=!1,width:a}){if(!n&&!r)return;if(o===s.corner)return`${a} x ${t}`;const l=i?" px":"";if(e){if("x"===e&&n)return`${a}${l}`;if("y"===e&&r)return`${t}${l}`}if(n&&r)return`${a} x ${t}`;if(n)return`${a}${l}`;if(r)return`${t}${l}`;return}({axis:e,height:v,moveX:f,moveY:h,position:a,showPx:l,width:m});return{label:w,resizeListener:c}}},75343(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(2376),o=0;function i(e){const t=document.scrollingElement||document.body;e&&(o=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=o)}var s=0;var a=function(){return(0,r.useEffect)(()=>(0===s&&i(!0),++s,()=>{1===s&&i(!1),--s}),[]),null}},23192(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(13022),o=n(41740),i=n(43730),s=n(18335),a=n(65995),l=n(20907),c=n(2376),u=n(66786),d=n(43192),f=n(16006),p=n(93331),h=n(78609),g=n(90882),m=n(93236),v="data-wp-hash";function b(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=b();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)y(e,n,r)}(document)),e.__wpStyleRuntime}function y(e,t,n){if(!e.head)return;const r=b();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${v}]`))if(n.getAttribute(v)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(v,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=b();n.styles.set(e,t);for(const r of n.documents.keys())y(r,e,t)})("77f847972d","._5e6152f7430df331__input input[type=search]::-webkit-search-cancel-button,._5e6152f7430df331__input input[type=search]::-webkit-search-decoration,._5e6152f7430df331__input input[type=search]::-webkit-search-results-button,._5e6152f7430df331__input input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}._9a856163f1b1aaae__icon:dir(ltr){transform:scaleX(-1)}");var k="_5e6152f7430df331__input",x="_9a856163f1b1aaae__icon";function w({searchRef:e,onChange:t,onClose:n}){n&&(0,u.A)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});return(0,m.jsx)(g.i,{variant:"control",children:(0,m.jsx)(d.A,{size:"small",icon:a.A,label:n?(0,s.__)("Close search"):(0,s.__)("Reset search"),onClick:n??(()=>{t(""),e.current?.focus()})})})}var _=(0,c.forwardRef)(function({__nextHasNoMarginBottom:e,__next40pxDefaultSize:t,className:n,onChange:a,value:u,label:d=(0,s.__)("Search"),placeholder:g=(0,s.__)("Search"),hideLabelFromVision:v=!0,onClose:b,size:y="default",...A},S){const{disabled:C,...E}=A,T=(0,c.useRef)(null),I=(0,o.A)(_,"components-search-control"),j=!!b||!!u;return(0,m.jsx)(f.Ay,{id:I,hideLabelFromVision:v,label:d,ref:(0,i.A)([T,S]),type:"search",size:y,className:(0,r.A)(k,"components-search-control",n),onChange:e=>a(e??""),autoComplete:"off",placeholder:g,value:u??"",prefix:(0,m.jsx)(h.R,{variant:"icon",children:(0,m.jsx)(p.A,{className:x,icon:l.A,fill:"currentColor"})}),suffix:j&&(0,m.jsx)(w,{searchRef:T,onChange:a,onClose:b}),...E})});_.displayName="SearchControl";var A=_},10402(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(13109),o=n(65673),i=n(96684),s=n(93236),a=()=>(0,s.jsx)(i.vt,{children:(0,s.jsx)(i.ff,{children:(0,s.jsx)(r.A,{icon:o.A,size:i.qO})})})},69919(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(41740),i=n(2376),s=n(1179),a=n(96684),l=n(10402),c=n(93236);function u({options:e}){return e.map(({id:e,label:t,value:n,...r},o)=>{const i=e||`${t}-${n}-${o}`;return(0,c.jsx)("option",{value:n,...r,children:t},i)})}var d=(0,i.forwardRef)(function(e,t){const{__nextHasNoMarginBottom:n,__next40pxDefaultSize:i,__next36pxDefaultSize:f,className:p,disabled:h=!1,help:g,hideLabelFromVision:m,id:v,label:b,multiple:y=!1,onChange:k,options:x=[],size:w="default",value:_,labelPosition:A="top",children:S,prefix:C,suffix:E,variant:T="default",...I}=e,j=function(e){const t=(0,o.A)(d);return e||`inspector-select-control-${t}`}(v),B=g?`${j}__help`:void 0;if(!x?.length&&!S)return null;const N=(0,r.A)("components-select-control",p);return(0,c.jsx)(s.Ay,{help:g,id:j,className:N,children:(0,c.jsx)(a.Xg,{disabled:h,hideLabelFromVision:m,id:j,isBorderless:"minimal"===T,label:b,size:w,suffix:E||!y&&(0,c.jsx)(l.A,{}),prefix:C,labelPosition:A,__unstableInputWidth:"minimal"===T?"auto":void 0,variant:T,children:(0,c.jsx)(a.l6,{...I,"aria-describedby":B,className:"components-select-control__input",disabled:h,id:j,multiple:y,onChange:t=>{if(e.multiple){const n=Array.from(t.target.options).filter(({selected:e})=>e).map(({value:e})=>e);return void e.onChange?.(n,{event:t})}e.onChange?.(t.target.value,{event:t})},ref:t,selectSize:w,value:_,variant:T,children:S||(0,c.jsx)(u,{options:x})})})})});d.displayName="SelectControl";var f=d},96684(e,t,n){"use strict";n.d(t,{Xg:()=>g,ff:()=>_,l6:()=>w,qO:()=>v,vt:()=>A});var r=n(76503),o=n(51505),i=n(91731),s=n(32868),a=n(17266),l=n(80359),c=n(90882),u=n(38500),d=n(65784);var f=({disabled:e})=>e?(0,o.AH)("color:",a.l.ui.textDisabled,";cursor:default;",""):"",p={name:"1lv1yo7",styles:"display:inline-flex"},h=({variant:e})=>"minimal"===e?p:"",g=(0,r.A)(d.A,{target:"e1mv6sxx3"})("color:",a.l.theme.foreground,";cursor:pointer;",f," ",h,";"),m=({multiple:e,selectSize:t="default"})=>{if(e)return;const n={default:{height:40,minHeight:40,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},compact:{height:32,minHeight:32,paddingTop:0,paddingBottom:0}},r=n[t]||n.default;return(0,o.AH)(r,"","")},v=18,b=({multiple:e,selectSize:t="default"})=>{const n={default:s.A.controlPaddingX,small:s.A.controlPaddingXSmall,compact:s.A.controlPaddingXSmall},r=n[t]||n.default;return(0,i.h)({paddingLeft:r,paddingRight:r+v,...e?{paddingTop:r,paddingBottom:r}:{}})},y=({multiple:e})=>({overflow:e?"auto":"hidden"}),k={name:"n1jncc",styles:"field-sizing:content"},x=({variant:e})=>"minimal"===e?k:"",w=(0,r.A)("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:currentColor;cursor:inherit;display:block;font-family:inherit;line-height:1.3;margin:0;width:100%;max-width:none;white-space:nowrap;text-overflow:ellipsis;",u.TA,";",m,";",b,";",y," ",x,";}"),_=(0,r.A)("div",{target:"e1mv6sxx1"})("margin-inline-end:",(0,l.x)(-1),";line-height:0;path{fill:currentColor;}"),A=(0,r.A)(c.A,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",(0,i.h)({right:0}),";")},73770(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(93236);var o=function(e){const{shortcut:t,className:n}=e;if(!t)return null;let o,i;return"string"==typeof t&&(o=t),null!==t&&"object"==typeof t&&(o=t.display,i=t.ariaLabel),(0,r.jsx)("span",{className:n,"aria-label":i,children:o})}},74769(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(43730),i=n(26930),s=n(23585),a=n(93236);var l=(0,r.forwardRef)(function(e,t){const{name:n,fillProps:l={},as:c,children:u,...d}=e,f=(0,r.useContext)(s.A),p=(0,r.useRef)({}),h=(0,r.useRef)(null),g=(0,r.useRef)(l);return(0,r.useLayoutEffect)(()=>{g.current=l},[l]),(0,r.useLayoutEffect)(()=>{const e=p.current;return f.registerSlot(n,{type:"portal",instance:e,ref:h,fillProps:g.current}),()=>f.unregisterSlot(n,e)},[f,n]),(0,r.useLayoutEffect)(()=>{f.updateSlot(n,{type:"portal",instance:p.current,ref:h,fillProps:g.current})}),(0,a.jsx)(i.A,{as:c,ref:(0,o.A)([t,h]),...d})})},39186(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(23585);function i(e){return e?.length}function s(e){const t=function(e,t,n){const o=(0,r.useMemo)(()=>n=>e.subscribe(t,n),[e,t]),i=()=>n(e.get(t));return(0,r.useSyncExternalStore)(o,i,i)}((0,r.useContext)(o.A).fills,e,i);return(0,r.useMemo)(()=>void 0!==t?Array.from({length:t}):void 0,[t])}},67399(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(8178),i=n(23585);function s(e){const t=(0,r.useContext)(i.A),n=(0,o.A)(t.slots,e);let s;return n&&"portal"===n.type&&(s=n.ref),{ref:s}}},23585(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(76032),o=n(2376),i=n(90531),s={slots:(0,r.u)(),fills:(0,r.u)(),registerSlot:()=>{!0===globalThis.SCRIPT_DEBUG&&(0,i.A)("Components must be wrapped within `SlotFillProvider`. See https://developer.wordpress.org/block-editor/components/slot-fill/")},unregisterSlot:()=>{},updateSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},updateFill:()=>{},isDefault:!0},a=(0,o.createContext)(s);a.displayName="SlotFillContext";var l=a},51203(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(8178),o=n(2376),i=n(39546),s=n(23585),a=n(25787),l=n(93236);function c({name:e,children:t}){const n=(0,o.useContext)(s.A),c=(0,o.useRef)({}),u=(0,o.useRef)(t);(0,o.useLayoutEffect)(()=>{u.current=t},[t]),(0,o.useLayoutEffect)(()=>{const t=c.current;return n.registerFill(e,{instance:t,children:u.current}),()=>n.unregisterFill(e,t)},[n,e]),(0,o.useLayoutEffect)(()=>{n.updateFill(e,{instance:c.current,children:t})},[n,e,t]);const d=(0,r.A)(n.slots,e);if(!d)return null;if("children"===d.type)return null;const f=d.ref.current;if(!f)return null;const p="function"==typeof t?t(d.fillProps??{}):t;return(0,i.d5)((0,l.jsx)(a.A,{document:f.ownerDocument,children:p}),f)}},63684(e,t,n){"use strict";n.d(t,{DX:()=>u,Kq:()=>d,QJ:()=>f});var r=n(2376),o=n(51203),i=n(29204),s=n(74769),a=n(86195),l=n(23585),c=n(93236),u=(0,r.forwardRef)((e,t)=>{const{bubblesVirtually:n,...r}=e;return n?(0,c.jsx)(s.A,{...r,ref:t}):(0,c.jsx)(i.A,{...r})});function d({children:e,passthrough:t=!1}){return!(0,r.useContext)(l.A).isDefault&&t?(0,c.jsx)(c.Fragment,{children:e}):(0,c.jsx)(a.A,{children:e})}function f(e){const t="symbol"==typeof e?e.description:e,n=t=>(0,c.jsx)(o.A,{name:e,...t});n.displayName=`${t}Fill`;const i=(0,r.forwardRef)((t,n)=>(0,c.jsx)(u,{name:e,ref:n,...t}));return i.displayName=`${t}Slot`,i.__unstableName=e,{name:e,Fill:n,Slot:i}}u.displayName="Slot",d.displayName="SlotFillProvider"},86195(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(76032),o=n(2376),i=n(3007),s=n(23585),a=n(93236);function l(){const e=(0,r.u)(),t=(0,r.u)();return{slots:e,fills:t,registerSlot:function(t,n){e.set(t,n)},unregisterSlot:function(t,n){const r=e.get(t);r&&r.instance===n&&e.delete(t)},updateSlot:function(t,n){if("portal"!==n.type)return;const r=e.get(t);r&&"portal"===r.type&&r.instance===n.instance&&((0,i.hw)(r.fillProps,n.fillProps)||e.set(t,n))},registerFill:function(e,n){t.set(e,[...t.get(e)||[],n])},unregisterFill:function(e,n){const r=t.get(e);r&&t.set(e,r.filter(e=>e.instance!==n))},updateFill:function(e,n){const r=t.get(e);if(!r)return;const o=r.find(e=>e.instance===n.instance);o&&o.children!==n.children&&t.set(e,r.map(e=>e.instance===n.instance?n:e))}}}var c=function({children:e}){const[t]=(0,o.useState)(l);return(0,a.jsx)(s.A.Provider,{value:t,children:e})}},29204(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(8178),o=n(2376),i=n(3148),s=n(23585),a=n(93236);function l(e){return"function"==typeof e}var c=function(e){const{name:t,children:n,fillProps:c={}}=e,u=(0,o.useContext)(s.A),d=(0,o.useRef)({});(0,o.useLayoutEffect)(()=>{const e=d.current;return u.registerSlot(t,{type:"children",instance:e}),()=>u.unregisterSlot(t,e)},[u,t]);let f=(0,r.A)(u.fills,t)??[];const p=(0,r.A)(u.slots,t);p&&p.instance===d.current||(f=[]);const h=f.map(e=>function(e){return o.Children.map(e,(e,t)=>{if(!e||"string"==typeof e)return e;let n=t;return"object"==typeof e&&"key"in e&&e?.key&&(n=e.key),(0,o.cloneElement)(e,{key:n})})}(l(e.children)?e.children(c):e.children)).filter(e=>!(0,i.s)(e));return(0,a.jsx)(a.Fragment,{children:l(n)?n(h):h})}},12957(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(9569),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.q)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"Spacer")},9569(e,t,n){"use strict";n.d(t,{q:()=>d});var r=n(13022),o=n(52898),i=n(80359),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("f61ad86e00","._91de5852bdb7a4b8__spacer{--wp-components-spacer-margin:initial;--wp-components-spacer-margin-block-start:initial;--wp-components-spacer-margin-block-end:initial;--wp-components-spacer-margin-inline-start:initial;--wp-components-spacer-margin-inline-end:initial;--wp-components-spacer-padding:initial;--wp-components-spacer-padding-block-start:initial;--wp-components-spacer-padding-block-end:initial;--wp-components-spacer-padding-inline-start:initial;--wp-components-spacer-padding-inline-end:initial;margin:var(--wp-components-spacer-margin);margin-block-end:var(--wp-components-spacer-margin-block-end,var(--wp-components-spacer-margin));margin-block-start:var(--wp-components-spacer-margin-block-start,var(--wp-components-spacer-margin));margin-inline-end:var(--wp-components-spacer-margin-inline-end,var(--wp-components-spacer-margin));margin-inline-start:var(--wp-components-spacer-margin-inline-start,var(--wp-components-spacer-margin));padding:var(--wp-components-spacer-padding);padding-block-end:var(--wp-components-spacer-padding-block-end,var(--wp-components-spacer-padding));padding-block-start:var(--wp-components-spacer-padding-block-start,var(--wp-components-spacer-padding));padding-inline-end:var(--wp-components-spacer-padding-inline-end,var(--wp-components-spacer-padding));padding-inline-start:var(--wp-components-spacer-padding-inline-start,var(--wp-components-spacer-padding))}");var c="_91de5852bdb7a4b8__spacer";function u(e){return null!=e}function d(e){const{className:t,margin:n,marginBottom:s=2,marginLeft:a,marginRight:l,marginTop:d,marginX:f,marginY:p,padding:h,paddingBottom:g,paddingLeft:m,paddingRight:v,paddingTop:b,paddingX:y,paddingY:k,style:x,...w}=(0,o.A)(e,"Spacer"),_={};u(n)&&(_["--wp-components-spacer-margin"]=(0,i.x)(n)),u(p)&&(_["--wp-components-spacer-margin-block-start"]=(0,i.x)(p),_["--wp-components-spacer-margin-block-end"]=(0,i.x)(p)),u(f)&&(_["--wp-components-spacer-margin-inline-start"]=(0,i.x)(f),_["--wp-components-spacer-margin-inline-end"]=(0,i.x)(f)),u(d)&&(_["--wp-components-spacer-margin-block-start"]=(0,i.x)(d)),u(s)&&(_["--wp-components-spacer-margin-block-end"]=(0,i.x)(s)),u(a)&&(_["--wp-components-spacer-margin-inline-start"]=(0,i.x)(a)),u(l)&&(_["--wp-components-spacer-margin-inline-end"]=(0,i.x)(l)),u(h)&&(_["--wp-components-spacer-padding"]=(0,i.x)(h)),u(k)&&(_["--wp-components-spacer-padding-block-start"]=(0,i.x)(k),_["--wp-components-spacer-padding-block-end"]=(0,i.x)(k)),u(y)&&(_["--wp-components-spacer-padding-inline-start"]=(0,i.x)(y),_["--wp-components-spacer-padding-inline-end"]=(0,i.x)(y)),u(b)&&(_["--wp-components-spacer-padding-block-start"]=(0,i.x)(b)),u(g)&&(_["--wp-components-spacer-padding-block-end"]=(0,i.x)(g)),u(m)&&(_["--wp-components-spacer-padding-inline-start"]=(0,i.x)(m)),u(v)&&(_["--wp-components-spacer-padding-inline-end"]=(0,i.x)(v));const A={..._,...x};return{...w,className:(0,r.A)(c,t),style:A}}},59217(e,t,n){"use strict";n.d(t,{Ay:()=>p});var r=n(13022),o=n(2376),i=n(93236),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("a4ac9b380a","._5223dcef142ddf2a__spinner{background-color:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));display:inline-block;height:16px;margin:5px 11px 0;opacity:1;overflow:visible;position:relative;width:16px}._00e30fe487ccb5cc__track,.b33a3d348ed141fd__indicator{fill:transparent;stroke-width:1.5px}._00e30fe487ccb5cc__track{stroke:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb))}.b33a3d348ed141fd__indicator{stroke:currentColor;stroke-linecap:round;animation:e5c099d0667bd442__spin 1.4s linear infinite both;transform-origin:50% 50%}@keyframes e5c099d0667bd442__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}");var c="_5223dcef142ddf2a__spinner",u="_00e30fe487ccb5cc__track",d="b33a3d348ed141fd__indicator";var f=(0,o.forwardRef)(function({className:e,...t},n){return(0,i.jsxs)("svg",{className:(0,r.A)("components-spinner",c,e),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...t,ref:n,children:[(0,i.jsx)("circle",{className:u,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,i.jsx)("path",{className:d,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})});f.displayName="Spinner";var p=f},25787(e,t,n){"use strict";n.d(t,{A:()=>g,N:()=>h});var r=n(26960),o=n(84939),i=n(75554),s=n(2376),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&d(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function d(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r);return()=>{const n=t.documents.get(e);void 0!==n&&(n<=1?t.documents.delete(e):t.documents.set(e,n-1))}}var f=new Set,p=new WeakMap;function h(e){const{children:t,document:n}=e;if((0,s.useLayoutEffect)(()=>{if(n)return d(n)},[n]),!n)return null;const l=(e=>{if(p.has(e))return p.get(e);let t=i.A().replace(/[0-9]/g,"");for(;f.has(t);)t=i.A().replace(/[0-9]/g,"");f.add(t);const n=(0,o.A)({container:e,key:t});return p.set(e,n),n})(n.head);return(0,a.jsx)(r.C,{value:l,children:t})}var g=h},13533(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(41740),o=n(2376),i=n(1179),s=n(93236);var a=(0,o.forwardRef)(function(e,t){const{__nextHasNoMarginBottom:n,__next40pxDefaultSize:__,label:o,hideLabelFromVision:l,value:c,help:u,id:d,className:f,onChange:p,type:h="text",...g}=e,m=(0,r.A)(a,"inspector-text-control",d);return(0,s.jsx)(i.Ay,{label:o,hideLabelFromVision:l,id:m,help:u,className:f,children:(0,s.jsx)("input",{className:"components-text-control__input",type:h,id:m,value:c,onChange:e=>p(e.target.value),"aria-describedby":u?m+"__help":void 0,ref:t,...g})})});a.displayName="TextControl";var l=a},24330(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(95596),o=n(91415),i=n(93236),s=e=>{const{text:t="",highlight:n=""}=e,s=n.trim();if(!s)return(0,i.jsx)(i.Fragment,{children:t});const a=new RegExp(`(${(0,o.N)(s)})`,"gi");return(0,r.A)(t.replace(a,"<mark>$&</mark>"),{mark:(0,i.jsx)("mark",{})})};s.displayName="TextHighlight";var a=s},46936(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(78182),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.A)(e);return(0,s.jsx)(o.A,{as:"span",...n,ref:t})},"Text")},2724(e,t,n){"use strict";n.d(t,{k:()=>i});var r=n(80359),o=n(32868);function i(e,t){if(t)return t;if(!e)return;let n=`calc(${o.A.controlHeight} + ${(0,r.x)(2)})`;switch(e){case"large":n=`calc(${o.A.controlHeightLarge} + ${(0,r.x)(2)})`;break;case"small":n=`calc(${o.A.controlHeightSmall} + ${(0,r.x)(2)})`;break;case"xSmall":n=`calc(${o.A.controlHeightXSmall} + ${(0,r.x)(2)})`}return n}},78182(e,t,n){"use strict";n.d(t,{A:()=>v});var r=n(51505),o=n(2376),i=n(39179),s=n(52898),a=n(39063),l=n(41979),c=n(16557),u=n(81398),d=n(35350),f=n(32868),p=n(17266),h=n(2724),g=n(86447);var m={name:"50zrmy",styles:"text-transform:uppercase"};function v(e){const{adjustLineHeightForInnerControls:t,align:n,children:v,className:b,color:y,ellipsizeMode:k,isDestructive:x=!1,display:w,highlightEscape:_=!1,highlightCaseSensitive:A=!1,highlightWords:S,highlightSanitize:C,isBlock:E=!1,letterSpacing:T,lineHeight:I,optimizeReadabilityFor:j,size:B,truncate:N=!1,upperCase:M=!1,variant:R,weight:O=f.A.fontWeight,...L}=(0,s.A)(e,"Text");let P=v;const D=Array.isArray(S),z="caption"===B;if(D){if("string"!=typeof v)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");P=(0,u.Z)({autoEscape:_,children:v,caseSensitive:A,searchWords:S,sanitize:C})}const V=(0,g.l)();let F;!0===N&&(F="auto"),!1===N&&(F="none");const $={...L,className:(0,o.useMemo)(()=>{const e=(0,h.k)(t,I),o=(0,r.AH)({color:y,display:w,fontSize:(0,d.ny)(B),fontWeight:O,lineHeight:e,letterSpacing:T,textAlign:n},"",""),i=m;let s=null;if(j){s="dark"===(0,l.X1)(j)?(0,r.AH)({color:p.l.gray[900]},"",""):(0,r.AH)({color:p.l.white},"","")}const a=(0,r.AH)(c.Text,o,s,x&&c.destructive,!!D&&c.highlighterText,E&&c.block,z&&c.muted,R&&c[R],M&&i,"","");return V(a,b)},[t,n,b,y,V,w,E,z,x,D,T,I,j,B,M,R,O]),children:v,ellipsizeMode:k||F},H=(0,a.A)($);return!N&&Array.isArray(v)&&(P=o.Children.map(v,e=>{if("object"!=typeof e||null===e||!("props"in e))return e;return(0,i.SZ)(e,["Link"])?(0,o.cloneElement)(e,{size:e.props.size||"inherit"}):e})),{...H,children:N?H.children:P}}},16557(e,t,n){"use strict";n.r(t),n.d(t,{Text:()=>s,block:()=>a,destructive:()=>c,highlighterText:()=>d,muted:()=>u,positive:()=>l,upperCase:()=>f});var r=n(51505),o=n(32868),i=n(17266);var s=(0,r.AH)("color:",i.l.theme.foreground,";line-height:",o.A.fontLineHeightBase,";margin:0;text-wrap:pretty;",""),a={name:"4zleql",styles:"display:block"},l=(0,r.AH)("color:",i.l.alert.green,";",""),c=(0,r.AH)("color:",i.l.alert.red,";",""),u=(0,r.AH)("color:",i.l.theme.gray[700],";",""),d=(0,r.AH)("mark{background:",i.l.alert.yellow,";border-radius:",o.A.radiusSmall,";box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),f={name:"50zrmy",styles:"text-transform:uppercase"}},81398(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(1636),o=n(91626),i=n(2376),s=(0,r.A)(e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t});function a({activeClassName:e="",activeIndex:t=-1,activeStyle:n,autoEscape:r,caseSensitive:a=!1,children:l,findChunks:c,highlightClassName:u="",highlightStyle:d={},highlightTag:f="mark",sanitize:p,searchWords:h=[],unhighlightClassName:g="",unhighlightStyle:m}){if(!l)return null;if("string"!=typeof l)return l;const v=l,b=(0,o.findAll)({autoEscape:r,caseSensitive:a,findChunks:c,sanitize:p,searchWords:h,textToHighlight:v}),y=f;let k,x=-1,w="";return b.map((r,o)=>{const l=v.substr(r.start,r.end-r.start);if(r.highlight){let r;x++,r="object"==typeof u?a?u[l]:(u=s(u))[l.toLowerCase()]:u;const c=x===+t;w=`${r} ${c?e:""}`,k=!0===c&&null!==n?Object.assign({},d,n):d;const f={children:l,className:w,key:o,style:k};return"string"!=typeof y&&(f.highlightIndex=x),(0,i.createElement)(y,f)}return(0,i.createElement)("span",{children:l,className:g,key:o,style:m})})}},58438(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(13022),o=n(41740),i=n(2376),s=n(1179),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)})("dffbabc16f",".aa08a6e706634925__textarea{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));display:block;font-family:-apple-system,system-ui,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;resize:vertical;width:100%}@media (min-width:600px){.aa08a6e706634925__textarea{font-size:13px;line-height:normal}}.aa08a6e706634925__textarea:hover:not(:disabled,[aria-disabled=true],[type=checkbox]){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}.aa08a6e706634925__textarea:focus{border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);box-shadow:none;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}.aa08a6e706634925__textarea::placeholder{color:rgba(30,30,30,.62)}.aa08a6e706634925__textarea{line-height:20px;min-height:38px;padding:9px 11px}.aa08a6e706634925__textarea:disabled{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}.aa08a6e706634925__textarea::-webkit-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.aa08a6e706634925__textarea::-moz-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.aa08a6e706634925__textarea:-ms-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 38%)}.is-dark-theme .aa08a6e706634925__textarea::-webkit-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.is-dark-theme .aa08a6e706634925__textarea::-moz-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.is-dark-theme .aa08a6e706634925__textarea:-ms-input-placeholder{color:color-mix(in srgb,var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff)),transparent 35%)}.aa08a6e706634925__textarea:disabled::placeholder{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}");var d="aa08a6e706634925__textarea";var f=(0,i.forwardRef)(function(e,t){const{__nextHasNoMarginBottom:n,label:i,hideLabelFromVision:l,value:c,help:u,onChange:p,rows:h=4,className:g,...m}=e,v=`inspector-textarea-control-${(0,o.A)(f)}`,b=(0,r.A)("components-textarea-control",g);return(0,a.jsx)(s.Ay,{label:i,hideLabelFromVision:l,id:v,help:u,className:b,children:(0,a.jsx)("textarea",{className:(0,r.A)("components-textarea-control__input",d),id:v,rows:h,onChange:e=>p(e.target.value),"aria-describedby":u?v+"__help":void 0,value:c,ref:t,...m})})});f.displayName="TextareaControl";var p=f},69677(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(13109),o=n(86070),i=n(93236);var s=function(e){const{children:t}=e;return(0,i.jsxs)("div",{className:"components-tip",children:[(0,i.jsx)(r.A,{icon:o.A}),(0,i.jsx)("p",{children:t})]})}},91892(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(2376),i=n(41740),s=n(13298),a=n(3385),l=n(1179),c=n(83832),u=n(93236);var d=(0,o.forwardRef)(function({label:e,checked:t,help:n,className:o,onChange:f,disabled:p,__nextHasNoMarginBottom:h,...g},m){const v=`inspector-toggle-control-${(0,i.A)(d)}`;let b,y;return n&&("function"==typeof n?void 0!==t&&(y=n(t)):y=n,y&&(b=v+"__help")),(0,u.jsx)(l.Ay,{id:v,help:y&&(0,u.jsx)("span",{className:"components-toggle-control__help",children:y}),className:(0,r.A)("components-toggle-control",o),children:(0,u.jsxs)(c.A,{justify:"flex-start",spacing:2,children:[(0,u.jsx)(a.Ay,{id:v,checked:t,onChange:function(e){f(e.target.checked)},"aria-describedby":b,disabled:p,ref:m,...g}),(0,u.jsx)(s.A,{as:"label",htmlFor:v,className:(0,r.A)("components-toggle-control__label",{"is-disabled":p}),children:e})]})})});d.displayName="ToggleControl";var f=d},36683(e,t,n){"use strict";n.d(t,{A:()=>s,H:()=>i});var r=n(2376),o=(0,r.createContext)(void 0);o.displayName="ToggleGroupControlContext";var i=(e="ToggleGroupControlOptionBase")=>{const t=(0,r.useContext)(o);if(!t)throw new Error(`${e} can only be rendered inside ToggleGroupControl.`);return t},s=o},64476(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(13022),o=n(46450),i=n(41740),s=n(2376),a=n(39179),l=n(52898),c=n(36683),u=n(17747),d=n(93236),f="data-wp-hash";function p(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=p();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)h(e,n,r)}(document)),e.__wpStyleRuntime}function h(e,t,n){if(!e.head)return;const r=p();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${f}]`))if(n.getAttribute(f)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(f,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=p();n.styles.set(e,t);for(const r of n.documents.keys())h(r,e,t)})("94533a674c","._1dec843460a3c9d5__label{display:inline-flex;max-width:100%;min-width:0;position:relative}._50ddec5669c9d4a6__label-block{flex:1}._1563c8aa5e21d063__button{fill:currentColor;align-items:center;appearance:none;background:transparent;border:none;border-radius:var(--wpds-border-radius-xs,1px);color:var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));cursor:var(--wpds-cursor-control,pointer);display:flex;font-family:inherit;height:100%;justify-content:center;line-height:1;outline:none;padding:0 12px;position:relative;text-align:center}@media not (prefers-reduced-motion){._1563c8aa5e21d063__button{transition:color .16s linear,font-weight 60ms linear}}._1563c8aa5e21d063__button{user-select:none;width:100%;z-index:2}._1563c8aa5e21d063__button::-moz-focus-inner{border:0}._1563c8aa5e21d063__button[aria-disabled=true],._1563c8aa5e21d063__button[disabled]{cursor:default;opacity:.4}._1563c8aa5e21d063__button:hover:not([disabled]):not([aria-disabled=true]){color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e))}.e1b6a1f76b7eb2bb__is-deselectable:focus{outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}.e1b6a1f76b7eb2bb__is-deselectable:focus[aria-pressed=false]{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));box-shadow:0 0 0 2px var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff))}._407216dd3e301287__is-icon{aspect-ratio:1;height:38px;padding:0}._617c0f0a1c161590__is-pressed{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-weight:var(--wpds-typography-font-weight-emphasis,600)}._2850882d974e5419__button-content{display:flex;font-size:var(--wpds-typography-font-size-md,13px);line-height:1}");var g="_1dec843460a3c9d5__label",m="_50ddec5669c9d4a6__label-block",v="_1563c8aa5e21d063__button",b="e1b6a1f76b7eb2bb__is-deselectable",y="_407216dd3e301287__is-icon",k="_617c0f0a1c161590__is-pressed",x="_2850882d974e5419__button-content",w=({showTooltip:e,text:t,children:n})=>e&&t?(0,d.jsx)(u.Ay,{text:t,placement:"top",children:n}):(0,d.jsx)(d.Fragment,{children:n});var _=(0,a.KZ)(function e(t,n){const a=(0,c.H)(),u=(0,i.A)(e,a.baseId||"toggle-group-control-option-base"),f=(0,l.A)({...t,id:u},"ToggleGroupControlOptionBase"),{isBlock:p=!1,isDeselectable:h=!1}=a,{className:_,isIcon:A=!1,value:S,children:C,showTooltip:E=!1,disabled:T,...I}=f,j=Boolean(a.disabled||T),B=a.value===S,N=(0,r.A)(g,p&&m),M=(0,r.A)(v,{[b]:h,[y]:A,[k]:B},_),R={...I,className:M,"data-value":S,ref:n},O=(0,s.useRef)(null);return(0,s.useLayoutEffect)(()=>{B&&O.current&&a.setSelectedElement(O.current)},[B,a]),(0,d.jsx)("div",{ref:O,className:N,children:(0,d.jsx)(w,{showTooltip:E,text:I["aria-label"],children:h?(0,d.jsx)("button",{...R,disabled:j,"aria-pressed":B,type:"button",onClick:()=>{h&&B?a.setValue(void 0):a.setValue(S)},children:(0,d.jsx)("div",{className:x,children:C})}):(0,d.jsx)(o.s,{disabled:T,onFocusVisible:()=>{(null===a.value||""===a.value)&&!a.activeItemIsNotFirstItem?.()||a.setValue(S)},render:(0,d.jsx)("button",{type:"button",...R}),value:S,children:(0,d.jsx)("div",{className:x,children:C})})})})},"ToggleGroupControlOptionBase"),A=_},38120(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(64476),i=n(36683),s=n(93331),a=n(93236);var l=(0,r.forwardRef)(function(e,t){(0,i.H)("ToggleGroupControlOptionIcon");const{icon:n,label:r,...l}=e;return(0,a.jsx)(o.A,{...l,isIcon:!0,"aria-label":r,showTooltip:!0,ref:t,children:(0,a.jsx)(s.A,{icon:n})})});l.displayName="ToggleGroupControlOptionIcon";var c=l},50370(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(64476),i=n(36683),s=n(93236);var a=(0,r.forwardRef)(function(e,t){(0,i.H)("ToggleGroupControlOption");const{label:n,...r}=e,a=r["aria-label"]||n;return(0,s.jsx)(o.A,{...r,"aria-label":a,ref:t,children:n})});a.displayName="ToggleGroupControlOption";var l=a},11522(e,t,n){"use strict";n.d(t,{i:()=>u});var r=n(41740),o=n(2376),i=n(26930),s=n(16624),a=n(36683),l=n(34438),c=n(93236);var u=(0,o.forwardRef)(function({children:e,isAdaptiveWidth:t,label:n,onChange:d,value:f,id:p,setSelectedElement:h,disabled:g,...m},v){const b=(0,r.A)(u,"toggle-group-control-as-button-group"),y=p||b,{value:k,defaultValue:x}=(0,l.q)(f),[w,_]=(0,s.j)({defaultValue:x,value:k,onChange:d}),A=(0,o.useMemo)(()=>({baseId:y,value:w,setValue:_,isBlock:!t,isDeselectable:!0,setSelectedElement:h,disabled:Boolean(g)}),[y,w,_,t,h,g]);return(0,c.jsx)(a.A.Provider,{value:A,children:(0,c.jsx)(i.A,{"aria-label":n,...m,ref:v,role:"group",id:y,"aria-disabled":g||void 0,children:e})})});u.displayName="ToggleGroupControlAsButtonGroup"},84851(e,t,n){"use strict";n.d(t,{v:()=>p});var r=n(45934),o=n(11548),i=n(89854),s=n(41740),a=n(2376),l=n(18335),c=n(26930),u=n(36683),d=n(34438),f=n(93236);var p=(0,a.forwardRef)(function({children:e,isAdaptiveWidth:t,label:n,onChange:h,value:g,id:m,setSelectedElement:v,disabled:b,...y},k){const x=(0,s.A)(p,"toggle-group-control-as-radio-group"),w=m||x,{value:_,defaultValue:A}=(0,d.q)(g),S=h?e=>{h(e??void 0)}:void 0,C=i.s({defaultValue:A,value:_,setValue:S,rtl:(0,l.V8)()}),E=r.O$(C,"value"),T=C.setValue;(0,a.useEffect)(()=>{""===E&&C.setActiveId(void 0)},[C,E]);const I=(0,a.useMemo)(()=>({activeItemIsNotFirstItem:()=>C.getState().activeId!==C.first(),baseId:w,isBlock:!t,value:E,setValue:T,setSelectedElement:v,disabled:Boolean(b)}),[w,t,C,E,v,T,b]);return(0,f.jsx)(u.A.Provider,{value:I,children:(0,f.jsx)(o.z,{store:C,"aria-label":n,render:(0,f.jsx)(c.A,{}),...y,id:w,ref:k,disabled:b||void 0,children:e})})});p.displayName="ToggleGroupControlAsRadioGroup"},82600(e,t,n){"use strict";n.d(t,{A:()=>w});var r=n(13022),o=n(2376),i=n(43730),s=n(39179),a=n(52898),l=n(1179),c=n(93203),u=n(84851),d=n(11522),f=n(34984),p=n(81450),h=n(93236),g="data-wp-hash";function m(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=m();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)v(e,n,r)}(document)),e.__wpStyleRuntime}function v(e,t,n){if(!e.head)return;const r=m();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${g}]`))if(n.getAttribute(g)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(g,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=m();n.styles.set(e,t);for(const r of n.documents.keys())v(r,e,t)})("86a73788d7",'.f3fd102dd2f0e90e__toggle-group-control{background:var(--wp-components-color-background,var(--wpds-color-background-surface-neutral-strong,#fff));border:1px solid transparent;border-radius:var(--wpds-border-radius-sm,2px);display:inline-flex;height:40px;min-width:0;position:relative}@media not (prefers-reduced-motion){.f3fd102dd2f0e90e__toggle-group-control[data-indicator-animated]:before{transition-duration:.2s;transition-property:transform,border-radius;transition-timing-function:ease-out}}.f3fd102dd2f0e90e__toggle-group-control:before{background:var(--wp-components-color-gray-100,var(--wpds-color-background-surface-neutral,#fcfcfc));border:1px solid var(--wp-components-color-gray-700,var(--wpds-color-foreground-content-neutral-weak,#707070));border-radius:var(--wpds-border-radius-sm,2px);content:"";height:calc(var(--selected-height, 0)*1px + 2px);left:-2px;opacity:min(1,max(0,var(--selected-width,0),var(--selected-height,0)));outline:2px solid transparent;outline-offset:-3px;pointer-events:none;position:absolute;top:-1px;transform:translateX(calc(var(--selected-left, 0)*1px));width:calc(var(--selected-width, 0)*1px + 2px)}.f3fd102dd2f0e90e__toggle-group-control[aria-disabled=true]:before{opacity:calc(min(1, max(0, var(--selected-width, 0), var(--selected-height, 0))) * .4)}._1344586004ce6119__has-border{border-color:var(--wp-components-color-gray-300,var(--wpds-color-stroke-surface-neutral,#dbdbdb))}.aa98fad5b5d333be__has-enclosing-borders:hover:not([aria-disabled=true]){border-color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d))}.aa98fad5b5d333be__has-enclosing-borders:focus-within{outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px));z-index:1}._4068eff8d72c19b3__is-block{display:flex;width:100%}');var b="f3fd102dd2f0e90e__toggle-group-control",y="_1344586004ce6119__has-border",k="aa98fad5b5d333be__has-enclosing-borders",x="_4068eff8d72c19b3__is-block";var w=(0,s.KZ)(function(e,t){const{__nextHasNoMarginBottom:n,size:s,__next40pxDefaultSize:g,className:m,isAdaptiveWidth:v=!1,isBlock:w=!1,isDeselectable:_=!1,disabled:A=!1,id:S,label:C,hideLabelFromVision:E=!1,help:T,onChange:I,value:j,children:B,...N}=(0,a.A)(e,"ToggleGroupControl"),{baseControlProps:M,controlProps:R}=(0,c.Y)({id:S,help:T,label:C,hideLabelFromVision:E}),[O,L]=(0,o.useState)(),[P,D]=(0,o.useState)(),z=(0,i.A)([D,t]),V=(0,f.ec)(null!=j?O:void 0);(0,p.M)(P,V,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:e=>"::before"===e.pseudoElement,roundRect:!1});const F=(0,r.A)(b,{[x]:w,[y]:w&&!_,[k]:!_},m),$=_?d.i:u.v;return(0,h.jsx)(l.Ay,{...M,children:(0,h.jsx)($,{...N,...R,setSelectedElement:L,className:F,isAdaptiveWidth:v,label:C,onChange:I,ref:z,value:j,disabled:A,children:B})})},"ToggleGroupControl")},34438(e,t,n){"use strict";n.d(t,{q:()=>i});var r=n(15766),o=n(2376);function i(e){const t=(0,o.useRef)(!0),n=(0,r.A)(e),i=(0,o.useRef)(!1);(0,o.useEffect)(()=>{t.current&&(t.current=!1)},[]);const s=i.current||!t.current&&n!==e;return(0,o.useEffect)(()=>{i.current=s},[s]),s?{value:e??"",defaultValue:void 0}:{value:void 0,defaultValue:e}}},54646(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(13022),o=n(2376),i=n(43192),s=n(39971),a=n(18817),l=n(25498),c=n(93236);var u=(0,o.forwardRef)(function(e,t){const{children:n,className:u,containerClassName:d,extraProps:f,isActive:p,title:h,...g}=function({isDisabled:e,...t}){return{disabled:e,...t}}(e);return(0,o.useContext)(a.A)?(0,c.jsx)(s.A,{className:(0,r.A)("components-toolbar-button",u),...f,...g,ref:t,children:e=>(0,c.jsx)(i.A,{size:"compact",label:h,isPressed:p,...e,children:n})}):(0,c.jsx)(l.A,{className:d,children:(0,c.jsx)(i.A,{ref:t,icon:g.icon,size:"compact",label:h,shortcut:g.shortcut,"data-subscript":g.subscript,onClick:e=>{e.stopPropagation(),g.onClick&&g.onClick(e)},className:(0,r.A)("components-toolbar__control",u),isPressed:p,accessibleWhenDisabled:!0,"data-toolbar-item":!0,...f,...g,children:n})})});u.displayName="ToolbarButton";var d=u},25498(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(93236),o=({children:e,className:t})=>(0,r.jsx)("div",{className:t,children:e})},18817(e,t,n){"use strict";n.d(t,{A:()=>o});var r=(0,n(2376).createContext)(void 0);r.displayName="ToolbarContext";var o=r},70937(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(39971),i=n(18817),s=n(3443),a=n(93236);var l=(0,r.forwardRef)(function(e,t){return(0,r.useContext)(i.A)?(0,a.jsx)(o.A,{ref:t,...e.toggleProps,children:t=>(0,a.jsx)(s.A,{...e,popoverProps:{...e.popoverProps},toggleProps:t})}):(0,a.jsx)(s.A,{...e})});l.displayName="ToolbarDropdownMenu";var c=l},27953(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(13022),o=n(2376),i=n(54646),s=n(69608),a=n(44574),l=n(18817),c=n(93236);var u=function({controls:e=[],children:t,className:n,isCollapsed:u,title:d,...f}){const p=(0,o.useContext)(l.A);if(!(e&&e.length||t))return null;const h=(0,r.A)(p?"components-toolbar-group":"components-toolbar",n);let g;var m;return m=e,g=Array.isArray(m)&&Array.isArray(m[0])?e:[e],u?(0,c.jsx)(a.A,{label:d,controls:g,className:h,children:t,...f}):(0,c.jsxs)(s.A,{className:h,...f,children:[g?.flatMap((e,t)=>e.map((e,n)=>(0,c.jsx)(i.A,{containerClassName:t>0&&0===n?"has-left-divider":void 0,...e},[t,n].join()))),t]})}},44574(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(2376),o=n(3443),i=n(18817),s=n(39971),a=n(93236);var l=function({controls:e=[],toggleProps:t,...n}){const l=t=>(0,a.jsx)(o.A,{controls:e,toggleProps:{...t,"data-toolbar-item":!0},...n});return(0,r.useContext)(i.A)?(0,a.jsx)(s.A,{...t,children:l}):l(t)}},69608(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(93236),o=({className:e,children:t,...n})=>(0,r.jsx)("div",{className:e,...n,children:t})},39971(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(64608),o=n(2376),i=n(90531),s=n(18817),a=n(93236);var l=(0,o.forwardRef)(function({children:e,as:t,...n},l){const c=(0,o.useContext)(s.A),u="function"==typeof e;if(!u&&!t)return!0===globalThis.SCRIPT_DEBUG&&(0,i.A)("`ToolbarItem` is a generic headless component. You must pass either a `children` prop as a function or an `as` prop as a component. See https://developer.wordpress.org/block-editor/components/toolbar-item/"),null;const d={...n,ref:l,"data-toolbar-item":!0};if(!c)return t?(0,a.jsx)(t,{...d,children:e}):u?e(d):null;const f=u?e:t&&(0,a.jsx)(t,{children:e});return(0,a.jsx)(r.T,{accessibleWhenDisabled:!0,...d,store:c,render:f})});l.displayName="ToolbarItem";var c=l},99995(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(13022),o=n(2376),i=n(66786),s=n(27953),a=n(81964),l=n(48538),c=n(93236);var u=(0,o.forwardRef)(function({className:e,label:t,variant:n,...u},d){const f=void 0!==n,p=(0,o.useMemo)(()=>f?{}:{DropdownMenu:{variant:"toolbar"},Dropdown:{variant:"toolbar"},Menu:{variant:"toolbar"}},[f]);if(!t){(0,i.A)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"});const{title:t,...n}=u;return(0,c.jsx)(s.A,{isCollapsed:!1,...n,className:e})}const h=(0,r.A)("components-accessible-toolbar",e,n&&`is-${n}`);return(0,c.jsx)(l.c7,{value:p,children:(0,c.jsx)(a.A,{className:h,label:t,ref:d,...u})})});u.displayName="Toolbar";var d=u},81964(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(77858),o=n(39758),i=n(2376),s=n(18335),a=n(18817),l=n(93236);var c=(0,i.forwardRef)(function({label:e,...t},n){const i=o.W({focusLoop:!0,rtl:(0,s.V8)()});return(0,l.jsx)(a.A.Provider,{value:i,children:(0,l.jsx)(r.M,{ref:n,"aria-label":e,store:i,...t})})});c.displayName="ToolbarContainer";var u=c},84982(e,t,n){"use strict";n.d(t,{_:()=>r});var r=(0,n(2376).createContext)({isNestedInTooltip:!1});r.displayName="TooltipInternalContext"},17747(e,t,n){"use strict";n.d(t,{Ay:()=>y});var r=n(45934),o=n(4920),i=n(56946),s=n(80158),a=n(76958),l=n(13022),c=n(41740),u=n(2376),d=n(66786),f=n(73770),p=n(17690),h=n(84982),g=n(93236),m=700,v={isNestedInTooltip:!0};var b=(0,u.forwardRef)(function(e,t){const{children:n,className:y,delay:k=m,hideOnClick:x=!0,placement:w,position:_,shortcut:A,text:S,...C}=e,{isNestedInTooltip:E}=(0,u.useContext)(h._),T=(0,c.A)(b,"tooltip"),I=S||A?T:void 0,j=1===u.Children.count(n);let B;void 0!==w?B=w:void 0!==_&&(B=(0,p.YK)(_),(0,d.A)("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),B=B||"top";const N=a._({placement:B,showTimeout:k}),M=r.O$(N,"mounted");return E?j?(0,g.jsx)(o.X,{...C,render:n}):n:(0,g.jsxs)(h._.Provider,{value:v,children:[(0,g.jsx)(s.f,{onClick:x?N.hide:void 0,store:N,render:j?(R=n,I&&M&&void 0===R.props["aria-describedby"]&&R.props["aria-label"]!==S?(0,u.cloneElement)(R,{"aria-describedby":I}):R):void 0,ref:t,children:j?void 0:n}),j&&(S||A)&&(0,g.jsxs)(i.m,{...C,className:(0,l.A)("components-tooltip",y),unmountOnHide:!0,gutter:4,id:I,overflowPadding:.5,store:N,children:[S,A&&(0,g.jsx)(f.A,{className:S?"components-tooltip__shortcut":"",shortcut:A})]})]});var R}),y=b},39927(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(39063),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.A)(e);return(0,s.jsx)(o.A,{as:"span",...n,ref:t})},"Truncate")},39063(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(13022),o=n(52898),i=n(36997),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("beeae56da8","._51f2afb77f24a721__truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.d232bf8e2132288d__is-line-clamp{-webkit-box-orient:vertical;-webkit-line-clamp:var(--wp-components-truncate-lines);display:-webkit-box;overflow:hidden}.d232bf8e2132288d__is-line-clamp._95bf20b727db236f__is-single-line{word-break:break-all}");var c="_51f2afb77f24a721__truncate",u="d232bf8e2132288d__is-line-clamp",d="_95bf20b727db236f__is-single-line";function f(e){const{className:t,children:n,ellipsis:s=i.T2,ellipsizeMode:a=i.Aj.auto,limit:l=0,numberOfLines:f=0,style:p,...h}=(0,o.A)(e,"Truncate");let g;"string"==typeof n?g=n:"number"==typeof n&&(g=n.toString());const m=g?(0,i.a4)(g,{ellipsis:s,ellipsizeMode:a,limit:l,numberOfLines:f}):n,v=!!g&&a===i.Aj.auto,b=v&&!!f,y=b&&1===f;return{...h,className:(0,r.A)(v&&!f&&c,b&&u,y&&d,t),style:b?{...p,"--wp-components-truncate-lines":f}:p,children:m}}},36997(e,t,n){"use strict";n.d(t,{Aj:()=>i,T2:()=>o,a4:()=>a});var r=n(17273),o="…",i={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},s={ellipsis:o,ellipsizeMode:i.auto,limit:0,numberOfLines:0};function a(e="",t){const n={...s,...t},{ellipsis:a,ellipsizeMode:l,limit:c}=n;if(l===i.none)return e;let u,d;switch(l){case i.head:u=0,d=c;break;case i.middle:u=Math.floor(c/2),d=Math.floor(c/2);break;default:u=c,d=0}const f=l!==i.auto?function(e,t,n,i){if("string"!=typeof e)return"";const s=e.length,a=~~t,l=~~n,c=(0,r.J5)(i)?i:o;return 0===a&&0===l||a>=s||l>=s||a+l>=s?e:0===l?e.slice(0,a)+c:e.slice(0,a)+c+e.slice(s-l)}(e,u,d,a):e;return f}},91705(e,t,n){"use strict";n.d(t,{z:()=>i});var r=n(51505),o=n(32868),i=(0,r.AH)("font-size:11px;font-weight:",o.A.fontWeightEmphasis,";line-height:1.4;text-transform:uppercase;","")},17266(e,t,n){"use strict";n.d(t,{l:()=>i});var r={accent:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9))",accentDarker10:"var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6))",accentDarker20:"var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6))",accentInverted:"var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff))",background:"var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff))",foreground:"var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e))",foregroundInverted:"var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc))",gray:{900:"var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e))",800:"var(--wp-components-color-gray-800, var(--wpds-color-foreground-content-neutral, #1e1e1e))",700:"var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070))",600:"var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d))",400:"var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d))",300:"var(--wp-components-color-gray-300, var(--wpds-color-stroke-surface-neutral, #dbdbdb))",200:"var(--wp-components-color-gray-200, var(--wpds-color-stroke-surface-neutral, #dbdbdb))",100:"var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc))"}},o={background:r.background,backgroundDisabled:r.gray[100],border:r.gray[600],borderHover:r.gray[700],borderFocus:r.accent,borderDisabled:"var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb)",textDisabled:"var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d)",darkGrayPlaceholder:`color-mix(in srgb, ${r.foreground}, transparent 38%)`,lightGrayPlaceholder:`color-mix(in srgb, ${r.background}, transparent 35%)`},i=Object.freeze({gray:{900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},white:"#fff",alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},theme:r,ui:o})},41979(e,t,n){"use strict";n.d(t,{X1:()=>l});var r,o=n(1636),i=n(63270),s=n(93295);(0,i.X$)([s.A]);var a=(0,o.A)(function(e){if("string"!=typeof e)return"";if("string"==typeof(t=e)&&(0,i.Mj)(t).isValid())return e;var t;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const n=function(){if("undefined"!=typeof document){if(!r){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),r=e}return r}}();if(!n)return"";n.style.background=e;const o=window?.getComputedStyle(n).background;return n.style.background="",o||""});function l(e){const t=function(e){const t=a(e);return(0,i.Mj)(t).isLight()?"#000000":"#ffffff"}(e);return"#000000"===t?"dark":"light"}},32868(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(17266),o="36px",i={controlPaddingX:12,controlPaddingXSmall:8,controlPaddingXLarge:12*1.3334,controlBoxShadowFocus:`0 0 0 0.5px ${r.l.theme.accent}`,controlHeight:o,controlHeightXSmall:`calc( ${o} * 0.6 )`,controlHeightSmall:`calc( ${o} * 0.8 )`,controlHeightLarge:`calc( ${o} * 1.2 )`,controlHeightXLarge:`calc( ${o} * 1.4 )`},s=Object.assign({},i,{colorDivider:"rgba(0, 0, 0, 0.1)",elevationIntensity:1,radiusXSmall:"1px",radiusSmall:"2px",radiusMedium:"4px",radiusLarge:"8px",radiusFull:"9999px",radiusRound:"50%",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.4",fontWeight:"normal",fontWeightEmphasis:"600",gridBase:"4px",elevationXSmall:"0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01)",elevationSmall:"0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02)",elevationMedium:"0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02)",elevationLarge:"0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02)",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceColor:r.l.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"})},20463(e,t,n){"use strict";n.d(t,{p:()=>r,r:()=>i});var r=Object.freeze({SLIDE_DISTANCE:4,SLIDE_DURATION:200,SLIDE_EASING:{function:"cubic-bezier",args:[.25,0,0,1]},FADE_DURATION:100,FADE_EASING:{function:"linear"}}),o=e=>e.args?.length?`${e.function}(${e.args.join(",")})`:e.function,i=Object.freeze({SLIDE_DISTANCE:`${r.SLIDE_DISTANCE}px`,SLIDE_DURATION:`${r.SLIDE_DURATION}ms`,SLIDE_EASING:o(r.SLIDE_EASING),FADE_DURATION:`${r.FADE_DURATION}ms`,FADE_EASING:o(r.FADE_EASING)})},34984(e,t,n){"use strict";n.d(t,{ec:()=>a});var r=n(2376),o=n(74233),i=n(19274),s={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function a(e,t=[]){const[n,a]=(0,r.useState)(s),l=(0,r.useRef)(void 0),c=(0,o.A)(()=>{if(e&&e.isConnected){const t=function(e){const t=e.getBoundingClientRect();if(0===t.width||0===t.height)return;const n=e.offsetParent,r=n?.getBoundingClientRect()??s,o=n?.scrollLeft??0,i=n?.scrollTop??0,a=parseFloat(getComputedStyle(e).width),l=parseFloat(getComputedStyle(e).height),c=a/t.width,u=l/t.height;return{element:e,top:(t.top-r?.top)*u+i,right:(r?.right-t.right)*c-o,bottom:(r?.bottom-t.bottom)*u-i,left:(t.left-r?.left)*c+o,width:a,height:l}}(e);if(t)return a(t),clearInterval(l.current),!0}else clearInterval(l.current);return!1}),u=(0,i.A)(()=>{c()||requestAnimationFrame(()=>{c()||(l.current=setInterval(c,100))})});return(0,r.useLayoutEffect)(()=>{u(e),e||a(s)},[u,e]),(0,r.useLayoutEffect)(()=>{c()},t),n}},35350(e,t,n){"use strict";n.d(t,{fM:()=>a,ny:()=>s});var r=n(32868),o={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},i=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function s(e=13){if(e in o)return s(o[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc(${`(${e} / 13)`} * ${r.A.fontSize})`}function a(e=3){if(!i.includes(e))return s(e);const t=`fontSizeH${e}`;return r.A[t]}},68203(e,t,n){"use strict";n.d(t,{A:()=>r});var r={"default.fontFamily":"-apple-system, system-ui, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"}},37668(e,t,n){"use strict";n.d(t,{g:()=>o});var r=n(68203);function o(e){return r.A[e]??""}},19406(e,t,n){"use strict";n.d(t,{A:()=>o});var r=e=>{if(null===e)return"";switch(typeof e){case"string":case"number":return e.toString();case"object":return e instanceof Array?e.map(r).join(""):"props"in e?r(e.props.children):"";default:return""}},o=r},1780(e,t,n){"use strict";n.d(t,{a:()=>o});var r=n(2376);function o(e){return"string"==typeof e?[e]:r.Children.toArray(e).filter(e=>(0,r.isValidElement)(e))}},81450(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n(74233),o=n(2376),i=n(37493);function s(e,t,{prefix:n="subelement",dataAttribute:s=`${n}-animated`,transitionEndFilter:a=()=>!0,roundRect:l=!1}={}){const c=(0,r.A)(()=>{Object.keys(t).forEach(r=>"element"!==r&&e?.style.setProperty(`--${n}-${r}`,String(l?Math.floor(t[r]):t[r])))});(0,o.useLayoutEffect)(()=>{c()},[t,c]),(0,i.v)(t.element,({previousValue:n})=>{t.element&&n&&e?.setAttribute(`data-${s}`,"")}),(0,o.useLayoutEffect)(()=>{function t(t){a(t)&&e?.removeAttribute(`data-${s}`)}return e?.addEventListener("transitionend",t),()=>e?.removeEventListener("transitionend",t)},[s,e,a])}},28084(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(17273),i={initial:void 0,fallback:""};var s=function(e,t=i){const{initial:n,fallback:s}={...i,...t},[a,l]=(0,r.useState)(e),c=(0,o.J5)(e);return(0,r.useEffect)(()=>{c&&a&&l(void 0)},[c,a]),[(0,o.vD)([e,a,n],s),(0,r.useCallback)(e=>{c||l(e)},[c])]}},16624(e,t,n){"use strict";n.d(t,{j:()=>o});var r=n(2376);function o({defaultValue:e,onChange:t,value:n}){const o=void 0!==n,i=o?n:e,[s,a]=(0,r.useState)(i),l=o?n:s,c=(0,r.useCallback)((e,...n)=>{a(e),t?.(e,...n)},[t]);let u;return u=o&&"function"==typeof t?t:o||"function"!=typeof t?a:c,[l,u]}},86447(e,t,n){"use strict";n.d(t,{l:()=>a});var r=n(26960),o=n(54045),i=n(92871),s=n(2376),a=()=>{const e=(0,r._)();return(0,s.useCallback)((...t)=>{if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return(0,i.cx)(...t.map(t=>{return null!=(n=t)&&["name","styles"].every(e=>void 0!==n[e])?((0,o.sk)(e,t,!1),`${e.key}-${t.name}`):t;var n}))},[e])}},37493(e,t,n){"use strict";n.d(t,{v:()=>i});var r=n(74233),o=n(2376);function i(e,t){const n=(0,o.useRef)(e),i=(0,r.A)(t);(0,o.useLayoutEffect)(()=>{n.current!==e&&(i({previousValue:n.current}),n.current=e)},[i,e])}},39057(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);var o=function(e,t){const n=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(n.current)return e();n.current=!0},t),(0,r.useEffect)(()=>()=>{n.current=!1},[])}},30301(e,t,n){"use strict";function r(e){const t=Number(e);return isNaN(t)?0:t}function o(...e){return e.reduce((e,t)=>e+r(t),0)}function i(...e){return e.reduce((e,t,n)=>{const o=r(t);return 0===n?o:e-o},0)}function s(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function a(e,t,n){const o=r(e);return Math.max(t,Math.min(o,n))}function l(e,t,n){const o=r(e),i=r(t),a=r(n),l=Math.max(s(n),s(t)),c=i%a?i:0,u=Math.round((o-c)/a)*a+c;return l?r(u.toFixed(l)):u}n.d(t,{Re:()=>i,WQ:()=>o,qE:()=>a,v9:()=>l})},88838(e,t,n){"use strict";n.d(t,{Z:()=>f});var r=n(2376),o=n(93236),i=/^(data|aria|x)-/i,s=/^on[A-Z]/,a=new Set("animate animateMotion animateTransform circle clipPath defs desc ellipse\n\tfeBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix\n\tfeDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood\n\tfeFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode\n\tfeMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile\n\tfeTurbulence filter foreignObject g image line linearGradient marker mask\n\tmetadata mpath path pattern polygon polyline radialGradient rect set stop svg\n\tswitch symbol text textPath tspan use view".split(/\s+/)),l=new Set("children dangerouslySetInnerHTML key autoFocus defaultValue defaultChecked\n\tinnerHTML suppressContentEditableWarning suppressHydrationWarning valueLink\n\tabbr accept acceptCharset accessKey action allow allowUserMedia\n\tallowPaymentRequest allowFullScreen allowTransparency alt async autoComplete\n\tautoPlay capture cellPadding cellSpacing challenge charSet checked cite classID\n\tclassName cols colSpan content contentEditable contextMenu controls controlsList\n\tcoords crossOrigin data dateTime decoding default defer dir disabled\n\tdisablePictureInPicture disableRemotePlayback download draggable encType\n\tenterKeyHint fetchpriority fetchPriority form formAction formEncType formMethod\n\tformNoValidate formTarget frameBorder headers height hidden high href hrefLang\n\thtmlFor httpEquiv id inputMode integrity is keyParams keyType kind label lang\n\tlist loading loop low marginHeight marginWidth max maxLength media mediaGroup\n\tmethod min minLength multiple muted name nonce noValidate open optimum pattern\n\tplaceholder playsInline popover popoverTarget popoverTargetAction poster\n\tpreload profile radioGroup readOnly referrerPolicy rel required reversed role\n\trows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes\n\tslot span spellCheck src srcDoc srcLang srcSet start step style summary\n\ttabIndex target title translate type useMap value width wmode wrap about\n\tdatatype inlist prefix property resource typeof vocab autoCapitalize\n\tautoCorrect autoSave color incremental fallback inert itemProp itemScope\n\titemType itemID itemRef on option results security unselectable".split(/\s+/)),c=new Set("accentHeight accumulate additive alignmentBaseline allowReorder alphabetic\n\tamplitude arabicForm ascent attributeName attributeType autoReverse azimuth\n\tbaseFrequency baselineShift baseProfile bbox begin bias by calcMode capHeight\n\tclip clipPathUnits clipPath clipRule colorInterpolation\n\tcolorInterpolationFilters colorProfile colorRendering contentScriptType\n\tcontentStyleType cursor cx cy d decelerate descent diffuseConstant direction\n\tdisplay divisor dominantBaseline dur dx dy edgeMode elevation enableBackground\n\tend exponent externalResourcesRequired fill fillOpacity fillRule filter\n\tfilterRes filterUnits floodColor floodOpacity focusable fontFamily fontSize\n\tfontSizeAdjust fontStretch fontStyle fontVariant fontWeight format from fr fx\n\tfy g1 g2 glyphName glyphOrientationHorizontal glyphOrientationVertical\n\tglyphRef gradientTransform gradientUnits hanging horizAdvX horizOriginX\n\tideographic imageRendering in in2 intercept k k1 k2 k3 k4 kernelMatrix\n\tkernelUnitLength kerning keyPoints keySplines keyTimes lengthAdjust\n\tletterSpacing lightingColor limitingConeAngle local markerEnd markerMid\n\tmarkerStart markerHeight markerUnits markerWidth mask maskContentUnits\n\tmaskUnits mathematical mode numOctaves offset opacity operator order orient\n\torientation origin overflow overlinePosition overlineThickness panose1\n\tpaintOrder pathLength patternContentUnits patternTransform patternUnits\n\tpointerEvents points pointsAtX pointsAtY pointsAtZ preserveAlpha\n\tpreserveAspectRatio primitiveUnits r radius refX refY renderingIntent\n\trepeatCount repeatDur requiredExtensions requiredFeatures restart result rotate\n\trx ry scale seed shapeRendering slope spacing specularConstant\n\tspecularExponent speed spreadMethod startOffset stdDeviation stemh stemv\n\tstitchTiles stopColor stopOpacity strikethroughPosition strikethroughThickness\n\tstring stroke strokeDasharray strokeDashoffset strokeLinecap strokeLinejoin\n\tstrokeMiterlimit strokeOpacity strokeWidth surfaceScale systemLanguage\n\ttableValues targetX targetY textAnchor textDecoration textRendering textLength\n\tto transform u1 u2 underlinePosition underlineThickness unicode unicodeBidi\n\tunicodeRange unitsPerEm vAlphabetic vHanging vIdeographic vMathematical values\n\tvectorEffect version vertAdvY vertOriginX vertOriginY viewBox viewTarget\n\tvisibility widths wordSpacing writingMode x xHeight x1 x2 xChannelSelector\n\txlinkActuate xlinkArcrole xlinkHref xlinkRole xlinkShow xlinkTitle xlinkType\n\txmlBase xmlns xmlnsXlink xmlLang xmlSpace y y1 y2 yChannelSelector z\n\tzoomAndPan".split(/\s+/)),u=new Set(["autofocus","class","for"]);function d(e,t){return Object.fromEntries(Object.entries(e).filter(([e])=>function(e,t){return!(!i.test(e)&&!s.test(e))||!(!l.has(e)&&!u.has(e))||a.has(t)&&c.has(e)}(e,t)))}var f=(0,r.forwardRef)(function({as:e,...t},n){const r=e||"div",i="string"==typeof r?d(t,r):t;return(0,o.jsx)(r,{ref:n,...i})})},91731(e,t,n){"use strict";n.d(t,{h:()=>u});var r=n(51505),o=n(18335),i=new RegExp(/-left/g),s=new RegExp(/-right/g),a=new RegExp(/Left/g),l=new RegExp(/Right/g);function c(e){return"left"===e?"right":"right"===e?"left":i.test(e)?e.replace(i,"-right"):s.test(e)?e.replace(s,"-left"):a.test(e)?e.replace(a,"Right"):l.test(e)?e.replace(l,"Left"):e}function u(e={},t){return()=>t?(0,o.V8)()?(0,r.AH)(t,"",""):(0,r.AH)(e,"",""):(0,o.V8)()?(0,r.AH)(((e={})=>Object.fromEntries(Object.entries(e).map(([e,t])=>[c(e),t])))(e),"",""):(0,r.AH)(e,"","")}u.watch=()=>(0,o.V8)()},80359(e,t,n){"use strict";n.d(t,{x:()=>r});function r(e){if(void 0===e)return;if(!e)return"0";const t="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&window.CSS?.supports?.("margin",e.toString())||Number.isNaN(t)?e.toString():`calc(4px * ${e})`}},91415(e,t,n){"use strict";n.d(t,{N:()=>r});n(44775),new RegExp(/[\u007e\u00ad\u2053\u207b\u208b\u2212\p{Pd}]/gu);function r(e){return e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}},99947(e,t,n){"use strict";n.d(t,{t:()=>s});var r=n(2376),o=["40em","52em","64em"],i=(e={})=>{const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>o.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${o.length} breakpoints, got index ${t}`);const[n,i]=(0,r.useState)(t);return(0,r.useEffect)(()=>{const e=()=>{const e=o.filter(e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches).length;n!==e&&i(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}},[n]),n};function s(e,t={}){const n=i(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}},17273(e,t,n){"use strict";function r(e){return null!=e}function o(e){const t=""===e;return!r(e)||t}function i(e=[],t){return e.find(r)??t}n.d(t,{GB:()=>s,J5:()=>r,r6:()=>o,vD:()=>i});var s=e=>"string"==typeof e?(e=>parseFloat(e))(e):e},54446(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(39179),o=n(26930),i=n(28824),s=n(93236);var a=(0,r.KZ)(function(e,t){const n=(0,i.m)(e);return(0,s.jsx)(o.A,{...n,ref:t})},"VStack")},28824(e,t,n){"use strict";n.d(t,{m:()=>i});var r=n(52898),o=n(85510);function i(e){const{expanded:t=!1,alignment:n="stretch",...i}=(0,r.A)(e,"VStack");return(0,o.A)({direction:"column",expanded:t,alignment:n,...i})}},9361(e,t,n){"use strict";n.d(t,{V:()=>l});var r=n(13022),o=n(2376),i=n(49754),s=n(11856),a=n(93236),l=(0,o.forwardRef)(({required:e,customValidity:t,markWhenOptional:n,value:l,className:c,...u},d)=>{const f=(0,o.useRef)(null);return(0,a.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",children:[(0,a.jsx)(i.K,{className:"components-validated-control",required:e,markWhenOptional:n,customValidity:t,getValidityTarget:()=>f.current,children:(0,a.jsx)(s.A,{ref:d,className:(0,r.A)("components-validated-control__content-editable",c),"aria-invalid":"invalid"===t?.type||void 0,...u})}),(0,a.jsx)("input",{className:"components-validated-control__error-delegate",type:"text",ref:f,required:e,value:l?.trim()??"",tabIndex:-1,onChange:()=>{},onFocus:e=>{e.target.previousElementSibling?.querySelector('[role="textbox"]')?.focus()}})]})});l.displayName="ValidatedContentEditableControl"},19503(e,t,n){"use strict";n.d(t,{Q:()=>c});var r=n(2376),o=n(43730),i=n(66786),s=n(49754),a=n(16006),l=n(93236),c=(0,r.forwardRef)(({required:e,customValidity:t,markWhenOptional:n,...c},u)=>{(0,i.A)("wp.components.privateApis.ValidatedInputControl",{since:"7.2",alternative:"ValidatedInputControl from @wordpress/ui",hint:"This private API will be completely removed within a few Gutenberg plugin releases."});const d=(0,r.useRef)(null),f=(0,o.A)([u,d]);return(0,l.jsx)(s.K,{className:"components-validated-control",required:e,markWhenOptional:n,customValidity:t,getValidityTarget:()=>d.current,children:(0,l.jsx)(a.Ay,{ref:f,...c})})});c.displayName="ValidatedInputControl"},28463(e,t,n){"use strict";n.d(t,{w:()=>c});var r=n(2376),o=n(43730),i=n(66786),s=n(49754),a=n(58438),l=n(93236),c=(0,r.forwardRef)(({required:e,customValidity:t,markWhenOptional:n,...c},u)=>{(0,i.A)("wp.components.privateApis.ValidatedTextareaControl",{since:"7.2",alternative:"ValidatedTextareaControl from @wordpress/ui",hint:"This private API will be completely removed within a few Gutenberg plugin releases."});const d=(0,r.useRef)(null),f=(0,o.A)([u,d]);return(0,l.jsx)(s.K,{className:"components-validated-control",required:e,markWhenOptional:n,customValidity:t,getValidityTarget:()=>d.current,children:(0,l.jsx)(a.A,{ref:f,...c})})});c.displayName="ValidatedTextareaControl"},26930(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(88838),i=n(93236);var s=Object.assign((0,r.forwardRef)(function({css:e,...t},n){return(0,i.jsx)(o.Z,{ref:n,...t})}),{selector:".components-view"})},69257(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(39179),o=n(52898),i=n(38574),s=n(26930),a=n(93236);var l=(0,r.KZ)(function(e,t){const{style:n,...r}=(0,o.A)(e,"VisuallyHidden");return(0,a.jsx)(s.A,{ref:t,...r,"data-visually-hidden":"",style:{...i.Q,...n||{}}})},"VisuallyHidden")},38574(e,t,n){"use strict";n.d(t,{Q:()=>r});var r={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal",wordBreak:"normal"}},98838(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(29158).A)(!0)},29158(e,t,n){"use strict";n.d(t,{A:()=>r,h:()=>o});var r=(e=!1)=>(...t)=>(...n)=>{const r=t.flat();return e&&r.reverse(),r.reduce((e,t)=>[t(...e)],n)[0]},o=r()},10324(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(39546),i=n(26433);var s=function(e,t={step:1}){const{step:n=1}=t,[s,a]=(0,r.useState)([]);return(0,r.useEffect)(()=>{let t=function(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(!t.includes(o))break;n.push(o)}return n}(e,s);t.length<n&&(t=t.concat(e.slice(t.length,n))),a(t);const r=(0,i.y)();for(let i=t.length;i<e.length;i+=n)r.add({},()=>{(0,o.qX)(()=>{a(t=>[...t,...e.slice(i,i+n)])})});return()=>r.reset()},[e]),s}},88549(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(98003),o=n(71886);var i=function(){return(0,o.A)(e=>{function t(t){const{key:n,shiftKey:o,target:i}=t;if("Tab"!==n)return;const s=o?"findPrevious":"findNext",a=r.XC.tabbable[s](i)||null;if(i.contains(a))return t.preventDefault(),void a?.focus();if(e.contains(a))return;const l=o?"append":"prepend",{ownerDocument:c}=e,u=c.createElement("div");u.tabIndex=-1,e[l](u),u.addEventListener("blur",()=>e.removeChild(u)),u.focus()}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}},[])}},84975(e,t,n){"use strict";n.d(t,{Ay:()=>s});var r=n(2376),o=n(71886);function i(e){const t=(0,r.useRef)(e);return(0,r.useLayoutEffect)(()=>{t.current=e},[e]),t}function s(e,t){const n=i(e),r=i(t);return(0,o.A)(e=>{let t=!0;const o=async()=>{const o="function"==typeof n.current?n.current():n.current||"",i=await async function(e,t){if(!t)return!1;const{ownerDocument:n}=t;if(!n)return!1;const{defaultView:r}=n;try{if(r?.navigator?.clipboard?.writeText)return await r.navigator.clipboard.writeText(e),!0;const t=n.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.left="-9999px",t.style.top="-9999px",n.body.appendChild(t),t.select();const o=n.execCommand("copy");return t.remove(),o}catch{return!1}}(o,e);var s;i&&(t&&"focus"in(s=e)&&"function"==typeof s.focus&&s.focus(),r.current&&r.current())};return e.addEventListener("click",o),()=>{t=!1,e.removeEventListener("click",o)}},[])}},87444(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(48349),o=n(2376),i=n(82695);function s(e,t,n){const s=(0,r.MA)(()=>(0,i.s)(e,t??0,n),[e,t,n?.leading,n?.trailing,n?.maxWait]);return(0,o.useEffect)(()=>()=>s.cancel(),[s]),s}},60417(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=n(87444);function i(e=""){const[t,n]=(0,r.useState)(e),[i,s]=(0,r.useState)(e),a=(0,o.A)(s,250);return(0,r.useEffect)(()=>{a(t)},[t,a]),[t,n,i]}},84197(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(88549),i=n(78695),s=n(53346),a=n(76755),l=n(43730);var c=function(e){const t=(0,r.useRef)(void 0),{constrainTabbing:n=!1!==e.focusOnMount}=e;(0,r.useEffect)(()=>{t.current=e},Object.values(e));const c=(0,o.A)(),u=(0,i.u)(e.focusOnMount),d=(0,s.A)(),f=(0,a.A)(e=>{t.current?.__unstableOnClose?t.current.__unstableOnClose("focus-outside",e):t.current?.onClose&&t.current.onClose()}),p=(0,r.useCallback)(e=>{t.current?.onKeyDown?.(e),"Escape"===e.key&&!e.defaultPrevented&&t.current?.onClose&&(e.preventDefault(),e.stopPropagation(),t.current.onClose())},[]);return[(0,l.A)([n?c:null,!1!==e.focusOnMount?d:null,!1!==e.focusOnMount?u:null]),{...f,onKeyDown:p,tabIndex:-1}]}},36093(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(82695),o=n(71886);function i({isDisabled:e=!1}={}){return(0,o.A)(t=>{if(e)return;const n=t?.ownerDocument?.defaultView;if(!n)return;const o=[],i=()=>{t.childNodes.forEach(e=>{e instanceof n.HTMLElement&&(e.getAttribute("inert")||(e.setAttribute("inert","true"),o.push(()=>{e.removeAttribute("inert")})))})},s=(0,r.s)(i,0,{leading:!0});i();const a=new window.MutationObserver(s);return a.observe(t,{childList:!0}),()=>{a&&a.disconnect(),s.cancel(),o.forEach(e=>e())}},[e])}},21675(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(71886),o=n(74233);function i({dropZoneElement:e,isDisabled:t,onDrop:n,onDragStart:i,onDragEnter:s,onDragLeave:a,onDragEnd:l,onDragOver:c}){const u=(0,o.A)(n),d=(0,o.A)(i),f=(0,o.A)(s),p=(0,o.A)(a),h=(0,o.A)(l),g=(0,o.A)(c);return(0,r.A)(r=>{if(t)return;const o=e??r;let m=!1;const{ownerDocument:v}=o;function b(e){m||(m=!0,v.addEventListener("dragend",_),v.addEventListener("mousemove",_),i&&d(e))}function y(e){e.preventDefault(),o.contains(e.relatedTarget)||s&&f(e)}function k(e){!e.defaultPrevented&&c&&g(e),e.preventDefault()}function x(e){(function(e){const{defaultView:t}=v;if(!(e&&t&&e instanceof t.HTMLElement&&o.contains(e)))return!1;let n=e;do{if(n.dataset.isDropZone)return n===o}while(n=n.parentElement);return!1})(e.relatedTarget)||a&&p(e)}function w(e){e.defaultPrevented||(e.preventDefault(),e.dataTransfer&&e.dataTransfer.files.length,n&&u(e),_(e))}function _(e){m&&(m=!1,v.removeEventListener("dragend",_),v.removeEventListener("mousemove",_),l&&h(e))}return o.setAttribute("data-is-drop-zone","true"),o.addEventListener("drop",w),o.addEventListener("dragenter",y),o.addEventListener("dragover",k),o.addEventListener("dragleave",x),v.addEventListener("dragenter",b),()=>{o.removeAttribute("data-is-drop-zone"),o.removeEventListener("drop",w),o.removeEventListener("dragenter",y),o.removeEventListener("dragover",k),o.removeEventListener("dragleave",x),v.removeEventListener("dragend",_),v.removeEventListener("mousemove",_),v.removeEventListener("dragenter",b)}},[t,e])}},74233(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);function o(e){const t=(0,r.useRef)(()=>{throw new Error("Callbacks created with `useEvent` cannot be called during rendering.")});return(0,r.useInsertionEffect)(()=>{t.current=e}),(0,r.useCallback)((...e)=>t.current?.(...e),[])}},78695(e,t,n){"use strict";n.d(t,{u:()=>s});var r=n(98003),o=n(2376),i=n(71886);function s(e="firstElement"){const t=(0,o.useRef)(e),n=e=>{e.focus({preventScroll:!0})};return(0,o.useEffect)(()=>{t.current=e},[e]),(0,i.A)(e=>{if(!1===t.current)return;if(e.contains(e.ownerDocument?.activeElement??null))return;if("firstElement"!==t.current&&"firstInputElement"!==t.current)return void n(e);const o=setTimeout(()=>{if("firstInputElement"===t.current){const t=e.querySelector('input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled])');if(t)return void n(t)}const o=r.XC.tabbable.find(e)[0];o&&n(o)},0);return()=>{clearTimeout(o)}},[])}},76755(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=["button","submit"];function i(e){const t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);const n=(0,r.useRef)(!1),i=(0,r.useRef)(void 0),s=(0,r.useCallback)(()=>{clearTimeout(i.current)},[]);(0,r.useEffect)(()=>{e||s()},[e,s]);const a=(0,r.useCallback)(e=>{const{type:t,target:r}=e;["mouseup","touchend"].includes(t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return o.includes(e.type)}return!1}(r)&&(n.current=!0)},[]),l=(0,r.useCallback)(e=>{if(e.persist(),n.current)return;const r=e.target.getAttribute("data-unstable-ignore-focus-outside-for-relatedtarget");r&&e.relatedTarget?.closest(r)||(i.current=setTimeout(()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()},0))},[]);return{onFocus:s,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:l}}},53346(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=null;var i=function(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(e);return(0,r.useEffect)(()=>{i.current=e},[e]),(0,r.useCallback)(e=>{if(e){if(t.current=e,n.current)return;const r=e.ownerDocument.activeElement instanceof window.HTMLIFrameElement?e.ownerDocument.activeElement.contentDocument:e.ownerDocument;n.current=r?.activeElement??null}else if(n.current){const e=t.current?.contains(t.current?.ownerDocument.activeElement??null);if(t.current?.isConnected&&!e)return void(o??=n.current);if(i.current)i.current();else{const e=n.current.isConnected?n.current:o;e?.focus()}o=null}},[])}},41740(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=new WeakMap;var i=function(e,t,n){return(0,r.useMemo)(()=>{if(n)return n;const r=function(e){const t=o.get(e)||0;return o.set(e,t+1),t}(e);return t?`${t}-${r}`:r},[e,n,t])}},74953(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},76890(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=new WeakMap,i={subscribe:()=>()=>{},getValue:()=>!1};function s(e,t=("undefined"!=typeof window?window:void 0)){const n=function(e,t){if(!e||!t||"function"!=typeof e.matchMedia)return i;let n=o.get(e);n||(n=new Map,o.set(e,n));const r=n.get(t);if(r)return r;const s=e.matchMedia(t),a=new Set,l=()=>{for(const e of a)e()},c={subscribe:e=>(0===a.size&&s.addEventListener?.("change",l),a.add(e),()=>{a.delete(e),0===a.size&&s.removeEventListener?.("change",l)}),getValue:()=>s.matches};return n.set(t,c),c}(t,e);return(0,r.useSyncExternalStore)(n.subscribe,n.getValue,()=>!1)}},43730(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376);function o(e,t){if("function"==typeof e){const n=e(t);return"function"==typeof n?n:void 0}e&&e.hasOwnProperty("current")&&(e.current=t)}function i(e,t,n){const r=n[t];r?(n[t]=void 0,r()):o(e,null)}function s(e){const t=(0,r.useRef)(null),n=(0,r.useRef)([]),s=(0,r.useRef)(e),a=(0,r.useRef)([]);return s.current=e,(0,r.useLayoutEffect)(()=>{const r=t.current;null!==r&&(e.forEach((e,t)=>{const s=n.current[t];e!==s&&(i(s,t,a.current),a.current[t]=o(e,r))}),n.current=e)},e),(0,r.useCallback)(e=>{t.current=e,null===e?(n.current.forEach((e,t)=>{i(e,t,a.current)}),n.current=[]):(n.current=s.current,n.current.forEach((t,n)=>{a.current[n]=o(t,e)}))},[])}},8178(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);function o(e,t){const[n,o]=(0,r.useMemo)(()=>[n=>e.subscribe(t,n),()=>e.get(t)],[e,t]);return(0,r.useSyncExternalStore)(n,o,o)}},15766(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);function o(e){const t=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}},7680(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(76890),o=()=>(0,r.A)("(prefers-reduced-motion: reduce)")},71886(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);function o(e,t){const n=(0,r.useRef)(void 0);return(0,r.useCallback)(t=>{t?n.current=e(t):n.current&&n.current()},t)}},19274(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7319),o=n(31082);function i(e,t={}){return e?(0,r.w)(e,t):(0,o.A)()}},31082(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(2376),o=n(7319),i=n(93236),s={position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",opacity:0,overflow:"hidden",zIndex:-1};function a({onResize:e}){const t=(0,o.w)(t=>{const n=(e=>{let t;if(e.contentBoxSize)if(e.contentBoxSize[0]){const n=e.contentBoxSize[0];t=[n.inlineSize,n.blockSize]}else{const n=e.contentBoxSize;t=[n.inlineSize,n.blockSize]}else t=[e.contentRect.width,e.contentRect.height];const[n,r]=t.map(e=>Math.round(e));return{width:n,height:r}})(t.at(-1));e(n)});return(0,i.jsx)("div",{ref:t,style:s,"aria-hidden":"true"})}var l={width:null,height:null};function c(){const[e,t]=(0,r.useState)(l),n=(0,r.useRef)(l),o=(0,r.useCallback)(e=>{var r,o;r=n.current,o=e,(r.width!==o.width||r.height!==o.height)&&(n.current=e,t(e))},[]);return[(0,i.jsx)(a,{onResize:o}),e]}},7319(e,t,n){"use strict";n.d(t,{w:()=>i});var r=n(2376),o=n(74233);function i(e,t={}){const n=(0,o.A)(e),i=(0,r.useRef)(null),s=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>(i.current&&s.current?.observe(i.current,t),()=>s.current?.disconnect()),[]),(0,o.A)(e=>{if(e===i.current)return;s.current??=new ResizeObserver(n);const{current:r}=s;i.current&&r.unobserve(i.current),i.current=e??null,e&&r.observe(e,t)})}},78513(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(48349),o=n(2376),i=n(38206);function s(e,t,n){const s=(0,r.MA)(()=>(0,i.n)(e,t??0,n),[e,t,n]);return(0,o.useEffect)(()=>()=>s.cancel(),[s]),s}},27319(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(2376),o=n(76890),i={xhuge:1920,huge:1440,wide:1280,xlarge:1080,large:960,medium:782,small:600,mobile:480},s={">=":"min-width","<":"max-width"},a={">=":(e,t)=>t>=e,"<":(e,t)=>t<e},l=(0,r.createContext)(null);l.displayName="ViewportMatchWidthContext";var c=(e,t=">=",n=("undefined"!=typeof window?window:void 0))=>{const c=(0,r.useContext)(l),u=!c&&`screen and (${s[t]}: ${i[e]}px)`,d=(0,o.A)(u||void 0,n);return c?a[t](i[e],c):d};c.__experimentalWidthProvider=l.Provider;var u=c},66241(e,t,n){"use strict";n.d(t,{s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/compose")},50788(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(66241),o=n(27475),i={};(0,r.s)(i,{subscribeDelegatedListener:o.A})},94081(e,t,n){"use strict";n.d(t,{f:()=>o});var r=n(82769);function o(e,t){return n=>{const r=e(n);return r.displayName=i(t,n),r}}var i=(e,t)=>{const n=t.displayName||t.name||"Component";return`${(0,r.fL)(e??"")}(${n})`}},82695(e,t,n){"use strict";n.d(t,{s:()=>r});var r=(e,t,n)=>{let r,o,i,s,a,l=0,c=0,u=!1,d=!1,f=!0;function p(t){const n=r,s=o;return r=void 0,o=void 0,c=t,i=e.apply(s,n),i}function h(e,t){s=setTimeout(e,t)}function g(e){return e-(a||0)}function m(e){const n=g(e);return void 0===a||n>=t||n<0||d&&e-c>=l}function v(){const e=Date.now();if(m(e))return y(e);h(v,function(e){const n=g(e),r=e-c,o=t-n;return d?Math.min(o,l-r):o}(e))}function b(){s=void 0}function y(e){return b(),f&&r?p(e):(r=o=void 0,i)}function k(){return void 0!==s}function x(...e){const n=Date.now(),s=m(n);if(r=e,o=this,a=n,s){if(!k())return function(e){return c=e,h(v,t),u?p(e):i}(a);if(d)return h(v,t),p(a)}return k()||h(v,t),i}return n&&(u=!!n.leading,d="maxWait"in n,void 0!==n.maxWait&&(l=Math.max(n.maxWait,t)),f="trailing"in n?!!n.trailing:f),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,b(),r=a=o=void 0},x.flush=function(){return k()?y(Date.now()):i},x.pending=k,x}},76032(e,t,n){"use strict";function r(){const e=new Map,t=new Map;function n(e){const n=t.get(e);if(n)for(const e of n)e()}return{get:t=>e.get(t),set(t,r){e.set(t,r),n(t)},delete(t){e.delete(t),n(t)},subscribe(e,n){let r=t.get(e);return r||(r=new Set,t.set(e,r)),r.add(n),()=>{r.delete(n),0===r.size&&t.delete(e)}}}}n.d(t,{u:()=>r})},27475(e,t,n){"use strict";n.d(t,{A:()=>o});var r=new WeakMap;function o(e,t,n,o=!1){const i=e.ownerDocument,s=i??e,a=void 0===i;let l=r.get(s);l||(l=new Map,r.set(s,l));const c=o?`${t}:capture`:t;let u=l.get(c);if(!u){u=new WeakMap,l.set(c,u);const e=u;s.addEventListener(t,t=>{if(a){const n=e.get(s);if(n)for(const e of n)e(t);return}if(o){const n=[];let r=t.target;for(;r&&(n.push(r),r!==s);)r=r.parentNode;for(let r=n.length-1;r>=0;r--){const o=e.get(n[r]);if(o)for(const e of o)e(t)}}else{let n=t.target;for(;n;){const r=e.get(n);if(r)for(const e of r)e(t);if(n===s)break;n=n.parentNode}}},o)}let d=u.get(e);return d||(d=new Set,u.set(e,d)),d.add(n),()=>{d.delete(n)}}},38206(e,t,n){"use strict";n.d(t,{n:()=>o});var r=n(82695),o=(e,t,n)=>{let o=!0,i=!0;return n&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),(0,r.s)(e,t,{leading:o,trailing:i,maxWait:t})}},19626(e,t,n){"use strict";n.d(t,{Ay:()=>s,ob:()=>r});var r=(0,n(2376).createContext)(!1);r.displayName="AsyncModeContext";var{Consumer:o,Provider:i}=r,s=i},95935(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=n(19626);function i(){return(0,r.useContext)(o.ob)}},16185(e,t,n){"use strict";n.d(t,{Ay:()=>l,ob:()=>i});var r=n(2376),o=n(38200),i=(0,r.createContext)(o.A);i.displayName="RegistryProviderContext";var{Consumer:s,Provider:a}=i,l=a},65627(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(2376),o=n(16185);function i(){return(0,r.useContext)(o.ob)}},15813(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(74953),i=n(65627),s=(e,t)=>{const n=(0,i.A)(),s=(0,r.useRef)(e);return(0,o.A)(()=>{s.current=e}),(0,r.useMemo)(()=>{const e=s.current(n.dispatch,n);return Object.fromEntries(Object.entries(e).map(([e,t])=>("function"!=typeof t&&console.warn(`Property ${e} returned from dispatchMap in useDispatchWithMap must be a function.`),[e,(...t)=>s.current(n.dispatch,n)[e](...t)])))},[n,...t])}},79027(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(65627),o=e=>{const{dispatch:t}=(0,r.A)();return void 0===e?t:t(e)}},19623(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(26433),o=n(2376),i=n(3007),s=n(65627),a=n(95935),l=(0,r.y)();function c(e,t){const n=t?e.suspendSelect:e.select,r={};let o,s,a,c,u,d=!1;const f=new Map;function p(t){return e.stores[t]?.store?.getState?.()??{}}return(t,h)=>{function g(){if(d&&t===o)return;const h={current:null},g=e.__unstableMarkListeningStores(()=>t(n,e),h);if(globalThis.SCRIPT_DEBUG&&!u){const r=t(n,e);(0,i.hw)(g,r)||(!function(e,t){if(!e||!t)return;const n="object"==typeof e&&"object"==typeof t?Object.keys(e).filter(n=>e[n]!==t[n]):[];console.warn("The `useSelect` hook returns different values when called with the same state and parameters.\nThis can lead to unnecessary re-renders and performance issues if not fixed.\n\nNon-equal value keys: %s\n\n",n.join(", "))}(g,r),u=!0)}if(c)c.updateStores(h.current);else{for(const e of h.current)f.set(e,p(e));c=(t=>{const n=[...t],o=new Set;return{subscribe:function(t){if(d)for(const e of n)f.get(e)!==p(e)&&(d=!1);f.clear();const i=()=>{d=!1,t()},s=()=>{a?l.add(r,i):i()},c=[];function u(t){c.push(e.subscribe(s,t))}for(const e of n)u(e);return o.add(u),()=>{o.delete(u);for(const e of c.values())e?.();l.cancel(r)}},updateStores:function(e){for(const t of e)if(!n.includes(t)){n.push(t);for(const e of o)e(t)}}}})(h.current)}(0,i.hw)(s,g)||(s=g),o=t,d=!0}return a&&!h&&(d=!1,l.cancel(r)),g(),a=h,{subscribe:c.subscribe,getValue:function(){return g(),s}}}}function u(e,t,n){const r=(0,s.A)(),i=(0,a.A)(),l=(0,o.useMemo)(()=>c(r,e),[r,e]),u=(0,o.useCallback)(t,n),{subscribe:d,getValue:f}=l(u,i),p=(0,o.useSyncExternalStore)(d,f,f);return(0,o.useDebugValue)(p),p}function d(e,t){const n="function"!=typeof e,r=(0,o.useRef)(n);if(n!==r.current){const e=r.current?"static":"mapping";throw new Error(`Switching useSelect from ${e} to ${n?"static":"mapping"} is not allowed`)}return n?(i=e,(0,s.A)().select(i)):u(!1,e,t);var i}},16098(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(94081),o=n(15813),i=n(93236),s=e=>(0,r.f)(t=>n=>{const r=(0,o.A)((t,r)=>e(t,n,r),[]);return(0,i.jsx)(t,{...n,...r})},"withDispatch")},28387(e,t,n){"use strict";n.d(t,{K:()=>a});var r=n(35705),o="@@data/SELECT",i="@@data/RESOLVE_SELECT",s="@@data/DISPATCH";var a={[o]:(0,r.b)(e=>({storeKey:t,selectorName:n,args:r})=>e.select(t)[n](...r)),[i]:(0,r.b)(e=>({storeKey:t,selectorName:n,args:r})=>{const o=e.select(t)[n].hasResolver?"resolveSelect":"select";return e[o](t)[n](...r)}),[s]:(0,r.b)(e=>({storeKey:t,actionName:n,args:r})=>e.dispatch(t)[n](...r))}},23537(e,t,n){"use strict";n.d(t,{M:()=>r});var r=n(2822).A},38200(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(32244).I)()},76319(e,t,n){"use strict";n.d(t,{J:()=>o});var r=n(38200);function o(e){return r.A.dispatch(e)}},35705(e,t,n){"use strict";function r(e){const t=new WeakMap,n=(...r)=>{let o=t.get(n.registry);return o||(o=e(n.registry.select),t.set(n.registry,o)),o(...r)};return n.isRegistrySelector=!0,n}function o(e){return e.isRegistryControl=!0,e}n.d(t,{N:()=>r,b:()=>o})},1663(e,t,n){"use strict";n.d(t,{HY:()=>o,kz:()=>s,ti:()=>i});var r=n(38200),o=n(2747).H;r.A.registerGenericStore;var i=r.A.registerStore,s=(r.A.use,e=>r.A.register(e))},38521(e,t,n){"use strict";n.d(t,{T:()=>i,s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/data")},71369(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(12757),o=()=>e=>t=>(0,r.A)(t)?t.then(t=>{if(t)return e(t)}):e(t)},2747(e,t,n){"use strict";function r(e){const t=Object.keys(e);return function(n={},r){const o={};let i=!1;for(const s of t){const t=e[s],a=n[s],l=t(a,r);o[s]=l,i=i||l!==a}return i?o:n}}n.d(t,{H:()=>r})},9080(e,t,n){"use strict";n.d(t,{A:()=>x});var r=n(16278),o=n(11011),i=n(86336),s=n(98838),a=n(2747),l=n(28387),c=n(38521),u=n(71369),d=n(61584),f=n(21997),p=n(99630),h=n(73036),g=n(15883),m=e=>{const t=[...e];for(let e=t.length-1;e>=0;e--)void 0===t[e]&&t.splice(e,1);return t},v=(e,t)=>Object.fromEntries(Object.entries(e??{}).map(([e,n])=>[e,t(n,e)])),b=(e,t)=>t instanceof Map?Object.fromEntries(t):"undefined"!=typeof window&&t instanceof window.HTMLElement?null:t;function y(e,t){const n=new WeakMap;return{get(r){const o=e(r);if(!o)return null;let i=n.get(o);return i||(i=t(o,r),n.set(o,i)),i}}}function k(e,t){return new Proxy(e,{get:(e,n)=>t.get(n)||Reflect.get(e,n)})}function x(e,t){const n={},x={},A={privateActions:n,registerPrivateActions:e=>{Object.assign(n,e)},privateSelectors:x,registerPrivateSelectors:e=>{Object.assign(x,e)}},S={name:e,instantiate:S=>{const C=new Set,E=t.reducer,T=function(e,t,n,o){const c={...t.controls,...l.K},h=v(c,e=>e.isRegistryControl?e(n):e),g=[(0,d.A)(n,e),u.A,(0,i.A)(h),(0,f.A)(o)],m=[(0,r.Tw)(...g)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&m.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e,serialize:{replacer:b}}));const{reducer:y,initialState:k}=t,x=(0,a.H)({metadata:p.A,root:y});return(0,r.y$)(x,{root:k},(0,s.A)(...m))}(e,t,S,{registry:S,get dispatch(){return M},get select(){return F},get resolveSelect(){return H}});(0,c.s)(T,A);const I=function(){const e={};return{isRunning:(t,n)=>!(!e[t]||!e[t].get(m(n))),clear(t,n){e[t]&&e[t].delete(m(n))},markAsRunning(t,n){e[t]||(e[t]=new o),e[t].set(m(n),!0)}}}();function j(e){return(...t)=>Promise.resolve(T.dispatch(e(...t)))}const B={...v(g,j),...v(t.actions,j)},N=k(B,y(e=>n[e],j)),M=new Proxy(e=>T.dispatch(e),{get:(e,t)=>N[t]});(0,c.s)(B,N);const R=t.resolvers?v(t.resolvers,w):{};function O(e,t){e.isRegistrySelector&&(e.registry=S);const n=(...t)=>{t=_(e,t);const n=T.__unstableOriginalGetState();return e.isRegistrySelector&&(e.registry=S),e(n.root,...t)};n.__unstableNormalizeArgs=e.__unstableNormalizeArgs;const r=R[t];return r?function(e,t,n,r,o,i){function s(e){o.isRunning(t,e)||i.hasStartedResolution(t,e)||"function"==typeof n.isFulfilled&&n.isFulfilled(r.getState(),...e)||(o.markAsRunning(t,e),setTimeout(async()=>{o.clear(t,e),r.dispatch(g.startResolution(t,e));try{const o=n.fulfill(...e);o&&await r.dispatch(o),r.dispatch(g.finishResolution(t,e))}catch(n){r.dispatch(g.failResolution(t,e,n))}},0))}const a=(...t)=>(s(t=_(e,t)),e(...t));return a.hasResolver=!0,a}(n,t,r,T,I,L):(n.hasResolver=!1,n)}const L=v(h,function(e){const n=(n,r,...o)=>{if(n){const e=t.selectors?.[n];e&&(r=_(e,r))}const i=T.__unstableOriginalGetState();return e(i.metadata,n,r,...o)};return n.hasResolver=!1,n}),P=v(t.selectors,O),D={...L,...P},z=y(e=>x[e],O),V=k(D,z);for(const e of Object.keys(x))z.get(e);const F=new Proxy(e=>e(T.__unstableOriginalGetState()),{get:(e,t)=>V[t]});(0,c.s)(D,V);const $=function(e,t,n){return(r,o)=>r.hasResolver?(...i)=>new Promise((s,a)=>{const l=t[o],c=()=>n.hasFinishedResolution(o,i)||"function"==typeof l.isFulfilled&&l.isFulfilled(e.getState(),...i),u=e=>{if(n.hasResolutionFailed(o,i)){const e=n.getResolutionError(o,i);a(e)}else s(e)},d=()=>r(...i),f=d();if(c())return u(f);const p=e.subscribe(()=>{c()&&(p(),u(d()))})}):async(...e)=>r(...e)}(T,R,L),H=v(P,$),U=k(H,y(e=>z.get(e),$));(0,c.s)(H,U);const W=function(e,t){return(n,r)=>n.hasResolver?(...o)=>{const i=n(...o);if(t.hasFinishedResolution(r,o)){if(t.hasResolutionFailed(r,o))throw t.getResolutionError(r,o);return i}throw new Promise(n=>{const i=e.subscribe(()=>{t.hasFinishedResolution(r,o)&&(n(),i())})})}:n}(T,L),K={...L,...v(P,W)},q=k(K,y(e=>z.get(e),W));(0,c.s)(K,q);T.__unstableOriginalGetState=T.getState,T.getState=()=>T.__unstableOriginalGetState().root;let G=T.__unstableOriginalGetState();return T.subscribe(()=>{const e=T.__unstableOriginalGetState(),t=e!==G;if(G=e,t)for(const e of C)e()}),{reducer:E,store:T,actions:B,selectors:D,resolvers:R,getSelectors:()=>D,getResolveSelectors:()=>H,getSuspendSelectors:()=>K,getActions:()=>B,subscribe:e=>(C.add(e),()=>C.delete(e))}}};return(0,c.s)(S,A),S}function w(e){return e.fulfill?e:{...e,fulfill:e}}function _(e,t){return e.__unstableNormalizeArgs&&"function"==typeof e.__unstableNormalizeArgs&&t?.length?e.__unstableNormalizeArgs(t):t}},66025(e,t,n){"use strict";n.d(t,{b:()=>r});var r=e=>t=>(n={},r)=>{const o=r[e];if(void 0===o)return n;const i=t(n[o],r);return i===n[o]?n:{...n,[o]:i}}},15883(e,t,n){"use strict";function r(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function o(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function i(e,t,n){return{type:"FAIL_RESOLUTION",selectorName:e,args:t,error:n}}function s(e,t){return{type:"START_RESOLUTIONS",selectorName:e,args:t}}function a(e,t){return{type:"FINISH_RESOLUTIONS",selectorName:e,args:t}}function l(e,t,n){return{type:"FAIL_RESOLUTIONS",selectorName:e,args:t,errors:n}}function c(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function u(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function d(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}n.r(t),n.d(t,{failResolution:()=>i,failResolutions:()=>l,finishResolution:()=>o,finishResolutions:()=>a,invalidateResolution:()=>c,invalidateResolutionForStore:()=>u,invalidateResolutionForStoreSelector:()=>d,startResolution:()=>r,startResolutions:()=>s})},99630(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(11011),o=n(66025),i=n(57749),s=(0,o.b)("selectorName")((e=new r,t)=>{switch(t.type){case"START_RESOLUTION":{const n=new r(e);return n.set((0,i.M)(t.args),{status:"resolving"}),n}case"FINISH_RESOLUTION":{const n=new r(e);return n.set((0,i.M)(t.args),{status:"finished"}),n}case"FAIL_RESOLUTION":{const n=new r(e);return n.set((0,i.M)(t.args),{status:"error",error:t.error}),n}case"START_RESOLUTIONS":{const n=new r(e);for(const e of t.args)n.set((0,i.M)(e),{status:"resolving"});return n}case"FINISH_RESOLUTIONS":{const n=new r(e);for(const e of t.args)n.set((0,i.M)(e),{status:"finished"});return n}case"FAIL_RESOLUTIONS":{const n=new r(e);return t.args.forEach((e,r)=>{const o={status:"error",error:void 0},s=t.errors[r];s&&(o.error=s),n.set((0,i.M)(e),o)}),n}case"INVALIDATE_RESOLUTION":{const n=new r(e);return n.delete((0,i.M)(t.args)),n}}return e}),a=(e={},t)=>{switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":if(t.selectorName in e){const{[t.selectorName]:n,...r}=e;return r}return e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"FAIL_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"FAIL_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return s(e,t);default:return e}}},73036(e,t,n){"use strict";n.r(t),n.d(t,{countSelectorsByStatus:()=>g,getCachedResolvers:()=>p,getIsResolving:()=>a,getResolutionError:()=>d,getResolutionState:()=>s,hasFinishedResolution:()=>c,hasResolutionFailed:()=>u,hasResolvingSelectors:()=>h,hasStartedResolution:()=>l,isResolving:()=>f});var r=n(66786),o=n(23537),i=n(57749);function s(e,t,n){const r=e[t];if(r)return r.get((0,i.M)(n))}function a(e,t,n){(0,r.A)("wp.data.select( store ).getIsResolving",{since:"6.6",version:"6.8",alternative:"wp.data.select( store ).getResolutionState"});const o=s(e,t,n);return o&&"resolving"===o.status}function l(e,t,n){return void 0!==s(e,t,n)}function c(e,t,n){const r=s(e,t,n)?.status;return"finished"===r||"error"===r}function u(e,t,n){return"error"===s(e,t,n)?.status}function d(e,t,n){const r=s(e,t,n);return"error"===r?.status?r.error:null}function f(e,t,n){return"resolving"===s(e,t,n)?.status}function p(e){return e}function h(e){return Object.values(e).some(e=>Array.from(e._map.values()).some(e=>"resolving"===e[1]?.status))}var g=(0,o.M)(e=>{const t={};return Object.values(e).forEach(e=>Array.from(e._map.values()).forEach(e=>{const n=e[1]?.status??"error";t[n]||(t[n]=0),t[n]++})),t},e=>[e])},57749(e,t,n){"use strict";function r(e){if(null==e)return[];const t=e.length;let n=t;for(;n>0&&void 0===e[n-1];)n--;return n===t?e:e.slice(0,n)}n.d(t,{M:()=>r})},21997(e,t,n){"use strict";function r(e){return()=>t=>n=>"function"==typeof n?n(e):t(n)}n.d(t,{A:()=>r})},32244(e,t,n){"use strict";n.d(t,{I:()=>c});var r=n(66786),o=n(9080),i=n(91117),s=n(36455),a=n(38521);function l(e){return"string"==typeof e?e:e.name}function c(e={},t=null){const n={},c=(0,s.z)();let u=null;function d(){c.emit()}function f(e,r){if(n[e])return console.error('Store "'+e+'" is already registered.'),n[e];const o=r();if("function"!=typeof o.getSelectors)throw new TypeError("store.getSelectors must be a function");if("function"!=typeof o.getActions)throw new TypeError("store.getActions must be a function");if("function"!=typeof o.subscribe)throw new TypeError("store.subscribe must be a function");o.emitter=(0,s.z)();const i=o.subscribe;if(o.subscribe=e=>{const t=o.emitter.subscribe(e),n=i(()=>{o.emitter.isPaused?o.emitter.emit():e()});return()=>{n?.(),t?.()}},n[e]=o,o.subscribe(d),t)try{(0,a.T)(o.store).registerPrivateActions((0,a.T)(t).privateActionsOf(e)),(0,a.T)(o.store).registerPrivateSelectors((0,a.T)(t).privateSelectorsOf(e))}catch{}return o}let p={batch:function(e){if(c.isPaused)e();else{c.pause(),Object.values(n).forEach(e=>e.emitter.pause());try{e()}finally{c.resume(),Object.values(n).forEach(e=>e.emitter.resume())}}},stores:n,namespaces:n,subscribe:(e,r)=>{if(!r)return c.subscribe(e);const o=l(r),i=n[o];return i?i.subscribe(e):t?t.subscribe(e,r):c.subscribe(e)},select:function(e){const r=l(e);u?.add(r);const o=n[r];return o?o.getSelectors():t?.select(r)},resolveSelect:function(e){const r=l(e);u?.add(r);const o=n[r];return o?o.getResolveSelectors():t&&t.resolveSelect(r)},suspendSelect:function(e){const r=l(e);u?.add(r);const o=n[r];return o?o.getSuspendSelectors():t&&t.suspendSelect(r)},dispatch:function(e){const r=l(e),o=n[r];return o?o.getActions():t&&t.dispatch(r)},use:function(e,t){if(!e)return;return p={...p,...e(p,t)},p},register:function(e){f(e.name,()=>e.instantiate(p))},registerGenericStore:function(e,t){(0,r.A)("wp.data.registerGenericStore",{since:"5.9",alternative:"wp.data.register( storeDescriptor )"}),f(e,()=>t)},registerStore:function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");return f(e,()=>(0,o.A)(e,t).instantiate(p)).store},__unstableMarkListeningStores:function(e,t){u=new Set;try{return e.call(this)}finally{t.current=Array.from(u),u=null}}};p.register(i.A);for(const[t,n]of Object.entries(e))p.register((0,o.A)(t,n));t&&t.subscribe(d);const h=(g=p,Object.fromEntries(Object.entries(g).map(([e,t])=>"function"!=typeof t?[e,t]:[e,(...t)=>p[e](...t)])));var g;return(0,a.s)(h,{privateActionsOf:e=>{try{return(0,a.T)(n[e].store).privateActions}catch{return{}}},privateSelectorsOf:e=>{try{return(0,a.T)(n[e].store).privateSelectors}catch{return{}}}}),h}},61584(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(e,t)=>()=>n=>r=>{const o=e.select(t).getCachedResolvers();return Object.entries(o).forEach(([n,o])=>{const i=e.stores[t]?.resolvers?.[n];if(!i||!i.shouldInvalidate)return;const{shouldInvalidate:s}=i;o.forEach((o,i)=>{void 0!==o&&("finished"!==o.status&&"error"!==o.status||s(r,...i)&&e.dispatch(t).invalidateResolution(n,i))})}),n(r)}},1113(e,t,n){"use strict";n.d(t,{L:()=>o});var r=n(38200);function o(e){return r.A.select(e)}},91117(e,t,n){"use strict";n.d(t,{A:()=>r});var r={name:"core/data",instantiate(e){const t=t=>(n,...r)=>e.select(n)[t](...r),n=t=>(n,...r)=>e.dispatch(n)[t](...r);return{getSelectors:()=>Object.fromEntries(["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].map(e=>[e,t(e)])),getActions:()=>Object.fromEntries(["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].map(e=>[e,n(e)])),subscribe:()=>()=>()=>{}}}}},36455(e,t,n){"use strict";function r(){let e=!1,t=!1;const n=new Set,r=()=>Array.from(n).forEach(e=>e());return{get isPaused(){return e},subscribe:e=>(n.add(e),()=>n.delete(e)),pause(){e=!0},resume(){e=!1,t&&(t=!1,r())},emit(){e?t=!0:r()}}}n.d(t,{z:()=>r})},66786(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(80471),o=Object.create(null);function i(e,t={}){const{since:n,version:i,alternative:s,plugin:a,link:l,hint:c}=t,u=`${e} is deprecated${n?` since version ${n}`:""}${i?` and will be removed${a?` from ${a}`:""} in version ${i}`:""}.${s?` Please use ${s} instead.`:""}${l?` See: ${l}`:""}${c?` Note: ${c}`:""}`;u in o||((0,r.Eo)("deprecated",e,t,u),console.warn(u),o[u]=!0)}},75101(e,t,n){"use strict";function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}n.d(t,{A:()=>r})},44099(e,t,n){"use strict";function r(e){const t=Array.from(e.files);return Array.from(e.items).forEach(e=>{const n=e.getAsFile();n&&!t.find(({name:e,type:t,size:r})=>e===n.name&&t===n.type&&r===n.size)&&t.push(n)}),t}n.d(t,{$:()=>r})},40121(e,t,n){"use strict";function r(e,t,n){if(e.caretPositionFromPoint){const r=e.caretPositionFromPoint(t,n);if(!r)return null;const o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}return e.caretRangeFromPoint?e.caretRangeFromPoint(t,n):null}n.d(t,{A:()=>r})},81179(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(20122),o=n(69166),i=n(73967),s=n(53299),a=n(33688),l=n(49629),c=()=>{};function u(e,t,n,d){Array.from(e).forEach(e=>{const f=e.nodeName.toLowerCase();if(!n.hasOwnProperty(f)||n[f].isMatch&&!n[f].isMatch?.(e))u(e.childNodes,t,n,d),d&&!(0,s.S)(e)&&e.nextElementSibling&&(0,a.A)(t.createElement("br"),e),(0,i.A)(e);else if((0,l.A)(e)){const{attributes:a=[],classes:l=[],children:p,require:h=[],allowEmpty:g}=n[f];if(p&&!g&&(0,r.A)(e))return void((0,s.S)(e)&&e.hasChildNodes()?(0,i.A)(e):(0,o.A)(e));if(e.hasAttributes()&&(Array.from(e.attributes).forEach(({name:t})=>{"class"===t||a.includes(t)||e.removeAttribute(t)}),e.classList&&e.classList.length)){const t=l.map(e=>"*"===e?()=>!0:"string"==typeof e?t=>t===e:e instanceof RegExp?t=>e.test(t):c);Array.from(e.classList).forEach(n=>{t.some(e=>e(n))||e.classList.remove(n)}),e.classList.length||e.removeAttribute("class")}if(e.hasChildNodes()){if("*"===p)return;if(p)h.length&&!e.querySelector(h.join(","))?(u(e.childNodes,t,n,d),(0,i.A)(e)):e.parentNode&&"BODY"===e.parentNode.nodeName&&(0,s.S)(e)?(u(e.childNodes,t,n,d),Array.from(e.childNodes).some(e=>!(0,s.S)(e))&&(0,i.A)(e)):u(e.childNodes,t,p,d);else for(;e.firstChild;)(0,o.A)(e.firstChild)}}})}},36590(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(7835),o=n(18218);function i(e){const t=e.getSelection();(0,o.e)(t,"selection");const n=t.rangeCount?t.getRangeAt(0):null;return n?(0,r.A)(n):null}},83691(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(60477),o=n(20408),i=n(82707);function s(e){return!!e.activeElement&&((0,o.A)(e.activeElement)||(0,r.A)(e.activeElement)||(0,i.A)(e))}},82707(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){(0,r.e)(e.defaultView,"doc.defaultView");const t=e.defaultView.getSelection();(0,r.e)(t,"selection");const n=t.rangeCount?t.getRangeAt(0):null;return!!n&&!n.collapsed}},27916(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(82707),o=n(89216);function i(e){return(0,r.A)(e)||!!e.activeElement&&(0,o.A)(e.activeElement)}},34550(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){return(0,r.e)(e.ownerDocument.defaultView,"element.ownerDocument.defaultView"),e.ownerDocument.defaultView.getComputedStyle(e)}},13590(e,t,n){"use strict";function r(e){const t=Array.from(e.getClientRects());if(!t.length)return;const n=Math.min(...t.map(({top:e})=>e));return Math.max(...t.map(({bottom:e})=>e))-n}n.d(t,{A:()=>r})},7835(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){if(!e.collapsed){const t=Array.from(e.getClientRects());if(1===t.length)return t[0];const n=t.filter(({width:e})=>e>1);if(0===n.length)return e.getBoundingClientRect();if(1===n.length)return n[0];let{top:r,bottom:o,left:i,right:s}=n[0];for(const{top:e,bottom:t,left:a,right:l}of n)e<r&&(r=e),t>o&&(o=t),a<i&&(i=a),l>s&&(s=l);return new window.DOMRect(i,r,s-i,o-r)}const{startContainer:t}=e,{ownerDocument:n}=t;if("BR"===t.nodeName){const{parentNode:o}=t;(0,r.e)(o,"parentNode");const i=Array.from(o.childNodes).indexOf(t);(0,r.e)(n,"ownerDocument"),(e=n.createRange()).setStart(o,i),e.setEnd(o,i)}const o=e.getClientRects();if(o.length>1)return null;if(1===o.length&&t.nodeType===t.TEXT_NODE&&e.startOffset>0&&e.startOffset<t.length){(0,r.e)(n,"ownerDocument");const o=(e,r)=>{const o=n.createRange();return o.setStart(t,e),o.setEnd(t,r),o.getBoundingClientRect()},i=o(e.startOffset-1,e.startOffset),s=o(e.startOffset,e.startOffset+1);if(i.bottom<=s.top)return null}let i=o[0];if(!i||0===i.height){(0,r.e)(n,"ownerDocument");const t=n.createTextNode("​");(e=e.cloneRange()).insertNode(t),i=e.getClientRects()[0],(0,r.e)(t.parentNode,"padNode.parentNode"),t.parentNode.removeChild(t)}return i}},95582(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(34550);function o(e,t="vertical"){if(e){if(("vertical"===t||"all"===t)&&e.scrollHeight>e.clientHeight){const{overflowY:t}=(0,r.A)(e);if(/(auto|scroll)/.test(t))return e}if(("horizontal"===t||"all"===t)&&e.scrollWidth>e.clientWidth){const{overflowX:t}=(0,r.A)(e);if(/(auto|scroll)/.test(t))return e}return e.ownerDocument===e.parentNode?e:o(e.parentNode,t)}}},26948(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(40121),o=n(34550);function i(e,t,n,i){const s=i.style.zIndex,a=i.style.position,l=i.style.borderRadius,{position:c="static"}=(0,o.A)(i);"static"===c&&(i.style.position="relative"),i.style.zIndex="10000",i.style.borderRadius="0";const u=(0,r.A)(e,t,n);return i.style.zIndex=s,i.style.position=a,i.style.borderRadius=l,u}},89216(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(60477),o=n(20408);function i(e){if(!(0,o.A)(e)&&!(0,r.A)(e))return!1;try{const{selectionStart:t,selectionEnd:n}=e;return null===t||t!==n}catch{return!0}}},33688(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e,t){(0,r.e)(t.parentNode,"referenceNode.parentNode"),t.parentNode.insertBefore(e,t.nextSibling)}},62160(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(46899),o=n(13590),i=n(7835),s=n(44835),a=n(26948),l=n(18218),c=n(97815),u=n(6717);function d(e,t,n=!1){if((0,c.A)(e)&&"number"==typeof e.selectionStart)return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;const{ownerDocument:d}=e,{defaultView:f}=d;(0,l.e)(f,"defaultView");const p=f.getSelection();if(!p||!p.rangeCount)return!1;const h=p.getRangeAt(0),g=h.cloneRange(),m=(0,s.A)(p),v=p.isCollapsed;v||g.collapse(!m);const b=(0,i.A)(g),y=(0,i.A)(h);if(!b||!y)return!1;const k=(0,o.A)(h);if(!v&&k&&k>b.height&&m===t)return!1;const x=(0,r.A)(e)?!t:t,w=e.getBoundingClientRect(),_=x?w.left+1:w.right-1,A=t?w.top+1:w.bottom-1,S=(A<0||A>f.innerHeight)&&y.top>=0&&y.bottom<=f.innerHeight,C=(_<0||_>f.innerWidth)&&y.left>=0&&y.right<=f.innerWidth;if(S||!n&&C)return!1;const E=(0,u.P)(e,t,()=>(0,a.A)(d,_,A,e));if(!E)return!1;const T=(0,i.A)(E);if(!T)return!1;const I=t?"top":"bottom",j=x?"left":"right",B=T[I]-y[I],N=T[j]-b[j],M=Math.abs(B)<=1,R=Math.abs(N)<=1;return n?M:M&&R}},49629(e,t,n){"use strict";function r(e){return!!e&&e.nodeType===e.ELEMENT_NODE}n.d(t,{A:()=>r})},20122(e,t,n){"use strict";function r(e){switch(e.nodeType){case e.TEXT_NODE:return/^[ \f\n\r\t\v\u00a0]*$/.test(e.nodeValue||"");case e.ELEMENT_NODE:return!e.hasAttributes()&&(!e.hasChildNodes()||Array.from(e.childNodes).every(r));default:return!0}}n.d(t,{A:()=>r})},72317(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(18218),o=n(97815);function i(e){if((0,o.A)(e))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;const t=e.textContent||"";if(""===t||"\ufeff"===t)return!0;const{ownerDocument:n}=e,{defaultView:i}=n;(0,r.e)(i,"defaultView");const a=i.getSelection();(0,r.e)(a,"selection");const l=a.rangeCount?a.getRangeAt(0):null;if(!l)return!0;const{startContainer:c,endContainer:u,startOffset:d,endOffset:f}=l;if(c===e&&u===e&&0===d&&f===e.childNodes.length)return!0;const p=e.lastChild;(0,r.e)(p,"lastChild");const h=u.nodeType===u.TEXT_NODE?u.data.length:u.childNodes.length;return s(c,e,"firstChild")&&s(u,e,"lastChild")&&0===d&&f===h}function s(e,t,n){let r=t;do{if(e===r)return!0;for(r=r[n];r&&r.nodeType===r.TEXT_NODE&&""===r.nodeValue;)r=r["lastChild"===n?"previousSibling":"nextSibling"]}while(r);return!1}},88502(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(97815);function o(e){if(!e)return!1;const{tagName:t}=e;return(0,r.A)(e)||"BUTTON"===t||"SELECT"===t}},72659(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(62160);function o(e,t){return(0,r.A)(e,t)}},20408(e,t,n){"use strict";function r(e){return"INPUT"===e?.nodeName}n.d(t,{A:()=>r})},97815(e,t,n){"use strict";function r(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}n.d(t,{A:()=>r})},46899(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(34550);function o(e){return"rtl"===(0,r.A)(e).direction}},44835(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){const{anchorNode:t,focusNode:n,anchorOffset:o,focusOffset:i}=e;(0,r.e)(t,"anchorNode"),(0,r.e)(n,"focusNode");const s=t.compareDocumentPosition(n);return!(s&t.DOCUMENT_POSITION_PRECEDING)&&(!!(s&t.DOCUMENT_POSITION_FOLLOWING)||(0!==s||o<=i))}},60477(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(20408);function o(e){return(0,r.A)(e)&&e.type&&!["button","checkbox","hidden","file","radio","image","range","reset","submit","number","email","time"].includes(e.type)||"TEXTAREA"===e.nodeName||"true"===e.contentEditable}},18789(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(62160);function o(e,t){return(0,r.A)(e,t,!0)}},57305(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(26948),o=n(18218),i=n(97815),s=n(46899),a=n(6717);function l(e,t,n){if(!e)return;if(e.focus(),(0,i.A)(e)){if("number"!=typeof e.selectionStart)return;return void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0))}if("true"!==e.contentEditable)return;const l=(0,a.P)(e,t,()=>function(e,t,n){const{ownerDocument:o}=e,i=(0,s.A)(e)?!t:t,a=e.getBoundingClientRect();void 0===n?n=t?a.right-1:a.left+1:n<=a.left?n=a.left+1:n>=a.right&&(n=a.right-1);const l=i?a.bottom-1:a.top+1;return(0,r.A)(o,n,l,e)}(e,t,n));if(!l)return;const{ownerDocument:c}=e,{defaultView:u}=c;(0,o.e)(u,"defaultView");const d=u.getSelection();(0,o.e)(d,"selection"),d.removeAllRanges(),d.addRange(l)}},75640(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(57305);function o(e,t){return(0,r.A)(e,t,void 0)}},92266(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(57305);function o(e,t,n){return(0,r.A)(e,t,n?.left)}},20994(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(81179);function o(e,t,n){const o=document.implementation.createHTMLDocument("");return o.body.innerHTML=e,(0,r.A)(o.body.childNodes,o,t,n),o.body.innerHTML}},69166(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){(0,r.e)(e.parentNode,"node.parentNode"),e.parentNode.removeChild(e)}},62473(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e,t){const n=e.ownerDocument.createElement(t);for(;e.firstChild;)n.appendChild(e.firstChild);return(0,r.e)(e.parentNode,"node.parentNode"),e.parentNode.replaceChild(n,e),n}},82494(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(18218),o=n(33688),i=n(69166);function s(e,t){(0,r.e)(e.parentNode,"processedNode.parentNode"),(0,o.A)(t,e.parentNode),(0,i.A)(e)}},38569(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69166);function o(e){const{body:t}=document.implementation.createHTMLDocument("");t.innerHTML=e;const n=t.getElementsByTagName("*");let o=n.length;for(;o--;){const e=n[o];if("SCRIPT"===e.tagName)(0,r.A)(e);else{let t=e.attributes.length;for(;t--;){const{name:n}=e.attributes[t];n.startsWith("on")&&e.removeAttribute(n)}}}return t.innerHTML}},6717(e,t,n){"use strict";function r(e,t,n){let r=n();return r&&r.startContainer&&e.contains(r.startContainer)||(e.scrollIntoView(t),r=n(),r&&r.startContainer&&e.contains(r.startContainer))?r:null}n.d(t,{P:()=>r})},15394(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(38569);function o(e){e=(0,r.A)(e);const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body.textContent||""}},73967(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e){const t=e.parentNode;for((0,r.e)(t,"node.parentNode");e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}},94034(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(18218);function o(e,t){(0,r.e)(t.parentNode,"referenceNode.parentNode"),t.parentNode.insertBefore(e,t),e.appendChild(t)}},39407(e,t,n){"use strict";function r(e){if("function"==typeof e.checkVisibility){if(!e.checkVisibility({visibilityProperty:!0}))return!1}else{const t=e.ownerDocument.defaultView?.getComputedStyle(e).visibility;if("hidden"===t||"collapse"===t)return!1}return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function o(e,{sequential:t=!1}={}){const n=e.querySelectorAll(function(e){return[e?'[tabindex]:not([tabindex^="-"])':"[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'iframe:not([tabindex^="-"])',"object","embed","summary","area[href]","[contenteditable]:not([contenteditable=false])"].join(",")}(t));return Array.from(n).filter(e=>{if(!r(e))return!1;if(e.closest("[inert]"))return!1;const{nodeName:t}=e;return"AREA"!==t||function(e){const t=e.closest("map[name]");if(!t)return!1;const n=e.ownerDocument.querySelector('img[usemap="#'+t.name+'"]');return!!n&&r(n)}(e)})}n.r(t),n.d(t,{find:()=>o})},98003(e,t,n){"use strict";n.d(t,{XC:()=>r});var r={focusable:n(39407),tabbable:n(18320)}},53299(e,t,n){"use strict";n.d(t,{S:()=>l,dA:()=>a,jw:()=>c});var r={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel","id"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}},o={audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","playsinline","autoplay","mediagroup","loop","muted","controls","width","height"]},math:{attributes:["display","xmlns"],children:"*"}},i=["#text","br","wbr"];Object.keys(r).filter(e=>!i.includes(e)).forEach(e=>{const{[e]:t,...n}=r;r[e].children={...n,img:o.img}});var s={...r,...o};function a(e){if("paste"!==e)return s;const{u:t,abbr:n,data:r,time:o,wbr:i,bdi:a,bdo:l,...c}={...s,ins:{children:s.ins.children},del:{children:s.del.children}};return c}function l(e){const t=e.nodeName.toLowerCase();return a().hasOwnProperty(t)||"span"===t}function c(e){const t=e.nodeName.toLowerCase();return r.hasOwnProperty(t)||"span"===t}},18320(e,t,n){"use strict";n.r(t),n.d(t,{find:()=>u,findNext:()=>f,findPrevious:()=>d,isTabbableIndex:()=>i});var r=n(39407);function o(e){const t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function i(e){return-1!==o(e)}function s(e,t){return{element:e,index:t}}function a(e){return e.element}function l(e,t){const n=o(e.element),r=o(t.element);return n===r?e.index-t.index:n-r}function c(e){return e.filter(i).map(s).sort(l).map(a).reduce(function(){const e={};return function(t,n){const{nodeName:r,type:o,checked:i,name:s}=n;if("INPUT"!==r||"radio"!==o||!s)return t.concat(n);const a=e.hasOwnProperty(s);if(!i&&a)return t;if(a){const n=e[s];t=t.filter(e=>e!==n)}return e[s]=n,t.concat(n)}}(),[])}function u(e){return c((0,r.find)(e))}function d(e){return c((0,r.find)(e.ownerDocument.body)).reverse().find(t=>e.compareDocumentPosition(t)&e.DOCUMENT_POSITION_PRECEDING)}function f(e){return c((0,r.find)(e.ownerDocument.body)).find(t=>e.compareDocumentPosition(t)&e.DOCUMENT_POSITION_FOLLOWING)}},18218(e,t,n){"use strict";function r(e,t){0}n.d(t,{e:()=>r})},95596(e,t,n){"use strict";n.d(t,{A:()=>h});var r,o,i,s,a=n(2376),l=/<(\/)?(\w+)\s*(\/)?>/g;function c(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}var u=e=>{const t="object"==typeof e&&null!==e,n=t&&Object.values(e);return t&&n.length>0&&n.every(e=>(0,a.isValidElement)(e))};function d(e){const t=function(){const e=l.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,o,i,s]=e,a=n.length;if(s)return["self-closed",i,t,a];if(o)return["closer",i,t,a];return["opener",i,t,a]}(),[n,u,d,h]=t,g=s.length,m=d>o?o:null;if(u&&!e[u])return f(),!1;switch(n){case"no-more-tokens":if(0!==g){const{leadingTextStart:e,tokenStart:t}=s.pop();i.push(r.substr(e,t))}return f(),!1;case"self-closed":return 0===g?(null!==m&&i.push(r.substr(m,d-m)),i.push(e[u]),o=d+h,!0):(p(c(e[u],d,h)),o=d+h,!0);case"opener":return s.push(c(e[u],d,h,d+h,m)),o=d+h,!0;case"closer":if(0===g)return globalThis.SCRIPT_DEBUG&&console.warn(`Unmatched closing tag '</${u}>' in createInterpolateElement. The rest of the string was not interpolated.`),f(),!1;if(1===g)return function(e){const{element:t,leadingTextStart:n,prevOffset:o,tokenStart:l,children:c}=s.pop(),u=e?r.substr(o,e-o):r.substr(o);u&&c.push(u);null!==n&&i.push(r.substr(n,l-n));i.push((0,a.cloneElement)(t,null,...c))}(d),o=d+h,!0;const t=s.pop(),n=r.substr(t.prevOffset,d-t.prevOffset);t.children.push(n),t.prevOffset=d+h;const l=c(t.element,t.tokenStart,t.tokenLength,d+h);return l.children=t.children,p(l),o=d+h,!0;default:return f(),!1}}function f(){const e=r.length-o;0!==e&&i.push(r.substr(o,e))}function p(e){const{element:t,tokenStart:n,tokenLength:o,prevOffset:i,children:l}=e,c=s[s.length-1],u=r.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push((0,a.cloneElement)(t,null,...l)),c.prevOffset=i||n+o}var h=function(e,t){if(r=e,o=0,i=[],s=[],l.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,a.createElement)(a.Fragment,null,...i)}},32557(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376);function o({children:e,...t}){let n="";return r.Children.toArray(e).forEach(e=>{"string"==typeof e&&""!==e.trim()&&(n+=e)}),(0,r.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...t})}},39546(e,t,n){"use strict";let r;n.d(t,{d5:()=>i,qX:()=>s});var o=n(45149),{createPortal:i,flushSync:s,findDOMNode:a,render:l,hydrate:c,unmountComponentAtNode:u}=(n(18950),r||(r=n.t(o,2)))},30621(e,t,n){"use strict";n.d(t,{Ay:()=>j});var r=n(97160),o=n(74572),i=n(44292),s=n(2376),a=n(32557),l=(0,s.createContext)(void 0);l.displayName="ElementContext";var{Provider:c,Consumer:u}=l,d=(0,s.forwardRef)(()=>null),f=(0,s.memo)(()=>null),p=new Set(["string","boolean","number"]),h=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),g=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),m=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),v=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function b(e,t){return t.some(t=>0===e.indexOf(t))}function y(e){return"key"===e||"children"===e}function k(e,t){return"style"===e?function(e){if(!(0,r.Q)(e))return e;let t;const n=e;for(const e in n){const r=n[e];if(null==r)continue;t?t+=";":t="";t+=S(e)+":"+C(e,r)}return t}(t):t}var x=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{}),w=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{}),_=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e),{});function A(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return w[t]?w[t]:x[t]?(0,o.c)(x[t]):_[t]?_[t]:t}function S(e){return e.startsWith("--")?e:b(e,["ms","O","Moz","Webkit"])?"-"+(0,o.c)(e):(0,o.c)(e)}function C(e,t){return"number"!=typeof t||0===t||b(e,["--"])||v.has(e)?t:t+"px"}function E(e,t,n={}){if(null==e||!1===e)return"";if(Array.isArray(e))return I(e,t,n);switch(typeof e){case"string":return(0,i.Zn)(e);case"number":return e.toString()}const{type:r,props:o}=e;switch(r){case s.StrictMode:case s.Fragment:return I(o.children,t,n);case a.A:const{children:e,...r}=o;return T(Object.keys(r).length?"div":null,{...r,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof r){case"string":return T(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?function(e,t,n,r={}){const o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());const i=E(o.render(),n,r);return i}(r,o,t,n):E(r(o,n),t,n)}switch(r&&r.$$typeof){case c.$$typeof:return I(o.children,o.value,n);case u.$$typeof:return E(o.children(t||r._currentValue),t,n);case d.$$typeof:return E(r.render(o),t,n);case f.$$typeof:return E((0,s.createElement)(r.type,o),t,n)}return""}function T(e,t,n,r={}){let o="";if("textarea"===e&&t.hasOwnProperty("value")){o=I(t.value,n,r);const{value:e,...i}=t;t=i}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=I(t.children,n,r));if(!e)return o;const s=function(e){let t="";for(const n in e){const r=A(n);if(!(0,i.i8)(r))continue;let o=k(n,e[n]);if(!p.has(typeof o))continue;if(y(n))continue;const s=g.has(r);if(s&&!1===o)continue;const a=s||b(n,["data-","aria-"])||m.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,s||("string"==typeof o&&(o=(0,i.Gj)(o)),t+='="'+o+'"'))}return t}(t);return h.has(e)?"<"+e+s+"/>":"<"+e+s+">"+o+"</"+e+">"}function I(e,t,n={}){let r="";const o=Array.isArray(e)?e:[e];for(let e=0;e<o.length;e++){r+=E(o[e],t,n)}return r}var j=E},3148(e,t,n){"use strict";n.d(t,{s:()=>r});var r=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},58876(e,t,n){"use strict";function r(e){return e.replace(/>/g,"&gt;")}n.d(t,{A:()=>r})},44292(e,t,n){"use strict";n.d(t,{Gj:()=>a,Zn:()=>l,i8:()=>u,jG:()=>c});var r=n(58876),o=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function i(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function s(e){return e.replace(/</g,"&lt;")}function a(e){return(0,r.A)(s(function(e){return e.replace(/"/g,"&quot;")}(i(e))))}function l(e){return s(i(e))}function c(e){return s(e.replace(/&/g,"&amp;"))}function u(e){return!o.test(e)}},21154(e,t,n){"use strict";n.d(t,{C:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(86198),a=n(93236),l="core/bold",c=(0,r.__)("Bold"),u={name:l,title:c,tagName:"strong",className:null,edit({isActive:e,value:t,onChange:n,onFocus:r,isVisible:u=!0}){function d(){n((0,o.Kt)(t,{type:l,title:c}))}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.aX,{type:"primary",character:"b",onUse:d}),u&&(0,a.jsx)(i.RD,{name:"bold",icon:s.A,title:c,onClick:function(){n((0,o.Kt)(t,{type:l,title:c})),r()},isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),(0,a.jsx)(i.EW,{inputType:"formatBold",onInput:d})]})}}},86244(e,t,n){"use strict";n.d(t,{a:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(98756),a=n(93236),l="core/code",c=(0,r.__)("Inline code"),u={name:l,title:c,tagName:"code",className:null,__unstableInputRule(e){const{start:t,text:n}=e;if("`"!==n[t-1])return e;if(t-2<0)return e;const r=n.lastIndexOf("`",t-2);if(-1===r)return e;const i=r,s=t-2;return i===s?e:(e=(0,o.TF)(e,i,i+1),e=(0,o.TF)(e,s,s+1),e=(0,o.Wc)(e,{type:l},i,s))},edit({value:e,onChange:t,onFocus:n,isActive:r}){function u(){t((0,o.Kt)(e,{type:l,title:c})),n()}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.aX,{type:"access",character:"x",onUse:u}),(0,a.jsx)(i.RD,{icon:s.A,title:c,onClick:u,isActive:r,role:"menuitemcheckbox"})]})}}},69562(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(21154),o=n(86244),i=n(24868),s=n(1235),a=n(72083),l=n(49298),c=n(30295),u=n(94200),d=n(86928),f=n(21831),p=n(67884),h=n(44277),g=n(50237),m=n(19769),v=n(83531),b=[r.C,o.a,i.S,s.T,a.n,l.o,c.V,u.h,d.i,f.L,p.Q,h.L,g.B,m.D,v.b]},24868(e,t,n){"use strict";n.d(t,{S:()=>y});var r=n(43192),o=n(37595),i=n(88149),s=n(58438),a=n(27308),l=n(9504),c=n(30226),u=n(18335),d=n(2376),f=n(4157),p=n(59070),h=n(93236),g=["image"],m="core/image",v=(0,u.__)("Inline image");function b(e){if(!e?.className)return;const[,t]=e.className.match(/wp-image-(\d+)/)??[];return t?parseInt(t,10):void 0}var y={name:m,title:v,keywords:[(0,u.__)("photo"),(0,u.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function({value:e,onChange:t,onFocus:n,isObjectActive:r,activeObjectAttributes:o,contentRef:i}){return(0,h.jsxs)(p.qJ,{children:[(0,h.jsx)(p.Q8,{allowedTypes:g,value:b(o),onSelect:({id:r,url:o,alt:i,width:s})=>{t((0,f.PE)(e,{type:m,attributes:{className:`wp-image-${r}`,style:`width: ${Math.min(s,150)}px;`,url:o,alt:i}})),n()},render:({open:e})=>(0,h.jsx)(p.RD,{icon:a.A,title:r?(0,u.__)("Replace image"):v,onClick:e,isActive:r})}),r&&(0,h.jsx)(k,{value:e,onChange:t,activeObjectAttributes:o,contentRef:i})]})}};function k({value:e,onChange:t,activeObjectAttributes:n,contentRef:a}){const p=n?.style,g=n?.alt,v=p?.replace(/\D/g,""),[b,k]=(0,d.useState)(v),[x,w]=(0,d.useState)(g),_=b!==v||x!==g,A=(0,f.d6)({editableContentElement:a.current,settings:y});return(0,h.jsx)(i.Ay,{focusOnMount:!1,anchor:A,className:"block-editor-format-toolbar__image-popover",children:(0,h.jsx)("form",{className:"block-editor-format-toolbar__image-container-content",onSubmit:r=>{const o=e.replacements.slice();o[e.start]={type:m,attributes:{...n,style:b?`width: ${b}px;`:"",alt:x??""}},t({...e,replacements:o}),r.preventDefault()},children:(0,h.jsxs)(l.B,{direction:"column",gap:"lg",children:[(0,h.jsx)(o.A,{label:(0,u.__)("Width"),value:b,min:1,onChange:e=>{k(e)}}),(0,h.jsx)(s.A,{label:(0,u.__)("Alternative text"),value:x??"",onChange:e=>{w(e)},help:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(c.N,{openInNewTab:!0,href:
242 // translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations.
243 // translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations.
244 (0,u.__)("https://www.w3.org/WAI/tutorials/images/decision-tree/"),children:(0,u.__)("Describe the purpose of the image.")}),(0,h.jsx)("br",{}),(0,u.__)("Leave empty if decorative.")]})}),(0,h.jsx)(l.B,{justify:"right",children:(0,h.jsx)(r.A,{disabled:!_,accessibleWhenDisabled:!0,variant:"primary",type:"submit",size:"compact",children:(0,u.__)("Apply")})})]})})})}},78382(e,t,n){"use strict";var r=n(4157);n(69562).A.forEach(({name:e,...t})=>(0,r.DE)(e,t))},1235(e,t,n){"use strict";n.d(t,{T:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(74151),a=n(93236),l="core/italic",c=(0,r.__)("Italic"),u={name:l,title:c,tagName:"em",className:null,edit({isActive:e,value:t,onChange:n,onFocus:r,isVisible:u=!0}){function d(){n((0,o.Kt)(t,{type:l,title:c}))}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.aX,{type:"primary",character:"i",onUse:d}),u&&(0,a.jsx)(i.RD,{name:"italic",icon:s.A,title:c,onClick:function(){n((0,o.Kt)(t,{type:l,title:c})),r()},isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),(0,a.jsx)(i.EW,{inputType:"formatItalic",onInput:d})]})}}},67884(e,t,n){"use strict";n.d(t,{Q:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(11083),a=n(93236),l="core/keyboard",c=(0,r.__)("Keyboard input"),u={name:l,title:c,tagName:"kbd",className:null,edit:({isActive:e,value:t,onChange:n,onFocus:r})=>(0,a.jsx)(i.RD,{icon:s.A,title:c,onClick:function(){n((0,o.Kt)(t,{type:l,title:c})),r()},isActive:e,role:"menuitemcheckbox"})}},50237(e,t,n){"use strict";n.d(t,{B:()=>m});var r=n(18335),o=n(59070),i=n(43192),s=n(88149),a=n(69919),l=n(13533),c=n(9504),u=n(2376),d=n(4157),f=n(12949),p=n(93236),h="core/language",g=(0,r.__)("Language"),m={name:h,title:g,tagName:"bdo",className:null,attributes:{lang:"lang",dir:"dir"},edit:function({isActive:e,value:t,onChange:n,contentRef:r}){const[i,s]=(0,u.useState)(!1),a=()=>{s(e=>!e)};return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(o.RD,{icon:f.A,label:g,title:g,onClick:()=>{e?n((0,d.k2)(t,h)):a()},isActive:e,role:"menuitemcheckbox"}),i&&(0,p.jsx)(v,{value:t,onChange:n,onClose:a,contentRef:r})]})}};function v({value:e,contentRef:t,onChange:n,onClose:o}){const f=(0,d.d6)({editableContentElement:t.current,settings:m}),[v,b]=(0,u.useState)(""),[y,k]=(0,u.useState)("ltr");return(0,p.jsx)(s.Ay,{className:"block-editor-format-toolbar__language-popover",anchor:f,onClose:o,children:(0,p.jsxs)(c.B,{render:(0,p.jsx)("form",{}),direction:"column",gap:"lg",className:"block-editor-format-toolbar__language-container-content",onSubmit:t=>{t.preventDefault(),n((0,d.Wc)(e,{type:h,attributes:{lang:v,dir:y}})),o()},children:[(0,p.jsx)(l.A,{label:g,value:v,onChange:e=>b(e),help:(0,r.__)('A valid language attribute, like "en" or "fr".')}),(0,p.jsx)(a.A,{label:(0,r.__)("Text direction"),value:y,options:[{label:(0,r.__)("Left to right"),value:"ltr"},{label:(0,r.__)("Right to left"),value:"rtl"}],onChange:e=>k(e)}),(0,p.jsx)(c.B,{justify:"right",children:(0,p.jsx)(i.A,{__next40pxDefaultSize:!0,variant:"primary",type:"submit",text:(0,r.__)("Apply")})})]})})}},68926(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(2376),o=n(41740),i=n(18335),s=n(43715),a=n(16006),l=n(81436),c=n(9504),u=n(93236),d=({setting:e,value:t,onChange:n})=>{const f=!!t?.cssClasses?.length,[p,h]=(0,r.useState)(f),g=`css-classes-setting-${(0,o.A)(d)}`,m=r=>{const o="string"==typeof r?r.replace(/,/g," ").replace(/\s+/g," ").trim():r;n({...t,[e.id]:o})};return(0,u.jsxs)("fieldset",{children:[(0,u.jsx)(l.s,{render:(0,u.jsx)("legend",{}),children:e.title}),(0,u.jsxs)(c.B,{direction:"column",gap:"md",children:[(0,u.jsx)(s.A,{label:e.title,onChange:()=>{p?(f&&m(""),h(!1)):h(!0)},checked:p||f,"aria-expanded":p,"aria-controls":p?g:void 0}),p&&(0,u.jsx)("div",{id:g,children:(0,u.jsx)(a.Ay,{label:(0,i.__)("CSS classes"),value:t?.cssClasses,onChange:m,help:(0,i.__)("Separate multiple classes with spaces."),__unstableInputWidth:"100%"})})]})]})},f=d},72083(e,t,n){"use strict";n.d(t,{n:()=>b});var r=n(18335),o=n(2376),i=n(4157),s=n(11462),a=n(82249),l=n(277),c=n(59070),u=n(28520),d=n(27767),f=n(36331),p=n(27550),h=n(67672),g=n(93236),m="core/link",v=(0,r.__)("Link");var b={name:m,title:v,tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",_id:"id",target:"target",rel:"rel",class:"class"},__unstablePasteRule(e,{html:t,plainText:n}){const r=(t||n).replace(/<[^>]+>/g,"").trim();if(!(0,s.m)(r)||!/^https?:/.test(r))return e;window.console.log("Created link:\n\n",r);const o={type:m,attributes:{url:(0,u.S)(r)}};return(0,i.kW)(e)?(0,i.Yr)(e,(0,i.Wc)((0,i.vt)({text:n}),o,0,n.length)):(0,i.Wc)(e,o)},edit:function({isActive:e,activeAttributes:t,value:n,onChange:u,onFocus:b,contentRef:y,isVisible:k=!0}){const[x,w]=(0,o.useState)(!1),[_,A]=(0,o.useState)(null);function S(t){const r=(0,i.rf)((0,i.di)(n));!e&&r&&(0,s.m)(r)&&(0,h.wr)(r)?u((0,i.Wc)(n,{type:m,attributes:{url:r}})):!e&&r&&(0,a.x)(r)?u((0,i.Wc)(n,{type:m,attributes:{url:`mailto:${r}`}})):!e&&r&&(0,l.I)(r)?u((0,i.Wc)(n,{type:m,attributes:{url:`tel:${r.replace(/\D/g,"")}`}})):(t&&A({el:t,action:null}),w(!0))}(0,o.useEffect)(()=>{e||w(!1)},[e]),(0,o.useLayoutEffect)(()=>{const t=y.current;if(t)return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)};function n(t){const n=t.target.closest("[contenteditable] a");n&&e&&(w(!0),A({el:n,action:"click"}))}},[y,e]);const C=!("A"===_?.el?.tagName&&"click"===_?.action),E=!(0,i.kW)(n);return(0,g.jsxs)(g.Fragment,{children:[E&&(0,g.jsx)(c.aX,{type:"primary",character:"k",onUse:S}),(0,g.jsx)(c.aX,{type:"primaryShift",character:"k",onUse:function(){u((0,i.k2)(n,m)),(0,f.L)((0,r.__)("Link removed."),"assertive")}}),k&&(0,g.jsx)(c.RD,{name:"link",icon:d.A,title:e?(0,r.__)("Link"):v,onClick:e=>{S(e.currentTarget)},isActive:e||x,shortcutType:"primary",shortcutCharacter:"k","aria-haspopup":"true","aria-expanded":x}),k&&x&&(0,g.jsx)(p.A,{stopAddingLink:function(){w(!1),"BUTTON"===_?.el?.tagName?_.el.focus():b(),A(null)},onFocusOutside:function(){w(!1),A(null)},isActive:e,activeAttributes:t,value:n,onChange:u,contentRef:y,focusOnMount:!!C&&"firstElement"})]})}}},27550(e,t,n){"use strict";n.d(t,{A:()=>b});var r=n(2376),o=n(95596),i=n(18335),s=n(36331),a=n(88149),l=n(39242),c=n(4157),u=n(59070),d=n(79027),f=n(19623),p=n(67672),h=n(72083),g=n(68926),m=n(93236),v=[...u.mF.DEFAULT_LINK_SETTINGS,{id:"nofollow",title:(0,i.__)("Mark as nofollow")},{id:"cssClasses",title:(0,i.__)("Additional CSS class(es)"),render:(e,t,n)=>(0,m.jsx)(g.A,{setting:e,value:t,onChange:n})}];var b=function({isActive:e,activeAttributes:t,value:n,onChange:g,onFocusOutside:b,stopAddingLink:y,contentRef:k,focusOnMount:x}){const w=function(e,t){let n=e.start,r=e.end;if(t){const t=(0,p.yp)(e,{type:"core/link"});n=t.start??e.start,r=t.end??e.end}return(0,c.di)(e,n,r)}(n,e).text,{selectionChange:_}=(0,d.A)(u.M_),{createPageEntity:A,userCanCreatePages:S,selectionStart:C}=(0,f.A)(e=>{const{getSettings:t,getSelectionStart:n}=e(u.M_),r=t();return{createPageEntity:r.__experimentalCreatePageEntity,userCanCreatePages:r.__experimentalUserCanCreatePages,selectionStart:n()}},[]),E=(0,r.useMemo)(()=>({url:t.url,type:t.type,id:t.id,opensInNewTab:"_blank"===t.target,nofollow:t.rel?.includes("nofollow"),title:w,cssClasses:t.class}),[t.class,t.id,t.rel,t.target,t.type,t.url,w]),T={...h.n,isActive:e},I=(0,c.d6)({editableContentElement:k.current,settings:T});return(0,m.jsx)(a.Ay,{anchor:I,animate:!1,onClose:y,onFocusOutside:b,placement:"bottom",offset:8,shift:!0,focusOnMount:x,constrainTabbing:!0,children:(0,m.jsx)(u.mF,{value:E,onChange:function(t){const r=E?.url,o=!r;t={...E,...t};const a=(0,l.i)(t?.url??""),u=(0,p.Gp)({url:a,type:t.type,id:void 0!==t.id&&null!==t.id?String(t.id):void 0,opensInNewWindow:t.opensInNewTab,nofollow:t.nofollow,cssClasses:t.cssClasses}),d=t.title||a;let f;if((0,c.kW)(n)&&!e){const e=(0,c.Yr)(n,d);return f=(0,c.Wc)(e,u,n.start,n.start+d.length),g(f),y(),void _({clientId:C.clientId,identifier:C.attributeKey,start:n.start+d.length+1})}if(d===w){const e=(0,p.yp)(n,{type:"core/link"});f=(0,c.Wc)(n,u,e.start,e.end)}else{f=(0,c.vt)({text:d}),f=(0,c.Wc)(f,u,0,d.length);const e=(0,p.yp)(n,{type:"core/link"}),t=(0,c.lD)(n,e.start,e.start);if(!t)return;const[r,o]=t,i=(0,c.HC)(o,w,f);f=(0,c.xW)(r,i)}g(f),o||y(),(0,p.wr)(a)?e?(0,s.L)((0,i.__)("Link edited."),"assertive"):(0,s.L)((0,i.__)("Link inserted."),"assertive"):(0,s.L)((0,i.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")},onRemove:function(){const e=(0,c.k2)(n,"core/link");g(e),y(),(0,s.L)((0,i.__)("Link removed."),"assertive")},hasRichPreviews:!0,createSuggestion:A&&async function(e){const t=await A({title:e,status:"draft"});return{id:t.id,type:t.type,title:t.title.rendered,url:t.link,kind:"post-type"}},withCreateSuggestion:S,createSuggestionButtonText:function(e){return(0,o.A)((0,i.nv)(
245 /* translators: %s: search term. */
246 /* translators: %s: search term. */
247 (0,i.__)("Create page: <mark>%s</mark>"),e),{mark:(0,m.jsx)("mark",{})})},hasTextControl:!0,settings:v,showInitialSuggestions:!0,suggestionsQuery:{initialSuggestionsSearchOptions:{type:"post",subtype:"page",perPage:20}}})})}},67672(e,t,n){"use strict";n.d(t,{Gp:()=>h,wr:()=>p,yp:()=>g});var r=n(89123),o=n(66880),i=n(56838),s=n(92367),a=n(64746),l=n(37669),c=n(43345),u=n(88906),d=n(56935),f=n(14464);function p(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,r.J)(t);if(!e||!(0,o.v)(e))return!1;if(e.startsWith("http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const n=(0,i.M)(t);if(!n||!(0,s.W)(n))return!1;const p=(0,a.Y)(t);if(p&&!(0,l.o)(p))return!1;const h=(0,c.e)(t);if(h&&!(0,u._)(h))return!1;const g=(0,d.h)(t);if(g&&!(0,f.R)(g))return!1}return!(t.startsWith("#")&&!(0,f.R)(t))}function h({url:e,type:t,id:n,opensInNewWindow:r,nofollow:o,cssClasses:i}){const s={type:"core/link",attributes:{url:e}};t&&(s.attributes.type=t),n&&(s.attributes.id=n),r&&(s.attributes.target="_blank",s.attributes.rel=s.attributes.rel?s.attributes.rel+" noopener":"noopener"),o&&(s.attributes.rel=s.attributes.rel?s.attributes.rel+" nofollow":"nofollow");const a=i?.trim();return a?.length&&(s.attributes.class=a),s}function g(e,t,n=e.start,r=e.end){const o={start:void 0,end:void 0},{formats:i}=e;let s,a;if(!i?.length)return o;const l=i.slice(),c=l[n]?.find(({type:e})=>e===t.type),u=l[r]?.find(({type:e})=>e===t.type),d=l[r-1]?.find(({type:e})=>e===t.type);if(c)s=c,a=n;else if(u)s=u,a=r;else{if(!d)return o;s=d,a=r-1}const f=l[a].indexOf(s);return{start:n=(n=v(l,a,s,f))<0?0:n,end:(r=b(l,a,s,f))+1}}function m(e,t,n,r,o){let i=t;const s={forwards:1,backwards:-1}[o]||1,a=-1*s;for(;e[i]&&e[i][r]===n;)i+=s;return i+=a,i}var v=(...e)=>m(...e,"backwards"),b=(...e)=>m(...e,"forwards")},19769(e,t,n){"use strict";n.d(t,{D:()=>h});var r=n(18335),o=n(2376),i=n(4157),s=n(59070),a=n(88149),l=n(94720),c=n(75061),u=n(93236),d="core/math",f=(0,r.__)("Math");function p({value:e,onChange:t,activeAttributes:n,contentRef:s,latexToMathML:c}){const[f,p]=(0,o.useState)(n?.["data-latex"]||""),[g,m]=(0,o.useState)(null),v=(0,o.useRef)(null),b=(0,i.d6)({editableContentElement:s.current,settings:h});return(0,u.jsx)(a.Ay,{placement:"bottom-start",offset:8,focusOnMount:!1,anchor:b,onFocusOutside:()=>v.current?.reportValidity(),className:"block-editor-format-toolbar__math-popover",children:(0,u.jsx)("form",{ref:v,style:{minWidth:"300px",padding:"4px"},onSubmit:e=>e.preventDefault(),children:(0,u.jsx)(l.Q,{hideLabelFromVision:!0,label:(0,r.__)("LaTeX math syntax"),value:f,customValidity:g?{type:"invalid",message:g}:void 0,onValueChange:n=>{p(n);let o="";if(n&&c)try{o=c(n,{displayMode:!1}),m(null)}catch(e){m(e instanceof Error?e.message:(0,r.__)("Could not parse the LaTeX math syntax."))}else m(null);const i=e.replacements.slice();i[e.start]={type:d,attributes:{"data-latex":n},innerHTML:o},t({...e,replacements:i})},placeholder:(0,r.__)("e.g., x^2, \\frac{a}{b}"),autoComplete:"off",className:"block-editor-format-toolbar__math-input"})})})}var h={name:d,title:f,tagName:"math",className:null,attributes:{"data-latex":"data-latex"},contentEditable:!1,edit:function({value:e,onChange:t,onFocus:r,isObjectActive:a,activeObjectAttributes:l,contentRef:h}){const[g,m]=(0,o.useState)();return(0,o.useEffect)(()=>{Promise.resolve().then(()=>n.t(26068,19)).then(e=>{m(()=>e.default)})},[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.RD,{icon:c.A,title:f,onClick:function(){let n;if(a){const t=l?.["data-latex"]||"";n=(0,i.Yr)(e,t),n.start=n.end-t.length}else{const t=(0,i.rf)((0,i.di)(e));let r="";if(t&&g)try{r=g(t,{displayMode:!1})}catch{}n=(0,i.PE)(e,{type:d,attributes:{"data-latex":t},innerHTML:r}),n.start=n.end-1}t(n),r()},isActive:a}),a&&(0,u.jsx)(p,{value:e,onChange:t,activeAttributes:l,contentRef:h,latexToMathML:g})]})}}},83531(e,t,n){"use strict";n.d(t,{b:()=>d});var r=n(18335),o=n(4157),i=n(59070),s=n(88149),a=n(93236),l="core/non-breaking-space",c=(0,r.__)("Non breaking space");function u({contentRef:e}){const t=(0,o.d6)({editableContentElement:e.current,settings:d});return(0,a.jsx)(s.Ay,{anchor:t,children:(0,a.jsx)("div",{style:{whiteSpace:"nowrap",padding:"4px"},children:(0,r.__)("Non-breaking space")})})}var d={name:l,title:c,tagName:"span",className:"non-breaking-space",edit({value:e,onChange:t,contentRef:n}){const r=e.start&&e.end?e.text.slice(e.start,e.end):null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.aX,{type:"primaryShift",character:" ",onUse:function(){t((0,o.Yr)(e," "))}})," "===r&&(0,a.jsx)(u,{contentRef:n})]})},__experimentalCreatePrepareEditableTree:()=>(e,t)=>{let n={formats:e,text:t},r=-1;do{r=t.indexOf(" ",r+1),-1!==r&&(n=(0,o.Wc)(n,{type:l},r,r+1))}while(-1!==r);return n.formats}}},49298(e,t,n){"use strict";n.d(t,{o:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(2536),a=n(93236),l="core/strikethrough",c=(0,r.__)("Strikethrough"),u={name:l,title:c,tagName:"s",className:null,edit({isActive:e,value:t,onChange:n,onFocus:r}){function u(){n((0,o.Kt)(t,{type:l,title:c})),r()}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.aX,{type:"access",character:"d",onUse:u}),(0,a.jsx)(i.RD,{icon:s.A,title:c,onClick:u,isActive:e,role:"menuitemcheckbox"})]})}}},86928(e,t,n){"use strict";n.d(t,{i:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(54618),a=n(93236),l="core/subscript",c=(0,r.__)("Subscript"),u={name:l,title:c,tagName:"sub",className:null,edit:({isActive:e,value:t,onChange:n,onFocus:r})=>(0,a.jsx)(i.RD,{icon:s.A,title:c,onClick:function(){n((0,o.Kt)(t,{type:l,title:c})),r()},isActive:e,role:"menuitemcheckbox"})}},21831(e,t,n){"use strict";n.d(t,{L:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(9693),a=n(93236),l="core/superscript",c=(0,r.__)("Superscript"),u={name:l,title:c,tagName:"sup",className:null,edit:({isActive:e,value:t,onChange:n,onFocus:r})=>(0,a.jsx)(i.RD,{icon:s.A,title:c,onClick:function(){n((0,o.Kt)(t,{type:l,title:c})),r()},isActive:e,role:"menuitemcheckbox"})}},94200(e,t,n){"use strict";n.d(t,{Y:()=>f,h:()=>v});var r=n(18335),o=n(2376),i=n(59070),s=n(13109),a=n(14532),l=n(24100),c=n(4157),u=n(43287),d=n(93236),f="rgba(0, 0, 0, 0)",p="core/text-color",h=(0,r.__)("Highlight"),g=[];function m(e,t){const{ownerDocument:n}=e,{defaultView:r}=n,o=r?.getComputedStyle(e),i=o?.getPropertyValue(t);return"background-color"===t&&i===f&&e.parentElement?m(e.parentElement,t):i}var v={name:p,title:h,tagName:"mark",className:"has-inline-color",attributes:{style:"style",class:"class"},edit:function({value:e,onChange:t,isActive:n,activeAttributes:r,contentRef:v}){const[b,y=g]=(0,i.t0)("color.custom","color.palette"),[k,x]=(0,o.useState)(!1),w=(0,o.useMemo)(()=>function(e,{color:t,backgroundColor:n}){if(e&&(t||n))return{color:t||m(e,"color"),backgroundColor:n===f?m(e,"background-color"):n}}(v.current,(0,u.BI)(e,p,y)),[v,e,y]),_=!!y.length||b;return _||n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.RD,{className:"format-library-text-color-button",isActive:n,icon:(0,d.jsx)(s.A,{icon:Object.keys(r).length?l.A:a.A,style:w}),title:h,onClick:_?()=>x(!0):()=>t((0,c.k2)(e,p)),role:"menuitemcheckbox"}),k&&(0,d.jsx)(u.Ay,{name:p,onClose:()=>x(!1),value:e,onChange:t,contentRef:v,isActive:n})]}):null}}},43287(e,t,n){"use strict";n.d(t,{Ay:()=>v,BI:()=>g});var r=n(2376),o=n(19623),i=n(4157),s=n(59070),a=n(88149),l=n(26068),c=n(18335),u=n(94200),d=n(93236),f=[{name:"color",title:(0,c.__)("Text")},{name:"backgroundColor",title:(0,c.__)("Background")}];function p(e=""){return e.split(";").reduce((e,t)=>{if(t){const[n,r]=t.split(":");"color"===n&&(e.color=r),"background-color"===n&&r!==u.Y&&(e.backgroundColor=r)}return e},{})}function h(e="",t){return e.split(" ").reduce((e,n)=>{if(n.startsWith("has-")&&n.endsWith("-color")){const r=n.replace(/^has-/,"").replace(/-color$/,""),o=(0,s.MK)(t,r);e.color=o.color}return e},{})}function g(e,t,n){const r=(0,i.SX)(e,t);return r?{...p(r.attributes?.style),...h(r.attributes?.class,n)}:{}}function m({name:e,property:t,value:n,onChange:a}){const l=(0,o.A)(e=>{const{getSettings:t}=e(s.M_);return t().colors??[]},[]),c=(0,r.useMemo)(()=>g(n,e,l),[e,n,l]);return(0,d.jsx)(s.rE,{value:c[t],onChange:r=>{a(function(e,t,n,r){const{color:o,backgroundColor:a}={...g(e,t,n),...r};if(!o&&!a)return(0,i.k2)(e,t);const l=[],c=[],d={};if(a?l.push(["background-color",a].join(":")):l.push(["background-color",u.Y].join(":")),o){const e=(0,s.cr)(n,o);if(e&&e.slug){const t=(0,s.tQ)("color",e.slug);t&&c.push(t)}else l.push(["color",o].join(":"))}return l.length&&(d.style=l.join(";")),c.length&&(d.class=c.join(" ")),(0,i.Wc)(e,{type:t,attributes:d})}(n,e,l,{[t]:r}))},enableAlpha:!0,__experimentalIsRenderedInSidebar:!0})}function v({name:e,value:t,onChange:n,onClose:r,contentRef:o,isActive:s}){const c={...u.h,isActive:s},p=(0,i.d6)({editableContentElement:o.current,settings:c});return(0,d.jsx)(a.Ay,{onClose:r,className:"format-library__inline-color-popover",anchor:p,children:(0,d.jsxs)(l.Root,{defaultValue:f[0].name,children:[(0,d.jsx)(l.List,{children:f.map(e=>(0,d.jsx)(l.Tab,{value:e.name,children:e.title},e.name))}),f.map(r=>(0,d.jsx)(l.Panel,{value:r.name,tabIndex:-1,children:(0,d.jsx)(m,{name:e,property:r.name,value:t,onChange:n})},r.name))]})})}},30295(e,t,n){"use strict";n.d(t,{V:()=>c});var r=n(18335),o=n(4157),i=n(59070),s=n(93236),a="core/underline",l=(0,r.__)("Underline"),c={name:a,title:l,tagName:"span",className:null,attributes:{style:"style"},edit({value:e,onChange:t}){const n=()=>{t((0,o.Kt)(e,{type:a,attributes:{style:"text-decoration: underline;"},title:l}))};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.aX,{type:"primary",character:"u",onUse:n}),(0,s.jsx)(i.EW,{inputType:"formatUnderline",onInput:n})]})}}},44277(e,t,n){"use strict";n.d(t,{L:()=>u});var r=n(18335),o=n(4157),i=n(59070),s=n(114),a=n(93236),l="core/unknown",c=(0,r.__)("Clear Unknown Formatting");var u={name:l,title:c,tagName:"*",className:null,edit({isActive:e,value:t,onChange:n,onFocus:r}){if(!e&&!function(e){return!(0,o.kW)(e)&&(0,o.di)(e).formats.some(e=>e.some(e=>e.type===l))}(t))return null;return(0,a.jsx)(i.RD,{name:"unknown",icon:s.A,title:c,onClick:function(){n((0,o.k2)(t,l)),r()},isActive:!0})}}},60602(e,t,n){"use strict";n.d(t,{q:()=>s});var r=n(93764),o=n(97160),i=n(16410);function s(e,t){return r((0,i.k)(e),(0,i.k)(t),{isMergeableObject:o.Q,customMerge:e=>{if("backgroundImage"===e)return(e,t)=>t??e}})}},75046(e,t,n){"use strict";n.d(t,{BO:()=>B,gm:()=>j,yG:()=>I});var r=n(87761),o=n(77553),i=n(69099),s=n(1113),a=n(72267),l=n(7336),c=n(7731),u=n(31355),d=n(48472),f=n(17436),p=n(34022),h=n(60233),g=n(14694),m=n(16410),v={button:"wp-element-button",caption:"wp-element-caption"},b={__experimentalBorder:"border",color:"color",dimensions:"dimensions",spacing:"spacing",typography:"typography"},y={"core/button":[":hover",":focus",":focus-visible",":active"],"core/navigation-link":[":hover",":focus",":focus-visible",":active"]},k={link:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],button:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"]};function x(e={},t="",n,s={},l=!1){const d=a.B4===t,p=Object.entries(r.RY).reduce((t,[r,{value:o,properties:s,useEngine:a,rootOnly:l}])=>{if(l&&!d)return t;const c=o;if("elements"===c[0]||a)return t;const f=(0,h.K)(e,c);if("--wp--style--root--padding"===r&&("string"==typeof f||!n))return t;if(s&&"string"!=typeof f)Object.entries(s).forEach(e=>{const[n,r]=e;if(!(0,h.K)(f,[r],!1))return;const o=n.startsWith("--")?n:(0,u.k)(n);t.push(`${o}: ${(0,i.k5)((0,h.K)(f,[r]))}`)});else if((0,h.K)(e,c,!1)){const n=r.startsWith("--")?r:(0,u.k)(r);t.push(`${n}: ${(0,i.k5)((0,h.K)(e,c))}`)}return t},[]);e.background&&(e.background?.backgroundImage&&(e.background.backgroundImage=(0,a.y_)(e.background.backgroundImage,s)),!d&&e.background?.backgroundImage?.id&&(e={...e,background:{...e.background,...(0,f.g)(e.background)}}));return(0,o.np)(e).forEach(e=>{if(d&&(n||l)&&e.key.startsWith("padding"))return;const t=e.key.startsWith("--")?e.key:(0,u.k)(e.key);let r=(0,a.y_)(e.value,s);"font-size"===t&&(r=(0,c.j)({name:"",slug:"",size:r},s?.settings)),"aspect-ratio"===t&&p.push("min-height: unset"),p.push(`${t}: ${r}`)}),p}var w=["border","color","dimensions","spacing","typography","filter","outline","shadow","background"];function _(e,t,n){if(!e)return{};const r=Object.entries(e),o=t?y[t]??[]:[],i=r.filter(([e])=>w.includes(e)||o.includes(e)||n[e]).map(([e,t])=>[e,JSON.parse(JSON.stringify(t))]);return Object.fromEntries(i)}function A(e){const{styles:t,selector:n,featureSelectors:r,name:o,elementName:i,mediaQuery:s,variationName:a}=e,l=o?y[o]??[]:k[i??""]??[];return l.length?l.flatMap(e=>{const l=t?.[e];return l&&"object"==typeof l?[{styles:JSON.parse(JSON.stringify(l)),selector:n,selectorSuffix:e,mediaQuery:s,featureSelectors:r&&"string"!=typeof r?r:void 0,name:o,elementName:i,variationName:a}]:[]}):[]}function S(e,t){const n={...e?.elements??{}};return Object.keys(t).forEach(t=>{Object.entries(e?.[t]?.elements??{}).forEach(([e,r])=>{n[e]={...n[e]??{},[t]:r}})}),n}var C=(e,t)=>{const n=[];if(!e?.styles)return n;const o=(0,g.hG)(e),i=function(e,t){return _(e,void 0,t)}(e.styles,o);return i&&n.push({styles:i,selector:a.B4,skipSelectorWrapper:!0}),Object.entries(r.dB).forEach(([t,r])=>{e.styles?.elements?.[t]&&n.push({styles:e.styles?.elements?.[t]??{},selector:r,elementName:t,skipSelectorWrapper:!v[t]})}),Object.entries(e.styles?.blocks??{}).forEach(([e,i])=>{const s=_(i,e,o),l=i,c=[],u=[];l?.variations&&Object.entries(l.variations).forEach(([n,i])=>{const s=i,l=_(s,e,o);s?.css&&(l.css=s.css);const d="string"!=typeof t?t[e]?.styleVariationSelectors?.[n]:void 0;if(d&&"string"!=typeof t){const r=t[e];u.push({styles:l,selector:d,featureSelectors:r?.featureSelectors,fallbackGapValue:r?.fallbackGapValue,hasLayoutSupport:r?.hasLayoutSupport,isStyleVariation:!0,variationName:n,layoutSelector:d+r.selector,layoutHasBlockGapSupport:!0,name:e})}Object.entries(S(s,o)).forEach(([e,t])=>{t&&r.dB[e]&&c.push({styles:t,selector:(0,a.q1)(d,r.dB[e]),elementName:e,isStyleVariation:!0})}),Object.entries(s?.blocks??{}).forEach(([e,n])=>{const i="string"!=typeof t?(0,a.q1)(d,t[e]?.selector):void 0,s="string"!=typeof t?(0,a.q1)(d,t[e]?.duotoneSelector):void 0,l="string"!=typeof t?(0,a.hX)(d,t[e]?.featureSelectors??{}):void 0,u=_(n,e,o);n?.css&&(u.css=n.css),i&&"string"!=typeof t&&(c.push({selector:i,name:e,isStyleVariation:!0,duotoneSelector:s,featureSelectors:l,fallbackGapValue:t[e]?.fallbackGapValue,hasLayoutSupport:t[e]?.hasLayoutSupport,styles:u}),Object.entries(S(n,o)).forEach(([e,t])=>{t&&r.dB[e]&&c.push({styles:t,selector:(0,a.q1)(i,r.dB[e]),elementName:e,isStyleVariation:!0})}))})}),"string"!=typeof t&&t?.[e]?.selector&&n.push({duotoneSelector:t[e].duotoneSelector,fallbackGapValue:t[e].fallbackGapValue,hasLayoutSupport:t[e].hasLayoutSupport,selector:t[e].selector,styles:s,featureSelectors:t[e].featureSelectors,name:e}),n.push(...u),Object.entries(S(l,o)).forEach(([o,i])=>{"string"!=typeof t&&i&&t?.[e]&&r.dB[o]&&n.push({styles:i,selector:t[e]?.selector.split(",").map(e=>r.dB[o].split(",").map(t=>e+" "+t)).join(","),elementName:o})}),n.push(...c)}),n},E=(e,t)=>{const n=[];if(!e?.settings)return n;const r=e=>{let t={};return a.EA.forEach(({path:n})=>{const r=(0,h.K)(e,n,!1);!1!==r&&(t=(0,h.n)(t,n,r))}),t},o=r(e.settings),i=e.settings?.custom;return(Object.keys(o).length>0||i)&&n.push({presets:o,custom:i,selector:a.bB}),Object.entries(e.settings?.blocks??{}).forEach(([e,o])=>{const i=o.custom;if("string"==typeof t||!t[e])return;const s=r(o);(Object.keys(s).length>0||i)&&n.push({presets:s,custom:i,selector:t[e]?.selector,featureSelectors:t[e]?.featureSelectors})}),n};function T(e,{tree:t,useRootPaddingAlign:n,disableLayoutStyles:r,hasBlockGapSupport:o,hasFallbackGapSupport:i,disableRootPadding:s}){const{selector:l,selectorSuffix:c,mediaQuery:u,duotoneSelector:f,styles:h,fallbackGapValue:g,hasLayoutSupport:m,featureSelectors:v,layoutSelector:b,layoutHasBlockGapSupport:y,skipSelectorWrapper:k,name:w,variationName:_}=e;let A="";const S=c?(0,a.fx)(l,c):l;if(v&&"string"!=typeof v){let e=((e,t)=>{const n={};return Object.entries(e).forEach(([e,r])=>{if("root"===e||!t?.[e])return;const o="string"==typeof r;if(o||"object"!=typeof r||null===r||Object.entries(r).forEach(([r,o])=>{if("root"===r||!t?.[e][r])return;const i=x({[e]:{[r]:t[e][r]}});n[o]=[...n[o]||[],...i],delete t[e][r]}),o||"object"==typeof r&&null!==r&&"root"in r){const i=o?r:r.root,s=x({[e]:t[e]});n[i]=[...n[i]||[],...s],delete t[e]}}),n})(v,h);e=((e,t,n)=>{if("core/paragraph"!==n)return e;const r=t?.blocks?.["core/paragraph"];if("all"!==(r?.typography?.textIndent??t?.typography?.textIndent??"subsequent"))return e;const o=".wp-block-paragraph + .wp-block-paragraph";if(o in e){const t=e[o],n={...e};return delete n[o],n[".wp-block-paragraph"]=t,n}return e})(e,t.settings,w),e=((e,t)=>{const n=".wp-block-button";if(!(n in e))return e;const r={...e};return r[n]=r[n].map(e=>{const n=e.match(/^width:\s*(.+)$/);if(!n)return e;const r=n[1];let o=null;r.endsWith("%")&&(o=parseFloat(r));const i="var(--wp--preset--dimension--";if(null===o&&r.startsWith(i)&&r.endsWith(")")){const e=r.slice(29,-1),n={...t?.dimensions?.dimensionSizes??{},...t?.blocks?.["core/button"]?.dimensions?.dimensionSizes??{}};for(const t of Object.values(n))if(Array.isArray(t)){for(const n of t)if(n.slug===e&&"string"==typeof n.size&&n.size.endsWith("%")){o=parseFloat(n.size);break}if(null!==o)break}}return null===o||isNaN(o)?e:`width: calc(${o} * 1% - (var(--wp--style--block-gap, 0.5em) * (1 - ${o} / 100)))`}),r})(e,t.settings),Object.entries(e).forEach(([e,t])=>{if(t.length){let n=_?(0,a.Pn)(_,e):e;n=c?(0,a.fx)(n,c):n;const r=t.join(";");A+=`:root :where(${n}){${r};}`}})}if(f){const e={};h?.filter&&(e.filter=h.filter,delete h.filter);const t=x(e);t.length&&(A+=`${f}{${t.join(";")};}`)}const C=b??S,E=y??o;r||a.B4!==C&&!m||(A+=function({layoutDefinitions:e=p.o,style:t,selector:n,hasBlockGapSupport:r,hasFallbackGapSupport:o,fallbackGapValue:i}){let s="";const l=t?.spacing?.blockGap;let c=r?(0,d.$)(l):"";o&&(n===a.B4?c=c||"0.5em":!r&&i&&(c=i));const u=r&&l&&"string"!=typeof l?(0,d.$)(l.top):c;if(c&&e&&(Object.values(e).forEach(({className:e,name:t,spacingStyles:o})=>{if(!r&&"flex"!==t&&"grid"!==t)return;const i=["default","constrained"].includes(t)?u:c;o?.length&&o.forEach(t=>{const o=[];if(t.rules&&Object.entries(t.rules).forEach(([e,t])=>{o.push(`${e}: ${t||i}`)}),o.length){let i="";i=r?n===a.B4?`:root :where(.${e})${t?.selector||""}`:`:root :where(${n}-${e})${t?.selector||""}`:n===a.B4?`:where(.${e}${t?.selector||""})`:`:where(${n}.${e}${t?.selector||""})`,s+=`${i} { ${o.join("; ")}; }`}})}),n===a.B4&&r&&(s+=`${a.bB} { --wp--style--block-gap: ${c}; }`)),n===a.B4&&e){const t=["block","flex","grid"];Object.values(e).forEach(({className:e,displayMode:r,baseStyles:o})=>{r&&t.includes(r)&&(s+=`${n} .${e} { display:${r}; }`),o?.length&&o.forEach(t=>{const n=[];t.rules&&Object.entries(t.rules).forEach(([e,t])=>{n.push(`${e}: ${t}`)}),n.length&&(s+=`.${e}${t?.selector||""} { ${n.join("; ")}; }`)})})}return s}({style:h,selector:C,hasBlockGapSupport:E,hasFallbackGapSupport:i,fallbackGapValue:g}));const T=x(h,S,n,t,s);if(T?.length){A+=`${k?S:`:root :where(${S})`}{${T.join(";")};}`}return h?.css&&(A+=B(h.css,`:root :where(${S})`)),u&&A?`${u}{${A}}`:A}var I=(e,t,n,r,o=!1,i=!1,s={})=>{const l={blockGap:!0,blockStyles:!0,layoutStyles:!0,marginReset:!0,presets:!0,rootPadding:!0,variationStyles:!1,...s},c=(0,m.k)(e),f=C(c,t),p=E(c,t),v=c?.settings?.useRootPaddingAwareAlignments,{contentSize:b,wideSize:y}=c?.settings?.layout||{},k=l.marginReset||l.rootPadding||l.layoutStyles;let x="";if(l.presets&&(b||y)&&(x+=`${a.bB} {`,x=b?x+` --wp--style--global--content-size: ${b};`:x,x=y?x+` --wp--style--global--wide-size: ${y};`:x,x+="}"),k&&(x+=":where(body) {margin: 0;",l.rootPadding&&v&&(x+="padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) }\n\t\t\t\t.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }\n\t\t\t\t.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }\n\t\t\t\t.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }\n\t\t\t\t.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0;\n\t\t\t\t"),x+="}"),l.blockStyles){const t=(0,g.hG)(e);f.forEach(e=>{if(e.isStyleVariation&&!l.variationStyles)return;const s=function(e,t){const{styles:n,selector:r,fallbackGapValue:o,featureSelectors:i,hasLayoutSupport:s,layoutHasBlockGapSupport:a,layoutSelector:l,name:c,elementName:u,isStyleVariation:d,variationName:f}=e;return c||u?Object.entries(t).flatMap(([e,t])=>{const p=n?.[e];return p&&"object"==typeof p?[{styles:JSON.parse(JSON.stringify(p)),selector:r,mediaQuery:t,featureSelectors:i&&"string"!=typeof i?i:void 0,fallbackGapValue:o,hasLayoutSupport:s,name:c,elementName:u,isStyleVariation:d,variationName:f,layoutSelector:l,layoutHasBlockGapSupport:a}]:[]}):[]}(e,t);[e,...s,...A(e),...s.flatMap(A)].forEach(e=>{x+=T(e,{tree:c,useRootPaddingAlign:v,disableLayoutStyles:o,hasBlockGapSupport:n,hasFallbackGapSupport:r,disableRootPadding:i})})})}if(l.layoutStyles&&(x+=".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",x+=".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",x+=".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }"),l.blockGap&&n){const e=(0,d.$)(c?.styles?.spacing?.blockGap)||"0.5em";x+=`:root :where(.wp-site-blocks) > * { margin-block-start: ${e}; margin-block-end: 0; }`,x+=":root :where(.wp-site-blocks) > :first-child { margin-block-start: 0; }",x+=":root :where(.wp-site-blocks) > :last-child { margin-block-end: 0; }"}return l.presets&&p.forEach(({selector:e,presets:t})=>{a.B4!==e&&a.bB!==e||(e="");const n=function(e="*",t={}){return a.EA.reduce((n,{path:r,cssVarInfix:o,classes:i})=>{if(!i)return n;const s=(0,h.K)(t,r,[]);return["default","theme","custom"].forEach(t=>{s[t]&&s[t].forEach(({slug:t})=>{i.forEach(({classSuffix:r,propertyName:i})=>{const s=`.has-${(0,u.k)(t)}-${r}`,a=e?`:where(${e})${s}`:s,l=`var(--wp--preset--${o}--${(0,u.k)(t)})`;n+=`${a}{${i}: ${l} !important;}`})})}),n},"")}(e,t);n.length>0&&(x+=n)}),x};var j=(e,t)=>{const{getBlockStyles:n}=(0,s.L)(r.M_),o={};return e.forEach(e=>{const i=e.name,s=(0,l.$)(e);if(!s)return;let c=(0,l.$)(e,"filter.duotone");if(!c){const t=(0,l.$)(e),n=(0,r.bI)(e,"color.__experimentalDuotone",!1);"string"==typeof n&&t&&(c=(0,a.q1)(t,n))}const u=!!e?.supports?.layout||!!e?.supports?.__experimentalLayout,d=e?.supports?.spacing?.blockGap,f="object"!=typeof d||Array.isArray(d)?void 0:d.__experimentalDefault,p=n(i),h={};p?.forEach(e=>{const n=t?`-${t}`:"",r=`${e.name}${n}`,o=(0,a.NJ)(r,s);h[r]=o});const g=((e,t)=>{if(e?.selectors&&Object.keys(e.selectors).length>0)return e.selectors;const n={root:t};return Object.entries(b).forEach(([t,r])=>{const o=(0,l.$)(e,t);o&&(n[r]=o)}),n})(e,s);o[i]={duotoneSelector:c??void 0,fallbackGapValue:f,featureSelectors:Object.keys(g).length?g:void 0,hasLayoutSupport:u,name:i,selector:s,styleVariationSelectors:p?.length?h:void 0}}),o};function B(e,t){let n="";if(!e||""===e.trim())return n;return e.split("&").forEach(e=>{if(!e||""===e.trim())return;if(!e.includes("{"))n+=`:root :where(${t}){${e.trim()}}`;else{const r=e.replace("}","").split("{");if(2!==r.length)return;const[o,i]=r,s=o.match(/([>+~\s]*::[a-zA-Z-]+)/),l=s?s[1]:"",c=s?o.replace(l,"").trim():o.trim();let u;u=""===c?t:o.startsWith(" ")?(0,a.q1)(t,c):(0,a.fx)(t,c),n+=`:root :where(${u})${l}{${i.trim()}}`}}),n}},7336(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(72267),o=n(60233);function i(e,t="root",n={}){if(!t)return null;const{fallback:s=!1}=n,{name:a,selectors:l,supports:c}=e,u=l&&Object.keys(l).length>0,d=Array.isArray(t)?t.join("."):t;let f=null;if(f=u&&l.root?l?.root:c?.__experimentalSelector?c.__experimentalSelector:".wp-block-"+a.replace("core/","").replace("/","-"),"root"===d)return f;const p=Array.isArray(t)?t:t.split(".");if(1===p.length){const e=s?f:null;if(u){return(0,o.K)(l,`${d}.root`,null)||(0,o.K)(l,d,null)||e}const t=c?(0,o.K)(c,`${d}.__experimentalSelector`,null):void 0;return t?(0,r.q1)(f,t):e}let h;return u&&(h=(0,o.K)(l,d,null)),h||(s?i(e,p[0],n):null)}},93888(e,t,n){"use strict";n.d(t,{s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/global-styles-engine")},14259(e,t,n){"use strict";n.d(t,{j:()=>l});var r=n(14694),o=n(70912),i=n(88626),s=n(41417),a=n(93888),l={};(0,a.s)(l,{getResponsiveMediaQueries:r.hG,getViewportBreakpoints:r.dV,getViewportBreakpointValueInPixels:r.rj,getDuotoneFilter:o.xX,getDuotoneStylesheet:o.rV,getDuotoneUnsetStylesheet:o.aD,resolveStyle:i.m,getVariationStyle:s.d})},88626(e,t,n){"use strict";n.d(t,{m:()=>T});var r=n(72267),o=n(60233),i=n(41417),s="default";function a(e){const t=e?.viewport,n=e?.pseudoState;return!(t&&t!==s||n&&n!==s)}function l(e,t){const n=function(e){return a(e)?[]:[e.viewport,e.pseudoState].filter(e=>!!e&&e!==s)}(t);return n.length?(0,o.K)(e,n):e}var c=new Set(["blocks","variations","css"]),u=Object.freeze({value:{},sources:{}}),d={root:{layer:"root"},element:{layer:"element"},block:{layer:"block"},blockVariation:{layer:"blockVariation"}};function f(e){const t=d[e];return t?{...t}:null}function p(e,t){return e&&t?{styles:e,source:t}:null}function h(e){return e.join(".")}function g(e){return{...e}}function m(e){return""===e||null===e||"object"==typeof e&&!Array.isArray(e)&&0===Object.keys(e).length}function v(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)&&"string"==typeof e.ref}function b(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;const t={};for(const n of Object.keys(e))c.has(n)||("elements"!==n?m(e[n])||(t[n]=e[n]):e.elements&&"object"==typeof e.elements&&(t.elements=e.elements));return 0===Object.keys(t).length?null:t}var y=new Set(["backgroundImage"]);function k(e,t,n,r,i,s=[]){if(!t||"object"!=typeof t||Array.isArray(t))return e;for(const a of Object.keys(t)){let l=t[a];if(m(l))continue;if(v(l)){if(""===l.ref.trim())continue;const e=(0,o.K)(n,l.ref);if(null==e||v(e))continue;l=e}const c=[...s,a];if(y.has(a)||null===l||"object"!=typeof l||Array.isArray(l)||v(l))e[a]=y.has(a)&&null!==l&&"object"==typeof l&&!Array.isArray(l)?{...l}:l,r&&i&&(i[h(c)]=g(r));else{const t=e[a]&&"object"==typeof e[a]&&!Array.isArray(e[a])?e[a]:{};e[a]=k({...t},l,n,r,i,c)}}return e}function x(e,t){if(!e)return null;const n=l(e,t);return n&&"object"==typeof n&&!Array.isArray(n)?n:null}var w=["color.background","color.gradient","background","spacing","dimensions","border","shadow","filter"];function _(e){return!e.startsWith("elements.")&&w.some(t=>e===t||e.startsWith(`${t}.`))}function A(e,t){if(!e||"object"!=typeof e)return;const[n,...r]=t;if(0===r.length)return void delete e[n];const o=e[n];o&&"object"==typeof o&&(A(o,r),0===Object.keys(o).length&&delete e[n])}function S(e,{blockName:t,variationName:n=null,elements:o=null,viewport:s=null,pseudoState:l=null}={}){if(!e||!e.styles)return u;if(!t)return u;const c=e.styles,d={viewport:s,pseudoState:l},h=c,g=c.blocks?.[t]??null,m=(o??[]).map(e=>c.elements?.[e]??null).filter(e=>!!e),v=n?(0,i.d)(e,t,n)??null:null,y=[p(b(h),f("root")),...m.map(e=>p(b(e),f("element"))),g?p(b(g),f("block")):null,v?p(b(v),f("blockVariation")):null];a(d)||y.push(p(b(x(h,d)),f("root")),...m.map(e=>p(b(x(e,d)),f("element"))),g?p(b(x(g,d)),f("block")):null,v?p(b(x(v,d)),f("blockVariation")):null);const w=y.filter(Boolean);if(0===w.length)return u;const S={},C=w.reduce((t,n)=>k(t,n.styles,e,n.source,S),{});return function(e,t){for(const n of Object.keys(t))"root"===t[n].layer&&_(n)&&(A(e,n.split(".")),delete t[n])}(C,S),function(e,t,n){const o=e?.background?.backgroundImage;if(!o)return;const i=(0,r.y_)(o,{...t,_links:n??void 0});void 0!==i&&(e.background.backgroundImage=i)}(C,e,e._links??null),{value:C,sources:S}}var C={},E=new WeakMap;function T(e,t={}){const n=e?.styles;if(!n||"object"!=typeof n)return S(e,t);let r=E.get(n);r||(r=new WeakMap,E.set(n,r));const o=e?._links??C;let i=r.get(o);i||(i=new Map,r.set(o,i));const s=`${t.elements?.join(",")??""}:${t.viewport??""}:${t.pseudoState??""}`,a=(t.blockName||"")+""+(t.variationName||"")+""+s;if(i.has(a))return i.get(a);const l=S(e,t);return i.set(a,l),l}},16410(e,t,n){"use strict";n.d(t,{k:()=>s});var r={"@mobile":"mobile","@tablet":"tablet","-current":"@current"};function o(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}function i(e){if(!o(e))return e;let t=e;return Object.entries(r).forEach(([n,r])=>{Object.hasOwn(e,r)&&(t===e&&(t={...e}),Object.hasOwn(e,n)||(t[n]=e[r]),delete t[r])}),Object.entries(t).forEach(([n,r])=>{if(!o(r))return;const s=i(r);s!==r&&(t===e&&(t={...e}),t[n]=s)}),t}function s(e){if(!globalThis.IS_GUTENBERG_PLUGIN)return e;if(!e?.styles)return e;const t=i(e.styles);return t===e.styles?e:{...e,styles:t}}},17436(e,t,n){"use strict";n.d(t,{g:()=>i});var r="cover",o="50% 50%";function i(e){if(!e||("object"!=typeof(t=e.backgroundImage)||null===t||!("url"in t)||!t.url))return;var t;let n;return e?.backgroundSize||(n={backgroundSize:r}),"contain"!==e?.backgroundSize||e?.backgroundPosition||(n={backgroundPosition:o}),n}},72267(e,t,n){"use strict";n.d(t,{B4:()=>s,EA:()=>c,NJ:()=>p,Pn:()=>h,bB:()=>a,fx:()=>f,hX:()=>d,q1:()=>u,uj:()=>l,y_:()=>m});var r=n(69099),o=n(7731),i=n(60233),s="body",a=":root";function l(e){if(!e.includes(","))return[e];const t=[];let n="",r=0;for(const o of e){if("("===o)r++;else if(")"===o&&r>0)r--;else if(","===o&&0===r){t.push(n),n="";continue}n+=o}return t.push(n),t}var c=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],valueKey:"colors",cssVarInfix:"duotone",valueFunc:({slug:e})=>`url( '#wp-duotone-${e}' )`,classes:[]},{path:["shadow","presets"],valueKey:"shadow",cssVarInfix:"shadow",classes:[]},{path:["typography","fontSizes"],valueFunc:(e,t)=>(0,o.j)(e,t),valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:({size:e})=>e,classes:[]},{path:["border","radiusSizes"],valueKey:"size",cssVarInfix:"border-radius",classes:[]},{path:["dimensions","dimensionSizes"],valueKey:"size",cssVarInfix:"dimension",classes:[]}];function u(e,t){if(!e||!t)return t;const n=l(e),r=l(t),o=[];return n.forEach(e=>{r.forEach(t=>{o.push(`${e.trim()} ${t.trim()}`)})}),o.join(", ")}function d(e,t){if(!e||!t)return;const n={};return Object.entries(t).forEach(([t,r])=>{"string"==typeof r&&(n[t]=u(e,r)),"object"==typeof r&&(n[t]={},Object.entries(r).forEach(([r,o])=>{n[t][r]=u(e,o)}))}),n}function f(e,t){if(!e.includes(","))return e+t;return l(e).map(e=>e+t).join(",")}function p(e,t){const n=`.is-style-${e}`;if(!t)return n;const r=/[^\s:]+/,o=e=>e+n;return l(t).map(e=>e.replace(r,o)).join(",")}function h(e,t){const n=`.is-style-${e}`;return p(e,l(t).map(e=>{const t=e.trim(),r=`${n} `;return t.startsWith(r)?t.slice(r.length):t}).join(","))}function g(e,t){if(!e||!t||!Array.isArray(t))return e;const n=t.find(t=>t?.name===e);return n?.href?n?.href:e}function m(e,t){if(!e||!t)return e;const n=function(e,t){if(!e||!t)return e;if("object"==typeof e&&"ref"in e&&e?.ref){const n=(0,r.k5)((0,i.K)(t,e.ref));if("object"==typeof n&&null!==n&&"ref"in n&&n?.ref)return;return void 0===n?e:n}return e}(e,t);return"object"==typeof n&&null!==n&&"url"in n&&n?.url?{...n,url:g(n.url,t?._links?.["wp:theme-file"])}:n}},70912(e,t,n){"use strict";n.d(t,{aD:()=>o,rV:()=>i,xX:()=>s});var r=n(63270);function o(e){return`${e}{filter:none}`}function i(e,t){return`${e}{filter:url(#${t})}`}function s(e,t){const n=function(e=[]){const t={r:[],g:[],b:[],a:[]};return e.forEach(e=>{const n=(0,r.Mj)(e).toRgb();t.r.push(n.r/255),t.g.push(n.g/255),t.b.push(n.b/255),t.a.push(n.a)}),t}(t);return`\n<svg\n\txmlns:xlink="http://www.w3.org/1999/xlink"\n\tviewBox="0 0 0 0"\n\twidth="0"\n\theight="0"\n\tfocusable="false"\n\trole="none"\n\taria-hidden="true"\n\tstyle="visibility: hidden; position: absolute; left: -9999px; overflow: hidden;"\n>\n\t<defs>\n\t\t<filter id="${e}">\n\t\t\t\x3c!--\n\t\t\t\tUse sRGB instead of linearRGB so transparency looks correct.\n\t\t\t\tUse perceptual brightness to convert to grayscale.\n\t\t\t--\x3e\n\t\t\t<feColorMatrix color-interpolation-filters="sRGB" type="matrix" values=" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "></feColorMatrix>\n\t\t\t\x3c!-- Use sRGB instead of linearRGB to be consistent with how CSS gradients work. --\x3e\n\t\t\t<feComponentTransfer color-interpolation-filters="sRGB">\n\t\t\t\t<feFuncR type="table" tableValues="${n.r.join(" ")}"></feFuncR>\n\t\t\t\t<feFuncG type="table" tableValues="${n.g.join(" ")}"></feFuncG>\n\t\t\t\t<feFuncB type="table" tableValues="${n.b.join(" ")}"></feFuncB>\n\t\t\t\t<feFuncA type="table" tableValues="${n.a.join(" ")}"></feFuncA>\n\t\t\t</feComponentTransfer>\n\t\t\t\x3c!-- Re-mask the image with the original transparency since the feColorMatrix above loses that information. --\x3e\n\t\t\t<feComposite in2="SourceGraphic" operator="in"></feComposite>\n\t\t</filter>\n\t</defs>\n</svg>`}},12636(e,t,n){"use strict";n.d(t,{Of:()=>o,UE:()=>r});function r({minimumFontSize:e,maximumFontSize:t,fontSize:n,minimumViewportWidth:r="320px",maximumViewportWidth:s="1600px",scaleFactor:a=1,minimumFontSizeLimit:l}){if(l=o(l)?l:"14px",n){const r=o(n);if(!r?.unit||!r?.value)return null;const s=o(l,{coerceTo:r.unit});if(s?.value&&!e&&!t&&r?.value<=s?.value)return null;if(t||(t=`${r.value}${r.unit}`),!e){const t="px"===r.unit?r.value:16*r.value,n=Math.min(Math.max(1-.075*Math.log2(t),.25),.75),o=i(r.value*n,3);e=s?.value&&o<s?.value?`${s.value}${s.unit}`:`${o}${r.unit}`}}const c=o(e),u=c?.unit||"rem",d=o(t,{coerceTo:u});if(!c||!d)return null;const f=o(e,{coerceTo:"rem"}),p=o(s,{coerceTo:u}),h=o(r,{coerceTo:u});if(!p||!h||!f)return null;const g=p.value-h.value;if(!g)return null;const m=i(h.value/100,3),v=i(m,3)+u,b=i(((d.value-c.value)/g*100||1)*a,3);return`clamp(${e}, ${`${f.value}${f.unit} + ((1vw - ${v}) * ${b})`}, ${t})`}function o(e,t={}){if("string"!=typeof e&&"number"!=typeof e)return null;isFinite(e)&&(e=`${e}px`);const{coerceTo:n,rootSizeValue:r,acceptableUnits:o}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},s=o?.join("|"),a=new RegExp(`^(\\d*\\.?\\d+)(${s}){1,1}$`),l=e.toString().match(a);if(!l||l.length<3)return null;let[,c,u]=l,d=parseFloat(c);return"px"!==n||"em"!==u&&"rem"!==u||(d*=r,u=n),"px"!==u||"em"!==n&&"rem"!==n||(d/=r,u=n),"em"!==n&&"rem"!==n||"em"!==u&&"rem"!==u||(u=n),u?{value:i(d,3),unit:u}:null}function i(e,t=3){const n=Math.pow(10,t);return Math.round(e*n)/n}},48472(e,t,n){"use strict";n.d(t,{$:()=>o});var r=n(67479);function o(e,t="0"){const n=function(e){if(!e)return null;const t="string"==typeof e;return{top:t?e:e?.top,left:t?e:e?.left}}(e);if(!n)return null;const o=(0,r.X)(n?.top)||t,i=(0,r.X)(n?.left)||t;return o===i?o:`${o} ${i}`}},34022(e,t,n){"use strict";n.d(t,{o:()=>r});var r={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}}},60233(e,t,n){"use strict";function r(e,t,n){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};const r=t.pop();let o=e;for(const e of t){const t=o[e];o=o[e]=Array.isArray(t)?[...t]:{...t}}return o[r]=n,e}n.d(t,{K:()=>o,n:()=>r});var o=(e,t,n)=>{const r=Array.isArray(t)?t:t.split(".");let o=e;return r.forEach(e=>{o=o?.[e]}),o??n}},67479(e,t,n){"use strict";function r(e){if(!e)return;const t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}n.d(t,{X:()=>r})},31355(e,t,n){"use strict";function r(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").replace(/([a-zA-Z])([0-9])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}n.d(t,{k:()=>r})},7731(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(12636);function o(e){const t=e?.fluid;return!0===t||t&&"object"==typeof t&&Object.keys(t).length>0}function i(e,t){const{size:n}=e;if(!n||"0"===n||!1===e?.fluid)return n;if(!o(t?.typography)&&!o(e))return n;const i=function(e){const t=e?.typography??{},n=e?.layout,i=(0,r.Of)(n?.wideSize)?n?.wideSize:null;return o(t)&&i?{fluid:{maxViewportWidth:i,..."object"==typeof t.fluid?t.fluid:{}}}:{fluid:t?.fluid}}(t)?.fluid??{},s=(0,r.UE)({minimumFontSize:"boolean"==typeof e?.fluid?void 0:e?.fluid?.min,maximumFontSize:"boolean"==typeof e?.fluid?void 0:e?.fluid?.max,fontSize:n,minimumFontSizeLimit:"object"==typeof i?i?.minFontSize:void 0,maximumViewportWidth:"object"==typeof i?i?.maxViewportWidth:void 0,minimumViewportWidth:"object"==typeof i?i?.minViewportWidth:void 0});return s||n}},14694(e,t,n){"use strict";n.d(t,{dV:()=>s,hG:()=>a,rj:()=>i});var r={mobile:"480px",tablet:"782px"},o=/^(\d+|\d*\.\d+)(px|em|rem)$/;function i(e){if("number"==typeof e)return e;if("string"!=typeof e)return;const t=e.trim().match(o);if(!t)return;const n=Number.parseFloat(t[1]);return"px"===t[2]?n:16*n}function s(e){const t=function(e){return e&&"object"==typeof e?function(e){return"mobile"in e||"tablet"in e}(e)?e:e.settings?.viewport??{}:{}}(e),n={},s={};Object.keys(r).forEach(e=>{const r=e,a=t[r],l=i(a);void 0!==l&&function(e){return"string"==typeof e&&o.test(e.trim())}(a)&&(n[r]=a.trim(),s[r]=l)});const a=Object.keys(n);if(!a.length)return{...r};if(1===a.length)return n;const l=n.mobile,c=n.tablet;return s.mobile>=s.tablet?{mobile:l}:{mobile:l,tablet:c}}function a(e){const t=s(e),n={};return t.mobile&&(n["@mobile"]=`@media (width <= ${t.mobile})`),t.tablet&&(n["@tablet"]=t.mobile?`@media (${t.mobile} < width <= ${t.tablet})`:`@media (width <= ${t.tablet})`),n}},41417(e,t,n){"use strict";n.d(t,{d:()=>o});var r=n(60233);function o(e,t,n,{resolveRefs:o=!0}={}){if(!e?.styles?.blocks?.[t]?.variations?.[n])return;const i=t=>{Object.keys(t).forEach(n=>{const o=t[n];if("object"==typeof o&&null!==o)if(void 0!==o.ref)if("string"!=typeof o.ref||""===o.ref.trim())delete t[n];else{const i=(0,r.K)(e,o.ref);null!=i?t[n]=i:delete t[n]}else i(o),0===Object.keys(o).length&&delete t[n]})},s=JSON.parse(JSON.stringify(e.styles.blocks[t].variations[n]));return o&&i(s),s}},34263(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(21428),o=n(87667);var i=function(e,t){return function(n,i,s,a=10){const l=e[t];if(!(0,o.A)(n))return;if(!(0,r.A)(i))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const c={callback:s,priority:a,namespace:i};if(l[n]){const e=l[n].handlers;let t;for(t=e.length;t>0&&!(a>=e[t-1].priority);t--);t===e.length?e[t]=c:e.splice(t,0,c),l.__current.forEach(e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++})}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,s,a)}}},2865(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e,t){return function(){const n=e[t],r=Array.from(n.__current);return r.at(-1)?.name??null}}},64205(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(87667);var o=function(e,t){return function(n){const o=e[t];if((0,r.A)(n))return o[n]&&o[n].runs?o[n].runs:0}}},82951(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e,t){return function(n){const r=e[t];return void 0===n?r.__current.size>0:Array.from(r.__current).some(e=>e.name===n)}}},6674(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e,t){return function(n,r){const o=e[t];return void 0!==r?n in o&&o[n].handlers.some(e=>e.namespace===r):n in o}}},55071(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(34263),o=n(34768),i=n(6674),s=n(14209),a=n(2865),l=n(82951),c=n(64205),u=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=(0,r.A)(this,"actions"),this.addFilter=(0,r.A)(this,"filters"),this.removeAction=(0,o.A)(this,"actions"),this.removeFilter=(0,o.A)(this,"filters"),this.hasAction=(0,i.A)(this,"actions"),this.hasFilter=(0,i.A)(this,"filters"),this.removeAllActions=(0,o.A)(this,"actions",!0),this.removeAllFilters=(0,o.A)(this,"filters",!0),this.doAction=(0,s.A)(this,"actions",!1,!1),this.doActionAsync=(0,s.A)(this,"actions",!1,!0),this.applyFilters=(0,s.A)(this,"filters",!0,!1),this.applyFiltersAsync=(0,s.A)(this,"filters",!0,!0),this.currentAction=(0,a.A)(this,"actions"),this.currentFilter=(0,a.A)(this,"filters"),this.doingAction=(0,l.A)(this,"actions"),this.doingFilter=(0,l.A)(this,"filters"),this.didAction=(0,c.A)(this,"actions"),this.didFilter=(0,c.A)(this,"filters")}};var d=function(){return new u}},34768(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(21428),o=n(87667);var i=function(e,t,n=!1){return function(i,s){const a=e[t];if(!(0,o.A)(i))return;if(!n&&!(0,r.A)(s))return;if(!a[i])return 0;let l=0;if(n)l=a[i].handlers.length,a[i]={runs:a[i].runs,handlers:[]};else{const e=a[i].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===s&&(e.splice(t,1),l++,a.__current.forEach(e=>{e.name===i&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==i&&e.doAction("hookRemoved",i,s),l}}},14209(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e,t,n,r){return function(o,...i){const s=e[t];s[o]||(s[o]={handlers:[],runs:0}),s[o].runs++;const a=s[o].handlers;if(!a||!a.length)return n?i[0]:void 0;const l={name:o,currentIndex:0};return(r?async function(){try{s.__current.add(l);let e=n?i[0]:void 0;for(;l.currentIndex<a.length;){const t=a[l.currentIndex];e=await t.callback.apply(null,i),n&&(i[0]=e),l.currentIndex++}return n?e:void 0}finally{s.__current.delete(l)}}:function(){try{s.__current.add(l);let e=n?i[0]:void 0;for(;l.currentIndex<a.length;){e=a[l.currentIndex].callback.apply(null,i),n&&(i[0]=e),l.currentIndex++}return n?e:void 0}finally{s.__current.delete(l)}})()}}},80471(e,t,n){"use strict";n.d(t,{Eo:()=>p,FC:()=>u,FF:()=>r.A,U2:()=>s,V5:()=>a,W5:()=>g,ip:()=>i,se:()=>o});var r=n(55071),o=(0,r.A)(),{addAction:i,addFilter:s,removeAction:a,removeFilter:l,hasAction:c,hasFilter:u,removeAllActions:d,removeAllFilters:f,doAction:p,doActionAsync:h,applyFilters:g,applyFiltersAsync:m,currentAction:v,currentFilter:b,doingAction:y,doingFilter:k,didAction:x,didFilter:w,actions:_,filters:A}=o},87667(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}},21428(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}},28520(e,t,n){"use strict";var r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;const t=r.textContent??"";return r.innerHTML="",t}n.d(t,{S:()=>o})},88298(e,t,n){"use strict";n.d(t,{h:()=>s});var r=n(74041),o={plural_forms:e=>1===e?0:1},i=/^i18n\.(n?gettext|has_translation)(_|$)/,s=(e,t,n)=>{const s=new r.A({}),a=new Set,l=()=>{a.forEach(e=>e())},c=(e,t="default")=>{s.data[t]={...s.data[t],...e},s.data[t][""]={...o,...s.data[t]?.[""]},delete s.pluralForms[t]},u=(e,t)=>{c(e,t),l()},d=(e="default",t,n,r,o)=>(s.data[e]||c(void 0,e),s.dcnpgettext(e,t,n,r,o)),f=e=>e||"default",_x=(e,t,r)=>{let o=d(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+f(r),o,e,t,r)):o};if(e&&u(e,t),n){const e=e=>{i.test(e)&&l()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>s.data[e],setLocaleData:u,addLocaleData:(e,t="default")=>{s.data[t]={...s.data[t],...e,"":{...o,...s.data[t]?.[""],...e?.[""]}},delete s.pluralForms[t],l()},resetLocaleData:(e,t)=>{s.data={},s.pluralForms={},u(e,t)},subscribe:e=>(a.add(e),()=>a.delete(e)),__:(e,t)=>{let r=d(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+f(t),r,e,t)):r},_x,_n:(e,t,r,o)=>{let i=d(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+f(o),i,e,t,r,o)):i},_nx:(e,t,r,o,i)=>{let s=d(i,o,e,t,r);return n?(s=n.applyFilters("i18n.ngettext_with_context",s,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+f(i),s,e,t,r,o,i)):s},isRTL:()=>"rtl"===_x("ltr","text direction"),hasTranslation:(e,t,r)=>{const o=t?t+""+e:e;let i=!!s.data?.[r??"default"]?.[o];return n&&(i=n.applyFilters("i18n.has_translation",i,e,t,r),i=n.applyFilters("i18n.has_translation_"+f(r),i,e,t,r)),i}}}},40713(e,t,n){"use strict";n.d(t,{V8:()=>s,__:()=>__,_n:()=>_n,_x:()=>_x,fh:()=>i});var r=n(80471),o=(0,n(88298).h)(void 0,void 0,r.se),i=(o.getLocaleData.bind(o),o.setLocaleData.bind(o)),__=(o.resetLocaleData.bind(o),o.subscribe.bind(o),o.__.bind(o)),_x=o._x.bind(o),_n=o._n.bind(o),s=(o._nx.bind(o),o.isRTL.bind(o));o.hasTranslation.bind(o)},18335(e,t,n){"use strict";n.d(t,{V8:()=>o.V8,__:()=>o.__,_n:()=>o._n,_x:()=>o._x,fh:()=>o.fh,nv:()=>r.n});var r=n(18989),o=(n(88298),n(40713))},18989(e,t,n){"use strict";n.d(t,{n:()=>o});var r=n(48682);function o(e,...t){return(0,r.A)(e,...t)}},13109(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(2376),o=(0,r.forwardRef)(({icon:e,size:t=24,style:n,...o},i)=>{const s=e.props.style,a=s||n?{...s,...n}:void 0;return(0,r.cloneElement)(e,{width:t,height:t,...o,...a?{style:a}:{},ref:i})})},32948(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7.5 5H16.5M4 12H20M7.5 19H16.5",vectorEffect:"non-scaling-stroke"})})},4425(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M4 5H20M4 12H20M4 19H16.5",vectorEffect:"non-scaling-stroke"})})},78048(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M4 5H13M4 12H20M4 19H13",vectorEffect:"non-scaling-stroke"})})},27913(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M5 5H19M5 19H19",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.rw,{x:"5",y:"9",width:"14",height:"6",fill:"currentColor",stroke:"none"})]})},29659(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M11 5H20M4 12H20M11 19H20",vectorEffect:"non-scaling-stroke"})})},62344(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M20 12L5 12M10 7L5 12L10 17",vectorEffect:"non-scaling-stroke"})})},98595(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M4 12L19 12M14 17L19 12L14 7",vectorEffect:"non-scaling-stroke"})})},52478(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})})},11083(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{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"})})},83147(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{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"})})},40599(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M4.75 6C4.75 5.30964 5.30964 4.75 6 4.75H9C9.69036 4.75 10.25 5.30964 10.25 6V9C10.25 9.69036 9.69036 10.25 9 10.25H6C5.30964 10.25 4.75 9.69036 4.75 9V6Z",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M4.75 15C4.75 14.3096 5.30964 13.75 6 13.75H9C9.69036 13.75 10.25 14.3096 10.25 15V18C10.25 18.6904 9.69036 19.25 9 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V15Z",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M13.75 6C13.75 5.30964 14.3096 4.75 15 4.75H18C18.6904 4.75 19.25 5.30964 19.25 6V9C19.25 9.69036 18.6904 10.25 18 10.25H15C14.3096 10.25 13.75 9.69036 13.75 9V6Z",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M13.75 15C13.75 14.3096 14.3096 13.75 15 13.75H18C18.6904 13.75 19.25 14.3096 19.25 15V18C19.25 18.6904 18.6904 19.25 18 19.25H15C14.3096 19.25 13.75 18.6904 13.75 18V15Z",vectorEffect:"non-scaling-stroke"})]})},53758(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M12 8L12 13M12 14.5L12 16M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})},88901(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7 12L10 15L17 8",vectorEffect:"non-scaling-stroke"})})},65673(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7 11L12 15L17 11",vectorEffect:"non-scaling-stroke"})})},28500(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M13.5 8.5L10.5 12L13.5 15.5",vectorEffect:"non-scaling-stroke"})})},39558(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M14 6.5L9 12L14 17.5",vectorEffect:"non-scaling-stroke"})})},72979(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M10.5 8.5L13.5 12L10.5 15.5",vectorEffect:"non-scaling-stroke"})})},48329(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M10 6.5L15 12L10 17.5",vectorEffect:"non-scaling-stroke"})})},75462(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7 13L12 9L17 13",vectorEffect:"non-scaling-stroke"})})},65995(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7.75 16.25L16.25 7.75M16.25 16.25L7.75 7.75",vectorEffect:"non-scaling-stroke"})})},51489(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M5 19L19 5M19 19L5 5",vectorEffect:"non-scaling-stroke"})})},98756(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7.99997 7L3.70708 11.2929C3.31655 11.6834 3.31655 12.3166 3.70708 12.7071L7.99997 17M16 17L20.2929 12.7071C20.6834 12.3166 20.6834 11.6834 20.2929 11.2929L16 7",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})},14532(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})})},85150(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})})},84260(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})})},20113(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})})},34268(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})})},49099(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})})},1866(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},65842(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})})},59949(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})})},86198(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"})})},73596(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})})},13233(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})})},74151(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12.5 5L10 19h1.9l2.5-14z"})})},77174(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})})},40743(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},41641(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})})},74584(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})})},57035(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M3 9c0 2.8 2.2 5 5 5v-.2V20h1.5V5.5H12V20h1.5V5.5h3V4H8C5.2 4 3 6.2 3 9Zm15.9-1-1.1 1 2.6 3-2.6 3 1.1 1 3.4-4-3.4-4Z"})})},66927(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})})},93970(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})})},2536(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})})},41490(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})})},22711(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})})},36092(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})})},114(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M9.75 10.25C9.75 9.00736 10.7574 8 12 8C13.2426 8 14.25 9.00736 14.25 10.25C14.25 11.4083 13.3748 12.3621 12.2496 12.4863C12.1124 12.5015 12 12.6119 12 12.75V14M12 15V16.5",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})]})},25242(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})})},28847(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M12 16V11M12 9.5V8M19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})},27308(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"})})},375(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})})},12949(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17.5 10h-1.7l-3.7 10.5h1.7l.9-2.6h3.9l.9 2.6h1.7L17.5 10zm-2.2 6.3 1.4-4 1.4 4h-2.8zm-4.8-3.8c1.6-1.8 2.9-3.6 3.7-5.7H16V5.2h-5.8V3H8.8v2.2H3v1.5h9.6c-.7 1.6-1.8 3.1-3.1 4.6C8.6 10.2 7.8 9 7.2 8H5.6c.6 1.4 1.7 2.9 2.9 4.4l-2.4 2.4c-.3.4-.7.8-1.1 1.2l1 1 1.2-1.2c.8-.8 1.6-1.5 2.3-2.3.8.9 1.7 1.7 2.5 2.5l.6-1.5c-.7-.6-1.4-1.3-2.1-2z"})})},48339(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M9.5 12H12.5M10 7.75H8.25C5.90279 7.75 4 9.65279 4 12C4 14.3472 5.90279 16.25 8.25 16.25H10.2333M14 16.25H15.75C18.0972 16.25 20 14.3472 20 12C20 9.65279 18.0972 7.75 15.75 7.75H14.7667M8.5 19.5L16.5 4.5",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})},27767(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M9.5 12L14.5 12M10 7.75H8.25C5.90279 7.75 4 9.65279 4 12C4 14.3472 5.90279 16.25 8.25 16.25H10M14 16.25H15.75C18.0972 16.25 20 14.3472 20 12C20 9.65279 18.0972 7.75 15.75 7.75L14 7.75",vectorEffect:"non-scaling-stroke"})})},98969(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},19203(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})})},42438(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})})},75061(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M11.2 6.8c-.7 0-1.4.5-1.6 1.1l-2.8 7.5-1.2-1.8c-.1-.2-.4-.3-.6-.3H3v1.5h1.6l1.2 1.8c.6.9 1.9.7 2.2-.3l2.9-7.9s.1-.2.2-.2h7.8V6.7h-7.8Zm5.3 3.4-1.9 1.9-1.9-1.9-1.1 1.1 1.9 1.9-1.9 1.9 1.1 1.1 1.9-1.9 1.9 1.9 1.1-1.1-1.9-1.9 1.9-1.9-1.1-1.1Z"})})},86110(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M5 12H19M5 18.25H19M5 5.75H19",vectorEffect:"non-scaling-stroke"})})},55173(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})})},57855(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},78058(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,o.jsx)(r.wA,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,o.jsx)(r.wA,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]})},7535(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M10.75 20V4.75L14.75 4.75M14.75 20V4.75M14.75 4.75H18.5",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M5.75 9C5.75 11.3472 7.65279 13.25 10 13.25H10.75V4.75H10C7.65279 4.75 5.75 6.65279 5.75 9Z",fill:"currentColor",vectorEffect:"non-scaling-stroke"})]})},33196(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},60167(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M12 18V6M18 12H6",vectorEffect:"non-scaling-stroke"})})},79068(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M5 4.75H19M5 19.25H19",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.rw,{x:"7",y:"9",width:"10",height:"6",fill:"currentColor",stroke:"none"})]})},96584(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M5 4.75H13M5 19.25H13",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.rw,{x:"5",y:"9",width:"14",height:"6",fill:"currentColor",stroke:"none"})]})},68995(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M11 4.75H19M11 19.25H19",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.rw,{x:"5",y:"9",width:"14",height:"6",fill:"currentColor",stroke:"none"})]})},50018(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})})},42243(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.wA,{d:"M9 12L11 14L15 10",vectorEffect:"non-scaling-stroke"})]})},39389(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})})},32484(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M7 12H17",vectorEffect:"non-scaling-stroke"})})},56969(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})})},20907(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M5 19L9.28769 14.7123M18.25 11C18.25 13.8995 15.8995 16.25 13 16.25C10.1005 16.25 7.75 13.8995 7.75 11C7.75 8.10051 10.1005 5.75 13 5.75C15.8995 5.75 18.25 8.10051 18.25 11Z",vectorEffect:"non-scaling-stroke"})})},92829(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})})},23301(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})})},75415(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.wA,{d:"M8 19.25H16",vectorEffect:"non-scaling-stroke"}),(0,o.jsx)(r.rw,{x:"5",y:"4",width:"14",height:"11",fill:"currentColor",stroke:"none"})]})},21570(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsxs)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,o.jsx)(r.rw,{x:"5",y:"9",width:"14",height:"6",fill:"currentColor",stroke:"none"}),(0,o.jsx)(r.wA,{d:"M8 4.75H16M8 19.25H16",vectorEffect:"non-scaling-stroke"})]})},54618(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"})})},9693(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"})})},69651(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})})},72091(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})})},60529(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})})},24100(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"})})},86070(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,o.jsx)(r.wA,{d:"M8 18.25L16 18.25M10 21.25H14M18 9C18 12.3137 15.3137 15 12 15C8.68629 15 6 12.3137 6 9C6 5.68629 8.68629 3 12 3C15.3137 3 18 5.68629 18 9Z",vectorEffect:"non-scaling-stroke"})})},57839(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},22231(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})})},67219(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})})},28755(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})})},58450(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(65334),o=n(93236),i=(0,o.jsx)(r.t4,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)(r.wA,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})})},11227(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}n.d(t,{A:()=>r})},3007(e,t,n){"use strict";n.d(t,{hw:()=>i});var r=n(15935),o=n(11227);function i(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return(0,r.A)(e,t);if(Array.isArray(e)&&Array.isArray(t))return(0,o.A)(e,t)}return e===t}},15935(e,t,n){"use strict";function r(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;let o=0;for(;o<n.length;){const r=n[o],i=e[r];if(void 0===i&&!t.hasOwnProperty(r)||i!==t[r])return!1;o++}return!0}n.d(t,{A:()=>r})},21123(e,t,n){"use strict";n.d(t,{k:()=>o});var r=n(74572);function o(e){let t=e?.toString?.()??"";return t=t.replace(/['\u2019]/,""),(0,r.c)(t,{splitRegexp:[/(?!(?:1ST|2ND|3RD|[4-9]TH)(?![a-z]))([a-z0-9])([A-Z])/g,/(?!(?:1st|2nd|3rd|[4-9]th)(?![a-z]))([0-9])([a-z])/g,/([A-Za-z])([0-9])/g,/([A-Z])([A-Z][a-z])/g]})}},26377(e,t,n){"use strict";var r=n(57181),{Provider:o}=(n(93236),r._)},57181(e,t,n){"use strict";n.d(t,{_:()=>s});var r=n(2376),o=new Set,i=e=>{for(const t of o)t(e)},s=(0,r.createContext)({add:e=>{0===o.size&&document.addEventListener("keydown",i),o.add(e)},delete:e=>{o.delete(e),0===o.size&&document.removeEventListener("keydown",i)}});s.displayName="KeyboardShortcutsContext"},11520(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(19623),o=n(2376),i=n(8312),s=n(16866);function a(){const{getAllShortcutKeyCombinations:e}=(0,r.A)(s.M);return(0,o.useCallback)((t,n)=>e(t).some(e=>!!e&&i.kx[e.modifier??"undefined"](n,e.character)),[e])}},95839(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(2376),o=n(11520),i=n(57181);function s(e,t,{isDisabled:n=!1}={}){const s=(0,r.useContext)(i._),a=(0,o.A)(),l=(0,r.useRef)();(0,r.useEffect)(()=>{l.current=t},[t]),(0,r.useEffect)(()=>{if(!n)return s.add(t),()=>{s.delete(t)};function t(t){a(e,t)&&l.current&&l.current(t)}},[e,n,s,a])}},63632(e,t,n){"use strict";n.d(t,{M_:()=>r.M,ZK:()=>i.A,wk:()=>o.A});var r=n(16866),o=n(95839),i=(n(26377),n(11520))},34831(e,t,n){"use strict";function r({name:e,category:t,description:n,keyCombination:r,aliases:o}){return{type:"REGISTER_SHORTCUT",name:e,category:t,keyCombination:r,aliases:o,description:n}}function o(e){return{type:"UNREGISTER_SHORTCUT",name:e}}n.r(t),n.d(t,{registerShortcut:()=>r,unregisterShortcut:()=>o})},16866(e,t,n){"use strict";n.d(t,{M:()=>l});var r=n(1663),o=n(9080),i=n(54234),s=n(34831),a=n(77056),l=(0,o.A)("core/keyboard-shortcuts",{reducer:i.A,actions:s,selectors:a});(0,r.kz)(l)},54234(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e={},t){switch(t.type){case"REGISTER_SHORTCUT":return{...e,[t.name]:{category:t.category,keyCombination:t.keyCombination,aliases:t.aliases,description:t.description}};case"UNREGISTER_SHORTCUT":const{[t.name]:n,...r}=e;return r}return e}},77056(e,t,n){"use strict";n.r(t),n.d(t,{getAllShortcutKeyCombinations:()=>f,getAllShortcutRawKeyCombinations:()=>p,getCategoryShortcuts:()=>h,getShortcutAliases:()=>d,getShortcutDescription:()=>u,getShortcutKeyCombination:()=>l,getShortcutRepresentation:()=>c});var r=n(23537),o=n(8312),i=[],s={display:o.dz,raw:o.JF,ariaLabel:o._A};function a(e,t){return e?e.modifier?s[t][e.modifier](e.character):e.character:null}function l(e,t){return e[t]?e[t].keyCombination:null}function c(e,t,n="display"){return a(l(e,t),n)}function u(e,t){return e[t]?e[t].description:null}function d(e,t){return e[t]&&e[t].aliases?e[t].aliases:i}var f=(0,r.M)((e,t)=>[l(e,t),...d(e,t)].filter(e=>!!e),(e,t)=>[e[t]]),p=(0,r.M)((e,t)=>f(e,t).map(e=>a(e,"raw")),(e,t)=>[e[t]]),h=(0,r.M)((e,t)=>Object.entries(e).filter(([,e])=>e.category===t).map(([e])=>e),e=>[e])},8312(e,t,n){"use strict";n.d(t,{Fm:()=>a,G_:()=>i,JF:()=>A,Kp:()=>u,M3:()=>f,NS:()=>h,PX:()=>g,SJ:()=>m,UP:()=>p,_A:()=>C,_f:()=>l,dz:()=>S,kx:()=>E,t6:()=>c,wn:()=>s,yZ:()=>d});var r=n(18335),o=n(50017),i=8,s=9,a=13,l=27,c=32,u=35,d=36,f=37,p=38,h=39,g=40,m=46,v="alt",b="ctrl",y="meta",k="shift";function x(e){return e.length<2?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1)}function w(e,t){return Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n)]))}var _={primary:e=>e()?[y]:[b],primaryShift:e=>e()?[k,y]:[b,k],primaryAlt:e=>e()?[v,y]:[b,v],secondary:e=>e()?[k,v,y]:[b,k,v],access:e=>e()?[b,v]:[k,v],ctrl:()=>[b],alt:()=>[v],ctrlShift:()=>[b,k],shift:()=>[k],shiftAlt:()=>[k,v],undefined:()=>[]},A=w(_,e=>(t,n=o.H)=>[...e(n),t.toLowerCase()].join("+")),S=w(w(_,e=>(t,n=o.H)=>{const r=n(),i={[v]:r?"⌥":"Alt",[b]:r?"⌃":"Ctrl",[y]:"⌘",[k]:r?"⇧":"Shift"};return[...e(n).reduce((e,t)=>{const n=i[t]??t;return r?[...e,n]:[...e,n,"+"]},[]),x(t)]}),e=>(t,n=o.H)=>e(t,n).join("")),C=w(_,e=>(t,n=o.H)=>{const i=n(),s={[k]:"Shift",[y]:i?"Command":"Control",[b]:"Control",[v]:i?"Option":"Alt",
248 /* translators: comma as in the character ',' */
249 ",":(0,r.__)("Comma"),
250 /* translators: period as in the character '.' */
251 ".":(0,r.__)("Period"),
252 /* translators: backtick as in the character '`' */
253 "`":(0,r.__)("Backtick"),
254 /* translators: tilde as in the character '~' */
255 "~":(0,r.__)("Tilde")};return[...e(n),t].map(e=>x(s[e]??e)).join(i?" ":" + ")});var E=w(_,e=>(t,n,r=o.H)=>{const i=e(r),s=function(e){return[v,b,y,k].filter(t=>e[`${t}Key`])}(t),a={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},l=i.filter(e=>!s.includes(e)),c=s.filter(e=>!i.includes(e));if(l.length>0||c.length>0)return!1;let u=t.key.toLowerCase();return n?(t.altKey&&1===n.length&&(u=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&1===n.length&&a[t.code]&&(u=a[t.code]),"del"===n&&(n="delete"),u===n.toLowerCase()):i.includes(u)})},50017(e,t,n){"use strict";function r(e){if(!e){if("undefined"==typeof window)return!1;e=window}const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}n.d(t,{H:()=>r})},7995(e,t,n){"use strict";function r(e){return t=>{const{isComposing:n}="nativeEvent"in t?t.nativeEvent:t;n||229===t.keyCode||e(t)}}n.d(t,{n:()=>r})},71885(e,t,n){"use strict";n.r(t),n.d(t,{createErrorNotice:()=>l,createInfoNotice:()=>a,createNotice:()=>i,createSuccessNotice:()=>s,createWarningNotice:()=>c,removeAllNotices:()=>d,removeNotice:()=>u,removeNotices:()=>f});var r=n(96071),o=0;function i(e=r.B,t,n={}){const{speak:i=!0,isDismissible:s=!0,context:a=r.A,id:l=`${a}${++o}`,actions:c=[],type:u="default",__unstableHTML:d,icon:f=null,explicitDismiss:p=!1,onDismiss:h}=n;return{type:"CREATE_NOTICE",context:a,notice:{id:l,status:e,content:t=String(t),spokenMessage:i?t:null,__unstableHTML:d,isDismissible:s,actions:c,type:u,icon:f,explicitDismiss:p,onDismiss:h}}}function s(e,t){return i("success",e,t)}function a(e,t){return i("info",e,t)}function l(e,t){return i("error",e,t)}function c(e,t){return i("warning",e,t)}function u(e,t=r.A){return{type:"REMOVE_NOTICE",id:e,context:t}}function d(e="default",t=r.A){return{type:"REMOVE_ALL_NOTICES",noticeType:e,context:t}}function f(e,t=r.A){return{type:"REMOVE_NOTICES",ids:e,context:t}}},96071(e,t,n){"use strict";n.d(t,{A:()=>r,B:()=>o});var r="global",o="info"},18124(e,t,n){"use strict";n.d(t,{M:()=>l});var r=n(1663),o=n(9080),i=n(94404),s=n(71885),a=n(10210),l=(0,o.A)("core/notices",{reducer:i.A,actions:s,selectors:a});(0,r.kz)(l)},94404(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(66025).b)("context")((e=[],t)=>{switch(t.type){case"CREATE_NOTICE":return[...e.filter(({id:e})=>e!==t.notice.id),t.notice];case"REMOVE_NOTICE":return e.filter(({id:e})=>e!==t.id);case"REMOVE_NOTICES":return e.filter(({id:e})=>!t.ids.includes(e));case"REMOVE_ALL_NOTICES":return e.filter(({type:e})=>e!==t.noticeType);default:return e}})},10210(e,t,n){"use strict";n.r(t),n.d(t,{getNotices:()=>i});var r=n(96071),o=[];function i(e,t=r.A){return e[t]||o}},35750(e,t,n){"use strict";function r(e,t){return function({select:n,dispatch:r}){const o=n.get(e,t);r.set(e,t,!o)}}function o(e,t,n){return{type:"SET_PREFERENCE_VALUE",scope:e,name:t,value:n}}function i(e,t){return{type:"SET_PREFERENCE_DEFAULTS",scope:e,defaults:t}}async function s(e){const t=await e.get();return{type:"SET_PERSISTENCE_LAYER",persistenceLayer:e,persistedData:t}}n.r(t),n.d(t,{set:()=>o,setDefaults:()=>i,setPersistenceLayer:()=>s,toggle:()=>r})},2412(e,t,n){"use strict";n.d(t,{E:()=>r});var r="core/preferences"},56587(e,t,n){"use strict";n.d(t,{M:()=>c});var r=n(1663),o=n(9080),i=n(91263),s=n(35750),a=n(61141),l=n(2412),c=(0,o.A)(l.E,{reducer:i.Ay,actions:s,selectors:a});(0,r.kz)(c)},91263(e,t,n){"use strict";n.d(t,{Ay:()=>i});var r=n(1663);var o=function(e){let t;return(n,r)=>{if("SET_PERSISTENCE_LAYER"===r.type){const{persistenceLayer:e,persistedData:n}=r;return t=e,n}const o=e(n,r);return"SET_PREFERENCE_VALUE"===r.type&&t?.set(o),o}}((e={},t)=>{if("SET_PREFERENCE_VALUE"===t.type){const{scope:n,name:r,value:o}=t;return{...e,[n]:{...e[n],[r]:o}}}return e}),i=(0,r.HY)({defaults:function(e={},t){if("SET_PREFERENCE_DEFAULTS"===t.type){const{scope:n,defaults:r}=t;return{...e,[n]:{...e[n],...r}}}return e},preferences:o})},61141(e,t,n){"use strict";n.r(t),n.d(t,{get:()=>i});var r,o=n(66786),i=(r=(e,t,n)=>{const r=e.preferences[t]?.[n];return void 0!==r?r:e.defaults[t]?.[n]},(e,t,n)=>["allowRightClickOverrides","distractionFree","editorMode","fixedToolbar","focusMode","hiddenBlockTypes","inactivePanels","keepCaretInsideBlock","mostUsedBlocks","openPanels","showBlockBreadcrumbs","showIconLabels","showListViewByDefault","isPublishSidebarEnabled","isComplementaryAreaVisible","pinnedItems"].includes(n)&&["core/edit-post","core/edit-site"].includes(t)?((0,o.A)(`wp.data.select( 'core/preferences' ).get( '${t}', '${n}' )`,{since:"6.5",alternative:`wp.data.select( 'core/preferences' ).get( 'core', '${n}' )`}),r(e,"core",n)):r(e,t,n))},18266(e,t,n){"use strict";n.d(t,{o:()=>r});var r="blockquote"},65334(e,t,n){"use strict";n.d(t,{jl:()=>s,rw:()=>l,t4:()=>c,wA:()=>a});var r=n(13022),o=n(2376),i=n(93236),s=e=>(0,o.createElement)("circle",e),a=e=>(0,o.createElement)("path",e),l=e=>(0,o.createElement)("rect",e),c=(0,o.forwardRef)(({className:e,isPressed:t,...n},o)=>{const s={...n,className:(0,r.A)(e,{"is-pressed":t})||void 0,"aria-hidden":!0,focusable:!1};return(0,i.jsx)("svg",{...s,ref:o})});c.displayName="SVG"},26433(e,t,n){"use strict";n.d(t,{y:()=>o});var r=n(135),o=()=>{const e=new Map;let t=!1;const n=o=>{for(const[t,n]of e)if(e.delete(t),n(),"number"==typeof o||o.timeRemaining()<=0)break;0!==e.size?(0,r.A)(n):t=!1};return{add:(o,i)=>{e.set(o,i),t||(t=!0,(0,r.A)(n))},flush:t=>{const n=e.get(t);return void 0!==n&&(e.delete(t),n(),!0)},cancel:t=>e.delete(t),reset:()=>{e.clear(),t=!1}}}},135(e,t,n){"use strict";n.d(t,{A:()=>r});n(12655);var r="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback},55294(e,t,n){"use strict";n.d(t,{yf:()=>o});var r=["@wordpress/admin-ui","@wordpress/api-fetch","@wordpress/block-directory","@wordpress/block-editor","@wordpress/block-library","@wordpress/blocks","@wordpress/boot","@wordpress/commands","@wordpress/compose","@wordpress/connectors","@wordpress/workflows","@wordpress/components","@wordpress/core-commands","@wordpress/core-data","@wordpress/customize-widgets","@wordpress/data","@wordpress/edit-post","@wordpress/edit-site","@wordpress/edit-widgets","@wordpress/editor","@wordpress/font-list-route","@wordpress/format-library","@wordpress/patterns","@wordpress/preferences","@wordpress/rich-text","@wordpress/route","@wordpress/router","@wordpress/routes","@wordpress/storybook","@wordpress/sync","@wordpress/theme","@wordpress/dataviews","@wordpress/fields","@wordpress/lazy-editor","@wordpress/media-editor","@wordpress/media-utils","@wordpress/upload-media","@wordpress/global-styles-engine","@wordpress/global-styles-ui","@wordpress/ui","@wordpress/views","@wordpress/widget-dashboard"],o=(e,t)=>{if(!r.includes(t))throw new Error(`You tried to opt-in to unstable APIs as module "${t}". This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will be removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on one of the next WordPress releases.`);if("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress."!==e)throw new Error("You tried to opt-in to unstable APIs without confirming you know the consequences. This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on the next WordPress release.");return{lock:i,unlock:s}};function i(e,t){if(!e)throw new Error("Cannot lock an undefined object.");const n=e;l in n||(n[l]={}),a.set(n[l],t)}function s(e){if(!e)throw new Error("Cannot unlock an undefined object.");const t=e;if(!(l in t))throw new Error("Cannot unlock an object that was not locked before. ");return a.get(t[l])}var a=new WeakMap,l=Symbol("Private API ID")},86336(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(43512),o=n(55276);function i(e={}){return t=>{const n=(0,o.A)(e,t.dispatch);return e=>t=>(0,r.A)(t)?n(t):e(t)}}},39555(e,t,n){"use strict";n.d(t,{o:()=>i,v:()=>o});var r=n(97160);function o(e){return(0,r.Q)(e)&&"string"==typeof e.type}function i(e,t){return o(e)&&e.type===t}},43512(e,t,n){"use strict";function r(e){return!!e&&"function"==typeof e[Symbol.iterator]&&"function"==typeof e.next}n.d(t,{A:()=>r})},55276(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(84093),o=n(12757),i=n(39555);function s(e={},t){const n=Object.entries(e).map(([e,t])=>(n,r,s,a,l)=>{if(!(0,i.o)(n,e))return!1;const c=t(n);return(0,o.A)(c)?c.then(a,l):a(c),!0});n.push((e,n)=>!!(0,i.v)(e)&&(t(e),n(),!0));const s=(0,r.create)(n);return e=>new Promise((n,r)=>s(e,e=>{(0,i.v)(e)&&t(e),n(e)},r))}},41919(e,t,n){"use strict";n.d(t,{W:()=>i});var r=n(10084);function o(e,t,n){return(e=e.slice())[t]=n,e}function i(e,t,n=e.start,i=e.end){const{formats:s,activeFormats:a}=e,l=s.slice();if(n===i){const e=l[n]?.find(({type:e})=>e===t.type);if(e){const r=l[n].indexOf(e);for(;l[n]&&l[n][r]===e;)l[n]=o(l[n],r,t),n--;for(i++;l[i]&&l[i][r]===e;)l[i]=o(l[i],r,t),i++}}else{let e=1/0;for(let r=n;r<i;r++)if(l[r]){l[r]=l[r].filter(({type:e})=>e!==t.type);const n=l[r].length;n<e&&(e=n)}else l[r]=[],e=0;for(let r=n;r<i;r++)l[r].splice(e,0,t)}return(0,r.V)({...e,formats:l,activeFormats:[...a?.filter(({type:e})=>e!==t.type)||[],t]})}},11215(e,t,n){"use strict";n.d(t,{b:()=>i,x:()=>s});var r=n(10084),o=n(98151);function i(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function s(...e){return(0,r.V)(e.reduce(i,(0,o.vt)()))}},91247(e,t,n){"use strict";n.d(t,{I:()=>i,X:()=>o});var r=n(2376),o=(0,r.createContext)();o.displayName="KeyboardShortcutContext";var i=(0,r.createContext)();i.displayName="InputEventContext"},49904(e,t,n){"use strict";function r({implementation:e},t){return r.body||(r.body=e.createHTMLDocument("").body),r.body.innerHTML=t,r.body}n.d(t,{n:()=>r})},98151(e,t,n){"use strict";n.d(t,{EF:()=>f,vt:()=>p});var r=n(1113),o=n(12779),i=n(49904),s=n(11215),a=n(19597),l=n(93660),c=n(19355);function u(){return{formats:[],replacements:[],text:""}}function d({tagName:e,attributes:t}){let n;if(t&&t.class&&(n=(0,r.L)(o.M).getFormatTypeForClassName(t.class),n&&(t.class=` ${t.class} `.replace(` ${n.className} `," ").trim(),t.class||delete t.class)),n||(n=(0,r.L)(o.M).getFormatTypeForBareElement(e)),!n)return t?{type:e,attributes:t}:{type:e};if(n.__experimentalCreatePrepareEditableTree&&!n.__experimentalCreateOnChangeEditableValue)return null;if(!t)return{formatType:n,type:n.name,tagName:e};const i={},s={},a={...t};for(const e in n.attributes){const t=n.attributes[e];i[e]=a[t],delete a[t],void 0===i[e]&&delete i[e]}for(const e in a)s[e]=t[e];!1===n.contentEditable&&delete s.contenteditable;const l={formatType:n,type:n.name,tagName:e};return Object.keys(i).length&&(l.attributes=i),Object.keys(s).length&&(l.unregisteredAttributes=s),l}var f=class e{#e;static empty(){return new e}static fromPlainText(t){return new e(p({text:t}))}static fromHTMLString(t){return new e(p({html:t}))}static fromHTMLElement(t,n={}){const{preserveWhiteSpace:r=!1}=n,o=r?t:m(t),i=new e(p({element:o}));return Object.defineProperty(i,"originalHTML",{value:t.innerHTML}),i}constructor(e={formats:[],replacements:[],text:""}){this.#e=e}toPlainText(){return(0,c.r)(this.#e)}toHTMLString({preserveWhiteSpace:e}={}){return this.originalHTML||(0,l.K)({value:this.#e,preserveWhiteSpace:e})}valueOf(){return this.toHTMLString()}toString(){return this.toHTMLString()}toJSON(){return this.toHTMLString()}get length(){return this.text.length}get formats(){return this.#e.formats}get replacements(){return this.#e.replacements}get text(){return this.#e.text}};for(const e of Object.getOwnPropertyNames(String.prototype))f.prototype.hasOwnProperty(e)||Object.defineProperty(f.prototype,e,{value(...t){return this.toHTMLString()[e](...t)}});function p({element:e,text:t,html:n,range:r,__unstableIsEditableTree:o}={}){return n instanceof f?{text:n.text,formats:n.formats,replacements:n.replacements}:"string"==typeof t&&t.length>0?{formats:Array(t.length),replacements:Array(t.length),text:t}:("string"==typeof n&&n.length>0&&(e=(0,i.n)(document,n)),"object"!=typeof e?{formats:[],replacements:[],text:""}:b({element:e,range:r,isEditableTree:o}))}function h(e,t,n,r){if(!n)return;const{parentNode:o}=t,{startContainer:i,startOffset:s,endContainer:a,endOffset:l}=n,c=e.text.length;void 0!==r.start?e.start=c+r.start:t===i&&t.nodeType===t.TEXT_NODE?e.start=c+s:o===i&&t===i.childNodes[s]?e.start=c:o===i&&t===i.childNodes[s-1]?e.start=c+r.text.length:t===i&&(e.start=c),void 0!==r.end?e.end=c+r.end:t===a&&t.nodeType===t.TEXT_NODE?e.end=c+l:o===a&&t===a.childNodes[l-1]?e.end=c+r.text.length:o===a&&t===a.childNodes[l]?e.end=c:t===a&&(e.end=c+l)}function g(e,t,n){if(!t)return;const{startContainer:r,endContainer:o}=t;let{startOffset:i,endOffset:s}=t;return e===r&&(i=n(e.nodeValue.slice(0,i)).length),e===o&&(s=n(e.nodeValue.slice(0,s)).length),{startContainer:r,startOffset:i,endContainer:o,endOffset:s}}function m(e,t=!0,n=!1,r=!1){const o=e.cloneNode(!0);return o.normalize(),Array.from(o.childNodes).forEach((e,o,i)=>{if(e.nodeType===e.TEXT_NODE){let s=e.nodeValue;/[\n\t\r\f]/.test(s)&&(s=s.replace(/[\n\t\r\f]+/g," ")),-1!==s.indexOf(" ")&&(s=s.replace(/ {2,}/g," ")),0===o&&s.startsWith(" ")&&(t||n)&&(s=s.slice(1)),o===i.length-1&&s.endsWith(" ")&&(t||r)&&(s=s.slice(0,-1)),e.nodeValue=s}else if(e.nodeType===e.ELEMENT_NODE){const{previousSibling:o,nextSibling:i}=e,s=o?.textContent.endsWith(" "),a=i?.textContent.startsWith(" ");e.replaceWith(m(e,!1,o?s:t||n,i?a:t||r))}}),o}function v(e){return e.replace(new RegExp(`[${a.p}${a.z}\r]`,"gu"),"")}function b({element:e,range:t,isEditableTree:n}){const r={formats:[],replacements:[],text:""};if(!e)return r;if(!e.hasChildNodes())return h(r,e,t,{formats:[],replacements:[],text:""}),r;const o=e.childNodes.length;for(let i=0;i<o;i++){const o=e.childNodes[i],l=o.nodeName.toLowerCase();if(o.nodeType===o.TEXT_NODE){const e=v(o.nodeValue);h(r,o,t=g(o,t,v),{text:e}),r.formats.length+=e.length,r.replacements.length+=e.length,r.text+=e;continue}if(o.nodeType===o.COMMENT_NODE||o.nodeType===o.ELEMENT_NODE&&"SPAN"===o.tagName&&o.hasAttribute("data-rich-text-comment")){const e={formats:[,],replacements:[{type:"#comment",attributes:{"data-rich-text-comment":o.nodeType===o.COMMENT_NODE?o.nodeValue:o.getAttribute("data-rich-text-comment")}}],text:a.z};h(r,o,t,e),(0,s.b)(r,e);continue}if(o.nodeType!==o.ELEMENT_NODE)continue;if(n&&"br"===l&&!o.getAttribute("data-rich-text-line-break")){h(r,o,t,u());continue}if("script"===l){const e={formats:[,],replacements:[{type:l,attributes:{"data-rich-text-script":o.getAttribute("data-rich-text-script")||encodeURIComponent(o.innerHTML)}}],text:a.z};h(r,o,t,e),(0,s.b)(r,e);continue}if("br"===l){h(r,o,t,u()),(0,s.b)(r,p({text:"\n"}));continue}const c=d({tagName:l,attributes:y({element:o})});if(!1===c?.formatType?.contentEditable){delete c.formatType,h(r,o,t,u()),(0,s.b)(r,{formats:[,],replacements:[{...c,innerHTML:o.innerHTML}],text:a.z});continue}c&&delete c.formatType;const f=b({element:o,range:t,isEditableTree:n});if(h(r,o,t,f),!c||o.getAttribute("data-rich-text-placeholder")||o.getAttribute("data-rich-text-bogus"))(0,s.b)(r,f);else if(0===f.text.length)c.attributes&&(0,s.b)(r,{formats:[,],replacements:[c],text:a.z});else{let e=function(t){if(e.formats===t)return e.newFormats;const n=t?[c,...t]:[c];return e.formats=t,e.newFormats=n,n};e.newFormats=[c],(0,s.b)(r,{...f,formats:Array.from(f.formats,e)})}}return r}function y({element:e}){if(!e.hasAttributes())return;const t=e.attributes.length;let n;for(let r=0;r<t;r++){const{name:t,value:o}=e.attributes[r];if(0===t.indexOf("data-rich-text-"))continue;n=n||{},n[/^on/i.test(t)?"data-disable-rich-text-"+t:t]=o}return n}},83265(e,t,n){"use strict";n.d(t,{G:()=>r,q:()=>o});var r=e=>t=>{const{keyboardShortcuts:n}=e.current;function r(e){for(const t of n.current)t(e)}return t.addEventListener("keydown",r),()=>{t.removeEventListener("keydown",r)}},o=e=>t=>{const{inputEvents:n}=e.current;function r(e){for(const t of n.current)t(e)}return t.addEventListener("input",r),()=>{t.removeEventListener("input",r)}}},38832(e,t,n){"use strict";n.d(t,{S:()=>o});var r=n(70823);function o(e,t){return(0,r.Z)(e).find(({type:e})=>e===t)}},70823(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(84838);function o(e,t=[]){const{formats:n,start:o,end:i,activeFormats:s}=e;if(void 0===o)return t;if(o===i){if(s)return s;const e=n[o-1]||t,r=n[o]||t;return e.length<r.length?e:r}if(!n[o])return t;const a=n.slice(o,i),l=[...a[0]];let c=a.length;for(;c--;){const e=a[c];if(!e)return t;let n=l.length;for(;n--;){const t=l[n];e.find(e=>(0,r.O)(t,e))||l.splice(n,1)}if(0===l.length)return t}return l||t}},77368(e,t,n){"use strict";n.d(t,{o:()=>o});var r=n(19597);function o({start:e,end:t,replacements:n,text:o}){if(e+1===t&&o[e]===r.z)return n[e]}},41512(e,t,n){"use strict";n.d(t,{U:()=>i});var r=n(1113),o=n(12779);function i(e){return(0,r.L)(o.M).getFormatType(e)}},19355(e,t,n){"use strict";n.d(t,{r:()=>o});var r=n(19597);function o({text:e}){return e.replace(r.z,"")}},92210(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(50788),o=n(93660),i=n(61899),s=n(90623),a=n(63259),l=n(19355),c=n(66985),u=n(97359),{subscribeDelegatedListener:d}=(0,u.T)(r.j),f=e=>t=>{function n(n){const{record:r,handleChange:u}=e.current,{ownerDocument:d}=t;if(n.defaultPrevented||(0,i.k)(r.current)||!t.contains(d.activeElement)&&!(0,c.w)(t))return;const f=(0,s.d)(r.current),p=(0,l.r)(f),h=(0,o.K)({value:f});n.clipboardData.setData("text/plain",p),n.clipboardData.setData("text/html",h),n.clipboardData.setData("rich-text","true"),n.preventDefault(),"cut"===n.type&&u((0,a.T)(r.current))}const{defaultView:r}=t.ownerDocument,u=d(r,"copy",n),f=d(r,"cut",n);return()=>{u(),f()}}},86623(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(8312),o=n(63259),i=n(14090),s=e=>t=>(0,i.S)(t,"keydown",function(t){const{keyCode:n}=t;if(t.defaultPrevented)return;if(n!==r.SJ&&n!==r.G_)return;const{createRecord:i,handleChange:s}=e.current,a=i(),{start:l,end:c,text:u}=a;0===l&&0!==c&&c===u.length&&(s((0,o.T)(a)),t.preventDefault())})},93978(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(8312),o=n(61899),i=n(14090),s=[],a=e=>t=>(0,i.S)(t,"keydown",function(n){const{keyCode:i,shiftKey:a,altKey:l,metaKey:c,ctrlKey:u}=n;if(a||l||c||u||i!==r.M3&&i!==r.NS)return;const{record:d,applyRecord:f,forceRender:p}=e.current,{text:h,formats:g,start:m,end:v,activeFormats:b=[]}=d.current,y=(0,o.k)(d.current),{defaultView:k}=t.ownerDocument,{direction:x}=k.getComputedStyle(t),w="rtl"===x?r.NS:r.M3,_=n.keyCode===w;if(y&&0===b.length){if(0===m&&_)return;if(v===h.length&&!_)return}if(!y)return;const A=g[m-1]||s,S=g[m]||s,C=_?A:S,E=b.every((e,t)=>e===C[t]);let T=b.length;if(E?T<C.length&&T++:T--,T===b.length)return void(d.current._newActiveFormats=C);n.preventDefault();const I=(E?C:_?S:A).slice(0,T),j={...d.current,activeFormats:I};d.current=j,f(j),p()},!0)},5346(e,t,n){"use strict";n.d(t,{r:()=>p});var r=n(2376),o=n(71886),i=n(92210),s=n(226),a=n(93978),l=n(86623),c=n(62819),u=n(85052),d=n(69118),f=[c.A,i.A,s.A,a.A,l.A,u.A,d.x];function p(e){const t=(0,r.useRef)(e);(0,r.useInsertionEffect)(()=>{t.current=e});const n=(0,r.useMemo)(()=>f.map(e=>e(t)),[t]);return(0,o.A)(e=>{const t=n.map(t=>t(e));return()=>{t.forEach(e=>e())}},[n])}},62819(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(50788),o=n(70823),i=n(61899),s=n(2671),a=n(66985),l=n(14090),c=n(97359),{subscribeDelegatedListener:u}=(0,c.T)(r.j),d=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),f=[],p=e=>t=>{const{ownerDocument:n}=t,{defaultView:r}=n;let c,p=!1;function h(t){if(p)return;let n;t&&(n=t.inputType);const{record:r,applyRecord:o,createRecord:a,handleChange:l}=e.current;if(n&&(0===n.indexOf("format")||d.has(n)))return void o(r.current);const c=a(),{start:u,activeFormats:f=[]}=r.current,h=!(0,i.k)(r.current)&&c.start<=u;l((0,s.U)({value:c,start:u,end:c.start,formats:h?[]:f}))}function g(){const{record:i,applyRecord:s,createRecord:l,onSelectionChange:u}=e.current;if("true"!==t.contentEditable)return;if(n.activeElement!==t&&!(0,a.w)(t))return;if(p)return;const d=r.getSelection();if(c&&c.anchorNode===d.anchorNode&&c.anchorOffset===d.anchorOffset&&c.focusNode===d.focusNode&&c.focusOffset===d.focusOffset&&c.processedStart===i.current.start&&c.processedEnd===i.current.end)return;const{start:g,end:m,text:v}=l(),b=i.current;if(0===v.length&&s({...b,start:g,end:m}),c={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset,processedStart:g,processedEnd:m},v!==b.text)return void h();if(g===b.start&&m===b.end)return;const y={...b,start:g,end:m,activeFormats:b._newActiveFormats,_newActiveFormats:void 0},k=(0,o.Z)(y,f);y.activeFormats=k,i.current=y,s(y,{domOnly:!0}),u(g,m)}const m=(0,l.S)(t,"input",h,!0),v=(0,l.S)(t,"compositionstart",function(){p=!0,t.querySelector("[data-rich-text-placeholder]")?.remove()}),b=(0,l.S)(t,"compositionend",function(){p=!1,h({inputType:"insertText"})},!0),y=u(t,"focusin",function(n){if(n.target!==t)return;if("true"!==t.contentEditable)return;const{record:o,isSelected:i,onSelectionChange:s,applyRecord:a}=e.current;if(t.parentElement.closest('[contenteditable="true"]')){const e=r.getSelection();return e.anchorNode&&t.contains(e.anchorNode)||(i&&void 0!==o.current.start?a(o.current):e.collapse(t,0)),void window.queueMicrotask(g)}if(i)a(o.current);else{const e=void 0;o.current={...o.current,start:e,end:e,activeFormats:f},c=void 0}s(o.current.start,o.current.end),window.queueMicrotask(g)}),k=(0,l.S)(t,"selectionchange",g),x=["keydown","beforeinput","copy","cut","paste"].map(e=>(0,l.S)(t,e,g,!0));return()=>{m(),v(),b(),y(),k(),x.forEach(e=>e())}}},69118(e,t,n){"use strict";n.d(t,{x:()=>s});var r=n(50788),o=n(97359),{subscribeDelegatedListener:i}=(0,o.T)(r.j);function s(){return e=>{const{ownerDocument:t}=e,{defaultView:n}=t;let r=null;function o(){null!==r&&(e.setAttribute("contenteditable",r),r=null)}const s=i(n,"pointerdown",function(t){t.defaultPrevented||t.target!==e&&t.target.contains(e)&&(r=e.getAttribute("contenteditable"),e.setAttribute("contenteditable","false"),n.getSelection().removeAllRanges())}),a=i(n,"pointerup",o),l=i(n,"pointercancel",o);return()=>{s(),a(),l()}}}},226(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(50788),o=n(97359),{subscribeDelegatedListener:i}=(0,o.T)(r.j),s=()=>e=>{function t(t){const{target:n}=t;if(n===e||n.textContent&&n.isContentEditable)return;const{ownerDocument:r}=n,{defaultView:o}=r,i=o.getSelection();if(i.containsNode(n))return;const s=r.createRange(),a=n.isContentEditable?n:n.closest("[contenteditable]");s.selectNode(a),i.removeAllRanges(),i.addRange(s),t.preventDefault()}const n=i(e,"click",t),r=i(e,"focusin",function(n){n.relatedTarget&&!e.contains(n.relatedTarget)&&t(n)});return()=>{n(),r()}}},85052(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(50788),o=n(87292),i=n(97359),{subscribeDelegatedListener:s}=(0,i.T)(r.j),a=()=>e=>{const{ownerDocument:t}=e,{defaultView:n}=t,r=n?.getSelection();let i;function a(){return r.rangeCount?r.getRangeAt(0):null}function l(e){const n="keydown"===e.type?"keyup":"pointerup";function r(){t.removeEventListener(n,s),t.removeEventListener("selectionchange",r),t.removeEventListener("input",r)}function s(){r(),(0,o.c)(i,a())||t.dispatchEvent(new Event("selectionchange"))}t.addEventListener(n,s),t.addEventListener("selectionchange",r),t.addEventListener("input",r),i=a()}const c=s(e,"pointerdown",l),u=s(e,"keydown",l);return()=>{c(),u()}}},66779(e,t,n){"use strict";n.d(t,{z:()=>v});var r=n(2376),o=n(43730),i=n(71886),s=n(65627),a=n(98151),l=n(39291),c=n(93660),u=n(62241),d=n(66985),f=n(12342),p=n(54133),h=n(5346),g=n(69050);function m({value:e="",selectionStart:t,selectionEnd:n,placeholder:u,onSelectionChange:g,preserveWhiteSpace:m,onChange:v,__unstableDisableFormats:b,__unstableIsSelected:y,__unstableDependencies:k=[],__unstableAfterParse:x,__unstableBeforeSerialize:w,__unstableAddInvisibleFormats:_}){const A=(0,s.A)(),[,S]=(0,r.useReducer)(()=>({})),C=(0,r.useRef)();function E(e,{domOnly:t}={}){(0,l.Bb)({value:e,current:C.current,prepareEditableTree:_,__unstableDomOnly:t,placeholder:u})}const T=(0,r.useRef)(e),I=(0,r.useRef)();function j(){const r=I.current?.activeFormats;T.current=e,I.current=e,e instanceof a.EF||(I.current=e?a.EF.fromHTMLString(e,{preserveWhiteSpace:m}):a.EF.empty()),I.current={text:I.current.text,formats:I.current.formats,replacements:I.current.replacements,activeFormats:r},b&&(I.current.formats=Array(e.length),I.current.replacements=Array(e.length)),x&&(I.current.formats=x(I.current)),I.current.start=t,I.current.end=n}const B=(0,r.useRef)(!1);function N(t){if(I.current=t,E(t),b)T.current=t.text;else{const n=w?w(t):t.formats;t={...t,formats:n},T.current="string"==typeof e?(0,c.K)({value:t,preserveWhiteSpace:m}):new a.EF(t)}const{start:n,end:r,formats:o,text:i}=I.current;A.batch(()=>{g(n,r),v(T.current,{__unstableFormats:o,__unstableText:i})}),S()}function M(){const t=T.current;j();const n=t&&"string"==typeof t&&"string"==typeof e&&t.length!==e.length,r=C.current?.contains(C.current.ownerDocument.activeElement)||(0,d.w)(C.current),o=n&&!r;E(I.current,{domOnly:o})}I.current?t===I.current.start&&n===I.current.end||(B.current=y,I.current={...I.current,start:t,end:n,activeFormats:void 0}):(B.current=y,j());const R=(0,r.useRef)(!1);(0,r.useLayoutEffect)(()=>{R.current&&e!==T.current&&(M(),S())},[e]),(0,r.useLayoutEffect)(()=>{B.current&&(C.current.ownerDocument.activeElement===C.current||(0,d.w)(C.current)||C.current.focus(),E(I.current),B.current=!1)},[B.current]);const O=(0,o.A)([C,(0,f.E)(),(0,p.d)({record:I}),(0,h.r)({record:I,handleChange:N,applyRecord:E,createRecord:function(){const{ownerDocument:{defaultView:e}}=C.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return(0,a.vt)({element:C.current,range:n,__unstableIsEditableTree:!0})},isSelected:y,onSelectionChange:g,forceRender:S}),(0,i.A)(()=>{M(),R.current=!0},[u,...k])]);return{value:I.current,getValue:()=>I.current,onChange:N,ref:O}}function v({allowedFormats:e,withoutInteractiveFormatting:t,onChange:n,__unstableDependencies:r=[],__unstableFormatTypeHandlerContext:o,...i}){const{formatTypes:s,prepareHandlers:a,valueHandlers:l,changeHandlers:c,dependencies:d}=(0,g.Y)({allowedFormats:e,withoutInteractiveFormatting:t,__unstableFormatTypeHandlerContext:o});return{...m({...i,onChange(e,{__unstableFormats:t,__unstableText:r}){n(e,{__unstableFormats:t,__unstableText:r}),Object.values(c).forEach(e=>{e(t,r)})},__unstableDependencies:[...d,...r],__unstableAfterParse:function(e){return l.reduce((t,n)=>n(t,e.text),e.formats)},__unstableBeforeSerialize:function(e){return s.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=(0,u.k)(e,t.name,0,e.text.length))}),e.formats},__unstableAddInvisibleFormats:function(e){return a.reduce((t,n)=>n(t,e.text),e.formats)}}),formatTypes:s}}},74436(e,t,n){"use strict";n.d(t,{d:()=>u});var r=n(15766),o=n(2376),i=n(7835),s=n(66985);function a(e,t){return{contextElement:t,getBoundingClientRect:()=>t.contains(e.startContainer)?(0,i.A)(e)??e.getBoundingClientRect():t.getBoundingClientRect()}}function l(e,t,n){if(!e)return;const{ownerDocument:r}=e,{defaultView:o}=r,i=o?.getSelection();if(!i)return;if(!i.rangeCount)return;const s=i.getRangeAt(0);return s&&s.startContainer?t||n?function(e,t,n,r){let o=e.startContainer;if(o.nodeType===o.TEXT_NODE&&o instanceof window.Text&&e.startOffset===o.length&&o.nextSibling)for(o=o.nextSibling;o.firstChild;)o=o.firstChild;if(o.nodeType!==o.ELEMENT_NODE){if(!o.parentElement)return;o=o.parentElement}if(o===t)return;if(!t.contains(o))return;const i=n+(r?"."+r:"");if(!i)return;if(!(o instanceof window.HTMLElement))return;let s=o;for(;s&&s!==t;){if(s.matches(i))return s;s=s.parentElement}}(s,e,t,n)??a(s,e):a(s,e):void 0}var c={tagName:"",className:""};function u({editableContentElement:e,settings:t}){const{tagName:n,className:i}=t??c,a=!!(t&&"isActive"in t&&t.isActive),[u,d]=(0,o.useState)(()=>l(e,n,i??"")),f=(0,r.A)(a);return(0,o.useLayoutEffect)(()=>{if(!e)return;function t(){d(l(e,n,i??""))}function r(){c.addEventListener("selectionchange",t)}function o(){c.removeEventListener("selectionchange",t)}const{ownerDocument:c}=e;return((0,s.w)(e)||!f&&a||f&&!a)&&(d(l(e,n,i??"")),r()),e.addEventListener("focusin",r),e.addEventListener("focusout",o),()=>{o(),e.removeEventListener("focusin",r),e.removeEventListener("focusout",o)}},[e,n,i,a,f]),u}},54133(e,t,n){"use strict";n.d(t,{d:()=>i});var r=n(63270),o=n(2376);function i({record:e}){const t=(0,o.useRef)(),{activeFormats:n=[],replacements:i,start:s}=e.current,a=i[s];return(0,o.useEffect)(()=>{if(!(n&&n.length||a))return;const e="*[data-rich-text-format-boundary]",o=t.current.querySelector(e);if(!o)return;const{ownerDocument:i}=o,{defaultView:s}=i,l=s.getComputedStyle(o),c=`${`.rich-text:focus ${e}`} {${`background-color: ${(0,r.Mj)(l.color).alpha(.2).toRgbString()}`}}`,u="rich-text-boundary-style";let d=i.getElementById(u);d||(d=i.createElement("style"),d.id=u,i.head.appendChild(d)),d.innerHTML!==c&&(d.innerHTML=c)},[n,a]),t}},12342(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n(2376);function o(){return(0,r.useCallback)(e=>{e&&(e.style.whiteSpace=e.style.whiteSpace||"pre-wrap")},[])}},69050(e,t,n){"use strict";n.d(t,{Y:()=>u});var r=n(2376),o=n(79027),i=n(19623),s=n(12779);function a(e){return e(s.M).getFormatTypes()}var l=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function c(e,t){return e[t]?e[t]:Object.keys(e).filter(e=>e.startsWith(t+".")).reduce((n,r)=>(n[r.slice(t.length+1)]=e[r],n),{})}function u({allowedFormats:e,withoutInteractiveFormatting:t,__unstableFormatTypeHandlerContext:n}){const s=(0,i.A)(a,[]),u=(0,r.useMemo)(()=>s.filter(({name:n,interactive:r,tagName:o})=>!(e&&!e.includes(n))&&(!t||!r&&!l.has(o))),[s,e,t]),d=(0,i.A)(e=>u.reduce((t,r)=>{return r.__experimentalGetPropsForEditableTreePreparation&&n?{...t,...(o=r.__experimentalGetPropsForEditableTreePreparation(e,n),i=r.name,"object"!=typeof o?{[i]:o}:Object.fromEntries(Object.entries(o).map(([e,t])=>[`${i}.${e}`,t])))}:t;var o,i},{}),[u,n]),f=(0,o.A)(),p=[],h=[],g=[],m=[];for(const e in d)m.push(d[e]);return u.forEach(e=>{if(e.__experimentalCreatePrepareEditableTree&&n){const t=e.__experimentalCreatePrepareEditableTree(c(d,e.name),n);e.__experimentalCreateOnChangeEditableValue?h.push(t):p.push(t)}if(e.__experimentalCreateOnChangeEditableValue&&n){let t={};e.__experimentalGetPropsForEditableTreeChangeHandler&&(t=e.__experimentalGetPropsForEditableTreeChangeHandler(f,n));const r=c(d,e.name);g.push(e.__experimentalCreateOnChangeEditableValue({..."object"==typeof r?r:{},...t},n))}}),{formatTypes:u,prepareHandlers:p,valueHandlers:h,changeHandlers:g,dependencies:m}}},4157(e,t,n){"use strict";n.d(t,{DE:()=>d.D,EF:()=>i.EF,HC:()=>h.H,Im:()=>u.I,Kt:()=>k.K,Ky:()=>y.K,MX:()=>x.M,Ng:()=>w.n,PE:()=>m.P,SX:()=>s.S,TF:()=>p.T,Wc:()=>r.W,Yr:()=>g.Y,d6:()=>A.d,di:()=>v.d,jb:()=>_.j,k2:()=>f.k,kW:()=>c.k,lD:()=>b.l,o_:()=>a.o,rf:()=>l.r,vt:()=>i.vt,xW:()=>o.x});n(12779);var r=n(41919),o=n(11215),i=n(98151),s=n(38832),a=n(77368),l=n(19355),c=n(61899),u=n(98071),d=n(43461),f=n(62241),p=n(63259),h=n(1961),g=n(7792),m=n(59808),v=n(90623),b=n(52317),y=n(93660),k=n(23897),x=n(94024),w=n(49904),_=n(51646),A=n(74436)},45234(e,t,n){"use strict";n.d(t,{o:()=>s});var r=n(2376),o=n(74233),i=n(91247);function s({inputType:e,onInput:t}){const n=(0,r.useContext)(i.I),s=(0,o.A)(t);return(0,r.useEffect)(()=>{const t=n.current;function r(t){t.inputType===e&&(s(),t.preventDefault())}return t.add(r),()=>{t.delete(r)}},[e,n,s]),null}},59808(e,t,n){"use strict";n.d(t,{P:()=>i});var r=n(7792),o=n(19597);function i(e,t,n,i){const s={formats:[,],replacements:[t],text:o.z};return(0,r.Y)(e,s,n,i)}},7792(e,t,n){"use strict";n.d(t,{Y:()=>i});var r=n(98151),o=n(10084);function i(e,t,n=e.start,i=e.end){const{formats:s,replacements:a,text:l}=e;"string"==typeof t&&(t=(0,r.vt)({text:t}));const c=n+t.text.length;return(0,o.V)({formats:s.slice(0,n).concat(t.formats,s.slice(i)),replacements:a.slice(0,n).concat(t.replacements,a.slice(i)),text:l.slice(0,n)+t.text+l.slice(i),start:c,end:c})}},61899(e,t,n){"use strict";function r({start:e,end:t}){if(void 0!==e&&void 0!==t)return e===t}n.d(t,{k:()=>r})},98071(e,t,n){"use strict";function r({text:e}){return 0===e.length}n.d(t,{I:()=>r})},84838(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;let n=e.attributes,r=t.attributes;if((e.unregisteredAttributes||t.unregisteredAttributes)&&(n={...n,...e.unregisteredAttributes},r={...r,...t.unregisteredAttributes}),n===r)return!0;if(!n||!r)return!1;const o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;const s=o.length;for(let e=0;e<s;e++){const t=o[e];if(n[t]!==r[t])return!1}return!0}n.d(t,{O:()=>r})},87292(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}n.d(t,{c:()=>r})},23415(e,t,n){"use strict";n.d(t,{a:()=>a});var r=n(8312),o=n(2376),i=n(74233),s=n(91247);function a({character:e,type:t,onUse:n}){const a=(0,o.useContext)(s.X),l=(0,i.A)(n);return(0,o.useEffect)(()=>{const n=a.current;function o(n){r.kx[t](n,e)&&(l(),n.preventDefault())}return n.add(o),()=>{n.delete(o)}},[e,t,a,l]),null}},97359(e,t,n){"use strict";n.d(t,{T:()=>i,s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/rich-text")},10084(e,t,n){"use strict";n.d(t,{V:()=>o});var r=n(84838);function o(e){const t=e.formats.slice();return t.forEach((e,n)=>{const o=t[n-1];if(o){const i=e.slice();i.forEach((e,t)=>{const n=o[t];(0,r.O)(e,n)&&(i[t]=n)}),t[n]=i}}),{...e,formats:t}}},66985(e,t,n){"use strict";function r(e){const{ownerDocument:t}=e,{activeElement:n}=t;if(n===e)return!0;if(!n||"true"!==n.contentEditable||"true"!==e.contentEditable||!n.contains(e))return!1;const r=t.defaultView.getSelection(),{anchorNode:o,focusNode:i}=r;return!!o&&!!i&&e.contains(o)&&e.contains(i)}n.d(t,{w:()=>r})},51646(e,t,n){"use strict";n.d(t,{j:()=>d});var r=n(97359),o=n(66779),i=n(91247),s=n(23415),a=n(45234),l=n(83265),c=n(66985),u=n(14090),d={};(0,r.s)(d,{useRichText:o.z,KeyboardShortcutContext:i.X,InputEventContext:i.I,RichTextShortcut:s.a,RichTextInputEvent:a.o,shortcutsListener:l.G,inputEventsListener:l.q,ownsSelection:c.w,subscribeOwnedListener:u.S})},43461(e,t,n){"use strict";n.d(t,{D:()=>s});var r=n(76319),o=n(1113),i=n(12779);function s(e,t){if("string"==typeof(t={name:e,...t}).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if((0,o.L)(i.M).getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9_-]*$/.test(t.className)){if(null===t.className){const e=(0,o.L)(i.M).getFormatTypeForBareElement(t.tagName);if(e&&"core/unknown"!==e.name)return void window.console.error(`Format "${e.name}" is already registered to handle bare tag name "${t.tagName}".`)}else{const e=(0,o.L)(i.M).getFormatTypeForClassName(t.className);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle class name "${t.className}".`)}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return(0,r.J)(i.M).addFormatTypes(t),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, underscores, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}},62241(e,t,n){"use strict";n.d(t,{k:()=>o});var r=n(10084);function o(e,t,n=e.start,o=e.end){const{formats:s,activeFormats:a}=e,l=s.slice();if(n===o){const e=l[n]?.find(({type:e})=>e===t);if(e){for(;l[n]?.find(t=>t===e);)i(l,n,t),n--;for(o++;l[o]?.find(t=>t===e);)i(l,o,t),o++}}else for(let e=n;e<o;e++)l[e]&&i(l,e,t);return(0,r.V)({...e,formats:l,activeFormats:a?.filter(({type:e})=>e!==t)||[]})}function i(e,t,n){const r=e[t].filter(({type:e})=>e!==n);r.length?e[t]=r:delete e[t]}},63259(e,t,n){"use strict";n.d(t,{T:()=>i});var r=n(7792),o=n(98151);function i(e,t,n){return(0,r.Y)(e,(0,o.vt)(),t,n)}},1961(e,t,n){"use strict";n.d(t,{H:()=>o});var r=n(10084);function o({formats:e,replacements:t,text:n,start:o,end:i},s,a){return n=n.replace(s,(n,...r)=>{const s=r[r.length-2];let l,c,u=a;return"function"==typeof u&&(u=a(n,...r)),"object"==typeof u?(l=u.formats,c=u.replacements,u=u.text):(l=Array(u.length),c=Array(u.length),e[s]&&(l=l.fill(e[s]))),e=e.slice(0,s).concat(l,e.slice(s+n.length)),t=t.slice(0,s).concat(c,t.slice(s+n.length)),o&&(o=i=s+u.length),u}),(0,r.V)({formats:e,replacements:t,text:n,start:o,end:i})}},90623(e,t,n){"use strict";function r(e,t=e.start,n=e.end){const{formats:r,replacements:o,text:i}=e;return void 0===t||void 0===n?{...e}:{formats:r.slice(t,n),replacements:o.slice(t,n),text:i.slice(t,n)}}n.d(t,{d:()=>r})},19597(e,t,n){"use strict";n.d(t,{p:()=>o,z:()=>r});var r="",o="\ufeff"},52317(e,t,n){"use strict";function r({formats:e,replacements:t,text:n,start:r,end:o},i){if("string"!=typeof i)return function({formats:e,replacements:t,text:n,start:r,end:o},i=r,s=o){if(void 0===r||void 0===o)return;const a={formats:e.slice(0,i),replacements:t.slice(0,i),text:n.slice(0,i)},l={formats:e.slice(s),replacements:t.slice(s),text:n.slice(s),start:0,end:0};return[a,l]}(...arguments);let s=0;return n.split(i).map(n=>{const a=s,l={formats:e.slice(a,a+n.length),replacements:t.slice(a,a+n.length),text:n};return s+=i.length+n.length,void 0!==r&&void 0!==o&&(r>=a&&r<s?l.start=r-a:r<a&&o>a&&(l.start=0),o>=a&&o<s?l.end=o-a:r<s&&o>s&&(l.end=n.length)),l})}n.d(t,{l:()=>r})},69798(e,t,n){"use strict";function r(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Array.isArray(e)?e:[e]}}function o(e){return{type:"REMOVE_FORMAT_TYPES",names:Array.isArray(e)?e:[e]}}n.r(t),n.d(t,{addFormatTypes:()=>r,removeFormatTypes:()=>o})},12779(e,t,n){"use strict";n.d(t,{M:()=>l});var r=n(1663),o=n(9080),i=n(40575),s=n(53045),a=n(69798),l=(0,o.A)("core/rich-text",{reducer:i.A,selectors:s,actions:a});(0,r.kz)(l)},40575(e,t,n){"use strict";n.d(t,{A:()=>r});var r=(0,n(1663).HY)({formatTypes:function(e={},t){switch(t.type){case"ADD_FORMAT_TYPES":return{...e,...t.formatTypes.reduce((e,t)=>({...e,[t.name]:t}),{})};case"REMOVE_FORMAT_TYPES":return Object.fromEntries(Object.entries(e).filter(([e])=>!t.names.includes(e)))}return e}})},53045(e,t,n){"use strict";n.r(t),n.d(t,{getFormatType:()=>o,getFormatTypeForBareElement:()=>i,getFormatTypeForClassName:()=>s,getFormatTypes:()=>r});var r=(0,n(23537).M)(e=>Object.values(e.formatTypes),e=>[e.formatTypes]);function o(e,t){return e.formatTypes[t]}function i(e,t){const n=r(e);return n.find(({className:e,tagName:n})=>null===e&&t===n)||n.find(({className:e,tagName:t})=>null===e&&"*"===t)}function s(e,t){return r(e).find(({className:e})=>null!==e&&` ${t} `.indexOf(` ${e} `)>=0)}},14090(e,t,n){"use strict";n.d(t,{S:()=>l});var r=n(50788),o=n(66985),i=n(97359),{subscribeDelegatedListener:s}=(0,i.T)(r.j),a=new WeakMap;function l(e,t,n,r=!1){const{ownerDocument:i}=e;let l=a.get(i);l||(l=new Map,a.set(i,l));const c=r?`${t}:capture`:t;let u=l.get(c);u||(u=new WeakMap,l.set(c,u),s(i,t,e=>{const{defaultView:t,activeElement:n}=i,r=t?.getSelection()?.anchorNode;for(let t=r??n;t;t=t.parentNode){const n=u.get(t);if(n&&(0,o.w)(t))for(const t of n)t(e)}},r));let d=u.get(e);return d||(d=new Set,u.set(e,d)),d.add(n),()=>{d.delete(n)}}},39291(e,t,n){"use strict";n.d(t,{Bb:()=>m});var r=n(26549),o=n(49904),i=n(87292),s="http://www.w3.org/1998/Math/MathML";function a(e,t,n){const r=e.parentNode;let o=0;for(;e=e.previousSibling;)o++;return n=[o,...n],r!==t&&(n=a(r,t,n)),n}function l(e,t){for(t=[...t];e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}function c(e,t){if(void 0!==t.html)return e.innerHTML+=t.html;"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));const{type:n,attributes:r}=t;if(n)if("#comment"===n)t=e.ownerDocument.createComment(r["data-rich-text-comment"]);else{const o=e.namespaceURI;t="math"===n?e.ownerDocument.createElementNS(s,n):o===s?"MTEXT"===e.tagName?e.ownerDocument.createElement(n):e.ownerDocument.createElementNS(s,n):e.ownerDocument.createElement(n);for(const e in r)t.setAttribute(e,r[e])}return e.appendChild(t)}function u(e,t){e.appendData(t)}function d({lastChild:e}){return e}function f({parentNode:e}){return e}function p(e){return e.nodeType===e.TEXT_NODE}function h({nodeValue:e}){return e}function g(e){return e.parentNode.removeChild(e)}function m({value:e,current:t,prepareEditableTree:n,__unstableDomOnly:s,placeholder:m}){const{body:b,selection:y}=function({value:e,prepareEditableTree:t,isEditableTree:n=!0,placeholder:i,doc:s=document}){let l=[],m=[];return t&&(e={...e,formats:t(e)}),{body:(0,r.G)({value:e,createEmpty:()=>(0,o.n)(s,""),append:c,getLastChild:d,getParent:f,isText:p,getText:h,remove:g,appendText:u,onStartIndex(e,t){l=a(t,e,[t.nodeValue.length])},onEndIndex(e,t){m=a(t,e,[t.nodeValue.length])},isEditableTree:n,placeholder:i}),selection:{startPath:l,endPath:m}}}({value:e,prepareEditableTree:n,placeholder:m,doc:t.ownerDocument});v(b,t),void 0===e.start||s||function({startPath:e,endPath:t},n){const{node:r,offset:o}=l(n,e),{node:s,offset:a}=l(n,t),{ownerDocument:c}=n,{defaultView:u}=c,d=u.getSelection(),f=c.createRange();f.setStart(r,o),f.setEnd(s,a);const{activeElement:p}=c;if(d.rangeCount>0){if((0,i.c)(f,d.getRangeAt(0)))return;d.removeAllRanges()}d.addRange(f),p!==c.activeElement&&p instanceof u.HTMLElement&&p.focus()}(y,t)}function v(e,t){let n,r=0;for(;n=e.firstChild;){const o=t.childNodes[r];if(o)if(o.isEqualNode(n))e.removeChild(n);else if(o.nodeName!==n.nodeName||o.nodeType===o.TEXT_NODE&&o.data!==n.data)t.replaceChild(n,o);else{const t=o.attributes,r=n.attributes;if(t){let e=t.length;for(;e--;){const{name:r}=t[e];n.getAttribute(r)||o.removeAttribute(r)}}if(r)for(let e=0;e<r.length;e++){const{name:t,value:n}=r[e];o.getAttribute(t)!==n&&o.setAttribute(t,n)}v(n,o),e.removeChild(n)}else t.appendChild(n);r++}for(;t.childNodes[r];)t.removeChild(t.childNodes[r])}},93660(e,t,n){"use strict";n.d(t,{K:()=>i});var r=n(44292),o=n(26549);function i({value:e,preserveWhiteSpace:t}){return h((0,o.G)({value:e,preserveWhiteSpace:t,createEmpty:s,append:l,getLastChild:a,getParent:u,isText:d,getText:f,remove:p,appendText:c}).children)}function s(){return{}}function a({children:e}){return e&&e[e.length-1]}function l(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function c(e,t){e.text+=t}function u({parent:e}){return e}function d({text:e}){return"string"==typeof e}function f({text:e}){return e}function p(e){const t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function h(e=[]){return e.map(e=>void 0!==e.html?e.html:void 0===e.text?function({type:e,attributes:t,object:n,children:o}){if("#comment"===e)return`\x3c!--${t["data-rich-text-comment"]}--\x3e`;let i="";for(const e in t)(0,r.i8)(e)&&(i+=` ${e}="${(0,r.Gj)(t[e])}"`);return n?`<${e}${i}>`:`<${e}${i}>${h(o)}</${e}>`}(e):(0,r.jG)(e.text)).join("")}},26549(e,t,n){"use strict";n.d(t,{G:()=>c});var r=n(70823),o=n(41512),i=n(19597);function s(e,t){if(t)return e;const n={};for(const t in e){let r=t;t.startsWith("data-disable-rich-text-")&&(r=t.slice(23)),n[r]=e[t]}return n}function a({type:e,tagName:t,attributes:n,unregisteredAttributes:r,object:i,boundaryClass:a,isEditableTree:l}){const c=(0,o.U)(e);let u={};if(a&&l&&(u["data-rich-text-format-boundary"]="true"),!c)return n&&(u={...n,...u}),{type:e,attributes:s(u,l),object:i};u={...r,...u};for(const e in n){const t=!!c.attributes&&c.attributes[e];t?u[t]=n[e]:u[e]=n[e]}return c.className&&(u.class?u.class=`${c.className} ${u.class}`:u.class=c.className),{type:t||c.tagName,object:c.object,attributes:s(u,l)}}function l(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}function c({value:e,preserveWhiteSpace:t,createEmpty:n,append:s,getLastChild:c,getParent:u,isText:d,getText:f,remove:p,appendText:h,onStartIndex:g,onEndIndex:m,isEditableTree:v,placeholder:b}){const{formats:y,replacements:k,text:x,start:w,end:_}=e,A=y.length+1,S=n(),C=(0,r.Z)(e),E=C[C.length-1];let T,I;s(S,"");for(let e=0;e<A;e++){const n=x.charAt(e),r=v&&(!I||"\n"===I),A=y[e];let C=c(S);if(A&&A.forEach((e,t)=>{if(C&&T&&l(A,T,t))return void(C=c(C));const{type:n,tagName:r,attributes:o,unregisteredAttributes:i}=e,h=v&&e===E,g=u(C),m=s(g,a({type:n,tagName:r,attributes:o,unregisteredAttributes:i,boundaryClass:h,isEditableTree:v}));d(C)&&0===f(C).length&&p(C),C=s(m,"")}),0===e&&(g&&0===w&&g(S,C),m&&0===_&&m(S,C)),n===i.z){const t=k[e];if(!t)continue;const{type:n,attributes:r,innerHTML:l}=t,c=(0,o.U)(n);if(v&&"#comment"===n)C=s(u(C),{type:"span",attributes:{contenteditable:"false","data-rich-text-comment":r["data-rich-text-comment"]}}),s(s(C,{type:"span"}),r["data-rich-text-comment"].trim());else if(v||"script"!==n)if(!1===c?.contentEditable){if(l||v){if(C=u(C),v){const t={contenteditable:"false","data-rich-text-bogus":!0};w===e&&_===e+1&&(t["data-rich-text-format-boundary"]=!0),C=s(C,{type:"span",attributes:t}),v&&e+1===x.length&&s(u(C),i.p)}C=s(C,a({...t,isEditableTree:v})),l&&s(C,{html:l})}}else C=s(u(C),a({...t,object:!0,isEditableTree:v}));else C=s(u(C),a({type:"script",isEditableTree:v})),s(C,{html:decodeURIComponent(r["data-rich-text-script"])});C=s(u(C),"")}else t||"\n"!==n?d(C)?h(C,n):C=s(u(C),n):(C=s(u(C),{type:"br",attributes:v?{"data-rich-text-line-break":"true"}:void 0,object:!0}),C=s(u(C),""));g&&w===e+1&&g(S,C),m&&_===e+1&&m(S,C),r&&e===x.length&&(s(u(C),i.p),b&&0===x.length&&s(u(C),{type:"span",attributes:{"data-rich-text-placeholder":b,style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),T=A,I=n}return S}},23897(e,t,n){"use strict";n.d(t,{K:()=>l});var r=n(36331),o=n(18335),i=n(38832),s=n(62241),a=n(41919);function l(e,t){return(0,i.S)(e,t.type)?(t.title&&(0,r.L)((0,o.nv)((0,o.__)("%s removed."),t.title),"assertive"),(0,s.k)(e,t.type)):(t.title&&(0,r.L)((0,o.nv)((0,o.__)("%s applied."),t.title),"assertive"),(0,a.W)(e,t))}},94024(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n(76319),o=n(1113),i=n(12779);function s(e){const t=(0,o.L)(i.M).getFormatType(e);if(t)return(0,r.J)(i.M).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}},2671(e,t,n){"use strict";n.d(t,{U:()=>o});var r=n(84838);function o({value:e,start:t,end:n,formats:o}){const i=Math.min(t,n),s=Math.max(t,n),a=e.formats[i-1]||[],l=e.formats[s]||[];for(e.activeFormats=o.map((e,t)=>{if(a[t]){if((0,r.O)(e,a[t]))return a[t]}else if(l[t]&&(0,r.O)(e,l[t]))return l[t];return e});--n>=t;)e.activeFormats.length>0?e.formats[n]=e.activeFormats:delete e.formats[n];return e}},78400(e,t,n){"use strict";function r(e,t,n=0){const o=s(e);o.lastIndex=n;const i=o.exec(t);if(!i)return;if("["===i[1]&&"]"===i[7])return r(e,t,o.lastIndex);const a={index:i.index,content:i[0],shortcode:l(i)};return i[1]&&(a.content=a.content.slice(1),a.index++),i[7]&&(a.content=a.content.slice(0,-1)),a}function o(e,t,n){return t.replace(s(e),(...e)=>{const t=e[0],r=e[1],o=e[7];if("["===r&&"]"===o)return t;const i=n(l(e));return i||""===i?r+i+o:t})}function i(e){return new c(e).string()}function s(e){return new RegExp("\\[(\\[?)("+e+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}n.d(t,{K2:()=>r,WS:()=>s});var a=(0,n(1636).A)(e=>{const t={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let o;for(e=e.replace(/[\u00a0\u200b]/g," ");o=r.exec(e);)o[1]?t[o[1].toLowerCase()]=o[2]:o[3]?t[o[3].toLowerCase()]=o[4]:o[5]?t[o[5].toLowerCase()]=o[6]:o[7]?n.push(o[7]):o[8]?n.push(o[8]):o[9]&&n.push(o[9]);return{named:t,numeric:n}});function l(e){let t;return t=e[4]?"self-closing":e[6]?"closed":"single",new c({tag:e[2],attrs:e[3],type:t,content:e[5]})}var c=class{tag;type;content;attrs;static next=r;static replace=o;static string=i;static regexp=s;static attrs=a;static fromMatch=l;constructor(e){const{tag:t,attrs:n,type:r,content:o}=e;this.tag=t,this.type=r,this.content=o,this.attrs={named:{},numeric:[]},n&&("string"==typeof n?this.attrs=a(n):"named"in n&&"numeric"in n&&void 0!==n.named&&void 0!==n.numeric?this.attrs=n:Object.entries(n).forEach(([e,t])=>{void 0!==t&&this.set(e,String(t))}))}get(e){return"number"==typeof e?this.attrs.numeric[e]:this.attrs.named[e]}set(e,t){return"number"==typeof e?this.attrs.numeric[e]=t:this.attrs.named[e]=t,this}string(){let e="["+this.tag;return this.attrs.numeric.forEach(t=>{/\s/.test(t)?e+=' "'+t+'"':e+=" "+t}),Object.entries(this.attrs.named).forEach(([t,n])=>{e+=" "+t+'="'+n+'"'}),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}}},77553(e,t,n){"use strict";n.d(t,{np:()=>s,zn:()=>i});var r=n(74572),o=n(28524);function i(e,t={}){const n=s(e,t);if(!t?.selector){const e=[];return n.forEach(t=>{e.push(`${(0,r.c)(t.key)}: ${t.value};`)}),e.join(" ")}const o=n.reduce((e,t)=>{const{selector:n}=t;return n?(e[n]||(e[n]=[]),e[n].push(t),e):e},{});return Object.keys(o).reduce((e,t)=>(e.push(`${t} { ${o[t].map(e=>`${(0,r.c)(e.key)}: ${e.value};`).join(" ")} }`),e),[]).join("\n")}function s(e,t={}){const n=[];return o.W.forEach(r=>{"function"==typeof r.generate&&n.push(...r.generate(e,t))}),n}},72041(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o=[{name:"backgroundImage",generate:(e,t)=>{const n=e?.background?.backgroundImage,o=(0,r.k5)(e?.background?.gradient)||"";if(!n&&!o)return[];const i=[o,"object"==typeof n&&n?.url?`url( '${encodeURI((0,r.S0)(n.url))}' )`:(0,r.k5)(n)].filter(Boolean).join(", ");return i?[{selector:t.selector,key:"backgroundImage",value:i}]:[]}},{name:"backgroundPosition",generate:(e,t)=>(0,r.o9)(e,t,["background","backgroundPosition"],"backgroundPosition")},{name:"backgroundRepeat",generate:(e,t)=>(0,r.o9)(e,t,["background","backgroundRepeat"],"backgroundRepeat")},{name:"backgroundSize",generate:(e,t)=>(0,r.o9)(e,t,["background","backgroundSize"],"backgroundSize")},{name:"backgroundAttachment",generate:(e,t)=>(0,r.o9)(e,t,["background","backgroundAttachment"],"backgroundAttachment")}]},90367(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(69099);function o(e){return(t,n)=>(0,r.o9)(t,n,e,(0,r.dk)(e))}function i(e){return(t,n)=>["color","style","width"].flatMap(r=>o(["border",e,r])(t,n))}var s={name:"radius",generate:(e,t)=>(0,r.SX)(e,t,["border","radius"],{default:"borderRadius",individual:"border%sRadius"},["topLeft","topRight","bottomLeft","bottomRight"])},a=[{name:"color",generate:o(["border","color"])},{name:"style",generate:o(["border","style"])},{name:"width",generate:o(["border","width"])},s,{name:"borderTop",generate:i("top")},{name:"borderRight",generate:i("right")},{name:"borderBottom",generate:i("bottom")},{name:"borderLeft",generate:i("left")}]},90972(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o={name:"background",generate:(e,t)=>(0,r.o9)(e,t,["color","background"],"backgroundColor")}},10712(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o={name:"gradient",generate:(e,t)=>(0,r.o9)(e,t,["color","gradient"],"background")}},22400(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(90972),o=n(10712),i=[n(53577).A,o.A,r.A]},53577(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o={name:"text",generate:(e,t)=>(0,r.o9)(e,t,["color","text"],"color")}},64839(e,t,n){"use strict";n.d(t,{A1:()=>r,Lp:()=>i,_k:()=>o});var r="var:",o="|",i="--"},56966(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o=[{name:"height",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","height"],"height")},{name:"minHeight",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","minHeight"],"minHeight")},{name:"minWidth",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","minWidth"],"minWidth")},{name:"aspectRatio",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","aspectRatio"],"aspectRatio")},{name:"width",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","width"],"width")},{name:"objectFit",generate:(e,t)=>(0,r.o9)(e,t,["dimensions","objectFit"],"objectFit")}]},28524(e,t,n){"use strict";n.d(t,{W:()=>d});var r=n(90367),o=n(22400),i=n(56966),s=n(72041),a=n(22833),l=n(47387),c=n(60722),u=n(46302),d=[...r.A,...o.A,...i.A,...l.A,...c.A,...u.A,...a.A,...s.A]},47387(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o=[{name:"color",generate:(e,t,n=["outline","color"],o="outlineColor")=>(0,r.o9)(e,t,n,o)},{name:"style",generate:(e,t,n=["outline","style"],o="outlineStyle")=>(0,r.o9)(e,t,n,o)},{name:"offset",generate:(e,t,n=["outline","offset"],o="outlineOffset")=>(0,r.o9)(e,t,n,o)},{name:"width",generate:(e,t,n=["outline","width"],o="outlineWidth")=>(0,r.o9)(e,t,n,o)}]},22833(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o=[{name:"shadow",generate:(e,t)=>(0,r.o9)(e,t,["shadow"],"boxShadow")}]},60722(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(35537),o=[n(86132).A,r.A]},86132(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o={name:"margin",generate:(e,t)=>(0,r.SX)(e,t,["spacing","margin"],{default:"margin",individual:"margin%s"})}},35537(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o={name:"padding",generate:(e,t)=>(0,r.SX)(e,t,["spacing","padding"],{default:"padding",individual:"padding%s"})}},46302(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(69099),o=[{name:"fontFamily",generate:(e,t)=>(0,r.o9)(e,t,["typography","fontFamily"],"fontFamily")},{name:"fontSize",generate:(e,t)=>(0,r.o9)(e,t,["typography","fontSize"],"fontSize")},{name:"fontStyle",generate:(e,t)=>(0,r.o9)(e,t,["typography","fontStyle"],"fontStyle")},{name:"fontWeight",generate:(e,t)=>(0,r.o9)(e,t,["typography","fontWeight"],"fontWeight")},{name:"letterSpacing",generate:(e,t)=>(0,r.o9)(e,t,["typography","letterSpacing"],"letterSpacing")},{name:"lineHeight",generate:(e,t)=>(0,r.o9)(e,t,["typography","lineHeight"],"lineHeight")},{name:"textColumns",generate:(e,t)=>(0,r.o9)(e,t,["typography","textColumns"],"columnCount")},{name:"textDecoration",generate:(e,t)=>(0,r.o9)(e,t,["typography","textDecoration"],"textDecoration")},{name:"textIndent",generate:(e,t)=>(0,r.o9)(e,t,["typography","textIndent"],"textIndent")},{name:"textShadow",generate:(e,t)=>(0,r.o9)(e,t,["typography","textShadow"],"textShadow")},{name:"textTransform",generate:(e,t)=>(0,r.o9)(e,t,["typography","textTransform"],"textTransform")},{name:"writingMode",generate:(e,t)=>(0,r.o9)(e,t,["typography","writingMode"],"writingMode")}]},69099(e,t,n){"use strict";n.d(t,{S0:()=>d,SX:()=>a,dk:()=>u,k5:()=>l,o9:()=>s});var r=n(74572),o=n(64839),i=(e,t)=>{let n=e;return t.forEach(e=>{n=n?.[e]}),n};function s(e,t,n,r){const o=i(e,n);return o?[{selector:t?.selector,key:r,value:l(o)}]:[]}function a(e,t,n,r,o=["top","right","bottom","left"]){const s=i(e,n);if(!s)return[];const a=[];if("string"==typeof s)a.push({selector:t?.selector,key:r.default,value:l(s)});else{const e=o.reduce((e,n)=>{const o=l(i(s,[n]));return o&&e.push({selector:t?.selector,key:r?.individual.replace("%s",c(n)),value:o}),e},[]);a.push(...e)}return a}function l(e){if("string"==typeof e&&e.startsWith(o.A1)){return`var(--wp--${e.slice(o.A1.length).split(o._k).map(e=>(0,r.c)(e,{splitRegexp:[/([a-z0-9])([A-Z])/g,/([0-9])([a-z])/g,/([A-Za-z])([0-9])/g,/([A-Z])([A-Z][a-z])/g]})).join(o.Lp)})`}return e}function c(e){const[t,...n]=e;return t.toUpperCase()+n.join("")}function u(e){const[t,...n]=e;return t.toLowerCase()+n.map(c).join("")}function d(e){try{return decodeURI(e)}catch{return e}}},29174(e,t,n){"use strict";n.d(t,{Ax:()=>a,BM:()=>c});var r=n(26068),o=n(46582),i=n(96301),s=n(13132);function a(e){if("string"!=typeof e||""===e.trim())throw new Error("Seed color must be a non-empty string");return(0,o.N)(e,s.m)}var l="surface2";function c(e,t){if("string"!=typeof e||""===e.trim())throw new Error("Seed color must be a non-empty string");const n=t?{mainDirection:(a=t).direction,pinLightness:{stepName:l,value:(0,i.C2)((0,r.get)(a.ramp[l],[r.OKLCH,"l"]),a.direction)}}:void 0;var a;return(0,o.N)(e,s.l,n)}},96339(e,t,n){"use strict";n.d(t,{CS:()=>c,Hw:()=>s,bJ:()=>a,jB:()=>u});var r=n(26068),o=[r.sRGB],i=new WeakMap;function s(e){r.ColorSpace.register(r.sRGB);const t=(0,r.serialize)((0,r.to)(e,r.sRGB));return(0,r.serialize)(t,{format:"hex"})}function a(e,t){return n=l(e),r=l(t),n>r?(n+.05)/(r+.05):(r+.05)/(n+.05);var n,r}function l(e){if("string"==typeof e)return r.ColorSpace.register(r.sRGB),Math.max((0,r.getLuminance)(e),0);const t=i.get(e);if(t&&(0,r.equals)(t.color,e))return t.luminance;const n=Math.max((0,r.getLuminance)(e),0);return i.set(e,{color:(0,r.clone)(e),luminance:n}),n}function c(e){let t;o.forEach(e=>r.ColorSpace.register(e));try{t=(0,r.parse)(e)}catch{throw new Error(`Unsupported seed color "${e}": expected a fully opaque hex value, an \`rgb()\`/\`rgba()\` string, or a CSS named color.`)}const{alpha:n=1,spaceId:i}=t;if(!o.some(e=>e.id===i))throw new Error(`Unsupported seed color "${e}": expected a fully opaque hex value, an \`rgb()\`/\`rgba()\` string, or a CSS named color, but received a \`${i}\` color.`);if(1!==n)throw new Error(`Unsupported seed color "${e}": expected a fully opaque color.`);return t}function u(e){return(0,r.to)((0,r.toGamut)(e,{space:r.sRGB,method:"css"}),r.OKLCH)}},35189(e,t,n){"use strict";n.d(t,{Tq:()=>l,UE:()=>o,Uv:()=>i,iV:()=>a,nI:()=>d,oR:()=>s,r8:()=>u,yh:()=>c});var r=n(26068),o={space:r.OKLCH,coords:[1,0,0],alpha:1},i={space:r.OKLCH,coords:[0,0,0],alpha:1},s=.02,a=3.1,l={lighter:{min:.2,max:.4},darker:{min:.75,max:.98}},c=.004,u=10,d={background:"#fcfcfc",primary:"#3858e9",info:"#0090ff",success:"#4ab866",caution:"#f0d149",warning:"#f0b849",error:"#cc1818"}},7685(e,t,n){"use strict";n.d(t,{a:()=>c});var r=n(26068),o=n(96301),i=n(35189),s=n(96339),a=n(8043);function l(e,t){return Math.log(e/t)}function c(e,t,n,c,{lightnessConstraint:u,taperChromaOptions:d}={}){if(n<=1)return{color:e,reached:!0,achieved:1};const f=(0,r.get)(t,[r.OKLCH,"c"]),p=(0,r.get)(t,[r.OKLCH,"h"]),h=d?(0,a.V)(t,d):void 0;function g(e){let n=e,o=f;if(h){const e=h(n);if(!("l"in e)||!("c"in e))return e;n=e.l,o=e.c}return(0,s.jB)({space:r.OKLCH,coords:[n,o,p],alpha:t.alpha})}const m="lighter"===c?1:0,v="lighter"===c?i.UE:i.Uv,b=(0,s.bJ)(e,v);if(u){const t=g(u.value),r=(0,s.bJ)(e,t),o=l(r,n)>=-i.yh;if(o||"force"===u.type)return{color:t,reached:o,achieved:r,deficit:o?l(r,b):l(n,r)}}if(l(b,n)<=i.yh)return{color:v,reached:l(b,n)>=-i.yh,achieved:b,deficit:l(n,b)};const y=(0,r.get)(e,[r.OKLCH,"l"]),k=l(1,n),x=m,w=l(b,n);return{color:(0,o.A6)(g,t=>l((0,s.bJ)(e,t),n),y,k,x,w),reached:!0,achieved:n,deficit:l(n,b)}}},46582(e,t,n){"use strict";n.d(t,{N:()=>c});var r=n(26068),o=n(96339),i=n(7685),s=n(96301),a=n(35189);function l({seed:e,sortedSteps:t,config:n,mainDir:r,oppDir:l,pinLightness:c}){const u={};let d,f,p=-1/0,h="lighter";const g=new Map;g.set("seed",e);for(const m of t){let t=function(e,t){return"main"===t?r:"opposite"===t?l:"best"===t?(0,s.tp)(e,v.preferLighter).better:t};const{contrast:v,lightness:b,taperChromaOptions:y,sameAsIfPossible:k}=n[m],x=[v.reference,...v.additionalReferences??[]].map(e=>{const t=g.get(e);if(!t)throw new Error(`Reference color for step ${m} not found: ${e}`);return t});if(k){const e=g.get(k);if(!e)throw new Error(`Same-as color for step ${m} not found: ${k}`);const t=(0,s.Pr)(v.target);if(x.every(n=>(0,o.bJ)(n,e)>=t)){g.set(m,e),u[m]=(0,o.Hw)(e);continue}}const w=t(x,v.followDirection),_="lighter"===w?a.UE:a.Uv,A=x.reduce((e,t)=>(0,o.bJ)(t,_)<(0,o.bJ)(e,_)?t:e),S=(0,s.Pr)(v.target);let C;c?.stepName===m?C={value:c.value,type:"force"}:b&&(C={value:b(w),type:"onlyIfSucceeds"});const E=(0,i.a)(A,e,S,w,{lightnessConstraint:C,taperChromaOptions:y});!v.ignoreWhenAdjustingSeed&&E.deficit&&E.deficit>p&&(p=E.deficit,h=w,f=m),g.set(m,E.color),u[m]=(0,o.Hw)(E.color),E.reached||v.ignoreWhenAdjustingSeed||(d??=[],d.push(m))}return{rampResults:u,warnings:d,maxDeficit:p,maxDeficitDirection:h,maxDeficitStep:f}}function c(e,t,{mainDirection:n,pinLightness:i,rescaleToFitContrastTargets:c=!0}={}){const u=(0,o.CS)(e);let d;try{d=(0,o.jB)(u)}catch(t){throw new Error(`Invalid seed color "${e}": ${t instanceof Error?t.message:"Unknown error"}`)}let f="lighter",p="darker";if(n)f=n,p="darker"===n?"lighter":"darker";else{const{better:e,worse:t}=(0,s.tp)(d);f=e,p=t}const h=(0,s.xQ)(t),{rampResults:g,warnings:m,maxDeficit:v,maxDeficitDirection:b,maxDeficitStep:y}=l({seed:d,sortedSteps:h,config:t,mainDir:f,oppDir:p,pinLightness:i});let k=g,x=m;if(v>a.yh&&c){let e=function(e){return(0,o.jB)((0,r.set)((0,r.clone)(d),[r.OKLCH,"l"],e))},n=function(e){const n=l({seed:e,sortedSteps:a,config:t,mainDir:f,oppDir:p,pinLightness:i});return n.maxDeficitDirection===b?n.maxDeficit:-v};const a=(0,s.Lr)(y,t),c="lighter"===b?0:1,u=-v,g=(0,r.get)(d,[r.OKLCH,"l"]),m=v,w=l({seed:(0,s.A6)(e,n,c,u,g,m),sortedSteps:h,config:t,mainDir:f,oppDir:p,pinLightness:i});k=w.rampResults,x=w.warnings}if("darker"===f){const e=k.surface1;k.surface1=k.surface3,k.surface3=e}return{ramp:k,warnings:x,direction:f}}},13132(e,t,n){"use strict";n.d(t,{l:()=>u,m:()=>c});var r=e=>"lighter"===e?.9551:.235,o={alpha:.7},i={alpha:.6,kLight:.2,kDark:.2},s={alpha:.6,radiusDark:.01,radiusLight:.01,kLight:.8,kDark:.8},a={alpha:.75,radiusDark:.01,radiusLight:.01},l={contrast:{reference:"surface3",followDirection:"main",target:7,preferLighter:!0},lightness:r,taperChromaOptions:i},c={surface1:{contrast:{reference:"surface2",followDirection:"opposite",target:1.06,ignoreWhenAdjustingSeed:!0},taperChromaOptions:o},surface2:{contrast:{reference:"seed",followDirection:"main",target:1}},surface3:{contrast:{reference:"surface2",followDirection:"main",target:1.06},taperChromaOptions:o},surface4:{contrast:{reference:"surface2",followDirection:"main",target:1.12},taperChromaOptions:o},surface5:{contrast:{reference:"surface2",followDirection:"main",target:1.2},taperChromaOptions:o},surface6:{contrast:{reference:"surface2",followDirection:"main",target:1.4},taperChromaOptions:o},bgFill1:{contrast:{reference:"surface2",followDirection:"main",target:4},lightness:e=>"lighter"===e?.67:.45},bgFill2:{contrast:{reference:"bgFill1",followDirection:"main",target:1.2}},bgFillInverted1:{contrast:{reference:"bgFillInverted2",followDirection:"opposite",target:1.2}},bgFillInverted2:l,bgFillDark:{contrast:{reference:"surface3",followDirection:"darker",target:7,ignoreWhenAdjustingSeed:!0},lightness:r,taperChromaOptions:i},stroke1:{contrast:{reference:"stroke3",followDirection:"opposite",target:2.9},taperChromaOptions:s},stroke2:{contrast:{reference:"stroke3",followDirection:"opposite",target:2.4},taperChromaOptions:s},stroke3:{contrast:{reference:"surface3",followDirection:"main",target:3},taperChromaOptions:s},stroke4:{contrast:{reference:"stroke3",followDirection:"main",target:1.5},taperChromaOptions:s},fgSurface1:{contrast:{reference:"surface3",followDirection:"main",target:2,preferLighter:!0},taperChromaOptions:i},fgSurface2:{contrast:{reference:"surface3",followDirection:"main",target:3,preferLighter:!0},taperChromaOptions:i},fgSurface3:{contrast:{reference:"surface3",followDirection:"main",target:4.5,preferLighter:!0},lightness:e=>"lighter"===e?.77:.56,taperChromaOptions:i},fgSurface4:l,fgFill:{contrast:{reference:"bgFill1",additionalReferences:["bgFill2"],followDirection:"best",target:4.55},lightness:r,taperChromaOptions:i},fgFillInverted:{contrast:{reference:"bgFillInverted1",followDirection:"best",target:4.5,preferLighter:!0},lightness:r,taperChromaOptions:i},fgFillDark:{contrast:{reference:"bgFillDark",followDirection:"best",target:4.5,preferLighter:!0},lightness:r,taperChromaOptions:i}},u={...c,surface1:{...c.surface1,taperChromaOptions:a},surface2:{contrast:{reference:"bgFill1",followDirection:"opposite",target:c.bgFill1.contrast.target,ignoreWhenAdjustingSeed:!0},taperChromaOptions:a},surface3:{...c.surface3,taperChromaOptions:a},surface4:{...c.surface4,taperChromaOptions:a},surface5:{...c.surface5,taperChromaOptions:a},surface6:{...c.surface6,taperChromaOptions:a},bgFill1:{contrast:{reference:"seed",followDirection:"main",target:1}},stroke1:{...c.stroke1},stroke2:{...c.stroke2},stroke3:{...c.stroke3,sameAsIfPossible:"fgSurface3",taperChromaOptions:void 0},stroke4:{...c.stroke4,taperChromaOptions:void 0},fgSurface1:{...c.fgSurface1,taperChromaOptions:void 0},fgSurface2:{...c.fgSurface2,taperChromaOptions:void 0},fgSurface3:{...c.fgSurface3,taperChromaOptions:void 0,sameAsIfPossible:"bgFill1"},fgSurface4:{...c.fgSurface4,taperChromaOptions:void 0}}},8043(e,t,n){"use strict";n.d(t,{V:()=>o});var r=n(26068);function o(e,t={}){const n=t.gamut??r.sRGB,o=t.alpha??.65,c=t.carry??.5,u=t.radiusLight??.2,d=t.radiusDark??.2,f=t.kLight??.85,p=t.kDark??.85,h=t.achromaEpsilon??.005,g=Math.max(0,(0,r.get)(e,[r.OKLCH,"c"]));let m=(0,r.get)(e,[r.OKLCH,"h"]);const v=g<h,b=null===m||!Number.isFinite(m);if(v||b){if("number"!=typeof t.hueFallback)return e=>({space:r.OKLCH,coords:[i(e),0,0],alpha:1});m=s(t.hueFallback)}const y=i((0,r.get)(e,[r.OKLCH,"l"])),k=l(y,m,n),x=i(g/(k>0?k:1e-6)),w=Math.pow(x,i(c));return e=>{const t=l(i(e),m,n),r=o*t*w*function(e,t,n){const r=t-e;if(r>=0){const e=n.radiusLight>0?Math.abs(r)/n.radiusLight:1,t=a(e>1?1:e);return 1-(1-n.kLight)*t}const o=n.radiusDark>0?Math.abs(r)/n.radiusDark:1,i=a(o>1?1:o);return 1-(1-n.kDark)*i}(y,e,{radiusLight:u,radiusDark:d,kLight:f,kDark:p});return{l:i(e),c:r}}}function i(e){return e<0?0:e>1?1:e}function s(e){let t=e%360;return t<0&&(t+=360),t}function a(e){const t=i(e);return.5-.5*Math.cos(Math.PI*t)}function l(e,t,n){const o={space:r.OKLCH,coords:[i(e),.45,s(t)],alpha:1},a=(0,r.toGamutCSS)(o,{space:n});return(0,r.get)(a,[r.OKLCH,"c"])}},96301(e,t,n){"use strict";n.d(t,{A6:()=>u,C2:()=>c,Lr:()=>s,Pr:()=>l,tp:()=>a,xQ:()=>i});var r=n(35189),o=n(96339);function i(e){const{dependents:t}=function(e){const t=new Map,n=new Map;return Object.keys(e).forEach(e=>{t.set(e,[])}),n.set("seed",[]),Object.keys(e).forEach(e=>{n.set(e,[])}),Object.entries(e).forEach(([e,r])=>{const o=e,i=[r.contrast.reference,...r.contrast.additionalReferences??[]];for(const e of i)t.get(o).push(e),n.get(e).push(o);r.sameAsIfPossible&&(t.get(o).push(r.sameAsIfPossible),n.get(r.sameAsIfPossible).push(o))}),{dependencies:t,dependents:n}}(e),n=[],r=new Set,o=new Set;return function e(i){if(o.has(i))throw new Error(`Circular dependency detected involving step: ${String(i)}`);if(r.has(i))return;o.add(i),(t.get(i)||[]).forEach(t=>{e(t)}),o.delete(i),r.add(i),"seed"!==i&&n.unshift(i)}("seed"),n}function s(e,t){const n=new Set;return function e(r){if("seed"===r||n.has(r))return;const o=t[r];o&&(e(o.contrast.reference),o.contrast.additionalReferences?.forEach(e),o.sameAsIfPossible&&e(o.sameAsIfPossible),n.add(r))}(e),Array.from(n)}function a(e,t){const n=Array.isArray(e)?e:[e];return Math.min(...n.map(e=>(0,o.bJ)(e,r.Uv)))>Math.min(...n.map(e=>(0,o.bJ)(e,r.UE)))+(t?r.iV:0)?{better:"darker",worse:"lighter"}:{better:"lighter",worse:"darker"}}function l(e){return 1===e?1:e+r.oR}function c(e,t){const n=r.Tq[t];return Math.max(n.min,Math.min(n.max,e))}function u(e,t,n,o,i,s){let a,l,c=n,u=o,d=!1,f=i,p=s,h=!1,g=0;for(;;){g++;const n=(c*p-f*u)/(p-u);if(a=e(n),l=t(a),Math.abs(l)<=r.yh||g>=r.r8)break;l<=0?(c=n,u=l,d&&(p/=2),d=!0,h=!1):(f=n,p=l,h&&(u/=2),h=!0,d=!1)}return a}},42271(e,t,n){"use strict";n.d(t,{D:()=>r});var r=(0,n(2376).createContext)({resolvedSettings:{color:{},cursor:void 0,cornerRadius:void 0}})},57290(e,t,n){"use strict";n.r(t),n.d(t,{ThemeProvider:()=>o.N,privateApis:()=>r.j});var r=n(93843),o=n(90697)},35424(e,t,n){"use strict";n.d(t,{s:()=>o});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/theme")},29572(e,t,n){"use strict";n.d(t,{A:()=>r});var r={transparent:["background-interactive-brand-weak","background-interactive-brand-weak-disabled","background-interactive-error","background-interactive-error-disabled","background-interactive-error-weak","background-interactive-error-weak-disabled","background-interactive-neutral-weak","background-interactive-neutral-weak-disabled"],"primary-bgFill1":["background-interactive-brand-strong"],"primary-bgFill2":["background-interactive-brand-strong-active"],"primary-fgFill":["foreground-interactive-brand-strong","foreground-interactive-brand-strong-active"],"primary-surface4":["background-interactive-brand-weak-active"],"primary-fgSurface4":["foreground-interactive-brand-active"],"primary-fgSurface3":["foreground-interactive-brand"],"primary-stroke3":["background-thumb-brand","background-thumb-brand-active","stroke-focus","stroke-interactive-brand","stroke-surface-brand-strong"],"primary-stroke4":["stroke-interactive-brand-active"],"primary-stroke1":["stroke-surface-brand"],"primary-surface1":["background-surface-brand"],"info-surface2":["background-surface-info-weak"],"info-surface4":["background-surface-info"],"info-fgSurface4":["foreground-content-info"],"info-fgSurface3":["foreground-content-info-weak"],"info-stroke3":["stroke-surface-info-strong"],"info-stroke1":["stroke-surface-info"],"success-surface2":["background-surface-success-weak"],"success-surface4":["background-surface-success"],"success-fgSurface4":["foreground-content-success"],"success-fgSurface3":["foreground-content-success-weak"],"success-stroke3":["stroke-surface-success-strong"],"success-stroke1":["stroke-surface-success"],"warning-surface2":["background-surface-warning-weak"],"warning-surface4":["background-surface-warning"],"warning-fgSurface4":["foreground-content-warning"],"warning-fgSurface3":["foreground-content-warning-weak"],"warning-stroke3":["stroke-surface-warning-strong"],"warning-stroke1":["stroke-surface-warning"],"error-bgFill1":["background-interactive-error-strong"],"error-bgFill2":["background-interactive-error-strong-active"],"error-fgFill":["foreground-interactive-error-strong","foreground-interactive-error-strong-active"],"error-surface2":["background-interactive-error-active","background-surface-error-weak"],"error-surface4":["background-interactive-error-weak-active","background-surface-error"],"error-fgSurface4":["foreground-content-error","foreground-interactive-error-active"],"error-fgSurface3":["foreground-content-error-weak","foreground-interactive-error"],"error-stroke3":["stroke-interactive-error","stroke-interactive-error-strong","stroke-surface-error-strong"],"error-stroke4":["stroke-interactive-error-active"],"error-stroke1":["stroke-surface-error"],"bg-surface2":["background-surface-neutral"],"bg-surface5":["background-interactive-brand-strong-disabled","background-interactive-error-strong-disabled","background-interactive-neutral-strong-disabled"],"bg-surface4":["background-interactive-neutral-weak-active"],"bg-surface3":["background-interactive-neutral","background-interactive-neutral-active","background-interactive-neutral-disabled","background-surface-neutral-strong"],"bg-fgSurface4":["foreground-content-neutral","foreground-interactive-neutral","foreground-interactive-neutral-active","foreground-interactive-neutral-weak-active"],"bg-fgSurface3":["foreground-content-neutral-weak","foreground-interactive-neutral-weak"],"bg-fgSurface2":["foreground-interactive-brand-disabled","foreground-interactive-brand-strong-disabled","foreground-interactive-error-disabled","foreground-interactive-error-strong-disabled","foreground-interactive-neutral-disabled","foreground-interactive-neutral-strong-disabled","foreground-interactive-neutral-weak-disabled"],"bg-stroke3":["background-thumb-neutral-weak","stroke-interactive-neutral","stroke-surface-neutral-strong"],"bg-stroke4":["background-thumb-neutral-weak-active","stroke-interactive-neutral-active","stroke-interactive-neutral-strong"],"bg-stroke2":["background-thumb-brand-disabled","background-thumb-neutral-weak-disabled","background-track-neutral","stroke-interactive-brand-disabled","stroke-interactive-error-disabled","stroke-interactive-neutral-disabled","stroke-surface-neutral"],"bg-stroke1":["background-track-neutral-weak","stroke-surface-neutral-weak"],"bg-bgFillInverted2":["background-interactive-neutral-strong-active"],"bg-bgFillInverted1":["background-interactive-neutral-strong"],"bg-fgFillInverted":["foreground-interactive-neutral-strong","foreground-interactive-neutral-strong-active"],"bg-surface1":["background-surface-neutral-weak"],"caution-surface2":["background-surface-caution-weak"],"caution-surface4":["background-surface-caution"],"caution-fgSurface4":["foreground-content-caution"],"caution-fgSurface3":["foreground-content-caution-weak"],"caution-stroke3":["stroke-surface-caution-strong"],"caution-stroke1":["stroke-surface-caution"]}},93843(e,t,n){"use strict";n.d(t,{j:()=>l});var r=n(66786),o=n(35424),i=n(90697),s=n(47998);function a(e,t={}){(0,r.A)(`\`privateApis.${e}\` from \`@wordpress/theme\``,{since:"7.1",version:"7.3",...t})}var l={};(0,o.s)(l,{get ThemeProvider(){return a("ThemeProvider",{alternative:"`ThemeProvider` from `@wordpress/theme`"}),i.N},get useThemeProviderStyles(){return a("useThemeProviderStyles",{alternative:"`ThemeProvider` from `@wordpress/theme` for supported theming use cases",hint:"`useThemeProviderStyles` has no public replacement."}),s.i}})},26903(e,t,n){"use strict";n.d(t,{cU:()=>r,eQ:()=>i,ux:()=>o});var r=4.5,o=[{background:"background.interactive.neutral",foreground:"foreground.interactive.neutral"},{background:"background.interactive.neutral",foreground:"foreground.interactive.neutral-weak"},{background:"background.interactive.neutral-active",foreground:"foreground.interactive.neutral"},{background:"background.interactive.neutral-active",foreground:"foreground.interactive.neutral-weak"},{background:"background.interactive.neutral-weak-active",foreground:"foreground.interactive.neutral-active"},{background:"background.surface.neutral",foreground:"foreground.content.neutral"},{background:"background.surface.neutral-strong",foreground:"foreground.content.neutral"},{background:"background.surface.neutral-weak",foreground:"foreground.content.neutral"},{background:"background.surface.neutral",foreground:"foreground.content.neutral-weak"},{background:"background.surface.info",foreground:"foreground.content.info"},{background:"background.surface.info-weak",foreground:"foreground.content.info-weak"},{background:"background.surface.success",foreground:"foreground.content.success"},{background:"background.surface.success-weak",foreground:"foreground.content.success-weak"},{background:"background.surface.warning",foreground:"foreground.content.warning"},{background:"background.surface.warning-weak",foreground:"foreground.content.warning-weak"},{background:"background.surface.caution",foreground:"foreground.content.caution"},{background:"background.surface.caution-weak",foreground:"foreground.content.caution-weak"},{background:"background.surface.error",foreground:"foreground.content.error"},{background:"background.surface.error-weak",foreground:"foreground.content.error-weak"},{background:"background.interactive.brand-strong",foreground:"foreground.interactive.brand-strong"},{background:"background.interactive.brand-strong-active",foreground:"foreground.interactive.brand-strong-active"},{background:"background.interactive.error-strong",foreground:"foreground.interactive.error-strong"},{background:"background.interactive.error-strong-active",foreground:"foreground.interactive.error-strong-active"},{background:"background.interactive.neutral-strong",foreground:"foreground.interactive.neutral-strong"},{background:"background.interactive.neutral-strong-active",foreground:"foreground.interactive.neutral-strong-active"}];function i(e){return`--wpds-color-${e.replaceAll(".","-")}`}},25223(e,t,n){"use strict";n.d(t,{R:()=>i});var r=n(96339),o=n(26903);function i(e,t){const n=[];for(const[t,r]of e)for(const e of r.warnings??[])n.push({type:"ramp",ramp:t,step:e});for(const{background:e,foreground:i}of o.ux){const s=t.get((0,o.eQ)(e)),a=t.get((0,o.eQ)(i));if(void 0===s||void 0===a)continue;const l=(0,r.bJ)(s,a);l<o.cU&&n.push({type:"contrast",backgroundToken:e,backgroundColor:s,foregroundToken:i,foregroundColor:a,requiredContrast:o.cU,achievedContrast:l})}return n}},90697(e,t,n){"use strict";n.d(t,{N:()=>p});var r=n(2376),o=n(74233),i=n(74953),s=n(42271),a=n(47998),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)})("8d074a190c","._0ebd6d9bf8b95794__wrapper{display:contents}");var f="_0ebd6d9bf8b95794__wrapper",p=({children:e,color:t={},cursor:n,cornerRadius:c,isRoot:u=!1,onColorWarnings:d})=>{const{themeProviderStyles:p,resolvedSettings:h,colorWarnings:g}=(0,a.i)({color:t,cursor:n,cornerRadius:c}),m=h.cornerRadius??"subtle",v=(0,o.A)(d),b=(0,r.useMemo)(()=>({resolvedSettings:h}),[h]),y=(0,r.useRef)(null);return(0,r.useEffect)(()=>{void 0!==g&&v(g)},[g,v]),(0,i.A)(()=>{if(!u)return;const e=y.current?.ownerDocument;if(!e)return;const t=e.documentElement;const n=new Map,r=[],o=t.getAttribute("data-wpds-root-provider"),i=t.getAttribute("data-wpds-corner-radius");t.setAttribute("data-wpds-root-provider","true"),t.setAttribute("data-wpds-corner-radius",m);for(const[e,o]of Object.entries(p))e.startsWith("--")&&null!=o&&(n.set(e,t.style.getPropertyValue(e)),t.style.setProperty(e,String(o)),r.push(e));return()=>{for(const e of r){const r=n.get(e);r?t.style.setProperty(e,r):t.style.removeProperty(e)}null===o?t.removeAttribute("data-wpds-root-provider"):t.setAttribute("data-wpds-root-provider",o),null===i?t.removeAttribute("data-wpds-corner-radius"):t.setAttribute("data-wpds-corner-radius",i)}},[m,u,p]),(0,l.jsx)("div",{ref:y,"data-wpds-root-provider":u||void 0,"data-wpds-corner-radius":m,className:f,style:p,children:(0,l.jsx)(s.D.Provider,{value:b,children:e})})}},47998(e,t,n){"use strict";n.d(t,{i:()=>y});var r=n(26068),o=n(1636),i=n(2376),s=n(42271),a=n(29572),l=n(29174),c=n(35189),u=n(96339),d=n(25223),f=(0,o.A)(l.Ax,{maxSize:10}),p=(0,o.A)(l.BM,{maxSize:10}),h=[["--wp-components-color-accent","var(--wp-admin-theme-color)"],["--wp-components-color-accent-darker-10","var(--wp-admin-theme-color-darker-10)"],["--wp-components-color-accent-darker-20","var(--wp-admin-theme-color-darker-20)"],["--wp-components-color-accent-inverted","var(--wpds-color-foreground-interactive-brand-strong, #fff)"],["--wp-components-color-background","var(--wpds-color-background-surface-neutral-strong, #fff)"],["--wp-components-color-foreground","var(--wpds-color-foreground-content-neutral, #1e1e1e)"],["--wp-components-color-foreground-inverted","var(--wpds-color-background-surface-neutral, #fcfcfc)"],["--wp-components-color-gray-100","var(--wpds-color-background-surface-neutral, #fcfcfc)"],["--wp-components-color-gray-200","var(--wpds-color-stroke-surface-neutral, #dbdbdb)"],["--wp-components-color-gray-300","var(--wpds-color-stroke-surface-neutral, #dbdbdb)"],["--wp-components-color-gray-400","var(--wpds-color-stroke-interactive-neutral, #8d8d8d)"],["--wp-components-color-gray-600","var(--wpds-color-stroke-interactive-neutral, #8d8d8d)"],["--wp-components-color-gray-700","var(--wpds-color-foreground-content-neutral-weak, #707070)"],["--wp-components-color-gray-800","var(--wpds-color-foreground-content-neutral, #1e1e1e)"]];function g(e){return(0,r.to)(e,r.sRGB).coords.map(e=>Math.round(255*(e??0))).join(", ")}function m(e){r.ColorSpace.register(r.sRGB);const t=(0,r.to)(e,r.HSL),n=t.coords[2]??0,o=(0,r.set)((0,r.clone)(t),[r.HSL,"l"],Math.max(0,n-5)),i=(0,r.set)((0,r.clone)(t),[r.HSL,"l"],Math.max(0,n-10));return[["--wp-admin-theme-color",(0,u.Hw)(t)],["--wp-admin-theme-color--rgb",g(t)],["--wp-admin-theme-color-darker-10",(0,u.Hw)(o)],["--wp-admin-theme-color-darker-10--rgb",g(o)],["--wp-admin-theme-color-darker-20",(0,u.Hw)(i)],["--wp-admin-theme-color-darker-20--rgb",g(i)]]}function v({primary:e,colorEntries:t}){return Object.fromEntries([t,m(e),h].flat())}function b(e,t){const n={...c.nI,background:t,primary:e},r=new Map,o=f(n.background);for(const[e,t]of Object.entries(n)){const n=e;r.set(n,"background"===n?o:p(t,o))}const i=function(e){const t=[];for(const[n,{ramp:r}]of e)for(const[e,o]of Object.entries(r)){const r=`${"background"===n?"bg":n}-${e}`,i=a.A[r]??[];for(const e of i)t.push([`--wpds-color-${e}`,o])}return t}(r);return{styles:v({primary:n.primary,colorEntries:i}),warnings:(0,d.R)(r,new Map(i))}}function y({color:e={},cursor:t,cornerRadius:n}={}){const{resolvedSettings:r}=(0,i.useContext)(s.D),o=void 0!==e.primary||void 0!==e.background||void 0!==r.color?.primary||void 0!==r.color?.background,a=o?e.primary??r.color?.primary??c.nI.primary:void 0,l=o?e.background??r.color?.background??c.nI.background:void 0,u=t?.control??r.cursor?.control,d=n??r.cornerRadius??"subtle",f=(0,i.useMemo)(()=>({color:{primary:a,background:l},cursor:u?{control:u}:void 0,cornerRadius:d}),[a,l,u,d]),p=(0,i.useMemo)(()=>void 0===a||void 0===l?{styles:{},warnings:void 0}:b(a,l),[a,l]);return{resolvedSettings:f,themeProviderStyles:(0,i.useMemo)(()=>({...p.styles,...u&&{"--wpds-cursor-control":u}}),[p.styles,u]),colorWarnings:p.warnings}}},77831(e,t,n){"use strict";n.d(t,{A:()=>r});var r=class{_currentValue;_valueAsArray;constructor(e=""){this._currentValue="",this._valueAsArray=[],this.value=e}entries(...e){return this._valueAsArray.entries(...e)}forEach(...e){return this._valueAsArray.forEach(...e)}keys(...e){return this._valueAsArray.keys(...e)}values(...e){return this._valueAsArray.values(...e)}get value(){return this._currentValue}set value(e){e=String(e),this._valueAsArray=[...new Set(e.split(/\s+/g).filter(Boolean))],this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(e){return this._valueAsArray[e]}contains(e){return-1!==this._valueAsArray.indexOf(e)}add(...e){this.value+=" "+e.join(" ")}remove(...e){this.value=this._valueAsArray.filter(t=>!e.includes(t)).join(" ")}toggle(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}replace(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}supports(e){return!0}}},37341(e,t,n){"use strict";n.d(t,{e:()=>g});var r=n(13022),o=n(2376),i=n(54094),s=n(84974),a=n(26764),l=n(50416),c=n(20260),u=n(93236),d="data-wp-hash";function f(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=f();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)p(e,n,r)}(document)),e.__wpStyleRuntime}function p(e,t,n){if(!e.head)return;const r=f();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${d}]`))if(n.getAttribute(d)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(d,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=f();n.styles.set(e,t);for(const r of n.documents.keys())p(r,e,t)})("0c752c3d08","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer compositions{@supports (-webkit-hyphens:none) and (not (-moz-appearance:none)){.a9211a7e6af24bed__root input[type=date]:not([data-filled]):not(:focus),.a9211a7e6af24bed__root input[type=datetime-local]:not([data-filled]):not(:focus),.a9211a7e6af24bed__root input[type=time]:not([data-filled]):not(:focus){--_gcd-input-color:transparent;--_gcd-input-color-disabled:transparent;color:transparent;&:disabled::-webkit-datetime-edit-text{color:transparent}}}}}");var h="a9211a7e6af24bed__root",g=(0,o.forwardRef)(function({className:e,label:t,description:n,details:o,hideLabelFromVision:d,...f},p){return(0,u.jsxs)(s.b,{className:(0,r.A)(h,e),children:[(0,u.jsx)(a.J,{hideFromVision:d,children:t}),(0,u.jsx)(i.p,{ref:p,...f}),n&&(0,u.jsx)(l.V,{children:n}),o&&(0,u.jsx)(c.B,{children:o})]})})},49754(e,t,n){"use strict";n.d(t,{K:()=>p});var r=n(899),o=n(45339),i=n(18335),s=n(2376),a=n(9504),l=n(37128),c=n(93236),u=e=>(0,c.jsx)(a.B,{...e,direction:"column",gap:"sm"});function d(e,t,n){let r;return t&&!n?r=`(${(0,i.__)("Required")})`:!t&&n&&(r=`(${(0,i.__)("Optional")})`),r?"string"==typeof e?`${e} ${r}`:(0,c.jsxs)(c.Fragment,{children:[e," ",r]}):e}var f="data-validity-visible",p=(0,s.forwardRef)(function({required:e,markWhenOptional:t,customValidity:n,getValidityTarget:i,children:a,render:p=u,...h},g){const[m,v]=(0,s.useState)(),[b,y]=(0,s.useState)(),[k,x]=(0,s.useState)(!1),[w,_]=(0,s.useState)(!1),A=(0,s.useRef)(null);(0,s.useEffect)(()=>{const e=i(),t=()=>{"validating"!==n?.type&&v(e?.validationMessage),x(!0),e?.setAttribute(f,"")};return e?.addEventListener("invalid",t),()=>e?.removeEventListener("invalid",t)},[n?.type,i]),(0,s.useEffect)(()=>{const e=i(),t=e=>{if(e.preventDefault(),!e.isTrusted)return;const t=e.target,n=Array.from(t.form?.elements??[]).find(e=>!e.validity.valid);t.form&&n!==t||t.focus()},n="radio"===e?.type&&e?.name?Array.from(A.current?.querySelectorAll(`input[type="radio"][name="${e?.name}"]`)??[]).filter(t=>t!==e):[];return e?.addEventListener("invalid",t),n.forEach(e=>e.addEventListener("invalid",t)),()=>{e?.removeEventListener("invalid",t),n.forEach(e=>e.removeEventListener("invalid",t))}},[i]),(0,s.useEffect)(()=>{const e=i();if(!n?.type)return e?.setCustomValidity(""),v(e?.validationMessage),void y(void 0);switch(n.type){case"validating":e?.setCustomValidity(""),v(void 0),y({type:"validating",message:n.message});break;case"valid":e?.setCustomValidity(""),v(e?.validationMessage),y({type:"valid",message:n.message});break;case"invalid":e?.setCustomValidity(n.message??""),v(e?.validationMessage),y(void 0)}},[n,i]),(0,s.useEffect)(()=>{if(w&&!k){if("validating"===n?.type){const e=setTimeout(()=>{x(!0)},1e3);return()=>clearTimeout(e)}x(!0)}},[w,n?.type,k]);const S=(0,s.useId)(),C=m?(0,c.jsx)(l.e,{id:S,type:"invalid",message:m}):b?.type?(0,c.jsx)(l.e,{id:S,type:b.type,message:b.message}):null,E=k?C:null;return(0,s.useEffect)(()=>{const e=i();if(e)return t(e,!!E),()=>t(e,!1);function t(e,t){const n=(e.getAttribute("aria-describedby")??"").split(" ").filter(e=>e&&e!==S);t&&n.push(S),n.length?e.setAttribute("aria-describedby",n.join(" ")):e.removeAttribute("aria-describedby")}},[E,S,i]),(0,r.C)({render:p,ref:[g,A],props:(0,o.v6)(h,{onBlur:e=>{if(e.relatedTarget&&e.currentTarget.contains(e.relatedTarget))return;w||(_(!0),i()?.setAttribute(f,""));const t=i(),r="validating"===n?.type;window.queueMicrotask(()=>{r||v(t?.validationMessage)})},children:(0,c.jsxs)(c.Fragment,{children:[(0,s.cloneElement)(a,{label:d(a.props.label,e,t),required:e}),E]})})})})},50416(e,t,n){"use strict";n.d(t,{V:()=>p});var r=n(13022),o=n(82313),i=n(2376),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function u(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)}u("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var d="_43cec3e1eec1066d__p";u("df33c48b2d",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);font-weight:var(--wpds-typography-font-weight-default,400);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var f="_08a3750500e0233f__description",p=(0,i.forwardRef)(function({className:e,...t},n){return(0,s.jsx)(o.r,{ref:n,className:(0,r.A)(d,f,e),...t})})},20260(e,t,n){"use strict";n.d(t,{B:()=>p});var r=n(13022),o=n(82313),i=n(2376),s=n(18335),a=n(81436),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)})("df33c48b2d",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);font-weight:var(--wpds-typography-font-weight-default,400);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var f="_08a3750500e0233f__description",p=(0,i.forwardRef)(function({className:e,...t},n){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.s,{render:(0,l.jsx)(o.r,{}),children:(0,s.__)("More details follow the field.")}),(0,l.jsx)("div",{ref:n,className:(0,r.A)(f,e),...t})]})})},26764(e,t,n){"use strict";n.d(t,{J:()=>f});var r=n(13022),o=n(63145),i=n(2376),s=n(81436),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)})("df33c48b2d",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);font-weight:var(--wpds-typography-font-weight-default,400);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var d={label:"_2d5ad850b2f90964__label","is-plain":"_17c4214649230bea__is-plain",description:"_08a3750500e0233f__description"},f=(0,i.forwardRef)(function({className:e,hideFromVision:t,variant:n,...i},l){const c=(0,a.jsx)(o.d,{ref:l,className:(0,r.A)(d.label,n&&d[`is-${n}`],e),...i});return t?(0,a.jsx)(s.s,{render:c}):c})},84974(e,t,n){"use strict";n.d(t,{b:()=>p});var r=n(13022),o=n(44999),i=n(2376),s=n(9504),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)})("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var d="_336cd3e4e743482f__box-sizing",f=e=>(0,a.jsx)(s.B,{...e,direction:"column",gap:"sm"}),p=(0,i.forwardRef)(function({className:e,render:t=f,...n},i){return(0,a.jsx)(o.X,{ref:i,className:(0,r.A)(d,e),render:t,...n})})},55723(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(57150),o=n(27033),i=Object.assign(r.N,{Slot:o.$})},57150(e,t,n){"use strict";n.d(t,{N:()=>p});var r=n(13022),o=n(2376),i=n(93236),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function c(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)}c("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var u="_8c15fd0ed9f28ba4__div";c("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var d="_336cd3e4e743482f__box-sizing";c("e4f4f9600b",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.cb2baafdc08746bb__input-layout{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-md,12px);background-color:var(--wpds-color-background-interactive-neutral,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:var(--wpds-border-width-xs,1px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:max(var(--wpds-typography-font-size-md,13px),16px);height:var(--wpds-dimension-size-lg,40px);line-height:1;@media (min-width:600px){font-size:var(--wpds-typography-font-size-md,13px)}&._0c807a84cbb94e0c__is-size-compact{height:var(--wpds-dimension-size-md,32px)}&._0c807a84cbb94e0c__is-size-compact,&.ed67cda122dc1e7b__is-size-small{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-sm,8px)}&.ed67cda122dc1e7b__is-size-small{height:var(--wpds-dimension-size-sm,24px)}&._6fb7104732387680__is-disabled,&:has([data-can-disable-input-layout][data-disabled]){color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}&:not(._8097270636ca6100__is-borderless){background-color:var(--wpds-color-background-interactive-neutral-disabled,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText}}}&._8097270636ca6100__is-borderless{background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);border-color:transparent}&:has(._0d7afad74a057888__input-layout-slot:focus-within){--_gcd-div-outline:none;outline:none}&:hover:not(._6fb7104732387680__is-disabled,:has([data-can-disable-input-layout][data-disabled]),._8097270636ca6100__is-borderless){background-color:var(--wpds-color-background-interactive-neutral-active,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}&:has(:invalid[data-validity-visible]){--focus-color:var(--wpds-color-stroke-interactive-error,#cc1818);border-color:var(--wpds-color-stroke-interactive-error,#cc1818);&:hover{border-color:var(--wpds-color-stroke-interactive-error-active,#9d0000)}}}.c192b41a12b4387b__slot-wrapper{display:contents}._0d7afad74a057888__input-layout-slot{align-items:center;display:flex;&._0c952682762ca288__is-padding-minimal{--wp-ui-input-layout-prefix-padding-start:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px));--wp-ui-input-layout-suffix-padding-end:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px))}[data-slot-type=prefix] &{padding-inline-start:var(--wp-ui-input-layout-prefix-padding-start,var(--wp-ui-input-layout-padding-inline))}[data-slot-type=suffix] &{padding-inline-end:var(--wp-ui-input-layout-suffix-padding-end,var(--wp-ui-input-layout-padding-inline))}}}}');var f={"input-layout":"cb2baafdc08746bb__input-layout","is-size-compact":"_0c807a84cbb94e0c__is-size-compact","is-size-small":"ed67cda122dc1e7b__is-size-small","is-disabled":"_6fb7104732387680__is-disabled","is-borderless":"_8097270636ca6100__is-borderless","input-layout-slot":"_0d7afad74a057888__input-layout-slot","slot-wrapper":"c192b41a12b4387b__slot-wrapper","is-padding-minimal":"_0c952682762ca288__is-padding-minimal"},p=(0,o.forwardRef)(function({className:e,children:t,visuallyDisabled:n,size:s="default",isBorderless:a,prefix:l,suffix:c,...p},h){return(0,i.jsxs)("div",{ref:h,className:(0,r.A)(u,d,f["input-layout"],f[`is-size-${s}`],n&&f["is-disabled"],a&&f["is-borderless"],e),...p,children:[o.Children.count(l)>0&&(0,i.jsx)("div",{className:f["slot-wrapper"],"data-slot-type":"prefix",children:l}),t,o.Children.count(c)>0&&(0,i.jsx)("div",{className:f["slot-wrapper"],"data-slot-type":"suffix",children:c})]})})},27033(e,t,n){"use strict";n.d(t,{$:()=>u});var r=n(13022),o=n(2376),i=n(93236),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("e4f4f9600b",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.cb2baafdc08746bb__input-layout{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-md,12px);background-color:var(--wpds-color-background-interactive-neutral,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:var(--wpds-border-width-xs,1px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:max(var(--wpds-typography-font-size-md,13px),16px);height:var(--wpds-dimension-size-lg,40px);line-height:1;@media (min-width:600px){font-size:var(--wpds-typography-font-size-md,13px)}&._0c807a84cbb94e0c__is-size-compact{height:var(--wpds-dimension-size-md,32px)}&._0c807a84cbb94e0c__is-size-compact,&.ed67cda122dc1e7b__is-size-small{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-sm,8px)}&.ed67cda122dc1e7b__is-size-small{height:var(--wpds-dimension-size-sm,24px)}&._6fb7104732387680__is-disabled,&:has([data-can-disable-input-layout][data-disabled]){color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}&:not(._8097270636ca6100__is-borderless){background-color:var(--wpds-color-background-interactive-neutral-disabled,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText}}}&._8097270636ca6100__is-borderless{background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);border-color:transparent}&:has(._0d7afad74a057888__input-layout-slot:focus-within){--_gcd-div-outline:none;outline:none}&:hover:not(._6fb7104732387680__is-disabled,:has([data-can-disable-input-layout][data-disabled]),._8097270636ca6100__is-borderless){background-color:var(--wpds-color-background-interactive-neutral-active,var(--wpds-color-background-surface-neutral-strong,#fff));border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}&:has(:invalid[data-validity-visible]){--focus-color:var(--wpds-color-stroke-interactive-error,#cc1818);border-color:var(--wpds-color-stroke-interactive-error,#cc1818);&:hover{border-color:var(--wpds-color-stroke-interactive-error-active,#9d0000)}}}.c192b41a12b4387b__slot-wrapper{display:contents}._0d7afad74a057888__input-layout-slot{align-items:center;display:flex;&._0c952682762ca288__is-padding-minimal{--wp-ui-input-layout-prefix-padding-start:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px));--wp-ui-input-layout-suffix-padding-end:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px))}[data-slot-type=prefix] &{padding-inline-start:var(--wp-ui-input-layout-prefix-padding-start,var(--wp-ui-input-layout-padding-inline))}[data-slot-type=suffix] &{padding-inline-end:var(--wp-ui-input-layout-suffix-padding-end,var(--wp-ui-input-layout-padding-inline))}}}}');var c={"input-layout":"cb2baafdc08746bb__input-layout","is-size-compact":"_0c807a84cbb94e0c__is-size-compact","is-size-small":"ed67cda122dc1e7b__is-size-small","is-disabled":"_6fb7104732387680__is-disabled","is-borderless":"_8097270636ca6100__is-borderless","input-layout-slot":"_0d7afad74a057888__input-layout-slot","slot-wrapper":"c192b41a12b4387b__slot-wrapper","is-padding-minimal":"_0c952682762ca288__is-padding-minimal"},u=(0,o.forwardRef)(function({padding:e="default",className:t,...n},o){return(0,i.jsx)("div",{ref:o,className:(0,r.A)(c["input-layout-slot"],c[`is-padding-${e}`],t),...n})});u.displayName="InputLayout.Slot"},54094(e,t,n){"use strict";n.d(t,{p:()=>g});var r=n(8958),o=n(13022),i=n(2376),s=n(55723),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function d(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)}d("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var f="d2cff2e5dea83bd1__input";d("08122b3d53","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{.af79fb116edb0dd7__outset-ring--focus:focus,.dfcfdc28396e5d98__outset-ring--focus-visible:focus-visible,.e5cd9ee879f6403a__outset-ring--focus-within:focus-within,:focus-visible ._81935a08e952f267__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within,.abc777e9713fa711__outset-ring--focus-except-active:focus{outline:none}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.abc777e9713fa711__outset-ring--focus-except-active:focus:not(:active){--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}}");var p="e5cd9ee879f6403a__outset-ring--focus-within";d("1a25f6a232","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._2ae7be2fc1bb17a3__input{--_gcd-input-padding:var(--wp-ui-input-padding-block,0px) var(--wp-ui-input-layout-padding-inline,0px);background:transparent;border:none;color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding-block:var(--wp-ui-input-padding-block,0);padding-inline:var(--wp-ui-input-layout-padding-inline,0);width:100%;&::placeholder{color:var(--wpds-color-foreground-interactive-neutral-weak,#707070)}&:disabled,&[aria-disabled=true]{--_gcd-input-placeholder-color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);&::placeholder{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}@media (forced-colors:active){color:GrayText}}&[type=email],&[type=url]{direction:ltr}&[type=number]{appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{appearance:none;margin:0}}}}}");var h="_2ae7be2fc1bb17a3__input",g=(0,i.forwardRef)(function({className:e,size:t="default",prefix:n,suffix:i,style:l,...c},u){return(0,a.jsx)(s.N,{className:(0,o.A)(p,e),style:l,size:t,visuallyDisabled:c.disabled,prefix:n,suffix:i,children:(0,a.jsx)(r.p,{ref:u,className:(0,o.A)(f,h),...c})})})},70280(e,t,n){"use strict";n.d(t,{W:()=>f});var r=n(12066),o=n(13022),i=n(2376),s=n(44636),a=n(93236),l="data-wp-hash";function c(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=c();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)u(e,n,r)}(document)),e.__wpStyleRuntime}function u(e,t,n){if(!e.head)return;const r=c();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${l}]`))if(n.getAttribute(l)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(l,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=c();n.styles.set(e,t);for(const r of n.documents.keys())u(r,e,t)})("02571d1b6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._234b520016b4e56f__popup{--wp-ui-popup-padding:var(--wpds-dimension-padding-xs,4px);--_wp-ui-elevation-md:0 2px 3px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.04),0 12px 12px rgba(0,0,0,.03),0 16px 16px rgba(0,0,0,.02);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-elevation-md);display:grid;grid-template-areas:"header" "status" "main";grid-template-rows:auto auto minmax(0,1fr);max-height:min(var(--available-height),480px,60dvh);max-width:var(--available-width);min-width:var(--anchor-width);&.b9a9946a395ccad8__is-width-anchor{width:var(--anchor-width)}&._7c9f1b268b013f02__is-width-content{width:auto}&._6f31db51d79ec899__is-width-sm{width:min(var(--available-width),var(--wpds-dimension-surface-width-sm,320px))}&.fa45cdb5f45e57fb__is-width-md{width:min(var(--available-width),var(--wpds-dimension-surface-width-md,400px))}&._46a909337f6be21c__is-width-lg{width:min(var(--available-width),var(--wpds-dimension-surface-width-lg,560px))}&._6083938dff06df34__is-width-available{width:var(--available-width)}}._2fff4e9defe85de5__list-chrome{color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);grid-area:main;line-height:var(--wpds-typography-line-height-sm,20px)}.f43dc7c768d7b622__list{display:grid;grid-template-areas:"scrollable" "footer";grid-template-rows:minmax(0,1fr) auto}._233cd60cdb84a2ef__list-scrollable-container{grid-area:scrollable;overflow-block:auto;overscroll-behavior:contain;scroll-padding-block:var(--wp-ui-popup-padding);&:not(:empty){padding-block:var(--wp-ui-popup-padding)}}.ec4db6f0122263e7__list-footer{grid-area:footer;padding-block:var(--wp-ui-popup-padding);._233cd60cdb84a2ef__list-scrollable-container:not(:empty)+&{border-block-start:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}}.b3c0d7f103fb10a2__group:not(:first-child){margin-block-start:var(--wpds-dimension-gap-sm,8px)}._21b59380477c306c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;min-height:var(--wpds-dimension-size-md,32px);padding-inline:var(--wpds-dimension-padding-md,12px)}._684ccb7988365b4f__item{--wp-ui-popup-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-popup-item-padding-block:var(--wpds-dimension-padding-xs,4px);align-items:center;border-radius:var(--wpds-border-radius-sm,2px);display:flex;gap:var(--wpds-dimension-gap-xs,4px);justify-content:flex-start;margin-inline:var(--wp-ui-popup-padding);min-height:var(--wp-ui-popup-item-height);min-width:0;overflow-wrap:anywhere;padding-block:var(--wp-ui-popup-item-padding-block);padding-inline-end:var(--wp-ui-popup-item-padding-inline);padding-inline-start:calc(var(--wp-ui-popup-item-padding-inline) - var(--wpds-dimension-padding-xs, 4px));user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&._38f7faff93c61958__is-size-small{--wp-ui-popup-item-height:var(--wpds-dimension-size-sm,24px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-popup-item-padding-block:2px}&:not([data-selected]){._92fbe4765dfad5ee__item-indicator-icon{opacity:0}}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){outline:1px solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}.a3adcfd0b73ffd40__item-icon{flex-shrink:0}._6eb78bc92f8d7795__status{grid-area:status}._06c7ff39d2f685b9__empty:not(:empty){grid-area:main}._06c7ff39d2f685b9__empty:not(:empty),._6eb78bc92f8d7795__status:not(:empty):not(:has([data-visually-hidden])){--wp-ui-popup-empty-min-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-empty-padding-inline:var(--wpds-dimension-padding-md,12px);align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px);min-height:var(--wp-ui-popup-empty-min-height);padding-inline:var(--wp-ui-popup-empty-padding-inline)}}}');var d="_21b59380477c306c__group-label",f=(0,i.forwardRef)(function({className:e,children:t,...n},i){return(0,a.jsx)(s.E,{variant:"heading-sm",className:(0,o.A)(d,e),render:(0,a.jsx)(r.M,{ref:i,...n}),children:t})})},68477(e,t,n){"use strict";n.d(t,{Y:()=>d});var r=n(83945),o=n(13022),i=n(2376),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)})("02571d1b6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion,._7f344b94e270e039__dropdown-motion--fade-only{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}}._380b81b8f79fb10f__dropdown-motion{transform:translate(0);&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=inline-start][data-ending-style],&[data-side=inline-start][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=inline-end][data-ending-style],&[data-side=inline-end][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-start][data-ending-style],&:dir(rtl)[data-side=inline-start][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&:dir(rtl)[data-side=inline-end][data-ending-style],&:dir(rtl)[data-side=inline-end][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._234b520016b4e56f__popup{--wp-ui-popup-padding:var(--wpds-dimension-padding-xs,4px);--_wp-ui-elevation-md:0 2px 3px rgba(0,0,0,.05),0 4px 5px rgba(0,0,0,.04),0 12px 12px rgba(0,0,0,.03),0 16px 16px rgba(0,0,0,.02);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-elevation-md);display:grid;grid-template-areas:"header" "status" "main";grid-template-rows:auto auto minmax(0,1fr);max-height:min(var(--available-height),480px,60dvh);max-width:var(--available-width);min-width:var(--anchor-width);&.b9a9946a395ccad8__is-width-anchor{width:var(--anchor-width)}&._7c9f1b268b013f02__is-width-content{width:auto}&._6f31db51d79ec899__is-width-sm{width:min(var(--available-width),var(--wpds-dimension-surface-width-sm,320px))}&.fa45cdb5f45e57fb__is-width-md{width:min(var(--available-width),var(--wpds-dimension-surface-width-md,400px))}&._46a909337f6be21c__is-width-lg{width:min(var(--available-width),var(--wpds-dimension-surface-width-lg,560px))}&._6083938dff06df34__is-width-available{width:var(--available-width)}}._2fff4e9defe85de5__list-chrome{color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);grid-area:main;line-height:var(--wpds-typography-line-height-sm,20px)}.f43dc7c768d7b622__list{display:grid;grid-template-areas:"scrollable" "footer";grid-template-rows:minmax(0,1fr) auto}._233cd60cdb84a2ef__list-scrollable-container{grid-area:scrollable;overflow-block:auto;overscroll-behavior:contain;scroll-padding-block:var(--wp-ui-popup-padding);&:not(:empty){padding-block:var(--wp-ui-popup-padding)}}.ec4db6f0122263e7__list-footer{grid-area:footer;padding-block:var(--wp-ui-popup-padding);._233cd60cdb84a2ef__list-scrollable-container:not(:empty)+&{border-block-start:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}}.b3c0d7f103fb10a2__group:not(:first-child){margin-block-start:var(--wpds-dimension-gap-sm,8px)}._21b59380477c306c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;min-height:var(--wpds-dimension-size-md,32px);padding-inline:var(--wpds-dimension-padding-md,12px)}._684ccb7988365b4f__item{--wp-ui-popup-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-popup-item-padding-block:var(--wpds-dimension-padding-xs,4px);align-items:center;border-radius:var(--wpds-border-radius-sm,2px);display:flex;gap:var(--wpds-dimension-gap-xs,4px);justify-content:flex-start;margin-inline:var(--wp-ui-popup-padding);min-height:var(--wp-ui-popup-item-height);min-width:0;overflow-wrap:anywhere;padding-block:var(--wp-ui-popup-item-padding-block);padding-inline-end:var(--wp-ui-popup-item-padding-inline);padding-inline-start:calc(var(--wp-ui-popup-item-padding-inline) - var(--wpds-dimension-padding-xs, 4px));user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&._38f7faff93c61958__is-size-small{--wp-ui-popup-item-height:var(--wpds-dimension-size-sm,24px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-popup-item-padding-block:2px}&:not([data-selected]){._92fbe4765dfad5ee__item-indicator-icon{opacity:0}}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){outline:1px solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}.a3adcfd0b73ffd40__item-icon{flex-shrink:0}._6eb78bc92f8d7795__status{grid-area:status}._06c7ff39d2f685b9__empty:not(:empty){grid-area:main}._06c7ff39d2f685b9__empty:not(:empty),._6eb78bc92f8d7795__status:not(:empty):not(:has([data-visually-hidden])){--wp-ui-popup-empty-min-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-empty-padding-inline:var(--wpds-dimension-padding-md,12px);align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px);min-height:var(--wp-ui-popup-empty-min-height);padding-inline:var(--wp-ui-popup-empty-padding-inline)}}}');var u="b3c0d7f103fb10a2__group",d=(0,i.forwardRef)(function({className:e,children:t,...n},i){return(0,s.jsx)(r.s,{className:(0,o.A)(u,e),ref:i,...n,children:t})})},37128(e,t,n){"use strict";n.d(t,{e:()=>m});var r=n(13022),o=n(49099),i=n(42243),s=n(54248),a=n(12288),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function f(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)}f("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var p="_43cec3e1eec1066d__p";f("d11816833c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._7a7ac88e306348e7__indicator{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);align-items:flex-start;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);gap:var(--wpds-dimension-gap-xs,4px);line-height:var(--wpds-typography-line-height-xs,16px);@media not (prefers-reduced-motion){animation:_48722cc5dd090ce4__indicator-jump var(--wpds-motion-duration-md,.2s) cubic-bezier(.68,-.55,.27,1.55)}}._57a3bbbfbe38a5c6__is-invalid{color:var(--wpds-color-foreground-content-error-weak,#cc1818)}._9e944dc198aac10b__is-valid{color:var(--wpds-color-foreground-content-success-weak,#008030)}.e482806667437c6a__indicator-icon{flex-shrink:0}._6e46434cc23019d2__indicator-spinner{height:var(--wpds-dimension-size-3xs,12px);margin:2px;width:var(--wpds-dimension-size-3xs,12px)}@keyframes _48722cc5dd090ce4__indicator-jump{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}}}');var h={indicator:"_7a7ac88e306348e7__indicator","indicator-jump":"_48722cc5dd090ce4__indicator-jump","is-invalid":"_57a3bbbfbe38a5c6__is-invalid","is-valid":"_9e944dc198aac10b__is-valid","indicator-icon":"e482806667437c6a__indicator-icon","indicator-spinner":"_6e46434cc23019d2__indicator-spinner"},g={valid:i.A,invalid:o.A};function m({id:e,type:t,message:n}){return(0,l.jsxs)("p",{id:e,className:(0,r.A)(p,h.indicator,h[`is-${t}`]),children:["validating"===t?(0,l.jsx)(a.y,{className:h["indicator-spinner"]}):(0,l.jsx)(s.I,{className:h["indicator-icon"],icon:g[t],size:16,fill:"currentColor"}),n]})}},20249(e,t,n){"use strict";n.d(t,{Y:()=>a});var r=n(12871),o=n(68477),i=n(70280),s=n(21054);o.Y.displayName="SelectControl.Group",i.W.displayName="SelectControl.GroupLabel",s.q.displayName="SelectControl.Item";var a=Object.assign(r.Y,{Group:o.Y,GroupLabel:i.W,Item:s.q})},21054(e,t,n){"use strict";n.d(t,{q:()=>s});var r=n(2376),o=n(26068),i=n(93236),s=(0,r.forwardRef)(function(e,t){return(0,i.jsx)(o.Item,{ref:t,...e})})},12871(e,t,n){"use strict";n.d(t,{Y:()=>d});var r=n(2376),o=n(84974),i=n(26764),s=n(50416),a=n(20260),l=n(26068),c=n(21054),u=n(93236),d=(0,r.forwardRef)(function({className:e,children:t,items:n,label:r,description:d,details:f,hideLabelFromVision:p,placeholder:h,popupWidth:g="content",size:m="default",triggerContent:v,...b},y){return(0,u.jsxs)(o.b,{className:e,children:[(0,u.jsx)(i.J,{hideFromVision:p,children:r}),(0,u.jsxs)(l.Root,{items:n,...b,children:[(0,u.jsx)(l.Trigger,{ref:y,placeholder:h,size:m,children:v}),(0,u.jsx)(l.Popup,{width:g,children:void 0!==t?t:n?.map(e=>(0,u.jsx)(c.q,{value:e,label:e.label,disabled:e.disabled,children:e.label},e.value??"null"))})]}),d&&(0,u.jsx)(s.V,{children:d}),f&&(0,u.jsx)(a.B,{children:f})]})})},94720(e,t,n){"use strict";n.d(t,{Q:()=>l});var r=n(2376),o=n(43730),i=n(49754),s=n(37341),a=n(93236),l=(0,r.forwardRef)(function({required:e,markWhenOptional:t,customValidity:n,...l},c){const u=(0,r.useRef)(null),d=(0,o.A)([c,u]);return(0,a.jsx)(i.K,{required:e,markWhenOptional:t,customValidity:n,getValidityTarget:()=>u.current,children:(0,a.jsx)(s.e,{ref:d,...l})})})},54248(e,t,n){"use strict";n.d(t,{I:()=>s});var r=n(2376),o=n(65334),i=n(93236),s=(0,r.forwardRef)(function({icon:e,size:t=24,style:n,...r},s){const a=e.props.style||n?{...e.props.style,...n}:void 0;return(0,i.jsx)(o.t4,{ref:s,...e.props,...r,...a?{style:a}:{},width:t,height:t})})},30226(e,t,n){"use strict";n.d(t,{N:()=>v});var r=n(899),o=n(45339),i=n(13022),s=n(2376),a=n(18335),l=n(93236),c="data-wp-hash";function u(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=u();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)d(e,n,r)}(document)),e.__wpStyleRuntime}function d(e,t,n){if(!e.head)return;const r=u();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${c}]`))if(n.getAttribute(c)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(c,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function f(e,t){const n=u();n.styles.set(e,t);for(const r of n.documents.keys())d(r,e,t)}f("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var p="_336cd3e4e743482f__box-sizing";f("08122b3d53","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{.af79fb116edb0dd7__outset-ring--focus:focus,.dfcfdc28396e5d98__outset-ring--focus-visible:focus-visible,.e5cd9ee879f6403a__outset-ring--focus-within:focus-within,:focus-visible ._81935a08e952f267__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within,.abc777e9713fa711__outset-ring--focus-except-active:focus{outline:none}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.abc777e9713fa711__outset-ring--focus-except-active:focus:not(:active){--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}}");var h="abc777e9713fa711__outset-ring--focus-except-active";f("e8e6a9be37",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d4250949359b05ce__link{text-decoration-thickness:from-font;text-underline-offset:.2em}.c6055659b8e2cd2c__is-brand,.c6055659b8e2cd2c__is-brand:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9))}.c6055659b8e2cd2c__is-brand:active,.c6055659b8e2cd2c__is-brand:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000))}._92e0dfcaeee15b88__is-neutral,._92e0dfcaeee15b88__is-neutral:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);text-decoration-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d)}._92e0dfcaeee15b88__is-neutral:active,._92e0dfcaeee15b88__is-neutral:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}.cf122a9bf1035d42__is-unstyled{--_gcd-a-color:inherit;color:inherit;text-decoration:none}._0cb411afac4c86c7__link-icon{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-padding-xs,4px);text-decoration:none}._0cb411afac4c86c7__link-icon:after{content:"\\2197"}._0cb411afac4c86c7__link-icon:dir(rtl):after{content:"\\2196"}}}');var g={link:"d4250949359b05ce__link","is-brand":"c6055659b8e2cd2c__is-brand","is-neutral":"_92e0dfcaeee15b88__is-neutral","is-unstyled":"cf122a9bf1035d42__is-unstyled","link-icon":"_0cb411afac4c86c7__link-icon"};f("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var m="_2c0831b0499dbd6e__a",v=(0,s.forwardRef)(function({children:e,variant:t="default",tone:n="brand",openInNewTab:s=!1,target:c,render:u,className:d,...f},v){const b=s||/^_blank$/i.test(c??"");return(0,r.C)({render:u,defaultTagName:"a",ref:v,props:(0,o.v6)(f,{className:(0,i.A)(m,p,h,"unstyled"!==t&&g.link,"unstyled"!==t&&g[`is-${n}`],"unstyled"===t&&g["is-unstyled"],d),target:c??(s?"_blank":void 0),children:(0,l.jsxs)(l.Fragment,{children:[e,b&&(0,l.jsx)("span",{className:g["link-icon"],role:"img","aria-label":
256 /* translators: accessibility text appended to link text */
257 /* translators: accessibility text appended to link text */(0,a.__)("(opens in a new tab)")})]})})})})},97627(e,t,n){"use strict";n.d(t,{T:()=>i});var r=n(55294),{lock:o,unlock:i}=(0,r.yf)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/ui")},12288(e,t,n){"use strict";n.d(t,{y:()=>f});var r=n(13022),o=n(2376),i=n(93236),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("bbbecfe373","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.ab4d64c07c0ba587__spinner{background-color:transparent;display:inline-block;height:var(--wpds-dimension-size-2xs,16px);opacity:1;overflow:visible;position:relative;width:var(--wpds-dimension-size-2xs,16px)}.a7654e10245bb7d2__indicator,.dc51f80c84b35fe2__track{fill:transparent;stroke-width:1.5px}.dc51f80c84b35fe2__track{stroke:var(--wpds-color-background-track-neutral,#dbdbdb)}.a7654e10245bb7d2__indicator{stroke:var(--wpds-color-background-thumb-brand,var(--wp-admin-theme-color,#3858e9));stroke-linecap:round;animation:_02322d973909703c__spinner-spin 1.4s linear infinite both;transform-origin:50% 50%}@keyframes _02322d973909703c__spinner-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}}}");var c="ab4d64c07c0ba587__spinner",u="dc51f80c84b35fe2__track",d="a7654e10245bb7d2__indicator",f=(0,o.forwardRef)(function({className:e,...t},n){return(0,i.jsxs)("svg",{className:(0,r.A)(c,e),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...t,ref:n,children:[(0,i.jsx)("circle",{className:u,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,i.jsx)("path",{className:d,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})})},9504(e,t,n){"use strict";n.d(t,{B:()=>d});var r=n(899),o=n(45339),i=n(2376),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var c="_19ce0419607e1896__stack",u={xs:"var(--wpds-dimension-gap-xs, 4px)",sm:"var(--wpds-dimension-gap-sm, 8px)",md:"var(--wpds-dimension-gap-md, 12px)",lg:"var(--wpds-dimension-gap-lg, 16px)",xl:"var(--wpds-dimension-gap-xl, 24px)","2xl":"var(--wpds-dimension-gap-2xl, 32px)","3xl":"var(--wpds-dimension-gap-3xl, 40px)"},d=(0,i.forwardRef)(function({direction:e,gap:t,align:n,justify:i,wrap:s,render:a,...l},d){const f={gap:t&&u[t],alignItems:n,justifyContent:i,flexDirection:e,flexWrap:s};return(0,r.C)({render:a,ref:d,props:(0,o.v6)(l,{style:f,className:c})})})},44636(e,t,n){"use strict";n.d(t,{E:()=>h});var r=n(899),o=n(45339),i=n(13022),s=n(2376),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function u(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)}u("3167e7d116",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{text-wrap:pretty;margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var d={text:"_83ed8a8da5dd50ea__text","heading-2xl":"_14437cfb77831647__heading-2xl","heading-xl":"_3c78b7fa9b4072dd__heading-xl","heading-lg":"aa58f227716bcde2__heading-lg","heading-md":"fc4da56d8dfe52c4__heading-md","heading-sm":"a9b78c7c82e8dff7__heading-sm","body-xl":"_305ff559e52180d5__body-xl","body-lg":"ca1aa3fc2029e958__body-lg","body-md":"_131101940be12424__body-md","body-sm":"_0e8d87a42c1f75fa__body-sm"};u("e8e31009f5","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var f="_43cec3e1eec1066d__p",p="e97669c6d9a38497__heading",h=(0,s.forwardRef)(function({variant:e="body-md",render:t,className:n,...s},a){return(0,r.C)({render:t,defaultTagName:"span",ref:a,props:(0,o.v6)(s,{className:(0,i.A)(d.text,p,f,d[e],n)})})})},3383(e,t,n){"use strict";n.d(t,{z:()=>m});var r=n(13022),o=n(59801),i=n(2376),s=n(96125),a=n(96491),l=n(33505),c=n(95362),u=n(93236),d="data-wp-hash";function f(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=f();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)p(e,n,r)}(document)),e.__wpStyleRuntime}function p(e,t,n){if(!e.head)return;const r=f();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${d}]`))if(n.getAttribute(d)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(d,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=f();n.styles.set(e,t);for(const r of n.documents.keys())p(r,e,t)})("19fcc06039",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._480b748dd3510e64__positioner{z-index:var(--wp-ui-tooltip-z-index,initial)}._50096b232db7709d__popup{--_wp-ui-elevation-sm:0 1px 2px rgba(0,0,0,.05),0 2px 3px rgba(0,0,0,.04),0 6px 6px rgba(0,0,0,.03),0 8px 8px rgba(0,0,0,.02);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-elevation-sm);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);line-height:1.4;padding:var(--wpds-dimension-padding-xs,4px) var(--wpds-dimension-padding-sm,8px);@media (forced-colors:active){border-bottom-color:CanvasText;border-bottom-style:solid;border-bottom-width:1px;border-left-color:CanvasText;border-left-style:solid;border-left-width:1px;border-right-color:CanvasText;border-right-style:solid;border-right-width:1px;border-top-color:CanvasText;border-top-style:solid;border-top-width:1px}}}}');var h="_50096b232db7709d__popup",g={background:"#1e1e1e"},m=(0,i.forwardRef)(function({portal:e,positioner:t,children:n,className:i,...d},f){const p=(0,u.jsx)(c.N,{color:g,children:(0,u.jsx)(o.o,{ref:f,className:(0,r.A)(h,i),...d,children:n})}),m=(0,l.o)(t,(0,u.jsx)(a.P,{}),p);return(0,l.o)(e,(0,u.jsx)(s.Z,{}),m)})},96125(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(68817),o=n(2376),i=n(84377),s=n(93236),a=(0,o.forwardRef)(function({container:e,...t},n){return(0,s.jsx)(r.K,{container:e??(0,i.un)(),...t,ref:n})})},96491(e,t,n){"use strict";n.d(t,{P:()=>p});var r=n(13022),o=n(10217),i=n(2376),s=n(93236),a="data-wp-hash";function l(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=l();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)c(e,n,r)}(document)),e.__wpStyleRuntime}function c(e,t,n){if(!e.head)return;const r=l();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${a}]`))if(n.getAttribute(a)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(a,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function u(e,t){const n=l();n.styles.set(e,t);for(const r of n.documents.keys())c(r,e,t)}u("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var d="_336cd3e4e743482f__box-sizing";u("19fcc06039",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._480b748dd3510e64__positioner{z-index:var(--wp-ui-tooltip-z-index,initial)}._50096b232db7709d__popup{--_wp-ui-elevation-sm:0 1px 2px rgba(0,0,0,.05),0 2px 3px rgba(0,0,0,.04),0 6px 6px rgba(0,0,0,.03),0 8px 8px rgba(0,0,0,.02);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--_wp-ui-elevation-sm);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-sm,12px);line-height:1.4;padding:var(--wpds-dimension-padding-xs,4px) var(--wpds-dimension-padding-sm,8px);@media (forced-colors:active){border-bottom-color:CanvasText;border-bottom-style:solid;border-bottom-width:1px;border-left-color:CanvasText;border-left-style:solid;border-left-width:1px;border-right-color:CanvasText;border-right-style:solid;border-right-width:1px;border-top-color:CanvasText;border-top-style:solid;border-top-width:1px}}}}');var f="_480b748dd3510e64__positioner",p=(0,i.forwardRef)(function({align:e="center",className:t,side:n="top",sideOffset:i=4,...a},l){return(0,s.jsx)(o.o,{ref:l,align:e,side:n,sideOffset:i,...a,className:(0,r.A)(d,f,t)})})},54547(e,t,n){"use strict";n.d(t,{b:()=>s});var r=n(94681),o=n(59354),i=n(93236);function s(e){return(0,i.jsx)(o.F,{children:(0,i.jsx)(r.s,{...e})})}},18113(e,t,n){"use strict";n.d(t,{l:()=>s});var r=n(89933),o=n(2376),i=n(93236),s=(0,o.forwardRef)(function(e,t){return(0,i.jsx)(r.k,{ref:t,...e})})},59354(e,t,n){"use strict";n.d(t,{F:()=>s});var r=n(87759),o=n(18335),i=n(93236);function s({children:e}){return(0,i.jsx)(r.F,{direction:(0,o.V8)()?"rtl":"ltr",children:e})}},33505(e,t,n){"use strict";n.d(t,{o:()=>o});var r=n(2376);function o(e,t,n){return(0,r.cloneElement)(e??t,{children:n})}},95362(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(57290),o=n(97627);var i=function(){const e=r;if(e.ThemeProvider)return e.ThemeProvider;if(!e.privateApis)throw new Error("@wordpress/ui: @wordpress/theme must expose `ThemeProvider` or `privateApis.ThemeProvider`.");return(0,o.T)(e.privateApis).ThemeProvider}()},84377(e,t,n){"use strict";n.d(t,{un:()=>u});var r="data-wp-hash";function o(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=o();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)i(e,n,r)}(document)),e.__wpStyleRuntime}function i(e,t,n){if(!e.head)return;const i=o();let s=i.injectedStyles.get(e);if(s||(s=new Set,i.injectedStyles.set(e,s)),s.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${r}]`))if(n.getAttribute(r)===t)return!0;return!1}(e,t))return void s.add(t);const a=e.createElement("style");a.setAttribute(r,t),a.appendChild(e.createTextNode(n)),e.head.appendChild(a),s.add(t)}(function(e,t){const n=o();n.styles.set(e,t);for(const r of n.documents.keys())i(r,e,t)})("be37f31c1e","._11fc52b637ff8a7e__slot{inset:0;isolation:isolate;pointer-events:none;position:fixed;z-index:1000000003}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._11fc52b637ff8a7e__slot>*{pointer-events:auto}}}");var s="_11fc52b637ff8a7e__slot",a="data-wp-compat-overlay-slot";var l=null;function c(e){return e.setAttribute("aria-hidden","false"),e}function u(){if("undefined"==typeof window)return;if(!function(){let e;try{e=window.top?.wp}catch{}const t=e??window.wp;return"object"==typeof t?.components&&null!==t.components}()&&!0!==window.__wpUiCompatOverlaySlotEnabled)return;const e="undefined"==typeof document?null:document;if(!e||!e.body)return;if(l&&l.ownerDocument===e&&l.isConnected)return c(l);const t=e.querySelector(`[${a}]`);return t instanceof HTMLDivElement?l=c(t):(l?.isConnected&&l.remove(),l=c(function(e){const t=e.createElement("div");return t.setAttribute(a,""),s&&t.classList.add(s),e.body.appendChild(t),t}(e)),l)}},81436(e,t,n){"use strict";n.d(t,{s:()=>u});var r=n(899),o=n(45339),i=n(2376),s="data-wp-hash";function a(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=a();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)l(e,n,r)}(document)),e.__wpStyleRuntime}function l(e,t,n){if(!e.head)return;const r=a();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${s}]`))if(n.getAttribute(s)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(s,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}(function(e,t){const n=a();n.styles.set(e,t);for(const r of n.documents.keys())l(r,e,t)})("fa606a57ae","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f37b9e2e191ebd66__visually-hidden{word-wrap:normal;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-break:normal}}}");var c="f37b9e2e191ebd66__visually-hidden",u=(0,i.forwardRef)(function({render:e,...t},n){return(0,r.C)({render:e,ref:n,props:(0,o.v6)({className:c},t,{"data-visually-hidden":""})})})},56015(e,t,n){"use strict";function r(e,t=null){if(!e)return"";let n=e.replace(/^[a-z\-.\+]+[0-9]*:(\/\/)?/i,"").replace(/^www\./i,"");n.match(/^[^\/]+\/$/)&&(n=n.replace("/",""));if(!t||n.length<=t||!n.match(/\/([^\/?]+)\.(?:[\w]+)(?=\?|$)/))return n;n=n.split("?")[0];const r=n.split("/"),o=r[r.length-1];if(o.length<=t)return"…"+n.slice(-t);const i=o.lastIndexOf("."),[s,a]=[o.slice(0,i),o.slice(i+1)],l=s.slice(-3)+"."+a;return o.slice(0,Math.max(0,t-l.length-1))+"…"+l}n.d(t,{r:()=>r})},56838(e,t,n){"use strict";function r(e){const t=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(e);if(t)return t[1]}n.d(t,{M:()=>r})},76404(e,t,n){"use strict";function r(e){let t;if(e){try{t=new URL(e,"http://example.com").pathname.split("/").pop()}catch{}return t||void 0}}n.d(t,{e:()=>r})},56935(e,t,n){"use strict";function r(e){const t=/^\S+?(#[^\s\?]*)/.exec(e);if(t)return t[1]}n.d(t,{h:()=>r})},64746(e,t,n){"use strict";function r(e){const t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]}n.d(t,{Y:()=>r})},89123(e,t,n){"use strict";function r(e){const t=/^([^\s:]+:)/.exec(e);if(t)return t[1]}n.d(t,{J:()=>r})},43345(e,t,n){"use strict";function r(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch{}if(t)return t}n.d(t,{e:()=>r})},82249(e,t,n){"use strict";n.d(t,{x:()=>o});var r=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;function o(e){return r.test(e)}},277(e,t,n){"use strict";n.d(t,{I:()=>o});var r=/^(tel:)?(\+)?\d{6,15}$/;function o(e){return e=e.replace(/[-.() ]/g,""),r.test(e)}},11462(e,t,n){"use strict";function r(e){try{return new URL(e),!0}catch{return!1}}n.d(t,{m:()=>r})},92367(e,t,n){"use strict";function r(e){return!!e&&/^[^\s#?]+$/.test(e)}n.d(t,{W:()=>r})},14464(e,t,n){"use strict";function r(e){return!!e&&/^#[^\s#?\/]*$/.test(e)}n.d(t,{R:()=>r})},37669(e,t,n){"use strict";function r(e){return!!e&&/^[^\s#?]+$/.test(e)}n.d(t,{o:()=>r})},66880(e,t,n){"use strict";function r(e){return!!e&&/^[a-z\-.\+]+[0-9]*:$/i.test(e)}n.d(t,{v:()=>r})},88906(e,t,n){"use strict";function r(e){return!!e&&/^[^\s#?\/]+$/.test(e)}n.d(t,{_:()=>r})},92475(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(82249),o=/^(?:[a-z]+:|#|\?|\.|\/)/i;function i(e){return e?(e=e.trim(),o.test(e)||(0,r.x)(e)?e:"http://"+e):e}},39242(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(92475);function o(e){return e?e.startsWith("http://")?e:(e=(0,r.N)(e)).replace(/^http:/,"https:"):e}},33057(e,t,n){"use strict";function r(e){try{return decodeURI(e)}catch{return e}}n.d(t,{S:()=>r})},90531(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(63144);function o(e){if(!0===globalThis.SCRIPT_DEBUG&&!r.J.has(e)){console.warn(e);try{throw Error(e)}catch{}r.J.add(e)}}},63144(e,t,n){"use strict";n.d(t,{J:()=>r});var r=new Set},13022(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o};n.d(t,["A",0,o])},63270(e,t,n){"use strict";n.d(t,{Mj:()=>R,X$:()=>L});for(var r={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},i=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},s=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},a=function(e){return(e=isFinite(e)?e%360:0)<0?e+360:e},l=function(e,t){return void 0===t&&(t=0),i(e,t)%360},c=function(e){return{r:s(e.r,0,255),g:s(e.g,0,255),b:s(e.b,0,255),a:s(e.a)}},u=function(e){return{r:i(e.r),g:i(e.g),b:i(e.b),a:i(e.a,3)}},d=/^#([0-9a-f]{3,8})$/i,f=function(e,t){var n=e.charCodeAt(t);return(15&n)+9*(n>>6)},p=function(e,t){return f(e,t)<<4|f(e,t+1)},h=[],g=0;g<256;g++)h.push((g<16?"0":"")+g.toString(16));var m=function(e){return h[s(e,0,255)]},v=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:o}},b=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),a=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),c=i%6;return{r:255*[r,a,s,s,l,r][c],g:255*[l,r,r,a,s,s][c],b:255*[s,s,l,r,r,a][c],a:o}},y=function(e){return{h:a(e.h),s:s(e.s,0,100),l:s(e.l,0,100),a:s(e.a)}},k=function(e){return{h:l(e.h),s:i(e.s),l:i(e.l),a:i(e.a,3)}},x=function(e){return b((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},w=function(e){return{h:(t=v(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},_=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,A=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s+([+-]?(?:\d*\.\d+|\d+))%\s+([+-]?(?:\d*\.\d+|\d+))%\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,S=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,C=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,E={string:[[function(e){if(!d.test(e))return null;var t=e.length;return t<=5?{r:17*f(e,1),g:17*f(e,2),b:17*f(e,3),a:5===t?i(17*f(e,4)/255,2):1}:7===t||9===t?{r:p(e,1),g:p(e,3),b:p(e,5),a:9===t?i(p(e,7)/255,2):1}:null},"hex"],[function(e){var t=S.exec(e)||C.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:c({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=_.exec(e)||A.exec(e);if(!t)return null;var n,o,i=y({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(r[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return x(i)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,i=e.a,s=void 0===i?1:i;return o(t)&&o(n)&&o(r)?c({r:Number(t),g:Number(n),b:Number(r),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,i=e.a,s=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var a=y({h:Number(t),s:Number(n),l:Number(r),a:Number(s)});return x(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,i=e.a,l=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var c=function(e){return{h:a(e.h),s:s(e.s,0,100),v:s(e.v,0,100),a:s(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(l)});return b(c)},"hsv"]]},T=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},I=function(e){return"string"==typeof e?T(e.trim(),E.string):"object"==typeof e&&null!==e?T(e,E.object):[null,void 0]},j=function(e,t){var n=w(e);return{h:n.h,s:s(n.s+100*t,0,100),l:n.l,a:n.a}},B=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},N=function(e,t){var n=w(e);return{h:n.h,s:n.s,l:s(n.l+100*t,0,100),a:n.a}},M=function(){function e(e){this.parsed=I(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return i(B(this.rgba),2)},e.prototype.isDark=function(){return B(this.rgba)<.5},e.prototype.isLight=function(){return B(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,s=(o=e.a)<1?m(i(255*o)):"","#"+m(t)+m(n)+m(r)+s;var e,t,n,r,o,s},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return k(w(this.rgba))},e.prototype.toHslString=function(){return t=(e=k(w(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=v(this.rgba),{h:l(e.h),s:i(e.s),v:i(e.v),a:i(e.a,3)};var e},e.prototype.invert=function(){return R({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),R(j(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),R(j(this.rgba,-e))},e.prototype.grayscale=function(){return R(j(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),R(N(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),R(N(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(w(this.rgba).h+e)},e.prototype.alpha=function(e){return"number"==typeof e?R({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):i(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=w(this.rgba);return"number"==typeof e?R({h:e,s:t.s,l:t.l,a:t.a}):l(t.h)},e.prototype.isEqual=function(e){return this.toHex()===R(e).toHex()},e}(),R=function(e){return e instanceof M?e:new M(e)},O=[],L=function(e){e.forEach(function(e){O.indexOf(e)<0&&(e(M,E),O.push(e))})}},96089(e,t,n){"use strict";n.d(t,{A:()=>i});var r=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},o=function(e){return.2126*r(e.r)+.7152*r(e.g)+.0722*r(e.b)},i=function(e){e.prototype.luminance=function(){return e=o(this.rgba),void 0===(t=2)&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0;var e,t,n},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var n,r,i,s,a,l,c,u=t instanceof e?t:new e(t);return s=this.rgba,a=u.toRgb(),n=(l=o(s))>(c=o(a))?(l+.05)/(c+.05):(c+.05)/(l+.05),void 0===(r=2)&&(r=0),void 0===i&&(i=Math.pow(10,r)),Math.floor(i*n)/i+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(s=void 0===(i=(n=t).size)?"normal":i,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===s?7:"AA"===o&&"large"===s?3:4.5);var n,r,o,i,s}}},93295(e,t,n){"use strict";n.d(t,{A:()=>r});var r=function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,s,a=r[this.toHex()];if(a)return a;if(null==t?void 0:t.closest){var l=this.toRgb(),c=1/0,u="black";if(!i.length)for(var d in n)i[d]=new e(n[d]).toRgb();for(var f in n){var p=(o=l,s=i[f],Math.pow(o.r-s.r,2)+Math.pow(o.g-s.g,2)+Math.pow(o.b-s.b,2));p<c&&(c=p,u=f)}return u}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}},92326(e,t,n){"use strict";n.d(t,{z:()=>s});var r=n(14891),o=n(46010),i=n(66563);function s(e,t,n){const s=(0,o.S)(e)?e:(0,r.OQ)(e);return s.start((0,i.f)("",s,t,n)),s.animation}},97674(e,t,n){"use strict";n.d(t,{m:()=>v});var r=n(92394),o=n(89223),i=n(47725),s=n(8155),a=n(65154),l=n(16198),c=n(33912),u=n(89926),d=n(73742),f=n(82725),p=n(79828),h=n(93382),g=n(18273);const m={anticipate:s.b,backInOut:a.ZZ,circInOut:l.tn};class v extends u.i{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new c.K(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!a.owner||!a.owner.current)return!1;var u;if("string"==typeof i&&(0,r.nL)()&&i in m&&(i=m[i]),u=this.options,(0,r.WH)(u.type)||"spring"===u.type||!(0,r.yL)(u.ease)){const{onComplete:t,onUpdate:r,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new d.o({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,o=u.times,i=u.ease,s="keyframes"}const f=(0,p.R)(a.owner.current,l,e,{...this.options,duration:n,times:o,ease:i});return f.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?((0,r.vG)(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:n}=this.options;a.set((0,h.X)(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:n,times:o,type:s,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return(0,i.X)(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return(0,i.X)(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=(0,i.f)(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return o.l;const{animation:n}=t;(0,r.vG)(n,e)}else this.pendingTimeline=e;return o.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:s,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:l,element:c,...u}=this.options,f=new d.o({...u,keyframes:n,duration:r,type:o,ease:s,times:a,isGenerator:!0}),p=(0,i.f)(this.time);e.setWithVelocity(f.sample(p-10).value,f.sample(p).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return(0,g.B)()&&n&&f.M.has(n)&&!a&&!l&&!r&&"mirror"!==o&&0!==i&&"inertia"!==s}}},89926(e,t,n){"use strict";n.d(t,{i:()=>l});var r=n(24748),o=n(32737),i=n(19550),s=n(9187),a=n(93382);class l{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=r.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,o.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=r.k.now(),this.hasAttemptedResolve=!0;const{name:n,type:o,velocity:l,delay:c,onComplete:u,onUpdate:d,isGenerator:f}=this.options;if(!f&&!(0,s.Q)(e,n,o,l)){if(i.d.current||!c)return d&&d((0,a.X)(e,this.options,t)),u&&u(),void this.resolveFinishedPromise();this.options.duration=0}const p=this.initPlayback(e,t);!1!==p&&(this._resolved={keyframes:e,finalKeyframe:t,...p},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}},73742(e,t,n){"use strict";n.d(t,{o:()=>v});var r=n(92394),o=n(47725),i=n(32737),s=n(89898),a=n(81164),l=n(1525),c=n(11563),u=n(63426),d=n(90709),f=n(89926),p=n(76447),h=n(93382);const g={decay:c.B,inertia:c.B,tween:u.i,keyframes:u.i,spring:d.o},m=e=>e/100;class v extends f.i{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:o}=this.options,s=(null==r?void 0:r.KeyframeResolver)||i.h;this.resolver=new s(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,c=(0,r.WH)(t)?t:g[t]||u.i;let d,f;c!==u.i&&"number"!=typeof e[0]&&(d=(0,l.F)(m,(0,a.j)(e[0],e[1])),e=[0,100]);const p=c({...this.options,keyframes:e});"mirror"===i&&(f=c({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===p.calculatedDuration&&(p.calculatedDuration=(0,r.tu)(p));const{calculatedDuration:h}=p,v=h+o;return{generator:p,mirroredGenerator:f,mapPercentToKeyframes:d,calculatedDuration:h,resolvedDuration:v,totalDuration:v*(n+1)-o}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:d}=n;if(null===this.startTime)return o.next(0);const{delay:f,repeat:p,repeatType:g,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?b<0:b>u;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let k=this.currentTime,x=o;if(p){const e=Math.min(this.currentTime,u)/d;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===g?(n=1-n,m&&(n-=m/d)):"mirror"===g&&(x=i)),k=(0,s.q)(0,1,n)*d}const w=y?{done:!1,value:l[0]}:x.next(k);a&&(w.value=a(w.value));let{done:_}=w;y||null===c||(_=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return A&&void 0!==r&&(w.value=(0,h.X)(l,this.options,r)),v&&v(w.value),A&&this.finish(),w}get duration(){const{resolved:e}=this;return e?(0,o.X)(e.calculatedDuration):0}get time(){return(0,o.X)(this.currentTime)}set time(e){e=(0,o.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,o.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=p.E,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}},76447(e,t,n){"use strict";var r=n(24748),o=n(58946);n.d(t,["E",0,e=>{const t=({timestamp:t})=>e(t);return{start:()=>o.Gt.update(t,!0),stop:()=>(0,o.WG)(t),now:()=>o.uv.isProcessing?o.uv.timestamp:r.k.now()}}])},82725(e,t,n){"use strict";const r=new Set(["opacity","clipPath","filter","transform"]);n.d(t,["M",0,r])},9187(e,t,n){"use strict";n.d(t,{Q:()=>s});var r=n(92394),o=n(80842),i=n(95073);function s(e,t,n,s){const a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;const l=e[e.length-1],c=(0,i.P)(a,t),u=(0,i.P)(l,t);return(0,o.$)(c===u,`You are trying to animate ${t} from "${a}" to "${l}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${l} via the \`style\` property.`),!(!c||!u)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,r.WH)(n))&&s)}},79828(e,t,n){"use strict";n.d(t,{R:()=>o});var r=n(92394);function o(e,t,n,{delay:o=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:l="easeInOut",times:c}={}){const u={[t]:n};c&&(u.offset=c);const d=(0,r.TU)(l,i);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:o,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}},93382(e,t,n){"use strict";n.d(t,{X:()=>o});const r=e=>null!==e;function o(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(r),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==o?o:i[s]}},18273(e,t,n){"use strict";const r=(0,n(20189).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));n.d(t,["B",0,r])},11563(e,t,n){"use strict";n.d(t,{B:()=>i});var r=n(90709),o=n(98080);function i({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:l,min:c,max:u,restDelta:d=.5,restSpeed:f}){const p=e[0],h={done:!1,value:p},g=e=>void 0===c?u:void 0===u||Math.abs(c-e)<Math.abs(u-e)?c:u;let m=n*t;const v=p+m,b=void 0===l?v:l(v);b!==v&&(m=b-p);const y=e=>-m*Math.exp(-e/i),k=e=>b+y(e),x=e=>{const t=y(e),n=k(e);h.done=Math.abs(t)<=d,h.value=h.done?b:n};let w,_;const A=e=>{var t;(t=h.value,void 0!==c&&t<c||void 0!==u&&t>u)&&(w=e,_=(0,r.o)({keyframes:[h.value,g(h.value)],velocity:(0,o.Y)(k,e,h.value),damping:s,stiffness:a,restDelta:d,restSpeed:f}))};return A(0),{calculatedDuration:null,next:e=>{let t=!1;return _||void 0!==w||(t=!0,x(e),A(e)),void 0!==w&&e>=w?_.next(e-w):(!t&&x(e),h)}}}},63426(e,t,n){"use strict";n.d(t,{i:()=>c});var r=n(41813),o=n(51133),i=n(56881),s=n(31654),a=n(49277),l=n(97969);function c({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const u=(0,o.h)(c)?c.map(i.K):(0,i.K)(c),d={done:!1,value:t[0]},f=(0,l.A)(n&&n.length===t.length?n:(0,a.Z)(t),e),p=(0,s.G)(f,t,{ease:Array.isArray(u)?u:(h=t,g=u,h.map(()=>g||r.am).splice(0,h.length-1))});var h,g;return{calculatedDuration:e,next:t=>(d.value=p(t),d.done=t>=e,d)}}},45465(e,t,n){"use strict";n.d(t,["s",0,{stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1}])},47798(e,t,n){"use strict";n.d(t,{a:()=>c,p:()=>l});var r=n(80842),o=n(47725),i=n(89898),s=n(45465);const a=.001;function l({duration:e=s.s.duration,bounce:t=s.s.bounce,velocity:n=s.s.velocity,mass:l=s.s.mass}){let u,d;(0,r.$)(e<=(0,o.f)(s.s.maxDuration),"Spring duration must be 10 seconds or less");let f=1-t;f=(0,i.q)(s.s.minDamping,s.s.maxDamping,f),e=(0,i.q)(s.s.minDuration,s.s.maxDuration,(0,o.X)(e)),f<1?(u=t=>{const r=t*f,o=r*e,i=r-n,s=c(t,f),l=Math.exp(-o);return a-i/s*l},d=t=>{const r=t*f*e,o=r*n+n,i=Math.pow(f,2)*Math.pow(t,2)*e,s=Math.exp(-r),l=c(Math.pow(t,2),f);return(-u(t)+a>0?-1:1)*((o-i)*s)/l}):(u=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,d=t=>Math.exp(-t*e)*(e*e*(n-t)));const p=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(u,d,5/e);if(e=(0,o.f)(e),isNaN(p))return{stiffness:s.s.stiffness,damping:s.s.damping,duration:e};{const t=Math.pow(p,2)*l;return{stiffness:t,damping:2*f*Math.sqrt(l*t),duration:e}}}function c(e,t){return e*Math.sqrt(1-t*t)}},90709(e,t,n){"use strict";n.d(t,{o:()=>f});var r=n(92394),o=n(47725),i=n(89898),s=n(98080),a=n(45465),l=n(47798);const c=["duration","bounce"],u=["stiffness","damping","mass"];function d(e,t){return t.some(t=>void 0!==e[t])}function f(e=a.s.visualDuration,t=a.s.bounce){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:f,restDelta:p}=n;const h=n.keyframes[0],g=n.keyframes[n.keyframes.length-1],m={done:!1,value:h},{stiffness:v,damping:b,mass:y,duration:k,velocity:x,isResolvedFromDuration:w}=function(e){let t={velocity:a.s.velocity,stiffness:a.s.stiffness,damping:a.s.damping,mass:a.s.mass,isResolvedFromDuration:!1,...e};if(!d(e,u)&&d(e,c))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,s=2*(0,i.q)(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:a.s.mass,stiffness:o,damping:s}}else{const n=(0,l.p)(e);t={...t,...n,mass:a.s.mass},t.isResolvedFromDuration=!0}return t}({...n,velocity:-(0,o.X)(n.velocity||0)}),_=x||0,A=b/(2*Math.sqrt(v*y)),S=g-h,C=(0,o.X)(Math.sqrt(v/y)),E=Math.abs(S)<5;let T;if(f||(f=E?a.s.restSpeed.granular:a.s.restSpeed.default),p||(p=E?a.s.restDelta.granular:a.s.restDelta.default),A<1){const e=(0,l.a)(C,A);T=t=>{const n=Math.exp(-A*C*t);return g-n*((_+A*C*S)/e*Math.sin(e*t)+S*Math.cos(e*t))}}else if(1===A)T=e=>g-Math.exp(-C*e)*(S+(_+C*S)*e);else{const e=C*Math.sqrt(A*A-1);T=t=>{const n=Math.exp(-A*C*t),r=Math.min(e*t,300);return g-n*((_+A*C*S)*Math.sinh(r)+e*S*Math.cosh(r))/e}}const I={calculatedDuration:w&&k||null,next:e=>{const t=T(e);if(w)m.done=e>=k;else{let n=0;A<1&&(n=0===e?(0,o.f)(_):(0,s.Y)(T,e,t));const r=Math.abs(n)<=f,i=Math.abs(g-t)<=p;m.done=r&&i}return m.value=m.done?g:t,m},toString:()=>{const e=Math.min((0,r.tu)(I),r.YE),t=(0,r.KZ)(t=>I.next(e*t).value,e,30);return e+"ms "+t}};return I}},98080(e,t,n){"use strict";n.d(t,{Y:()=>o});var r=n(19255);function o(e,t,n){const o=Math.max(t-5,0);return(0,r.f)(n-e(o),t-o)}},66563(e,t,n){"use strict";var r=n(92394),o=n(47725),i=n(58946),s=n(62718),a=n(19550),l=n(97674),c=n(73742),u=n(93382),d=n(31788),f=n(61880);n.d(t,["f",0,(e,t,n,p={},h,g)=>m=>{const v=(0,r.rU)(p,e)||{},b=v.delay||p.delay||0;let{elapsed:y=0}=p;y-=(0,o.f)(b);let k={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...v,delay:-y,onUpdate:e=>{t.set(e),v.onUpdate&&v.onUpdate(e)},onComplete:()=>{m(),v.onComplete&&v.onComplete()},name:e,motionValue:t,element:g?void 0:h};(0,f.D)(v)||(k={...k,...(0,d.x)(e,k)}),k.duration&&(k.duration=(0,o.f)(k.duration)),k.repeatDelay&&(k.repeatDelay=(0,o.f)(k.repeatDelay)),void 0!==k.from&&(k.keyframes[0]=k.from);let x=!1;if((!1===k.type||0===k.duration&&!k.repeatDelay)&&(k.duration=0,0===k.delay&&(x=!0)),(a.d.current||s.W.skipAnimations)&&(x=!0,k.duration=0,k.delay=0),x&&!g&&void 0!==t.get()){const e=(0,u.X)(k.keyframes,v);if(void 0!==e)return i.Gt.update(()=>{k.onUpdate(e),k.onComplete()}),new r.P6([])}return!g&&l.m.supports(k)?new l.m(k):new c.o(k)}])},71740(e,t,n){"use strict";n.d(t,{$:()=>d});var r=n(92394),o=n(23510),i=n(64320),s=n(7538),a=n(41468),l=n(66563),c=n(58946);function u({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function d(e,t,{delay:n=0,transitionOverride:d,type:f}={}){var p;let{transition:h=e.getDefaultTransition(),transitionEnd:g,...m}=t;d&&(h=d);const v=[],b=f&&e.animationState&&e.animationState.getState()[f];for(const t in m){const i=e.getValue(t,null!==(p=e.latestValues[t])&&void 0!==p?p:null),d=m[t];if(void 0===d||b&&u(b,t))continue;const f={delay:n,...(0,r.rU)(h||{},t)};let g=!1;if(window.MotionHandoffAnimation){const n=(0,a.P)(e);if(n){const e=window.MotionHandoffAnimation(n,t,c.Gt);null!==e&&(f.startTime=e,g=!0)}}(0,s.g)(e,t),i.start((0,l.f)(t,i,d,e.shouldReduceMotion&&o.$.has(t)?{type:!1}:f,e,g));const y=i.animation;y&&v.push(y)}return g&&Promise.all(v).then(()=>{c.Gt.update(()=>{g&&(0,i.U)(e,g)})}),v}},68666(e,t,n){"use strict";n.d(t,{l:()=>i});var r=n(44071),o=n(71740);function i(e,t,n={}){var a;const l=(0,r.K)(e,t,"exit"===n.type?null===(a=e.presenceContext)||void 0===a?void 0:a.custom:void 0);let{transition:c=e.getDefaultTransition()||{}}=l||{};n.transitionOverride&&(c=n.transitionOverride);const u=l?()=>Promise.all((0,o.$)(e,l,n)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:l}=c;return function(e,t,n=0,r=0,o=1,a){const l=[],c=(e.variantChildren.size-1)*r,u=1===o?(e=0)=>e*r:(e=0)=>c-e*r;return Array.from(e.variantChildren).sort(s).forEach((e,r)=>{e.notify("AnimationStart",t),l.push(i(e,t,{...a,delay:n+u(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(l)}(e,t,o+r,a,l,n)}:()=>Promise.resolve(),{when:f}=c;if(f){const[e,t]="beforeChildren"===f?[u,d]:[d,u];return e().then(()=>t())}return Promise.all([u(),d(n.delay)])}function s(e,t){return e.sortNodePosition(t)}},62626(e,t,n){"use strict";n.d(t,{_:()=>s});var r=n(44071),o=n(71740),i=n(68666);function s(e,t,n={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>(0,i.l)(e,t,n));s=Promise.all(r)}else if("string"==typeof t)s=(0,i.l)(e,t,n);else{const i="function"==typeof t?(0,r.K)(e,t,n.custom):t;s=Promise.all((0,o.$)(e,i,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}},90162(e,t,n){"use strict";const r="data-"+(0,n(20772).I)("framerAppearId");n.d(t,["n",0,r])},41468(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(90162);function o(e){return e.props[r.n]}},31788(e,t,n){"use strict";var r=n(1209);const o={type:"spring",stiffness:500,damping:25,restSpeed:10},i={type:"keyframes",duration:.8},s={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};n.d(t,["x",0,(e,{keyframes:t})=>t.length>2?i:r.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:o:s])},95073(e,t,n){"use strict";var r=n(96988);n.d(t,["P",0,(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!r.f.test(e)&&"0"!==e||e.startsWith("url(")))])},87264(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},13970(e,t,n){"use strict";n.d(t,["p",0,e=>Array.isArray(e)])},82943(e,t,n){"use strict";n.d(t,{$:()=>o});var r=n(64430);function o(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||(0,r.$)(e))}},61880(e,t,n){"use strict";function r({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}n.d(t,{D:()=>r})},78206(e,t,n){"use strict";n.d(t,{C:()=>a});var r=n(93236),o=n(2376),i=n(55720);class s extends o.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function a({children:e,isPresent:t}){const n=(0,o.useId)(),a=(0,o.useRef)(null),l=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,o.useContext)(i.Q);return(0,o.useInsertionEffect)(()=>{const{width:e,height:r,top:o,left:i}=l.current;if(t||!a.current||!e||!r)return;a.current.dataset.motionPopId=n;const s=document.createElement("style");return c&&(s.nonce=c),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${o}px !important;\n left: ${i}px !important;\n }\n `),()=>{document.head.removeChild(s)}},[t]),(0,r.jsx)(s,{isPresent:t,childRef:a,sizeRef:l,children:o.cloneElement(e,{ref:a})})}},53370(e,t,n){"use strict";var r=n(93236),o=n(2376),i=n(93750),s=n(61123),a=n(78206);function l(){return new Map}n.d(t,["O",0,({children:e,initial:t,isPresent:n,onExitComplete:c,custom:u,presenceAffectsLayout:d,mode:f})=>{const p=(0,s.M)(l),h=(0,o.useId)(),g=(0,o.useCallback)(e=>{p.set(e,!0);for(const e of p.values())if(!e)return;c&&c()},[p,c]),m=(0,o.useMemo)(()=>({id:h,initial:t,isPresent:n,custom:u,onExitComplete:g,register:e=>(p.set(e,!1),()=>p.delete(e))}),d?[Math.random(),g]:[n,g]);return(0,o.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[n]),o.useEffect(()=>{!n&&!p.size&&c&&c()},[n]),"popLayout"===f&&(e=(0,r.jsx)(a.C,{isPresent:n,children:e})),(0,r.jsx)(i.t.Provider,{value:m,children:e})}])},45913(e,t,n){"use strict";var r=n(93236),o=n(2376),i=n(50135),s=n(61123),a=n(53370),l=n(37190),c=n(68270),u=n(96146);n.d(t,["N",0,({children:e,custom:t,initial:n=!0,onExitComplete:d,presenceAffectsLayout:f=!0,mode:p="sync",propagate:h=!1})=>{const[g,m]=(0,l.xQ)(h),v=(0,o.useMemo)(()=>(0,c.i)(e),[e]),b=h&&!g?[]:v.map(c._),y=(0,o.useRef)(!0),k=(0,o.useRef)(v),x=(0,s.M)(()=>new Map),[w,_]=(0,o.useState)(v),[A,S]=(0,o.useState)(v);(0,u.E)(()=>{y.current=!1,k.current=v;for(let e=0;e<A.length;e++){const t=(0,c._)(A[e]);b.includes(t)?x.delete(t):!0!==x.get(t)&&x.set(t,!1)}},[A,b.length,b.join("-")]);const C=[];if(v!==w){let e=[...v];for(let t=0;t<A.length;t++){const n=A[t],r=(0,c._)(n);b.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===p&&C.length&&(e=C),S((0,c.i)(e)),void _(v)}const{forceRender:E}=(0,o.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:A.map(e=>{const o=(0,c._)(e),i=!(h&&!g)&&(v===A||b.includes(o));return(0,r.jsx)(a.O,{isPresent:i,initial:!(y.current&&!n)&&void 0,custom:i?void 0:t,presenceAffectsLayout:f,mode:p,onExitComplete:i?void 0:()=>{if(!x.has(o))return;x.set(o,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(null==E||E(),S(k.current),h&&(null==m||m()),d&&d())},children:e},o)})})}])},37190(e,t,n){"use strict";n.d(t,{xQ:()=>i});var r=n(2376),o=n(93750);function i(e=!0){const t=(0,r.useContext)(o.t);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:i,register:s}=t,a=(0,r.useId)();(0,r.useEffect)(()=>{e&&s(a)},[e]);const l=(0,r.useCallback)(()=>e&&i&&i(a),[a,i,e]);return!n&&i?[!1,l]:[!0]}},68270(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(2376);function o(e){const t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}n.d(t,["_",0,e=>e.key||""])},50135(e,t,n){"use strict";const r=(0,n(2376).createContext)({});n.d(t,["L",0,r])},5470(e,t,n){"use strict";const r=(0,n(2376).createContext)({strict:!1});n.d(t,["Y",0,r])},55720(e,t,n){"use strict";const r=(0,n(2376).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});n.d(t,["Q",0,r])},94761(e,t,n){"use strict";n.d(t,{z:()=>s});var r=n(2376),o=n(12927),i=n(70580);function s(e){const{initial:t,animate:n}=(0,i._)(e,(0,r.useContext)(o.A));return(0,r.useMemo)(()=>({initial:t,animate:n}),[a(t),a(n)])}function a(e){return Array.isArray(e)?e.join(" "):e}},12927(e,t,n){"use strict";const r=(0,n(2376).createContext)({});n.d(t,["A",0,r])},70580(e,t,n){"use strict";n.d(t,{_:()=>i});var r=n(15153),o=n(74959);function i(e,t){if((0,o.e)(e)){const{initial:t,animate:n}=e;return{initial:!1===t||(0,r.w)(t)?t:void 0,animate:(0,r.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}},93750(e,t,n){"use strict";const r=(0,n(2376).createContext)(null);n.d(t,["t",0,r])},69223(e,t,n){"use strict";const r=(0,n(2376).createContext)({});n.d(t,["N",0,r])},8155(e,t,n){"use strict";var r=n(65154);n.d(t,["b",0,e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))])},65154(e,t,n){"use strict";var r=n(80257),o=n(99523),i=n(9232);const s=(0,r.A)(.33,1.53,.69,.99),a=(0,i.G)(s),l=(0,o.V)(a);n.d(t,["Sz",0,s,"ZZ",0,l,"dg",0,a])},16198(e,t,n){"use strict";var r=n(99523);const o=e=>1-Math.sin(Math.acos(e)),i=(0,n(9232).G)(o),s=(0,r.V)(o);n.d(t,["po",0,o,"tn",0,s,"yT",0,i])},80257(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(89223);const o=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function i(e,t,n,i){if(e===t&&n===i)return r.l;const s=t=>function(e,t,n,r,i){let s,a,l=0;do{a=t+(n-t)/2,s=o(a,r,i)-e,s>0?n=a:t=a}while(Math.abs(s)>1e-7&&++l<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:o(s(e),t,i)}},41813(e,t,n){"use strict";var r=n(80257);const o=(0,r.A)(.42,0,1,1),i=(0,r.A)(0,0,.58,1),s=(0,r.A)(.42,0,.58,1);n.d(t,["a6",0,o,"am",0,s,"vT",0,i])},99523(e,t,n){"use strict";n.d(t,["V",0,e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2])},9232(e,t,n){"use strict";n.d(t,["G",0,e=>t=>1-e(1-t)])},51133(e,t,n){"use strict";n.d(t,["h",0,e=>Array.isArray(e)&&"number"!=typeof e[0]])},56881(e,t,n){"use strict";var r=n(92394),o=n(80842),i=n(89223),s=n(8155),a=n(65154),l=n(16198),c=n(80257),u=n(41813);const d={linear:i.l,easeIn:u.a6,easeInOut:u.am,easeOut:u.vT,circIn:l.po,circInOut:l.tn,circOut:l.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:s.b};n.d(t,["K",0,e=>{if((0,r.DW)(e)){(0,o.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return(0,c.A)(t,n,r,i)}return"string"==typeof e?((0,o.V)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}])},89388(e,t,n){"use strict";function r(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}n.d(t,{k:()=>r})},33667(e,t,n){"use strict";n.d(t,{h:()=>i});var r=n(89388),o=n(2922);function i(e,t,n,i){return(0,r.k)(e,t,(0,o.F)(n),i)}},2922(e,t,n){"use strict";n.d(t,{e:()=>o});var r=n(92394);function o(e){return{point:{x:e.pageX,y:e.pageY}}}n.d(t,["F",0,e=>t=>(0,r.Mc)(t)&&e(t,o(t))])},97360(e,t,n){"use strict";n.d(t,{I:()=>s});var r=n(62718),o=n(45486);const i=["read","resolveKeyframes","update","preRender","render","postRender"];function s(e,t){let n=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=i.reduce((e,t)=>(e[t]=(0,o.n)(l),e),{}),{read:u,resolveKeyframes:d,update:f,preRender:p,render:h,postRender:g}=c,m=()=>{const o=r.W.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=s?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,u.process(a),d.process(a),f.process(a),p.process(a),h.process(a),g.process(a),a.isProcessing=!1,n&&t&&(s=!1,e(m))};return{schedule:i.reduce((t,r)=>{const o=c[r];return t[r]=(t,r=!1,i=!1)=>(n||(n=!0,s=!0,a.isProcessing||e(m)),o.schedule(t,r,i)),t},{}),cancel:e=>{for(let t=0;t<i.length;t++)c[i[t]].cancel(e)},state:a,steps:c}}},58946(e,t,n){"use strict";var r=n(89223),o=n(97360);const{schedule:i,cancel:s,state:a,steps:l}=(0,o.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0);n.d(t,["Gt",0,i,"PP",0,l,"WG",0,s,"uv",0,a])},41818(e,t,n){"use strict";var r=n(97360);const{schedule:o,cancel:i}=(0,r.I)(queueMicrotask,!1);n.d(t,["k",0,o])},45486(e,t,n){"use strict";function r(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,o=!1,s=!1)=>{const a=s&&r?t:n;return o&&i.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{s=e,r?o=!0:(r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,o&&(o=!1,l.process(e)))}};return l}n.d(t,{n:()=>r})},24748(e,t,n){"use strict";var r=n(62718),o=n(58946);let i;function s(){i=void 0}const a={now:()=>(void 0===i&&a.set(o.uv.isProcessing||r.W.useManualTiming?o.uv.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(s)}};n.d(t,["k",0,a])},99657(e,t,n){"use strict";n.d(t,{n:()=>_});var r=n(80842),o=n(92394),i=n(69213),s=n(39251),a=n(33667),l=n(68711),c=n(97e3),u=n(17296),d=n(97776),f=n(2922),p=n(42425),h=n(89388),g=n(25494),m=n(98443),v=n(27559),b=n(66563),y=n(70694),k=n(7538),x=n(58946);const w=new WeakMap;class _{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,c.ge)(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new i.Q(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,f.e)(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.Wp)(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,u.X)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(v.KN.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=(0,g.CQ)(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&x.Gt.postRender(()=>i(e,t)),(0,k.g)(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>(0,u.X)(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:(0,y.s)(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&x.Gt.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!A(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=(0,l.Zq)(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&(0,s.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&(0,l._c)(r.layoutBox,t),this.elastic=(0,l.my)(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,u.X)(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(0,l.QX)(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!(0,s.X)(e))return!1;const n=e.current;(0,r.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=(0,d.L)(n,o.root,this.visualElement.getTransformPagePoint());let a=(0,l.iT)(o.layout.layoutBox,i);if(t){const e=t((0,p.pA)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,p.FY)(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=(0,u.X)(s=>{if(!A(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return(0,k.g)(this.visualElement,e),n.start((0,b.f)(e,n,0,t,this.visualElement,!1))}stopAnimation(){(0,u.X)(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){(0,u.X)(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,u.X)(t=>{const{drag:n}=this.getProps();if(!A(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-(0,m.k)(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,s.X)(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};(0,u.X)(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=(0,l.Yu)({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,u.X)(t=>{if(!A(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set((0,m.k)(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;w.set(this.visualElement,this);const e=this.visualElement.current,t=(0,a.h)(e,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{const{dragConstraints:e}=this.getProps();(0,s.X)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),x.Gt.read(n);const i=(0,h.k)(window,"resize",()=>this.scalePositionWithinConstraints()),l=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,u.X)(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),t(),o(),l&&l()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function A(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}},28361(e,t,n){"use strict";n.d(t,{w:()=>s});var r=n(62818),o=n(89223),i=n(99657);class s extends r.X{constructor(e){super(e),this.removeGroupControls=o.l,this.removeListeners=o.l,this.controls=new i.n(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||o.l}unmount(){this.removeGroupControls(),this.removeListeners()}}},68711(e,t,n){"use strict";n.d(t,{QX:()=>p,Yu:()=>f,Zq:()=>a,_c:()=>c,iT:()=>d,my:()=>h});var r=n(42718),o=n(25494),i=n(89898),s=n(98443);function a(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,s.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,s.k)(n,e,r.max):Math.min(e,n)),e}function l(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function c(e,{top:t,left:n,bottom:r,right:o}){return{x:l(e.x,n,o),y:l(e.y,t,r)}}function u(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function d(e,t){return{x:u(e.x,t.x),y:u(e.y,t.y)}}function f(e,t){let n=.5;const s=(0,o.CQ)(e),a=(0,o.CQ)(t);return a>s?n=(0,r.q)(t.min,t.max-s,e.min):s>a&&(n=(0,r.q)(e.min,e.max-a,t.min)),(0,i.q)(0,1,n)}function p(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}function h(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:g(e,"left","right"),y:g(e,"top","bottom")}}function g(e,t,n){return{min:m(e,t),max:m(e,n)}}function m(e,t){return"number"==typeof e?e:e[t]||0}},5926(e,t,n){"use strict";n.d(t,{c:()=>s});var r=n(89388),o=n(62818),i=n(1525);class s extends o.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,i.F)((0,r.k)(this.node.current,"focus",()=>this.onFocus()),(0,r.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},38432(e,t,n){"use strict";n.d(t,{e:()=>l});var r=n(62818),o=n(92394),i=n(2922),s=n(58946);function a(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&s.Gt.postRender(()=>o(t,(0,i.e)(t)))}class l extends r.X{mount(){const{current:e}=this.node;e&&(this.unmount=(0,o.PT)(e,e=>(a(this.node,e,"Start"),e=>a(this.node,e,"End"))))}unmount(){}}},69213(e,t,n){"use strict";n.d(t,{Q:()=>u});var r=n(92394),o=n(47725),i=n(33667),s=n(2922),a=n(47496),l=n(1525),c=n(58946);class u{constructor(e,t,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=p(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=(0,a.w)(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=c.uv;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=d(t,this.transformPagePoint),c.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=p("pointercancel"===e.type?this.lastMoveEventInfo:d(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!(0,r.Mc)(e))return;this.dragSnapToOrigin=u,this.handlers=t,this.transformPagePoint=n,this.contextWindow=o||window;const f=d((0,s.e)(e),this.transformPagePoint),{point:h}=f,{timestamp:g}=c.uv;this.history=[{...h,timestamp:g}];const{onSessionStart:m}=t;m&&m(e,p(f,this.history)),this.removeListeners=(0,l.F)((0,i.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,i.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,i.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,c.WG)(this.updatePoint)}}function d(e,t){return t?{point:t(e.point)}:e}function f(e,t){return{x:e.x-t.x,y:e.y-t.y}}function p({point:e},t){return{point:e,delta:f(e,g(t)),offset:f(e,h(t)),velocity:m(t,.1)}}function h(e){return e[0]}function g(e){return e[e.length-1]}function m(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=g(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,o.f)(t)));)n--;if(!r)return{x:0,y:0};const s=(0,o.X)(i.timestamp-r.timestamp);if(0===s)return{x:0,y:0};const a={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}},15210(e,t,n){"use strict";n.d(t,{f:()=>u});var r=n(69213),o=n(33667),i=n(62818),s=n(89223),a=n(70694),l=n(58946);const c=e=>(t,n)=>{e&&l.Gt.postRender(()=>e(t,n))};class u extends i.X{constructor(){super(...arguments),this.removePointerDownListener=s.l}onPointerDown(e){this.session=new r.Q(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:(0,a.s)(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:c(e),onStart:c(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&l.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=(0,o.h)(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},53971(e,t,n){"use strict";n.d(t,{H:()=>l});var r=n(62818),o=n(92394),i=n(2922),s=n(58946);function a(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&s.Gt.postRender(()=>o(t,(0,i.e)(t)))}class l extends r.X{mount(){const{current:e}=this.node;e&&(this.unmount=(0,o.c$)(e,e=>(a(this.node,e,"Start"),(e,{success:t})=>a(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},62818(e,t,n){"use strict";n.d(t,{X:()=>r});class r{constructor(e){this.isMounted=!1,this.node=e}update(){}}},60081(e,t,n){"use strict";n.d(t,{H:()=>i});var r=n(62818);let o=0;class i extends r.X{constructor(){super(...arguments),this.id=o++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},23999(e,t,n){"use strict";n.d(t,{j:()=>s});var r=n(87264),o=n(58950),i=n(62818);class s extends i.X{constructor(e){super(e),e.animationState||(e.animationState=(0,o.L)(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();(0,r.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},98213(e,t,n){"use strict";var r=n(23999),o=n(60081);const i={animation:{Feature:r.j},exit:{Feature:o.H}};n.d(t,["W",0,i])},65110(e,t,n){"use strict";const r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o={};for(const e in r)o[e]={isEnabled:t=>r[e].some(e=>!!t[e])};n.d(t,["B",0,o])},44410(e,t,n){"use strict";var r=n(28361),o=n(15210),i=n(21085),s=n(28586);const a={pan:{Feature:o.f},drag:{Feature:r.w,ProjectionNode:s.P,MeasureLayout:i.$}};n.d(t,["$",0,a])},16568(e,t,n){"use strict";var r=n(38432),o=n(5926),i=n(53971);const s={inView:{Feature:n(6219).x},tap:{Feature:i.H},focus:{Feature:o.c},hover:{Feature:r.e}};n.d(t,["n",0,s])},52650(e,t,n){"use strict";var r=n(28586),o=n(21085);const i={layout:{ProjectionNode:r.P,MeasureLayout:o.$}};n.d(t,["Z",0,i])},21085(e,t,n){"use strict";n.d(t,{$:()=>g});var r=n(93236),o=n(2376),i=n(37190),s=n(50135),a=n(69223),l=n(2969),c=n(6040),u=n(94163),d=n(54339),f=n(41818),p=n(58946);class h extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;(0,d.$)(m),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),l.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||p.Gt.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),f.k.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function g(e){const[t,n]=(0,i.xQ)(),l=(0,o.useContext)(s.L);return(0,r.jsx)(h,{...e,layoutGroup:l,switchLayoutGroup:(0,o.useContext)(a.N),isPresent:t,safeToRemove:n})}const m={borderRadius:{...c.P,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c.P,borderTopRightRadius:c.P,borderBottomLeftRadius:c.P,borderBottomRightRadius:c.P,boxShadow:u._}},36640(e,t,n){"use strict";n.d(t,{Y:()=>o});var r=n(65110);function o(e){for(const t in e)r.B[t]={...r.B[t],...e[t]}}},6219(e,t,n){"use strict";n.d(t,{x:()=>s});var r=n(62818),o=n(6742);const i={some:0,all:1};class s extends r.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:s}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:i[r]};return(0,o.m)(this.node.current,a,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,s&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},6742(e,t,n){"use strict";n.d(t,{m:()=>a});const r=new WeakMap,o=new WeakMap,i=e=>{const t=r.get(e.target);t&&t(e)},s=e=>{e.forEach(i)};function a(e,t,n){const i=function({root:e,...t}){const n=e||document;o.has(n)||o.set(n,{});const r=o.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(s,{root:e,...t})),r[i]}(t);return r.set(e,n),i.observe(e),()=>{r.delete(e),i.unobserve(e)}}},73816(e,t,n){"use strict";n.d(t,{Z:()=>m});var r=n(93236),o=n(2376),i=n(50135),s=n(5470),a=n(55720),l=n(12927),c=n(94761),u=n(77702),d=n(65110),f=n(36640),p=n(72286),h=n(42922),g=n(87395);function m({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:m}){var b,y;function k(e,f){let p;const b={...(0,o.useContext)(a.Q),...e,layoutId:v(e)},{isStatic:y}=b,k=(0,c.z)(e),x=i(e,y);if(!y&&u.B){!function(){(0,o.useContext)(s.Y).strict;0}();const e=function(e){const{drag:t,layout:n}=d.B;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(b);p=e.MeasureLayout,k.visualElement=(0,g.Y)(m,x,b,t,e.ProjectionNode)}return(0,r.jsxs)(l.A.Provider,{value:k,children:[p&&k.visualElement?(0,r.jsx)(p,{visualElement:k.visualElement,...b}):null,n(m,e,(0,h.J)(x,k.visualElement,f),x,y,k.visualElement)]})}e&&(0,f.Y)(e),k.displayName=`motion.${"string"==typeof m?m:`create(${null!==(y=null!==(b=m.displayName)&&void 0!==b?b:m.name)&&void 0!==y?y:""})`}`;const x=(0,o.forwardRef)(k);return x[p.o]=m,x}function v({layoutId:e}){const t=(0,o.useContext)(i.L).id;return t&&void 0!==e?t+"-"+e:e}},5383(e,t,n){"use strict";n.d(t,{z:()=>i});var r=n(54339),o=n(1209);function i(e,{layout:t,layoutId:n}){return o.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r.H[e]||"opacity"===e)}},72286(e,t,n){"use strict";const r=Symbol.for("motionComponentSymbol");n.d(t,["o",0,r])},42922(e,t,n){"use strict";n.d(t,{J:()=>i});var r=n(2376),o=n(39251);function i(e,t,n){return(0,r.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):(0,o.X)(n)&&(n.current=r))},[t])}},87395(e,t,n){"use strict";n.d(t,{Y:()=>p});var r=n(2376),o=n(93750),i=n(12927),s=n(96146),a=n(5470),l=n(55720),c=n(90162),u=n(41818),d=n(39251),f=n(69223);function p(e,t,n,p,g){var m,v;const{visualElement:b}=(0,r.useContext)(i.A),y=(0,r.useContext)(a.Y),k=(0,r.useContext)(o.t),x=(0,r.useContext)(l.Q).reducedMotion,w=(0,r.useRef)(null);p=p||y.renderer,!w.current&&p&&(w.current=p(e,{visualState:t,parent:b,props:n,presenceContext:k,blockInitialAnimation:!!k&&!1===k.initial,reducedMotionConfig:x}));const _=w.current,A=(0,r.useContext)(f.N);!_||_.projection||!g||"html"!==_.type&&"svg"!==_.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:h(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&(0,d.X)(a),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}(w.current,n,g,A);const S=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{_&&S.current&&_.update(n,k)});const C=n[c.n],E=(0,r.useRef)(Boolean(C)&&!(null===(m=window.MotionHandoffIsComplete)||void 0===m?void 0:m.call(window,C))&&(null===(v=window.MotionHasOptimisedAnimation)||void 0===v?void 0:v.call(window,C)));return(0,s.E)(()=>{_&&(S.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),u.k.render(_.render),E.current&&_.animationState&&_.animationState.animateChanges())}),(0,r.useEffect)(()=>{_&&(!E.current&&_.animationState&&_.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,C)}),E.current=!1))}),_}function h(e){if(e)return!1!==e.options.allowProjection?e.projection:h(e.parent)}},93916(e,t,n){"use strict";var r=n(2376),o=n(87264),i=n(12927),s=n(93750),a=n(74959),l=n(73683),c=n(61123),u=n(36812);function d(e,t,n,r){const i={},s=r(e,{});for(const e in s)i[e]=(0,u.u)(s[e]);let{initial:c,animate:d}=e;const f=(0,a.e)(e),p=(0,a.O)(e);t&&p&&!f&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===d&&(d=t.animate));let h=!!n&&!1===n.initial;h=h||!1===c;const g=h?d:c;if(g&&"boolean"!=typeof g&&!(0,o.N)(g)){const t=Array.isArray(g)?g:[g];for(let n=0;n<t.length;n++){const r=(0,l.a)(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[h?t.length-1:0]}null!==t&&(i[e]=t)}for(const t in e)i[t]=e[t]}}}return i}n.d(t,["T",0,e=>(t,n)=>{const o=(0,r.useContext)(i.A),a=(0,r.useContext)(s.t),l=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){const s={latestValues:d(r,o,i,e),renderState:t()};return n&&(s.onMount=e=>n({props:r,current:e,...s}),s.onUpdate=e=>n(e)),s}(e,t,o,a);return n?l():(0,c.M)(l)}])},3506(e,t,n){"use strict";n.d(t,{S:()=>o});const r=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function o(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}},58547(e,t,n){"use strict";n.d(t,{v:()=>f});var r=n(89223),o=n(42718),i=n(16198),s=n(98443),a=n(27559);const l=["TopLeft","TopRight","BottomLeft","BottomRight"],c=l.length,u=e=>"string"==typeof e?parseFloat(e):e,d=e=>"number"==typeof e||a.px.test(e);function f(e,t,n,r,o,i){o?(e.opacity=(0,s.k)(0,void 0!==n.opacity?n.opacity:1,h(r)),e.opacityExit=(0,s.k)(void 0!==t.opacity?t.opacity:1,0,g(r))):i&&(e.opacity=(0,s.k)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<c;o++){const i=`border${l[o]}Radius`;let c=p(t,i),f=p(n,i);if(void 0===c&&void 0===f)continue;c||(c=0),f||(f=0);0===c||0===f||d(c)===d(f)?(e[i]=Math.max((0,s.k)(u(c),u(f),r),0),(a.KN.test(f)||a.KN.test(c))&&(e[i]+="%")):e[i]=f}(t.rotate||n.rotate)&&(e.rotate=(0,s.k)(t.rotate||0,n.rotate||0,r))}function p(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const h=m(0,.5,i.yT),g=m(.5,.95,r.l);function m(e,t,n){return r=>r<e?0:r>t?1:n((0,o.q)(e,t,r))}},42425(e,t,n){"use strict";function r({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function o({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function i(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(t,{FY:()=>r,bS:()=>i,pA:()=>o})},6457(e,t,n){"use strict";function r(e,t){e.min=t.min,e.max=t.max}function o(e,t){r(e.x,t.x),r(e.y,t.y)}function i(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}n.d(t,{Hy:()=>o,xD:()=>i})},14099(e,t,n){"use strict";n.d(t,{OU:()=>d,Ql:()=>f,Ww:()=>h,hq:()=>i,o4:()=>l});var r=n(98443),o=n(11784);function i(e,t,n){return n+t*(e-n)}function s(e,t,n,r,o){return void 0!==o&&(e=i(e,o,r)),i(e,n,r)+t}function a(e,t=0,n=1,r,o){e.min=s(e.min,t,n,r,o),e.max=s(e.max,t,n,r,o)}function l(e,{x:t,y:n}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,n.translate,n.scale,n.originPoint)}const c=.999999999999,u=1.0000000000001;function d(e,t,n,r=!1){const i=n.length;if(!i)return;let s,a;t.x=t.y=1;for(let c=0;c<i;c++){s=n[c],a=s.projectionDelta;const{visualElement:i}=s.options;i&&i.props.style&&"contents"===i.props.style.display||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&h(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,l(e,a)),r&&(0,o.HD)(s.latestValues)&&h(e,s.latestValues))}t.x<u&&t.x>c&&(t.x=1),t.y<u&&t.y>c&&(t.y=1)}function f(e,t){e.min=e.min+t,e.max=e.max+t}function p(e,t,n,o,i=.5){a(e,t,n,(0,r.k)(e.min,e.max,i),o)}function h(e,t){p(e.x,t.x,t.scaleX,t.scale,t.originX),p(e.y,t.y,t.scaleY,t.scale,t.originY)}},25494(e,t,n){"use strict";n.d(t,{CQ:()=>o,HQ:()=>i,N:()=>c,jA:()=>d,vb:()=>a});var r=n(98443);function o(e){return e.max-e.min}function i(e,t,n){return Math.abs(e-t)<=n}function s(e,t,n,i=.5){e.origin=i,e.originPoint=(0,r.k)(t.min,t.max,e.origin),e.scale=o(n)/o(t),e.translate=(0,r.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function a(e,t,n,r){s(e.x,t.x,n.x,r?r.originX:void 0),s(e.y,t.y,n.y,r?r.originY:void 0)}function l(e,t,n){e.min=n.min+t.min,e.max=e.min+o(t)}function c(e,t,n){l(e.x,t.x,n.x),l(e.y,t.y,n.y)}function u(e,t,n){e.min=t.min-n.min,e.max=e.min+o(t)}function d(e,t,n){u(e.x,t.x,n.x),u(e.y,t.y,n.y)}},5621(e,t,n){"use strict";n.d(t,{px:()=>u});var r=n(98443),o=n(27559),i=n(14099);function s(e,t,n,r,o){return e-=t,e=(0,i.hq)(e,1/n,r),void 0!==o&&(e=(0,i.hq)(e,1/o,r)),e}function a(e,t,[n,i,a],l,c){!function(e,t=0,n=1,i=.5,a,l=e,c=e){o.KN.test(t)&&(t=parseFloat(t),t=(0,r.k)(c.min,c.max,t/100)-c.min);if("number"!=typeof t)return;let u=(0,r.k)(l.min,l.max,i);e===l&&(u-=t),e.min=s(e.min,t,n,u,a),e.max=s(e.max,t,n,u,a)}(e,t[n],t[i],t[a],t.scale,l,c)}const l=["x","scaleX","originX"],c=["y","scaleY","originY"];function u(e,t,n,r){a(e.x,t,l,n?n.x:void 0,r?r.x:void 0),a(e.y,t,c,n?n.y:void 0,r?r.y:void 0)}},97e3(e,t,n){"use strict";n.d(t,["ge",0,()=>({x:{min:0,max:0},y:{min:0,max:0}}),"xU",0,()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}})])},57337(e,t,n){"use strict";n.d(t,{XY:()=>i,cH:()=>u,mG:()=>c,t$:()=>d,zo:()=>a});var r=n(25494);function o(e){return 0===e.translate&&1===e.scale}function i(e){return o(e.x)&&o(e.y)}function s(e,t){return e.min===t.min&&e.max===t.max}function a(e,t){return s(e.x,t.x)&&s(e.y,t.y)}function l(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function c(e,t){return l(e.x,t.x)&&l(e.y,t.y)}function u(e){return(0,r.CQ)(e.x)/(0,r.CQ)(e.y)}function d(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}},65886(e,t,n){"use strict";var r=n(60397),o=n(89388);const i=(0,r.u0)({attachResizeListener:(e,t)=>(0,o.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});n.d(t,["B",0,i])},28586(e,t,n){"use strict";var r=n(60397),o=n(65886);const i={current:void 0},s=(0,r.u0)({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!i.current){const e=new o.B({});e.mount(window),e.setOptions({layoutScroll:!0}),i.current=e}return i.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)});n.d(t,["P",0,s])},60397(e,t,n){"use strict";n.d(t,{u0:()=>P});var r=n(92394),o=n(89223),i=n(92326),s=n(41468),a=n(58946),l=n(41818),c=n(24748),u=n(59233),d=n(61406),f=n(89898),p=n(42382),h=n(98443),g=n(98064),m=n(36812),v=n(58547),b=n(6457),y=n(14099),k=n(25494),x=n(5621),w=n(97e3),_=n(57337),A=n(2913),S=n(54339),C=n(68528),E=n(17296),T=n(11784),I=n(2969);const j={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},B="undefined"!=typeof window&&void 0!==window.MotionDebug,N=["","X","Y","Z"],M={visibility:"hidden"};let R=0;function O(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function L(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=(0,s.P)(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",a.Gt,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&L(r)}function P({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:s}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=R++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,B&&(j.totalNodes=j.resolvedTargetDeltas=j.recalculatedProjection=0),this.nodes.forEach(V),this.nodes.forEach(q),this.nodes.forEach(G),this.nodes.forEach(F),B&&window.MotionDebug.record(j)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new d.Y)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new g.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,u.x)(t),this.instance=t;const{layoutId:o,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=(0,p.c)(r,250),I.w.hasAnimatedSinceResize&&(I.w.hasAnimatedSinceResize=!1,this.nodes.forEach(K))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||s.getDefaultTransition()||ee,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=s.getProps(),c=!this.targetLayout||!(0,_.mG)(this.targetLayout,o)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);const t={...(0,r.rU)(i,"layout"),onPlay:a,onComplete:l};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||K(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,a.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(X),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&L(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(H);this.isUpdating||this.nodes.forEach(U),this.isUpdating=!1,this.nodes.forEach(W),this.nodes.forEach(D),this.nodes.forEach(z),this.clearAllSnapshots();const e=c.k.now();a.uv.delta=(0,f.q)(0,1e3/60,e-a.uv.timestamp),a.uv.timestamp=e,a.uv.isProcessing=!0,a.PP.update.process(a.uv),a.PP.preRender.process(a.uv),a.PP.render.process(a.uv),a.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($),this.sharedNodes.forEach(Y)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,a.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){a.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,w.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=o(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!s)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!(0,_.XY)(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||(0,T.HD)(this.latestValues)||o)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),re((r=n).x),re(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return(0,w.ge)();const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(ie))){const{scroll:e}=this.root;e&&((0,y.Ql)(n.x,e.offset.x),(0,y.Ql)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n=(0,w.ge)();if((0,b.Hy)(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const r=this.path[t],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&(0,b.Hy)(n,e),(0,y.Ql)(n.x,o.offset.x),(0,y.Ql)(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n=(0,w.ge)();(0,b.Hy)(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,y.Ww)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,T.HD)(r.latestValues)&&(0,y.Ww)(n,r.latestValues)}return(0,T.HD)(this.latestValues)&&(0,y.Ww)(n,this.latestValues),n}removeTransform(e){const t=(0,w.ge)();(0,b.Hy)(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!(0,T.HD)(n.latestValues))continue;(0,T.vk)(n.latestValues)&&n.updateSnapshot();const r=(0,w.ge)(),o=n.measurePageBox();(0,b.Hy)(r,o),(0,x.px)(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,T.HD)(this.latestValues)&&(0,x.px)(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==a.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=a.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,w.ge)(),this.relativeTargetOrigin=(0,w.ge)(),(0,k.jA)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),(0,b.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,w.ge)(),this.targetWithTransforms=(0,w.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,k.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):(0,b.Hy)(this.target,this.layout.layoutBox),(0,y.o4)(this.target,this.targetDelta)):(0,b.Hy)(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,w.ge)(),this.relativeTargetOrigin=(0,w.ge)(),(0,k.jA)(this.relativeTargetOrigin,this.target,e.target),(0,b.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}B&&j.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,T.vk)(this.parent.latestValues)&&!(0,T.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===a.uv.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;(0,b.Hy)(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,l=this.treeScale.y;(0,y.OU)(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,w.ge)());const{target:c}=t;c?(this.projectionDelta&&this.prevProjectionDelta?((0,b.xD)(this.prevProjectionDelta.x,this.projectionDelta.x),(0,b.xD)(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,k.vb)(this.projectionDelta,this.layoutCorrected,c,this.latestValues),this.treeScale.x===s&&this.treeScale.y===l&&(0,_.t$)(this.projectionDelta.x,this.prevProjectionDelta.x)&&(0,_.t$)(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",c)),B&&j.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,w.xU)(),this.projectionDelta=(0,w.xU)(),this.projectionDeltaWithTransform=(0,w.xU)()}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i=(0,w.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s=(0,w.ge)(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(J));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,p,h;Z(i.x,e.x,n),Z(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,k.jA)(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,f=this.relativeTargetOrigin,p=s,h=n,Q(l.x,f.x,p.x,h),Q(l.y,f.y,p.y,h),d&&(0,_.zo)(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d=(0,w.ge)()),(0,b.Hy)(d,this.relativeTarget)),a&&(this.animationValues=o,(0,v.v)(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,a.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=a.Gt.update(()=>{I.w.hasAnimatedSinceResize=!0,this.currentAnimation=(0,i.z)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&oe(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,w.ge)();const t=(0,k.CQ)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=(0,k.CQ)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}(0,b.Hy)(t,n),(0,y.Ww)(t,o),(0,k.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new A.P);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&O("z",e,r,this.animationValues);for(let t=0;t<N.length;t++)O(`rotate${N[t]}`,e,r,this.animationValues),O(`skew${N[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return M;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,m.u)(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,m.u)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,T.HD)(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=(0,C.I)(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in S.H){if(void 0===s[e])continue;const{correct:t,applyTo:n}=S.H[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?(0,m.u)(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(H),this.root.sharedNodes.clear()}}}function D(e){e.updateLayout()}function z(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?(0,E.X)(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=(0,k.CQ)(r);r.min=t[e].min,r.max=r.min+o}):oe(o,n.layoutBox,t)&&(0,E.X)(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=(0,k.CQ)(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s=(0,w.xU)();(0,k.vb)(s,t,n.layoutBox);const a=(0,w.xU)();i?(0,k.vb)(a,e.applyTransform(r,!0),n.measuredBox):(0,k.vb)(a,t,n.layoutBox);const l=!(0,_.XY)(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s=(0,w.ge)();(0,k.jA)(s,n.layoutBox,o.layoutBox);const a=(0,w.ge)();(0,k.jA)(a,t,i.layoutBox),(0,_.mG)(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function V(e){B&&j.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function F(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $(e){e.clearSnapshot()}function H(e){e.clearMeasurements()}function U(e){e.isLayoutDirty=!1}function W(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function K(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function q(e){e.resolveTargetDelta()}function G(e){e.calcProjection()}function X(e){e.resetSkewAndRotation()}function Y(e){e.removeLeadSnapshot()}function Z(e,t,n){e.translate=(0,h.k)(t.translate,0,n),e.scale=(0,h.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Q(e,t,n,r){e.min=(0,h.k)(t.min,n.min,r),e.max=(0,h.k)(t.max,n.max,r)}function J(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ee={duration:.45,ease:[.4,0,.1,1]},te=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ne=te("applewebkit/")&&!te("chrome/")?Math.round:o.l;function re(e){e.min=ne(e.min),e.max=ne(e.max)}function oe(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,k.HQ)((0,_.cH)(t),(0,_.cH)(n),.2)}function ie(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}},2969(e,t,n){"use strict";n.d(t,["w",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}])},2913(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(58548);class o{constructor(){this.members=[]}add(e){(0,r.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,r.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}},6040(e,t,n){"use strict";var r=n(27559);function o(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const i={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!r.px.test(e))return e;e=parseFloat(e)}return`${o(e,t.target.x)}% ${o(e,t.target.y)}%`}};n.d(t,["P",0,i])},94163(e,t,n){"use strict";var r=n(98443),o=n(96988);const i={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,s=o.f.parse(e);if(s.length>5)return i;const a=o.f.createTransformer(e),l="number"!=typeof s[0]?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;s[0+l]/=c,s[1+l]/=u;const d=(0,r.k)(c,u,.5);return"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d),a(s)}};n.d(t,["_",0,i])},54339(e,t,n){"use strict";n.d(t,{$:()=>o});const r={};function o(e){Object.assign(r,e)}n.d(t,["H",0,r])},68528(e,t,n){"use strict";function r(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}n.d(t,{I:()=>r})},17296(e,t,n){"use strict";function r(e){return[e("x"),e("y")]}n.d(t,{X:()=>r})},11784(e,t,n){"use strict";function r(e){return void 0===e||1===e}function o({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function i(e){return o(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s(e){return a(e.x)||a(e.y)}function a(e){return e&&"0%"!==e}n.d(t,{HD:()=>i,vF:()=>s,vk:()=>o})},97776(e,t,n){"use strict";n.d(t,{L:()=>s,m:()=>i});var r=n(42425),o=n(14099);function i(e,t){return(0,r.FY)((0,r.bS)(e.getBoundingClientRect(),t))}function s(e,t,n){const r=i(e,n),{scroll:s}=t;return s&&((0,o.Ql)(r.x,s.offset.x),(0,o.Ql)(r.y,s.offset.y)),r}},11862(e,t,n){"use strict";n.d(t,{B:()=>A});var r=n(24748),o=n(65110),i=n(97e3),s=n(68354),a=n(64430),l=n(96893),c=n(89386),u=n(98064),d=n(14891),f=n(96988),p=n(46010),h=n(95074),g=n(4490),m=n(1209),v=n(38505),b=n(74959),y=n(32737),k=n(37873),x=n(73683),w=n(58946);const _=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=y.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=r.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,w.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:u}=s;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=(0,b.e)(t),this.isVariantNode=(0,b.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in f){const t=f[e];void 0!==l[e]&&(0,p.S)(t)&&t.set(l[e],!1)}}mount(e){this.current=e,v.C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),c.r.current||(0,l.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||c.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){v.C.delete(this.current),this.projection&&this.projection.unmount(),(0,w.WG)(this.notifyUpdate),(0,w.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=m.f.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&w.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),o(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in o.B){const t=o.B[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,i.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<_.length;t++){const n=_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=(0,k.U)(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,d.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,s.i)(r)||(0,a.$)(r))?r=parseFloat(r):!(0,g.t)(r)&&f.f.test(t)&&(r=(0,h.J)(e,t)),this.setBaseTarget(e,(0,p.S)(r)?r.get():r)),(0,p.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=(0,x.a)(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||(0,p.S)(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new u.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}},40740(e,t,n){"use strict";n.d(t,{C:()=>l});var r=n(73816),o=n(1156),i=n(55400),s=n(52533),a=n(99899);function l(e,t){return function(n,{forwardMotionProps:l}={forwardMotionProps:!1}){const c={...(0,o.Q)(n)?i.X:s.S,preloadedFeatures:e,useRender:(0,a.o)(l),createVisualElement:t,Component:n};return(0,r.Z)(c)}}},76766(e,t,n){"use strict";function r(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}n.d(t,{I:()=>r})},32658(e,t,n){"use strict";var r=n(98213),o=n(44410),i=n(16568),s=n(52650),a=n(40740),l=n(21137);const c=(0,a.C)({...r.W,...i.n,...o.$,...s.Z},l.J);n.d(t,["G",0,c])},5158(e,t,n){"use strict";var r=n(76766),o=n(32658);const i=(0,r.I)(o.G);n.d(t,["P",0,i])},33912(e,t,n){"use strict";n.d(t,{K:()=>d});var r=n(82943),o=n(23510),i=n(65648),s=n(32737),a=n(51605),l=n(47214),c=n(68650),u=n(21716);class d extends s.h{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,l.p)(r))){const o=(0,a.W)(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!o.$.has(n)||2!==e.length)return;const[r,i]=e,s=(0,u.n)(r),d=(0,u.n)(i);if(s!==d)if((0,c.E4)(s)&&(0,c.E4)(d))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(0,r.$)(e[t])&&n.push(t);n.length&&(0,i.W)(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=c.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=c.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},55197(e,t,n){"use strict";n.d(t,{b:()=>s});var r=n(11862),o=n(33912),i=n(46010);class s extends r.B{constructor(){super(...arguments),this.KeyframeResolver=o.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;(0,i.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}},21137(e,t,n){"use strict";var r=n(2376),o=n(40273),i=n(43773),s=n(1156);n.d(t,["J",0,(e,t)=>(0,s.Q)(e)?new i.l(t):new o.M(t,{allowProjection:e!==r.Fragment})])},99899(e,t,n){"use strict";n.d(t,{o:()=>c});var r=n(2376),o=n(36116),i=n(61164),s=n(1156),a=n(34689),l=n(46010);function c(e=!1){return(t,n,c,{latestValues:u},d)=>{const f=((0,s.Q)(t)?a.u:o.b)(n,u,d,t),p=(0,i.J)(n,"string"==typeof t,e),h=t!==r.Fragment?{...p,...f,ref:c}:{},{children:g}=n,m=(0,r.useMemo)(()=>(0,l.S)(g)?g.get():g,[g]);return(0,r.createElement)(t,{...h,children:m})}}},20772(e,t,n){"use strict";n.d(t,["I",0,e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()])},51605(e,t,n){"use strict";n.d(t,{W:()=>a});var r=n(80842),o=n(68354),i=n(47214);const s=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function a(e,t,n=1){(0,r.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[l,c]=function(e){const t=s.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(e);if(!l)return;const u=window.getComputedStyle(t).getPropertyValue(l);if(u){const e=u.trim();return(0,o.i)(e)?parseFloat(e):e}return(0,i.p)(c)?a(c,t,n+1):c}},61164(e,t,n){"use strict";n.d(t,{J:()=>s});var r=n(3506);let o=e=>!(0,r.S)(e);try{(i=require("@emotion/is-prop-valid").default)&&(o=e=>e.startsWith("on")?!(0,r.S)(e):i(e))}catch(e){}var i;function s(e,t,n){const i={};for(const s in e)"values"===s&&"object"==typeof e.values||(o(s)||!0===n&&(0,r.S)(s)||!t&&!(0,r.S)(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}},47214(e,t,n){"use strict";const r=e=>t=>"string"==typeof t&&t.startsWith(e),o=r("--"),i=r("var(--"),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;n.d(t,["j",0,o,"p",0,e=>!!i(e)&&s.test(e.split("/*")[0].trim())])},1156(e,t,n){"use strict";n.d(t,{Q:()=>o});var r=n(50564);function o(e){return"string"==typeof e&&!e.includes("-")&&!!(r.J.indexOf(e)>-1||/[A-Z]/u.test(e))}},59233(e,t,n){"use strict";function r(e){return e instanceof SVGElement&&"svg"!==e.tagName}n.d(t,{x:()=>r})},68650(e,t,n){"use strict";n.d(t,{W9:()=>u});var r=n(51206),o=n(27559),i=n(1209);const s=(e,t)=>parseFloat(e.split(", ")[t]),a=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return s(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?s(t[1],e):0}},l=new Set(["x","y","z"]),c=i.U.filter(e=>!l.has(e));function u(e){const t=[];return c.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const d={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:a(4,13),y:a(5,14)};d.translateX=d.x,d.translateY=d.y,n.d(t,["E4",0,e=>e===r.ai||e===o.px,"Hr",0,d])},95074(e,t,n){"use strict";n.d(t,{J:()=>s});var r=n(96988),o=n(80722),i=n(37941);function s(e,t){let n=(0,i.D)(e);return n!==o.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},37941(e,t,n){"use strict";var r=n(76481),o=n(80722);const i={...n(28660).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:o.p,WebkitFilter:o.p};n.d(t,["D",0,e=>i[e]])},21716(e,t,n){"use strict";var r=n(51206),o=n(27559),i=n(61295),s=n(26197);const a=[r.ai,o.px,o.KN,o.uj,o.vw,o.vh,s.q];n.d(t,["T",0,a,"n",0,e=>a.find((0,i.w)(e))])},4490(e,t,n){"use strict";var r=n(76481),o=n(96988),i=n(21716),s=n(61295);const a=[...i.T,r.y,o.f];n.d(t,["t",0,e=>a.find((0,s.w)(e))])},32479(e,t,n){"use strict";n.d(t,["e",0,(e,t)=>t&&"number"==typeof e?t.transform(e):e])},80871(e,t,n){"use strict";var r=n(27559);const o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px};n.d(t,["o",0,o])},28660(e,t,n){"use strict";var r=n(51206),o=n(27559),i=n(80871),s=n(49493),a=n(37739);const l={...i.o,...s.H,zIndex:a.W,size:o.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:a.W};n.d(t,["W",0,l])},61295(e,t,n){"use strict";n.d(t,["w",0,e=>t=>t.test(e)])},49493(e,t,n){"use strict";var r=n(51206),o=n(27559);const i={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:r.X4,originX:o.gQ,originY:o.gQ,originZ:o.px};n.d(t,["H",0,i])},26197(e,t,n){"use strict";n.d(t,["q",0,{test:e=>"auto"===e,parse:e=>e}])},37739(e,t,n){"use strict";const r={...n(51206).ai,transform:Math.round};n.d(t,["W",0,r])},40273(e,t,n){"use strict";n.d(t,{M:()=>d});var r=n(97776),o=n(55197),i=n(47214),s=n(37941),a=n(82389),l=n(1209),c=n(75934),u=n(85636);class d extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=c.e}readValueFromInstance(e,t){if(l.f.has(t)){const e=(0,s.D)(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=((0,i.j)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,r.m)(e,t)}build(e,t,n){(0,a.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,u.x)(e,t,n)}}},52533(e,t,n){"use strict";var r=n(93916),o=n(85636),i=n(97647);const s={useVisualState:(0,r.T)({scrapeMotionValuesFromProps:o.x,createRenderState:i.d})};n.d(t,["S",0,s])},36116(e,t,n){"use strict";n.d(t,{b:()=>u,o:()=>l});var r=n(2376),o=n(5383),i=n(46010),s=n(82389),a=n(97647);function l(e,t,n){for(const r in t)(0,i.S)(t[r])||(0,o.z)(r,n)||(e[r]=t[r])}function c(e,t){const n={};return l(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,r.useMemo)(()=>{const n=(0,a.d)();return(0,s.O)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function u(e,t){const n={},r=c(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}},82389(e,t,n){"use strict";n.d(t,{O:()=>l});var r=n(47214),o=n(32479),i=n(28660),s=n(65261),a=n(1209);function l(e,t,n){const{style:l,vars:c,transformOrigin:u}=e;let d=!1,f=!1;for(const e in t){const n=t[e];if(a.f.has(e))d=!0;else if((0,r.j)(e))c[e]=n;else{const t=(0,o.e)(n,i.W[e]);e.startsWith("origin")?(f=!0,u[e]=t):l[e]=t}}if(t.transform||(d||n?l.transform=(0,s.d)(t,e.transform,n):l.transform&&(l.transform="none")),f){const{originX:e="50%",originY:t="50%",originZ:n=0}=u;l.transformOrigin=`${e} ${t} ${n}`}}},65261(e,t,n){"use strict";n.d(t,{d:()=>l});var r=n(32479),o=n(28660),i=n(1209);const s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=i.U.length;function l(e,t,n){let l="",c=!0;for(let u=0;u<a;u++){const a=i.U[u],d=e[a];if(void 0===d)continue;let f=!0;if(f="number"==typeof d?d===(a.startsWith("scale")?1:0):0===parseFloat(d),!f||n){const e=(0,r.e)(d,o.W[a]);if(!f){c=!1;l+=`${s[a]||a}(${e}) `}n&&(t[a]=e)}}return l=l.trim(),n?l=n(t,c?"":l):c&&(l="none"),l}},97647(e,t,n){"use strict";n.d(t,["d",0,()=>({style:{},transform:{},transformOrigin:{},vars:{}})])},23510(e,t,n){"use strict";var r=n(1209);const o=new Set(["width","height","top","left","right","bottom",...r.U]);n.d(t,["$",0,o])},1209(e,t,n){"use strict";const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(r);n.d(t,["U",0,r,"f",0,o])},65648(e,t,n){"use strict";n.d(t,{W:()=>s});var r=n(96988),o=n(95074);const i=new Set(["auto","none","0"]);function s(e,t,n){let s,a=0;for(;a<e.length&&!s;){const t=e[a];"string"==typeof t&&!i.has(t)&&(0,r.V)(t).values.length&&(s=e[a]),a++}if(s&&n)for(const r of t)e[r]=(0,o.J)(n,s)}},75934(e,t,n){"use strict";function r(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}n.d(t,{e:()=>r})},85636(e,t,n){"use strict";n.d(t,{x:()=>i});var r=n(5383),o=n(46010);function i(e,t,n){var i;const{style:s}=e,a={};for(const l in s)((0,o.S)(s[l])||t.style&&(0,o.S)(t.style[l])||(0,r.z)(l,e)||void 0!==(null===(i=null==n?void 0:n.getValue(l))||void 0===i?void 0:i.liveStyle))&&(a[l]=s[l]);return a}},38505(e,t,n){"use strict";const r=new WeakMap;n.d(t,["C",0,r])},43773(e,t,n){"use strict";n.d(t,{l:()=>p});var r=n(97e3),o=n(55197),i=n(20772),s=n(37941),a=n(1209),l=n(3820),c=n(13737),u=n(5096),d=n(30673),f=n(34535);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(a.f.has(t)){const e=(0,s.D)(t);return e&&e.default||0}return t=c.e.has(t)?t:(0,i.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,f.x)(e,t,n)}build(e,t,n){(0,l.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,d.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,u.n)(e.tagName),super.mount(e)}}},55400(e,t,n){"use strict";var r=n(58946),o=n(93916),i=n(1209),s=n(3820),a=n(68222),l=n(5096),c=n(30673),u=n(34535);const d=["x","y","width","height","cx","cy","r"],f={useVisualState:(0,o.T)({scrapeMotionValuesFromProps:u.x,createRenderState:a.s,onUpdate:({props:e,prevProps:t,current:n,renderState:o,latestValues:a})=>{if(!n)return;let u=!!e.drag;if(!u)for(const e in a)if(i.f.has(e)){u=!0;break}if(!u)return;let f=!t;if(t)for(let n=0;n<d.length;n++){const r=d[n];e[r]!==t[r]&&(f=!0)}f&&r.Gt.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,o),r.Gt.render(()=>{(0,s.B)(o,a,(0,l.n)(n.tagName),e.transformTemplate),(0,c.d)(n,o)})})}})};n.d(t,["X",0,f])},50564(e,t,n){"use strict";n.d(t,["J",0,["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"]])},34689(e,t,n){"use strict";n.d(t,{u:()=>l});var r=n(2376),o=n(36116),i=n(3820),s=n(68222),a=n(5096);function l(e,t,n,l){const c=(0,r.useMemo)(()=>{const n=(0,s.s)();return(0,i.B)(n,t,(0,a.n)(l),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};(0,o.o)(t,e.style,e),c.style={...t,...c.style}}return c}},3820(e,t,n){"use strict";n.d(t,{B:()=>s});var r=n(82389),o=n(67028),i=n(98370);function s(e,{attrX:t,attrY:n,attrScale:s,originX:a,originY:l,pathLength:c,pathSpacing:u=1,pathOffset:d=0,...f},p,h){if((0,r.O)(e,f,h),p)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:g,style:m,dimensions:v}=e;g.transform&&(v&&(m.transform=g.transform),delete g.transform),v&&(void 0!==a||void 0!==l||m.transform)&&(m.transformOrigin=(0,i.w)(v,void 0!==a?a:.5,void 0!==l?l:.5)),void 0!==t&&(g.x=t),void 0!==n&&(g.y=n),void 0!==s&&(g.scale=s),void 0!==c&&(0,o.C)(g,c,u,d,!1)}},13737(e,t,n){"use strict";const r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);n.d(t,["e",0,r])},68222(e,t,n){"use strict";var r=n(97647);n.d(t,["s",0,()=>({...(0,r.d)(),attrs:{}})])},5096(e,t,n){"use strict";n.d(t,["n",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()])},67028(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(27559);const o={offset:"stroke-dashoffset",array:"stroke-dasharray"},i={offset:"strokeDashoffset",array:"strokeDasharray"};function s(e,t,n=1,s=0,a=!0){e.pathLength=1;const l=a?o:i;e[l.offset]=r.px.transform(-s);const c=r.px.transform(t),u=r.px.transform(n);e[l.array]=`${c} ${u}`}},30673(e,t,n){"use strict";n.d(t,{d:()=>s});var r=n(20772),o=n(75934),i=n(13737);function s(e,t,n,s){(0,o.e)(e,t,void 0,s);for(const n in t.attrs)e.setAttribute(i.e.has(n)?n:(0,r.I)(n),t.attrs[n])}},34535(e,t,n){"use strict";n.d(t,{x:()=>s});var r=n(46010),o=n(1209),i=n(85636);function s(e,t,n){const s=(0,i.x)(e,t,n);for(const n in e)if((0,r.S)(e[n])||(0,r.S)(t[n])){s[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return s}},98370(e,t,n){"use strict";n.d(t,{w:()=>i});var r=n(27559);function o(e,t,n){return"string"==typeof e?e:r.px.transform(t+n*e)}function i(e,t,n){return`${o(t,e.x,e.width)} ${o(n,e.y,e.height)}`}},32737(e,t,n){"use strict";n.d(t,{h:()=>d,q:()=>u});var r=n(68650),o=n(58946);const i=new Set;let s=!1,a=!1;function l(){if(a){const e=Array.from(i).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=(0,r.W9)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}a=!1,s=!1,i.forEach(e=>e.complete()),i.clear()}function c(){i.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)})}function u(){c(),l()}class d{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(i.add(this),s||(s=!0,o.Gt.read(c),o.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),i.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,i.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},58950(e,t,n){"use strict";n.d(t,{L:()=>p});var r=n(87264),o=n(13970),i=n(21149),s=n(15153),a=n(44071),l=n(73153),c=n(62626),u=n(9666);const d=[...l.U].reverse(),f=l.U.length;function p(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:n})=>(0,c._)(e,t,n)))}(e),n=m(),l=!0;const p=t=>(n,r)=>{var o;const i=(0,a.K)(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function g(a){const{props:c}=e,g=(0,u.V)(e.parent)||{},m=[],v=new Set;let b={},y=1/0;for(let t=0;t<f;t++){const u=d[t],f=n[u],k=void 0!==c[u]?c[u]:g[u],x=(0,s.w)(k),w=u===a?f.isActive:null;!1===w&&(y=t);let _=k===g[u]&&k!==c[u]&&x;if(_&&l&&e.manuallyAnimateOnMount&&(_=!1),f.protectedKeys={...b},!f.isActive&&null===w||!k&&!f.prevProp||(0,r.N)(k)||"boolean"==typeof k)continue;const A=h(f.prevProp,k);let S=A||u===a&&f.isActive&&!_&&x||t>y&&x,C=!1;const E=Array.isArray(k)?k:[k];let T=E.reduce(p(u),{});!1===w&&(T={});const{prevResolvedValues:I={}}=f,j={...I,...T},B=t=>{S=!0,v.has(t)&&(C=!0,v.delete(t)),f.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in j){const t=T[e],n=I[e];if(b.hasOwnProperty(e))continue;let r=!1;r=(0,o.p)(t)&&(0,o.p)(n)?!(0,i.a)(t,n):t!==n,r?null!=t?B(e):v.add(e):void 0!==t&&v.has(e)?B(e):f.protectedKeys[e]=!0}f.prevProp=k,f.prevResolvedValues=T,f.isActive&&(b={...b,...T}),l&&e.blockInitialAnimation&&(S=!1);S&&(!(_&&A)||C)&&m.push(...E.map(e=>({animation:e,options:{type:u}})))}if(v.size){const t={};v.forEach(n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null}),m.push({animation:t})}let k=Boolean(m.length);return!l||!1!==c.initial&&c.initial!==c.animate||e.manuallyAnimateOnMount||(k=!1),l=!1,k?t(m):Promise.resolve()}return{animateChanges:g,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const i=g(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=m(),l=!0}}}function h(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!(0,i.a)(t,e)}function g(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function m(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}},4821(e,t,n){"use strict";n.d(t,["u",0,(e,t)=>e.depth-t.depth])},61406(e,t,n){"use strict";n.d(t,{Y:()=>i});var r=n(58548),o=n(4821);class i{constructor(){this.children=[],this.isDirty=!1}add(e){(0,r.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,r.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(o.u),this.isDirty=!1,this.children.forEach(e)}}},9666(e,t,n){"use strict";n.d(t,{V:()=>s});var r=n(15153),o=n(73153);const i=o._.length;function s(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&s(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<i;n++){const i=o._[n],s=e.props[i];((0,r.w)(s)||!1===s)&&(t[i]=s)}return t}},74959(e,t,n){"use strict";n.d(t,{O:()=>a,e:()=>s});var r=n(87264),o=n(15153),i=n(73153);function s(e){return(0,r.N)(e.animate)||i._.some(t=>(0,o.w)(e[t]))}function a(e){return Boolean(s(e)||e.variants)}},15153(e,t,n){"use strict";function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>r})},37873(e,t,n){"use strict";n.d(t,{U:()=>i});var r=n(14891),o=n(46010);function i(e,t,n){for(const i in t){const s=t[i],a=n[i];if((0,o.S)(s))e.addValue(i,s);else if((0,o.S)(a))e.addValue(i,(0,r.OQ)(s,{owner:e}));else if(a!==s)if(e.hasValue(i)){const t=e.getValue(i);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{const t=e.getStaticValue(i);e.addValue(i,(0,r.OQ)(void 0!==t?t:s,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}},44071(e,t,n){"use strict";n.d(t,{K:()=>o});var r=n(73683);function o(e,t,n){const o=e.getProps();return(0,r.a)(o,t,void 0!==n?n:o.custom,e)}},73683(e,t,n){"use strict";function r(e){const t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function o(e,t,n,o){if("function"==typeof t){const[i,s]=r(o);t=t(void 0!==n?n:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[i,s]=r(o);t=t(void 0!==n?n:e.custom,i,s)}return t}n.d(t,{a:()=>o})},64320(e,t,n){"use strict";n.d(t,{U:()=>a});var r=n(13183),o=n(14891),i=n(44071);function s(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,o.OQ)(n))}function a(e,t){const n=(0,i.K)(e,t);let{transitionEnd:o={},transition:a={},...l}=n||{};l={...l,...o};for(const t in l){s(e,t,(0,r.K)(l[t]))}}},73153(e,t,n){"use strict";const r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...r];n.d(t,["U",0,r,"_",0,o])},62718(e,t,n){"use strict";n.d(t,["W",0,{skipAnimations:!1,useManualTiming:!1}])},58548(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function o(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>o,Kq:()=>r})},89898(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>n>t?t:n<e?e:n])},42382(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(24748),o=n(58946);function i(e,t){const n=r.k.now(),i=({timestamp:r})=>{const s=r-n;s>=t&&((0,o.WG)(i),e(s-t))};return o.Gt.read(i,!0),()=>(0,o.WG)(i)}},47496(e,t,n){"use strict";n.d(t,{w:()=>o});const r=(e,t)=>Math.abs(e-t);function o(e,t){const n=r(e.x,t.x),o=r(e.y,t.y);return Math.sqrt(n**2+o**2)}},70694(e,t,n){"use strict";n.d(t,["s",0,({current:e})=>e?e.ownerDocument.defaultView:null])},72782(e,t,n){"use strict";function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function o({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let i=0,s=0,a=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;i=r(l,o,e+1/3),s=r(l,o,e),a=r(l,o,e-1/3)}else i=s=a=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*a),alpha:o}}n.d(t,{a:()=>o})},31654(e,t,n){"use strict";n.d(t,{G:()=>c});var r=n(80842),o=n(89223),i=n(42718),s=n(89898),a=n(81164),l=n(1525);function c(e,t,{clamp:n=!0,ease:c,mixer:u}={}){const d=e.length;if((0,r.V)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];const f=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());const p=function(e,t,n){const r=[],i=n||a.j,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||o.l:t;s=(0,l.F)(e,s)}r.push(s)}return r}(t,c,u),h=p.length,g=n=>{if(f&&n<e[0])return t[0];let r=0;if(h>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const o=(0,i.q)(e[r],e[r+1],n);return p[r](o)};return n?t=>g((0,s.q)(e[0],e[d-1],t)):g}},77702(e,t,n){"use strict";const r="undefined"!=typeof window;n.d(t,["B",0,r])},68354(e,t,n){"use strict";n.d(t,["i",0,e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)])},39251(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{X:()=>r})},64430(e,t,n){"use strict";n.d(t,["$",0,e=>/^0[^.\s]+$/u.test(e)])},76113(e,t,n){"use strict";var r=n(98443),o=n(80842),i=n(72782),s=n(52998),a=n(44497),l=n(67477),c=n(93943);const u=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},d=[s.u,a.B,l.V];function f(e){const t=(n=e,d.find(e=>e.test(n)));var n;if((0,o.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===l.V&&(r=(0,i.a)(r)),r}n.d(t,["i",0,(e,t)=>{const n=f(e),o=f(t);if(!n||!o)return(0,c.O)(e,t);const i={...n};return e=>(i.red=u(n.red,o.red,e),i.green=u(n.green,o.green,e),i.blue=u(n.blue,o.blue,e),i.alpha=(0,r.k)(n.alpha,o.alpha,e),a.B.transform(i))}])},71944(e,t,n){"use strict";n.d(t,{W_:()=>p});var r=n(98443),o=n(76113),i=n(1525),s=n(80842),a=n(76481),l=n(96988),c=n(47214),u=n(88600),d=n(93943);function f(e,t){return n=>(0,r.k)(e,t,n)}function p(e){return"number"==typeof e?f:"string"==typeof e?(0,c.p)(e)?d.O:a.y.test(e)?o.i:m:Array.isArray(e)?h:"object"==typeof e?a.y.test(e)?o.i:g:d.O}function h(e,t){const n=[...e],r=n.length,o=e.map((e,n)=>p(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function g(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=p(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const m=(e,t)=>{const n=l.f.createTransformer(t),r=(0,l.V)(e),o=(0,l.V)(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?u.Q.has(e)&&!o.values.length||u.Q.has(t)&&!r.values.length?(0,u.v)(e,t):(0,i.F)(h(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][o[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[i]=l,o[s]++}return r}(r,o),o.values),n):((0,s.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),(0,d.O)(e,t))}},93943(e,t,n){"use strict";function r(e,t){return n=>n>0?t:e}n.d(t,{O:()=>r})},81164(e,t,n){"use strict";n.d(t,{j:()=>i});var r=n(71944),o=n(98443);function i(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return(0,o.k)(e,t,n);return(0,r.W_)(e)(e,t)}},98443(e,t,n){"use strict";n.d(t,["k",0,(e,t,n)=>e+(t-e)*n])},88600(e,t,n){"use strict";n.d(t,{v:()=>o});const r=new Set(["none","hidden"]);function o(e,t){return r.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}n.d(t,["Q",0,r])},49277(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n(85833);function o(e){const t=[0];return(0,r.f)(t,e.length-1),t}},85833(e,t,n){"use strict";n.d(t,{f:()=>i});var r=n(42718),o=n(98443);function i(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const s=(0,r.q)(0,t,i);e.push((0,o.k)(n,1,s))}}},97969(e,t,n){"use strict";function r(e,t){return e.map(e=>e*t)}n.d(t,{A:()=>r})},1525(e,t,n){"use strict";const r=(e,t)=>n=>t(e(n));n.d(t,["F",0,(...e)=>e.reduce(r)])},96893(e,t,n){"use strict";n.d(t,{U:()=>i});var r=n(77702),o=n(89386);function i(){if(o.r.current=!0,r.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>o.O.current=e.matches;e.addListener(t),t()}else o.O.current=!1}},89386(e,t,n){"use strict";n.d(t,["O",0,{current:null},"r",0,{current:!1}])},13183(e,t,n){"use strict";var r=n(13970);n.d(t,["B",0,e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),"K",0,e=>(0,r.p)(e)?e[e.length-1]||0:e])},21149(e,t,n){"use strict";function r(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}n.d(t,{a:()=>r})},98064(e,t,n){"use strict";n.d(t,{v:()=>o});var r=n(58548);class o{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},61123(e,t,n){"use strict";n.d(t,{M:()=>o});var r=n(2376);function o(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},19550(e,t,n){"use strict";n.d(t,["d",0,{current:!1}])},96146(e,t,n){"use strict";var r=n(2376);const o=n(77702).B?r.useLayoutEffect:r.useEffect;n.d(t,["E",0,o])},19255(e,t,n){"use strict";function r(e,t){return t?e*(1e3/t):0}n.d(t,{f:()=>r})},14891(e,t,n){"use strict";n.d(t,{OQ:()=>c});var r=n(24748),o=n(98064),i=n(19255),s=n(58946);const a={current:void 0};class l{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=r.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new o.v);const n=this.events[e].add(t);return"change"===e?()=>{n(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(e,t){return new l(e,t)}},52998(e,t,n){"use strict";var r=n(44497);const o={test:(0,n(18182).$)("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.B.transform};n.d(t,["u",0,o])},67477(e,t,n){"use strict";var r=n(51206),o=n(27559),i=n(69164),s=n(18182);const a={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+o.KN.transform((0,i.a)(t))+", "+o.KN.transform((0,i.a)(n))+", "+(0,i.a)(r.X4.transform(s))+")"};n.d(t,["V",0,a])},76481(e,t,n){"use strict";var r=n(52998),o=n(67477),i=n(44497);const s={test:e=>i.B.test(e)||r.u.test(e)||o.V.test(e),parse:e=>i.B.test(e)?i.B.parse(e):o.V.test(e)?o.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?i.B.transform(e):o.V.transform(e)};n.d(t,["y",0,s])},44497(e,t,n){"use strict";var r=n(89898),o=n(51206),i=n(69164),s=n(18182);const a={...o.ai,transform:e=>Math.round((e=>(0,r.q)(0,255,e))(e))},l={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+a.transform(e)+", "+a.transform(t)+", "+a.transform(n)+", "+(0,i.a)(o.X4.transform(r))+")"};n.d(t,["B",0,l])},18182(e,t,n){"use strict";var r=n(42031),o=n(62175),i=n(76949);n.d(t,["$",0,(e,t)=>n=>Boolean("string"==typeof n&&i.F.test(n)&&n.startsWith(e)||t&&!(0,o.u)(n)&&Object.prototype.hasOwnProperty.call(n,t)),"q",0,(e,t,n)=>o=>{if("string"!=typeof o)return o;const[i,s,a,l]=o.match(r.S);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}])},80722(e,t,n){"use strict";var r=n(96988),o=n(42031);const i=new Set(["brightness","contrast","saturate","opacity"]);function s(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(o.S)||[];if(!r)return e;const s=n.replace(r,"");let a=i.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+s+")"}const a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:e=>{const t=e.match(a);return t?t.map(s).join(" "):e}};n.d(t,["p",0,l])},96988(e,t,n){"use strict";n.d(t,{V:()=>u});var r=n(76481),o=n(92840),i=n(42031),s=n(69164);const a="number",l="color",c=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let s=0;const u=t.replace(c,e=>(r.y.test(e)?(o.color.push(s),i.push(l),n.push(r.y.parse(e))):e.startsWith("var(")?(o.var.push(s),i.push("var"),n.push(e)):(o.number.push(s),i.push(a),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:u,indexes:o,types:i}}function d(e){return u(e).values}function f(e){const{split:t,types:n}=u(e),o=t.length;return e=>{let i="";for(let c=0;c<o;c++)if(i+=t[c],void 0!==e[c]){const t=n[c];i+=t===a?(0,s.a)(e[c]):t===l?r.y.transform(e[c]):e[c]}return i}}const p=e=>"number"==typeof e?0:e;const h={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(i.S))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(o.n))||void 0===n?void 0:n.length)||0)>0},parse:d,createTransformer:f,getAnimatableNone:function(e){const t=d(e);return f(e)(t.map(p))}};n.d(t,["f",0,h])},51206(e,t,n){"use strict";var r=n(89898);const o={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i={...o,transform:e=>(0,r.q)(0,1,e)},s={...o,default:1};n.d(t,["X4",0,i,"ai",0,o,"hs",0,s])},27559(e,t,n){"use strict";const r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=r("deg"),i=r("%"),s=r("px"),a=r("vh"),l=r("vw"),c={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)};n.d(t,["KN",0,i,"gQ",0,c,"px",0,s,"uj",0,o,"vh",0,a,"vw",0,l])},92840(e,t,n){"use strict";n.d(t,["n",0,/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu])},42031(e,t,n){"use strict";n.d(t,["S",0,/-?(?:\d+(?:\.\d+)?|\.\d+)/gu])},62175(e,t,n){"use strict";function r(e){return null==e}n.d(t,{u:()=>r})},69164(e,t,n){"use strict";n.d(t,["a",0,e=>Math.round(1e5*e)/1e5])},76949(e,t,n){"use strict";n.d(t,["F",0,/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu])},7538(e,t,n){"use strict";n.d(t,{g:()=>o});var r=n(57307);function o(e,t){const n=e.getValue("willChange");if((0,r.k)(n))return n.add(t)}},57307(e,t,n){"use strict";n.d(t,{k:()=>o});var r=n(46010);function o(e){return Boolean((0,r.S)(e)&&e.add)}},46010(e,t,n){"use strict";n.d(t,["S",0,e=>Boolean(e&&e.getVelocity)])},36812(e,t,n){"use strict";n.d(t,{u:()=>i});var r=n(13183),o=n(46010);function i(e){const t=(0,o.S)(e)?e.get():e;return(0,r.B)(t)?t.toValue():t}},97160(e,t,n){"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.d(t,{Q:()=>o})},12757(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}n.d(t,{A:()=>r})},17649(e,t,n){"use strict";function r(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}n.d(t,{Dz:()=>Se});var o={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function i(e){o=e}var s={exec:()=>null};function a(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),o=t[r];return o||(o=e(r),t[r]=o),o}}function l(e,t=""){let n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let o="string"==typeof t?t:t.source;return o=o.replace(u.caret,"$1"),n=n.replace(e,o),r},getRegex:()=>new RegExp(n,t)};return r}var c=((e="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+e)}catch{return!1}})(),u={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:a(e=>new RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`)),hrRegex:a(e=>new RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:a(e=>new RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:a(e=>new RegExp(`^ {0,${e}}#`)),htmlBeginRegex:a(e=>new RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:a(e=>new RegExp(`^ {0,${e}}>`))},d=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,f=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,p=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,h=l(p).replace(/bull/g,f).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g=l(p).replace(/bull/g,f).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),m=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,v=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,b=l(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",v).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),y=l(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,f).getRegex(),k="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",x=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,w=l("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",x).replace("tag",k).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_=e=>l(m).replace("hr",d).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",e).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),A=_(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),S=_(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),C={blockquote:l(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",S).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:b,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:d,html:w,lheading:h,list:y,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:A,table:s,text:/^[^\n]+/},E=l("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",d).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),T={...C,lheading:g,table:E,paragraph:l(m).replace("hr",d).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",E).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex()},I={...C,html:l("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",x).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:s,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:l(m).replace("hr",d).replace("heading"," *#{1,6} *[^\n]").replace("lheading",h).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},j=/^( {2,}|\\)\n(?!\s*$)/,B=/[\p{P}\p{S}]/u,N=/[\s\p{P}\p{S}]/u,M=/[^\s\p{P}\p{S}]/u,R=l(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,N).getRegex(),O=/(?!~)[\p{P}\p{S}]/u,L=l(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",c?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),P=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,D=l(P,"u").replace(/punct/g,B).getRegex(),z=l(P,"u").replace(/punct/g,O).getRegex(),V=l(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,"u").replace(/openQuote/g,/[\p{Pi}\p{Ps}"']/u).replace(/punct/g,B).getRegex(),F="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",$=l(F,"gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,N).replace(/punct/g,B).getRegex(),H=l(F,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,O).getRegex(),U=l("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,N).replace(/punct/g,B).getRegex(),W=l("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,N).replace(/punct/g,B).getRegex(),K=l("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,N).replace(/punct/g,B).getRegex(),q=l(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,B).getRegex(),G=l("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,N).replace(/punct/g,B).getRegex(),X=l(/\\(punct)/,"gu").replace(/punct/g,B).getRegex(),Y=l(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Z=l(x).replace("(?:--\x3e|$)","--\x3e").getRegex(),Q=l("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),J=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,ee=l(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",J).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),te=l(/^!?\[(label)\]\[(ref)\]/).replace("label",J).replace("ref",v).getRegex(),ne=l(/^!?\[(ref)\](?:\[\])?/).replace("ref",v).getRegex(),re=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,oe={_backpedal:s,anyPunctuation:X,autolink:Y,blockSkip:L,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:s,delLDelim:s,delRDelim:s,emStrongLDelim:D,emStrongRDelimAst:$,emStrongRDelimUnd:W,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:ee,nolink:ne,punctuation:R,reflink:te,reflinkSearch:l("reflink|nolink(?!\\()","g").replace("reflink",te).replace("nolink",ne).getRegex(),tag:Q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:s},ie={...oe,emStrongLDelim:V,emStrongRDelimAst:U,emStrongRDelimUnd:K,link:l(/^!?\[(label)\]\((.*?)\)/).replace("label",J).getRegex(),reflink:l(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",J).getRegex()},se={...oe,emStrongRDelimAst:H,emStrongLDelim:z,delLDelim:q,delRDelim:G,url:l(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",re).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:l(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",re).getRegex()},ae={...se,br:l(j).replace("{2,}","*").getRegex(),text:l(se.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},le={normal:C,gfm:T,pedantic:I},ce={normal:oe,gfm:se,breaks:ae,pedantic:ie},ue={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},de=e=>ue[e];function fe(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,de)}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,de);return e}function pe(e){try{e=encodeURI(e).replace(u.percentDecode,"%")}catch{return null}return e}function he(e,t){let n=e.replace(u.findPipe,(e,t,n)=>{let r=!1,o=t;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(u.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(u.slashPipe,"|");return n}function ge(e,t,n){let r=e.length;if(0===r)return"";let o=0;for(;o<r;){let i=e.charAt(r-o-1);if(i!==t||n){if(i===t||!n)break;o++}else o++}return e.slice(0,r-o)}function me(e){let t=e.split("\n"),n=t.length-1;for(;n>=0&&u.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join("\n")}function ve(e,t=0){let n=t,r="";for(let t of e)if("\t"===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}function be(e,t,n,r,o){let i=t.href,s=t.title||null,a=e[1].replace(o.other.outputLinkReplace,"$1"),l="!"===e[0].charAt(0);r.state.inLink=!0;let c=r.state.linkEmitted,u=r.state.inRawBlock;r.state.linkEmitted=!1;let d=r.inlineTokens(a),f=r.state.linkEmitted;if(r.state.linkEmitted=c,r.state.inLink=!1,!l){if(f)return void(r.state.inRawBlock=u);r.state.linkEmitted=!0}return{type:l?"image":"link",raw:n,href:i,title:s,text:a,tokens:d}}var ye=class{options;rules;lexer;constructor(e){this.options=e||o}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:me(t[0]),n=e.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e,codeBlockStyle:"indented",text:n}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let o=r[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=o.length?e.slice(o.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=ge(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:ge(t[0],"\n"),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ge(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=ge(t[0],"\n").split("\n"),n="",r="",o=[];for(;e.length>0;){let t,i=!1,s=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))s.push(e[t]),i=!0;else{if(i)break;s.push(e[t])}e=e.slice(t);let a=s.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,o,!0),this.lexer.state.top=c,0===e.length)break;let u=o.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let t=u,i=e.join("\n"),s=t.raw+"\n"+i.replace(this.rules.other.blockquoteSetextReplace2,""),a=this.blockquote(s);o[o.length-1]=a,n=`${n}\n${i}`,r=r.substring(0,r.length-t.text.length)+a.text;break}if("list"===u?.type){let t=u,i=t.raw+"\n"+e.join("\n"),s=this.list(i);o[o.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,r=r.substring(0,r.length-t.raw.length)+s.raw,e=i.substring(o.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:o,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,o={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let i=this.rules.other.listItemRegex(n),s=!1;for(;e;){let n=!1,r="",a="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=ve(t[2].split("\n",1)[0],t[1].length),c=e.split("\n",1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,a=l.trimStart()):u?d=t[1].length+1:(d=l.search(this.rules.other.nonSpaceChar),d=d>4?1:d,a=l.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),o=this.rules.other.fencesBeginRegex(d),i=this.rules.other.headingBeginRegex(d),s=this.rules.other.htmlBeginRegex(d),f=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p,h=e.split("\n",1)[0];if(c=h,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),p=c):p=c.replace(this.rules.other.tabCharGlobal," "),o.test(c)||i.test(c)||s.test(c)||f.test(c)||t.test(c)||n.test(c))break;if(p.search(this.rules.other.nonSpaceChar)>=d||!c.trim())a+="\n"+p.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||o.test(l)||i.test(l)||n.test(l))break;a+="\n"+c}u=!c.trim(),r+=h+"\n",e=e.substring(h.length+1),l=p.slice(d)}}o.loose||(s?o.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0)),o.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),o.raw+=r}let a=o.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),o.raw=o.raw.trimEnd();for(let e of o.items)if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),!o.loose){let t=e.tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));o.loose=n}for(let e of o.items){let t=e.tokens[0];if(!e.task||"text"!==t?.type&&"paragraph"!==t?.type)e.task&&(e.task=!1);else{e.text=e.text.replace(this.rules.other.listReplaceTask,""),t.raw=t.raw.replace(this.rules.other.listReplaceTask,""),t.text=t.text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:"checkbox",raw:n[0]+" ",checked:"[ ]"!==n[0]};e.checked=t.checked,o.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}}if(o.loose)for(let e of o.items){e.loose=!0;for(let t of e.tokens)"text"===t.type&&(t.type="paragraph")}return o}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=me(t[0]);return{type:"html",block:!0,raw:e,pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:ge(t[0],"\n"),href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=he(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:ge(t[0],"\n"),header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(let e of o)i.rows.push(he(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:ge(t[0],"\n"),depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=ge(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),be(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return be(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&(r[1]||r[2]||r[3]||r[4])&&(!r[4]||!n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[3]||!n||this.rules.inline.punctuation.exec(n))){let o,i,s=[...r[0]].length-1,a=s,l=0,c=r[0][0],u=n===c,d="*"===c?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+s);null!==(r=d.exec(t));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(i=[...o].length,r[3]||r[4]){a+=i;continue}if(r[5]||r[6]){if(s%3&&!((s+i)%3)){l+=i;continue}if(u)break}if(a-=i,a>0)continue;i=Math.min(i,i+a+l);let t=[...r[0]][0].length,n=e.slice(0,s+r.index+t+i);if(Math.min(s,i)%2){let e=n.slice(1,-1);return{type:"em",raw:n,text:e,tokens:this.lexer.inlineTokens(e)}}let c=n.slice(2,-2);return{type:"strong",raw:n,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,n=""){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n,o,i=[...r[0]].length-1,s=i,a=this.rules.inline.delRDelim;for(a.lastIndex=0,t=t.slice(-1*e.length+i);null!==(r=a.exec(t));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n||(o=[...n].length,o!==i))continue;if(r[3]||r[4]){s+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s);let t=[...r[0]][0].length,a=e.slice(0,i+r.index+t+o),l=a.slice(i,-i);return{type:"del",raw:a,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=t[0],n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},ke=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||o,this.options.tokenizer=this.options.tokenizer||new ye,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,top:!0};let t={other:u,block:le.normal,inline:ce.normal};this.options.pedantic?(t.block=le.pedantic,t.inline=ce.pedantic):this.options.gfm&&(t.block=le.gfm,this.options.breaks?t.inline=ce.breaks:t.inline=ce.gfm),this.tokenizer.rules=t}static get rules(){return{block:le,inline:ce}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(u.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(u.tabCharGlobal," ").replace(u.spaceLine,""));let r=1/0;for(;e;){if(!(e.length<r)){this.infiniteLoopError(e.charCodeAt(0));break}let o;if(r=e.length,this.options.extensions?.block?.some(n=>!!(o=n.call({lexer:this},e,t))&&(e=e.substring(o.raw.length),t.push(o),!0)))continue;if(o=this.tokenizer.space(e)){e=e.substring(o.raw.length);let n=t.at(-1);1===o.raw.length&&void 0!==n?n.raw+="\n":t.push(o);continue}if(o=this.tokenizer.code(e)){e=e.substring(o.raw.length);let n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+o.raw,n.text+="\n"+o.text,this.inlineQueue.at(-1).src=n.text):t.push(o);continue}if(o=this.tokenizer.fences(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.heading(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.hr(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.blockquote(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.list(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.html(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.def(e)){e=e.substring(o.raw.length);let n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+o.raw,n.text+="\n"+o.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},t.push(o));continue}if(o=this.tokenizer.table(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.lheading(e)){e=e.substring(o.raw.length),t.push(o);continue}let i=e;if(this.options.extensions?.startBlock){let t,n=1/0,r=e.slice(1);this.options.extensions.startBlock.forEach(e=>{t=e.call({lexer:this},r),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(i=e.substring(0,n+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){let r=t.at(-1);n&&"paragraph"===r?.type?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+o.raw,r.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(o),n=i.length!==e.length,e=e.substring(o.raw.length);continue}if(o=this.tokenizer.text(e)){e=e.substring(o.raw.length);let n=t.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+o.raw,n.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(o);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}linkInText(e){if(!e.includes("["))return!1;let t=this.tokenizer.rules.inline.link;for(let n of e.matchAll(this.tokenizer.rules.inline.blockSkip))if(t.test(n[0])&&"!"!==e.charAt(n.index-1))return!0;for(let t of e.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let e=t[0],n=e.lastIndexOf("[");if("!"!==e.charAt(0)&&Object.hasOwn(this.tokens.links,e.slice(n+1,-1))&&!(n>1&&this.linkInText(e.slice(1,n-1))))return!0}return!1}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=e;if(this.tokens.links&&e.includes("[")){let e=this.tokenizer.rules.inline.reflinkSearch,t=n=>{let r=n.lastIndexOf("[");if(!Object.hasOwn(this.tokens.links,n.slice(r+1,-1)))return n;if(r>1&&"!"!==n.charAt(0)){let o=n.slice(1,r-1);if(this.linkInText(o))return"["+o.replace(e,t)+"]["+"a".repeat(n.length-r-2)+"]"}return"["+"a".repeat(n.length-2)+"]"};n=n.replace(e,t)}n=n.replace(this.tokenizer.rules.inline.anyPunctuation,e=>"+".repeat(e.length)),n=n.replace(this.tokenizer.rules.inline.blockSkip,(e,t,n)=>{let r=n?n.length:0;return e.slice(0,r)+"["+"a".repeat(e.length-r-2)+"]"}),n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let r=!1,o="",i=1/0;for(;e;){if(!(e.length<i)){this.infiniteLoopError(e.charCodeAt(0));break}let s;if(i=e.length,r||(o=""),r=!1,this.options.extensions?.inline?.some(n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))continue;if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length);let n=t.at(-1);"text"===s.type&&"text"===n?.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,n,o)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e,n,o)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),t.push(s);continue}let a=e;if(this.options.extensions?.startInline){let t,n=1/0,r=e.slice(1);this.options.extensions.startInline.forEach(e=>{t=e.call({lexer:this},r),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(a=e.substring(0,n+1))}if(s=this.tokenizer.inlineText(a)){e=e.substring(s.raw.length),"_"!==s.raw.slice(-1)&&(o=s.raw.slice(-1)),r=!0;let n=t.at(-1);"text"===n?.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return t}infiniteLoopError(e){let t="Infinite loop on byte: "+e;if(!this.options.silent)throw new Error(t);console.error(t)}},xe=class{options;parser;constructor(e){this.options=e||o}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(u.notSpaceStart)?.[0],o=e.replace(u.endingNewline,"")+"\n";return r?'<pre><code class="language-'+fe(r)+'">'+(n?o:fe(o,!0))+"</code></pre>\n":"<pre><code>"+(n?o:fe(o,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let o=t?"ol":"ul";return"<"+o+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+o+">\n"}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let o=e.rows[t];n="";for(let e=0;e<o.length;e++)n+=this.tablecell(o[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${fe(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),o=pe(e);if(null===o)return r;let i='<a href="'+(e=o)+'"';return t&&(i+=' title="'+fe(t)+'"'),i+=">"+r+"</a>",i}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let o=pe(e);if(null===o)return fe(n);let i=`<img src="${e=o}" alt="${fe(n)}"`;return t&&(i+=` title="${fe(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:fe(e.text)}},we=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},_e=class e{options;renderer;textRenderer;constructor(e){this.options=e||o,this.options.renderer=this.options.renderer||new xe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new we}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==n||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(e.type)){t+=n||"";continue}}let o=r;switch(o.type){case"space":t+=this.renderer.space(o);break;case"hr":t+=this.renderer.hr(o);break;case"heading":t+=this.renderer.heading(o);break;case"code":t+=this.renderer.code(o);break;case"table":t+=this.renderer.table(o);break;case"blockquote":t+=this.renderer.blockquote(o);break;case"list":t+=this.renderer.list(o);break;case"checkbox":t+=this.renderer.checkbox(o);break;case"html":t+=this.renderer.html(o);break;case"def":t+=this.renderer.def(o);break;case"paragraph":t+=this.renderer.paragraph(o);break;case"text":t+=this.renderer.text(o);break;default:{let e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n="";for(let r=0;r<e.length;r++){let o=e[r];if(this.options.extensions?.renderers?.[o.type]){let e=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==e||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(o.type)){n+=e||"";continue}}let i=o;switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}},Ae=class{options;block;constructor(e){this.options=e||o}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?ke.lex:ke.lexInline}provideParser(e=this.block){return e?_e.parse:_e.parseInline}},Se=class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=_e;Renderer=xe;TextRenderer=we;Lexer=ke;Tokenizer=ye;Hooks=Ae;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let o=e[r].flat(1/0);n=n.concat(this.walkTokens(o,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new xe(this.defaults);for(let n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=n,o=e.renderer[r],i=t[r];t[r]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ye(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=n,o=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Ae;for(let n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=n,o=e.hooks[r],i=t[r];Ae.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async&&Ae.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await o.call(t,e);return i.call(t,n)})();let r=o.call(t,e);return i.call(t,r)}:t[r]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await o.apply(t,e);return!1===n&&(n=await i.apply(t,e)),n})();let n=o.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ke.lex(e,t??this.defaults)}parser(e,t){return _e.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},o={...this.defaults,...r},i=this.onError(!!o.silent,!!o.async);if(!0===this.defaults.async&&!1===r.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=e),o.async)return(async()=>{let n=o.hooks?await o.hooks.preprocess(t):t,r=await(o.hooks?await o.hooks.provideLexer(e):e?ke.lex:ke.lexInline)(n,o),i=o.hooks?await o.hooks.processAllTokens(r):r;o.walkTokens&&await Promise.all(this.walkTokens(i,o.walkTokens));let s=await(o.hooks?await o.hooks.provideParser(e):e?_e.parse:_e.parseInline)(i,o);return o.hooks?await o.hooks.postprocess(s):s})().catch(i);try{o.hooks&&(t=o.hooks.preprocess(t));let n=(o.hooks?o.hooks.provideLexer(e):e?ke.lex:ke.lexInline)(t,o);o.hooks&&(n=o.hooks.processAllTokens(n)),o.walkTokens&&this.walkTokens(n,o.walkTokens);let r=(o.hooks?o.hooks.provideParser(e):e?_e.parse:_e.parseInline)(n,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(e){return i(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+fe(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},Ce=new Se;function Ee(e,t){return Ce.parse(e,t)}Ee.options=Ee.setOptions=function(e){return Ce.setOptions(e),Ee.defaults=Ce.defaults,i(Ee.defaults),Ee},Ee.getDefaults=r,Ee.defaults=o,Ee.use=function(...e){return Ce.use(...e),Ee.defaults=Ce.defaults,i(Ee.defaults),Ee},Ee.walkTokens=function(e,t){return Ce.walkTokens(e,t)},Ee.parseInline=Ce.parseInline,Ee.Parser=_e,Ee.parser=_e.parse,Ee.Renderer=xe,Ee.TextRenderer=we,Ee.Lexer=ke,Ee.lexer=ke.lex,Ee.Tokenizer=ye,Ee.Hooks=Ae,Ee.parse=Ee;Ee.options,Ee.setOptions,Ee.walkTokens,Ee.parseInline,_e.parse,ke.lex},1636(e,t,n){"use strict";function r(e,t){var n,r,o=0;function i(){var i,s,a=n,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(s=0;s<l;s++)if(a.args[s]!==arguments[s]){a=a.next;continue e}return a!==n&&(a===r&&(r=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n,a.prev=null,n.prev=a,n=a),a.val}a=a.next}for(i=new Array(l),s=0;s<l;s++)i[s]=arguments[s];return a={args:i,val:e.apply(null,i)},n?(n.prev=a,a.next=n):r=a,o===t.maxSize?(r=r.prev).next=null:o++,n=a,a.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}n.d(t,{A:()=>r})},20704(e,t,n){"use strict";n.d(t,{e:()=>o});var r=n(53768);class o{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map(n=>(0,r.J)()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},72957(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(20704);class o extends r.e{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}},96078(e,t,n){"use strict";n.d(t,{t:()=>r});function r(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}},87860(e,t,n){"use strict";n.d(t,{X:()=>i});var r=n(47725),o=n(96078);function i(e,t=100,n){const i=n({...e,keyframes:[0,t]}),s=Math.min((0,o.t)(i),2e4);return{type:"keyframes",ease:e=>i.next(s*e).value/t,duration:(0,r.X)(s)}}},78402(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{W:()=>r})},38653(e,t,n){"use strict";function r(e,t){return e?e[t]||e.default||e:void 0}n.d(t,{r:()=>r})},10255(e,t,n){"use strict";n.d(t,{u:()=>s});var r=n(89223),o=n(47725),i=n(76819);class s{constructor(e){this.animation=e}get duration(){var e,t,n;const r=(null===(t=null===(e=this.animation)||void 0===e?void 0:e.effect)||void 0===t?void 0:t.getComputedTiming().duration)||(null===(n=this.options)||void 0===n?void 0:n.duration)||300;return(0,o.X)(Number(r))}get time(){var e;return this.animation?(0,o.X)((null===(e=this.animation)||void 0===e?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=(0,o.f)(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null===(e=this.animation.effect)||void 0===e||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&(0,i.v)(this.animation,e),r.l}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}},2760(e,t,n){"use strict";var r=n(10255);n(96898);r.u},76819(e,t,n){"use strict";function r(e,t){e.timeline=t,e.onfinish=null}n.d(t,{v:()=>r})},96898(e,t,n){"use strict";n.d(t,{E:()=>c});var r=n(47725),o=n(63230),i=n(87860),s=n(78402),a=n(36901);const l="easeOut";function c(e,t,n){var c;const u={},d={fill:"both",easing:"linear",composite:"replace"};d.delay=(0,r.f)(null!==(c=n.delay)&&void 0!==c?c:0),function(e){var t;if((0,s.W)(e.type)){const t=(0,i.X)(e,100,e.type);e.ease=(0,o.n)()?t.ease:l,e.duration=(0,r.f)(t.duration),e.type="keyframes"}else e.duration=(0,r.f)(null!==(t=e.duration)&&void 0!==t?t:.3),e.ease=e.ease||l}(n),d.duration=n.duration;const{ease:f,times:p}=n;p&&(u.offset=p),u[e]=t;const h=(0,a.TU)(f,n.duration);return Array.isArray(h)?u.easing=h:d.easing=h,{keyframes:u,options:d}}},36901(e,t,n){"use strict";n.d(t,{TU:()=>c,yL:()=>s});var r=n(85090),o=n(63230),i=n(2217);function s(e){return Boolean("function"==typeof e&&(0,o.n)()||!e||"string"==typeof e&&(e in l||(0,o.n)())||(0,r.D)(e)||Array.isArray(e)&&e.every(s))}const a=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,l={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a([0,.65,.55,1]),circOut:a([.55,0,1,.45]),backIn:a([.31,.01,.66,-.59]),backOut:a([.33,1.53,.69,.99])};function c(e,t){return e?"function"==typeof e&&(0,o.n)()?(0,i.K)(e,t):(0,r.D)(e)?a(e):Array.isArray(e)?e.map(e=>c(e,t)||l.easeOut):l[e]:void 0}},2217(e,t,n){"use strict";var r=n(42718);n.d(t,["K",0,(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)o+=e((0,r.q)(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`}])},96351(e,t,n){"use strict";n.d(t,{D:()=>o});const r={x:!1,y:!1};function o(){return r.x||r.y}n.d(t,["I",0,r])},4379(e,t,n){"use strict";n.d(t,{W:()=>o});var r=n(96351);function o(e){return"x"===e||"y"===e?r.I[e]?null:(r.I[e]=!0,()=>{r.I[e]=!1}):r.I.x||r.I.y?null:(r.I.x=r.I.y=!0,()=>{r.I.x=r.I.y=!1})}},59201(e,t,n){"use strict";n.d(t,{P:()=>s});var r=n(96351),o=n(64514);function i(e){return t=>{"touch"===t.pointerType||(0,r.D)()||e(t)}}function s(e,t,n={}){const[r,s,a]=(0,o.V)(e,n),l=i(e=>{const{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;const o=i(e=>{r(e),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,s)});return r.forEach(e=>{e.addEventListener("pointerenter",l,s)}),a}},1739(e,t,n){"use strict";n.d(t,{c:()=>d});var r=n(96351),o=n(35583),i=n(32258),s=n(64514),a=n(33270),l=n(23980),c=n(76374);function u(e){return(0,i.M)(e)&&!(0,r.D)()}function d(e,t,n={}){const[r,i,d]=(0,s.V)(e,n),f=e=>{const r=e.currentTarget;if(!u(e)||c.Q.has(r))return;c.Q.add(r);const s=t(e),a=(e,t)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",d),u(e)&&c.Q.has(r)&&(c.Q.delete(r),"function"==typeof s&&s(e,{success:t}))},l=e=>{a(e,n.useGlobalTarget||(0,o.w)(r,e.target))},d=e=>{a(e,!1)};window.addEventListener("pointerup",l,i),window.addEventListener("pointercancel",d,i)};return r.forEach(e=>{(0,a.c)(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",f,i),e.addEventListener("focus",e=>(0,l.s)(e,i),i)}),d}},33270(e,t,n){"use strict";n.d(t,{c:()=>o});const r=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function o(e){return r.has(e.tagName)||-1!==e.tabIndex}},23980(e,t,n){"use strict";var r=n(76374);function o(e){return t=>{"Enter"===t.key&&e(t)}}function i(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}n.d(t,["s",0,(e,t)=>{const n=e.currentTarget;if(!n)return;const s=o(()=>{if(r.Q.has(n))return;i(n,"down");const e=o(()=>{i(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>i(n,"cancel"),t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)}])},76374(e,t,n){"use strict";const r=new WeakSet;n.d(t,["Q",0,r])},35583(e,t,n){"use strict";const r=(e,t)=>!!t&&(e===t||r(e,t.parentElement));n.d(t,["w",0,r])},32258(e,t,n){"use strict";n.d(t,["M",0,e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary])},64514(e,t,n){"use strict";n.d(t,{V:()=>o});var r=n(11974);function o(e,t){const n=(0,r.K)(e),o=new AbortController;return[n,{passive:!0,...t,signal:o.signal},()=>o.abort()]}},92394(e,t,n){"use strict";n.d(t,{DW:()=>f.D,KZ:()=>c.K,Mc:()=>g.M,P6:()=>r.P,PT:()=>u.P,TU:()=>l.TU,WH:()=>s.W,Wp:()=>h.W,YE:()=>2e4,c$:()=>d.c,nL:()=>p.n,rU:()=>o.r,tu:()=>i.t,vG:()=>a.v,yL:()=>l.yL});var r=n(72957),o=n(38653),i=n(96078),s=n(78402),a=n(76819),l=n(36901),c=n(2217),u=n(59201),d=n(1739),f=n(85090),p=n(63230),h=(n(53768),n(89756),n(4379)),g=n(32258)},85090(e,t,n){"use strict";n.d(t,["D",0,e=>Array.isArray(e)&&"number"==typeof e[0]])},11974(e,t,n){"use strict";function r(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}n.d(t,{K:()=>r})},58284(e,t,n){"use strict";const r={linearEasing:void 0};n.d(t,["e",0,r])},63230(e,t,n){"use strict";const r=(0,n(72557).J)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");n.d(t,["n",0,r])},72557(e,t,n){"use strict";n.d(t,{J:()=>i});var r=n(20189),o=n(58284);function i(e,t){const n=(0,r.p)(e);return()=>{var e;return null!==(e=o.e[t])&&void 0!==e?e:n()}}},53768(e,t,n){"use strict";const r=(0,n(20189).p)(()=>void 0!==window.ScrollTimeline);n.d(t,["J",0,r])},89756(e,t,n){"use strict";n(63416)},63416(e,t,n){"use strict";n(20704),n(2760)},80842(e,t,n){"use strict";n.d(t,{$:()=>o,V:()=>i});var r=n(89223);let o=r.l,i=r.l},20189(e,t,n){"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>r})},89223(e,t,n){"use strict";n.d(t,["l",0,e=>e])},42718(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r}])},47725(e,t,n){"use strict";n.d(t,["X",0,e=>e/1e3,"f",0,e=>1e3*e])},92813(e,t,n){"use strict";n.d(t,{As:()=>u,qw:()=>c});const r={attribute:/\[\s*(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)\s*(?:(?<operator>\W?=)\s*(?<value>.+?)\s*(\s(?<caseSensitive>[iIsS]))?\s*)?\]/gu,id:/#(?<name>[-\w\P{ASCII}]+)/gu,class:/\.(?<name>[-\w\P{ASCII}]+)/gu,comma:/\s*,\s*/g,combinator:/\s*[\s>+~]\s*/g,"pseudo-element":/::(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,"pseudo-class":/:(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,universal:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?\*/gu,type:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)/gu},o=new Set(["combinator","comma"]),i=(new Set(["not","is","where","has","matches","-moz-any","-webkit-any","nth-child","nth-last-child"]),e=>{switch(e){case"pseudo-element":case"pseudo-class":return new RegExp(r[e].source.replace("(?<argument>¶*)","(?<argument>.*)"),"gu");default:return r[e]}});function s(e,t){let n=0,r="";for(;t<e.length;t++){const o=e[t];switch(o){case"(":++n;break;case")":--n}if(r+=o,0===n)return r}return r}const a=/(['"])([^\\\n]*?)\1/g,l=/\\./g;function c(e,t=r){if(""===(e=e.trim()))return[];const n=[];e=(e=e.replace(l,(e,t)=>(n.push({value:e,offset:t}),"".repeat(e.length)))).replace(a,(e,t,r,o)=>(n.push({value:e,offset:o}),`${t}${"".repeat(r.length)}${t}`));{let t,r=0;for(;(t=e.indexOf("(",r))>-1;){const o=s(e,t);n.push({value:o,offset:t}),e=`${e.substring(0,t)}(${"¶".repeat(o.length-2)})${e.substring(t+o.length)}`,r=t+o.length}}const c=function(e,t=r){if(!e)return[];const n=[e];for(const[e,r]of Object.entries(t))for(let t=0;t<n.length;t++){const o=n[t];if("string"!=typeof o)continue;r.lastIndex=0;const i=r.exec(o);if(!i)continue;const s=i.index-1,a=[],l=i[0],c=o.slice(0,s+1);c&&a.push(c),a.push({...i.groups,type:e,content:l});const u=o.slice(s+l.length+1);u&&a.push(u),n.splice(t,1,...a)}let i=0;for(const e of n)switch(typeof e){case"string":throw new Error(`Unexpected sequence ${e} found at index ${i}`);case"object":i+=e.content.length,e.pos=[i-e.content.length,i],o.has(e.type)&&(e.content=e.content.trim()||" ")}return n}(e,t),u=new Set;for(const e of n.reverse())for(const t of c){const{offset:n,value:r}=e;if(!(t.pos[0]<=n&&n+r.length<=t.pos[1]))continue;const{content:o}=t,i=n-t.pos[0];t.content=o.slice(0,i)+r+o.slice(i+r.length),t.content!==o&&u.add(t)}for(const e of u){const t=i(e.type);if(!t)throw new Error(`Unknown token type: ${e.type}`);t.lastIndex=0;const n=t.exec(e.content);if(!n)throw new Error(`Unable to parse content for ${e.type}: ${e.content}`);Object.assign(e,n.groups)}return c}function u(e){if(Array.isArray(e))return e.map(e=>e.content).join("");switch(e.type){case"list":return e.list.map(u).join(",");case"relative":return e.combinator+u(e.right);case"complex":return u(e.left)+e.combinator+u(e.right);case"compound":return e.list.map(u).join("");default:return e.content}}},16278(e,t,n){"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{Tw:()=>c,y$:()=>l});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function a(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function l(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(l)(e,t)}let i=e,c=t,u=new Map,d=u,f=0,p=!1;function h(){d===u&&(d=new Map,u.forEach((e,t)=>{d.set(t,e)}))}function g(){if(p)throw new Error(r(3));return c}function m(e){if("function"!=typeof e)throw new Error(r(4));if(p)throw new Error(r(5));let t=!0;h();const n=f++;return d.set(n,e),function(){if(t){if(p)throw new Error(r(6));t=!1,h(),d.delete(n),u=null}}}function v(e){if(!a(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(p)throw new Error(r(9));try{p=!0,c=i(c,e)}finally{p=!1}return(u=d).forEach(e=>{e()}),e}v({type:s.INIT});return{dispatch:v,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,v({type:s.REPLACE})},[o]:function(){const e=m;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(g())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function c(...e){return t=>(n,o)=>{const i=t(n,o);let s=()=>{throw new Error(r(15))};const a={getState:i.getState,dispatch:(e,...t)=>s(e,...t)},l=e.map(e=>e(a));return s=function(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}(...l)(i.dispatch),{...i,dispatch:s}}}},2822(e,t,n){"use strict";n.d(t,{A:()=>a}),n.dn(a);var r={};function o(e){return[e]}function i(e){return!!e&&"object"==typeof e}function s(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function a(e,t){var n,a=t||o;function l(){n=new WeakMap}function c(){var t,o,l,c,u,d=arguments.length;for(c=new Array(d),l=0;l<d;l++)c[l]=arguments[l];for(t=function(e){var t,o,s,a,l=n,c=!0;for(t=0;t<e.length;t++){if(!i(o=e[t])){c=!1;break}l.has(o)?l=l.get(o):(s=new WeakMap,l.set(o,s),l=s)}return l.has(r)||((a=function(){var e={clear:function(){e.head=null}};return e}()).isUniqueByDependants=c,l.set(r,a)),l.get(r)}(u=a.apply(null,c)),t.isUniqueByDependants||(t.lastDependants&&!s(u,t.lastDependants,0)&&t.clear(),t.lastDependants=u),o=t.head;o;){if(s(o.args,c,1))return o!==t.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=t.head,o.prev=null,t.head.prev=o,t.head=o),o.val;o=o.next}return o={val:e.apply(null,c)},c[0]=null,o.args=c,t.head&&(t.head.prev=o,o.next=t.head),t.head=o,o.val}return c.getDependants=a,c.clear=l,l(),c}},4676(e,t,n){"use strict";n.d(t,{IO:()=>d,LU:()=>l,MS:()=>r,Sv:()=>u,XZ:()=>a,YK:()=>s,j:()=>i,vd:()=>o,yE:()=>c});var r="-ms-",o="-moz-",i="-webkit-",s="comm",a="rule",l="decl",c="@import",u="@keyframes",d="@layer"},44721(e,t,n){"use strict";n.d(t,{MY:()=>i,r1:()=>o});var r=n(10301);function o(e){var t=(0,r.FK)(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},53650(e,t,n){"use strict";n.d(t,{wE:()=>s});var r=n(4676),o=n(10301),i=n(99344);function s(e){return(0,i.VF)(a("",null,null,null,[""],e=(0,i.c4)(e),0,[0],e))}function a(e,t,n,r,s,d,f,p,h){for(var g=0,m=0,v=f,b=0,y=0,k=0,x=1,w=1,_=1,A=0,S="",C=s,E=d,T=r,I=S;w;)switch(k=A,A=(0,i.K2)()){case 40:if(108!=k&&58==(0,o.wN)(I,v-1)){-1!=(0,o.K5)(I+=(0,o.HC)((0,i.Tb)(A),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:I+=(0,i.Tb)(A);break;case 9:case 10:case 13:case 32:I+=(0,i.mw)(k);break;case 92:I+=(0,i.Nc)((0,i.OW)()-1,7);continue;case 47:switch((0,i.se)()){case 42:case 47:(0,o.BC)(c((0,i.nf)((0,i.K2)(),(0,i.OW)()),t,n),h);break;default:I+="/"}break;case 123*x:p[g++]=(0,o.b2)(I)*_;case 125*x:case 59:case 0:switch(A){case 0:case 125:w=0;case 59+m:-1==_&&(I=(0,o.HC)(I,/\f/g,"")),y>0&&(0,o.b2)(I)-v&&(0,o.BC)(y>32?u(I+";",r,n,v-1):u((0,o.HC)(I," ","")+";",r,n,v-2),h);break;case 59:I+=";";default:if((0,o.BC)(T=l(I,t,n,g,m,s,p,S,C=[],E=[],v),d),123===A)if(0===m)a(I,t,T,T,C,d,v,p,E);else switch(99===b&&110===(0,o.wN)(I,3)?100:b){case 100:case 108:case 109:case 115:a(e,T,T,r&&(0,o.BC)(l(e,T,T,0,0,s,p,S,s,C=[],v),E),s,E,v,p,r?C:E);break;default:a(I,T,T,T,[""],E,0,p,E)}}g=m=y=0,x=_=1,S=I="",v=f;break;case 58:v=1+(0,o.b2)(I),y=k;default:if(x<1)if(123==A)--x;else if(125==A&&0==x++&&125==(0,i.YL)())continue;switch(I+=(0,o.HT)(A),A*x){case 38:_=m>0?1:(I+="\f",-1);break;case 44:p[g++]=((0,o.b2)(I)-1)*_,_=1;break;case 64:45===(0,i.se)()&&(I+=(0,i.Tb)((0,i.K2)())),b=(0,i.se)(),m=v=(0,o.b2)(S=I+=(0,i.Cv)((0,i.OW)())),A++;break;case 45:45===k&&2==(0,o.b2)(I)&&(x=0)}}return d}function l(e,t,n,s,a,l,c,u,d,f,p){for(var h=a-1,g=0===a?l:[""],m=(0,o.FK)(g),v=0,b=0,y=0;v<s;++v)for(var k=0,x=(0,o.c1)(e,h+1,h=(0,o.tn)(b=c[v])),w=e;k<m;++k)(w=(0,o.Bq)(b>0?g[k]+" "+x:(0,o.HC)(x,/&\f/g,g[k])))&&(d[y++]=w);return(0,i.rH)(e,t,n,0===a?r.XZ:u,d,f,p)}function c(e,t,n){return(0,i.rH)(e,t,n,r.YK,(0,o.HT)((0,i.Tp)()),(0,o.c1)(e,2,-2),0)}function u(e,t,n,s){return(0,i.rH)(e,t,n,r.LU,(0,o.c1)(e,0,s),(0,o.c1)(e,s+1,-1),s)}},71757(e,t,n){"use strict";n.d(t,{A:()=>s,l:()=>i});var r=n(4676),o=n(10301);function i(e,t){for(var n="",r=(0,o.FK)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function s(e,t,n,s){switch(e.type){case r.IO:if(e.children.length)break;case r.yE:case r.LU:return e.return=e.return||e.value;case r.YK:return"";case r.Sv:return e.return=e.value+"{"+i(e.children,s)+"}";case r.XZ:e.value=e.props.join(",")}return(0,o.b2)(n=i(e.children,s))?e.return=e.value+"{"+n+"}":""}},99344(e,t,n){"use strict";n.d(t,{C:()=>d,Cv:()=>C,G1:()=>a,K2:()=>h,Nc:()=>_,OW:()=>m,Sh:()=>b,Tb:()=>x,Tp:()=>f,VF:()=>k,YL:()=>p,c4:()=>y,di:()=>v,mw:()=>w,nf:()=>S,rH:()=>u,se:()=>g});var r=n(10301),o=1,i=1,s=0,a=0,l=0,c="";function u(e,t,n,r,s,a,l){return{value:e,root:t,parent:n,type:r,props:s,children:a,line:o,column:i,length:l,return:""}}function d(e,t){return(0,r.kp)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function f(){return l}function p(){return l=a>0?(0,r.wN)(c,--a):0,i--,10===l&&(i=1,o--),l}function h(){return l=a<s?(0,r.wN)(c,a++):0,i++,10===l&&(i=1,o++),l}function g(){return(0,r.wN)(c,a)}function m(){return a}function v(e,t){return(0,r.c1)(c,e,t)}function b(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function y(e){return o=i=1,s=(0,r.b2)(c=e),a=0,[]}function k(e){return c="",e}function x(e){return(0,r.Bq)(v(a-1,A(91===e?e+2:40===e?e+1:e)))}function w(e){for(;(l=g())&&l<33;)h();return b(e)>2||b(l)>3?"":" "}function _(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return v(e,m()+(t<6&&32==g()&&32==h()))}function A(e){for(;h();)switch(l){case e:return a;case 34:case 39:34!==e&&39!==e&&A(l);break;case 40:41===e&&A(e);break;case 92:h()}return a}function S(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==g()););return"/*"+v(t,a-1)+"*"+(0,r.HT)(47===e?e:h())}function C(e){for(;!b(g());)h();return v(e,a)}},10301(e,t,n){"use strict";n.d(t,{BC:()=>g,Bq:()=>a,FK:()=>h,HC:()=>c,HT:()=>o,K5:()=>u,YW:()=>l,b2:()=>p,c1:()=>f,kg:()=>m,kp:()=>i,tW:()=>s,tn:()=>r,wN:()=>d});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function s(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function a(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function p(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}},49565(e,t,n){"use strict";n.d(t,{Cl:()=>r});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;Object.create},83503(e,t,n){"use strict";n.d(t,{A:()=>o});const r=new Uint8Array(16);function o(){return crypto.getRandomValues(r)}},17255(e,t,n){"use strict";n.d(t,{k:()=>o});const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function o(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},75554(e,t,n){"use strict";var r=n(83503),o=n(17255);const i=function(e,t,n){return t||e||!crypto.randomUUID?function(e,t,n){e=e||{};const i=e.random??e.rng?.()??(0,r.A)();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=i[e];return t}return(0,o.k)(i)}(e,t,n):crypto.randomUUID()};n.d(t,["A",0,i])},7486(e){"use strict";e.exports=JSON.parse('{"$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":true,"role":"content"}},"supports":{"align":["wide"],"anchor":true,"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"spacing":{"margin":["top","bottom"],"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"width":true,"color":true}},"color":{"text":true,"background":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"interactivity":{"clientNavigation":true}},"style":"wp-block-code"}')},3341(e){"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/list-item","title":"List Item","category":"text","parent":["core/list"],"allowedBlocks":["core/list"],"description":"An individual item within a list.","textdomain":"default","attributes":{"placeholder":{"type":"string"},"content":{"type":"rich-text","source":"rich-text","selector":"li","role":"content"}},"supports":{"anchor":true,"html":false,"className":false,"splitting":true,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"gradients":true,"link":true,"background":true,"__experimentalDefaultControls":{"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true}},"selectors":{"root":".wp-block-list > li","border":".wp-block-list:not(.wp-block-list .wp-block-list) > li"}}')},43859(e){"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/list","title":"List","category":"text","allowedBlocks":["core/list-item"],"description":"An organized collection of items displayed in a specific order.","keywords":["bullet list","ordered list","numbered list"],"textdomain":"default","attributes":{"ordered":{"type":"boolean","default":false,"role":"content"},"values":{"type":"string","source":"html","selector":"ol,ul","multiline":"li","default":"","role":"content"},"type":{"type":"string"},"start":{"type":"number"},"reversed":{"type":"boolean"},"placeholder":{"type":"string"}},"supports":{"anchor":true,"align":["wide","full"],"html":false,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__unstablePasteTextInline":true,"__experimentalOnMerge":true,"__experimentalSlashInserter":true,"interactivity":{"clientNavigation":true},"listView":true},"selectors":{"border":".wp-block-list:not(.wp-block-list .wp-block-list)"},"editorStyle":"wp-block-list-editor","style":"wp-block-list"}')},39915(e){"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/paragraph","title":"Paragraph","category":"text","description":"Start with the basic building block of all narrative.","keywords":["text"],"textdomain":"default","attributes":{"content":{"type":"rich-text","source":"rich-text","selector":"p","role":"content"},"dropCap":{"type":"boolean","default":false},"placeholder":{"type":"string"},"direction":{"type":"string","enum":["ltr","rtl"]}},"supports":{"align":["wide","full"],"splitting":true,"anchor":true,"className":false,"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true},"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"textColumns":true,"textIndent":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalWritingMode":true,"fitText":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalSelector":"p","__unstablePasteTextInline":true,"interactivity":{"clientNavigation":true}},"selectors":{"root":"p","typography":{"textIndent":".wp-block-paragraph + .wp-block-paragraph"}},"editorStyle":"wp-block-paragraph-editor","style":"wp-block-paragraph"}')},55433(e){"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/quote","title":"Quote","category":"text","description":"Give quoted text visual emphasis. \\"In quoting others, we cite ourselves.\\" — Julio Cortázar","keywords":["blockquote","cite"],"textdomain":"default","attributes":{"value":{"type":"string","source":"html","selector":"blockquote","multiline":"p","default":"","role":"content"},"citation":{"type":"rich-text","source":"rich-text","selector":"cite","role":"content"},"textAlign":{"type":"string"}},"supports":{"anchor":true,"align":["left","right","wide","full"],"html":false,"background":{"backgroundImage":true,"backgroundSize":true,"gradient":true,"__experimentalDefaultControls":{"backgroundImage":true,"gradient":true}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"dimensions":{"minHeight":true,"__experimentalDefaultControls":{"minHeight":false}},"__experimentalOnEnter":true,"__experimentalOnMerge":true,"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"color":{"gradients":true,"heading":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"layout":{"allowEditing":false},"spacing":{"blockGap":true,"padding":true,"margin":true},"interactivity":{"clientNavigation":true},"allowedBlocks":true},"styles":[{"name":"default","label":"Default","isDefault":true},{"name":"plain","label":"Plain"}],"editorStyle":"wp-block-quote-editor","style":"wp-block-quote"}')},69543(e){"use strict";e.exports=JSON.parse('{"title":"block title","description":"block description","keywords":["block keyword"],"styles":[{"label":"block style label"}],"variations":[{"title":"block variation title","description":"block variation description","keywords":["block variation keyword"]}]}')}}]);