| @@ -1,46 +1,92 @@ | ||
| 1 | -"use strict";var wp;(wp||={}).components=(()=>{var I$=Object.create;var Cr=Object.defineProperty;var W$=Object.getOwnPropertyDescriptor;var p$=Object.getOwnPropertyNames;var B$=Object.getPrototypeOf,y$=Object.prototype.hasOwnProperty;var MY=(c,l)=>()=>(c&&(l=c(c=0)),l);var cl=(c,l)=>()=>(l||c((l={exports:{}}).exports,l),l.exports),TX=(c,l)=>{for(var t in l)Cr(c,t,{get:l[t],enumerable:!0})},PY=(c,l,t,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let b of p$(l))!y$.call(c,b)&&b!==t&&Cr(c,b,{get:()=>l[b],enumerable:!(e=W$(l,b))||e.enumerable});return c};var u=(c,l,t)=>(t=c!=null?I$(B$(c)):{},PY(l||!c||!c.__esModule?Cr(t,"default",{value:c,enumerable:!0}):t,c)),KY=c=>PY(Cr({},"__esModule",{value:!0}),c);var Ac=cl((cRc,_Y)=>{_Y.exports=window.wp.primitives});var Gc=cl((tRc,$Y)=>{$Y.exports=window.wp.i18n});var ec=cl((eRc,c9)=>{c9.exports=window.wp.compose});var F=cl((bRc,l9)=>{l9.exports=window.wp.element});var M=cl((dRc,t9)=>{t9.exports=window.React});var J=cl((GRc,p9)=>{p9.exports=window.ReactJSXRuntime});var U9=cl(L9=>{"use strict";var Di=M();function acc(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var ucc=typeof Object.is=="function"?Object.is:acc,mcc=Di.useState,scc=Di.useEffect,xcc=Di.useLayoutEffect,rcc=Di.useDebugValue;function gcc(c,l){var t=l(),e=mcc({inst:{value:t,getSnapshot:l}}),b=e[0].inst,d=e[1];return xcc(function(){b.value=t,b.getSnapshot=l,Q5(b)&&d({inst:b})},[c,t,l]),scc(function(){return Q5(b)&&d({inst:b}),c(function(){Q5(b)&&d({inst:b})})},[c]),rcc(t),t}function Q5(c){var l=c.getSnapshot;c=c.value;try{var t=l();return!ucc(c,t)}catch{return!0}}function Zcc(c,l){return l()}var Hcc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Zcc:gcc;L9.useSyncExternalStore=Di.useSyncExternalStore!==void 0?Di.useSyncExternalStore:Hcc});var E9=cl((QRc,j9)=>{"use strict";j9.exports=U9()});var Ei=cl((YIc,XF)=>{XF.exports=window.ReactDOM});var ml=cl((gYc,ON)=>{ON.exports=window.wp.deprecated});function hH(c){var l=Object.create(null);return function(t){return l[t]===void 0&&(l[t]=c(t)),l[t]}}var CH=MY(()=>{});var MS={};TX(MS,{default:()=>UV});var doc,UV,jV=MY(()=>{CH();doc=/^((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)-.*))$/,UV=hH(function(c){return doc.test(c)||c.charCodeAt(0)===111&&c.charCodeAt(1)===110&&c.charCodeAt(2)<91})});var zk=cl(Xl=>{"use strict";var it=typeof Symbol=="function"&&Symbol.for,c1=it?Symbol.for("react.element"):60103,l1=it?Symbol.for("react.portal"):60106,LH=it?Symbol.for("react.fragment"):60107,UH=it?Symbol.for("react.strict_mode"):60108,jH=it?Symbol.for("react.profiler"):60114,EH=it?Symbol.for("react.provider"):60109,MH=it?Symbol.for("react.context"):60110,t1=it?Symbol.for("react.async_mode"):60111,PH=it?Symbol.for("react.concurrent_mode"):60111,KH=it?Symbol.for("react.forward_ref"):60112,_H=it?Symbol.for("react.suspense"):60113,Boc=it?Symbol.for("react.suspense_list"):60120,qH=it?Symbol.for("react.memo"):60115,$H=it?Symbol.for("react.lazy"):60116,yoc=it?Symbol.for("react.block"):60121,Voc=it?Symbol.for("react.fundamental"):60117,Joc=it?Symbol.for("react.responder"):60118,hoc=it?Symbol.for("react.scope"):60119;function Ke(c){if(typeof c=="object"&&c!==null){var l=c.$$typeof;switch(l){case c1:switch(c=c.type,c){case t1:case PH:case LH:case jH:case UH:case _H:return c;default:switch(c=c&&c.$$typeof,c){case MH:case KH:case $H:case qH:case EH:return c;default:return l}}case l1:return l}}}function kk(c){return Ke(c)===PH}Xl.AsyncMode=t1;Xl.ConcurrentMode=PH;Xl.ContextConsumer=MH;Xl.ContextProvider=EH;Xl.Element=c1;Xl.ForwardRef=KH;Xl.Fragment=LH;Xl.Lazy=$H;Xl.Memo=qH;Xl.Portal=l1;Xl.Profiler=jH;Xl.StrictMode=UH;Xl.Suspense=_H;Xl.isAsyncMode=function(c){return kk(c)||Ke(c)===t1};Xl.isConcurrentMode=kk;Xl.isContextConsumer=function(c){return Ke(c)===MH};Xl.isContextProvider=function(c){return Ke(c)===EH};Xl.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===c1};Xl.isForwardRef=function(c){return Ke(c)===KH};Xl.isFragment=function(c){return Ke(c)===LH};Xl.isLazy=function(c){return Ke(c)===$H};Xl.isMemo=function(c){return Ke(c)===qH};Xl.isPortal=function(c){return Ke(c)===l1};Xl.isProfiler=function(c){return Ke(c)===jH};Xl.isStrictMode=function(c){return Ke(c)===UH};Xl.isSuspense=function(c){return Ke(c)===_H};Xl.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===LH||c===PH||c===jH||c===UH||c===_H||c===Boc||typeof c=="object"&&c!==null&&(c.$$typeof===$H||c.$$typeof===qH||c.$$typeof===EH||c.$$typeof===MH||c.$$typeof===KH||c.$$typeof===Voc||c.$$typeof===Joc||c.$$typeof===hoc||c.$$typeof===yoc)};Xl.typeOf=Ke});var Ok=cl((EDc,Ak)=>{"use strict";Ak.exports=zk()});var jk=cl((MDc,Uk)=>{"use strict";var e1=Ok(),Coc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Yoc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Foc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dk={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},b1={};b1[e1.ForwardRef]=Foc;b1[e1.Memo]=Dk;function Qk(c){return e1.isMemo(c)?Dk:b1[c.$$typeof]||Coc}var voc=Object.defineProperty,Noc=Object.getOwnPropertyNames,wk=Object.getOwnPropertySymbols,foc=Object.getOwnPropertyDescriptor,Soc=Object.getPrototypeOf,Tk=Object.prototype;function Lk(c,l,t){if(typeof l!="string"){if(Tk){var e=Soc(l);e&&e!==Tk&&Lk(c,e,t)}var b=Noc(l);wk&&(b=b.concat(wk(l)));for(var d=Qk(c),o=Qk(l),n=0;n<b.length;++n){var X=b[n];if(!Yoc[X]&&!(t&&t[X])&&!(o&&o[X])&&!(d&&d[X])){var G=foc(l,X);try{voc(c,X,G)}catch{}}}}return c}Uk.exports=Lk});var Az=cl((AUc,zz)=>{"use strict";var Hnc=function(l){return Rnc(l)&&!Inc(l)};function Rnc(c){return!!c&&typeof c=="object"}function Inc(c){var l=Object.prototype.toString.call(c);return l==="[object RegExp]"||l==="[object Date]"||Bnc(c)}var Wnc=typeof Symbol=="function"&&Symbol.for,pnc=Wnc?Symbol.for("react.element"):60103;function Bnc(c){return c.$$typeof===pnc}function ync(c){return Array.isArray(c)?[]:{}}function ks(c,l){return l.clone!==!1&&l.isMergeableObject(c)?xu(ync(c),c,l):c}function Vnc(c,l,t){return c.concat(l).map(function(e){return ks(e,t)})}function Jnc(c,l){if(!l.customMerge)return xu;var t=l.customMerge(c);return typeof t=="function"?t:xu}function hnc(c){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(c).filter(function(l){return Object.propertyIsEnumerable.call(c,l)}):[]}function Sz(c){return Object.keys(c).concat(hnc(c))}function kz(c,l){try{return l in c}catch{return!1}}function Cnc(c,l){return kz(c,l)&&!(Object.hasOwnProperty.call(c,l)&&Object.propertyIsEnumerable.call(c,l))}function Ync(c,l,t){var e={};return t.isMergeableObject(c)&&Sz(c).forEach(function(b){e[b]=ks(c[b],t)}),Sz(l).forEach(function(b){Cnc(c,b)||(kz(c,b)&&t.isMergeableObject(l[b])?e[b]=Jnc(b,t)(c[b],l[b],t):e[b]=ks(l[b],t))}),e}function xu(c,l,t){t=t||{},t.arrayMerge=t.arrayMerge||Vnc,t.isMergeableObject=t.isMergeableObject||Hnc,t.cloneUnlessOtherwiseSpecified=ks;var e=Array.isArray(l),b=Array.isArray(c),d=e===b;return d?e?t.arrayMerge(c,l,t):Ync(c,l,t):ks(l,t)}xu.all=function(l,t){if(!Array.isArray(l))throw new Error("first argument should be an array");return l.reduce(function(e,b){return xu(e,b,t)},{})};var Fnc=xu;zz.exports=Fnc});var dR=cl((OUc,Oz)=>{"use strict";Oz.exports=function c(l,t){if(l===t)return!0;if(l&&t&&typeof l=="object"&&typeof t=="object"){if(l.constructor!==t.constructor)return!1;var e,b,d;if(Array.isArray(l)){if(e=l.length,e!=t.length)return!1;for(b=e;b--!==0;)if(!c(l[b],t[b]))return!1;return!0}if(l instanceof Map&&t instanceof Map){if(l.size!==t.size)return!1;for(b of l.entries())if(!t.has(b[0]))return!1;for(b of l.entries())if(!c(b[1],t.get(b[0])))return!1;return!0}if(l instanceof Set&&t instanceof Set){if(l.size!==t.size)return!1;for(b of l.entries())if(!t.has(b[0]))return!1;return!0}if(ArrayBuffer.isView(l)&&ArrayBuffer.isView(t)){if(e=l.length,e!=t.length)return!1;for(b=e;b--!==0;)if(l[b]!==t[b])return!1;return!0}if(l.constructor===RegExp)return l.source===t.source&&l.flags===t.flags;if(l.valueOf!==Object.prototype.valueOf)return l.valueOf()===t.valueOf();if(l.toString!==Object.prototype.toString)return l.toString()===t.toString();if(d=Object.keys(l),e=d.length,e!==Object.keys(t).length)return!1;for(b=e;b--!==0;)if(!Object.prototype.hasOwnProperty.call(t,d[b]))return!1;for(b=e;b--!==0;){var o=d[b];if(!c(l[o],t[o]))return!1}return!0}return l!==l&&t!==t}});var ne=cl((wUc,Tz)=>{Tz.exports=window.wp.warning});var QA=cl((v7c,OA)=>{OA.exports=(function(c){var l={};function t(e){if(l[e])return l[e].exports;var b=l[e]={exports:{},id:e,loaded:!1};return c[e].call(b.exports,b,b.exports,t),b.loaded=!0,b.exports}return t.m=c,t.c=l,t.p="",t(0)})([(function(c,l,t){c.exports=t(1)}),(function(c,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t(2);Object.defineProperty(l,"combineChunks",{enumerable:!0,get:function(){return e.combineChunks}}),Object.defineProperty(l,"fillInChunks",{enumerable:!0,get:function(){return e.fillInChunks}}),Object.defineProperty(l,"findAll",{enumerable:!0,get:function(){return e.findAll}}),Object.defineProperty(l,"findChunks",{enumerable:!0,get:function(){return e.findChunks}})}),(function(c,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=l.findAll=function(G){var i=G.autoEscape,a=G.caseSensitive,m=a===void 0?!1:a,s=G.findChunks,x=s===void 0?b:s,r=G.sanitize,g=G.searchWords,H=G.textToHighlight;return d({chunksToHighlight:e({chunks:x({autoEscape:i,caseSensitive:m,sanitize:r,searchWords:g,textToHighlight:H})}),totalLength:H?H.length:0})},e=l.combineChunks=function(G){var i=G.chunks;return i=i.sort(function(a,m){return a.start-m.start}).reduce(function(a,m){if(a.length===0)return[m];var s=a.pop();if(m.start<=s.end){var x=Math.max(s.end,m.end);a.push({highlight:!1,start:s.start,end:x})}else a.push(s,m);return a},[]),i},b=function(G){var i=G.autoEscape,a=G.caseSensitive,m=G.sanitize,s=m===void 0?o:m,x=G.searchWords,r=G.textToHighlight;return r=s(r),x.filter(function(g){return g}).reduce(function(g,H){H=s(H),i&&(H=n(H));for(var Z=new RegExp(H,a?"g":"gi"),R=void 0;R=Z.exec(r);){var W=R.index,I=Z.lastIndex;I>W&&g.push({highlight:!1,start:W,end:I}),R.index===Z.lastIndex&&Z.lastIndex++}return g},[])};l.findChunks=b;var d=l.fillInChunks=function(G){var i=G.chunksToHighlight,a=G.totalLength,m=[],s=function(g,H,Z){H-g>0&&m.push({start:g,end:H,highlight:Z})};if(i.length===0)s(0,a,!1);else{var x=0;i.forEach(function(r){s(x,r.start,!1),s(r.start,r.end,!0),x=r.end}),s(x,a,!1)}return m};function o(X){return X}function n(X){return X.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}})])});var K2=cl((BPc,GQ)=>{GQ.exports=window.wp.richText});var _d=cl((yPc,iQ)=>{iQ.exports=window.wp.a11y});var rI=cl((VPc,aQ)=>{aQ.exports=window.wp.keycodes});var ZI=cl((JPc,gI)=>{var uQ={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},mQ=Object.keys(uQ).join("|"),tic=new RegExp(mQ,"g"),eic=new RegExp(mQ,"");function bic(c){return uQ[c]}var sQ=function(c){return c.replace(tic,bic)},dic=function(c){return!!c.match(eic)};gI.exports=sQ;gI.exports.has=dic;gI.exports.remove=sQ});var JI=cl((oKc,DQ)=>{DQ.exports=window.wp.isShallowEqual});var aw=cl((UKc,iw)=>{iw.exports=window.wp.privateApis});var Rj=cl(xh=>{var oi=oi||{};oi.stringify=(function(){var c={"visit_linear-gradient":function(l){return c.visit_gradient(l)},"visit_repeating-linear-gradient":function(l){return c.visit_gradient(l)},"visit_radial-gradient":function(l){return c.visit_gradient(l)},"visit_repeating-radial-gradient":function(l){return c.visit_gradient(l)},visit_gradient:function(l){var t=c.visit(l.orientation);return t&&(t+=", "),l.type+"("+t+c.visit(l.colorStops)+")"},visit_shape:function(l){var t=l.value,e=c.visit(l.at),b=c.visit(l.style);return b&&(t+=" "+b),e&&(t+=" at "+e),t},"visit_default-radial":function(l){var t="",e=c.visit(l.at);return e&&(t+=e),t},"visit_extent-keyword":function(l){var t=l.value,e=c.visit(l.at);return e&&(t+=" at "+e),t},"visit_position-keyword":function(l){return l.value},visit_position:function(l){return c.visit(l.value.x)+" "+c.visit(l.value.y)},"visit_%":function(l){return l.value+"%"},visit_em:function(l){return l.value+"em"},visit_px:function(l){return l.value+"px"},visit_calc:function(l){return"calc("+l.value+")"},visit_literal:function(l){return c.visit_color(l.value,l)},visit_hex:function(l){return c.visit_color("#"+l.value,l)},visit_rgb:function(l){return c.visit_color("rgb("+l.value.join(", ")+")",l)},visit_rgba:function(l){return c.visit_color("rgba("+l.value.join(", ")+")",l)},visit_hsl:function(l){return c.visit_color("hsl("+l.value[0]+", "+l.value[1]+"%, "+l.value[2]+"%)",l)},visit_hsla:function(l){return c.visit_color("hsla("+l.value[0]+", "+l.value[1]+"%, "+l.value[2]+"%, "+l.value[3]+")",l)},visit_var:function(l){return c.visit_color("var("+l.value+")",l)},visit_color:function(l,t){var e=l,b=c.visit(t.length);return b&&(e+=" "+b),e},visit_angular:function(l){return l.value+"deg"},visit_directional:function(l){return"to "+l.value},visit_array:function(l){var t="",e=l.length;return l.forEach(function(b,d){t+=c.visit(b),d<e-1&&(t+=", ")}),t},visit_object:function(l){return l.width&&l.height?c.visit(l.width)+" "+c.visit(l.height):""},visit:function(l){if(!l)return"";var t="";if(l instanceof Array)return c.visit_array(l);if(typeof l=="object"&&!l.type)return c.visit_object(l);if(l.type){var e=c["visit_"+l.type];if(e)return e(l);throw Error("Missing visitor visit_"+l.type)}else throw Error("Invalid node.")}};return function(l){return c.visit(l)}})();var oi=oi||{};oi.parse=(function(){var c={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,radianValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))rad/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,varColor:/^var/i,calcValue:/^calc/i,variableName:/^(--[a-zA-Z0-9-,\s\#]+)/,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,hslColor:/^hsl/i,hslaColor:/^hsla/i},l="";function t(E){var dc=new Error(l+": "+E);throw dc.source=l,dc}function e(){var E=b();return l.length>0&&t("Invalid input not EOF"),E}function b(){return R(d)}function d(){return o("linear-gradient",c.linearGradient,X)||o("repeating-linear-gradient",c.repeatingLinearGradient,X)||o("radial-gradient",c.radialGradient,a)||o("repeating-radial-gradient",c.repeatingRadialGradient,a)}function o(E,dc,j){return n(dc,function(nc){var Ic=j();return Ic&&(P(c.comma)||t("Missing comma before color stops")),{type:E,orientation:Ic,colorStops:R(W)}})}function n(E,dc){var j=P(E);if(j){P(c.startCall)||t("Missing (");var nc=dc(j);return P(c.endCall)||t("Missing )"),nc}}function X(){var E=G();if(E)return E;var dc=K("position-keyword",c.positionKeywords,1);return dc?{type:"directional",value:dc.value}:i()}function G(){return K("directional",c.sideOrCorner,1)}function i(){return K("angular",c.angleValue,1)||K("angular",c.radianValue,1)}function a(){var E,dc=m(),j;return dc&&(E=[],E.push(dc),j=l,P(c.comma)&&(dc=m(),dc?E.push(dc):l=j)),E}function m(){var E=s()||x();if(E)E.at=g();else{var dc=r();if(dc){E=dc;var j=g();j&&(E.at=j)}else{var nc=g();if(nc)E={type:"default-radial",at:nc};else{var Ic=H();Ic&&(E={type:"default-radial",at:Ic})}}}return E}function s(){var E=K("shape",/^(circle)/i,0);return E&&(E.style=v()||r()),E}function x(){var E=K("shape",/^(ellipse)/i,0);return E&&(E.style=H()||z()||r()),E}function r(){return K("extent-keyword",c.extentKeywords,1)}function g(){if(K("position",/^at/,0)){var E=H();return E||t("Missing positioning value"),E}}function H(){var E=Z();if(E.x||E.y)return{type:"position",value:E}}function Z(){return{x:z(),y:z()}}function R(E){var dc=E(),j=[];if(dc)for(j.push(dc);P(c.comma);)dc=E(),dc?j.push(dc):t("One extra comma");return j}function W(){var E=I();return E||t("Expected color definition"),E.length=z(),E}function I(){return B()||Y()||h()||C()||y()||V()||p()}function p(){return K("literal",c.literalColor,0)}function B(){return K("hex",c.hexColor,1)}function y(){return n(c.rgbColor,function(){return{type:"rgb",value:R(w)}})}function C(){return n(c.rgbaColor,function(){return{type:"rgba",value:R(w)}})}function V(){return n(c.varColor,function(){return{type:"var",value:A()}})}function h(){return n(c.hslColor,function(){var E=P(c.percentageValue);E&&t("HSL hue value must be a number in degrees (0-360) or normalized (-360 to 360), not a percentage");var dc=w();P(c.comma);var j=P(c.percentageValue),nc=j?j[1]:null;P(c.comma),j=P(c.percentageValue);var Ic=j?j[1]:null;return(!nc||!Ic)&&t("Expected percentage value for saturation and lightness in HSL"),{type:"hsl",value:[dc,nc,Ic]}})}function Y(){return n(c.hslaColor,function(){var E=w();P(c.comma);var dc=P(c.percentageValue),j=dc?dc[1]:null;P(c.comma),dc=P(c.percentageValue);var nc=dc?dc[1]:null;P(c.comma);var Ic=w();return(!j||!nc)&&t("Expected percentage value for saturation and lightness in HSLA"),{type:"hsla",value:[E,j,nc,Ic]}})}function N(){var E=P(c.percentageValue);return E?E[1]:null}function A(){return P(c.variableName)[1]}function w(){return P(c.number)[1]}function z(){return K("%",c.percentageValue,1)||f()||L()||v()}function f(){return K("position-keyword",c.positionKeywords,1)}function L(){return n(c.calcValue,function(){for(var E=1,dc=0;E>0&&dc<l.length;){var j=l.charAt(dc);j==="("?E++:j===")"&&E--,dc++}E>0&&t("Missing closing parenthesis in calc() expression");var nc=l.substring(0,dc-1);return oc(dc-1),{type:"calc",value:nc}})}function v(){return K("px",c.pixelValue,1)||K("em",c.emValue,1)}function K(E,dc,j){var nc=P(dc);if(nc)return{type:E,value:nc[j]}}function P(E){var dc,j;return j=/^[\n\r\t\s]+/.exec(l),j&&oc(j[0].length),dc=E.exec(l),dc&&oc(dc[0].length),dc}function oc(E){l=l.substr(E)}return function(E){return l=E.toString().trim(),l.endsWith(";")&&(l=l.slice(0,-1)),e()}})();xh.parse=oi.parse;xh.stringify=oi.stringify});var c0=cl((xnl,Sj)=>{Sj.exports=window.wp.dom});var Dx=cl((n0l,yM)=>{yM.exports=window.wp.date});var ZC=cl((Trl,G6)=>{G6.exports=window.wp.escapeHtml});var nP=cl((dZl,oP)=>{oP.exports=window.wp.htmlEntities});var vP=cl((AZl,WC)=>{function Lrc(c,l){var t=l&&l.cache?l.cache:Krc,e=l&&l.serializer?l.serializer:Prc,b=l&&l.strategy?l.strategy:jrc;return b(c,{cache:t,serializer:e})}function Urc(c){return c==null||typeof c=="number"||typeof c=="boolean"}function YP(c,l,t,e){var b=Urc(e)?e:t(e),d=l.get(b);return typeof d>"u"&&(d=c.call(this,e),l.set(b,d)),d}function FP(c,l,t){var e=Array.prototype.slice.call(arguments,3),b=t(e),d=l.get(b);return typeof d>"u"&&(d=c.apply(this,e),l.set(b,d)),d}function IC(c,l,t,e,b){return t.bind(l,c,e,b)}function jrc(c,l){var t=c.length===1?YP:FP;return IC(c,this,t,l.cache.create(),l.serializer)}function Erc(c,l){var t=FP;return IC(c,this,t,l.cache.create(),l.serializer)}function Mrc(c,l){var t=YP;return IC(c,this,t,l.cache.create(),l.serializer)}function Prc(){return JSON.stringify(arguments)}function Kp(){this.cache=Object.create(null)}Kp.prototype.has=function(c){return c in this.cache};Kp.prototype.get=function(c){return this.cache[c]};Kp.prototype.set=function(c,l){this.cache[c]=l};var Krc={create:function(){return new Kp}};WC.exports=Lrc;WC.exports.strategies={variadic:Erc,monadic:Mrc}});var v_=cl((XWl,F_)=>{F_.exports=window.wp.hooks});var qHc={};TX(qHc,{AlignmentMatrixControl:()=>y1,AnglePickerControl:()=>xI,Animate:()=>IA,Autocomplete:()=>Rw,BaseControl:()=>jc,BlockQuotation:()=>It.BlockQuotation,BorderBoxControl:()=>uW,BorderControl:()=>Xd,BoxControl:()=>MJ,Button:()=>bc,ButtonGroup:()=>HW,Card:()=>pW,CardBody:()=>yW,CardDivider:()=>VW,CardFooter:()=>JW,CardHeader:()=>hW,CardMedia:()=>CW,CheckboxControl:()=>FW,Circle:()=>It.Circle,ClipboardButton:()=>qU,ColorIndicator:()=>$d,ColorPalette:()=>HX,ColorPicker:()=>eo,ComboboxControl:()=>qW,Composite:()=>Qt,CustomGradientPicker:()=>$u,CustomSelectControl:()=>tp,Dashicon:()=>ix,DatePicker:()=>jx,DateTimePicker:()=>c7,Disabled:()=>b7,Draggable:()=>m7,DropZone:()=>r7,DropZoneProvider:()=>Z7,Dropdown:()=>co,DropdownMenu:()=>ad,DuotonePicker:()=>bC,DuotoneSwatch:()=>oC,ExternalLink:()=>Rp,Fill:()=>Yu,Flex:()=>Zl,FlexBlock:()=>Xe,FlexItem:()=>Ut,FocalPointPicker:()=>K7,FocusReturnProvider:()=>O_,FocusableIframe:()=>$7,FontSizePicker:()=>r4,FormFileUpload:()=>Z4,FormToggle:()=>yp,FormTokenField:()=>hp,G:()=>It.G,GradientPicker:()=>DW,Guide:()=>h4,GuidePage:()=>v4,HorizontalRule:()=>It.HorizontalRule,Icon:()=>qc,IconButton:()=>k4,IsolatedEventContainer:()=>B_,KeyboardShortcuts:()=>A4,Line:()=>It.Line,MenuGroup:()=>er,MenuItem:()=>Rn,MenuItemsChoice:()=>D4,Modal:()=>d0,NavigableMenu:()=>Xi,Navigator:()=>f6,Notice:()=>kp,NoticeList:()=>zp,Panel:()=>w6,PanelBody:()=>D6,PanelHeader:()=>Op,PanelRow:()=>E6,Path:()=>It.Path,Placeholder:()=>_6,Polygon:()=>It.Polygon,Popover:()=>aX,ProgressBar:()=>dP,QueryControls:()=>gP,RadioControl:()=>Ep,RangeControl:()=>yb,Rect:()=>It.Rect,ResizableBox:()=>KP,ResponsiveWrapper:()=>_P,SVG:()=>It.SVG,SandBox:()=>cK,ScrollLock:()=>yI,SearchControl:()=>bK,SelectControl:()=>Bb,Slot:()=>Fu,SlotFillProvider:()=>dJ,Snackbar:()=>XB,SnackbarList:()=>GK,Spinner:()=>e0,TabPanel:()=>uK,TabbableContainer:()=>Hh,TextControl:()=>iB,TextHighlight:()=>RK,TextareaControl:()=>aB,TimePicker:()=>Mx,Tip:()=>IK,ToggleControl:()=>uB,Toolbar:()=>kC,ToolbarButton:()=>ur,ToolbarDropdownMenu:()=>zC,ToolbarGroup:()=>sr,ToolbarItem:()=>Bn,Tooltip:()=>Se,TreeSelect:()=>C0,VisuallyHidden:()=>wc,__experimentalAlignmentMatrixControl:()=>y1,__experimentalBorderBoxControl:()=>uW,__experimentalBorderControl:()=>Xd,__experimentalBoxControl:()=>MJ,__experimentalConfirmDialog:()=>fh,__experimentalDivider:()=>Nx,__experimentalDropdownContentWrapper:()=>on,__experimentalElevation:()=>Uu,__experimentalGrid:()=>Xn,__experimentalHStack:()=>Ec,__experimentalHasSplitBorders:()=>ti,__experimentalHeading:()=>bd,__experimentalInputControl:()=>Pd,__experimentalInputControlPrefixWrapper:()=>GX,__experimentalInputControlSuffixWrapper:()=>Vu,__experimentalIsDefinedBorder:()=>TJ,__experimentalIsEmptyBorder:()=>Xo,__experimentalItem:()=>Ku,__experimentalItemGroup:()=>_u,__experimentalNavigatorBackButton:()=>v6,__experimentalNavigatorButton:()=>F6,__experimentalNavigatorProvider:()=>C6,__experimentalNavigatorScreen:()=>Y6,__experimentalNavigatorToParentButton:()=>N6,__experimentalNumberControl:()=>Ct,__experimentalPaletteEdit:()=>lE,__experimentalParseQuantityAndUnitFromRawValue:()=>El,__experimentalRadio:()=>RP,__experimentalRadioGroup:()=>BP,__experimentalScrollable:()=>vx,__experimentalSpacer:()=>ut,__experimentalStyleProvider:()=>Cu,__experimentalSurface:()=>PJ,__experimentalText:()=>Ge,__experimentalToggleGroupControl:()=>Wb,__experimentalToggleGroupControlOption:()=>tn,__experimentalToggleGroupControlOptionIcon:()=>zu,__experimentalToolbarContext:()=>Ze,__experimentalToolsPanel:()=>WB,__experimentalToolsPanelContext:()=>hi,__experimentalToolsPanelItem:()=>pB,__experimentalTreeGrid:()=>R_,__experimentalTreeGridCell:()=>jC,__experimentalTreeGridItem:()=>Hr,__experimentalTreeGridRow:()=>UC,__experimentalTruncate:()=>_o,__experimentalUnitControl:()=>no,__experimentalUseCustomUnits:()=>yx,__experimentalUseNavigator:()=>vX,__experimentalUseSlot:()=>mx,__experimentalUseSlotFills:()=>bJ,__experimentalVStack:()=>Gl,__experimentalView:()=>ac,__experimentalZStack:()=>PC,__unstableAnimatePresence:()=>cu,__unstableComposite:()=>Yh,__unstableCompositeGroup:()=>gE,__unstableCompositeItem:()=>ZE,__unstableDisclosureContent:()=>Ph,__unstableGetAnimateClassName:()=>V1,__unstableMotion:()=>qn,__unstableUseAutocompleteProps:()=>Hw,__unstableUseCompositeState:()=>HE,__unstableUseNavigateRegions:()=>qC,createSlotFill:()=>KQ,navigateRegions:()=>J_,privateApis:()=>UY,useBaseControlProps:()=>Xx,useNavigator:()=>vX,withConstrainedTabbing:()=>h_,withFallbackStyles:()=>Y_,withFilters:()=>S_,withFocusOutside:()=>KW,withFocusReturn:()=>A_,withNotices:()=>w_,withSpokenMessages:()=>D_});var It=u(Ac(),1);function qY(c){var l,t,e="";if(typeof c=="string"||typeof c=="number")e+=c;else if(typeof c=="object")if(Array.isArray(c)){var b=c.length;for(l=0;l<b;l++)c[l]&&(t=qY(c[l]))&&(e&&(e+=" "),e+=t)}else for(t in c)c[t]&&(e&&(e+=" "),e+=t);return e}function V$(){for(var c,l,t=0,e="",b=arguments.length;t<b;t++)(c=arguments[t])&&(l=qY(c))&&(e&&(e+=" "),e+=l);return e}var Q=V$;var uR=u(Gc(),1),gA=u(ec(),1),ZA=u(F(),1);var e9=u(M(),1),Yr=(0,e9.createContext)(!0);function Fr(c){return Array.isArray(c)?c:typeof c<"u"?[c]:[]}function vr(c){let l=[];for(let t of c)l.push(...t);return l}function em(c){return c.slice().reverse()}var DX=J$();function J$(){return typeof window<"u"&&!!window.document?.createElement}function fc(c){return c?"self"in c?c.document:c.ownerDocument||document:document}function vn(c){return c?"self"in c?c.self:fc(c).defaultView||window:self}function wb(c,l=!1){let{activeElement:t}=fc(c);if(!t?.nodeName)return null;if(h5(t)&&t.contentDocument?.body)return wb(t.contentDocument.body,l);if(l){let e=t.getAttribute("aria-activedescendant");if(e){let b=fc(t).getElementById(e);if(b)return b}}return t}function ll(c,l){return c===l||c.contains(l)}function yo(c){return c?.nodeType===1}function Nr(c){return typeof c?.nodeType=="number"}function h5(c){return c.tagName==="IFRAME"}function Vo(c){let l=c.tagName.toLowerCase();return l==="button"?!0:l==="input"&&c.type?h$.indexOf(c.type)!==-1:!1}var h$=["button","color","file","image","reset","submit"];function C$(c){if(typeof c.checkVisibility=="function")return c.checkVisibility();let l=c;return l.offsetWidth>0||l.offsetHeight>0||c.getClientRects().length>0}function qt(c){try{let l=c instanceof HTMLInputElement&&c.selectionStart!==null,t=c.tagName==="TEXTAREA";return l||t||!1}catch{return!1}}function fr(c){return c.isContentEditable||qt(c)}function b9(c){if(qt(c))return c.value;if(c.isContentEditable){let l=fc(c).createRange();return l.selectNodeContents(c),l.toString()}return""}function d9(c){let l=0,t=0;if(qt(c))l=c.selectionStart||0,t=c.selectionEnd||0;else if(c.isContentEditable){let e=fc(c).getSelection();if(e?.rangeCount&&e.anchorNode&&ll(c,e.anchorNode)&&e.focusNode&&ll(c,e.focusNode)){let b=e.getRangeAt(0),d=b.cloneRange();d.selectNodeContents(c),d.setEnd(b.startContainer,b.startOffset),l=d.toString().length,d.setEnd(b.endContainer,b.endOffset),t=d.toString().length}}return{start:l,end:t}}function LX(c,l){let t=["dialog","menu","listbox","tree","grid"],e=c?.getAttribute("role");return e&&t.indexOf(e)!==-1?e:l}function ki(c,l){let t={menu:"menuitem",listbox:"option",tree:"treeitem"},e=LX(c);return e?t[e]??l:l}function C5(c){if(!c)return null;let l=t=>t==="auto"||t==="scroll";if(c.clientHeight&&c.scrollHeight>c.clientHeight){let{overflowY:t}=getComputedStyle(c);if(l(t))return c}else if(c.clientWidth&&c.scrollWidth>c.clientWidth){let{overflowX:t}=getComputedStyle(c);if(l(t))return c}return C5(c.parentElement)||document.scrollingElement||document.body}function Sr(c,l){let t=c.map((b,d)=>[d,b]),e=!1;return t.sort(([b,d],[o,n])=>{let X=l(d),G=l(n);return X===G||!X||!G?0:Y$(X,G)?(b>o&&(e=!0),-1):(b<o&&(e=!0),1)}),e?t.map(([b,d])=>d):c}function Y$(c,l){return!!(l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_PRECEDING)}function F$(){return DX&&!!navigator.maxTouchPoints}function kr(){return DX?/mac|iphone|ipad|ipod/i.test(navigator.platform):!1}function zi(){return DX&&kr()&&/apple/i.test(navigator.vendor)}function o9(){return DX&&/firefox\//i.test(navigator.userAgent)}function n9(){return DX&&navigator.platform.startsWith("Mac")&&!F$()}function X9(c){let{currentTarget:l,target:t}=c;return l?Nr(t)?!ll(l,t):!0:!1}function wl(c){return c.target===c.currentTarget}function zr(c){let l=c.currentTarget;if(!l)return!1;let t=kr();if(t&&!c.metaKey||!t&&!c.ctrlKey)return!1;let e=l.tagName.toLowerCase();return e==="a"||e==="button"&&l.type==="submit"||e==="input"&&l.type==="submit"}function Ar(c){let l=c.currentTarget;if(!l)return!1;let t=l.tagName.toLowerCase();return c.altKey?t==="a"||t==="button"&&l.type==="submit"||t==="input"&&l.type==="submit":!1}function G9(c,l,t){let e=new Event(l,t);return c.dispatchEvent(e)}function UX(c,l){let t=new FocusEvent("blur",l),e=c.dispatchEvent(t),b={...l,bubbles:!0};return c.dispatchEvent(new FocusEvent("focusout",b)),e}function i9(c,l,t){let e=new KeyboardEvent(l,t);return c.dispatchEvent(e)}function Y5(c,l){let t=new MouseEvent("click",l);return c.dispatchEvent(t)}function Nn(c,l){let t=l||c.currentTarget,e=c.relatedTarget;return!Nr(e)||!ll(t,e)}function jX(c,l,t,e){let d=(n=>{if(e){let G=setTimeout(n,e);return()=>clearTimeout(G)}let X=requestAnimationFrame(n);return()=>cancelAnimationFrame(X)})(()=>{c.removeEventListener(l,o,!0),t()}),o=()=>{d(),t()};return c.addEventListener(l,o,{once:!0,capture:!0}),d}function pl(c,l,t,e=window){let b=[];try{e.document.addEventListener(c,l,t);for(let o of Array.from(e.frames))b.push(pl(c,l,t,o))}catch{}return()=>{try{e.document.removeEventListener(c,l,t)}catch{}for(let o of b)o()}}var F5="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 v$(c){return Number.parseInt(c.getAttribute("tabindex")||"0",10)<0}function Le(c){return!(!c.matches(F5)||!C$(c)||c.closest("[inert]"))}function Si(c){if(!Le(c)||v$(c))return!1;if(!("form"in c)||!c.form||c.checked||c.type!=="radio")return!0;let l=c.form.elements.namedItem(c.name);if(!l||!("length"in l))return!0;let t=wb(c);return!t||t===c||!("form"in t)||t.form!==c.form||t.name!==c.name}function v5(c,l){let t=Array.from(c.querySelectorAll(F5));l&&t.unshift(c);let e=t.filter(Le);return e.forEach((b,d)=>{if(!h5(b))return;let o=b.contentDocument?.body;o&&e.splice(d,1,...v5(o))}),e}function EX(c,l,t){let e=Array.from(c.querySelectorAll(F5)),b=e.filter(Si);return l&&Si(c)&&b.unshift(c),b.forEach((d,o)=>{if(!h5(d))return;let n=d.contentDocument?.body;if(!n)return;let X=EX(n,!1,t);b.splice(o,1,...X)}),!b.length&&t?e:b}function a9(c,l,t){let[e]=EX(c,l,t);return e||null}function N$(c,l,t,e){let b=wb(c),d=v5(c,l),o=d.indexOf(b),n=d.slice(o+1);return n.find(Si)||(t?d.find(Si):null)||(e?n[0]:null)||null}function Or(c,l){return N$(document.body,!1,c,l)}function f$(c,l,t,e){let b=wb(c),d=v5(c,l).reverse(),o=d.indexOf(b),n=d.slice(o+1);return n.find(Si)||(t?d.find(Si):null)||(e?n[0]:null)||null}function N5(c,l){return f$(document.body,!1,c,l)}function MX(c){let l=wb(c);if(!l)return!1;if(l===c)return!0;let t=l.getAttribute("aria-activedescendant");return t?t===c.id:!1}function Xb(c){let l=wb(c);if(!l)return!1;if(ll(c,l))return!0;let t=l.getAttribute("aria-activedescendant");return!t||!("id"in c)?!1:t===c.id?!0:!!c.querySelector(`#${CSS.escape(t)}`)}function S$(c){let l=c.getAttribute("tabindex")??"";c.setAttribute("data-tabindex",l),c.setAttribute("tabindex","-1")}function u9(c,l){let t=EX(c,l);for(let e of t)S$(e)}function m9(c){let l=c.querySelectorAll("[data-tabindex]"),t=e=>{let b=e.getAttribute("data-tabindex");e.removeAttribute("data-tabindex"),b?e.setAttribute("tabindex",b):e.removeAttribute("tabindex")};c.hasAttribute("data-tabindex")&&t(c);for(let e of l)t(e)}function s9(c,l){"scrollIntoView"in c?(c.focus({preventScroll:!0}),c.scrollIntoView({block:"nearest",inline:"nearest",...l})):c.focus()}function Ai(...c){}function x9(c,l){if(c===l)return!0;if(!c||!l||typeof c!="object"||typeof l!="object")return!1;let t=Object.keys(c),e=Object.keys(l),{length:b}=t;if(e.length!==b)return!1;for(let d of t)if(c[d]!==l[d])return!1;return!0}function r9(c,l){return k$(c)?c(z$(l)?l():l):c}function k$(c){return typeof c=="function"}function z$(c){return typeof c=="function"}function Ue(c,l){return typeof Object.hasOwn=="function"?Object.hasOwn(c,l):Object.prototype.hasOwnProperty.call(c,l)}function xl(...c){return(...l)=>{for(let t of c)typeof t=="function"&&t(...l)}}function g9(c){return c.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Z9(c,l){let t={...c};for(let e of l)Ue(t,e)&&delete t[e];return t}function H9(c,l){let t={};for(let e of l)Ue(c,e)&&(t[e]=c[e]);return t}function Qr(c){return c}function sc(c,l){if(!c)throw typeof l!="string"?new Error("Invariant failed"):new Error(l)}function R9(c){return Object.keys(c)}function Jo(c,...l){let t=typeof c=="function"?c(...l):c;return t==null?!1:!t}function Xt(c){return c.disabled||c["aria-disabled"]===!0||c["aria-disabled"]==="true"}function I9(c){return c.getAttribute("aria-disabled")==="true"||"disabled"in c&&c.disabled===!0}function il(c){let l={};for(let t in c)c[t]!==void 0&&(l[t]=c[t]);return l}function uc(...c){for(let l of c)if(l!==void 0)return l}function W9(c){return async()=>{let l=await c?.();return W9(async()=>(await l?.(),c))}}var nRc=A$();function A$({limit:c=100}={}){let l=[],t=[],e=null,b=()=>l.length>0,d=()=>t.length>0;return{canUndo:b,canRedo:d,undo:async()=>{b()&&(e=null,t.push(await l.pop()?.()))},redo:async()=>{d()&&(e=null,l.push(await t.pop()?.()))},execute:async(G,i)=>{if(!G)return;for(;l.length>c;)l.shift();let a=i===e;e=i??null;let m=a?Math.max(0,l.length-1):l.length,s=await G();if(!s)return;t=[];let x=l[m];l[m]=W9(async()=>{await s?.();let r=await x?.();return async()=>{await r?.(),await G?.()}})}}}var zt=u(M(),1),nl=u(M(),1),PX=u(J(),1);function Tr(c,l){typeof c=="function"?c(l):c&&(c.current=l)}function O$(c){return!c||!(0,nl.isValidElement)(c)?!1:"ref"in c.props||"ref"in c}function Q$(c){return O$(c)?{...c.props}.ref||c.ref:null}function w$(c,l){let t={...c};for(let e in l){if(!Ue(l,e))continue;if(e==="className"){let d="className",o=c[d],n=l[d];o&&n?t[d]=`${o} ${n}`:t[d]=n||o;continue}if(e==="style"){let d="style";t[d]=c[d]?{...c[d],...l[d]}:l[d];continue}let b=l[e];if(e.startsWith("on")){if(typeof b!="function")continue;let d=c[e];if(typeof d=="function"){t[e]=(...o)=>{b(...o),d(...o)};continue}}t[e]=b}return t}var f5={...zt},B9=f5.useId,aRc=f5.useDeferredValue,y9=f5.useInsertionEffect,hc=DX?nl.useLayoutEffect:nl.useEffect;function bm(c){let[l]=(0,nl.useState)(c);return l}function Dr(c){let l=(0,nl.useRef)(c);return hc(()=>{l.current=c}),l}function Xc(c){let l=(0,nl.useRef)(()=>{throw new Error("Cannot call an event handler while rendering.")});return y9?y9(()=>{l.current=c}):l.current=c,(0,nl.useCallback)((...t)=>l.current?.(...t),[])}function Lr(c){let[l,t]=(0,nl.useState)(null);return hc(()=>{if(l==null||!c)return;let e=null;return c(b=>(e=b,l)),()=>{c(e)}},[l,c]),[l,t]}function Bc(...c){return(0,nl.useMemo)(()=>{if(c.some(Boolean))return l=>{for(let t of c)Tr(t,l)}},c)}function tl(c){if(B9){let e=B9();return c||e}let[l,t]=(0,nl.useState)(c);return hc(()=>{c||l||t(`id-${Math.random().toString(36).slice(2,8)}`)},[c,l]),c||l}function fn(c,l){let t=d=>{if(typeof d=="string")return d},[e,b]=(0,nl.useState)(()=>t(l));return hc(()=>{b((c&&"current"in c?c.current:c)?.tagName.toLowerCase()||t(l))},[c,l]),e}function C9(c,l,t){let e=bm(t),[b,d]=(0,nl.useState)(e);return(0,nl.useEffect)(()=>{let o=c&&"current"in c?c.current:c;if(!o)return;let n=()=>{let G=o.getAttribute(l);d(G??e)},X=new MutationObserver(n);return X.observe(o,{attributeFilter:[l]}),n(),()=>X.disconnect()},[c,l,e]),b}function $t(c,l){let t=(0,nl.useRef)(!1);(0,nl.useEffect)(()=>{if(t.current)return c();t.current=!0},l),(0,nl.useEffect)(()=>()=>{t.current=!1},[])}function Oi(){return(0,nl.useReducer)(()=>[],[])}function _c(c){return Xc(typeof c=="function"?c:()=>c)}function Hc(c,l,t=[]){let e=(0,nl.useCallback)(b=>(c.wrapElement&&(b=c.wrapElement(b)),l(b)),[...t,c.wrapElement]);return{...c,wrapElement:e}}function Qi(c=!1,l){let[t,e]=(0,nl.useState)(null);return{portalRef:Bc(e,l),portalNode:t,domReady:!c||t}}function wi(c,l,t){let e=c.onLoadedMetadataCapture,b=(0,nl.useMemo)(()=>Object.assign(()=>{},e,...t!==void 0?[{[l]:t}]:[]),[e,l,t]);return[e?.[l],{onLoadedMetadataCapture:b}]}var V9=!1;function Ti(){return(0,nl.useEffect)(()=>{V9||(pl("mousemove",D$,!0),pl("mousedown",wr,!0),pl("mouseup",wr,!0),pl("keydown",wr,!0),pl("scroll",wr,!0),V9=!0)},[]),Xc(()=>S5)}var S5=!1,J9=0,h9=0;function T$(c){let l=c.movementX||c.screenX-J9,t=c.movementY||c.screenY-h9;return J9=c.screenX,h9=c.screenY,l||t||!1}function D$(c){T$(c)&&(S5=!0)}function wr(){S5=!1}function _(c){let l=zt.forwardRef((t,e)=>c({...t,ref:e}));return l.displayName=c.displayName||c.name,l}function Tl(c,l){return zt.memo(c,l)}function q(c,l){let{wrapElement:t,render:e,...b}=l,d=Bc(l.ref,Q$(e)),o;if(zt.isValidElement(e)){let n={...e.props,ref:d};o=zt.cloneElement(e,w$(b,n))}else e?o=e(b):o=(0,PX.jsx)(c,{...b});return t?t(o):o}function $(c){let l=(t={})=>c(t);return l.displayName=c.name,l}function el(c=[],l=[]){let t=zt.createContext(void 0),e=zt.createContext(void 0),b=()=>zt.useContext(t),d=(G=!1)=>{let i=zt.useContext(e),a=b();return G?i:i||a},o=()=>{let G=zt.useContext(e),i=b();if(!(G&&G===i))return i},n=G=>c.reduceRight((i,a)=>(0,PX.jsx)(a,{...G,children:i}),(0,PX.jsx)(t.Provider,{...G}));return{context:t,scopedContext:e,useContext:b,useScopedContext:d,useProviderContext:o,ContextProvider:n,ScopedContextProvider:G=>(0,PX.jsx)(n,{...G,children:l.reduceRight((i,a)=>(0,PX.jsx)(a,{...G,children:i}),(0,PX.jsx)(e.Provider,{...G}))})}}var Bt=u(M(),1),L$="div",U$=Symbol("accessibleWhenDisabled"),j$=zi(),E$=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"];function M$(c){let{tagName:l,readOnly:t,type:e}=c;return l==="TEXTAREA"&&!t||l==="SELECT"&&!t?!0:l==="INPUT"&&!t?E$.includes(e):!!(c.isContentEditable||c.getAttribute("role")==="combobox"&&c.dataset.name)}function P$(c){return c?c==="button"||c==="summary"||c==="input"||c==="select"||c==="textarea"||c==="a":!0}function K$(c){return c?c==="button"||c==="input"||c==="select"||c==="textarea":!0}var _$=["button","color","file","image","reset","submit"];function q$(c,l){return c==="button"?!0:c==="input"&&l?l==="checkbox"||l==="radio"?!0:_$.includes(l):!1}function $$(c){if(c.tagName==="BUTTON"){let{type:l}=c;return l==="submit"}if(c.tagName==="INPUT"){let{type:l}=c;return l==="submit"||l==="image"}return!1}function ccc({focusable:c,trulyDisabled:l,nativeTabbable:t,supportsDisabled:e,safariTabIndex:b,tabIndexProp:d}){return c?l?t&&!e?-1:void 0:t?b&&d==null?0:d:d??0:d}function k5(c,l){return Xc(t=>{c?.(t),!t.defaultPrevented&&l&&(t.stopPropagation(),t.preventDefault())})}var Y9=!1,z5=!0;function lcc(c){let l=c.target;yo(l)&&!l.hasAttribute("data-focus-visible")&&(z5=!1)}function tcc(c){c.metaKey||c.ctrlKey||c.altKey||(z5=!0)}var Tb=$(function({focusable:l=!0,accessibleWhenDisabled:t,autoFocus:e,onFocusVisible:b,...d}){let o=(0,Bt.useRef)(null),[n,X]=wi(d,U$,t);t??=n,(0,Bt.useEffect)(()=>{l&&(Y9||(pl("mousedown",lcc,!0),pl("keydown",tcc,!0),Y9=!0))},[l]);let G=l&&Xt(d),i=G&&!t,[a,m]=(0,Bt.useState)(!1),s=(0,Bt.useRef)(!1),x=(0,Bt.useRef)(null),r=Xc(v=>{x.current?.(),x.current=null,s.current=!1,v?.removeAttribute("data-focus-visible")});(0,Bt.useEffect)(()=>{l&&i&&(r(o.current),a&&m(!1))},[l,i,a,r]),(0,Bt.useEffect)(()=>{if(!l||!a)return;let v=o.current;if(!v||typeof IntersectionObserver>"u")return;let K=new IntersectionObserver(()=>{Le(v)||(s.current=!1,m(!1))});return K.observe(v),()=>K.disconnect()},[l,a]),(0,Bt.useEffect)(()=>()=>x.current?.(),[]);let g=k5(d.onKeyPressCapture,G),H=k5(d.onMouseDownCapture,G),Z=k5(d.onClickCapture,G),R=(v,K)=>{if(K&&(v.currentTarget=K),!l)return;let P=v.currentTarget;if(P&&MX(P)&&(b?.(v),!v.defaultPrevented)){if(P.dataset.focusVisible="true",s.current=!0,$$(P)){if(x.current?.(),x.current=null,typeof IntersectionObserver<"u"){let oc=new IntersectionObserver(()=>{Le(P)||r(P)});oc.observe(P),x.current=()=>oc.disconnect()}return}m(!0)}},W=d.onKeyDownCapture,I=Xc(v=>{if(W?.(v),v.defaultPrevented||!l||a||s.current||v.metaKey||v.altKey||v.ctrlKey||!wl(v))return;let K=v.currentTarget;jX(K,"focusout",()=>R(v,K))}),p=d.onFocusCapture,B=Xc(v=>{if(p?.(v),v.defaultPrevented||!l)return;if(!wl(v)){m(!1);return}let K=v.currentTarget,P=()=>R(v,K);z5||M$(v.target)?jX(v.target,"focusout",P):m(!1)}),y=d.onBlur,C=Xc(v=>{y?.(v),l&&Nn(v)&&(r(v.currentTarget),m(!1))}),V=(0,Bt.useContext)(Yr),h=Xc(v=>{l&&e&&v&&V&&queueMicrotask(()=>{MX(v)||Le(v)&&v.focus()})}),Y=fn(o),N=l&&P$(Y),A=l&&K$(Y),[w,z]=(0,Bt.useState)(!1);j$&&(0,Bt.useEffect)(()=>{if(!l)return;let v=o.current;if(!v)return;let K=v.tagName.toLowerCase(),P=v.type;z(q$(K,P))},[l]);let f=d.style,L=(0,Bt.useMemo)(()=>i?{pointerEvents:"none",...f}:f,[i,f]);return d={"data-focus-visible":l&&a||void 0,"data-autofocus":e||void 0,"aria-disabled":G||void 0,...d,...X,ref:Bc(o,h,d.ref),style:L,tabIndex:ccc({focusable:l,trulyDisabled:i,nativeTabbable:N,supportsDisabled:A,safariTabIndex:w,tabIndexProp:d.tabIndex}),disabled:A&&i?!0:void 0,contentEditable:G?void 0:d.contentEditable,onKeyPressCapture:g,onClickCapture:Z,onMouseDownCapture:H,onKeyDownCapture:I,onFocusCapture:B,onBlur:C},il(d)}),rRc=_(function(l){return q(L$,Tb(l))});var Sn=u(M(),1),ecc="button";function F9(c){if(!c.isTrusted)return!1;let l=c.currentTarget;return c.key==="Enter"?Vo(l)||l.tagName==="SUMMARY"||l.tagName==="A":c.key===" "?Vo(l)||l.tagName==="SUMMARY"||l.tagName==="INPUT"||l.tagName==="SELECT":!1}var bcc=Symbol("command"),KX=$(function({clickOnEnter:l=!0,clickOnSpace:t=!0,...e}){let b=(0,Sn.useRef)(null),[d,o]=(0,Sn.useState)(!1);(0,Sn.useEffect)(()=>{b.current&&o(Vo(b.current))},[]);let[n,X]=(0,Sn.useState)(!1),G=(0,Sn.useRef)(!1),i=Xt(e),[a,m]=wi(e,bcc,!0),s=e.onKeyDown,x=Xc(H=>{s?.(H);let Z=H.currentTarget;if(H.defaultPrevented||a||i||!wl(H)||qt(Z)||Z.isContentEditable)return;let R=l&&H.key==="Enter",W=t&&H.key===" ",I=H.key==="Enter"&&!l,p=H.key===" "&&!t;if(I||p){H.preventDefault();return}if(R||W){let B=F9(H);if(R){if(!B){H.preventDefault();let{view:y,...C}=H,V=()=>Y5(Z,C);o9()?jX(Z,"keyup",V):queueMicrotask(V)}}else W&&(G.current=!0,B||(H.preventDefault(),X(!0)))}}),r=e.onKeyUp,g=Xc(H=>{if(r?.(H),H.defaultPrevented||a||i||H.metaKey)return;let Z=t&&H.key===" ";if(G.current&&Z&&(G.current=!1,!F9(H))){H.preventDefault(),X(!1);let R=H.currentTarget,{view:W,...I}=H;queueMicrotask(()=>Y5(R,I))}});return e={"data-active":n||void 0,type:d?"button":void 0,...m,...e,ref:Bc(b,e.ref),onKeyDown:x,onKeyUp:g},e=Tb(e),e}),IRc=_(function(l){return q(ecc,KX(l))});var dm=el(),v9=dm.useContext,BRc=dm.useScopedContext,yRc=dm.useProviderContext,N9=dm.ContextProvider,f9=dm.ScopedContextProvider;var Ur=u(M(),1),dcc="div",om=$(function({store:l,shouldRegisterItem:t=!0,getItem:e=Qr,element:b,...d}){let o=v9();l=l||o;let n=tl(d.id),X=(0,Ur.useRef)(b);return(0,Ur.useEffect)(()=>{let G=X.current;if(!n||!G||!t)return;let i=e({id:n,element:G});return l?.renderItem(i)},[n,t,e,l]),d={...d,ref:Bc(X,d.ref)},il(d)}),YRc=_(function(l){return q(dcc,om(l))});var A5=u(M(),1),nm=el([N9],[f9]),occ=nm.useContext,Vd=nm.useScopedContext,S9=nm.useProviderContext,pe=nm.ContextProvider,At=nm.ScopedContextProvider,k9=(0,A5.createContext)(void 0),jr=(0,A5.createContext)(void 0);var ncc={id:null};function z9(c,l,t=!1){let e=c.findIndex(b=>b.id===l);return[...c.slice(e+1),...t?[ncc]:[],...c.slice(0,e)]}function A9(c,l){return c.find(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function Jd(c,l){return l&&c.item(l)||null}function O9(c){let l=[];for(let t of c){let e=l.find(b=>b[0]?.rowId===t.rowId);e?e.push(t):l.push([t])}return l}function Q9(c,l=!1){if(qt(c))c.setSelectionRange(l?c.value.length:0,c.value.length);else if(c.isContentEditable){let t=fc(c).getSelection();t?.selectAllChildren(c),l&&t?.collapseToEnd()}}var O5=Symbol("FOCUS_SILENTLY");function w9(c){c[O5]=!0,c.focus({preventScroll:!0})}function T9(c){let l=c[O5];return delete c[O5],l}function _X(c,l,t){if(!l||l===t)return!1;let e=c.item(l.id);return!(!e||t&&e.element===t)}var Co=u(M(),1),K9=u(J(),1);function qX(c,l){let t=c.__unstableInternals;return sc(t,"Invalid store"),t[l]}function Xcc(c,l){if(!c)return!0;for(let t of c)if(l instanceof Set){if(l.has(t))return!0}else if(t===l)return!0;return!1}function Gcc(c,l,t){if(l)for(let e of l){let b=c.get(e);b||(b=new Set,c.set(e,b)),b.add(t)}}function icc(c,l,t){if(c&&l)for(let e of l){let b=c.get(e);b&&(b.delete(t),b.size||c.delete(e))}}function al(c,...l){let t=c,e=t,b=Ai,d=!1,o=!1,n=new Set,X=new Set,G=new Set,i={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},a={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},m=V=>(G.add(V),()=>G.delete(V)),s=()=>{let V=X.size,h=Symbol();X.add(h);let Y=()=>{X.delete(h),!X.size&&b()};if(V)return Y;let N=R9(t),A=[];for(let f of l){let L=f?.getState?.();if(!L)continue;let v=N.filter(P=>Ue(L,P));if(!v.length)continue;if(l.length===1||v.length===N.length){for(let P of v)A.push(Lc(f,[P],oc=>{y(P,oc[P],!0)}));continue}let K=!1;A.push(Lc(f,v,(P,oc)=>{for(let E of v)K&&P[E]===oc[E]||y(E,P[E],!0);K=!0}))}let w=[];for(let f of G)w.push(f());let z=l.map(Xm);return b=xl(...A,...w,...z),Y},x=(V,h,Y)=>{Y!==void 0&&(Y?icc(V.listenersByKey,Y,h):V.allKeysListeners?.delete(h))},r=(V,h,Y=i)=>{let N=V?[...V]:null;return Y.listeners.has(h)&&x(Y,h,Y.listenerKeys.get(h)),Y.listeners.add(h),N?(Y.listenersByKey??=new Map,Gcc(Y.listenersByKey,N,h)):(Y.allKeysListeners??=new Set,Y.allKeysListeners.add(h)),Y.listenerKeys.set(h,N),()=>{Y.disposables.get(h)?.(),Y.disposables.delete(h);let A=Y.listenerKeys.get(h);x(Y,h,N),A!==N&&x(Y,h,A),Y.listenerKeys.delete(h),Y.listeners.delete(h)}},g=(V,h)=>r(V,h),H=(V,h,Y)=>{Y?V.disposables.set(h,Y):V.disposables.delete(h)},Z=(V,h)=>(H(i,h,h(t,t)),r(V,h)),R=(V,h)=>(!a.listeners.size&&!o&&(e=t),H(a,h,h(t,e)),r(V,h,a)),W=V=>al(H9(t,V),C),I=V=>al(Z9(t,V),C),p=()=>t,B=(V,h,Y)=>{let{disposables:N}=V;if(!(Y instanceof Set)&&!V.allKeysListeners?.size){let w=V.listenersByKey?.get(Y);if(!w)return;for(let z of w){let f=N.size?N.get(z):void 0;f&&f();let L=z(t,h);L?N.set(z,L):f&&N.delete(z)}return}let A=V.allKeysListeners;for(let w of V.listeners){if(!A?.has(w)&&!Xcc(V.listenerKeys.get(w),Y))continue;let z=N.size?N.get(w):void 0;z&&z();let f=w(t,h);f?N.set(w,f):z&&N.delete(w)}},y=(V,h,Y=!1)=>{if(!Ue(t,V))return;let N=t[V],A=typeof h=="function"?h(N):h;if(A===N)return;if(!Y&&l.length)for(let f of l)f?.setState?.(V,A);let w=t;t={...t,[V]:A};let z=o;o=!0;try{B(i,w,V)}finally{o=z}if(!a.listeners.size){o||(e=t);return}n.add(V),!d&&(d=!0,queueMicrotask(()=>{d=!1;let f=t,L=n;n=new Set;let v=e;B(a,v,L),e===v&&(e=f)}))},C={getState:p,setState:y,__unstableInternals:{setup:m,init:s,subscribe:g,sync:Z,batch:R,pick:W,omit:I}};return C}function Bl(c,...l){if(c)return qX(c,"setup")(...l)}function Xm(c,...l){if(c)return qX(c,"init")(...l)}function Gm(c,...l){if(c)return qX(c,"subscribe")(...l)}function Lc(c,...l){if(c)return qX(c,"sync")(...l)}function ho(c,...l){if(c)return qX(c,"batch")(...l)}function Db(c,...l){if(c)return qX(c,"omit")(...l)}function D9(c,...l){if(c)return qX(c,"pick")(...l)}function hd(...c){let l={};for(let e of c){let b=e?.getState?.();b&&Object.assign(l,b)}let t=al(l,...c);return Object.assign({},...c,t)}var Cd=u(M(),1),w5=u(E9(),1),M9=()=>()=>{};function U(c,l=Qr){let t=Cd.useCallback(b=>c?Gm(c,null,b):M9(),[c]),e=()=>{let b=typeof l=="string"?l:null,d=typeof l=="function"?l:null,o=c?.getState();if(d)return d(o);if(o&&b&&Ue(o,b))return o[b]};return(0,w5.useSyncExternalStore)(t,e,e)}function Er(c,l){let t=Cd.useRef({}),e=Cd.useCallback(d=>c?Gm(c,null,d):M9(),[c]),b=()=>{let d=c?.getState(),o=!1,n=t.current;for(let X in l){let G=l[X];if(typeof G=="function"){let i=G(d);i!==n[X]&&(n[X]=i,o=!0)}if(typeof G=="string"){if(!d||!Ue(d,G))continue;let i=d[G];i!==n[X]&&(n[X]=i,o=!0)}}return o&&(t.current={...n}),t.current};return(0,w5.useSyncExternalStore)(e,b,b)}function Oc(c,l,t,e){let b=Ue(l,t)?l[t]:void 0,d=Dr({value:b,setValue:e?l[e]:void 0});hc(()=>Lc(c,[t],(o,n)=>{let{value:X,setValue:G}=d.current;G&&o[t]!==n[t]&&o[t]!==X&&G(o[t])}),[c,t]),hc(()=>{if(b!==void 0)return c.setState(t,b),ho(c,[t],()=>{b!==void 0&&c.setState(t,b)})})}function yl(c,l){let[t,e]=Cd.useState(()=>c(l));hc(()=>Xm(t),[t]);let b=Cd.useCallback(d=>U(t,d),[t]);return[Cd.useMemo(()=>({...t,useState:b}),[t,b]),Xc(()=>{e(d=>c({...l,...d.getState()}))})]}var Rcc="button";function Icc(c){return fr(c)?!0:c.tagName==="INPUT"&&!Vo(c)}function Wcc(c,l=!1){let t=c.clientHeight,{top:e}=c.getBoundingClientRect(),b=Math.max(t*.875,t-40)*1.5,d=l?t-b+e:b+e;return c.tagName==="HTML"?d+c.scrollTop:d}function pcc(c,l=!1){let{top:t}=c.getBoundingClientRect();return l?t+c.clientHeight:t}function P9(c,l,t,e=!1){if(!l||!t)return;let{renderedItems:b}=l.getState(),d=C5(c);if(!d)return;let o=Wcc(d,e),n,X;for(let G=0;G<b.length;G+=1){let i=n;if(n=t(G),!n)break;if(n===i)continue;let a=Jd(l,n)?.element;if(!a)continue;let m=pcc(a,e)-o,s=Math.abs(m);if(e&&m<=0||!e&&m>=0){X!==void 0&&X<s&&(n=i);break}X=s}return n}function Bcc(c,l){return wl(c)?!1:_X(l,c.target)}var Lb=$(function({store:l,rowId:t,preventScrollOnKeyDown:e=!1,moveOnKeyPress:b=!0,tabbable:d=!1,getItem:o,"aria-setsize":n,"aria-posinset":X,...G}){let i=Vd();l=l||i;let a=tl(G.id),m=(0,Co.useRef)(null),s=(0,Co.useContext)(jr),x=Xt(G)&&!G.accessibleWhenDisabled,{rowId:r,baseElement:g,isActiveItem:H,ariaSetSize:Z,ariaPosInSet:R,isTabbable:W}=Er(l,{rowId(z){if(t)return t;if(z&&s?.baseElement&&s.baseElement===z.baseElement)return s.id},baseElement(z){return z?.baseElement||void 0},isActiveItem(z){return!!z&&z.activeId===a},ariaSetSize(z){if(n!=null)return n;if(z&&s?.ariaSetSize&&s.baseElement===z.baseElement)return s.ariaSetSize},ariaPosInSet(z){if(X!=null)return X;if(!z||!s?.ariaPosInSet||s.baseElement!==z.baseElement)return;let f=z.renderedItems.filter(L=>L.rowId===r);return s.ariaPosInSet+f.findIndex(L=>L.id===a)},isTabbable(z){if(!z?.renderedItems.length)return!0;if(z.virtualFocus)return!1;if(d)return!0;if(z.activeId===null)return!1;let f=l?.item(z.activeId);return f?.disabled||!f?.element?!0:z.activeId===a}}),I=(0,Co.useCallback)(z=>{let f={...z,id:a||z.id,rowId:r,disabled:x,children:z.element?.textContent};return o?o(f):f},[a,r,x,o]),p=G.onFocus,B=(0,Co.useRef)(!1),y=Xc(z=>{if(p?.(z),z.defaultPrevented||X9(z)||!a||!l||Bcc(z,l))return;let{virtualFocus:f,baseElement:L}=l.getState();l.setActiveId(a),fr(z.currentTarget)&&Q9(z.currentTarget),f&&wl(z)&&(Icc(z.currentTarget)||L?.isConnected&&(zi()&&z.currentTarget.hasAttribute("data-autofocus")&&z.currentTarget.scrollIntoView({block:"nearest",inline:"nearest"}),B.current=!0,z.relatedTarget===L||_X(l,z.relatedTarget)?w9(L):L.focus()))}),C=G.onBlurCapture,V=Xc(z=>{C?.(z),!z.defaultPrevented&&l?.getState()?.virtualFocus&&B.current&&(B.current=!1,z.preventDefault(),z.stopPropagation())}),h=G.onKeyDown,Y=_c(e),N=_c(b),A=Xc(z=>{if(h?.(z),z.defaultPrevented||!wl(z)||!l)return;let{currentTarget:f}=z,L=l.getState(),v=!!l.item(a)?.rowId,K=L.orientation!=="horizontal",P=L.orientation!=="vertical",oc=()=>!!(v||P||!L.baseElement||!qt(L.baseElement)),E={ArrowUp:(v||K)&&l.up,ArrowRight:(v||P)&&l.next,ArrowDown:(v||K)&&l.down,ArrowLeft:(v||P)&&l.previous,Home:()=>{if(oc())return!v||z.ctrlKey?l?.first():l?.previous(-1)},End:()=>{if(oc())return!v||z.ctrlKey?l?.last():l?.next(-1)},PageUp:()=>P9(f,l,l?.up,!0),PageDown:()=>P9(f,l,l?.down)}[z.key];if(E){if(fr(f)){let j=d9(f),nc=P&&z.key==="ArrowLeft",Ic=P&&z.key==="ArrowRight",Jc=K&&z.key==="ArrowUp",vc=K&&z.key==="ArrowDown";if(Ic||vc){let{length:Ql}=b9(f);if(j.end!==Ql)return}else if((nc||Jc)&&j.start!==0)return}let dc=E();if(Y(z)||dc!==void 0){if(!N(z))return;z.preventDefault(),l.move(dc)}}}),w=(0,Co.useMemo)(()=>({id:a,baseElement:g}),[a,g]);return G=Hc(G,z=>(0,K9.jsx)(k9.Provider,{value:w,children:z}),[w]),G={"data-active-item":H||void 0,...G,id:a,ref:Bc(m,G.ref),tabIndex:W?G.tabIndex:-1,onFocus:y,onBlurCapture:V,onKeyDown:A},G=KX(G),G=om({store:l,...G,getItem:I,shouldRegisterItem:a?G.shouldRegisterItem:!1}),il({...G,"aria-setsize":Z,"aria-posinset":R})}),$X=Tl(_(function(l){return q(Rcc,Lb(l))}));var im=el([pe],[At]),ycc=im.useContext,_9=im.useScopedContext,Mr=im.useProviderContext,lIc=im.ContextProvider,Pr=im.ScopedContextProvider;var q9=u(M(),1),T5=u(J(),1);var Vcc="button",Jcc=$(function({store:l,getItem:t,...e}){let b=_9();l=l||b,sc(l,!1);let d=tl(),o=e.id||d,n=Xt(e),X=(0,q9.useCallback)(Z=>{let R={...Z,dimmed:n};return t?t(R):R},[n,t]),G=e.onClick,i=Xc(Z=>{G?.(Z),!Z.defaultPrevented&&l?.setSelectedId(o)}),a=U(l.panels,Z=>Z.items.find(R=>R.tabId===o)?.id),m=d?e.shouldRegisterItem:!1,s=U(l,Z=>!!o&&Z.activeId===o),x=U(l,Z=>!!o&&Z.selectedId===o),r=U(l,Z=>!!l.item(Z.activeId)),g=s||x&&!r,H=x||(e.accessibleWhenDisabled??!0);if(U(l.combobox||l.composite,"virtualFocus")&&(e={...e,tabIndex:-1}),e={role:"tab","aria-selected":x,"aria-controls":a||void 0,...e,id:o,onClick:i},l.composite){let Z={id:o,accessibleWhenDisabled:H,store:l.composite,shouldRegisterItem:g&&m,rowId:e.rowId,render:e.render};e={...e,render:(0,T5.jsx)($X,{...Z,render:l.combobox&&l.composite!==l.combobox?(0,T5.jsx)($X,{...Z,store:l.combobox}):Z.render})}}return e=Lb({store:l,...e,accessibleWhenDisabled:H,getItem:X,shouldRegisterItem:m}),e}),Li=Tl(_(function(l){return q(Vcc,Jcc(l))}));var Yd=u(M(),1),cF=u(J(),1);var hcc="div";function Ccc(c){return c.some(l=>!!l.rowId)}function Ycc(c){let l=c.target;return l&&!qt(l)?!1:c.key.length===1&&!c.ctrlKey&&!c.metaKey}function Fcc(c){return c.key==="Shift"||c.key==="Control"||c.key==="Alt"||c.key==="Meta"}function $9(c,l,t){return Xc(e=>{if(l?.(e),e.defaultPrevented||e.isPropagationStopped()||!wl(e)||Fcc(e)||Ycc(e))return;let b=Jd(c,c.getState().activeId)?.element;if(!b)return;let{view:d,...o}=e;b!==t?.current&&b.focus(),i9(b,e.type,o)||e.preventDefault(),e.currentTarget.contains(b)&&e.stopPropagation()})}function vcc(c){return A9(vr(em(O9(c))))}function lF(c,l){let{virtualFocus:t,baseElement:e}=c.getState();if(!t||!e||!qt(e)){l();return}let b=e.scrollLeft,d=e.scrollTop;l(),e.scrollLeft=b,e.scrollTop=d}function Ncc(c){let[l,t]=(0,Yd.useState)(!1),e=(0,Yd.useCallback)(()=>t(!0),[]),b=U(c,d=>Jd(c,d.activeId));return(0,Yd.useEffect)(()=>{let d=b?.element;l&&d&&(t(!1),lF(c,()=>{d.focus({preventScroll:!0})}))},[c,b,l]),e}var Ub=$(function({store:l,composite:t=!0,focusOnMove:e=t,moveOnKeyPress:b=!0,...d}){let o=S9();l=l||o,sc(l,!1);let n=(0,Yd.useRef)(null),X=(0,Yd.useRef)(null),G=Ncc(l),i=U(l,"moves"),[,a]=Lr(t?l.setBaseElement:null);(0,Yd.useEffect)(()=>{if(!l||!i||!t||!e)return;let{activeId:C}=l.getState(),V=Jd(l,C)?.element;V&&lF(l,()=>s9(V))},[l,i,t,e]),hc(()=>{if(!l||!i||!t)return;let{baseElement:C,activeId:V}=l.getState();if(V!==null||!C)return;let h=X.current;X.current=null,h&&UX(h,{relatedTarget:C}),MX(C)||C.focus()},[l,i,t]);let m=U(l,"activeId"),s=U(l,"virtualFocus");hc(()=>{if(!l||!t||!s)return;let C=X.current;if(X.current=null,!C)return;let V=Jd(l,m)?.element||wb(C);V!==C&&UX(C,{relatedTarget:V})},[l,m,s,t]);let x=$9(l,d.onKeyDownCapture,X),r=$9(l,d.onKeyUpCapture,X),g=d.onFocusCapture,H=Xc(C=>{if(g?.(C),C.defaultPrevented||!l)return;let{virtualFocus:V}=l.getState();if(!V)return;let h=C.relatedTarget,Y=T9(C.currentTarget);wl(C)&&Y&&(C.stopPropagation(),X.current=h)}),Z=d.onFocus,R=Xc(C=>{if(Z?.(C),C.defaultPrevented||!t||!l)return;let{relatedTarget:V}=C,{virtualFocus:h}=l.getState();h?wl(C)&&!_X(l,V)&&queueMicrotask(G):wl(C)&&l.setActiveId(null)}),W=d.onBlurCapture,I=Xc(C=>{if(W?.(C),C.defaultPrevented||!l)return;let{virtualFocus:V,activeId:h}=l.getState();if(!V)return;let Y=Jd(l,h)?.element,N=C.relatedTarget,A=_X(l,N),w=X.current;X.current=null,wl(C)&&A?(N===Y?w&&w!==N&&UX(w,C):Y?UX(Y,C):w&&UX(w,C),C.stopPropagation()):!_X(l,C.target)&&Y&&UX(Y,C)}),p=d.onKeyDown,B=_c(b),y=Xc(C=>{if(p?.(C),C.nativeEvent.isComposing||C.defaultPrevented||!l||!wl(C))return;let{orientation:V,renderedItems:h,activeId:Y}=l.getState();if(Jd(l,Y)?.element?.isConnected)return;let N=V!=="horizontal",A=V!=="vertical",w=Ccc(h);if((C.key==="ArrowLeft"||C.key==="ArrowRight"||C.key==="Home"||C.key==="End")&&qt(C.currentTarget))return;let f={ArrowUp:(w||N)&&(()=>w?vcc(h)?.id:l?.last()),ArrowRight:(w||A)&&l.first,ArrowDown:(w||N)&&l.first,ArrowLeft:(w||A)&&l.last,Home:l.first,End:l.last,PageUp:l.first,PageDown:l.last}[C.key];if(f){let L=f();if(L!==void 0){if(!B(C))return;C.preventDefault(),l.move(L)}}});return d=Hc(d,C=>(0,cF.jsx)(At,{value:l,children:C}),[l]),d={"aria-activedescendant":U(l,C=>{if(l&&t&&C.virtualFocus)return Jd(l,C.activeId)?.id}),...d,ref:Bc(n,a,d.ref),onKeyDownCapture:x,onKeyUpCapture:r,onFocusCapture:H,onFocus:R,onBlurCapture:I,onKeyDown:y},d=Tb({focusable:U(l,C=>t&&(C.virtualFocus||C.activeId===null)),...d}),d}),Kr=_(function(l){return q(hcc,Ub(l))});var tF=u(J(),1);var fcc="div",Scc=$(function({store:l,...t}){let e=Mr();l=l||e,sc(l,!1);let b=U(l,d=>d.orientation==="both"?void 0:d.orientation);return t=Hc(t,d=>(0,tF.jsx)(Pr,{value:l,children:d}),[l]),l.composite&&(t={focusable:!1,...t}),t={role:"tablist","aria-orientation":b,...t},t=Ub({store:l,...t}),t}),Ui=_(function(l){return q(fcc,Scc(l))});var am=el(),kcc=am.useContext,pIc=am.useScopedContext,um=am.useProviderContext,eF=am.ContextProvider,bF=am.ScopedContextProvider;var D5=u(M(),1),mm=el([eF],[bF]),JIc=mm.useContext,hIc=mm.useScopedContext,cG=mm.useProviderContext,dF=mm.ContextProvider,ji=mm.ScopedContextProvider,oF=(0,D5.createContext)(void 0),nF=(0,D5.createContext)(void 0);var lG=u(M(),1),L5=u(J(),1);var aF=u(Ei(),1),zcc="div";function GF(c,l){let t=setTimeout(l,c);return()=>clearTimeout(t)}function Acc(c){let l=requestAnimationFrame(()=>{l=requestAnimationFrame(c)});return()=>cancelAnimationFrame(l)}function iF(...c){return c.join(", ").split(", ").reduce((l,t)=>{let e=t.endsWith("ms")?1:1e3,b=Number.parseFloat(t||"0s")*e;return b>l?b:l},0)}function tG(c,l,t){return!t&&l!==!1&&(!c||!!l)}var eG=$(function({store:l,alwaysVisible:t,...e}){let b=um();l=l||b,sc(l,!1);let d=(0,lG.useRef)(null),o=tl(e.id),[n,X]=(0,lG.useState)(null),G=U(l,"open"),i=U(l,"mounted"),a=U(l,"animated"),m=U(l,"contentElement"),s=U(l.disclosure,"contentElement"),x=(0,lG.useRef)(!1);hc(()=>{d.current&&l?.setContentElement(d.current)},[l]),hc(()=>{let Z;return l?.setState("animated",R=>(Z=R,!0)),()=>{Z!==void 0&&l?.setState("animated",Z)}},[l]),hc(()=>{if(!a){G?x.current&&(x.current=!1,X("enter")):(x.current=!0,X(null));return}if(!m?.isConnected){X(null);return}return Acc(()=>{X(G?"enter":i?"leave":null)})},[a,m,G,i]),hc(()=>{if(!l||!a||!n||!m)return;let Z=()=>l?.setState("animating",!1),R=()=>(0,aF.flushSync)(Z);if(n==="leave"&&G||n==="enter"&&!G)return;if(typeof a=="number")return GF(a,R);let{transitionDuration:W,animationDuration:I,transitionDelay:p,animationDelay:B}=getComputedStyle(m),{transitionDuration:y="0",animationDuration:C="0",transitionDelay:V="0",animationDelay:h="0"}=s?getComputedStyle(s):{},Y=iF(p,B,V,h)+iF(W,I,y,C);if(!Y){n==="enter"&&l.setState("animated",!1),Z();return}return GF(Math.max(Y-1e3/60,0),R)},[l,a,m,s,G,n]),e=Hc(e,Z=>(0,L5.jsx)(ji,{value:l,children:Z}),[l]);let r=tG(i,e.hidden,t),g=e.style,H=(0,lG.useMemo)(()=>r?{...g,display:"none"}:g,[r,g]);return e={"data-open":G||void 0,"data-enter":n==="enter"||void 0,"data-leave":n==="leave"||void 0,hidden:r,...e,id:o,ref:Bc(o?l.setContentElement:null,d,e.ref),style:H},il(e)}),Occ=_(function(l){return q(zcc,eG(l))}),_r=_(function({unmountOnHide:l,...t}){let e=um();return U(t.store||e,b=>!l||b?.mounted)===!1?null:(0,L5.jsx)(Occ,{...t})});function qr(c={}){let l=hd(c.store,Db(c.disclosure,["contentElement","disclosureElement"]));let t=l?.getState(),e=uc(c.open,t?.open,c.defaultOpen,!1),b=uc(c.animated,t?.animated,!1),d=al({open:e,animated:b,animating:!!b&&e,mounted:e,contentElement:uc(t?.contentElement,null),disclosureElement:uc(t?.disclosureElement,null)},l);return Bl(d,()=>Lc(d,["animated","animating"],o=>{o.animated||d.setState("animating",!1)})),Bl(d,()=>Gm(d,["open"],()=>{d.getState().animated&&d.setState("animating",!0)})),Bl(d,()=>Lc(d,["open","animating"],o=>{d.setState("mounted",o.open||o.animating)})),{...d,disclosure:c.disclosure,setOpen:o=>d.setState("open",o),show:()=>d.setState("open",!0),hide:()=>d.setState("open",!1),toggle:()=>d.setState("open",o=>!o),stopAnimation:()=>d.setState("animating",!1),setContentElement:o=>d.setState("contentElement",o),setDisclosureElement:o=>d.setState("disclosureElement",o)}}function U5(c,l,t){return $t(l,[t.store,t.disclosure]),Oc(c,t,"open","setOpen"),Oc(c,t,"mounted","setMounted"),Oc(c,t,"animated"),Object.assign(c,{disclosure:t.disclosure})}function kn(c={}){let[l,t]=yl(qr,c);return U5(l,t,c)}var Yo=u(M(),1),uF=u(J(),1);var wcc="div",Tcc=$(function({store:l,unmountOnHide:t,tabId:e,getItem:b,scrollRestoration:d,scrollElement:o,...n}){let X=Mr();l=l||X,sc(l,!1);let G=(0,Yo.useRef)(null),i=tl(n.id),a=U(l.panels,()=>e||l?.panels.item(i)?.tabId),m=kn({open:U(l,I=>!!a&&I.selectedId===a)}),s=U(m,"mounted"),x=(0,Yo.useRef)(new Map),r=Xc(()=>{let I=G.current;return I?o?typeof o=="function"?o(I):"current"in o?o.current:o:I:null});(0,Yo.useEffect)(()=>{if(!d||!s)return;let I=r();if(!I)return;if(d==="reset"){I.scroll(0,0);return}if(!a)return;let p=x.current.get(a);I.scroll(p?.x??0,p?.y??0);let B=()=>{x.current.set(a,{x:I.scrollLeft,y:I.scrollTop})};return I.addEventListener("scroll",B),()=>{I.removeEventListener("scroll",B)}},[d,s,a,r]);let[g,H]=(0,Yo.useState)(!1);hc(()=>{if(!s)return;let I=G.current;I&&H(!!EX(I).length)},[s]);let Z=(0,Yo.useCallback)(I=>{let p={...I,id:i||I.id,tabId:e};return b?b(p):p},[i,e,b]),R=n.onKeyDown,W=Xc(I=>{if(R?.(I),I.defaultPrevented||!l?.composite)return;let p={ArrowLeft:l.previous,ArrowRight:l.next,Home:l.first,End:l.last}[I.key];if(!p)return;let{selectedId:B}=l.getState(),y=p({activeId:B});y&&(I.preventDefault(),l.move(y))});return n=Hc(n,I=>(0,uF.jsx)(Pr,{value:l,children:I}),[l]),n={role:"tabpanel","aria-labelledby":n["aria-label"]!=null?void 0:a||void 0,...n,id:i,children:t&&!s?null:n.children,ref:Bc(G,n.ref),onKeyDown:W},n=Tb({focusable:!l.composite&&!g,...n}),n=eG({store:m,...n}),n=om({store:l.panels,...n,getItem:Z}),n}),Mi=_(function(l){return q(wcc,Tcc(l))});var xm=el([dF],[ji]),mF=xm.useContext,$Ic=xm.useScopedContext,bG=xm.useProviderContext,Pi=xm.ContextProvider,Fd=xm.ScopedContextProvider;var $r=u(M(),1),bWc=(0,$r.createContext)(void 0),rm=el([Pi,pe],[Fd,At]),sF=rm.useContext,dWc=rm.useScopedContext,cg=rm.useProviderContext,oWc=rm.ContextProvider,nWc=rm.ScopedContextProvider,XWc=(0,$r.createContext)(void 0),GWc=(0,$r.createContext)(!1);function Dcc(c){let l=c.find(b=>!!b.element),t=[...c].reverse().find(b=>!!b.element)?.element,e=l?.element?.parentElement;if(!t)return fc(e).body;for(;e;){if(e.contains(t))return e;e=e.parentElement}return fc(e).body}function Lcc(c){return c?.__unstablePrivateStore}function lg(c={}){c.store;let l=c.store?.getState(),t=uc(c.items,l?.items,c.defaultItems,[]),e=new Map(t.map(a=>[a.id,a])),b={items:t,renderedItems:uc(l?.renderedItems,[])},d=Lcc(c.store),o=al({items:t,renderedItems:b.renderedItems},d),n=al(b,c.store),X=a=>{let m=Sr(a,s=>s.element);o.setState("renderedItems",m),n.setState("renderedItems",m)};Bl(n,()=>Xm(o)),Bl(o,()=>ho(o,["items"],a=>{n.setState("items",a.items)})),Bl(o,()=>ho(o,["renderedItems"],a=>{let m=!0,s=requestAnimationFrame(()=>{let{renderedItems:H}=n.getState();a.renderedItems!==H&&X(a.renderedItems)});if(typeof IntersectionObserver!="function")return()=>cancelAnimationFrame(s);let x=()=>{if(m){m=!1;return}cancelAnimationFrame(s),s=requestAnimationFrame(()=>X(a.renderedItems))},r=Dcc(a.renderedItems),g=new IntersectionObserver(x,{root:r});for(let H of a.renderedItems)H.element&&g.observe(H.element);return()=>{cancelAnimationFrame(s),g.disconnect()}}));let G=(a,m,s=!1)=>{let x;return m(g=>{let H=g.findIndex(({id:R})=>R===a.id),Z=g.slice();if(H!==-1){x=g[H];let R={...x,...a};Z[H]=R,e.set(a.id,R)}else Z.push(a),e.set(a.id,a);return Z}),()=>{m(g=>{if(!x)return s&&e.delete(a.id),g.filter(({id:R})=>R!==a.id);let H=g.findIndex(({id:R})=>R===a.id);if(H===-1)return g;let Z=g.slice();return Z[H]=x,e.set(a.id,x),Z})}},i=a=>G(a,m=>o.setState("items",m),!0);return{...n,registerItem:i,renderItem:a=>xl(i(a),G(a,m=>o.setState("renderedItems",m))),item:a=>{if(!a)return null;let m=e.get(a);if(!m){let{items:s}=o.getState();m=s.find(x=>x.id===a),m&&e.set(a,m)}return m||null},__unstablePrivateStore:o}}function xF(c,l,t){return $t(l,[t.store]),Oc(c,t,"items","setItems"),c}var Ucc={id:null};function Fo(c,l){return c.find(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function jcc(c,l){return c.filter(t=>l?!t.disabled&&t.id!==l:!t.disabled)}function rF(c,l){return c.filter(t=>t.rowId===l)}function Ecc(c,l,t=!1){let e=c.findIndex(b=>b.id===l);return[...c.slice(e+1),...t?[Ucc]:[],...c.slice(0,e)]}function gF(c){let l=[];for(let t of c){let e=l.find(b=>b[0]?.rowId===t.rowId);e?e.push(t):l.push([t])}return l}function ZF(c){let l=0;for(let{length:t}of c)t>l&&(l=t);return l}function Mcc(c){return{id:"__EMPTY_ITEM__",disabled:!0,rowId:c}}function Pcc(c,l,t){let e=ZF(c);for(let b of c)for(let d=0;d<e;d+=1){let o=b[d];if(!o||t&&o.disabled){let n=d===0&&t?Fo(b):b[d-1];b[d]=n&&l!==n.id&&t?n:Mcc(n?.rowId)}}return c}function Kcc(c){let l=gF(c),t=ZF(l),e=[];for(let b=0;b<t;b+=1)for(let d of l){let o=d[b];o&&e.push({...o,rowId:o.rowId?`${b}`:void 0})}return e}function Gb(c={}){let l=c.store?.getState(),t=lg(c),e=uc(c.activeId,l?.activeId,c.defaultActiveId),b=al({...t.getState(),id:uc(c.id,l?.id)??`id-${Math.random().toString(36).slice(2,8)}`,activeId:e,baseElement:uc(l?.baseElement,null),includesBaseElement:uc(c.includesBaseElement,l?.includesBaseElement,e===null),moves:uc(l?.moves,0),orientation:uc(c.orientation,l?.orientation,"both"),rtl:uc(c.rtl,l?.rtl,!1),virtualFocus:uc(c.virtualFocus,l?.virtualFocus,!1),focusLoop:uc(c.focusLoop,l?.focusLoop,!1),focusWrap:uc(c.focusWrap,l?.focusWrap,!1),focusShift:uc(c.focusShift,l?.focusShift,!1)},t,c.store);Bl(b,()=>Lc(b,["renderedItems","activeId"],o=>{b.setState("activeId",n=>n!==void 0?n:Fo(o.renderedItems)?.id)}));let d=(o="next",n={})=>{let X=b.getState(),{skip:G=0,activeId:i=X.activeId,focusShift:a=X.focusShift,focusLoop:m=X.focusLoop,focusWrap:s=X.focusWrap,includesBaseElement:x=X.includesBaseElement,renderedItems:r=X.renderedItems,rtl:g=X.rtl}=n,H=o==="up"||o==="down",Z=o==="next"||o==="down",R=Z?g&&!H:!g||H,W=a&&!G,I=H?vr(Pcc(gF(r),i,W)):r;if(I=R?em(I):I,I=H?Kcc(I):I,i==null)return Fo(I)?.id;let p=I.find(w=>w.id===i);if(!p)return Fo(I)?.id;let B=I.some(w=>w.rowId),y=I.indexOf(p),C=I.slice(y+1),V=rF(C,p.rowId);if(G){let w=jcc(V,i);return(w.slice(G)[0]||w[w.length-1])?.id}let h=m&&(H?m!=="horizontal":m!=="vertical"),Y=B&&s&&(H?s!=="horizontal":s!=="vertical"),N=Z?(!B||H)&&h&&x:H?x:!1;if(h)return Fo(Ecc(Y&&!N?I:rF(I,p.rowId),i,N),i)?.id;if(Y){let w=Fo(N?V:C,i);return N?w?.id||null:w?.id}let A=Fo(V,i);return!A&&N?null:A?.id};return{...t,...b,setBaseElement:o=>b.setState("baseElement",o),setActiveId:o=>b.setState("activeId",o),move:o=>{o!==void 0&&(b.setState("activeId",o),b.setState("moves",n=>n+1))},first:()=>Fo(b.getState().renderedItems)?.id,last:()=>Fo(em(b.getState().renderedItems))?.id,next:o=>(o!==void 0&&typeof o=="number"&&(o={skip:o}),d("next",o)),previous:o=>(o!==void 0&&typeof o=="number"&&(o={skip:o}),d("previous",o)),down:o=>(o!==void 0&&typeof o=="number"&&(o={skip:o}),d("down",o)),up:o=>(o!==void 0&&typeof o=="number"&&(o={skip:o}),d("up",o))}}function gm(c){return{id:tl(c.id),...c}}function jb(c,l,t){return c=xF(c,l,t),Oc(c,t,"activeId","setActiveId"),Oc(c,t,"includesBaseElement"),Oc(c,t,"virtualFocus"),Oc(c,t,"orientation"),Oc(c,t,"rtl"),Oc(c,t,"focusLoop"),Oc(c,t,"focusWrap"),Oc(c,t,"focusShift"),c}function Ki(c={}){c=gm(c);let[l,t]=yl(Gb,c);return jb(l,t,c)}var j5=u(M(),1),Zm=el([Pi,pe],[Fd,At]),dG=Zm.useContext,HF=Zm.useScopedContext,oG=Zm.useProviderContext,JWc=Zm.ContextProvider,tg=Zm.ScopedContextProvider,eg=(0,j5.createContext)(!1),E5=(0,j5.createContext)(null);var IF=u(M(),1);function qcc(c){let l=c[0]?.element?.ownerDocument.activeElement;if(l)return c.find(t=>t.element===l)}function $cc(c,l){if(l!=null)return c.find(t=>t.id===l)}function bg(c){return!(!c||c.disabled||c.dimmed)}function RF({composite:c,combobox:l,...t}={}){let e=["items","renderedItems","moves","orientation","virtualFocus","includesBaseElement","baseElement","focusLoop","focusShift","focusWrap"],b=hd(t.store,Db(c,e),Db(l,e)),d=b?.getState(),o=Gb({...t,store:b,includesBaseElement:uc(t.includesBaseElement,d?.includesBaseElement,!1),orientation:uc(t.orientation,d?.orientation,"horizontal"),focusLoop:uc(t.focusLoop,d?.focusLoop,!0)}),n=lg(),X=al({...o.getState(),selectedId:uc(t.selectedId,d?.selectedId,t.defaultSelectedId),selectOnMove:uc(t.selectOnMove,d?.selectOnMove,!0)},o,b);Bl(X,()=>Lc(X,["moves"],()=>{let{activeId:a,selectOnMove:m}=X.getState();if(!m||!a)return;let s=o.item(a);bg(s)&&X.setState("selectedId",s.id)}));let G=!0;Bl(X,()=>ho(X,["selectedId"],(a,m)=>{if(!G){G=!0;return}if(c&&a.selectedId===m.selectedId)return;let{activeId:s,renderedItems:x}=X.getState(),r=qcc(x),g=$cc(x,a.selectedId);if(r&&bg(g)&&s!==g.id){o.move(g.id);return}X.setState("activeId",a.selectedId)})),Bl(X,()=>Lc(X,["selectedId","renderedItems"],a=>{if(a.selectedId!==void 0)return;let{activeId:m,renderedItems:s}=X.getState(),x=o.item(m);if(bg(x))X.setState("selectedId",x.id);else{let r=s.find(bg);X.setState("selectedId",r?.id)}})),Bl(X,()=>Lc(X,["renderedItems"],a=>{let m=a.renderedItems;if(m.length)return Lc(n,["renderedItems"],s=>{let x=s.renderedItems;x.some(r=>!r.tabId)&&x.forEach((r,g)=>{if(r.tabId)return;let H=m[g];H&&n.renderItem({...r,tabId:H.id})})})}));let i=null;return Bl(X,()=>{let a=()=>{i=X.getState().selectedId},m=()=>{G=!1,X.setState("selectedId",i)};if(c&&"setSelectElement"in c)return xl(Lc(c,["value"],a),Lc(c,["mounted"],m));if(l)return xl(Lc(l,["selectedValue"],a),Lc(l,["mounted"],m))}),{...o,...X,panels:n,setSelectedId:a=>X.setState("selectedId",a),select:a=>{X.setState("selectedId",a),o.move(a)}}}function llc(c,l,t){$t(l,[t.composite,t.combobox]),c=jb(c,l,t),Oc(c,t,"selectedId","setSelectedId"),Oc(c,t,"selectOnMove");let[e,b]=yl(()=>c.panels,{});return $t(b,[c,b]),Object.assign((0,IF.useMemo)(()=>({...c,panels:e}),[c,e]),{composite:t.composite,combobox:t.combobox})}function _i(c={}){let l=sF(),t=dG()||l;c={...c,composite:c.composite!==void 0?c.composite:t,combobox:c.combobox!==void 0?c.combobox:l};let[e,b]=yl(RF,c);return llc(e,b,c)}var Hm=el([pe],[At]),M5=Hm.useContext,jWc=Hm.useScopedContext,WF=Hm.useProviderContext,EWc=Hm.ContextProvider,pF=Hm.ScopedContextProvider;function BF(c={}){let l=c.store?.getState();return Gb({...c,orientation:uc(c.orientation,l?.orientation,"horizontal"),focusLoop:uc(c.focusLoop,l?.focusLoop,!0)})}function elc(c,l,t){return jb(c,l,t)}function qi(c={}){let[l,t]=yl(BF,c);return elc(l,t,c)}var yF=u(J(),1);var blc="div",dlc=$(function({store:l,orientation:t,virtualFocus:e,focusLoop:b,rtl:d,...o}){let n=WF();l=l||n;let X=qi({store:l,orientation:t,virtualFocus:e,focusLoop:b,rtl:d}),G=U(X,i=>i.orientation==="both"?void 0:i.orientation);return o=Hc(o,i=>(0,yF.jsx)(pF,{value:X,children:i}),[X]),o={role:"toolbar","aria-orientation":G,...o},o=Ub({store:X,...o}),o}),dg=_(function(l){return q(blc,dlc(l))});var olc="button",nlc=$(function({store:l,...t}){let e=M5();return l=l||e,t=Lb({store:l,...t}),t}),og=Tl(_(function(l){return q(olc,nlc(l))}));var Xlc="hr",P5=$(function({orientation:l="horizontal",...t}){return t={role:"separator","aria-orientation":l,...t},t}),ng=_(function(l){return q(Xlc,P5(l))});var Glc="hr",K5=$(function({store:l,...t}){let e=Vd();l=l||e,sc(l,!1);let b=U(l,d=>d.orientation==="horizontal"?"vertical":"horizontal");return t=P5({...t,orientation:b}),t}),ilc=_(function(l){return q(Glc,K5(l))});var VF=u(J(),1),alc="div",_5=$(function({autoFocusOnShow:l=!0,...t}){return t=Hc(t,e=>(0,VF.jsx)(Yr.Provider,{value:l,children:e}),[l]),t}),Bpc=_(function(l){return q(alc,_5(l))});var JF=u(M(),1),q5=(0,JF.createContext)(0);var hF=u(M(),1),CF=u(J(),1);function YF({level:c,children:l}){let t=(0,hF.useContext)(q5),e=Math.max(Math.min(c||t+1,6),1);return(0,CF.jsx)(q5.Provider,{value:e,children:l})}var ulc="span",$5=$(function(l){return l={...l,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px",...l.style}},l}),Ypc=_(function(l){return q(ulc,$5(l))});var mlc="span",slc=$(function(l){return l={"data-focus-trap":"",tabIndex:0,"aria-hidden":!0,...l,style:{position:"fixed",top:0,left:0,...l.style}},l=$5(l),l}),Rm=_(function(l){return q(mlc,slc(l))});var FF=u(M(),1),cy=(0,FF.createContext)(null);var Be=u(M(),1),Ot=u(J(),1),ly=u(Ei(),1),xlc="div";function vF(c){let l=fc(c),{fullscreenElement:t}=l;return t instanceof HTMLElement?t:l.body}function rlc(c,l){return l?typeof l=="function"?l(c):l:fc(c).createElement("div")}function glc(c="id"){return`${c?`${c}-`:""}${Math.random().toString(36).slice(2,8)}`}function zn(c){queueMicrotask(()=>{c?.focus()})}var ty=$(function({preserveTabOrder:l,preserveTabOrderAnchor:t,portalElement:e,portalRef:b,portal:d=!0,...o}){let n=(0,Be.useRef)(null),X=Bc(n,o.ref),G=(0,Be.useContext)(cy),[i,a]=(0,Be.useState)(null),[m,s]=(0,Be.useState)(null),x=(0,Be.useRef)(null),r=(0,Be.useRef)(null),g=(0,Be.useRef)(null),H=(0,Be.useRef)(null);return hc(()=>{let Z=n.current;if(!Z||!d){a(null);return}let R=rlc(Z,e);if(!R){a(null);return}let W=R.isConnected;if(W||(G||vF(Z)).appendChild(R),R.id||(R.id=Z.id?`portal/${Z.id}`:glc()),a(R),Tr(b,R),!W)return()=>{R.remove(),Tr(b,null)}},[d,e,G,b]),(0,Be.useEffect)(()=>{if(!i||G||e)return;let Z=fc(i),R=()=>{let W=vF(i);i.parentElement!==W&&W.appendChild(i)};return R(),Z.addEventListener("fullscreenchange",R),()=>{Z.removeEventListener("fullscreenchange",R)}},[i,G,e]),hc(()=>{if(!d||!l||!t)return;let Z=fc(t).createElement("span");return Z.style.position="fixed",t.insertAdjacentElement("afterend",Z),s(Z),()=>{Z.remove(),s(null)}},[d,l,t]),(0,Be.useEffect)(()=>{if(!i||!l)return;let Z=0,R=W=>{if(!Nn(W))return;let I=W.type==="focusin";if(cancelAnimationFrame(Z),I)return m9(i);Z=requestAnimationFrame(()=>{u9(i,!0)})};return i.addEventListener("focusin",R,!0),i.addEventListener("focusout",R,!0),()=>{cancelAnimationFrame(Z),i.removeEventListener("focusin",R,!0),i.removeEventListener("focusout",R,!0)}},[i,l]),o=Hc(o,Z=>{if(Z=(0,Ot.jsx)(cy.Provider,{value:i||G,children:Z}),!d)return Z;if(!i)return(0,Ot.jsx)("span",{ref:X,id:o.id,style:{position:"fixed"},hidden:!0});Z=(0,Ot.jsxs)(Ot.Fragment,{children:[l&&i&&(0,Ot.jsx)(Rm,{ref:r,"data-focus-trap":o.id,className:"__focus-trap-inner-before",onFocus:W=>{Nn(W,i)?zn(Or()):zn(x.current)}}),Z,l&&i&&(0,Ot.jsx)(Rm,{ref:g,"data-focus-trap":o.id,className:"__focus-trap-inner-after",onFocus:W=>{Nn(W,i)?zn(N5()):zn(H.current)}})]}),i&&(Z=(0,ly.createPortal)(Z,i));let R=(0,Ot.jsxs)(Ot.Fragment,{children:[l&&i&&(0,Ot.jsx)(Rm,{ref:x,"data-focus-trap":o.id,className:"__focus-trap-outer-before",onFocus:W=>{W.relatedTarget!==H.current&&Nn(W,i)?zn(r.current):zn(N5())}}),l&&(0,Ot.jsx)("span",{"aria-owns":i?.id,style:{position:"fixed"}}),l&&i&&(0,Ot.jsx)(Rm,{ref:H,"data-focus-trap":o.id,className:"__focus-trap-outer-after",onFocus:W=>{if(Nn(W,i))zn(g.current);else{let I=Or();if(I===r.current){requestAnimationFrame(()=>Or()?.focus());return}zn(I)}}})]});return m&&l&&(R=(0,ly.createPortal)(R,m)),(0,Ot.jsxs)(Ot.Fragment,{children:[R,Z]})},[i,G,d,o.id,l,m]),o={...o,ref:X},o}),Qpc=_(function(l){return q(xlc,ty(l))});var ey=new WeakMap;function $i(c,l,t){ey.has(c)||ey.set(c,new Map);let e=ey.get(c),b=e.get(l);if(!b)return e.set(l,t()),()=>{e.get(l)?.(),e.delete(l)};let d=t(),o=()=>{d(),b(),e.delete(l)};return e.set(l,o),()=>{e.get(l)===o&&(d(),e.set(l,b))}}function Im(c,l,t){return $i(c,l,()=>{let b=c.getAttribute(l);return c.setAttribute(l,t),()=>{b==null?c.removeAttribute(l):c.setAttribute(l,b)}})}function vd(c,l,t){return $i(c,l,()=>{let b=l in c,d=c[l];return c[l]=t,()=>{b?c[l]=d:delete c[l]}})}function Wm(c,l){return c?$i(c,"style",()=>{let e=c.style.cssText;return Object.assign(c.style,l),()=>{c.style.cssText=e}}):()=>{}}function NF(c,l,t){return c?$i(c,l,()=>{let b=c.style.getPropertyValue(l);return c.style.setProperty(l,t),()=>{b?c.style.setProperty(l,b):c.style.removeProperty(l)}}):()=>{}}var Zlc=["SCRIPT","STYLE"];function by(c){return`__ariakit-dialog-snapshot-${c}`}function Hlc(c,l){let t=fc(l),e=by(c);if(!t.body[e])return!0;do{if(l===t.body)return!1;if(l[e])return!0;if(!l.parentElement)return!1;l=l.parentElement}while(!0)}function Rlc(c,l,t){return Zlc.includes(l.tagName)||!Hlc(c,l)?!1:!t.some(e=>e&&ll(l,e))}function pm(c,l,t,e){for(let b of l){if(!b?.isConnected)continue;let d=l.some(X=>!X||X===b?!1:X.contains(b)),o=fc(b),n=b;for(;b.parentElement&&b!==o.body;){if(e?.(b.parentElement,n),!d)for(let X of b.parentElement.children)Rlc(c,X,l)&&t(X,n);b=b.parentElement}}}function fF(c,l){let{body:t}=fc(l[0]),e=[];return pm(c,l,d=>{e.push(vd(d,by(c),!0))}),xl(vd(t,by(c),!0),()=>{for(let d of e)d()})}function Xg(c,...l){if(!c)return!1;let t=c.getAttribute("data-backdrop");return t==null?!1:t===""||t==="true"||!l.length?!0:l.some(e=>t===e)}function ca(c="",l=!1){return`__ariakit-dialog-${l?"ancestor":"outside"}${c?`-${c}`:""}`}function Ilc(c,l=""){return xl(vd(c,ca(),!0),vd(c,ca(l),!0))}function dy(c,l=""){return xl(vd(c,ca("",!0),!0),vd(c,ca(l,!0),!0))}function Bm(c,l){let t=ca(l,!0);if(c[t])return!0;let e=ca(l);do{if(c[e])return!0;if(!c.parentElement)return!1;c=c.parentElement}while(!0)}function oy(c,l){let t=[],e=l.map(d=>d?.id);return pm(c,l,d=>{Xg(d,...e)||t.unshift(Ilc(d,c))},(d,o)=>{o.hasAttribute("data-dialog")&&o.id!==c||t.unshift(dy(d,c))}),()=>{for(let d of t)d()}}var Wlc="div",plc=["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"],$pc=$(function(l){return l}),Nd=_(function(l){return q(Wlc,l)});Object.assign(Nd,plc.reduce((c,l)=>(c[l]=_(function(e){return q(l,e)}),c),{}));var la=u(M(),1),Gg=u(J(),1);function SF({store:c,backdrop:l,alwaysVisible:t,hidden:e}){let b=(0,la.useRef)(null),d=kn({disclosure:c}),o=U(c,"contentElement");(0,la.useEffect)(()=>{let G=b.current,i=o;G&&i&&(G.style.zIndex=getComputedStyle(i).zIndex)},[o]),hc(()=>{let G=o?.id;if(!G)return;let i=b.current;if(i)return dy(i,G)},[o]);let n=eG({ref:b,store:d,role:"presentation","data-backdrop":o?.id||"",alwaysVisible:t,hidden:e??void 0,style:{position:"fixed",top:0,right:0,bottom:0,left:0}});return l?(0,la.isValidElement)(l)?(0,Gg.jsx)(Nd,{...n,render:l}):(0,Gg.jsx)(Nd,{...n,render:(0,Gg.jsx)(typeof l!="boolean"?l:"div",{})}):null}function ig(c={}){return qr(c)}function ny(c,l,t){return U5(c,l,t)}function Xy(c={}){let[l,t]=yl(ig,c);return ny(l,t,c)}function ag(){return"inert"in HTMLElement.prototype}function kF(c){return Im(c,"aria-hidden","true")}function zF(c,...l){if(!c)return!1;let t=c.getAttribute("data-focus-trap");return t==null?!1:l.length?t===""?!1:l.some(e=>t===e):!0}function Gy(c,l){return"style"in c?ag()?vd(c,"inert",!0):xl(...EX(c,!0).map(t=>{if(l?.some(b=>b&&ll(b,t)))return Ai;let e=$i(t,"focus",()=>(t.focus=Ai,()=>{delete t.focus}));return xl(Im(t,"tabindex","-1"),e)}),kF(c),Wm(c,{pointerEvents:"none",userSelect:"none",cursor:"default"})):Ai}function AF(c,l){let t=[],e=l.map(d=>d?.id);return pm(c,l,d=>{Xg(d,...e)||zF(d,...e)||t.unshift(Gy(d,l))},d=>{d.hasAttribute("role")&&(l.some(o=>o&&ll(o,d))||t.unshift(Im(d,"role","none")))}),()=>{for(let d of t)d()}}function OF(c,l){let t=fc(c).createElement("button");return t.type="button",t.tabIndex=-1,t.textContent="Dismiss popup",Object.assign(t.style,{border:"0px",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute",whiteSpace:"nowrap",width:"1px"}),t.addEventListener("click",l),c.prepend(t),()=>{t.removeEventListener("click",l),t.remove()}}var ug=u(M(),1);function QF(c,l){let t=(0,ug.useRef)(null);return(0,ug.useEffect)(()=>{if(!c){t.current=null;return}return pl("mousedown",b=>{t.current=b.target},!0,l)},[c,l]),t}var mg=u(M(),1);function ylc(c){return c.tagName==="HTML"?!0:ll(fc(c).body,c)}function Vlc(c,l){if(!c)return!1;if(ll(c,l))return!0;let t=l.getAttribute("aria-activedescendant");if(t){let e=fc(c).getElementById(t);if(e)return ll(c,e)}return!1}function Jlc(c,l){if(!("clientY"in c))return!1;let t=l.getBoundingClientRect();return t.width===0||t.height===0?!1:t.top<=c.clientY&&c.clientY<=t.top+t.height&&t.left<=c.clientX&&c.clientX<=t.left+t.width}function iy({store:c,type:l,listener:t,capture:e,domReady:b}){let d=Xc(t),o=U(c,"open"),n=U(c,"contentElement"),X=(0,mg.useRef)(!1);hc(()=>{if(!o||!b||!n)return;let G=()=>{X.current=!0};return n.addEventListener("focusin",G,!0),()=>n.removeEventListener("focusin",G,!0)},[o,b,n]),(0,mg.useEffect)(()=>o?pl(l,i=>{let{contentElement:a,disclosureElement:m}=c.getState(),s=i.target;a&&yo(s)&&ylc(s)&&(ll(a,s)||Vlc(m,s)||s.hasAttribute("data-focus-trap")||Jlc(i,a)||X.current&&!Bm(s,a.id)||d(i))},e,n?vn(n):void 0):void 0,[o,e,c,l,d,n])}function ay(c,l){return typeof c=="function"?c(l):!!c}function wF(c,l,t,e){let b=U(c,"open"),d=U(c,"contentElement"),o=QF(b,d?vn(d):void 0),n={store:c,domReady:t,capture:!0};iy({...n,type:"click",listener:X=>{let{contentElement:G}=c.getState(),i=o.current;i&&Bm(i,G?.id)&&ay(l,X)&&(e&&(e.current=!0),c.hide())}}),iy({...n,type:"focusin",listener:X=>{let{contentElement:G}=c.getState();G&&X.target!==fc(G)&&ay(l,X)&&c.hide()}}),iy({...n,type:"contextmenu",listener:X=>{ay(l,X)&&(e&&(e.current=!0),c.hide())}})}var Eb=u(M(),1),DF=u(J(),1);var TF=(0,Eb.createContext)({});function LF(c){let l=(0,Eb.useContext)(TF),[t,e]=(0,Eb.useState)([]),b=(0,Eb.useCallback)(o=>(e(n=>[...n,o]),xl(l.add?.(o),()=>{e(n=>n.filter(X=>X!==o))})),[l]);hc(()=>Lc(c,["open","contentElement"],o=>{if(o.open&&o.contentElement)return l.add?.(c)}),[c,l]);let d=(0,Eb.useMemo)(()=>({store:c,add:b}),[c,b]);return{wrapElement:(0,Eb.useCallback)(o=>(0,DF.jsx)(TF.Provider,{value:d,children:o}),[d]),nestedDialogs:t}}var sg=u(M(),1),UF=u(Ei(),1);function jF({attribute:c,contentId:l,contentElement:t,enabled:e}){let[b,d]=Oi(),o=(0,sg.useCallback)(()=>{if(!e||!t)return!1;let{body:n}=fc(t),X=n.getAttribute(c);return!X||X===l},[b,e,t,c,l]);return(0,sg.useEffect)(()=>{if(!e||!l||!t)return;let{body:n}=fc(t);if(o())return n.setAttribute(c,l),()=>n.removeAttribute(c);let X=new MutationObserver(()=>(0,UF.flushSync)(d));return X.observe(n,{attributeFilter:[c]}),()=>X.disconnect()},[b,e,l,t,o,c]),o}var EF=u(M(),1);function hlc(c){let l=c.getBoundingClientRect().left;return Math.round(l)+c.scrollLeft?"paddingLeft":"paddingRight"}function MF(c,l,t){let e=jF({attribute:"data-dialog-prevent-body-scroll",contentElement:c,contentId:l,enabled:t});(0,EF.useEffect)(()=>{if(!e()||!c)return;let b=fc(c),d=vn(c),{documentElement:o,body:n}=b,X=o.style.getPropertyValue("--scrollbar-width"),G=X?Number.parseInt(X,10):d.innerWidth-o.clientWidth,i=()=>NF(o,"--scrollbar-width",`${G}px`),a=hlc(o),m=()=>Wm(n,{overflow:"hidden",[a]:`${G}px`}),s=()=>{let{scrollX:r,scrollY:g,visualViewport:H}=d,Z=H?.offsetLeft??0,R=H?.offsetTop??0,W=Wm(n,{position:"fixed",overflow:"hidden",top:`${-(g-Math.floor(R))}px`,left:`${-(r-Math.floor(Z))}px`,right:"0",[a]:`${G}px`});return()=>{W(),d.scrollTo({left:r,top:g,behavior:"instant"})}},x=kr()&&!n9();return xl(i(),x?s():m())},[e,c])}var $l=u(M(),1),ye=u(J(),1);var Clc="div",PF=zi();function Ylc(c){let l=wb(c);return!l||c&&ll(c,l)?!1:!!Le(l)}function KF(c,l=!1){if(!c)return null;let t="current"in c?c.current:c;return t?l?Le(t)?t:null:t:null}var uy=$(function({store:l,open:t,onClose:e,focusable:b=!0,modal:d=!0,portal:o=d,backdrop:n=d,hideOnEscape:X=!0,hideOnInteractOutside:G=!0,getPersistentElements:i,preventBodyScroll:a=d,autoFocusOnShow:m=!0,autoFocusOnHide:s=!0,initialFocus:x,finalFocus:r,unmountOnHide:g,unstable_treeSnapshotKey:H,...Z}){let R=cG(),W=(0,$l.useRef)(null),I=Xy({store:l||R,open:t,setOpen(Zc){if(Zc)return;let Cc=W.current;if(!Cc)return;let ol=new Event("close",{bubbles:!1,cancelable:!0});e&&Cc.addEventListener("close",e,{once:!0}),Cc.dispatchEvent(ol),ol.defaultPrevented&&I.setOpen(!0)}}),{portalRef:p,domReady:B}=Qi(o,Z.portalRef),y=Z.preserveTabOrder,C=U(I,Zc=>y&&!d&&Zc.mounted),V=tl(Z.id),h=U(I,"open"),Y=U(I,"mounted"),N=U(I,"contentElement"),A=tG(Y,Z.hidden,Z.alwaysVisible);MF(N,V,a&&!A);let w=(0,$l.useRef)(!1);hc(()=>Lc(I,["open"],Zc=>{Zc.open&&(w.current=!1)}),[I]),wF(I,G,B,w);let{wrapElement:z,nestedDialogs:f}=LF(I);Z=Hc(Z,z,[z]);let L=(0,$l.useRef)(null);PF&&(0,$l.useEffect)(()=>{if(!B)return;let Zc=W.current;if(!Zc)return;let Cc=fc(Zc),ol=Mc=>{L.current=Mc.target};return Cc.addEventListener("mousedown",ol,!0),()=>{Cc.removeEventListener("mousedown",ol,!0)}},[B]),hc(()=>{if(!h)return;let Zc=W.current,Cc=wb(Zc,!0);if(Cc){if(Cc.tagName==="BODY"){let ol=L.current;if(L.current=null,!ol?.isConnected||!Le(ol)||Zc&&ll(Zc,ol))return;I.setDisclosureElement(ol);return}Zc&&ll(Zc,Cc)||I.setDisclosureElement(Cc)}},[I,h]),(0,$l.useEffect)(()=>{if(!Y||!B)return;let Zc=W.current;if(!Zc)return;let Cc=vn(Zc),ol=Cc.visualViewport||Cc,Mc=()=>{let dt=Cc.visualViewport?.height??Cc.innerHeight;Zc.style.setProperty("--dialog-viewport-height",`${dt}px`)};return Mc(),ol.addEventListener("resize",Mc),()=>{ol.removeEventListener("resize",Mc)}},[Y,B]),(0,$l.useEffect)(()=>{if(!d||!Y||!B)return;let Zc=W.current;if(Zc&&!Zc.querySelector("[data-dialog-dismiss]"))return OF(Zc,I.hide)},[I,d,Y,B]),hc(()=>{if(!ag()||h||!Y||!B)return;let Zc=W.current;if(Zc)return Gy(Zc)},[h,Y,B]);let v=h&&B;hc(()=>{if(!V||!v)return;let Zc=W.current;return fF(V,[Zc])},[V,v,H]);let K=Xc(i);hc(()=>{if(!V||!v)return;let{disclosureElement:Zc}=I.getState(),Cc=[W.current,...K()||[],...f.map(ol=>ol.getState().contentElement)];return d?xl(oy(V,Cc),AF(V,Cc)):oy(V,[Zc,...Cc])},[V,I,v,K,f,d,H]);let P=!!m,oc=_c(m),[E,dc]=(0,$l.useState)(!1);(0,$l.useEffect)(()=>{if(!h||!P||!B||!N?.isConnected)return;let Zc=KF(x,!0)||N.querySelector("[data-autofocus=true],[autofocus]")||a9(N,!0,o&&C)||N,Cc=Le(Zc);oc(Cc?Zc:null)&&(dc(!0),queueMicrotask(()=>{I.getState().open&&(Zc.focus(),PF&&Cc&&Zc.scrollIntoView({block:"nearest",inline:"nearest"}))}))},[h,P,B,N,x,o,C,I,oc]);let j=!!s,nc=_c(s),[Ic,Jc]=(0,$l.useState)(!1);hc(()=>{if(h)return Jc(!0),()=>Jc(!1)},[h]);let vc=(0,$l.useCallback)((Zc,Cc=!0)=>{if(w.current)return;let{disclosureElement:ol}=I.getState();if(Ylc(Zc))return;let Mc=KF(r)||ol;if(Mc?.id){let Nt=fc(Mc),Re=`[aria-activedescendant="${Mc.id}"]`,De=Nt.querySelector(Re);De&&(Mc=De)}if(Mc&&!Le(Mc)){let Nt=Mc.closest("[data-dialog]");if(Nt?.id){let Re=fc(Nt),De=`[aria-controls~="${Nt.id}"]`,Ab=Re.querySelector(De);Ab&&(Mc=Ab)}}let dt=Mc&&Le(Mc);if(!dt&&Cc){requestAnimationFrame(()=>vc(Zc,!1));return}nc(dt?Mc:null)&&dt&&Mc?.focus()},[I,r,nc]),Ql=(0,$l.useRef)(!1);hc(()=>{if(h||!Ic||!j)return;let Zc=W.current;Ql.current=!0,vc(Zc)},[h,Ic,B,j,vc]),(0,$l.useEffect)(()=>{if(!Ic||!j)return;let Zc=W.current;return()=>{if(Ql.current){Ql.current=!1;return}vc(Zc)}},[Ic,j,vc]);let Hl=_c(X);(0,$l.useEffect)(()=>!B||!Y?void 0:pl("keydown",Cc=>{if(Cc.key!=="Escape"||Cc.defaultPrevented)return;let ol=W.current;if(!ol||Bm(ol))return;let Mc=Cc.target;if(!Nr(Mc))return;let{disclosureElement:dt}=I.getState();(yo(Mc)&&Mc.tagName==="BODY"||ll(ol,Mc)||!dt||ll(dt,Mc))&&Hl(Cc)&&I.hide()},!0,N?vn(N):void 0),[I,B,Y,N,Hl]),Z=Hc(Z,Zc=>(0,ye.jsx)(YF,{level:d?1:void 0,children:Zc}),[d]);let gc=Z.hidden,zc=Z.alwaysVisible;Z=Hc(Z,Zc=>n?(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)(SF,{store:I,backdrop:n,hidden:gc,alwaysVisible:zc}),Zc]}):Zc,[I,n,gc,zc]);let[Fl,Kt]=(0,$l.useState)(),[_t,bt]=(0,$l.useState)();return Z=Hc(Z,Zc=>(0,ye.jsx)(ji,{value:I,children:(0,ye.jsx)(oF.Provider,{value:Kt,children:(0,ye.jsx)(nF.Provider,{value:bt,children:Zc})})}),[I]),Z={"data-dialog":"",role:"dialog",tabIndex:b?-1:void 0,"aria-labelledby":Z["aria-label"]!=null?void 0:Fl,"aria-describedby":_t,...Z,id:V,ref:Bc(W,Z.ref)},Z=_5({...Z,autoFocusOnShow:E}),Z=eG({store:I,...Z}),Z=Tb({...Z,focusable:b}),Z=ty({portal:o,...Z,portalRef:p,preserveTabOrder:C}),Z});function Mb(c,l=cG){return _(function(e){let b=l();return U(e.store||b,d=>!e.unmountOnHide||d?.mounted||!!e.open)?(0,ye.jsx)(c,{...e}):null})}var _F=Mb(_(function(l){return q(Clc,uy(l))}),cG),Flc=_(function(l){let t=Xy({open:l.open});return(0,ye.jsx)(_F,{...l,store:t})}),a5c=_(function(l){let t=cG();return l.store||t||!l.unmountOnHide?(0,ye.jsx)(_F,{...l}):(0,ye.jsx)(Flc,{...l})});var yg=u(M(),1),gy=u(J(),1);var fd=Math.min,ce=Math.max,Vm=Math.round,Jm=Math.floor,Pb=c=>({x:c,y:c}),vlc={left:"right",right:"left",bottom:"top",top:"bottom"};function rg(c,l,t){return ce(c,fd(l,t))}function vo(c,l){return typeof c=="function"?c(l):c}function Sd(c){return c.split("-")[0]}function nG(c){return c.split("-")[1]}function gg(c){return c==="x"?"y":"x"}function Zg(c){return c==="y"?"height":"width"}function Kb(c){let l=c[0];return l==="t"||l==="b"?"y":"x"}function Hg(c){return gg(Kb(c))}function cv(c,l,t){t===void 0&&(t=!1);let e=nG(c),b=Hg(c),d=Zg(b),o=b==="x"?e===(t?"end":"start")?"right":"left":e==="start"?"bottom":"top";return l.reference[d]>l.floating[d]&&(o=ym(o)),[o,ym(o)]}function lv(c){let l=ym(c);return[xg(c),l,xg(l)]}function xg(c){return c.includes("start")?c.replace("start","end"):c.replace("end","start")}var qF=["left","right"],$F=["right","left"],Nlc=["top","bottom"],flc=["bottom","top"];function Slc(c,l,t){switch(c){case"top":case"bottom":return t?l?$F:qF:l?qF:$F;case"left":case"right":return l?Nlc:flc;default:return[]}}function tv(c,l,t,e){let b=nG(c),d=Slc(Sd(c),t==="start",e);return b&&(d=d.map(o=>o+"-"+b),l&&(d=d.concat(d.map(xg)))),d}function ym(c){let l=Sd(c);return vlc[l]+c.slice(l.length)}function klc(c){return{top:0,right:0,bottom:0,left:0,...c}}function my(c){return typeof c!="number"?klc(c):{top:c,right:c,bottom:c,left:c}}function XG(c){let{x:l,y:t,width:e,height:b}=c;return{width:e,height:b,top:t,left:l,right:l+e,bottom:t+b,x:l,y:t}}function ev(c,l,t){let{reference:e,floating:b}=c,d=Kb(l),o=Hg(l),n=Zg(o),X=Sd(l),G=d==="y",i=e.x+e.width/2-b.width/2,a=e.y+e.height/2-b.height/2,m=e[n]/2-b[n]/2,s;switch(X){case"top":s={x:i,y:e.y-b.height};break;case"bottom":s={x:i,y:e.y+e.height};break;case"right":s={x:e.x+e.width,y:a};break;case"left":s={x:e.x-b.width,y:a};break;default:s={x:e.x,y:e.y}}switch(nG(l)){case"start":s[o]-=m*(t&&G?-1:1);break;case"end":s[o]+=m*(t&&G?-1:1);break}return s}async function bv(c,l){var t;l===void 0&&(l={});let{x:e,y:b,platform:d,rects:o,elements:n,strategy:X}=c,{boundary:G="clippingAncestors",rootBoundary:i="viewport",elementContext:a="floating",altBoundary:m=!1,padding:s=0}=vo(l,c),x=my(s),g=n[m?a==="floating"?"reference":"floating":a],H=XG(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(g)))==null||t?g:g.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(n.floating)),boundary:G,rootBoundary:i,strategy:X})),Z=a==="floating"?{x:e,y:b,width:o.floating.width,height:o.floating.height}:o.reference,R=await(d.getOffsetParent==null?void 0:d.getOffsetParent(n.floating)),W=await(d.isElement==null?void 0:d.isElement(R))?await(d.getScale==null?void 0:d.getScale(R))||{x:1,y:1}:{x:1,y:1},I=XG(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:Z,offsetParent:R,strategy:X}):Z);return{top:(H.top-I.top+x.top)/W.y,bottom:(I.bottom-H.bottom+x.bottom)/W.y,left:(H.left-I.left+x.left)/W.x,right:(I.right-H.right+x.right)/W.x}}var zlc=50,dv=async(c,l,t)=>{let{placement:e="bottom",strategy:b="absolute",middleware:d=[],platform:o}=t,n=o.detectOverflow?o:{...o,detectOverflow:bv},X=await(o.isRTL==null?void 0:o.isRTL(l)),G=await o.getElementRects({reference:c,floating:l,strategy:b}),{x:i,y:a}=ev(G,e,X),m=e,s=0,x={};for(let r=0;r<d.length;r++){let g=d[r];if(!g)continue;let{name:H,fn:Z}=g,{x:R,y:W,data:I,reset:p}=await Z({x:i,y:a,initialPlacement:e,placement:m,strategy:b,middlewareData:x,rects:G,platform:n,elements:{reference:c,floating:l}});i=R??i,a=W??a,x[H]={...x[H],...I},p&&s<zlc&&(s++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(G=p.rects===!0?await o.getElementRects({reference:c,floating:l,strategy:b}):p.rects),{x:i,y:a}=ev(G,m,X)),r=-1)}return{x:i,y:a,placement:m,strategy:b,middlewareData:x}},ov=c=>({name:"arrow",options:c,async fn(l){let{x:t,y:e,placement:b,rects:d,platform:o,elements:n,middlewareData:X}=l,{element:G,padding:i=0}=vo(c,l)||{};if(G==null)return{};let a=my(i),m={x:t,y:e},s=Hg(b),x=Zg(s),r=await o.getDimensions(G),g=s==="y",H=g?"top":"left",Z=g?"bottom":"right",R=g?"clientHeight":"clientWidth",W=d.reference[x]+d.reference[s]-m[s]-d.floating[x],I=m[s]-d.reference[s],p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(G)),B=p?p[R]:0;(!B||!await(o.isElement==null?void 0:o.isElement(p)))&&(B=n.floating[R]||d.floating[x]);let y=W/2-I/2,C=B/2-r[x]/2-1,V=fd(a[H],C),h=fd(a[Z],C),Y=V,N=B-r[x]-h,A=B/2-r[x]/2+y,w=rg(Y,A,N),z=!X.arrow&&nG(b)!=null&&A!==w&&d.reference[x]/2-(A<Y?V:h)-r[x]/2<0,f=z?A<Y?A-Y:A-N:0;return{[s]:m[s]+f,data:{[s]:w,centerOffset:A-w-f,...z&&{alignmentOffset:f}},reset:z}}});var nv=function(c){return c===void 0&&(c={}),{name:"flip",options:c,async fn(l){var t,e;let{placement:b,middlewareData:d,rects:o,initialPlacement:n,platform:X,elements:G}=l,{mainAxis:i=!0,crossAxis:a=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:r=!0,...g}=vo(c,l);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let H=Sd(b),Z=Kb(n),R=Sd(n)===n,W=await(X.isRTL==null?void 0:X.isRTL(G.floating)),I=m||(R||!r?[ym(n)]:lv(n)),p=x!=="none";!m&&p&&I.push(...tv(n,r,x,W));let B=[n,...I],y=await X.detectOverflow(l,g),C=[],V=((e=d.flip)==null?void 0:e.overflows)||[];if(i&&C.push(y[H]),a){let A=cv(b,o,W);C.push(y[A[0]],y[A[1]])}if(V=[...V,{placement:b,overflows:C}],!C.every(A=>A<=0)){var h,Y;let A=(((h=d.flip)==null?void 0:h.index)||0)+1,w=B[A];if(w&&(!(a==="alignment"?Z!==Kb(w):!1)||V.every(L=>Kb(L.placement)===Z?L.overflows[0]>0:!0)))return{data:{index:A,overflows:V},reset:{placement:w}};let z=(Y=V.filter(f=>f.overflows[0]<=0).sort((f,L)=>f.overflows[1]-L.overflows[1])[0])==null?void 0:Y.placement;if(!z)switch(s){case"bestFit":{var N;let f=(N=V.filter(L=>{if(p){let v=Kb(L.placement);return v===Z||v==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(v=>v>0).reduce((v,K)=>v+K,0)]).sort((L,v)=>L[1]-v[1])[0])==null?void 0:N[0];f&&(z=f);break}case"initialPlacement":z=n;break}if(b!==z)return{reset:{placement:z}}}return{}}}};var Xv=new Set(["left","top"]);async function Alc(c,l){let{placement:t,platform:e,elements:b}=c,d=await(e.isRTL==null?void 0:e.isRTL(b.floating)),o=Sd(t),n=nG(t),X=Kb(t)==="y",G=Xv.has(o)?-1:1,i=d&&X?-1:1,a=vo(l,c),{mainAxis:m,crossAxis:s,alignmentAxis:x}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return n&&typeof x=="number"&&(s=n==="end"?x*-1:x),X?{x:s*i,y:m*G}:{x:m*G,y:s*i}}var Gv=function(c){return c===void 0&&(c=0),{name:"offset",options:c,async fn(l){var t,e;let{x:b,y:d,placement:o,middlewareData:n}=l,X=await Alc(l,c);return o===((t=n.offset)==null?void 0:t.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:b+X.x,y:d+X.y,data:{...X,placement:o}}}}},iv=function(c){return c===void 0&&(c={}),{name:"shift",options:c,async fn(l){let{x:t,y:e,placement:b,platform:d}=l,{mainAxis:o=!0,crossAxis:n=!1,limiter:X={fn:H=>{let{x:Z,y:R}=H;return{x:Z,y:R}}},...G}=vo(c,l),i={x:t,y:e},a=await d.detectOverflow(l,G),m=Kb(Sd(b)),s=gg(m),x=i[s],r=i[m];if(o){let H=s==="y"?"top":"left",Z=s==="y"?"bottom":"right",R=x+a[H],W=x-a[Z];x=rg(R,x,W)}if(n){let H=m==="y"?"top":"left",Z=m==="y"?"bottom":"right",R=r+a[H],W=r-a[Z];r=rg(R,r,W)}let g=X.fn({...l,[s]:x,[m]:r});return{...g,data:{x:g.x-t,y:g.y-e,enabled:{[s]:o,[m]:n}}}}}},av=function(c){return c===void 0&&(c={}),{options:c,fn(l){let{x:t,y:e,placement:b,rects:d,middlewareData:o}=l,{offset:n=0,mainAxis:X=!0,crossAxis:G=!0}=vo(c,l),i={x:t,y:e},a=Kb(b),m=gg(a),s=i[m],x=i[a],r=vo(n,l),g=typeof r=="number"?{mainAxis:r,crossAxis:0}:{mainAxis:0,crossAxis:0,...r};if(X){let R=m==="y"?"height":"width",W=d.reference[m]-d.floating[R]+g.mainAxis,I=d.reference[m]+d.reference[R]-g.mainAxis;s<W?s=W:s>I&&(s=I)}if(G){var H,Z;let R=m==="y"?"width":"height",W=Xv.has(Sd(b)),I=d.reference[a]-d.floating[R]+(W&&((H=o.offset)==null?void 0:H[a])||0)+(W?0:g.crossAxis),p=d.reference[a]+d.reference[R]+(W?0:((Z=o.offset)==null?void 0:Z[a])||0)-(W?g.crossAxis:0);x<I?x=I:x>p&&(x=p)}return{[m]:s,[a]:x}}}},uv=function(c){return c===void 0&&(c={}),{name:"size",options:c,async fn(l){var t,e;let{placement:b,rects:d,platform:o,elements:n}=l,{apply:X=()=>{},...G}=vo(c,l),i=await o.detectOverflow(l,G),a=Sd(b),m=nG(b),s=Kb(b)==="y",{width:x,height:r}=d.floating,g,H;a==="top"||a==="bottom"?(g=a,H=m===(await(o.isRTL==null?void 0:o.isRTL(n.floating))?"start":"end")?"left":"right"):(H=a,g=m==="end"?"top":"bottom");let Z=r-i.top-i.bottom,R=x-i.left-i.right,W=fd(r-i[g],Z),I=fd(x-i[H],R),p=!l.middlewareData.shift,B=W,y=I;if((t=l.middlewareData.shift)!=null&&t.enabled.x&&(y=R),(e=l.middlewareData.shift)!=null&&e.enabled.y&&(B=Z),p&&!m){let V=ce(i.left,0),h=ce(i.right,0),Y=ce(i.top,0),N=ce(i.bottom,0);s?y=x-2*(V!==0||h!==0?V+h:ce(i.left,i.right)):B=r-2*(Y!==0||N!==0?Y+N:ce(i.top,i.bottom))}await X({...l,availableWidth:y,availableHeight:B});let C=await o.getDimensions(n.floating);return x!==C.width||r!==C.height?{reset:{rects:!0}}:{}}}};function Rg(){return typeof window<"u"}function aG(c){return sv(c)?(c.nodeName||"").toLowerCase():"#document"}function Ve(c){var l;return(c==null||(l=c.ownerDocument)==null?void 0:l.defaultView)||window}function _b(c){var l;return(l=(sv(c)?c.ownerDocument:c.document)||window.document)==null?void 0:l.documentElement}function sv(c){return Rg()?c instanceof Node||c instanceof Ve(c).Node:!1}function ib(c){return Rg()?c instanceof Element||c instanceof Ve(c).Element:!1}function kd(c){return Rg()?c instanceof HTMLElement||c instanceof Ve(c).HTMLElement:!1}function mv(c){return!Rg()||typeof ShadowRoot>"u"?!1:c instanceof ShadowRoot||c instanceof Ve(c).ShadowRoot}function ta(c){let{overflow:l,overflowX:t,overflowY:e,display:b}=ab(c);return/auto|scroll|overlay|hidden|clip/.test(l+e+t)&&b!=="inline"&&b!=="contents"}function xv(c){return/^(table|td|th)$/.test(aG(c))}function hm(c){try{if(c.matches(":popover-open"))return!0}catch{}try{return c.matches(":modal")}catch{return!1}}var Olc=/transform|translate|scale|rotate|perspective|filter/,Qlc=/paint|layout|strict|content/,GG=c=>!!c&&c!=="none",sy;function Ig(c){let l=ib(c)?ab(c):c;return GG(l.transform)||GG(l.translate)||GG(l.scale)||GG(l.rotate)||GG(l.perspective)||!Wg()&&(GG(l.backdropFilter)||GG(l.filter))||Olc.test(l.willChange||"")||Qlc.test(l.contain||"")}function rv(c){let l=No(c);for(;kd(l)&&!uG(l);){if(Ig(l))return l;if(hm(l))return null;l=No(l)}return null}function Wg(){return sy==null&&(sy=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),sy}function uG(c){return/^(html|body|#document)$/.test(aG(c))}function ab(c){return Ve(c).getComputedStyle(c)}function Cm(c){return ib(c)?{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}:{scrollLeft:c.scrollX,scrollTop:c.scrollY}}function No(c){if(aG(c)==="html")return c;let l=c.assignedSlot||c.parentNode||mv(c)&&c.host||_b(c);return mv(l)?l.host:l}function gv(c){let l=No(c);return uG(l)?c.ownerDocument?c.ownerDocument.body:c.body:kd(l)&&ta(l)?l:gv(l)}function iG(c,l,t){var e;l===void 0&&(l=[]),t===void 0&&(t=!0);let b=gv(c),d=b===((e=c.ownerDocument)==null?void 0:e.body),o=Ve(b);if(d){let n=pg(o);return l.concat(o,o.visualViewport||[],ta(b)?b:[],n&&t?iG(n):[])}else return l.concat(b,iG(b,[],t))}function pg(c){return c.parent&&Object.getPrototypeOf(c.parent)?c.frameElement:null}function Iv(c){let l=ab(c),t=parseFloat(l.width)||0,e=parseFloat(l.height)||0,b=kd(c),d=b?c.offsetWidth:t,o=b?c.offsetHeight:e,n=Vm(t)!==d||Vm(e)!==o;return n&&(t=d,e=o),{width:t,height:e,$:n}}function ry(c){return ib(c)?c:c.contextElement}function ea(c){let l=ry(c);if(!kd(l))return Pb(1);let t=l.getBoundingClientRect(),{width:e,height:b,$:d}=Iv(l),o=(d?Vm(t.width):t.width)/e,n=(d?Vm(t.height):t.height)/b;return(!o||!Number.isFinite(o))&&(o=1),(!n||!Number.isFinite(n))&&(n=1),{x:o,y:n}}var wlc=Pb(0);function Wv(c){let l=Ve(c);return!Wg()||!l.visualViewport?wlc:{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function Tlc(c,l,t){return l===void 0&&(l=!1),!t||l&&t!==Ve(c)?!1:l}function mG(c,l,t,e){l===void 0&&(l=!1),t===void 0&&(t=!1);let b=c.getBoundingClientRect(),d=ry(c),o=Pb(1);l&&(e?ib(e)&&(o=ea(e)):o=ea(c));let n=Tlc(d,t,e)?Wv(d):Pb(0),X=(b.left+n.x)/o.x,G=(b.top+n.y)/o.y,i=b.width/o.x,a=b.height/o.y;if(d){let m=Ve(d),s=e&&ib(e)?Ve(e):e,x=m,r=pg(x);for(;r&&e&&s!==x;){let g=ea(r),H=r.getBoundingClientRect(),Z=ab(r),R=H.left+(r.clientLeft+parseFloat(Z.paddingLeft))*g.x,W=H.top+(r.clientTop+parseFloat(Z.paddingTop))*g.y;X*=g.x,G*=g.y,i*=g.x,a*=g.y,X+=R,G+=W,x=Ve(r),r=pg(x)}}return XG({width:i,height:a,x:X,y:G})}function Bg(c,l){let t=Cm(c).scrollLeft;return l?l.left+t:mG(_b(c)).left+t}function pv(c,l){let t=c.getBoundingClientRect(),e=t.left+l.scrollLeft-Bg(c,t),b=t.top+l.scrollTop;return{x:e,y:b}}function Dlc(c){let{elements:l,rect:t,offsetParent:e,strategy:b}=c,d=b==="fixed",o=_b(e),n=l?hm(l.floating):!1;if(e===o||n&&d)return t;let X={scrollLeft:0,scrollTop:0},G=Pb(1),i=Pb(0),a=kd(e);if((a||!a&&!d)&&((aG(e)!=="body"||ta(o))&&(X=Cm(e)),a)){let s=mG(e);G=ea(e),i.x=s.x+e.clientLeft,i.y=s.y+e.clientTop}let m=o&&!a&&!d?pv(o,X):Pb(0);return{width:t.width*G.x,height:t.height*G.y,x:t.x*G.x-X.scrollLeft*G.x+i.x+m.x,y:t.y*G.y-X.scrollTop*G.y+i.y+m.y}}function Llc(c){return Array.from(c.getClientRects())}function Ulc(c){let l=_b(c),t=Cm(c),e=c.ownerDocument.body,b=ce(l.scrollWidth,l.clientWidth,e.scrollWidth,e.clientWidth),d=ce(l.scrollHeight,l.clientHeight,e.scrollHeight,e.clientHeight),o=-t.scrollLeft+Bg(c),n=-t.scrollTop;return ab(e).direction==="rtl"&&(o+=ce(l.clientWidth,e.clientWidth)-b),{width:b,height:d,x:o,y:n}}var Zv=25;function jlc(c,l){let t=Ve(c),e=_b(c),b=t.visualViewport,d=e.clientWidth,o=e.clientHeight,n=0,X=0;if(b){d=b.width,o=b.height;let i=Wg();(!i||i&&l==="fixed")&&(n=b.offsetLeft,X=b.offsetTop)}let G=Bg(e);if(G<=0){let i=e.ownerDocument,a=i.body,m=getComputedStyle(a),s=i.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,x=Math.abs(e.clientWidth-a.clientWidth-s);x<=Zv&&(d-=x)}else G<=Zv&&(d+=G);return{width:d,height:o,x:n,y:X}}function Elc(c,l){let t=mG(c,!0,l==="fixed"),e=t.top+c.clientTop,b=t.left+c.clientLeft,d=kd(c)?ea(c):Pb(1),o=c.clientWidth*d.x,n=c.clientHeight*d.y,X=b*d.x,G=e*d.y;return{width:o,height:n,x:X,y:G}}function Hv(c,l,t){let e;if(l==="viewport")e=jlc(c,t);else if(l==="document")e=Ulc(_b(c));else if(ib(l))e=Elc(l,t);else{let b=Wv(c);e={x:l.x-b.x,y:l.y-b.y,width:l.width,height:l.height}}return XG(e)}function Bv(c,l){let t=No(c);return t===l||!ib(t)||uG(t)?!1:ab(t).position==="fixed"||Bv(t,l)}function Mlc(c,l){let t=l.get(c);if(t)return t;let e=iG(c,[],!1).filter(n=>ib(n)&&aG(n)!=="body"),b=null,d=ab(c).position==="fixed",o=d?No(c):c;for(;ib(o)&&!uG(o);){let n=ab(o),X=Ig(o);!X&&n.position==="fixed"&&(b=null),(d?!X&&!b:!X&&n.position==="static"&&!!b&&(b.position==="absolute"||b.position==="fixed")||ta(o)&&!X&&Bv(c,o))?e=e.filter(i=>i!==o):b=n,o=No(o)}return l.set(c,e),e}function Plc(c){let{element:l,boundary:t,rootBoundary:e,strategy:b}=c,o=[...t==="clippingAncestors"?hm(l)?[]:Mlc(l,this._c):[].concat(t),e],n=Hv(l,o[0],b),X=n.top,G=n.right,i=n.bottom,a=n.left;for(let m=1;m<o.length;m++){let s=Hv(l,o[m],b);X=ce(s.top,X),G=fd(s.right,G),i=fd(s.bottom,i),a=ce(s.left,a)}return{width:G-a,height:i-X,x:a,y:X}}function Klc(c){let{width:l,height:t}=Iv(c);return{width:l,height:t}}function _lc(c,l,t){let e=kd(l),b=_b(l),d=t==="fixed",o=mG(c,!0,d,l),n={scrollLeft:0,scrollTop:0},X=Pb(0);function G(){X.x=Bg(b)}if(e||!e&&!d)if((aG(l)!=="body"||ta(b))&&(n=Cm(l)),e){let s=mG(l,!0,d,l);X.x=s.x+l.clientLeft,X.y=s.y+l.clientTop}else b&&G();d&&!e&&b&&G();let i=b&&!e&&!d?pv(b,n):Pb(0),a=o.left+n.scrollLeft-X.x-i.x,m=o.top+n.scrollTop-X.y-i.y;return{x:a,y:m,width:o.width,height:o.height}}function xy(c){return ab(c).position==="static"}function Rv(c,l){if(!kd(c)||ab(c).position==="fixed")return null;if(l)return l(c);let t=c.offsetParent;return _b(c)===t&&(t=t.ownerDocument.body),t}function yv(c,l){let t=Ve(c);if(hm(c))return t;if(!kd(c)){let b=No(c);for(;b&&!uG(b);){if(ib(b)&&!xy(b))return b;b=No(b)}return t}let e=Rv(c,l);for(;e&&xv(e)&&xy(e);)e=Rv(e,l);return e&&uG(e)&&xy(e)&&!Ig(e)?t:e||rv(c)||t}var qlc=async function(c){let l=this.getOffsetParent||yv,t=this.getDimensions,e=await t(c.floating);return{reference:_lc(c.reference,await l(c.floating),c.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function $lc(c){return ab(c).direction==="rtl"}var Vv={convertOffsetParentRelativeRectToViewportRelativeRect:Dlc,getDocumentElement:_b,getClippingRect:Plc,getOffsetParent:yv,getElementRects:qlc,getClientRects:Llc,getDimensions:Klc,getScale:ea,isElement:ib,isRTL:$lc};function Jv(c,l){return c.x===l.x&&c.y===l.y&&c.width===l.width&&c.height===l.height}function ctc(c,l){let t=null,e,b=_b(c);function d(){var n;clearTimeout(e),(n=t)==null||n.disconnect(),t=null}function o(n,X){n===void 0&&(n=!1),X===void 0&&(X=1),d();let G=c.getBoundingClientRect(),{left:i,top:a,width:m,height:s}=G;if(n||l(),!m||!s)return;let x=Jm(a),r=Jm(b.clientWidth-(i+m)),g=Jm(b.clientHeight-(a+s)),H=Jm(i),R={rootMargin:-x+"px "+-r+"px "+-g+"px "+-H+"px",threshold:ce(0,fd(1,X))||1},W=!0;function I(p){let B=p[0].intersectionRatio;if(B!==X){if(!W)return o();B?o(!1,B):e=setTimeout(()=>{o(!1,1e-7)},1e3)}B===1&&!Jv(G,c.getBoundingClientRect())&&o(),W=!1}try{t=new IntersectionObserver(I,{...R,root:b.ownerDocument})}catch{t=new IntersectionObserver(I,R)}t.observe(c)}return o(!0),d}function Ym(c,l,t,e){e===void 0&&(e={});let{ancestorScroll:b=!0,ancestorResize:d=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:X=!1}=e,G=ry(c),i=b||d?[...G?iG(G):[],...l?iG(l):[]]:[];i.forEach(H=>{b&&H.addEventListener("scroll",t,{passive:!0}),d&&H.addEventListener("resize",t)});let a=G&&n?ctc(G,t):null,m=-1,s=null;o&&(s=new ResizeObserver(H=>{let[Z]=H;Z&&Z.target===G&&s&&l&&(s.unobserve(l),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var R;(R=s)==null||R.observe(l)})),t()}),G&&!X&&s.observe(G),l&&s.observe(l));let x,r=X?mG(c):null;X&&g();function g(){let H=mG(c);r&&!Jv(r,H)&&t(),r=H,x=requestAnimationFrame(g)}return t(),()=>{var H;i.forEach(Z=>{b&&Z.removeEventListener("scroll",t),d&&Z.removeEventListener("resize",t)}),a?.(),(H=s)==null||H.disconnect(),s=null,X&&cancelAnimationFrame(x)}}var Fm=Gv;var vm=iv,Nm=nv,sG=uv;var fm=ov;var Sm=av,km=(c,l,t)=>{let e=new Map,b={platform:Vv,...t},d={...b.platform,_c:e};return dv(c,l,{...b,platform:d})};var ltc="div";function hv(c=0,l=0,t=0,e=0){if(typeof DOMRect=="function")return new DOMRect(c,l,t,e);let b={x:c,y:l,width:t,height:e,top:l,right:c+t,bottom:l+e,left:c};return{...b,toJSON:()=>b}}function ttc(c){if(!c)return hv();let{x:l,y:t,width:e,height:b}=c;return hv(l,t,e,b)}function etc(c,l){return{contextElement:c||void 0,getBoundingClientRect:()=>{let t=c,e=l?.(t);return e||!t?ttc(e):t.getBoundingClientRect()}}}function btc(c){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(c)}function Cv(c){let l=window.devicePixelRatio||1;return Math.round(c*l)/l}function dtc(c,l){return Fm(({placement:t})=>{let e=(c?.clientHeight||0)/2,b=typeof l.gutter=="number"?l.gutter+e:l.gutter??e;return{crossAxis:t.split("-")[1]?void 0:l.shift,mainAxis:b,alignmentAxis:l.shift}})}function otc(c){if(c.flip===!1)return;let l=typeof c.flip=="string"?c.flip.split(" "):void 0;return sc(!l||l.every(btc),!1),Nm({padding:c.overflowPadding,fallbackPlacements:l})}function ntc(c){if(!(!c.slide&&!c.overlap))return vm({mainAxis:c.slide,crossAxis:c.overlap,padding:c.overflowPadding,limiter:Sm()})}function Xtc(c){return sG({padding:c.overflowPadding,apply({elements:l,availableWidth:t,availableHeight:e,rects:b}){let d=l.floating,o=Math.round(b.reference.width);t=Math.floor(t),e=Math.floor(e),d.style.setProperty("--popover-anchor-width",`${o}px`),d.style.setProperty("--popover-available-width",`${t}px`),d.style.setProperty("--popover-available-height",`${e}px`),c.sameWidth&&(d.style.width=`${o}px`),c.fitViewport&&(d.style.maxWidth=`${t}px`,d.style.maxHeight=`${e}px`)}})}function Gtc(c,l){if(c)return fm({element:c,padding:l.arrowPadding})}var zm=$(function({store:l,modal:t=!1,portal:e=t,preserveTabOrder:b=!0,autoFocusOnShow:d=!0,wrapperProps:o,fixed:n=!1,flip:X=!0,shift:G=0,slide:i=!0,overlap:a=!1,sameWidth:m=!1,fitViewport:s=!1,gutter:x,arrowPadding:r=4,overflowPadding:g=8,getAnchorRect:H,updatePosition:Z,...R}){let W=bG();l=l||W,sc(l,!1);let I=U(l,"arrowElement"),p=U(l,"anchorElement"),B=U(l,"disclosureElement"),y=U(l,"popoverElement"),C=U(l,"contentElement"),V=U(l,"placement"),h=U(l,"mounted"),Y=U(l,"rendered"),N=(0,yg.useRef)(null),[A,w]=(0,yg.useState)(!1),{portalRef:z,domReady:f}=Qi(e,R.portalRef),L=Xc(H),v=Xc(Z),K=!!Z;hc(()=>{if(!y?.isConnected)return;y.style.setProperty("--popover-overflow-padding",`${g}px`);let oc=etc(p,L),E=async()=>{if(!h)return;I||(N.current=N.current||document.createElement("div"));let nc=I||N.current,Ic=[dtc(nc,{gutter:x,shift:G}),otc({flip:X,overflowPadding:g}),ntc({slide:i,shift:G,overlap:a,overflowPadding:g}),Gtc(nc,{arrowPadding:r}),Xtc({sameWidth:m,fitViewport:s,overflowPadding:g})],Jc=await km(oc,y,{placement:V,strategy:n?"fixed":"absolute",middleware:Ic});l?.setState("currentPlacement",Jc.placement),w(!0);let vc=Cv(Jc.x),Ql=Cv(Jc.y);if(Object.assign(y.style,{top:"0",left:"0",transform:`translate3d(${vc}px,${Ql}px,0)`}),nc&&Jc.middlewareData.arrow){let{x:Hl,y:gc}=Jc.middlewareData.arrow,zc=Jc.placement.split("-")[0],Fl=nc.clientWidth/2,Kt=nc.clientHeight/2,_t=Hl!=null?Hl+Fl:-Fl,bt=gc!=null?gc+Kt:-Kt;y.style.setProperty("--popover-transform-origin",{top:`${_t}px calc(100% + ${Kt}px)`,bottom:`${_t}px ${-Kt}px`,left:`calc(100% + ${Fl}px) ${bt}px`,right:`${-Fl}px ${bt}px`}[zc]),Object.assign(nc.style,{left:Hl!=null?`${Hl}px`:"",top:gc!=null?`${gc}px`:"",[zc]:"100%"})}},j=Ym(oc,y,async()=>{K?(await v({updatePosition:E}),w(!0)):await E()},{elementResize:typeof ResizeObserver=="function"});return()=>{w(!1),j()}},[l,Y,y,I,p,y,V,h,f,n,X,G,i,a,m,s,x,r,g,L,K,v]),hc(()=>{if(!h||!f||!y?.isConnected||!C?.isConnected)return;let oc=()=>{y.style.zIndex=getComputedStyle(C).zIndex};oc();let E=requestAnimationFrame(()=>{E=requestAnimationFrame(oc)});return()=>cancelAnimationFrame(E)},[h,f,y,C]);let P=n?"fixed":"absolute";return R=Hc(R,oc=>(0,gy.jsx)("div",{...o,style:{position:P,top:0,left:0,width:"max-content",...o?.style},ref:l?.setPopoverElement,children:oc}),[l,P,o]),R=Hc(R,oc=>(0,gy.jsx)(Fd,{value:l,children:oc}),[l]),R={"data-placing":!A||void 0,...R,style:{position:"relative",...R.style}},R=uy({store:l,modal:t,portal:e,preserveTabOrder:b,preserveTabOrderAnchor:B||p,autoFocusOnShow:A&&d,...R,portalRef:z}),R}),N5c=Mb(_(function(l){return q(ltc,zm(l))}),bG);var Am=el([Pi],[Fd]),z5c=Am.useContext,A5c=Am.useScopedContext,Om=Am.useProviderContext,Vg=Am.ContextProvider,ba=Am.ScopedContextProvider;function Jg(c){return[c.clientX,c.clientY]}function Zy(c,l){let[t,e]=c,b=!1,d=l.length;for(let o=d,n=0,X=o-1;n<o;X=n++){let G=l[n],i=l[X],a=l[X===0?o-1:X-1];if(G==null||i==null||a==null)return!1;let[m,s]=G,[x,r]=i,[,g]=a,H=(s-r)*(t-m)-(m-x)*(e-s);if(r<s){if(e>=r&&e<s){if(H===0)return!0;H>0&&(e===r?e>g&&(b=!b):b=!b)}}else if(s<r){if(e>s&&e<=r){if(H===0)return!0;H<0&&(e===r?e<g&&(b=!b):b=!b)}}else if(e===s&&(t>=x&&t<=m||t>=m&&t<=x))return!0}return b}function itc(c,l){let{top:t,right:e,bottom:b,left:d}=l,[o,n]=c;return[o<d?"left":o>e?"right":null,n<t?"top":n>b?"bottom":null]}function Hy(c,l){let t=c.getBoundingClientRect(),{top:e,right:b,bottom:d,left:o}=t,[n,X]=itc(l,t),G=[l];return n?(X!=="top"&&G.push([n==="left"?o:b,e]),G.push([n==="left"?b:o,e]),G.push([n==="left"?b:o,d]),X!=="bottom"&&G.push([n==="left"?o:b,d])):X==="top"?(G.push([o,e]),G.push([o,d]),G.push([b,d]),G.push([b,e])):(G.push([o,d]),G.push([o,e]),G.push([b,e]),G.push([b,d])),G}var Sl=u(M(),1),Ry=u(J(),1);var atc="div";function utc(c,l,t,e){return Xb(l)?!0:c?!!(ll(l,c)||t&&ll(t,c)||e?.some(b=>Xb(b)||ll(b,c))):!1}function mtc({store:c,...l}){let[t,e]=(0,Sl.useState)(!1),b=U(c,"mounted");(0,Sl.useEffect)(()=>{b||e(!1)},[b]);let d=l.onFocus,o=Xc(X=>{d?.(X),!X.defaultPrevented&&e(!0)}),n=(0,Sl.useRef)(null);return(0,Sl.useEffect)(()=>Lc(c,["anchorElement"],X=>{n.current=X.anchorElement}),[c]),l={autoFocusOnHide:t,finalFocus:n,...l,onFocus:o},l}var Yv=(0,Sl.createContext)(null),Qm=$(function({store:l,modal:t=!1,portal:e=t,hideOnEscape:b=!0,hideOnHoverOutside:d=!0,disablePointerEventsOnApproach:o=!!d,...n}){let X=Om();l=l||X,sc(l,!1);let G=(0,Sl.useRef)(null),[i,a]=(0,Sl.useState)([]),m=(0,Sl.useRef)(0),s=(0,Sl.useRef)(null),{portalRef:x,domReady:r}=Qi(e,n.portalRef),g=Ti(),H=!!d,Z=_c(d),R=!!o,W=_c(o),I=U(l,"open"),p=U(l,"mounted");(0,Sl.useEffect)(()=>{if(!r||!p||!H&&!R)return;let h=G.current;return h?xl(pl("mousemove",N=>{if(!l||!g())return;let{anchorElement:A,hideTimeout:w,timeout:z}=l.getState(),f=s.current,[L]=N.composedPath(),v=A;if(utc(L,h,v,i)){s.current=L&&v&&ll(v,L)?Jg(N):null,window.clearTimeout(m.current),m.current=0;return}if(!m.current){if(f){let K=Jg(N);if(Zy(K,Hy(h,f))){if(s.current=K,!W(N))return;N.preventDefault(),N.stopPropagation();return}}Z(N)&&(m.current=window.setTimeout(()=>{m.current=0,l?.hide()},w??z))}},!0),()=>clearTimeout(m.current)):void 0},[l,g,r,p,H,R,i,W,Z]),(0,Sl.useEffect)(()=>{if(!r||!p||!R)return;let h=Y=>{let N=G.current;if(!N)return;let A=s.current;if(!A)return;let w=Hy(N,A);if(Zy(Jg(Y),w)){if(!W(Y))return;Y.preventDefault(),Y.stopPropagation()}};return xl(pl("mouseenter",h,!0),pl("mouseover",h,!0),pl("mouseout",h,!0),pl("mouseleave",h,!0))},[r,p,R,W]),(0,Sl.useEffect)(()=>{r&&(I||l?.setAutoFocusOnShow(!1))},[l,r,I]);let B=Dr(I);(0,Sl.useEffect)(()=>{if(r)return()=>{B.current||l?.setAutoFocusOnShow(!1)}},[l,r]);let y=(0,Sl.useContext)(Yv);hc(()=>{if(t||!e||!p||!r)return;let h=G.current;if(h)return y?.(h)},[t,e,p,r]);let C=(0,Sl.useCallback)(h=>{a(N=>[...N,h]);let Y=y?.(h);return()=>{a(N=>N.filter(A=>A!==h)),Y?.()}},[y]);n=Hc(n,h=>(0,Ry.jsx)(ba,{value:l,children:(0,Ry.jsx)(Yv.Provider,{value:C,children:h})}),[l,C]),n={...n,ref:Bc(G,n.ref)},n=mtc({store:l,...n});let V=U(l,h=>t||h.autoFocusOnShow);return n=zm({store:l,modal:t,portal:e,autoFocusOnShow:V,...n,portalRef:x,hideOnEscape(h){return Jo(b,h)?!1:(requestAnimationFrame(()=>{requestAnimationFrame(()=>{l?.hide()})}),!0)}}),n}),P5c=Mb(_(function(l){return q(atc,Qm(l))}),Om);var wm=el([Vg],[ba]),stc=wm.useContext,$5c=wm.useScopedContext,Tm=wm.useProviderContext,cyc=wm.ContextProvider,Fv=wm.ScopedContextProvider;var vv=u(J(),1);var xtc="div",rtc=$(function({store:l,portal:t=!0,gutter:e=8,preserveTabOrder:b=!1,hideOnHoverOutside:d=!0,hideOnInteractOutside:o=!0,...n}){let X=Tm();return l=l||X,sc(l,!1),n=Hc(n,G=>(0,vv.jsx)(Fv,{value:l,children:G}),[l]),n={role:U(l,G=>G.type==="description"?"tooltip":"none"),...n},n=Qm({...n,store:l,portal:t,gutter:e,preserveTabOrder:b,hideOnHoverOutside(G){if(Jo(d,G))return!1;let i=l?.getState().anchorElement;return i?!("focusVisible"in i.dataset):!0},hideOnInteractOutside:G=>{if(Jo(o,G))return!1;let i=l?.getState().anchorElement;return i?!ll(i,G.target):!0}}),n}),hg=Mb(_(function(l){return q(xtc,rtc(l))}),Tm);var xG=u(M(),1),gtc="a",Dm=$(function({store:l,showOnHover:t=!0,...e}){let b=Om();l=l||b,sc(l,!1);let d=Xt(e),o=(0,xG.useRef)(0);(0,xG.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,xG.useEffect)(()=>pl("mouseleave",r=>{if(!l)return;let{anchorElement:g}=l.getState();g&&r.target===g&&(window.clearTimeout(o.current),o.current=0)},!0),[l]);let n=e.onMouseMove,X=_c(t),G=Ti(),i=Xc(x=>{if(n?.(x),d||!l||x.defaultPrevented||o.current||!G()||!X(x))return;let r=x.currentTarget;l.setAnchorElement(r),l.setDisclosureElement(r);let{showTimeout:g,timeout:H}=l.getState(),Z=()=>{o.current=0,G()&&(l?.setAnchorElement(r),l?.show(),queueMicrotask(()=>{l?.setDisclosureElement(r)}))},R=g??H;R===0?Z():o.current=window.setTimeout(Z,R)}),a=e.onClick,m=Xc(x=>{a?.(x),l&&(window.clearTimeout(o.current),o.current=0)}),s=(0,xG.useCallback)(x=>{if(!l)return;let{anchorElement:r}=l.getState();r?.isConnected||l.setAnchorElement(x)},[l]);return e={...e,ref:Bc(s,e.ref),onMouseMove:i,onClick:m},e=Tb(e),e}),myc=_(function(l){return q(gtc,Dm(l))});var Lm=u(M(),1);var Ztc="div",rG=al({activeStore:null}),Iy=new WeakSet;function Htc(c){return()=>{let{activeStore:l}=rG.getState();l===c&&rG.setState("activeStore",null)}}function Rtc(c){c&&(Iy.add(c),c.hide(),queueMicrotask(()=>Iy.delete(c)))}var Itc=$(function({store:l,showOnHover:t=!0,...e}){let b=Tm();l=l||b,sc(l,!1);let d=(0,Lm.useRef)(!1);(0,Lm.useEffect)(()=>Lc(l,["mounted"],x=>{x.mounted||(d.current=!1)}),[l]),(0,Lm.useEffect)(()=>{if(!l)return;let x=Htc(l);return xl(x,Lc(l,["mounted"],r=>{if(!l)return;if(r.mounted){let{activeStore:H}=rG.getState();if(H!==l){if(Iy.has(l))return;Rtc(H)}return rG.setState("activeStore",l)}let g=setTimeout(x,l.getState().skipTimeout);return()=>clearTimeout(g)}))},[l]);let o=e.onMouseEnter,n=Xc(x=>{o?.(x),d.current=!0}),X=e.onFocusVisible,G=Xc(x=>{X?.(x),!x.defaultPrevented&&(l?.setAnchorElement(x.currentTarget),l?.show())}),i=e.onBlur,a=Xc(x=>{if(i?.(x),x.defaultPrevented)return;let{activeStore:r}=rG.getState();d.current=!1,r===l&&rG.setState("activeStore",null)}),m=U(l,"type"),s=U(l,x=>x.contentElement?.id);return e={"aria-labelledby":m==="label"&&e["aria-label"]==null?s:void 0,...e,onMouseEnter:n,onFocusVisible:G,onBlur:a},e=Dm({store:l,showOnHover(x){if(!d.current||Jo(t,x))return!1;let{activeStore:r}=rG.getState();return r?(l?.show(),!1):!0},...e}),e}),Cg=_(function(l){return q(Ztc,Itc(l))});function Yg({popover:c,...l}={}){let t=hd(l.store,Db(c,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let e=t?.getState(),b=ig({...l,store:t}),d=uc(l.placement,e?.placement,"bottom"),o=al({...b.getState(),placement:d,currentPlacement:d,anchorElement:uc(e?.anchorElement,null),popoverElement:uc(e?.popoverElement,null),arrowElement:uc(e?.arrowElement,null),rendered:Symbol("rendered")},b,t);return{...b,...o,setAnchorElement:n=>o.setState("anchorElement",n),setPopoverElement:n=>o.setState("popoverElement",n),setArrowElement:n=>o.setState("arrowElement",n),render:()=>o.setState("rendered",Symbol("rendered"))}}function Fg(c,l,t){return $t(l,[t.popover]),Oc(c,t,"placement"),ny(c,l,t)}function vg(c={}){let l=c.store?.getState(),t=Yg({...c,placement:uc(c.placement,l?.placement,"bottom")}),e=uc(c.timeout,l?.timeout,500),b=al({...t.getState(),timeout:e,showTimeout:uc(c.showTimeout,l?.showTimeout),hideTimeout:uc(c.hideTimeout,l?.hideTimeout),autoFocusOnShow:uc(l?.autoFocusOnShow,!1)},t,c.store);return{...t,...b,setAutoFocusOnShow:d=>b.setState("autoFocusOnShow",d)}}function Ng(c,l,t){return Oc(c,t,"timeout"),Oc(c,t,"showTimeout"),Oc(c,t,"hideTimeout"),Fg(c,l,t)}function Nv(c={}){let l=c.store?.getState(),t=vg({...c,placement:uc(c.placement,l?.placement,"top"),hideTimeout:uc(c.hideTimeout,l?.hideTimeout,0)}),e=al({...t.getState(),type:uc(c.type,l?.type,"description"),skipTimeout:uc(c.skipTimeout,l?.skipTimeout,300)},t,c.store);return{...t,...e}}function ptc(c,l,t){return Oc(c,t,"type"),Oc(c,t,"skipTimeout"),Ng(c,l,t)}function fg(c={}){let[l,t]=yl(Nv,c);return ptc(l,t,c)}var Um=el([pe],[At]),fv=Um.useContext,Sv=Um.useScopedContext,Pyc=Um.useProviderContext,Kyc=Um.ContextProvider,_yc=Um.ScopedContextProvider;var Btc="div",Wy=$(function({store:l,...t}){let e=bG();return l=l||e,t={...t,ref:Bc(l?.setAnchorElement,t.ref)},t}),lVc=_(function(l){return q(Btc,Wy(l))});var da=u(M(),1),kv="button",py=$(function(l){let t=(0,da.useRef)(null),e=fn(t,kv),[b,d]=(0,da.useState)(()=>!!e&&Vo({tagName:e,type:l.type}));return(0,da.useEffect)(()=>{t.current&&d(Vo(t.current))},[]),l={role:!b&&e!=="a"?"button":void 0,...l,ref:Bc(t,l.ref)},l=KX(l),l}),oVc=_(function(l){return q(kv,py(l))});var oa=u(M(),1);var ytc="button",Vtc=Symbol("disclosure"),By=$(function({store:l,toggleOnClick:t=!0,...e}){let b=um();l=l||b,sc(l,!1);let d=(0,oa.useRef)(null),[o,n]=(0,oa.useState)(!1),X=U(l,"disclosureElement"),G=U(l,"open");(0,oa.useEffect)(()=>{let r=X===d.current;X?.isConnected||(l?.setDisclosureElement(d.current),r=!0),n(G&&r)},[X,l,G]);let i=e.onClick,a=_c(t),[m,s]=wi(e,Vtc,!0),x=Xc(r=>{i?.(r),!r.defaultPrevented&&(m||a(r)&&(l?.setDisclosureElement(r.currentTarget),l?.toggle()))});return e={"aria-expanded":o,"aria-controls":U(l,"contentElement")?.id,...s,...e,ref:Bc(d,e.ref),onClick:x},e=py(e),e}),Jtc=_(function(l){return q(ytc,By(l))});var htc="button",yy=$(function({store:l,...t}){let e=cG();return l=l||e,sc(l,!1),t={"aria-haspopup":LX(U(l,"contentElement"),"dialog"),...t},t=By({store:l,...t}),t}),HVc=_(function(l){return q(htc,yy(l))});var zv=u(J(),1),Ctc="button",jm=$(function({store:l,...t}){let e=bG();l=l||e,sc(l,!1);let b=t.onClick,d=Xc(o=>{l?.setAnchorElement(o.currentTarget),b?.(o)});return t=Hc(t,o=>(0,zv.jsx)(Fd,{value:l,children:o}),[l]),t={...t,onClick:d},t=Wy({store:l,...t}),t=yy({store:l,...t}),t}),VVc=_(function(l){return q(Ctc,jm(l))});var Av=u(M(),1),Vy=u(J(),1);var Ytc="span",Ftc={top:"4,10 8,6 12,10",right:"6,4 10,8 6,12",bottom:"4,6 8,10 12,6",left:"10,4 6,8 10,12"},Jy=$(function({store:l,placement:t,...e}){let b=mF();l=l||b,sc(l,!1);let d=Ftc[U(l,o=>t||o.placement).split("-")[0]];return e={children:(0,Av.useMemo)(()=>(0,Vy.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,Vy.jsx)("polyline",{points:d})}),[d]),"aria-hidden":!0,...e,style:{width:"1em",height:"1em",pointerEvents:"none",...e.style}},il(e)}),vVc=_(function(l){return q(Ytc,Jy(l))});var Em=el([pe],[At]),hy=Em.useContext,kVc=Em.useScopedContext,Ov=Em.useProviderContext,zVc=Em.ContextProvider,Qv=Em.ScopedContextProvider;var Mm=u(M(),1);var wv="input";function vtc(c,l){if(l!==void 0)return c!=null&&l!=null?l===c:!!l}function Ntc(c,l){return c==="input"&&(!l||l==="radio")}var Cy=$(function({store:l,name:t,value:e,checked:b,...d}){let o=hy();l=l||o;let n=tl(d.id),X=(0,Mm.useRef)(null),G=U(l,p=>b??vtc(e,p?.value)),i=U(l,p=>p?.id),a=t??i;(0,Mm.useEffect)(()=>{n&&G&&l?.getState().activeId!==n&&l?.setActiveId(n)},[l,G,n]);let m=d.onChange,s=Ntc(fn(X,wv),d.type),x=Xt(d),[r,g]=Oi();(0,Mm.useEffect)(()=>{let p=X.current;p&&(s||(G!==void 0&&(p.checked=G),a!==void 0&&(p.name=a),e!==void 0&&(p.value=`${e}`)))},[r,s,G,a,e]);let H=Xc(p=>{if(x){p.preventDefault(),p.stopPropagation();return}l?.getState().value!==e&&(s||(p.currentTarget.checked=!0,g()),m?.(p),!p.defaultPrevented&&l?.setValue(e))}),Z=d.onClick,R=Xc(p=>{Z?.(p),!p.defaultPrevented&&(s||H(p))}),W=d.onFocus,I=Xc(p=>{if(W?.(p),p.defaultPrevented||!s||!l)return;let{moves:B,activeId:y}=l.getState();B&&(n&&y!==n||H(p))});return d={role:s?void 0:"radio",type:s?"radio":void 0,"aria-checked":G,...d,id:n,ref:Bc(X,d.ref),onChange:H,onClick:R,onFocus:I},d=Lb({store:l,clickOnEnter:!s,...d}),il({name:s?a:void 0,value:s?e:void 0,checked:G,...d})}),na=Tl(_(function(l){return q(wv,Cy(l))}));var Tv=u(J(),1),ftc="div",Stc=$(function({store:l,...t}){let e=Ov();return l=l||e,sc(l,!1),t=Hc(t,b=>(0,Tv.jsx)(Qv,{value:l,children:b}),[l]),t={role:"radiogroup",...t},t=Ub({store:l,...t}),t}),Xa=_(function(l){return q(ftc,Stc(l))});function Dv(c={}){let l=c.store?.getState(),t=Gb({...c,focusLoop:uc(c.focusLoop,l?.focusLoop,!0)}),e=al({...t.getState(),value:uc(c.value,l?.value,c.defaultValue,null)},t,c.store);return{...t,...e,setValue:b=>e.setState("value",b)}}function ztc(c,l,t){return c=jb(c,l,t),Oc(c,t,"value","setValue"),c}function Ga(c={}){c=gm(c);let[l,t]=yl(Dv,c);return ztc(l,t,c)}var Lv=u(M(),1),Atc="div",fo="";function Yy(){fo=""}function Otc(c){let l=c.target;return l&&qt(l)?!1:c.key===" "&&fo.length?!0:c.key.length===1&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(c.key)}function Qtc(c,l){if(wl(c))return!0;let t=c.target;return t?l.some(e=>e.element===t):!1}function wtc(c){return c.filter(l=>!l.disabled)}function Sg(c,l){let t=c.element?.textContent||c.children||"value"in c&&c.value;return t?g9(t).trim().toLowerCase().startsWith(l.toLowerCase()):!1}function Ttc(c,l,t){if(!t)return c;let e=c.find(b=>b.id===t);return!e||!Sg(e,l)||fo!==l&&Sg(e,fo)?c:(fo=l,z9(c.filter(b=>Sg(b,fo)),t).filter(b=>b.id!==t))}var So=$(function({store:l,typeahead:t=!0,...e}){let b=Vd();l=l||b,sc(l,!1);let d=e.onKeyDownCapture,o=(0,Lv.useRef)(0),n=Xc(X=>{if(d?.(X),X.defaultPrevented||!t||!l)return;if(!Otc(X))return Yy();let{renderedItems:G,items:i,activeId:a,id:m}=l.getState(),s=wtc(i.length>G.length?i:G),x=fc(X.currentTarget),r=`[data-offscreen-id="${m}"]`,g=x.querySelectorAll(r);for(let R of g){let W=R.ariaDisabled==="true"||"disabled"in R&&!!R.disabled;s.push({id:R.id,element:R,disabled:W})}if(g.length&&(s=Sr(s,R=>R.element)),!Qtc(X,s))return Yy();X.preventDefault(),window.clearTimeout(o.current),o.current=window.setTimeout(()=>{fo=""},500);let H=X.key.toLowerCase();fo+=H,s=Ttc(s,H,a);let Z=s.find(R=>Sg(R,fo));Z?l.move(Z.id):Yy()});return e={...e,onKeyDownCapture:n},il(e)}),kg=_(function(l){return q(Atc,So(l))});var Dtc="span",Ltc=$(function({store:l,...t}){let e=dG();return l=l||e,t=Jy({store:l,...t}),t}),Fy=_(function(l){return q(Dtc,Ltc(l))});var An=u(M(),1),ub=u(J(),1);var Utc="button";function jtc(c){return Array.from(c.selectedOptions).map(l=>l.value)}function zg(c,l){return()=>{let t=l();if(!t)return;let e=0,b=c.item(t),d=b;for(;b&&b.value==null;){let o=l(++e);if(!o)return;if(b=c.item(o),b===d)break}return b?.id}}var Etc=$(function({store:l,name:t,form:e,required:b,showOnKeyDown:d=!0,moveOnKeyDown:o=!0,toggleOnPress:n=!0,toggleOnClick:X=n,...G}){let i=oG();l=l||i,sc(l,!1);let a=G.onKeyDown,m=_c(d),s=_c(o),x=U(l,"placement").split("-")[0],r=U(l,"value"),g=Array.isArray(r),H=Xc(Y=>{if(a?.(Y),Y.defaultPrevented||!l)return;let{orientation:N,items:A,activeId:w}=l.getState(),z=N!=="horizontal",f=N!=="vertical",L=!!A.find(P=>!P.disabled&&P.value!=null)?.rowId,v={ArrowUp:(L||z)&&zg(l,l.up),ArrowRight:(L||f)&&zg(l,l.next),ArrowDown:(L||z)&&zg(l,l.down),ArrowLeft:(L||f)&&zg(l,l.previous)}[Y.key];v&&s(Y)&&(Y.preventDefault(),l.move(v()));let K=x==="top"||x==="bottom";({ArrowDown:K,ArrowUp:K,ArrowLeft:x==="left",ArrowRight:x==="right"})[Y.key]&&m(Y)&&(Y.preventDefault(),l.move(w),jX(Y.currentTarget,"keyup",l.show))});G=Hc(G,Y=>(0,ub.jsx)(tg,{value:l,children:Y}),[l]);let[Z,R]=(0,An.useState)(!1),W=(0,An.useRef)(!1);(0,An.useEffect)(()=>{let Y=W.current;W.current=!1,!Y&&R(!1)},[r]);let I=U(l,Y=>Y.labelElement?.id),p=G["aria-label"],B=G["aria-labelledby"]||I,y=U(l,Y=>{if(t)return Y.items}),C=(0,An.useMemo)(()=>[...new Set(y?.map(Y=>Y.value).filter(Y=>Y!=null))],[y]);G=Hc(G,Y=>t?(0,ub.jsxs)(ub.Fragment,{children:[(0,ub.jsxs)("select",{style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},tabIndex:-1,"aria-hidden":!0,"aria-label":p,"aria-labelledby":p!=null?void 0:B,name:t,form:e,required:b,disabled:G.disabled,value:r,multiple:g,onFocus:()=>l?.getState().selectElement?.focus(),onChange:N=>{W.current=!0,R(!0),l?.setValue(g?jtc(N.target):N.target.value)},children:[Fr(r).map(N=>N==null||C.includes(N)?null:(0,ub.jsx)("option",{value:N,children:N},N)),C.map(N=>(0,ub.jsx)("option",{value:N,children:N},N))]}),Y]}):Y,[l,p,B,t,e,b,r,g,C,G.disabled]);let V=(0,ub.jsxs)(ub.Fragment,{children:[r,(0,ub.jsx)(Fy,{})]}),h=U(l,"contentElement");return G={role:"combobox","aria-autocomplete":"none","aria-labelledby":G["aria-label"]!=null?void 0:I,"aria-haspopup":LX(h,"listbox"),"data-autofill":Z||void 0,"data-name":t,children:V,...G,ref:Bc(l.setSelectElement,G.ref),onKeyDown:H},G=jm({store:l,toggleOnClick:X,...G}),G=So({store:l,...G}),G}),Ag=_(function(l){return q(Utc,Etc(l))});var Uv=u(M(),1),Og=(0,Uv.createContext)(void 0);var jv=u(M(),1),Ev=u(J(),1),Mtc="div",vy=$(function(l){let[t,e]=(0,jv.useState)();return l=Hc(l,b=>(0,Ev.jsx)(Og.Provider,{value:e,children:b}),[]),l={role:"group","aria-labelledby":l["aria-label"]!=null?void 0:t,...l},il(l)}),C1c=_(function(l){return q(Mtc,vy(l))});var Ptc="div",Ny=$(function({store:l,...t}){return t=vy(t),t}),Qg=_(function(l){return q(Ptc,Ny(l))});var Mv=u(M(),1),Ktc="div",fy=$(function(l){let t=(0,Mv.useContext)(Og),e=tl(l.id);return hc(()=>(t?.(e),()=>t?.(void 0)),[t,e]),l={"aria-hidden":!0,...l,id:e},il(l)}),z1c=_(function(l){return q(Ktc,fy(l))});var _tc="div",Sy=$(function({store:l,...t}){return t=fy(t),t}),wg=_(function(l){return q(_tc,Sy(l))});var Pv=u(M(),1),qtc="div";function $tc(c){let l=c.relatedTarget;return yo(l)?ll(c.currentTarget,l):!1}var ky=Symbol("composite-hover");function cec(c){let{relatedTarget:l}=c;if(!yo(l))return!1;let t=l;do{if(Ue(t,ky)&&t[ky])return!0;t=t.parentElement}while(t);return!1}var Pm=$(function({store:l,focusOnHover:t=!0,blurOnHoverEnd:e=!!t,...b}){let d=Vd();l=l||d,sc(l,!1);let o=Ti(),n=b.onMouseMove,X=_c(t),G=Xc(x=>{if(n?.(x),!x.defaultPrevented&&o()&&X(x)){if(!Xb(x.currentTarget)){let r=l?.getState().baseElement;r&&!MX(r)&&r.focus()}l?.setActiveId(x.currentTarget.id)}}),i=b.onMouseLeave,a=_c(e),m=Xc(x=>{i?.(x),!x.defaultPrevented&&o()&&($tc(x)||cec(x)||X(x)&&a(x)&&(l?.setActiveId(null),l?.getState().baseElement?.focus()))}),s=(0,Pv.useCallback)(x=>{x&&(x[ky]=!0)},[]);return b={...b,ref:Bc(s,b.ref),onMouseMove:G,onMouseLeave:m},il(b)}),Tg=Tl(_(function(l){return q(qtc,Pm(l))}));var Kv=u(M(),1),_v=u(J(),1);var lec="div";function tec(c,l){if(l!=null)return c==null?!1:Array.isArray(c)?c.includes(l):c===l}var eec=$(function({store:l,value:t,getItem:e,hideOnClick:b,setValueOnClick:d=t!=null,preventScrollOnKeyDown:o=!0,focusOnHover:n=!0,...X}){let G=HF();l=l||G,sc(l,!1);let i=tl(X.id),a=Xt(X),{listElement:m,multiSelectable:s,selected:x,autoFocus:r}=Er(l,{listElement:"listElement",multiSelectable(y){return Array.isArray(y.value)},selected(y){return tec(y.value,t)},autoFocus(y){return t==null||y.value==null||y.activeId!==i&&l?.item(y.activeId)?!1:Array.isArray(y.value)?y.value[y.value.length-1]===t:y.value===t}}),g=U(l?.combobox,"virtualFocus"),H=(0,Kv.useCallback)(y=>{let C={...y,value:a?void 0:t};return e?e(C):C},[a,t,e]);b=b??(t!=null&&!s);let Z=X.onClick,R=_c(d),W=_c(b),I=Xc(y=>{Z?.(y),!y.defaultPrevented&&(Ar(y)||zr(y)||(R(y)&&t!=null&&l?.setValue(C=>Array.isArray(C)?C.includes(t)?C.filter(V=>V!==t):[...C,t]:t),W(y)&&l?.hide()))});X=Hc(X,y=>(0,_v.jsx)(eg.Provider,{value:x??!1,children:y}),[x]);let p=X.autoFocus??r;X={role:ki(m),"aria-selected":x,children:t,...X,id:i,autoFocus:g===!1?!1:p,"data-autofocus":p||void 0,onClick:I},X=Lb({store:l,getItem:H,preventScrollOnKeyDown:o,...X});let B=_c(n);return X=Pm({store:l,...X,focusOnHover(y){return B(y)?l.getState().open:!1}}),X}),Dg=Tl(_(function(l){return q(lec,eec(l))}));var qv=u(M(),1),Lg=(0,qv.createContext)(!1);var $v=u(M(),1),zy=u(J(),1),bec="span",dec=(0,zy.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,zy.jsx)("polyline",{points:"4,8 7,12 12,4"})});function oec(c){return c.checked?c.children||dec:typeof c.children=="function"?c.children:null}var Km=$(function({store:l,checked:t,...e}){let b=(0,$v.useContext)(Lg);t=t??b;let d=oec({checked:t,children:e.children});return e={"aria-hidden":!0,...e,children:d,style:{width:"1em",height:"1em",pointerEvents:"none",...e.style}},il(e)}),e2c=_(function(l){return q(bec,Km(l))});var cN=u(M(),1),nec="span",Xec=$(function({store:l,checked:t,...e}){let b=(0,cN.useContext)(eg);return t=t??b,e=Km({...e,checked:t}),e}),Ug=_(function(l){return q(nec,Xec(l))});var Gec="div",iec=$(function({store:l,...t}){let e=oG();l=l||e,sc(l,!1);let b=tl(t.id),d=t.onClick,o=Xc(n=>{d?.(n),!n.defaultPrevented&&queueMicrotask(()=>{l?.getState().selectElement?.focus()})});return t={...t,id:b,ref:Bc(l.setLabelElement,t.ref),onClick:o,style:{cursor:"default",...t.style}},il(t)}),jg=Tl(_(function(l){return q(Gec,iec(l))}));var Je=u(M(),1),Eg=u(J(),1);var aec="div",lN=(0,Je.createContext)(null),Ay=$(function({store:l,resetOnEscape:t=!0,hideOnEnter:e=!0,focusOnMove:b=!0,composite:d,alwaysVisible:o,...n}){let X=dG();l=l||X,sc(l,!1);let G=tl(n.id),i=U(l,"value"),a=Array.isArray(i),[m,s]=(0,Je.useState)(i),x=U(l,"mounted");(0,Je.useEffect)(()=>{x||s(i)},[x,i]),t=t&&!a;let r=n.onKeyDown,g=_c(t),H=_c(e),Z=Xc(v=>{r?.(v),!v.defaultPrevented&&(v.key==="Escape"&&g(v)&&l?.setValue(m),(v.key===" "||v.key==="Enter")&&wl(v)&&H(v)&&(v.preventDefault(),l?.hide()))}),R=(0,Je.useContext)(E5),W=(0,Je.useState)(),[I,p]=R||W,B=(0,Je.useMemo)(()=>[I,p],[I,p]),[y,C]=(0,Je.useState)(null),V=(0,Je.useContext)(lN);(0,Je.useEffect)(()=>{if(V)return V(l),()=>V(null)},[V,l]),n=Hc(n,v=>(0,Eg.jsx)(tg,{value:l,children:(0,Eg.jsx)(lN.Provider,{value:C,children:(0,Eg.jsx)(E5.Provider,{value:B,children:v})})}),[l,B]);let h=!!l.combobox;d=d??(!h&&y!==l);let[Y,N]=Lr(d?l.setListElement:null),A=C9(Y,"role",n.role),w=(d||A==="listbox"||A==="menu"||A==="tree"||A==="grid")&&a||void 0,z=tG(x,n.hidden,o),f=z?{...n.style,display:"none"}:n.style;d&&(n={role:"listbox","aria-multiselectable":w,...n});let L=U(l,v=>I||v.labelElement?.id);return n={"aria-labelledby":n["aria-label"]!=null?void 0:L,hidden:z,...n,id:G,ref:Bc(N,n.ref),style:f,onKeyDown:Z},n=Ub({store:l,...n,composite:d}),n=So({store:l,typeahead:!h,...n}),n}),uec=_(function(l){return q(aec,Ay(l))});var mec="div",sec=$(function({store:l,alwaysVisible:t,...e}){let b=oG();return l=l||b,e=Ay({store:l,alwaysVisible:t,...e}),e=zm({store:l,alwaysVisible:t,...e}),e}),Mg=Mb(_(function(l){return q(mec,sec(l))}),oG);function tN({combobox:c,...l}={}){let t=hd(l.store,Db(c,["value","items","renderedItems","baseElement","arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let e=t.getState(),b=Gb({...l,store:t,virtualFocus:uc(l.virtualFocus,e.virtualFocus,!0),includesBaseElement:uc(l.includesBaseElement,e.includesBaseElement,!1),activeId:uc(l.activeId,e.activeId,l.defaultActiveId,null),orientation:uc(l.orientation,e.orientation,"vertical")}),d=Yg({...l,store:t,placement:uc(l.placement,e.placement,"bottom-start")}),o=new String(""),n={...b.getState(),...d.getState(),value:uc(l.value,e.value,l.defaultValue,o),setValueOnMove:uc(l.setValueOnMove,e.setValueOnMove,!1),labelElement:uc(e.labelElement,null),selectElement:uc(e.selectElement,null),listElement:uc(e.listElement,null)},X=al(n,b,d,t);return Bl(X,()=>Lc(X,["value","items"],G=>{if(G.value!==o||!G.items.length)return;let i=G.items.find(a=>!a.disabled&&a.value!=null);i?.value!=null&&X.setState("value",i.value)})),Bl(X,()=>Lc(X,["mounted"],G=>{G.mounted||X.setState("activeId",n.activeId)})),Bl(X,()=>Lc(X,["mounted","items","value"],G=>{if(c||G.mounted)return;let i=Fr(G.value),a=i[i.length-1];if(a==null)return;let m=G.items.find(s=>!s.disabled&&s.value===a);m&&X.setState("activeId",m.id)})),Bl(X,()=>ho(X,["setValueOnMove","moves"],G=>{let{mounted:i,value:a,activeId:m}=X.getState();if(!G.setValueOnMove&&i||Array.isArray(a)||!G.moves||!m)return;let s=b.item(m);!s||s.disabled||s.value==null||X.setState("value",s.value)})),{...b,...d,...X,combobox:c,setValue:G=>X.setState("value",G),setLabelElement:G=>X.setState("labelElement",G),setSelectElement:G=>X.setState("selectElement",G),setListElement:G=>X.setState("listElement",G)}}function rec(c){let l=cg();return c={...c,combobox:c.combobox!==void 0?c.combobox:l},gm(c)}function gec(c,l,t){return $t(l,[t.combobox]),Oc(c,t,"value","setValue"),Oc(c,t,"setValueOnMove"),Object.assign(Fg(jb(c,l,t),l,t),{combobox:t.combobox})}function Pg(c={}){c=rec(c);let[l,t]=yl(tN,c);return gec(l,t,c)}var eN=u(M(),1),bN=u(J(),1);var Zec="div",Hec=$(function({store:l,"aria-setsize":t,"aria-posinset":e,...b}){let d=Vd();l=l||d,sc(l,!1);let o=tl(b.id),n=U(l,G=>G.baseElement||void 0),X=(0,eN.useMemo)(()=>({id:o,baseElement:n,ariaSetSize:t,ariaPosInSet:e}),[o,n,t,e]);return b=Hc(b,G=>(0,bN.jsx)(jr.Provider,{value:X,children:G}),[X]),b={...b,id:o},il(b)}),Kg=_(function(l){return q(Zec,Hec(l))});function dN(c={}){c.store;let l=c.store?.getState(),t=al({value:uc(c.value,l?.value,c.defaultValue,!1)},c.store);return{...t,setValue:e=>t.setState("value",e)}}function Iec(c,l,t){return $t(l,[t.store]),Oc(c,t,"value","setValue"),c}function oN(c={}){let[l,t]=yl(dN,c);return Iec(l,t,c)}var _m=el(),nN=_m.useContext,dJc=_m.useScopedContext,oJc=_m.useProviderContext,nJc=_m.ContextProvider,XJc=_m.ScopedContextProvider;var ia=u(M(),1),iN=u(J(),1);var aN="input";function XN(c,l){l?c.indeterminate=!0:c.indeterminate&&(c.indeterminate=!1)}function Wec(c,l){return c==="input"&&(!l||l==="checkbox")}function GN(c){return Array.isArray(c)?c.toString():c}var Oy=$(function({store:l,name:t,value:e,checked:b,defaultChecked:d,...o}){let n=nN();l=l||n;let[X,G]=(0,ia.useState)(d??!1),i=U(l,p=>{if(b!==void 0)return b;if(p?.value===void 0)return X;if(e!=null){if(Array.isArray(p.value)){let B=GN(e);return p.value.includes(B)}return p.value===e}return Array.isArray(p.value)?!1:typeof p.value=="boolean"?p.value:!1}),a=(0,ia.useRef)(null),m=Wec(fn(a,aN),o.type),s=i?i==="mixed":void 0,x=i==="mixed"?!1:i,r=Xt(o),[g,H]=Oi();(0,ia.useEffect)(()=>{let p=a.current;p&&(XN(p,s),!m&&(p.checked=x,t!==void 0&&(p.name=t),e!==void 0&&(p.value=String(e))))},[g,s,m,x,t,e]);let Z=o.onChange,R=Xc(p=>{if(r){p.stopPropagation(),p.preventDefault();return}if(XN(p.currentTarget,s),m||(p.currentTarget.checked=!p.currentTarget.checked,H()),Z?.(p),p.defaultPrevented)return;let B=p.currentTarget.checked;G(B),l?.setValue(y=>{if(e==null)return B;let C=GN(e);return Array.isArray(y)?B?y.includes(C)?y:[...y,C]:y.filter(V=>V!==C):y===C?!1:C})}),W=o.onClick,I=Xc(p=>{W?.(p),!p.defaultPrevented&&(m||R(p))});return o=Hc(o,p=>(0,iN.jsx)(Lg.Provider,{value:x,children:p}),[x]),o={role:m?void 0:"checkbox",type:m?"checkbox":void 0,"aria-checked":i,...o,ref:Bc(a,o.ref),onChange:R,onClick:I},o=KX({clickOnEnter:!m,...o}),il({name:m?t:void 0,value:m?e:void 0,checked:x,...o})}),rJc=_(function(l){return q(aN,Oy(l))});var Qy=u(M(),1),qm=el([pe,Vg],[At,ba]),$m=qm.useContext,aa=qm.useScopedContext,gG=qm.useProviderContext,uN=qm.ContextProvider,mN=qm.ScopedContextProvider;var _g=(0,Qy.createContext)(void 0),qg=(0,Qy.createContext)(!1);var $g=u(M(),1),wy=u(J(),1);var pec="div";function Bec({store:c,...l}){let[t,e]=(0,$g.useState)(void 0),b=l["aria-label"],d=U(c,"disclosureElement"),o=U(c,"contentElement");return(0,$g.useEffect)(()=>{let n=d;if(!n)return;let X=o;X&&(b||X.hasAttribute("aria-label")?e(void 0):n.id&&e(n.id))},[b,d,o]),t}var Ty=$(function({store:l,alwaysVisible:t,composite:e,...b}){let d=gG();l=l||d,sc(l,!1);let o=l.parent,n=l.menubar,X=!!o,G=tl(b.id),i=b.onKeyDown,a=U(l,W=>W.placement.split("-")[0]),m=U(l,W=>W.orientation==="both"?void 0:W.orientation),s=m!=="vertical",x=U(n,W=>!!W&&W.orientation!=="vertical"),r=Xc(W=>{if(i?.(W),!W.defaultPrevented){if(X||n&&!s){let I={ArrowRight:()=>a==="left"&&!s,ArrowLeft:()=>a==="right"&&!s,ArrowUp:()=>a==="bottom"&&s,ArrowDown:()=>a==="top"&&s}[W.key];if(I?.())return W.stopPropagation(),W.preventDefault(),l?.hide()}if(n){let I={ArrowRight:()=>{if(x)return n.next()},ArrowLeft:()=>{if(x)return n.previous()},ArrowDown:()=>{if(!x)return n.next()},ArrowUp:()=>{if(!x)return n.previous()}}[W.key],p=I?.();p!==void 0&&(W.stopPropagation(),W.preventDefault(),n.move(p))}}});b=Hc(b,W=>(0,wy.jsx)(mN,{value:l,children:W}),[l]);let g=Bec({store:l,...b}),H=tG(U(l,"mounted"),b.hidden,t),Z=H?{...b.style,display:"none"}:b.style;b=Hc(b,W=>(0,wy.jsx)(qg.Provider,{value:H,children:W}),[H]),b={"aria-labelledby":g,hidden:H,...b,id:G,ref:Bc(G?l.setContentElement:null,b.ref),style:Z,onKeyDown:r};let R=!!l.combobox;return e=e??!R,e&&(b={role:"menu","aria-orientation":m,...b}),b=Ub({store:l,composite:e,...b}),b=So({store:l,typeahead:!R,...b}),b}),yec=_(function(l){return q(pec,Ty(l))});var zd=u(M(),1);var Vec="div",Jec=$(function({store:l,modal:t=!1,portal:e=t,hideOnEscape:b=!0,autoFocusOnShow:d=!0,hideOnHoverOutside:o,alwaysVisible:n,...X}){let G=gG();l=l||G,sc(l,!1);let i=(0,zd.useRef)(null),a=l.parent,m=l.menubar,s=!!a,x=!!m&&!s,r=s?!1:t;X={...X,ref:Bc(i,X.ref)};let{"aria-labelledby":g,...H}=Ty({store:l,alwaysVisible:n,...X});X=H;let[Z,R]=(0,zd.useState)(),W=U(l,"autoFocusOnShow"),I=U(l,"initialFocus"),p=U(l,"baseElement"),B=U(l,"renderedItems");(0,zd.useEffect)(()=>{let N=!1;return R(A=>{if(N)return;if(r&&A?.current?.isConnected)return A;if(!W)return;let w;switch(I){case"first":w=B.find(f=>!f.disabled&&f.element)?.element||null;break;case"last":w=[...B].reverse().find(f=>!f.disabled&&f.element)?.element||null;break;default:w=p}if(w&&w===A?.current)return A;let z=(0,zd.createRef)();return z.current=w,z}),()=>{N=!0}},[l,r,W,I,B,p]);let y=!!Z||!!X.initialFocus||r,C=d===!1?!1:y&&d,V=U(l.combobox||l,"contentElement"),h=U(a?.combobox||a,"contentElement"),Y=(0,zd.useMemo)(()=>{if(!h||!V)return;let N=V.getAttribute("role"),A=h.getAttribute("role");if(!((A==="menu"||A==="menubar")&&N==="menu"))return h},[V,h]);return Y!==void 0&&(X={preserveTabOrderAnchor:Y,...X}),X=Qm({store:l,alwaysVisible:n,initialFocus:Z,autoFocusOnShow:C,...X,hideOnEscape(N){return Jo(b,N)?!1:(l?.hideAll(),!0)},hideOnHoverOutside(N){let A=l?.getState().disclosureElement;return(typeof o=="function"?o(N):o??(s?!0:x?A?!Xb(A):!0:!1))?N.defaultPrevented||!s||!A||(G9(A,"mouseout",N),!Xb(A))?!0:(requestAnimationFrame(()=>{Xb(A)||l?.hide()}),!1):!1},modal:r,portal:e,backdrop:s?!1:X.backdrop}),X={"aria-labelledby":g,...X},X}),cZ=Mb(_(function(l){return q(Vec,Jec(l))}),gG);var xN=u(M(),1),Dy=u(J(),1);var hec="button";function Cec(c,l){return{ArrowDown:l==="bottom"||l==="top"?"first":!1,ArrowUp:l==="bottom"||l==="top"?"last":!1,ArrowRight:l==="right"?"first":!1,ArrowLeft:l==="left"?"first":!1}[c.key]}function sN(c,l){return!!c?.some(t=>!t.element||t.element===l?!1:t.element.getAttribute("aria-expanded")==="true")}var Yec=$(function({store:l,focusable:t,accessibleWhenDisabled:e,showOnHover:b,...d}){let o=gG();l=l||o,sc(l,!1);let n=(0,xN.useRef)(null),X=l.parent,G=l.menubar,i=!!X,a=!!G&&!i,m=Xt(d),s=y=>m||I9(y),x=()=>{let y=n.current;y&&(l?.setDisclosureElement(y),l?.setAnchorElement(y),l?.show())},r=d.onFocus,g=Xc(y=>{if(r?.(y),s(y.currentTarget)||y.defaultPrevented||(l?.setAutoFocusOnShow(!1),l?.setActiveId(null),!G)||!a)return;let{items:C}=G.getState();sN(C,y.currentTarget)&&x()}),H=U(l,y=>y.placement.split("-")[0]),Z=d.onKeyDown,R=Xc(y=>{if(Z?.(y),s(y.currentTarget)||y.defaultPrevented)return;let C=Cec(y,H);if(C){y.preventDefault();let{open:V}=l.getState();if(V){let h=C==="last"?l.last():l.first();l.move(h);return}x(),l?.setAutoFocusOnShow(!0),l?.setInitialFocus(C)}}),W=d.onClick,I=Xc(y=>{if(W?.(y),y.defaultPrevented||!l)return;let C=!y.detail,{open:V}=l.getState();(!V||C)&&((!i||C)&&l.setAutoFocusOnShow(!0),l.setInitialFocus(C?"first":"container")),i&&x()});d=Hc(d,y=>(0,Dy.jsx)(uN,{value:l,children:y}),[l]),i&&(d={...d,render:(0,Dy.jsx)(Nd.div,{render:d.render})});let p=tl(d.id),B=U(X?.combobox||X,"contentElement");return d={role:i||a?ki(B,"menuitem"):void 0,"aria-haspopup":LX(U(l,"contentElement"),l.combobox?"dialog":"menu"),...d,id:p,ref:Bc(n,d.ref),onFocus:g,onKeyDown:R,onClick:I},d=Dm({store:l,focusable:t,accessibleWhenDisabled:e,...d,showOnHover:y=>{if(!(()=>{if(typeof b=="function")return b(y);if(b!=null)return b;if(i)return!0;if(!G)return!1;let{items:h}=G.getState();return a&&sN(h)})())return!1;let V=a?G:X;return V&&V.setActiveId(y.currentTarget.id),!0}}),d=jm({store:l,toggleOnClick:!i,focusable:t,accessibleWhenDisabled:e,...d}),d=So({store:l,typeahead:a,...d}),d}),ua=_(function(l){return q(hec,Yec(l))});var Fec="div",vec=$(function(l){return l=Ny(l),l}),lZ=_(function(l){return q(Fec,vec(l))});var Nec="div",fec=$(function(l){return l=Sy(l),l}),tZ=_(function(l){return q(Nec,fec(l))});var rN=u(M(),1);var Sec="div";function kec(c,l,t){if(!c)return!1;if(Xb(c))return!0;let e=l?.find(d=>d.element===t?!1:d.element?.getAttribute("aria-expanded")==="true")?.element?.getAttribute("aria-controls");if(!e)return!1;let b=fc(c).getElementById(e);return b?Xb(b)?!0:!!b.querySelector("[role=menuitem][aria-expanded=true]"):!1}var cs=$(function({store:l,hideOnClick:t=!0,preventScrollOnKeyDown:e=!0,focusOnHover:b,blurOnHoverEnd:d,...o}){let n=aa(!0),X=Sv();l=l||n||X,sc(l,!1);let G=o.onClick,i=_c(t),a="hideAll"in l?l.hideAll:void 0,m=!!a,s=Xc(g=>{if(G?.(g),g.defaultPrevented||Ar(g)||zr(g)||!a)return;let H=g.currentTarget.getAttribute("aria-haspopup");H&&H!=="false"||i(g)&&a()}),x=U(l,g=>"contentElement"in g?g.contentElement:null),r=(0,rN.useContext)(qg);return o={role:ki(x,"menuitem"),...o,onClick:s},o=Lb({store:l,preventScrollOnKeyDown:e,...o,shouldRegisterItem:r?!1:o.shouldRegisterItem}),o=Pm({store:l,...o,focusOnHover(g){let H=()=>typeof b=="function"?b(g):b??!0;if(!l||!H())return!1;let{baseElement:Z,items:R}=l.getState();return m?(g.currentTarget.hasAttribute("aria-expanded")&&g.currentTarget.focus(),!0):kec(Z,R,g.currentTarget)?(g.currentTarget.focus(),!0):!1},blurOnHoverEnd(g){return typeof d=="function"?d(g):d??m}}),o}),eZ=Tl(_(function(l){return q(Sec,cs(l))}));var gN=u(M(),1),zec="span",Aec=$(function({store:l,checked:t,...e}){let b=(0,gN.useContext)(_g);return t=t??b,e=Km({...e,checked:t}),e}),ma=_(function(l){return q(zec,Aec(l))});var Uy=u(M(),1);var Oec="div";function Qec(c){return Array.isArray(c)?c.toString():c}function Ly(c,l,t){if(l===void 0)return Array.isArray(c)?c:!!t;let e=Qec(l);return Array.isArray(c)?t?c.includes(e)?c:[...c,e]:c.filter(b=>b!==e):t?e:c===e?!1:c}var wec=$(function({store:l,name:t,value:e,checked:b,defaultChecked:d,hideOnClick:o=!1,...n}){let X=aa();l=l||X,sc(l,!1);let G=bm(d);(0,Uy.useEffect)(()=>{l?.setValue(t,(a=[])=>G?Ly(a,e,!0):a)},[l,t,e,G]),(0,Uy.useEffect)(()=>{b!==void 0&&l?.setValue(t,a=>Ly(a,e,b))},[l,t,e,b]);let i=oN({value:U(l,a=>a.values[t]),setValue(a){l?.setValue(t,()=>{if(b===void 0)return a;let m=Ly(a,e,b);return!Array.isArray(m)||!Array.isArray(a)?m:x9(a,m)?a:m})}});return n={role:"menuitemcheckbox",...n},n=Oy({store:i,name:t,value:e,checked:b,...n}),n=cs({store:l,hideOnClick:o,...n}),n}),bZ=Tl(_(function(l){return q(Oec,wec(l))}));var Ey=u(M(),1),ZN=u(J(),1);var Tec="div";function jy(c,l,t){return t===void 0?c:t?l:c===l?!1:c}var Dec=$(function({store:l,name:t,value:e,checked:b,onChange:d,hideOnClick:o=!1,...n}){let X=aa();l=l||X,sc(l,!1);let G=bm(n.defaultChecked);(0,Ey.useEffect)(()=>{l?.setValue(t,(a=!1)=>jy(a,e,G))},[l,t,e,G]),(0,Ey.useEffect)(()=>{b!==void 0&&l?.setValue(t,a=>jy(a,e,b))},[l,t,e,b]);let i=U(l,a=>a.values[t]===e);return n=Hc(n,a=>(0,ZN.jsx)(_g.Provider,{value:i,children:a}),[i]),n={role:"menuitemradio",...n},n=Cy({name:t,value:e,checked:i,onChange(a){if(d?.(a),a.defaultPrevented)return;let m=a.currentTarget;l?.setValue(t,s=>jy(s,e,b??m.checked))},...n}),n=cs({store:l,hideOnClick:o,...n}),n}),dZ=Tl(_(function(l){return q(Tec,Dec(l))}));function HN({combobox:c,parent:l,menubar:t,...e}={}){let b=!!t&&!l,d=hd(e.store,D9(l,["values"]),Db(c,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let o=d.getState(),n=Gb({...e,store:d,orientation:uc(e.orientation,o.orientation,"vertical")}),X=vg({...e,store:d,placement:uc(e.placement,o.placement,"bottom-start"),timeout:uc(e.timeout,o.timeout,b?0:150),hideTimeout:uc(e.hideTimeout,o.hideTimeout,0)}),G=al({...n.getState(),...X.getState(),initialFocus:uc(o.initialFocus,"container"),values:uc(e.values,o.values,e.defaultValues,{})},n,X,d);return Bl(G,()=>Lc(G,["mounted"],i=>{i.mounted||G.setState("activeId",null)})),Bl(G,()=>Lc(l,["orientation"],i=>{G.setState("placement",i.orientation==="vertical"?"right-start":"bottom-start")})),{...n,...X,...G,combobox:c,parent:l,menubar:t,hideAll:()=>{X.hide(),l?.hideAll()},setInitialFocus:i=>G.setState("initialFocus",i),setValues:i=>G.setState("values",i),setValue:(i,a)=>{i!=="__proto__"&&i!=="constructor"&&(Array.isArray(i)||G.setState("values",m=>{let s=m[i],x=r9(a,s);return x===s?m:{...m,[i]:x!==void 0&&x}}))}}}function Uec(c,l,t){return $t(l,[t.combobox,t.parent,t.menubar]),Oc(c,t,"values","setValues"),Object.assign(Ng(jb(c,l,t),l,t),{combobox:t.combobox,parent:t.parent,menubar:t.menubar})}function oZ(c={}){let l=$m(),t=fv(),e=cg();c={...c,parent:c.parent!==void 0?c.parent:l,menubar:c.menubar!==void 0?c.menubar:t,combobox:c.combobox!==void 0?c.combobox:e};let[b,d]=yl(HN,c);return Uec(b,d,c)}var jec="hr",Eec=$(function({store:l,...t}){let e=$m();return l=l||e,t=K5({store:l,...t}),t}),nZ=_(function(l){return q(jec,Eec(l))});var AN=u(Gc(),1),GZ=u(F(),1);var XZ=u(F(),1),ls=(0,XZ.createContext)({});ls.displayName="CompositeContext";var mb=()=>(0,XZ.useContext)(ls);var RN=u(F(),1);var IN=u(J(),1),WN=(0,RN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,IN.jsx)(Qg,{store:b,...l,ref:t})});var pN=u(F(),1);var BN=u(J(),1),yN=(0,pN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,BN.jsx)(wg,{store:b,...l,ref:t})});var VN=u(F(),1);var JN=u(J(),1),hN=(0,VN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,JN.jsx)(Tg,{store:b,...l,ref:t})});var CN=u(F(),1);var YN=u(J(),1),FN=(0,CN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,YN.jsx)($X,{store:b,...l,ref:t})});var vN=u(F(),1);var NN=u(J(),1),fN=(0,vN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,NN.jsx)(Kg,{store:b,...l,ref:t})});var SN=u(F(),1);var kN=u(J(),1),zN=(0,SN.forwardRef)(function(l,t){let e=mb(),b=l.store??e.store;return(0,kN.jsx)(kg,{store:b,...l,ref:t})});var My=u(J(),1),Qt=Object.assign((0,GZ.forwardRef)(function({activeId:l,defaultActiveId:t,setActiveId:e,focusLoop:b=!1,focusWrap:d=!1,focusShift:o=!1,virtualFocus:n=!1,orientation:X="both",rtl:G=(0,AN.isRTL)(),children:i,disabled:a=!1,...m},s){let x=m.store,r=Ki({activeId:l,defaultActiveId:t,setActiveId:e,focusLoop:b,focusWrap:d,focusShift:o,virtualFocus:n,orientation:X,rtl:G}),g=x??r,H=(0,GZ.useMemo)(()=>({store:g}),[g]);return(0,My.jsx)(Kr,{disabled:a,store:g,...m,ref:s,children:(0,My.jsx)(ls.Provider,{value:H,children:i})})}),{Group:Object.assign(WN,{displayName:"Composite.Group"}),GroupLabel:Object.assign(yN,{displayName:"Composite.GroupLabel"}),Item:Object.assign(FN,{displayName:"Composite.Item"}),Row:Object.assign(fN,{displayName:"Composite.Row"}),Hover:Object.assign(hN,{displayName:"Composite.Hover"}),Typeahead:Object.assign(zN,{displayName:"Composite.Typeahead"}),Context:Object.assign(ls,{displayName:"Composite.Context"})});var vz=u(ec(),1),eX=u(F(),1),Nz=u(ml(),1);var QN=u(J(),1);function Mec(c){let{shortcut:l,className:t}=c;if(!l)return null;let e,b;return typeof l=="string"&&(e=l),l!==null&&typeof l=="object"&&(e=l.display,b=l.ariaLabel),(0,QN.jsx)("span",{className:t,"aria-label":b,children:e})}var iZ=Mec;function wN(c){if(typeof Proxy>"u")return c;let l=new Map,t=(...e)=>c(...e);return new Proxy(t,{get:(e,b)=>b==="create"?c:(l.has(b)||l.set(b,c(b)),l.get(b))})}function On(c){return c!==null&&typeof c=="object"&&typeof c.start=="function"}var ts=c=>Array.isArray(c);function Py(c,l){if(!Array.isArray(l))return!1;let t=l.length;if(t!==c.length)return!1;for(let e=0;e<t;e++)if(l[e]!==c[e])return!1;return!0}function ko(c){return typeof c=="string"||Array.isArray(c)}function TN(c){let l=[{},{}];return c?.values.forEach((t,e)=>{l[0][e]=t.get(),l[1][e]=t.getVelocity()}),l}function sa(c,l,t,e){if(typeof l=="function"){let[b,d]=TN(e);l=l(t!==void 0?t:c.custom,b,d)}if(typeof l=="string"&&(l=c.variants&&c.variants[l]),typeof l=="function"){let[b,d]=TN(e);l=l(t!==void 0?t:c.custom,b,d)}return l}function Qn(c,l,t){let e=c.getProps();return sa(e,l,t!==void 0?t:e.custom,c)}var aZ=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],es=["initial",...aZ];var wn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],he=new Set(wn);var wt=c=>c*1e3,Ce=c=>c/1e3;var Pec={type:"spring",stiffness:500,damping:25,restSpeed:10},Kec=c=>({type:"spring",stiffness:550,damping:c===0?2*Math.sqrt(550):30,restSpeed:10}),_ec={type:"keyframes",duration:.8},qec={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},DN=(c,{keyframes:l})=>l.length>2?_ec:he.has(c)?c.startsWith("scale")?Kec(l[1]):Pec:qec;function xa(c,l){return c?c[l]||c.default||c:void 0}var ra={skipAnimations:!1,useManualTiming:!1};var uZ={current:!1};var $ec=c=>c!==null;function Tn(c,{repeat:l,repeatType:t="loop"},e){let b=c.filter($ec),d=l&&t!=="loop"&&l%2===1?0:b.length-1;return!d||e===void 0?b[d]:e}var rl=c=>c;var zo=rl,je=rl;function LN(c){let l=new Set,t=new Set,e=!1,b=!1,d=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function n(G){d.has(G)&&(X.schedule(G),c()),G(o)}let X={schedule:(G,i=!1,a=!1)=>{let s=a&&e?l:t;return i&&d.add(G),s.has(G)||s.add(G),G},cancel:G=>{t.delete(G),d.delete(G)},process:G=>{if(o=G,e){b=!0;return}e=!0,[l,t]=[t,l],l.forEach(n),l.clear(),e=!1,b&&(b=!1,X.process(G))}};return X}var mZ=["read","resolveKeyframes","update","preRender","render","postRender"],cbc=40;function sZ(c,l){let t=!1,e=!0,b={delta:0,timestamp:0,isProcessing:!1},d=()=>t=!0,o=mZ.reduce((H,Z)=>(H[Z]=LN(d),H),{}),{read:n,resolveKeyframes:X,update:G,preRender:i,render:a,postRender:m}=o,s=()=>{let H=ra.useManualTiming?b.timestamp:performance.now();t=!1,b.delta=e?1e3/60:Math.max(Math.min(H-b.timestamp,cbc),1),b.timestamp=H,b.isProcessing=!0,n.process(b),X.process(b),G.process(b),i.process(b),a.process(b),m.process(b),b.isProcessing=!1,t&&l&&(e=!1,c(s))},x=()=>{t=!0,e=!0,b.isProcessing||c(s)};return{schedule:mZ.reduce((H,Z)=>{let R=o[Z];return H[Z]=(W,I=!1,p=!1)=>(t||x(),R.schedule(W,I,p)),H},{}),cancel:H=>{for(let Z=0;Z<mZ.length;Z++)o[mZ[Z]].cancel(H)},state:b,steps:o}}var{schedule:Yc,cancel:Ee,state:kl,steps:xZ}=sZ(typeof requestAnimationFrame<"u"?requestAnimationFrame:rl,!0);var UN=(c,l,t)=>(((1-3*t+3*l)*c+(3*t-6*l))*c+3*l)*c,lbc=1e-7,tbc=12;function ebc(c,l,t,e,b){let d,o,n=0;do o=l+(t-l)/2,d=UN(o,e,b)-c,d>0?t=o:l=o;while(Math.abs(d)>lbc&&++n<tbc);return o}function qb(c,l,t,e){if(c===l&&t===e)return rl;let b=d=>ebc(d,0,1,c,t);return d=>d===0||d===1?d:UN(b(d),l,e)}var rZ=c=>l=>l<=.5?c(2*l)/2:(2-c(2*(1-l)))/2;var gZ=c=>l=>1-c(1-l);var Ky=qb(.33,1.53,.69,.99),bs=gZ(Ky),ZZ=rZ(bs);var HZ=c=>(c*=2)<1?.5*bs(c):.5*(2-Math.pow(2,-10*(c-1)));var RZ=c=>1-Math.sin(Math.acos(c)),IZ=gZ(RZ),WZ=rZ(RZ);var pZ=c=>/^0[^.\s]+$/u.test(c);function jN(c){return typeof c=="number"?c===0:c!==null?c==="none"||c==="0"||pZ(c):!0}var BZ=c=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(c);var EN=c=>l=>typeof l=="string"&&l.startsWith(c),yZ=EN("--"),bbc=EN("var(--"),ga=c=>bbc(c)?dbc.test(c.split("/*")[0].trim()):!1,dbc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var obc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nbc(c){let l=obc.exec(c);if(!l)return[,];let[,t,e,b]=l;return[`--${t??e}`,b]}var Xbc=4;function _y(c,l,t=1){je(t<=Xbc,`Max CSS variable fallback depth detected in property "${c}". This may indicate a circular fallback dependency.`);let[e,b]=nbc(c);if(!e)return;let d=window.getComputedStyle(l).getPropertyValue(e);if(d){let o=d.trim();return BZ(o)?parseFloat(o):o}return ga(b)?_y(b,l,t+1):b}var yt=(c,l,t)=>t>l?l:t<c?c:t;var Ad={test:c=>typeof c=="number",parse:parseFloat,transform:c=>c},Ao={...Ad,transform:c=>yt(0,1,c)},ds={...Ad,default:1};var os=c=>({test:l=>typeof l=="string"&&l.endsWith(c)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${c}`}),Od=os("deg"),le=os("%"),rc=os("px"),MN=os("vh"),PN=os("vw"),qy={...le,parse:c=>le.parse(c)/100,transform:c=>le.transform(c*100)};var qN=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),$y=c=>c===Ad||c===rc,KN=(c,l)=>parseFloat(c.split(", ")[l]),_N=(c,l)=>(t,{transform:e})=>{if(e==="none"||!e)return 0;let b=e.match(/^matrix3d\((.+)\)$/u);if(b)return KN(b[1],l);{let d=e.match(/^matrix\((.+)\)$/u);return d?KN(d[1],c):0}},Gbc=new Set(["x","y","z"]),ibc=wn.filter(c=>!Gbc.has(c));function $N(c){let l=[];return ibc.forEach(t=>{let e=c.getValue(t);e!==void 0&&(l.push([t,e.get()]),e.set(t.startsWith("scale")?1:0))}),l}var ZG={width:({x:c},{paddingLeft:l="0",paddingRight:t="0"})=>c.max-c.min-parseFloat(l)-parseFloat(t),height:({y:c},{paddingTop:l="0",paddingBottom:t="0"})=>c.max-c.min-parseFloat(l)-parseFloat(t),top:(c,{top:l})=>parseFloat(l),left:(c,{left:l})=>parseFloat(l),bottom:({y:c},{top:l})=>parseFloat(l)+(c.max-c.min),right:({x:c},{left:l})=>parseFloat(l)+(c.max-c.min),x:_N(4,13),y:_N(5,14)};ZG.translateX=ZG.x;ZG.translateY=ZG.y;var VZ=c=>l=>l.test(c);var cf={test:c=>c==="auto",parse:c=>c};var cV=[Ad,rc,le,Od,PN,MN,cf],lV=c=>cV.find(VZ(c));var HG=new Set,tV=!1,eV=!1;function lf(){if(eV){let c=Array.from(HG).filter(e=>e.needsMeasurement),l=new Set(c.map(e=>e.element)),t=new Map;l.forEach(e=>{let b=$N(e);b.length&&(t.set(e,b),e.render())}),c.forEach(e=>e.measureInitialState()),l.forEach(e=>{e.render();let b=t.get(e);b&&b.forEach(([d,o])=>{var n;(n=e.getValue(d))===null||n===void 0||n.set(o)})}),c.forEach(e=>e.measureEndState()),c.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}eV=!1,tV=!1,HG.forEach(c=>c.complete()),HG.clear()}function tf(){HG.forEach(c=>{c.readKeyframes(),c.needsMeasurement&&(eV=!0)})}function ef(){tf(),lf()}var Dn=class{constructor(l,t,e,b,d,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...l],this.onComplete=t,this.name=e,this.motionValue=b,this.element=d,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(HG.add(this),tV||(tV=!0,Yc.read(tf),Yc.resolveKeyframes(lf))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:l,name:t,element:e,motionValue:b}=this;for(let d=0;d<l.length;d++)if(l[d]===null)if(d===0){let o=b?.get(),n=l[l.length-1];if(o!==void 0)l[0]=o;else if(e&&t){let X=e.readValue(t,n);X!=null&&(l[0]=X)}l[0]===void 0&&(l[0]=n),b&&o===void 0&&b.set(l[0])}else l[d]=l[d-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),HG.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,HG.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Ln=c=>Math.round(c*1e5)/1e5;var Za=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bf(c){return c==null}var df=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Ha=(c,l)=>t=>!!(typeof t=="string"&&df.test(t)&&t.startsWith(c)||l&&!bf(t)&&Object.prototype.hasOwnProperty.call(t,l)),JZ=(c,l,t)=>e=>{if(typeof e!="string")return e;let[b,d,o,n]=e.match(Za);return{[c]:parseFloat(b),[l]:parseFloat(d),[t]:parseFloat(o),alpha:n!==void 0?parseFloat(n):1}};var abc=c=>yt(0,255,c),bV={...Ad,transform:c=>Math.round(abc(c))},Qd={test:Ha("rgb","red"),parse:JZ("red","green","blue"),transform:({red:c,green:l,blue:t,alpha:e=1})=>"rgba("+bV.transform(c)+", "+bV.transform(l)+", "+bV.transform(t)+", "+Ln(Ao.transform(e))+")"};function ubc(c){let l="",t="",e="",b="";return c.length>5?(l=c.substring(1,3),t=c.substring(3,5),e=c.substring(5,7),b=c.substring(7,9)):(l=c.substring(1,2),t=c.substring(2,3),e=c.substring(3,4),b=c.substring(4,5),l+=l,t+=t,e+=e,b+=b),{red:parseInt(l,16),green:parseInt(t,16),blue:parseInt(e,16),alpha:b?parseInt(b,16)/255:1}}var ns={test:Ha("#"),parse:ubc,transform:Qd.transform};var Un={test:Ha("hsl","hue"),parse:JZ("hue","saturation","lightness"),transform:({hue:c,saturation:l,lightness:t,alpha:e=1})=>"hsla("+Math.round(c)+", "+le.transform(Ln(l))+", "+le.transform(Ln(t))+", "+Ln(Ao.transform(e))+")"};var Dl={test:c=>Qd.test(c)||ns.test(c)||Un.test(c),parse:c=>Qd.test(c)?Qd.parse(c):Un.test(c)?Un.parse(c):ns.parse(c),transform:c=>typeof c=="string"?c:c.hasOwnProperty("red")?Qd.transform(c):Un.transform(c)};var of=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function mbc(c){var l,t;return isNaN(c)&&typeof c=="string"&&(((l=c.match(Za))===null||l===void 0?void 0:l.length)||0)+(((t=c.match(of))===null||t===void 0?void 0:t.length)||0)>0}var Xf="number",Gf="color",sbc="var",xbc="var(",nf="${}",rbc=/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 RG(c){let l=c.toString(),t=[],e={color:[],number:[],var:[]},b=[],d=0,n=l.replace(rbc,X=>(Dl.test(X)?(e.color.push(d),b.push(Gf),t.push(Dl.parse(X))):X.startsWith(xbc)?(e.var.push(d),b.push(sbc),t.push(X)):(e.number.push(d),b.push(Xf),t.push(parseFloat(X))),++d,nf)).split(nf);return{values:t,split:n,indexes:e,types:b}}function af(c){return RG(c).values}function uf(c){let{split:l,types:t}=RG(c),e=l.length;return b=>{let d="";for(let o=0;o<e;o++)if(d+=l[o],b[o]!==void 0){let n=t[o];n===Xf?d+=Ln(b[o]):n===Gf?d+=Dl.transform(b[o]):d+=b[o]}return d}}var gbc=c=>typeof c=="number"?0:c;function Zbc(c){let l=af(c);return uf(c)(l.map(gbc))}var te={test:mbc,parse:af,createTransformer:uf,getAnimatableNone:Zbc};var Hbc=new Set(["brightness","contrast","saturate","opacity"]);function Rbc(c){let[l,t]=c.slice(0,-1).split("(");if(l==="drop-shadow")return c;let[e]=t.match(Za)||[];if(!e)return c;let b=t.replace(e,""),d=Hbc.has(l)?1:0;return e!==t&&(d*=100),l+"("+d+b+")"}var Ibc=/\b([a-z-]*)\(.*?\)/gu,Xs={...te,getAnimatableNone:c=>{let l=c.match(Ibc);return l?l.map(Rbc).join(" "):c}};var mf={borderWidth:rc,borderTopWidth:rc,borderRightWidth:rc,borderBottomWidth:rc,borderLeftWidth:rc,borderRadius:rc,radius:rc,borderTopLeftRadius:rc,borderTopRightRadius:rc,borderBottomRightRadius:rc,borderBottomLeftRadius:rc,width:rc,maxWidth:rc,height:rc,maxHeight:rc,top:rc,right:rc,bottom:rc,left:rc,padding:rc,paddingTop:rc,paddingRight:rc,paddingBottom:rc,paddingLeft:rc,margin:rc,marginTop:rc,marginRight:rc,marginBottom:rc,marginLeft:rc,backgroundPositionX:rc,backgroundPositionY:rc};var sf={rotate:Od,rotateX:Od,rotateY:Od,rotateZ:Od,scale:ds,scaleX:ds,scaleY:ds,scaleZ:ds,skew:Od,skewX:Od,skewY:Od,distance:rc,translateX:rc,translateY:rc,translateZ:rc,x:rc,y:rc,z:rc,perspective:rc,transformPerspective:rc,opacity:Ao,originX:qy,originY:qy,originZ:rc};var dV={...Ad,transform:Math.round};var Ra={...mf,...sf,zIndex:dV,size:rc,fillOpacity:Ao,strokeOpacity:Ao,numOctaves:dV};var Wbc={...Ra,color:Dl,backgroundColor:Dl,outlineColor:Dl,fill:Dl,stroke:Dl,borderColor:Dl,borderTopColor:Dl,borderRightColor:Dl,borderBottomColor:Dl,borderLeftColor:Dl,filter:Xs,WebkitFilter:Xs},Ia=c=>Wbc[c];function hZ(c,l){let t=Ia(c);return t!==Xs&&(t=te),t.getAnimatableNone?t.getAnimatableNone(l):void 0}var pbc=new Set(["auto","none","0"]);function xf(c,l,t){let e=0,b;for(;e<c.length&&!b;){let d=c[e];typeof d=="string"&&!pbc.has(d)&&RG(d).values.length&&(b=c[e]),e++}if(b&&t)for(let d of l)c[d]=hZ(t,b)}var Wa=class extends Dn{constructor(l,t,e,b,d){super(l,t,e,b,d,!0)}readKeyframes(){let{unresolvedKeyframes:l,element:t,name:e}=this;if(!t||!t.current)return;super.readKeyframes();for(let X=0;X<l.length;X++){let G=l[X];if(typeof G=="string"&&(G=G.trim(),ga(G))){let i=_y(G,t.current);i!==void 0&&(l[X]=i),X===l.length-1&&(this.finalKeyframe=G)}}if(this.resolveNoneKeyframes(),!qN.has(e)||l.length!==2)return;let[b,d]=l,o=lV(b),n=lV(d);if(o!==n)if($y(o)&&$y(n))for(let X=0;X<l.length;X++){let G=l[X];typeof G=="string"&&(l[X]=parseFloat(G))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:l,name:t}=this,e=[];for(let b=0;b<l.length;b++)jN(l[b])&&e.push(b);e.length&&xf(l,e,t)}measureInitialState(){let{element:l,unresolvedKeyframes:t,name:e}=this;if(!l||!l.current)return;e==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ZG[e](l.measureViewportBox(),window.getComputedStyle(l.current)),t[0]=this.measuredOrigin;let b=t[t.length-1];b!==void 0&&l.getValue(e,b).jump(b,!1)}measureEndState(){var l;let{element:t,name:e,unresolvedKeyframes:b}=this;if(!t||!t.current)return;let d=t.getValue(e);d&&d.jump(this.measuredOrigin,!1);let o=b.length-1,n=b[o];b[o]=ZG[e](t.measureViewportBox(),window.getComputedStyle(t.current)),n!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=n),!((l=this.removedTransforms)===null||l===void 0)&&l.length&&this.removedTransforms.forEach(([X,G])=>{t.getValue(X).set(G)}),this.resolveNoneKeyframes()}};function pa(c){return typeof c=="function"}var CZ;function Bbc(){CZ=void 0}var Tt={now:()=>(CZ===void 0&&Tt.set(kl.isProcessing||ra.useManualTiming?kl.timestamp:performance.now()),CZ),set:c=>{CZ=c,queueMicrotask(Bbc)}};var oV=(c,l)=>l==="zIndex"?!1:!!(typeof c=="number"||Array.isArray(c)||typeof c=="string"&&(te.test(c)||c==="0")&&!c.startsWith("url("));function ybc(c){let l=c[0];if(c.length===1)return!0;for(let t=0;t<c.length;t++)if(c[t]!==l)return!0}function rf(c,l,t,e){let b=c[0];if(b===null)return!1;if(l==="display"||l==="visibility")return!0;let d=c[c.length-1],o=oV(b,l),n=oV(d,l);return zo(o===n,`You are trying to animate ${l} from "${b}" to "${d}". ${b} is not an animatable value - to enable this animation set ${b} to a value animatable to ${d} via the \`style\` property.`),!o||!n?!1:ybc(c)||(t==="spring"||pa(t))&&e}var Vbc=40,Ba=class{constructor({autoplay:l=!0,delay:t=0,type:e="keyframes",repeat:b=0,repeatDelay:d=0,repeatType:o="loop",...n}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Tt.now(),this.options={autoplay:l,delay:t,type:e,repeat:b,repeatDelay:d,repeatType:o,...n},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Vbc?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&ef(),this._resolved}onKeyframesResolved(l,t){this.resolvedAt=Tt.now(),this.hasAttemptedResolve=!0;let{name:e,type:b,velocity:d,delay:o,onComplete:n,onUpdate:X,isGenerator:G}=this.options;if(!G&&!rf(l,e,b,d))if(uZ.current||!o){X?.(Tn(l,this.options,t)),n?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let i=this.initPlayback(l,t);i!==!1&&(this._resolved={keyframes:l,finalKeyframe:t,...i},this.onPostResolved())}onPostResolved(){}then(l,t){return this.currentFinishedPromise.then(l,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(l=>{this.resolveFinishedPromise=l})}};var $b=(c,l,t)=>{let e=l-c;return e===0?1:(t-c)/e};var YZ=(c,l,t=10)=>{let e="",b=Math.max(Math.round(l/t),2);for(let d=0;d<b;d++)e+=c($b(0,b-1,d))+", ";return`linear(${e.substring(0,e.length-2)})`};function FZ(c,l){return l?c*(1e3/l):0}var Jbc=5;function vZ(c,l,t){let e=Math.max(l-Jbc,0);return FZ(t-c(e),l-e)}var Rl={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};var nV=.001;function gf({duration:c=Rl.duration,bounce:l=Rl.bounce,velocity:t=Rl.velocity,mass:e=Rl.mass}){let b,d;zo(c<=wt(Rl.maxDuration),"Spring duration must be 10 seconds or less");let o=1-l;o=yt(Rl.minDamping,Rl.maxDamping,o),c=yt(Rl.minDuration,Rl.maxDuration,Ce(c)),o<1?(b=G=>{let i=G*o,a=i*c,m=i-t,s=NZ(G,o),x=Math.exp(-a);return nV-m/s*x},d=G=>{let a=G*o*c,m=a*t+t,s=Math.pow(o,2)*Math.pow(G,2)*c,x=Math.exp(-a),r=NZ(Math.pow(G,2),o);return(-b(G)+nV>0?-1:1)*((m-s)*x)/r}):(b=G=>{let i=Math.exp(-G*c),a=(G-t)*c+1;return-nV+i*a},d=G=>{let i=Math.exp(-G*c),a=(t-G)*(c*c);return i*a});let n=5/c,X=Cbc(b,d,n);if(c=wt(c),isNaN(X))return{stiffness:Rl.stiffness,damping:Rl.damping,duration:c};{let G=Math.pow(X,2)*e;return{stiffness:G,damping:o*2*Math.sqrt(e*G),duration:c}}}var hbc=12;function Cbc(c,l,t){let e=t;for(let b=1;b<hbc;b++)e=e-c(e)/l(e);return e}function NZ(c,l){return c*Math.sqrt(1-l*l)}function fZ(c){let l=0,t=50,e=c.next(l);for(;!e.done&&l<2e4;)l+=t,e=c.next(l);return l>=2e4?1/0:l}var Fbc=["duration","bounce"],vbc=["stiffness","damping","mass"];function Zf(c,l){return l.some(t=>c[t]!==void 0)}function Nbc(c){let l={velocity:Rl.velocity,stiffness:Rl.stiffness,damping:Rl.damping,mass:Rl.mass,isResolvedFromDuration:!1,...c};if(!Zf(c,vbc)&&Zf(c,Fbc))if(c.visualDuration){let t=c.visualDuration,e=2*Math.PI/(t*1.2),b=e*e,d=2*yt(.05,1,1-c.bounce)*Math.sqrt(b);l={...l,mass:Rl.mass,stiffness:b,damping:d}}else{let t=gf(c);l={...l,...t,mass:Rl.mass},l.isResolvedFromDuration=!0}return l}function SZ(c=Rl.visualDuration,l=Rl.bounce){let t=typeof c!="object"?{visualDuration:c,keyframes:[0,1],bounce:l}:c,{restSpeed:e,restDelta:b}=t,d=t.keyframes[0],o=t.keyframes[t.keyframes.length-1],n={done:!1,value:d},{stiffness:X,damping:G,mass:i,duration:a,velocity:m,isResolvedFromDuration:s}=Nbc({...t,velocity:-Ce(t.velocity||0)}),x=m||0,r=G/(2*Math.sqrt(X*i)),g=o-d,H=Ce(Math.sqrt(X/i)),Z=Math.abs(g)<5;e||(e=Z?Rl.restSpeed.granular:Rl.restSpeed.default),b||(b=Z?Rl.restDelta.granular:Rl.restDelta.default);let R;if(r<1){let I=NZ(H,r);R=p=>{let B=Math.exp(-r*H*p);return o-B*((x+r*H*g)/I*Math.sin(I*p)+g*Math.cos(I*p))}}else if(r===1)R=I=>o-Math.exp(-H*I)*(g+(x+H*g)*I);else{let I=H*Math.sqrt(r*r-1);R=p=>{let B=Math.exp(-r*H*p),y=Math.min(I*p,300);return o-B*((x+r*H*g)*Math.sinh(y)+I*g*Math.cosh(y))/I}}let W={calculatedDuration:s&&a||null,next:I=>{let p=R(I);if(s)n.done=I>=a;else{let B=0;r<1&&(B=I===0?wt(x):vZ(R,I,p));let y=Math.abs(B)<=e,C=Math.abs(o-p)<=b;n.done=y&&C}return n.value=n.done?o:p,n},toString:()=>{let I=Math.min(fZ(W),2e4),p=YZ(B=>W.next(I*B).value,I,30);return I+"ms "+p}};return W}function XV({keyframes:c,velocity:l=0,power:t=.8,timeConstant:e=325,bounceDamping:b=10,bounceStiffness:d=500,modifyTarget:o,min:n,max:X,restDelta:G=.5,restSpeed:i}){let a=c[0],m={done:!1,value:a},s=y=>n!==void 0&&y<n||X!==void 0&&y>X,x=y=>n===void 0?X:X===void 0||Math.abs(n-y)<Math.abs(X-y)?n:X,r=t*l,g=a+r,H=o===void 0?g:o(g);H!==g&&(r=H-a);let Z=y=>-r*Math.exp(-y/e),R=y=>H+Z(y),W=y=>{let C=Z(y),V=R(y);m.done=Math.abs(C)<=G,m.value=m.done?H:V},I,p,B=y=>{s(m.value)&&(I=y,p=SZ({keyframes:[m.value,x(m.value)],velocity:vZ(R,y,m.value),damping:b,stiffness:d,restDelta:G,restSpeed:i}))};return B(0),{calculatedDuration:null,next:y=>{let C=!1;return!p&&I===void 0&&(C=!0,W(y),B(y)),I!==void 0&&y>=I?p.next(y-I):(!C&&W(y),m)}}}var Hf=qb(.42,0,1,1),Rf=qb(0,0,.58,1),kZ=qb(.42,0,.58,1);var If=c=>Array.isArray(c)&&typeof c[0]!="number";var Gs=c=>Array.isArray(c)&&typeof c[0]=="number";var Wf={linear:rl,easeIn:Hf,easeInOut:kZ,easeOut:Rf,circIn:RZ,circInOut:WZ,circOut:IZ,backIn:bs,backInOut:ZZ,backOut:Ky,anticipate:HZ},GV=c=>{if(Gs(c)){je(c.length===4,"Cubic bezier arrays must contain four numerical values.");let[l,t,e,b]=c;return qb(l,t,e,b)}else if(typeof c=="string")return je(Wf[c]!==void 0,`Invalid easing type '${c}'`),Wf[c];return c};var fbc=(c,l)=>t=>l(c(t)),wd=(...c)=>c.reduce(fbc);var Qc=(c,l,t)=>c+(l-c)*t;function iV(c,l,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?c+(l-c)*6*t:t<1/2?l:t<2/3?c+(l-c)*(2/3-t)*6:c}function pf({hue:c,saturation:l,lightness:t,alpha:e}){c/=360,l/=100,t/=100;let b=0,d=0,o=0;if(!l)b=d=o=t;else{let n=t<.5?t*(1+l):t+l-t*l,X=2*t-n;b=iV(X,n,c+1/3),d=iV(X,n,c),o=iV(X,n,c-1/3)}return{red:Math.round(b*255),green:Math.round(d*255),blue:Math.round(o*255),alpha:e}}function ya(c,l){return t=>t>0?l:c}var aV=(c,l,t)=>{let e=c*c,b=t*(l*l-e)+e;return b<0?0:Math.sqrt(b)},Sbc=[ns,Qd,Un],kbc=c=>Sbc.find(l=>l.test(c));function Bf(c){let l=kbc(c);if(zo(!!l,`'${c}' is not an animatable color. Use the equivalent color code instead.`),!l)return!1;let t=l.parse(c);return l===Un&&(t=pf(t)),t}var uV=(c,l)=>{let t=Bf(c),e=Bf(l);if(!t||!e)return ya(c,l);let b={...t};return d=>(b.red=aV(t.red,e.red,d),b.green=aV(t.green,e.green,d),b.blue=aV(t.blue,e.blue,d),b.alpha=Qc(t.alpha,e.alpha,d),Qd.transform(b))};var zZ=new Set(["none","hidden"]);function yf(c,l){return zZ.has(c)?t=>t<=0?c:l:t=>t>=1?l:c}function zbc(c,l){return t=>Qc(c,l,t)}function AZ(c){return typeof c=="number"?zbc:typeof c=="string"?ga(c)?ya:Dl.test(c)?uV:Qbc:Array.isArray(c)?Vf:typeof c=="object"?Dl.test(c)?uV:Abc:ya}function Vf(c,l){let t=[...c],e=t.length,b=c.map((d,o)=>AZ(d)(d,l[o]));return d=>{for(let o=0;o<e;o++)t[o]=b[o](d);return t}}function Abc(c,l){let t={...c,...l},e={};for(let b in t)c[b]!==void 0&&l[b]!==void 0&&(e[b]=AZ(c[b])(c[b],l[b]));return b=>{for(let d in e)t[d]=e[d](b);return t}}function Obc(c,l){var t;let e=[],b={color:0,var:0,number:0};for(let d=0;d<l.values.length;d++){let o=l.types[d],n=c.indexes[o][b[o]],X=(t=c.values[n])!==null&&t!==void 0?t:0;e[d]=X,b[o]++}return e}var Qbc=(c,l)=>{let t=te.createTransformer(l),e=RG(c),b=RG(l);return e.indexes.var.length===b.indexes.var.length&&e.indexes.color.length===b.indexes.color.length&&e.indexes.number.length>=b.indexes.number.length?zZ.has(c)&&!b.values.length||zZ.has(l)&&!e.values.length?yf(c,l):wd(Vf(Obc(e,b),b.values),t):(zo(!0,`Complex values '${c}' and '${l}' 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.`),ya(c,l))};function OZ(c,l,t){return typeof c=="number"&&typeof l=="number"&&typeof t=="number"?Qc(c,l,t):AZ(c)(c,l)}function wbc(c,l,t){let e=[],b=t||OZ,d=c.length-1;for(let o=0;o<d;o++){let n=b(c[o],c[o+1]);if(l){let X=Array.isArray(l)?l[o]||rl:l;n=wd(X,n)}e.push(n)}return e}function Jf(c,l,{clamp:t=!0,ease:e,mixer:b}={}){let d=c.length;if(je(d===l.length,"Both input and output ranges must be the same length"),d===1)return()=>l[0];if(d===2&&c[0]===c[1])return()=>l[1];c[0]>c[d-1]&&(c=[...c].reverse(),l=[...l].reverse());let o=wbc(l,e,b),n=o.length,X=G=>{let i=0;if(n>1)for(;i<c.length-2&&!(G<c[i+1]);i++);let a=$b(c[i],c[i+1],G);return o[i](a)};return t?G=>X(yt(c[0],c[d-1],G)):X}function hf(c,l){let t=c[c.length-1];for(let e=1;e<=l;e++){let b=$b(0,l,e);c.push(Qc(t,1,b))}}function Cf(c){let l=[0];return hf(l,c.length-1),l}function Yf(c,l){return c.map(t=>t*l)}function Tbc(c,l){return c.map(()=>l||kZ).splice(0,c.length-1)}function is({duration:c=300,keyframes:l,times:t,ease:e="easeInOut"}){let b=If(e)?e.map(GV):GV(e),d={done:!1,value:l[0]},o=Yf(t&&t.length===l.length?t:Cf(l),c),n=Jf(o,l,{ease:Array.isArray(b)?b:Tbc(l,b)});return{calculatedDuration:c,next:X=>(d.value=n(X),d.done=X>=c,d)}}var Ff=c=>{let l=({timestamp:t})=>c(t);return{start:()=>Yc.update(l,!0),stop:()=>Ee(l),now:()=>kl.isProcessing?kl.timestamp:Tt.now()}};var Dbc={decay:XV,inertia:XV,tween:is,keyframes:is,spring:SZ},Lbc=c=>c/100,IG=class extends Ba{constructor(l){super(l),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,this.state==="idle")return;this.teardown();let{onStop:X}=this.options;X&&X()};let{name:t,motionValue:e,element:b,keyframes:d}=this.options,o=b?.KeyframeResolver||Dn,n=(X,G)=>this.onKeyframesResolved(X,G);this.resolver=new o(d,n,t,e,b),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(l){let{type:t="keyframes",repeat:e=0,repeatDelay:b=0,repeatType:d,velocity:o=0}=this.options,n=pa(t)?t:Dbc[t]||is,X,G;n!==is&&typeof l[0]!="number"&&(X=wd(Lbc,OZ(l[0],l[1])),l=[0,100]);let i=n({...this.options,keyframes:l});d==="mirror"&&(G=n({...this.options,keyframes:[...l].reverse(),velocity:-o})),i.calculatedDuration===null&&(i.calculatedDuration=fZ(i));let{calculatedDuration:a}=i,m=a+b,s=m*(e+1)-b;return{generator:i,mirroredGenerator:G,mapPercentToKeyframes:X,calculatedDuration:a,resolvedDuration:m,totalDuration:s}}onPostResolved(){let{autoplay:l=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!l?this.pause():this.state=this.pendingPlayState}tick(l,t=!1){let{resolved:e}=this;if(!e){let{keyframes:y}=this.options;return{done:!0,value:y[y.length-1]}}let{finalKeyframe:b,generator:d,mirroredGenerator:o,mapPercentToKeyframes:n,keyframes:X,calculatedDuration:G,totalDuration:i,resolvedDuration:a}=e;if(this.startTime===null)return d.next(0);let{delay:m,repeat:s,repeatType:x,repeatDelay:r,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-i/this.speed,this.startTime)),t?this.currentTime=l:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(l-this.startTime)*this.speed;let H=this.currentTime-m*(this.speed>=0?1:-1),Z=this.speed>=0?H<0:H>i;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let R=this.currentTime,W=d;if(s){let y=Math.min(this.currentTime,i)/a,C=Math.floor(y),V=y%1;!V&&y>=1&&(V=1),V===1&&C--,C=Math.min(C,s+1),C%2&&(x==="reverse"?(V=1-V,r&&(V-=r/a)):x==="mirror"&&(W=o)),R=yt(0,1,V)*a}let I=Z?{done:!1,value:X[0]}:W.next(R);n&&(I.value=n(I.value));let{done:p}=I;!Z&&G!==null&&(p=this.speed>=0?this.currentTime>=i:this.currentTime<=0);let B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&p);return B&&b!==void 0&&(I.value=Tn(X,this.options,b)),g&&g(I.value),B&&this.finish(),I}get duration(){let{resolved:l}=this;return l?Ce(l.calculatedDuration):0}get time(){return Ce(this.currentTime)}set time(l){l=wt(l),this.currentTime=l,this.holdTime!==null||this.speed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.speed)}get speed(){return this.playbackSpeed}set speed(l){let t=this.playbackSpeed!==l;this.playbackSpeed=l,t&&(this.time=Ce(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:l=Ff,onPlay:t,startTime:e}=this.options;this.driver||(this.driver=l(d=>this.tick(d))),t&&t();let b=this.driver.now();this.holdTime!==null?this.startTime=b-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=b):this.startTime=e??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var l;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(l=this.currentTime)!==null&&l!==void 0?l:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:l}=this.options;l&&l()}cancel(){this.cancelTime!==null&&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(l){return this.startTime=0,this.tick(l,!0)}};var vf=new Set(["opacity","clipPath","filter","transform"]);function Va(c){let l;return()=>(l===void 0&&(l=c()),l)}var Nf={linearEasing:void 0};function ff(c,l){let t=Va(c);return()=>{var e;return(e=Nf[l])!==null&&e!==void 0?e:t()}}var Ja=ff(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function sV(c){return!!(typeof c=="function"&&Ja()||!c||typeof c=="string"&&(c in mV||Ja())||Gs(c)||Array.isArray(c)&&c.every(sV))}var as=([c,l,t,e])=>`cubic-bezier(${c}, ${l}, ${t}, ${e})`,mV={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:as([0,.65,.55,1]),circOut:as([.55,0,1,.45]),backIn:as([.31,.01,.66,-.59]),backOut:as([.33,1.53,.69,.99])};function xV(c,l){if(c)return typeof c=="function"&&Ja()?YZ(c,l):Gs(c)?as(c):Array.isArray(c)?c.map(t=>xV(t,l)||mV.easeOut):mV[c]}function Sf(c,l,t,{delay:e=0,duration:b=300,repeat:d=0,repeatType:o="loop",ease:n="easeInOut",times:X}={}){let G={[l]:t};X&&(G.offset=X);let i=xV(n,b);return Array.isArray(i)&&(G.easing=i),c.animate(G,{delay:e,duration:b,easing:Array.isArray(i)?"linear":i,fill:"both",iterations:d+1,direction:o==="reverse"?"alternate":"normal"})}function rV(c,l){c.timeline=l,c.onfinish=null}var kf=Va(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var QZ=10,Ubc=2e4;function jbc(c){return pa(c.type)||c.type==="spring"||!sV(c.ease)}function Ebc(c,l){let t=new IG({...l,keyframes:c,repeat:0,delay:0,isGenerator:!0}),e={done:!1,value:c[0]},b=[],d=0;for(;!e.done&&d<Ubc;)e=t.sample(d),b.push(e.value),d+=QZ;return{times:void 0,keyframes:b,duration:d-QZ,ease:"linear"}}var zf={anticipate:HZ,backInOut:ZZ,circInOut:WZ};function Mbc(c){return c in zf}var us=class extends Ba{constructor(l){super(l);let{name:t,motionValue:e,element:b,keyframes:d}=this.options;this.resolver=new Wa(d,(o,n)=>this.onKeyframesResolved(o,n),t,e,b),this.resolver.scheduleResolve()}initPlayback(l,t){var e;let{duration:b=300,times:d,ease:o,type:n,motionValue:X,name:G,startTime:i}=this.options;if(!(!((e=X.owner)===null||e===void 0)&&e.current))return!1;if(typeof o=="string"&&Ja()&&Mbc(o)&&(o=zf[o]),jbc(this.options)){let{onComplete:m,onUpdate:s,motionValue:x,element:r,...g}=this.options,H=Ebc(l,g);l=H.keyframes,l.length===1&&(l[1]=l[0]),b=H.duration,d=H.times,o=H.ease,n="keyframes"}let a=Sf(X.owner.current,G,l,{...this.options,duration:b,times:d,ease:o});return a.startTime=i??this.calcStartTime(),this.pendingTimeline?(rV(a,this.pendingTimeline),this.pendingTimeline=void 0):a.onfinish=()=>{let{onComplete:m}=this.options;X.set(Tn(l,this.options,t)),m&&m(),this.cancel(),this.resolveFinishedPromise()},{animation:a,duration:b,times:d,type:n,ease:o,keyframes:l}}get duration(){let{resolved:l}=this;if(!l)return 0;let{duration:t}=l;return Ce(t)}get time(){let{resolved:l}=this;if(!l)return 0;let{animation:t}=l;return Ce(t.currentTime||0)}set time(l){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.currentTime=wt(l)}get speed(){let{resolved:l}=this;if(!l)return 1;let{animation:t}=l;return t.playbackRate}set speed(l){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.playbackRate=l}get state(){let{resolved:l}=this;if(!l)return"idle";let{animation:t}=l;return t.playState}get startTime(){let{resolved:l}=this;if(!l)return null;let{animation:t}=l;return t.startTime}attachTimeline(l){if(!this._resolved)this.pendingTimeline=l;else{let{resolved:t}=this;if(!t)return rl;let{animation:e}=t;rV(e,l)}return rl}play(){if(this.isStopped)return;let{resolved:l}=this;if(!l)return;let{animation:t}=l;t.playState==="finished"&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:l}=this;if(!l)return;let{animation:t}=l;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:l}=this;if(!l)return;let{animation:t,keyframes:e,duration:b,type:d,ease:o,times:n}=l;if(t.playState==="idle"||t.playState==="finished")return;if(this.time){let{motionValue:G,onUpdate:i,onComplete:a,element:m,...s}=this.options,x=new IG({...s,keyframes:e,duration:b,type:d,ease:o,times:n,isGenerator:!0}),r=wt(this.time);G.setWithVelocity(x.sample(r-QZ).value,x.sample(r).value,QZ)}let{onStop:X}=this.options;X&&X(),this.cancel()}complete(){let{resolved:l}=this;l&&l.animation.finish()}cancel(){let{resolved:l}=this;l&&l.animation.cancel()}static supports(l){let{motionValue:t,name:e,repeatDelay:b,repeatType:d,damping:o,type:n}=l;return kf()&&e&&vf.has(e)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!b&&d!=="mirror"&&o!==0&&n!=="inertia"}};var Af=Va(()=>window.ScrollTimeline!==void 0);var wZ=class{constructor(l){this.stop=()=>this.runAll("stop"),this.animations=l.filter(Boolean)}then(l,t){return Promise.all(this.animations).then(l).catch(t)}getAll(l){return this.animations[0][l]}setAll(l,t){for(let e=0;e<this.animations.length;e++)this.animations[e][l]=t}attachTimeline(l,t){let e=this.animations.map(b=>Af()&&b.attachTimeline?b.attachTimeline(l):t(b));return()=>{e.forEach((b,d)=>{b&&b(),this.animations[d].stop()})}}get time(){return this.getAll("time")}set time(l){this.setAll("time",l)}get speed(){return this.getAll("speed")}set speed(l){this.setAll("speed",l)}get startTime(){return this.getAll("startTime")}get duration(){let l=0;for(let t=0;t<this.animations.length;t++)l=Math.max(l,this.animations[t].duration);return l}runAll(l){this.animations.forEach(t=>t[l]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function Of({when:c,delay:l,delayChildren:t,staggerChildren:e,staggerDirection:b,repeat:d,repeatType:o,repeatDelay:n,from:X,elapsed:G,...i}){return!!Object.keys(i).length}var ha=(c,l,t,e={},b,d)=>o=>{let n=xa(e,c)||{},X=n.delay||e.delay||0,{elapsed:G=0}=e;G=G-wt(X);let i={keyframes:Array.isArray(t)?t:[null,t],ease:"easeOut",velocity:l.getVelocity(),...n,delay:-G,onUpdate:m=>{l.set(m),n.onUpdate&&n.onUpdate(m)},onComplete:()=>{o(),n.onComplete&&n.onComplete()},name:c,motionValue:l,element:d?void 0:b};Of(n)||(i={...i,...DN(c,i)}),i.duration&&(i.duration=wt(i.duration)),i.repeatDelay&&(i.repeatDelay=wt(i.repeatDelay)),i.from!==void 0&&(i.keyframes[0]=i.from);let a=!1;if((i.type===!1||i.duration===0&&!i.repeatDelay)&&(i.duration=0,i.delay===0&&(a=!0)),(uZ.current||ra.skipAnimations)&&(a=!0,i.duration=0,i.delay=0),a&&!d&&l.get()!==void 0){let m=Tn(i.keyframes,n);if(m!==void 0)return Yc.update(()=>{i.onUpdate(m),i.onComplete()}),new wZ([])}return!d&&us.supports(i)?new us(i):new IG(i)};var Qf=c=>!!(c&&typeof c=="object"&&c.mix&&c.toValue),wf=c=>ts(c)?c[c.length-1]||0:c;function Ca(c,l){c.indexOf(l)===-1&&c.push(l)}function Ya(c,l){let t=c.indexOf(l);t>-1&&c.splice(t,1)}var jn=class{constructor(){this.subscriptions=[]}add(l){return Ca(this.subscriptions,l),()=>Ya(this.subscriptions,l)}notify(l,t,e){let b=this.subscriptions.length;if(b)if(b===1)this.subscriptions[0](l,t,e);else for(let d=0;d<b;d++){let o=this.subscriptions[d];o&&o(l,t,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Tf=30,Pbc=c=>!isNaN(parseFloat(c)),Df={current:void 0},gV=class{constructor(l,t={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,b=!0)=>{let d=Tt.now();this.updatedAt!==d&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),b&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(l),this.owner=t.owner}setCurrent(l){this.current=l,this.updatedAt=Tt.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=Pbc(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,t){this.events[l]||(this.events[l]=new jn);let e=this.events[l].add(t);return l==="change"?()=>{e(),Yc.read(()=>{this.events.change.getSize()||this.stop()})}:e}clearListeners(){for(let l in this.events)this.events[l].clear()}attach(l,t){this.passiveEffect=l,this.stopPassiveEffect=t}set(l,t=!0){!t||!this.passiveEffect?this.updateAndNotify(l,t):this.passiveEffect(l,this.updateAndNotify)}setWithVelocity(l,t,e){this.set(t),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-e}jump(l,t=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Df.current&&Df.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let l=Tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>Tf)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Tf);return FZ(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(l){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=l(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 Oo(c,l){return new gV(c,l)}function Kbc(c,l,t){c.hasValue(l)?c.getValue(l).set(t):c.addValue(l,Oo(t))}function Lf(c,l){let t=Qn(c,l),{transitionEnd:e={},transition:b={},...d}=t||{};d={...d,...e};for(let o in d){let n=wf(d[o]);Kbc(c,o,n)}}var Fa=c=>c.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var _bc="framerAppearId",TZ="data-"+Fa(_bc);function DZ(c){return c.props[TZ]}var gl=c=>!!(c&&c.getVelocity);function Uf(c){return!!(gl(c)&&c.add)}function ms(c,l){let t=c.getValue("willChange");if(Uf(t))return t.add(l)}function qbc({protectedKeys:c,needsAnimating:l},t){let e=c.hasOwnProperty(t)&&l[t]!==!0;return l[t]=!1,e}function LZ(c,l,{delay:t=0,transitionOverride:e,type:b}={}){var d;let{transition:o=c.getDefaultTransition(),transitionEnd:n,...X}=l;e&&(o=e);let G=[],i=b&&c.animationState&&c.animationState.getState()[b];for(let a in X){let m=c.getValue(a,(d=c.latestValues[a])!==null&&d!==void 0?d:null),s=X[a];if(s===void 0||i&&qbc(i,a))continue;let x={delay:t,...xa(o||{},a)},r=!1;if(window.MotionHandoffAnimation){let H=DZ(c);if(H){let Z=window.MotionHandoffAnimation(H,a,Yc);Z!==null&&(x.startTime=Z,r=!0)}}ms(c,a),m.start(ha(a,m,s,c.shouldReduceMotion&&he.has(a)?{type:!1}:x,c,r));let g=m.animation;g&&G.push(g)}return n&&Promise.all(G).then(()=>{Yc.update(()=>{n&&Lf(c,n)})}),G}function UZ(c,l,t={}){var e;let b=Qn(c,l,t.type==="exit"?(e=c.presenceContext)===null||e===void 0?void 0:e.custom:void 0),{transition:d=c.getDefaultTransition()||{}}=b||{};t.transitionOverride&&(d=t.transitionOverride);let o=b?()=>Promise.all(LZ(c,b,t)):()=>Promise.resolve(),n=c.variantChildren&&c.variantChildren.size?(G=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:m}=d;return $bc(c,l,i+G,a,m,t)}:()=>Promise.resolve(),{when:X}=d;if(X){let[G,i]=X==="beforeChildren"?[o,n]:[n,o];return G().then(()=>i())}else return Promise.all([o(),n(t.delay)])}function $bc(c,l,t=0,e=0,b=1,d){let o=[],n=(c.variantChildren.size-1)*e,X=b===1?(G=0)=>G*e:(G=0)=>n-G*e;return Array.from(c.variantChildren).sort(cdc).forEach((G,i)=>{G.notify("AnimationStart",l),o.push(UZ(G,l,{...d,delay:t+X(i)}).then(()=>G.notify("AnimationComplete",l)))}),Promise.all(o)}function cdc(c,l){return c.sortNodePosition(l)}function jf(c,l,t={}){c.notify("AnimationStart",l);let e;if(Array.isArray(l)){let b=l.map(d=>UZ(c,d,t));e=Promise.all(b)}else if(typeof l=="string")e=UZ(c,l,t);else{let b=typeof l=="function"?Qn(c,l,t.custom):l;e=Promise.all(LZ(c,b,t))}return e.then(()=>{c.notify("AnimationComplete",l)})}var ldc=es.length;function ZV(c){if(!c)return;if(!c.isControllingVariants){let t=c.parent?ZV(c.parent)||{}:{};return c.props.initial!==void 0&&(t.initial=c.props.initial),t}let l={};for(let t=0;t<ldc;t++){let e=es[t],b=c.props[e];(ko(b)||b===!1)&&(l[e]=b)}return l}var tdc=[...aZ].reverse(),edc=aZ.length;function bdc(c){return l=>Promise.all(l.map(({animation:t,options:e})=>jf(c,t,e)))}function Mf(c){let l=bdc(c),t=Ef(),e=!0,b=X=>(G,i)=>{var a;let m=Qn(c,i,X==="exit"?(a=c.presenceContext)===null||a===void 0?void 0:a.custom:void 0);if(m){let{transition:s,transitionEnd:x,...r}=m;G={...G,...r,...x}}return G};function d(X){l=X(c)}function o(X){let{props:G}=c,i=ZV(c.parent)||{},a=[],m=new Set,s={},x=1/0;for(let g=0;g<edc;g++){let H=tdc[g],Z=t[H],R=G[H]!==void 0?G[H]:i[H],W=ko(R),I=H===X?Z.isActive:null;I===!1&&(x=g);let p=R===i[H]&&R!==G[H]&&W;if(p&&e&&c.manuallyAnimateOnMount&&(p=!1),Z.protectedKeys={...s},!Z.isActive&&I===null||!R&&!Z.prevProp||On(R)||typeof R=="boolean")continue;let B=ddc(Z.prevProp,R),y=B||H===X&&Z.isActive&&!p&&W||g>x&&W,C=!1,V=Array.isArray(R)?R:[R],h=V.reduce(b(H),{});I===!1&&(h={});let{prevResolvedValues:Y={}}=Z,N={...Y,...h},A=f=>{y=!0,m.has(f)&&(C=!0,m.delete(f)),Z.needsAnimating[f]=!0;let L=c.getValue(f);L&&(L.liveStyle=!1)};for(let f in N){let L=h[f],v=Y[f];if(s.hasOwnProperty(f))continue;let K=!1;ts(L)&&ts(v)?K=!Py(L,v):K=L!==v,K?L!=null?A(f):m.add(f):L!==void 0&&m.has(f)?A(f):Z.protectedKeys[f]=!0}Z.prevProp=R,Z.prevResolvedValues=h,Z.isActive&&(s={...s,...h}),e&&c.blockInitialAnimation&&(y=!1),y&&(!(p&&B)||C)&&a.push(...V.map(f=>({animation:f,options:{type:H}})))}if(m.size){let g={};m.forEach(H=>{let Z=c.getBaseTarget(H),R=c.getValue(H);R&&(R.liveStyle=!0),g[H]=Z??null}),a.push({animation:g})}let r=!!a.length;return e&&(G.initial===!1||G.initial===G.animate)&&!c.manuallyAnimateOnMount&&(r=!1),e=!1,r?l(a):Promise.resolve()}function n(X,G){var i;if(t[X].isActive===G)return Promise.resolve();(i=c.variantChildren)===null||i===void 0||i.forEach(m=>{var s;return(s=m.animationState)===null||s===void 0?void 0:s.setActive(X,G)}),t[X].isActive=G;let a=o(X);for(let m in t)t[m].protectedKeys={};return a}return{animateChanges:o,setActive:n,setAnimateFunction:d,getState:()=>t,reset:()=>{t=Ef(),e=!0}}}function ddc(c,l){return typeof l=="string"?l!==c:Array.isArray(l)?!Py(l,c):!1}function WG(c=!1){return{isActive:c,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ef(){return{animate:WG(!0),whileInView:WG(),whileHover:WG(),whileTap:WG(),whileDrag:WG(),whileFocus:WG(),exit:WG()}}var Gt=class{constructor(l){this.isMounted=!1,this.node=l}update(){}};var jZ=class extends Gt{constructor(l){super(l),l.animationState||(l.animationState=Mf(l))}updateAnimationControlsSubscription(){let{animate:l}=this.node.getProps();On(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:l}=this.node.getProps(),{animate:t}=this.node.prevProps||{};l!==t&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)===null||l===void 0||l.call(this)}};var odc=0,EZ=class extends Gt{constructor(){super(...arguments),this.id=odc++}update(){if(!this.node.presenceContext)return;let{isPresent:l,onExitComplete:t}=this.node.presenceContext,{isPresent:e}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===e)return;let b=this.node.animationState.setActive("exit",!l);t&&!l&&b.then(()=>t(this.id))}mount(){let{register:l}=this.node.presenceContext||{};l&&(this.unmount=l(this.id))}unmount(){}};var Pf={animation:{Feature:jZ},exit:{Feature:EZ}};var Me={x:!1,y:!1};function va(){return Me.x||Me.y}function HV(c,l,t){var e;if(c instanceof Element)return[c];if(typeof c=="string"){let b=document;l&&(b=l.current);let d=(e=t?.[c])!==null&&e!==void 0?e:b.querySelectorAll(c);return d?Array.from(d):[]}return Array.from(c)}function MZ(c,l){let t=HV(c),e=new AbortController,b={passive:!0,...l,signal:e.signal};return[t,b,()=>e.abort()]}function Kf(c){return l=>{l.pointerType==="touch"||va()||c(l)}}function RV(c,l,t={}){let[e,b,d]=MZ(c,t),o=Kf(n=>{let{target:X}=n,G=l(n);if(!G||!X)return;let i=Kf(a=>{G(a),X.removeEventListener("pointerleave",i)});X.addEventListener("pointerleave",i,b)});return e.forEach(n=>{n.addEventListener("pointerenter",o,b)}),d}var pG=c=>c.pointerType==="mouse"?typeof c.button!="number"||c.button<=0:c.isPrimary!==!1;var BG=new WeakSet;function _f(c){return l=>{l.key==="Enter"&&c(l)}}function IV(c,l){c.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}var qf=(c,l)=>{let t=c.currentTarget;if(!t)return;let e=_f(()=>{if(BG.has(t))return;IV(t,"down");let b=_f(()=>{IV(t,"up")}),d=()=>IV(t,"cancel");t.addEventListener("keyup",b,l),t.addEventListener("blur",d,l)});t.addEventListener("keydown",e,l),t.addEventListener("blur",()=>t.removeEventListener("keydown",e),l)};var ndc=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $f(c){return ndc.has(c.tagName)||c.tabIndex!==-1}var PZ=(c,l)=>l?c===l?!0:PZ(c,l.parentElement):!1;function c3(c){return pG(c)&&!va()}function WV(c,l,t={}){let[e,b,d]=MZ(c,t),o=n=>{let X=n.currentTarget;if(!c3(n)||BG.has(X))return;BG.add(X);let G=l(n),i=(s,x)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",m),!(!c3(s)||!BG.has(X))&&(BG.delete(X),G&&G(s,{success:x}))},a=s=>{i(s,t.useGlobalTarget||PZ(X,s.target))},m=s=>{i(s,!1)};window.addEventListener("pointerup",a,b),window.addEventListener("pointercancel",m,b)};return e.forEach(n=>{$f(n)||(n.tabIndex=0),(t.useGlobalTarget?window:n).addEventListener("pointerdown",o,b),n.addEventListener("focus",G=>qf(G,b),b)}),d}function pV(c){return c==="x"||c==="y"?Me[c]?null:(Me[c]=!0,()=>{Me[c]=!1}):Me.x||Me.y?null:(Me.x=Me.y=!0,()=>{Me.x=Me.y=!1})}function Qo(c){return{point:{x:c.pageX,y:c.pageY}}}var l3=c=>l=>pG(l)&&c(l,Qo(l));function wo(c,l,t,e={passive:!0}){return c.addEventListener(l,t,e),()=>c.removeEventListener(l,t)}function En(c,l,t,e){return wo(c,l,l3(t),e)}var t3=(c,l)=>Math.abs(c-l);function e3(c,l){let t=t3(c.x,l.x),e=t3(c.y,l.y);return Math.sqrt(t**2+e**2)}var Na=class{constructor(l,t,{transformPagePoint:e,contextWindow:b,dragSnapToOrigin:d=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=yV(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,s=e3(a.offset,{x:0,y:0})>=3;if(!m&&!s)return;let{point:x}=a,{timestamp:r}=kl;this.history.push({...x,timestamp:r});let{onStart:g,onMove:H}=this.handlers;m||(g&&g(this.lastMoveEvent,a),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,a)},this.handlePointerMove=(a,m)=>{this.lastMoveEvent=a,this.lastMoveEventInfo=BV(m,this.transformPagePoint),Yc.update(this.updatePoint,!0)},this.handlePointerUp=(a,m)=>{this.end();let{onEnd:s,onSessionEnd:x,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=yV(a.type==="pointercancel"?this.lastMoveEventInfo:BV(m,this.transformPagePoint),this.history);this.startEvent&&s&&s(a,g),x&&x(a,g)},!pG(l))return;this.dragSnapToOrigin=d,this.handlers=t,this.transformPagePoint=e,this.contextWindow=b||window;let o=Qo(l),n=BV(o,this.transformPagePoint),{point:X}=n,{timestamp:G}=kl;this.history=[{...X,timestamp:G}];let{onSessionStart:i}=t;i&&i(l,yV(n,this.history)),this.removeListeners=wd(En(this.contextWindow,"pointermove",this.handlePointerMove),En(this.contextWindow,"pointerup",this.handlePointerUp),En(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),Ee(this.updatePoint)}};function BV(c,l){return l?{point:l(c.point)}:c}function b3(c,l){return{x:c.x-l.x,y:c.y-l.y}}function yV({point:c},l){return{point:c,delta:b3(c,d3(l)),offset:b3(c,Xdc(l)),velocity:Gdc(l,.1)}}function Xdc(c){return c[0]}function d3(c){return c[c.length-1]}function Gdc(c,l){if(c.length<2)return{x:0,y:0};let t=c.length-1,e=null,b=d3(c);for(;t>=0&&(e=c[t],!(b.timestamp-e.timestamp>wt(l)));)t--;if(!e)return{x:0,y:0};let d=Ce(b.timestamp-e.timestamp);if(d===0)return{x:0,y:0};let o={x:(b.x-e.x)/d,y:(b.y-e.y)/d};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function To(c){return c&&typeof c=="object"&&Object.prototype.hasOwnProperty.call(c,"current")}var G3=1e-4,idc=1-G3,adc=1+G3,i3=.01,udc=0-i3,mdc=0+i3;function Vt(c){return c.max-c.min}function a3(c,l,t){return Math.abs(c-l)<=t}function o3(c,l,t,e=.5){c.origin=e,c.originPoint=Qc(l.min,l.max,c.origin),c.scale=Vt(t)/Vt(l),c.translate=Qc(t.min,t.max,c.origin)-c.originPoint,(c.scale>=idc&&c.scale<=adc||isNaN(c.scale))&&(c.scale=1),(c.translate>=udc&&c.translate<=mdc||isNaN(c.translate))&&(c.translate=0)}function fa(c,l,t,e){o3(c.x,l.x,t.x,e?e.originX:void 0),o3(c.y,l.y,t.y,e?e.originY:void 0)}function n3(c,l,t){c.min=t.min+l.min,c.max=c.min+Vt(l)}function u3(c,l,t){n3(c.x,l.x,t.x),n3(c.y,l.y,t.y)}function X3(c,l,t){c.min=l.min-t.min,c.max=c.min+Vt(l)}function Sa(c,l,t){X3(c.x,l.x,t.x),X3(c.y,l.y,t.y)}function g3(c,{min:l,max:t},e){return l!==void 0&&c<l?c=e?Qc(l,c,e.min):Math.max(c,l):t!==void 0&&c>t&&(c=e?Qc(t,c,e.max):Math.min(c,t)),c}function m3(c,l,t){return{min:l!==void 0?c.min+l:void 0,max:t!==void 0?c.max+t-(c.max-c.min):void 0}}function Z3(c,{top:l,left:t,bottom:e,right:b}){return{x:m3(c.x,t,b),y:m3(c.y,l,e)}}function s3(c,l){let t=l.min-c.min,e=l.max-c.max;return l.max-l.min<c.max-c.min&&([t,e]=[e,t]),{min:t,max:e}}function H3(c,l){return{x:s3(c.x,l.x),y:s3(c.y,l.y)}}function R3(c,l){let t=.5,e=Vt(c),b=Vt(l);return b>e?t=$b(l.min,l.max-e,c.min):e>b&&(t=$b(c.min,c.max-b,l.min)),yt(0,1,t)}function I3(c,l){let t={};return l.min!==void 0&&(t.min=l.min-c.min),l.max!==void 0&&(t.max=l.max-c.min),t}var KZ=.35;function W3(c=KZ){return c===!1?c=0:c===!0&&(c=KZ),{x:x3(c,"left","right"),y:x3(c,"top","bottom")}}function x3(c,l,t){return{min:r3(c,l),max:r3(c,t)}}function r3(c,l){return typeof c=="number"?c:c[l]||0}var p3=()=>({translate:0,scale:1,origin:0,originPoint:0}),yG=()=>({x:p3(),y:p3()}),B3=()=>({min:0,max:0}),Il=()=>({x:B3(),y:B3()});function Ye(c){return[c("x"),c("y")]}function _Z({top:c,left:l,right:t,bottom:e}){return{x:{min:l,max:t},y:{min:c,max:e}}}function y3({x:c,y:l}){return{top:l.min,right:c.max,bottom:l.max,left:c.min}}function V3(c,l){if(!l)return c;let t=l({x:c.left,y:c.top}),e=l({x:c.right,y:c.bottom});return{top:t.y,left:t.x,bottom:e.y,right:e.x}}function VV(c){return c===void 0||c===1}function qZ({scale:c,scaleX:l,scaleY:t}){return!VV(c)||!VV(l)||!VV(t)}function Do(c){return qZ(c)||JV(c)||c.z||c.rotate||c.rotateX||c.rotateY||c.skewX||c.skewY}function JV(c){return J3(c.x)||J3(c.y)}function J3(c){return c&&c!=="0%"}function ss(c,l,t){let e=c-t,b=l*e;return t+b}function h3(c,l,t,e,b){return b!==void 0&&(c=ss(c,b,e)),ss(c,t,e)+l}function hV(c,l=0,t=1,e,b){c.min=h3(c.min,l,t,e,b),c.max=h3(c.max,l,t,e,b)}function CV(c,{x:l,y:t}){hV(c.x,l.translate,l.scale,l.originPoint),hV(c.y,t.translate,t.scale,t.originPoint)}var C3=.999999999999,Y3=1.0000000000001;function v3(c,l,t,e=!1){let b=t.length;if(!b)return;l.x=l.y=1;let d,o;for(let n=0;n<b;n++){d=t[n],o=d.projectionDelta;let{visualElement:X}=d.options;X&&X.props.style&&X.props.style.display==="contents"||(e&&d.options.layoutScroll&&d.scroll&&d!==d.root&&VG(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),o&&(l.x*=o.x.scale,l.y*=o.y.scale,CV(c,o)),e&&Do(d.latestValues)&&VG(c,d.latestValues))}l.x<Y3&&l.x>C3&&(l.x=1),l.y<Y3&&l.y>C3&&(l.y=1)}function Mn(c,l){c.min=c.min+l,c.max=c.max+l}function F3(c,l,t,e,b=.5){let d=Qc(c.min,c.max,b);hV(c,l,t,d,e)}function VG(c,l){F3(c.x,l.x,l.scaleX,l.scale,l.originX),F3(c.y,l.y,l.scaleY,l.scale,l.originY)}function YV(c,l){return _Z(V3(c.getBoundingClientRect(),l))}function N3(c,l,t){let e=YV(c,t),{scroll:b}=l;return b&&(Mn(e.x,b.offset.x),Mn(e.y,b.offset.y)),e}var $Z=({current:c})=>c?c.ownerDocument.defaultView:null;var sdc=new WeakMap,lH=class{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Il(),this.visualElement=l}start(l,{snapToCursor:t=!1}={}){let{presenceContext:e}=this.visualElement;if(e&&e.isPresent===!1)return;let b=i=>{let{dragSnapToOrigin:a}=this.getProps();a?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Qo(i).point)},d=(i,a)=>{let{drag:m,dragPropagation:s,onDragStart:x}=this.getProps();if(m&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pV(m),!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),Ye(g=>{let H=this.getAxisMotionValue(g).get()||0;if(le.test(H)){let{projection:Z}=this.visualElement;if(Z&&Z.layout){let R=Z.layout.layoutBox[g];R&&(H=Vt(R)*(parseFloat(H)/100))}}this.originPoint[g]=H}),x&&Yc.postRender(()=>x(i,a)),ms(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(i,a)=>{let{dragPropagation:m,dragDirectionLock:s,onDirectionLock:x,onDrag:r}=this.getProps();if(!m&&!this.openDragLock)return;let{offset:g}=a;if(s&&this.currentDirection===null){this.currentDirection=xdc(g),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",a.point,g),this.updateAxis("y",a.point,g),this.visualElement.render(),r&&r(i,a)},n=(i,a)=>this.stop(i,a),X=()=>Ye(i=>{var a;return this.getAnimationState(i)==="paused"&&((a=this.getAxisMotionValue(i).animation)===null||a===void 0?void 0:a.play())}),{dragSnapToOrigin:G}=this.getProps();this.panSession=new Na(l,{onSessionStart:b,onStart:d,onMove:o,onSessionEnd:n,resumeAnimation:X},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:G,contextWindow:$Z(this.visualElement)})}stop(l,t){let e=this.isDragging;if(this.cancel(),!e)return;let{velocity:b}=t;this.startAnimation(b);let{onDragEnd:d}=this.getProps();d&&Yc.postRender(()=>d(l,t))}cancel(){this.isDragging=!1;let{projection:l,animationState:t}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:e}=this.getProps();!e&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(l,t,e){let{drag:b}=this.getProps();if(!e||!cH(l,b,this.currentDirection))return;let d=this.getAxisMotionValue(l),o=this.originPoint[l]+e[l];this.constraints&&this.constraints[l]&&(o=g3(o,this.constraints[l],this.elastic[l])),d.set(o)}resolveConstraints(){var l;let{dragConstraints:t,dragElastic:e}=this.getProps(),b=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)===null||l===void 0?void 0:l.layout,d=this.constraints;t&&To(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&b?this.constraints=Z3(b.layoutBox,t):this.constraints=!1,this.elastic=W3(e),d!==this.constraints&&b&&this.constraints&&!this.hasMutatedConstraints&&Ye(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=I3(b.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){let{dragConstraints:l,onMeasureDragConstraints:t}=this.getProps();if(!l||!To(l))return!1;let e=l.current;je(e!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:b}=this.visualElement;if(!b||!b.layout)return!1;let d=N3(e,b.root,this.visualElement.getTransformPagePoint()),o=H3(b.layout.layoutBox,d);if(t){let n=t(y3(o));this.hasMutatedConstraints=!!n,n&&(o=_Z(n))}return o}startAnimation(l){let{drag:t,dragMomentum:e,dragElastic:b,dragTransition:d,dragSnapToOrigin:o,onDragTransitionEnd:n}=this.getProps(),X=this.constraints||{},G=Ye(i=>{if(!cH(i,t,this.currentDirection))return;let a=X&&X[i]||{};o&&(a={min:0,max:0});let m=b?200:1e6,s=b?40:1e7,x={type:"inertia",velocity:e?l[i]:0,bounceStiffness:m,bounceDamping:s,timeConstant:750,restDelta:1,restSpeed:10,...d,...a};return this.startAxisValueAnimation(i,x)});return Promise.all(G).then(n)}startAxisValueAnimation(l,t){let e=this.getAxisMotionValue(l);return ms(this.visualElement,l),e.start(ha(l,e,0,t,this.visualElement,!1))}stopAnimation(){Ye(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Ye(l=>{var t;return(t=this.getAxisMotionValue(l).animation)===null||t===void 0?void 0:t.pause()})}getAnimationState(l){var t;return(t=this.getAxisMotionValue(l).animation)===null||t===void 0?void 0:t.state}getAxisMotionValue(l){let t=`_drag${l.toUpperCase()}`,e=this.visualElement.getProps(),b=e[t];return b||this.visualElement.getValue(l,(e.initial?e.initial[l]:void 0)||0)}snapToCursor(l){Ye(t=>{let{drag:e}=this.getProps();if(!cH(t,e,this.currentDirection))return;let{projection:b}=this.visualElement,d=this.getAxisMotionValue(t);if(b&&b.layout){let{min:o,max:n}=b.layout.layoutBox[t];d.set(l[t]-Qc(o,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:l,dragConstraints:t}=this.getProps(),{projection:e}=this.visualElement;if(!To(t)||!e||!this.constraints)return;this.stopAnimation();let b={x:0,y:0};Ye(o=>{let n=this.getAxisMotionValue(o);if(n&&this.constraints!==!1){let X=n.get();b[o]=R3({min:X,max:X},this.constraints[o])}});let{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",e.root&&e.root.updateScroll(),e.updateLayout(),this.resolveConstraints(),Ye(o=>{if(!cH(o,l,null))return;let n=this.getAxisMotionValue(o),{min:X,max:G}=this.constraints[o];n.set(Qc(X,G,b[o]))})}addListeners(){if(!this.visualElement.current)return;sdc.set(this.visualElement,this);let l=this.visualElement.current,t=En(l,"pointerdown",X=>{let{drag:G,dragListener:i=!0}=this.getProps();G&&i&&this.start(X)}),e=()=>{let{dragConstraints:X}=this.getProps();To(X)&&X.current&&(this.constraints=this.resolveRefConstraints())},{projection:b}=this.visualElement,d=b.addEventListener("measure",e);b&&!b.layout&&(b.root&&b.root.updateScroll(),b.updateLayout()),Yc.read(e);let o=wo(window,"resize",()=>this.scalePositionWithinConstraints()),n=b.addEventListener("didUpdate",(({delta:X,hasLayoutChanged:G})=>{this.isDragging&&G&&(Ye(i=>{let a=this.getAxisMotionValue(i);a&&(this.originPoint[i]+=X[i].translate,a.set(a.get()+X[i].translate))}),this.visualElement.render())}));return()=>{o(),t(),d(),n&&n()}}getProps(){let l=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:e=!1,dragPropagation:b=!1,dragConstraints:d=!1,dragElastic:o=KZ,dragMomentum:n=!0}=l;return{...l,drag:t,dragDirectionLock:e,dragPropagation:b,dragConstraints:d,dragElastic:o,dragMomentum:n}}};function cH(c,l,t){return(l===!0||l===c)&&(t===null||t===c)}function xdc(c,l=10){let t=null;return Math.abs(c.y)>l?t="y":Math.abs(c.x)>l&&(t="x"),t}var tH=class extends Gt{constructor(l){super(l),this.removeGroupControls=rl,this.removeListeners=rl,this.controls=new lH(l)}mount(){let{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rl}unmount(){this.removeGroupControls(),this.removeListeners()}};var f3=c=>(l,t)=>{c&&Yc.postRender(()=>c(l,t))},eH=class extends Gt{constructor(){super(...arguments),this.removePointerDownListener=rl}onPointerDown(l){this.session=new Na(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$Z(this.node)})}createPanHandlers(){let{onPanSessionStart:l,onPanStart:t,onPan:e,onPanEnd:b}=this.node.getProps();return{onSessionStart:f3(l),onStart:f3(t),onMove:e,onEnd:(d,o)=>{delete this.session,b&&Yc.postRender(()=>b(d,o))}}}mount(){this.removePointerDownListener=En(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var T3=u(J(),1),xs=u(M(),1);var Kn=u(M(),1);var S3=u(M(),1),Pn=(0,S3.createContext)(null);function k3(){let c=(0,Kn.useContext)(Pn);if(c===null)return[!0,null];let{isPresent:l,onExitComplete:t,register:e}=c,b=(0,Kn.useId)();(0,Kn.useEffect)(()=>e(b),[]);let d=(0,Kn.useCallback)(()=>t&&t(b),[b,t]);return!l&&t?[!1,d]:[!0]}var z3=u(M(),1),ka=(0,z3.createContext)({});var A3=u(M(),1),bH=(0,A3.createContext)({});var za={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function O3(c,l){return l.max===l.min?0:c/(l.max-l.min)*100}var Aa={correct:(c,l)=>{if(!l.target)return c;if(typeof c=="string")if(rc.test(c))c=parseFloat(c);else return c;let t=O3(c,l.target.x),e=O3(c,l.target.y);return`${t}% ${e}%`}};var Q3={correct:(c,{treeScale:l,projectionDelta:t})=>{let e=c,b=te.parse(c);if(b.length>5)return e;let d=te.createTransformer(c),o=typeof b[0]!="number"?1:0,n=t.x.scale*l.x,X=t.y.scale*l.y;b[0+o]/=n,b[1+o]/=X;let G=Qc(n,X,.5);return typeof b[2+o]=="number"&&(b[2+o]/=G),typeof b[3+o]=="number"&&(b[3+o]/=G),d(b)}};var Oa={};function w3(c){Object.assign(Oa,c)}var{schedule:Qa,cancel:ozc}=sZ(queueMicrotask,!1);var FV=class extends xs.Component{componentDidMount(){let{visualElement:l,layoutGroup:t,switchLayoutGroup:e,layoutId:b}=this.props,{projection:d}=l;w3(rdc),d&&(t.group&&t.group.add(d),e&&e.register&&b&&e.register(d),d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),za.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){let{layoutDependency:t,visualElement:e,drag:b,isPresent:d}=this.props,o=e.projection;return o&&(o.isPresent=d,b||l.layoutDependency!==t||t===void 0?o.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?o.promote():o.relegate()||Yc.postRender(()=>{let n=o.getStack();(!n||!n.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),Qa.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:l,layoutGroup:t,switchLayoutGroup:e}=this.props,{projection:b}=l;b&&(b.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(b),e&&e.deregister&&e.deregister(b))}safeToRemove(){let{safeToRemove:l}=this.props;l&&l()}render(){return null}};function dH(c){let[l,t]=k3(),e=(0,xs.useContext)(ka);return(0,T3.jsx)(FV,{...c,layoutGroup:e,switchLayoutGroup:(0,xs.useContext)(bH),isPresent:l,safeToRemove:t})}var rdc={borderRadius:{...Aa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Aa,borderTopRightRadius:Aa,borderBottomLeftRadius:Aa,borderBottomRightRadius:Aa,boxShadow:Q3};var j3=["TopLeft","TopRight","BottomLeft","BottomRight"],gdc=j3.length,D3=c=>typeof c=="string"?parseFloat(c):c,L3=c=>typeof c=="number"||rc.test(c);function E3(c,l,t,e,b,d){b?(c.opacity=Qc(0,t.opacity!==void 0?t.opacity:1,Zdc(e)),c.opacityExit=Qc(l.opacity!==void 0?l.opacity:1,0,Hdc(e))):d&&(c.opacity=Qc(l.opacity!==void 0?l.opacity:1,t.opacity!==void 0?t.opacity:1,e));for(let o=0;o<gdc;o++){let n=`border${j3[o]}Radius`,X=U3(l,n),G=U3(t,n);if(X===void 0&&G===void 0)continue;X||(X=0),G||(G=0),X===0||G===0||L3(X)===L3(G)?(c[n]=Math.max(Qc(D3(X),D3(G),e),0),(le.test(G)||le.test(X))&&(c[n]+="%")):c[n]=G}(l.rotate||t.rotate)&&(c.rotate=Qc(l.rotate||0,t.rotate||0,e))}function U3(c,l){return c[l]!==void 0?c[l]:c.borderRadius}var Zdc=M3(0,.5,IZ),Hdc=M3(.5,.95,rl);function M3(c,l,t){return e=>e<c?0:e>l?1:t($b(c,l,e))}function P3(c,l){c.min=l.min,c.max=l.max}function Pe(c,l){P3(c.x,l.x),P3(c.y,l.y)}function vV(c,l){c.translate=l.translate,c.scale=l.scale,c.originPoint=l.originPoint,c.origin=l.origin}function K3(c,l,t,e,b){return c-=l,c=ss(c,1/t,e),b!==void 0&&(c=ss(c,1/b,e)),c}function Rdc(c,l=0,t=1,e=.5,b,d=c,o=c){if(le.test(l)&&(l=parseFloat(l),l=Qc(o.min,o.max,l/100)-o.min),typeof l!="number")return;let n=Qc(d.min,d.max,e);c===d&&(n-=l),c.min=K3(c.min,l,t,n,b),c.max=K3(c.max,l,t,n,b)}function _3(c,l,[t,e,b],d,o){Rdc(c,l[t],l[e],l[b],l.scale,d,o)}var Idc=["x","scaleX","originX"],Wdc=["y","scaleY","originY"];function NV(c,l,t,e){_3(c.x,l,Idc,t?t.x:void 0,e?e.x:void 0),_3(c.y,l,Wdc,t?t.y:void 0,e?e.y:void 0)}function q3(c){return c.translate===0&&c.scale===1}function fV(c){return q3(c.x)&&q3(c.y)}function $3(c,l){return c.min===l.min&&c.max===l.max}function lS(c,l){return $3(c.x,l.x)&&$3(c.y,l.y)}function cS(c,l){return Math.round(c.min)===Math.round(l.min)&&Math.round(c.max)===Math.round(l.max)}function SV(c,l){return cS(c.x,l.x)&&cS(c.y,l.y)}function kV(c){return Vt(c.x)/Vt(c.y)}function zV(c,l){return c.translate===l.translate&&c.scale===l.scale&&c.originPoint===l.originPoint}var oH=class{constructor(){this.members=[]}add(l){Ca(this.members,l),l.scheduleRender()}remove(l){if(Ya(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(l){let t=this.members.findIndex(b=>l===b);if(t===0)return!1;let e;for(let b=t;b>=0;b--){let d=this.members[b];if(d.isPresent!==!1){e=d;break}}return e?(this.promote(e),!0):!1}promote(l,t){let e=this.lead;if(l!==e&&(this.prevLead=e,this.lead=l,l.show(),e)){e.instance&&e.scheduleRender(),l.scheduleRender(),l.resumeFrom=e,t&&(l.resumeFrom.preserveOpacity=!0),e.snapshot&&(l.snapshot=e.snapshot,l.snapshot.latestValues=e.animationValues||e.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0);let{crossfade:b}=l.options;b===!1&&e.hide()}}exitAnimationComplete(){this.members.forEach(l=>{let{options:t,resumingFrom:e}=l;t.onExitComplete&&t.onExitComplete(),e&&e.options.onExitComplete&&e.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function tS(c,l,t){let e="",b=c.x.translate/l.x,d=c.y.translate/l.y,o=t?.z||0;if((b||d||o)&&(e=`translate3d(${b}px, ${d}px, ${o}px) `),(l.x!==1||l.y!==1)&&(e+=`scale(${1/l.x}, ${1/l.y}) `),t){let{transformPerspective:G,rotate:i,rotateX:a,rotateY:m,skewX:s,skewY:x}=t;G&&(e=`perspective(${G}px) ${e}`),i&&(e+=`rotate(${i}deg) `),a&&(e+=`rotateX(${a}deg) `),m&&(e+=`rotateY(${m}deg) `),s&&(e+=`skewX(${s}deg) `),x&&(e+=`skewY(${x}deg) `)}let n=c.x.scale*l.x,X=c.y.scale*l.y;return(n!==1||X!==1)&&(e+=`scale(${n}, ${X})`),e||"none"}var eS=(c,l)=>c.depth-l.depth;var nH=class{constructor(){this.children=[],this.isDirty=!1}add(l){Ca(this.children,l),this.isDirty=!0}remove(l){Ya(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(eS),this.isDirty=!1,this.children.forEach(l)}};function wa(c){let l=gl(c)?c.get():c;return Qf(l)?l.toValue():l}function bS(c,l){let t=Tt.now(),e=({timestamp:b})=>{let d=b-t;d>=l&&(Ee(e),c(d-l))};return Yc.read(e,!0),()=>Ee(e)}function dS(c){return c instanceof SVGElement&&c.tagName!=="svg"}function oS(c,l,t){let e=gl(c)?c:Oo(c);return e.start(ha("",e,l,t)),e.animation}var JG={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rs=typeof window<"u"&&window.MotionDebug!==void 0,AV=["","X","Y","Z"],pdc={visibility:"hidden"},nS=1e3,Bdc=0;function OV(c,l,t,e){let{latestValues:b}=l;b[c]&&(t[c]=b[c],l.setStaticValue(c,0),e&&(e[c]=0))}function xS(c){if(c.hasCheckedOptimisedAppear=!0,c.root===c)return;let{visualElement:l}=c.options;if(!l)return;let t=DZ(l);if(window.MotionHasOptimisedAnimation(t,"transform")){let{layout:b,layoutId:d}=c.options;window.MotionCancelOptimisedAnimation(t,"transform",Yc,!(b||d))}let{parent:e}=c;e&&!e.hasCheckedOptimisedAppear&&xS(e)}function XH({attachResizeListener:c,defaultParent:l,measureScroll:t,checkIsScrollRoot:e,resetTransform:b}){return class{constructor(o={},n=l?.()){this.id=Bdc++,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,rs&&(JG.totalNodes=JG.resolvedTargetDeltas=JG.recalculatedProjection=0),this.nodes.forEach(Jdc),this.nodes.forEach(vdc),this.nodes.forEach(Ndc),this.nodes.forEach(hdc),rs&&window.MotionDebug.record(JG)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 X=0;X<this.path.length;X++)this.path[X].shouldResetTransform=!0;this.root===this&&(this.nodes=new nH)}addEventListener(o,n){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new jn),this.eventHandlers.get(o).add(n)}notifyListeners(o,...n){let X=this.eventHandlers.get(o);X&&X.notify(...n)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=dS(o),this.instance=o;let{layoutId:X,layout:G,visualElement:i}=this.options;if(i&&!i.current&&i.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(G||X)&&(this.isLayoutDirty=!0),c){let a,m=()=>this.root.updateBlockedByResize=!1;c(o,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=bS(m,250),za.hasAnimatedSinceResize&&(za.hasAnimatedSinceResize=!1,this.nodes.forEach(GS))})}X&&this.root.registerSharedNode(X,this),this.options.animate!==!1&&i&&(X||G)&&this.addEventListener("didUpdate",({delta:a,hasLayoutChanged:m,hasRelativeTargetChanged:s,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||i.getDefaultTransition()||Adc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:H}=i.getProps(),Z=!this.targetLayout||!SV(this.targetLayout,x)||s,R=!m&&s;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||m&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(a,R);let W={...xa(r,"layout"),onPlay:g,onComplete:H};(i.shouldReduceMotion||this.options.layoutRoot)&&(W.delay=0,W.type=!1),this.startAnimation(W)}else m||GS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ee(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(fdc),this.animationId++)}getTransformTemplate(){let{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&xS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){let a=this.path[i];a.shouldResetTransform=!0,a.updateScroll("snapshot"),a.options.layoutRoot&&a.willUpdate(!1)}let{layoutId:n,layout:X}=this.options;if(n===void 0&&!X)return;let G=this.getTransformTemplate();this.prevTransformTemplateValue=G?G(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(XS);return}this.isUpdating||this.nodes.forEach(Ydc),this.isUpdating=!1,this.nodes.forEach(Fdc),this.nodes.forEach(ydc),this.nodes.forEach(Vdc),this.clearAllSnapshots();let n=Tt.now();kl.delta=yt(0,1e3/60,n-kl.timestamp),kl.timestamp=n,kl.isProcessing=!0,xZ.update.process(kl),xZ.preRender.process(kl),xZ.render.process(kl),kl.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qa.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Cdc),this.sharedNodes.forEach(Sdc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Yc.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Yc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let X=0;X<this.path.length;X++)this.path[X].updateScroll();let o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Il(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let n=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(n=!1),n){let X=e(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:X,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:X}}}resetTransform(){if(!b)return;let o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,n=this.projectionDelta&&!fV(this.projectionDelta),X=this.getTransformTemplate(),G=X?X(this.latestValues,""):void 0,i=G!==this.prevTransformTemplateValue;o&&(n||Do(this.latestValues)||i)&&(b(this.instance,G),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){let n=this.measurePageBox(),X=this.removeElementScroll(n);return o&&(X=this.removeTransform(X)),Odc(X),{animationId:this.root.animationId,measuredBox:n,layoutBox:X,latestValues:{},source:this.id}}measurePageBox(){var o;let{visualElement:n}=this.options;if(!n)return Il();let X=n.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Qdc))){let{scroll:i}=this.root;i&&(Mn(X.x,i.offset.x),Mn(X.y,i.offset.y))}return X}removeElementScroll(o){var n;let X=Il();if(Pe(X,o),!((n=this.scroll)===null||n===void 0)&&n.wasRoot)return X;for(let G=0;G<this.path.length;G++){let i=this.path[G],{scroll:a,options:m}=i;i!==this.root&&a&&m.layoutScroll&&(a.wasRoot&&Pe(X,o),Mn(X.x,a.offset.x),Mn(X.y,a.offset.y))}return X}applyTransform(o,n=!1){let X=Il();Pe(X,o);for(let G=0;G<this.path.length;G++){let i=this.path[G];!n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&VG(X,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Do(i.latestValues)&&VG(X,i.latestValues)}return Do(this.latestValues)&&VG(X,this.latestValues),X}removeTransform(o){let n=Il();Pe(n,o);for(let X=0;X<this.path.length;X++){let G=this.path[X];if(!G.instance||!Do(G.latestValues))continue;qZ(G.latestValues)&&G.updateSnapshot();let i=Il(),a=G.measurePageBox();Pe(i,a),NV(n,G.latestValues,G.snapshot?G.snapshot.layoutBox:void 0,i)}return Do(this.latestValues)&&NV(n,this.latestValues),n}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}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!==kl.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var n;let X=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=X.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=X.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=X.isSharedProjectionDirty);let G=!!this.resumingFrom||this!==X;if(!(o||G&&this.isSharedProjectionDirty||this.isProjectionDirty||!((n=this.parent)===null||n===void 0)&&n.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:m}=this.options;if(!(!this.layout||!(a||m))){if(this.resolvedRelativeTargetAt=kl.timestamp,!this.targetDelta&&!this.relativeTarget){let s=this.getClosestProjectingParent();s&&s.layout&&this.animationProgress!==1?(this.relativeParent=s,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Il(),this.relativeTargetOrigin=Il(),Sa(this.relativeTargetOrigin,this.layout.layoutBox,s.layout.layoutBox),Pe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Il(),this.targetWithTransforms=Il()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Pe(this.target,this.layout.layoutBox),CV(this.target,this.targetDelta)):Pe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let s=this.getClosestProjectingParent();s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&this.animationProgress!==1?(this.relativeParent=s,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Il(),this.relativeTargetOrigin=Il(),Sa(this.relativeTargetOrigin,this.target,s.target),Pe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rs&&JG.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||qZ(this.parent.latestValues)||JV(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;let n=this.getLead(),X=!!this.resumingFrom||this!==n,G=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(G=!1),X&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(G=!1),this.resolvedRelativeTargetAt===kl.timestamp&&(G=!1),G)return;let{layout:i,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||a))return;Pe(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,s=this.treeScale.y;v3(this.layoutCorrected,this.treeScale,this.path,X),n.layout&&!n.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(n.target=n.layout.layoutBox,n.targetWithTransforms=Il());let{target:x}=n;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(vV(this.prevProjectionDelta.x,this.projectionDelta.x),vV(this.prevProjectionDelta.y,this.projectionDelta.y)),fa(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==s||!zV(this.projectionDelta.x,this.prevProjectionDelta.x)||!zV(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),rs&&JG.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var n;if((n=this.options.visualElement)===null||n===void 0||n.scheduleRender(),o){let X=this.getStack();X&&X.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=yG(),this.projectionDelta=yG(),this.projectionDeltaWithTransform=yG()}setAnimationOrigin(o,n=!1){let X=this.snapshot,G=X?X.latestValues:{},i={...this.latestValues},a=yG();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let m=Il(),s=X?X.source:void 0,x=this.layout?this.layout.source:void 0,r=s!==x,g=this.getStack(),H=!g||g.members.length<=1,Z=!!(r&&!H&&this.options.crossfade===!0&&!this.path.some(zdc));this.animationProgress=0;let R;this.mixTargetDelta=W=>{let I=W/1e3;iS(a.x,o.x,I),iS(a.y,o.y,I),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Sa(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),kdc(this.relativeTarget,this.relativeTargetOrigin,m,I),R&&lS(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=Il()),Pe(R,this.relativeTarget)),r&&(this.animationValues=i,E3(i,G,this.latestValues,I,Z,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ee(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Yc.update(()=>{za.hasAnimatedSinceResize=!0,this.currentAnimation=oS(0,nS,{...o,onUpdate:n=>{this.mixTargetDelta(n),o.onUpdate&&o.onUpdate(n)},onComplete:()=>{o.onComplete&&o.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);let o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(nS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let o=this.getLead(),{targetWithTransforms:n,target:X,layout:G,latestValues:i}=o;if(!(!n||!X||!G)){if(this!==o&&this.layout&&G&&rS(this.options.animationType,this.layout.layoutBox,G.layoutBox)){X=this.target||Il();let a=Vt(this.layout.layoutBox.x);X.x.min=o.target.x.min,X.x.max=X.x.min+a;let m=Vt(this.layout.layoutBox.y);X.y.min=o.target.y.min,X.y.max=X.y.min+m}Pe(n,X),VG(n,i),fa(this.projectionDeltaWithTransform,this.layoutCorrected,n,i)}}registerSharedNode(o,n){this.sharedNodes.has(o)||this.sharedNodes.set(o,new oH),this.sharedNodes.get(o).add(n);let G=n.options.initialPromotionConfig;n.promote({transition:G?G.transition:void 0,preserveFollowOpacity:G&&G.shouldPreserveFollowOpacity?G.shouldPreserveFollowOpacity(n):void 0})}isLead(){let o=this.getStack();return o?o.lead===this:!0}getLead(){var o;let{layoutId:n}=this.options;return n?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;let{layoutId:n}=this.options;return n?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){let{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:n,preserveFollowOpacity:X}={}){let G=this.getStack();G&&G.promote(this,X),o&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){let o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){let{visualElement:o}=this.options;if(!o)return;let n=!1,{latestValues:X}=o;if((X.z||X.rotate||X.rotateX||X.rotateY||X.rotateZ||X.skewX||X.skewY)&&(n=!0),!n)return;let G={};X.z&&OV("z",o,G,this.animationValues);for(let i=0;i<AV.length;i++)OV(`rotate${AV[i]}`,o,G,this.animationValues),OV(`skew${AV[i]}`,o,G,this.animationValues);o.render();for(let i in G)o.setStaticValue(i,G[i]),this.animationValues&&(this.animationValues[i]=G[i]);o.scheduleRender()}getProjectionStyles(o){var n,X;if(!this.instance||this.isSVG)return;if(!this.isVisible)return pdc;let G={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,G.opacity="",G.pointerEvents=wa(o?.pointerEvents)||"",G.transform=i?i(this.latestValues,""):"none",G;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let r={};return this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=wa(o?.pointerEvents)||""),this.hasProjected&&!Do(this.latestValues)&&(r.transform=i?i({},""):"none",this.hasProjected=!1),r}let m=a.animationValues||a.latestValues;this.applyTransformsToTarget(),G.transform=tS(this.projectionDeltaWithTransform,this.treeScale,m),i&&(G.transform=i(m,G.transform));let{x:s,y:x}=this.projectionDelta;G.transformOrigin=`${s.origin*100}% ${x.origin*100}% 0`,a.animationValues?G.opacity=a===this?(X=(n=m.opacity)!==null&&n!==void 0?n:this.latestValues.opacity)!==null&&X!==void 0?X:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:G.opacity=a===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let r in Oa){if(m[r]===void 0)continue;let{correct:g,applyTo:H}=Oa[r],Z=G.transform==="none"?m[r]:g(m[r],a);if(H){let R=H.length;for(let W=0;W<R;W++)G[H[W]]=Z}else G[r]=Z}return this.options.layoutId&&(G.pointerEvents=a===this?wa(o?.pointerEvents)||"":"none"),G}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var n;return(n=o.currentAnimation)===null||n===void 0?void 0:n.stop()}),this.root.nodes.forEach(XS),this.root.sharedNodes.clear()}}}function ydc(c){c.updateLayout()}function Vdc(c){var l;let t=((l=c.resumeFrom)===null||l===void 0?void 0:l.snapshot)||c.snapshot;if(c.isLead()&&c.layout&&t&&c.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:b}=c.layout,{animationType:d}=c.options,o=t.source!==c.layout.source;d==="size"?Ye(a=>{let m=o?t.measuredBox[a]:t.layoutBox[a],s=Vt(m);m.min=e[a].min,m.max=m.min+s}):rS(d,t.layoutBox,e)&&Ye(a=>{let m=o?t.measuredBox[a]:t.layoutBox[a],s=Vt(e[a]);m.max=m.min+s,c.relativeTarget&&!c.currentAnimation&&(c.isProjectionDirty=!0,c.relativeTarget[a].max=c.relativeTarget[a].min+s)});let n=yG();fa(n,e,t.layoutBox);let X=yG();o?fa(X,c.applyTransform(b,!0),t.measuredBox):fa(X,e,t.layoutBox);let G=!fV(n),i=!1;if(!c.resumeFrom){let a=c.getClosestProjectingParent();if(a&&!a.resumeFrom){let{snapshot:m,layout:s}=a;if(m&&s){let x=Il();Sa(x,t.layoutBox,m.layoutBox);let r=Il();Sa(r,e,s.layoutBox),SV(x,r)||(i=!0),a.options.layoutRoot&&(c.relativeTarget=r,c.relativeTargetOrigin=x,c.relativeParent=a)}}}c.notifyListeners("didUpdate",{layout:e,snapshot:t,delta:X,layoutDelta:n,hasLayoutChanged:G,hasRelativeTargetChanged:i})}else if(c.isLead()){let{onExitComplete:e}=c.options;e&&e()}c.options.transition=void 0}function Jdc(c){rs&&JG.totalNodes++,c.parent&&(c.isProjecting()||(c.isProjectionDirty=c.parent.isProjectionDirty),c.isSharedProjectionDirty||(c.isSharedProjectionDirty=!!(c.isProjectionDirty||c.parent.isProjectionDirty||c.parent.isSharedProjectionDirty)),c.isTransformDirty||(c.isTransformDirty=c.parent.isTransformDirty))}function hdc(c){c.isProjectionDirty=c.isSharedProjectionDirty=c.isTransformDirty=!1}function Cdc(c){c.clearSnapshot()}function XS(c){c.clearMeasurements()}function Ydc(c){c.isLayoutDirty=!1}function Fdc(c){let{visualElement:l}=c.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),c.resetTransform()}function GS(c){c.finishAnimation(),c.targetDelta=c.relativeTarget=c.target=void 0,c.isProjectionDirty=!0}function vdc(c){c.resolveTargetDelta()}function Ndc(c){c.calcProjection()}function fdc(c){c.resetSkewAndRotation()}function Sdc(c){c.removeLeadSnapshot()}function iS(c,l,t){c.translate=Qc(l.translate,0,t),c.scale=Qc(l.scale,1,t),c.origin=l.origin,c.originPoint=l.originPoint}function aS(c,l,t,e){c.min=Qc(l.min,t.min,e),c.max=Qc(l.max,t.max,e)}function kdc(c,l,t,e){aS(c.x,l.x,t.x,e),aS(c.y,l.y,t.y,e)}function zdc(c){return c.animationValues&&c.animationValues.opacityExit!==void 0}var Adc={duration:.45,ease:[.4,0,.1,1]},uS=c=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(c),mS=uS("applewebkit/")&&!uS("chrome/")?Math.round:rl;function sS(c){c.min=mS(c.min),c.max=mS(c.max)}function Odc(c){sS(c.x),sS(c.y)}function rS(c,l,t){return c==="position"||c==="preserve-aspect"&&!a3(kV(l),kV(t),.2)}function Qdc(c){var l;return c!==c.root&&((l=c.scroll)===null||l===void 0?void 0:l.wasRoot)}var gS=XH({attachResizeListener:(c,l)=>wo(c,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var QV={current:void 0},GH=XH({measureScroll:c=>({x:c.scrollLeft,y:c.scrollTop}),defaultParent:()=>{if(!QV.current){let c=new gS({});c.mount(window),c.setOptions({layoutScroll:!0}),QV.current=c}return QV.current},resetTransform:(c,l)=>{c.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:c=>window.getComputedStyle(c).position==="fixed"});var ZS={pan:{Feature:eH},drag:{Feature:tH,ProjectionNode:GH,MeasureLayout:dH}};function HS(c,l,t){let{props:e}=c;c.animationState&&e.whileHover&&c.animationState.setActive("whileHover",t==="Start");let b="onHover"+t,d=e[b];d&&Yc.postRender(()=>d(l,Qo(l)))}var iH=class extends Gt{mount(){let{current:l}=this.node;l&&(this.unmount=RV(l,t=>(HS(this.node,t,"Start"),e=>HS(this.node,e,"End"))))}unmount(){}};var aH=class extends Gt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=wd(wo(this.node.current,"focus",()=>this.onFocus()),wo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function RS(c,l,t){let{props:e}=c;c.animationState&&e.whileTap&&c.animationState.setActive("whileTap",t==="Start");let b="onTap"+(t==="End"?"":t),d=e[b];d&&Yc.postRender(()=>d(l,Qo(l)))}var uH=class extends Gt{mount(){let{current:l}=this.node;l&&(this.unmount=WV(l,t=>(RS(this.node,t,"Start"),(e,{success:b})=>RS(this.node,e,b?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var TV=new WeakMap,wV=new WeakMap,wdc=c=>{let l=TV.get(c.target);l&&l(c)},Tdc=c=>{c.forEach(wdc)};function Ddc({root:c,...l}){let t=c||document;wV.has(t)||wV.set(t,{});let e=wV.get(t),b=JSON.stringify(l);return e[b]||(e[b]=new IntersectionObserver(Tdc,{root:c,...l})),e[b]}function IS(c,l,t){let e=Ddc(l);return TV.set(c,t),e.observe(c),()=>{TV.delete(c),e.unobserve(c)}}var Ldc={some:0,all:1},mH=class extends Gt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:l={}}=this.node.getProps(),{root:t,margin:e,amount:b="some",once:d}=l,o={root:t?t.current:void 0,rootMargin:e,threshold:typeof b=="number"?b:Ldc[b]},n=X=>{let{isIntersecting:G}=X;if(this.isInView===G||(this.isInView=G,d&&!G&&this.hasEnteredView))return;G&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",G);let{onViewportEnter:i,onViewportLeave:a}=this.node.getProps(),m=G?i:a;m&&m(X)};return IS(this.node.current,o,n)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:l,prevProps:t}=this.node;["amount","margin","root"].some(Udc(l,t))&&this.startObserver()}unmount(){}};function Udc({viewport:c={}},{viewport:l={}}={}){return t=>c[t]!==l[t]}var WS={inView:{Feature:mH},tap:{Feature:uH},focus:{Feature:aH},hover:{Feature:iH}};var pS={layout:{ProjectionNode:GH,MeasureLayout:dH}};var HH=u(J(),1),La=u(M(),1);var BS=u(M(),1),Ta=(0,BS.createContext)({transformPagePoint:c=>c,isStatic:!1,reducedMotion:"never"});var yS=u(M(),1),_n=(0,yS.createContext)({});var Fe=u(M(),1);var sH=u(M(),1);var Da=typeof window<"u";var xH=Da?sH.useLayoutEffect:sH.useEffect;var VS=u(M(),1),rH=(0,VS.createContext)({strict:!1});function JS(c,l,t,e,b){var d,o;let{visualElement:n}=(0,Fe.useContext)(_n),X=(0,Fe.useContext)(rH),G=(0,Fe.useContext)(Pn),i=(0,Fe.useContext)(Ta).reducedMotion,a=(0,Fe.useRef)(null);e=e||X.renderer,!a.current&&e&&(a.current=e(c,{visualState:l,parent:n,props:t,presenceContext:G,blockInitialAnimation:G?G.initial===!1:!1,reducedMotionConfig:i}));let m=a.current,s=(0,Fe.useContext)(bH);m&&!m.projection&&b&&(m.type==="html"||m.type==="svg")&&jdc(a.current,t,b,s);let x=(0,Fe.useRef)(!1);(0,Fe.useInsertionEffect)(()=>{m&&x.current&&m.update(t,G)});let r=t[TZ],g=(0,Fe.useRef)(!!r&&!(!((d=window.MotionHandoffIsComplete)===null||d===void 0)&&d.call(window,r))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,r)));return xH(()=>{m&&(x.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),Qa.render(m.render),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,Fe.useEffect)(()=>{m&&(!g.current&&m.animationState&&m.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)===null||H===void 0||H.call(window,r)}),g.current=!1))}),m}function jdc(c,l,t,e){let{layoutId:b,layout:d,drag:o,dragConstraints:n,layoutScroll:X,layoutRoot:G}=l;c.projection=new t(c.latestValues,l["data-framer-portal-id"]?void 0:hS(c.parent)),c.projection.setOptions({layoutId:b,layout:d,alwaysMeasureLayout:!!o||n&&To(n),visualElement:c,animationType:typeof d=="string"?d:"both",initialPromotionConfig:e,layoutScroll:X,layoutRoot:G})}function hS(c){if(c)return c.options.allowProjection!==!1?c.projection:hS(c.parent)}var CS=u(M(),1);function YS(c,l,t){return(0,CS.useCallback)(e=>{e&&c.mount&&c.mount(e),l&&(e?l.mount(e):l.unmount()),t&&(typeof t=="function"?t(e):To(t)&&(t.current=e))},[l])}var ZH=u(M(),1);function hG(c){return On(c.animate)||es.some(l=>ko(c[l]))}function gH(c){return!!(hG(c)||c.variants)}function FS(c,l){if(hG(c)){let{initial:t,animate:e}=c;return{initial:t===!1||ko(t)?t:void 0,animate:ko(e)?e:void 0}}return c.inherit!==!1?l:{}}function NS(c){let{initial:l,animate:t}=FS(c,(0,ZH.useContext)(_n));return(0,ZH.useMemo)(()=>({initial:l,animate:t}),[vS(l),vS(t)])}function vS(c){return Array.isArray(c)?c.join(" "):c}var fS={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"]},Lo={};for(let c in fS)Lo[c]={isEnabled:l=>fS[c].some(t=>!!l[t])};function SS(c){for(let l in c)Lo[l]={...Lo[l],...c[l]}}var kS=Symbol.for("motionComponentSymbol");function zS({preloadedFeatures:c,createVisualElement:l,useRender:t,useVisualState:e,Component:b}){c&&SS(c);function d(n,X){let G,i={...(0,La.useContext)(Ta),...n,layoutId:Edc(n)},{isStatic:a}=i,m=NS(n),s=e(n,a);if(!a&&Da){Mdc(i,c);let x=Pdc(i);G=x.MeasureLayout,m.visualElement=JS(b,s,i,l,x.ProjectionNode)}return(0,HH.jsxs)(_n.Provider,{value:m,children:[G&&m.visualElement?(0,HH.jsx)(G,{visualElement:m.visualElement,...i}):null,t(b,n,YS(s,m.visualElement,X),s,a,m.visualElement)]})}let o=(0,La.forwardRef)(d);return o[kS]=b,o}function Edc({layoutId:c}){let l=(0,La.useContext)(ka).id;return l&&c!==void 0?l+"-"+c:c}function Mdc(c,l){let t=(0,La.useContext)(rH).strict}function Pdc(c){let{drag:l,layout:t}=Lo;if(!l&&!t)return{};let e={...l,...t};return{MeasureLayout:l?.isEnabled(c)||t?.isEnabled(c)?e.MeasureLayout:void 0,ProjectionNode:e.ProjectionNode}}var AS=["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"];function Ua(c){return typeof c!="string"||c.includes("-")?!1:!!(AS.indexOf(c)>-1||/[A-Z]/u.test(c))}function RH(c,{style:l,vars:t},e,b){Object.assign(c.style,l,b&&b.getProjectionStyles(e));for(let d in t)c.style.setProperty(d,t[d])}var IH=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"]);function WH(c,l,t,e){RH(c,l,void 0,e);for(let b in l.attrs)c.setAttribute(IH.has(b)?b:Fa(b),l.attrs[b])}function pH(c,{layout:l,layoutId:t}){return he.has(c)||c.startsWith("origin")||(l||t!==void 0)&&(!!Oa[c]||c==="opacity")}function ja(c,l,t){var e;let{style:b}=c,d={};for(let o in b)(gl(b[o])||l.style&&gl(l.style[o])||pH(o,c)||((e=t?.getValue(o))===null||e===void 0?void 0:e.liveStyle)!==void 0)&&(d[o]=b[o]);return d}function BH(c,l,t){let e=ja(c,l,t);for(let b in c)if(gl(c[b])||gl(l[b])){let d=wn.indexOf(b)!==-1?"attr"+b.charAt(0).toUpperCase()+b.substring(1):b;e[d]=c[b]}return e}var DV=u(M(),1);var OS=u(M(),1);function Ea(c){let l=(0,OS.useRef)(null);return l.current===null&&(l.current=c()),l.current}function Kdc({scrapeMotionValuesFromProps:c,createRenderState:l,onMount:t},e,b,d){let o={latestValues:_dc(e,b,d,c),renderState:l()};return t&&(o.mount=n=>t(e,n,o)),o}var yH=c=>(l,t)=>{let e=(0,DV.useContext)(_n),b=(0,DV.useContext)(Pn),d=()=>Kdc(c,l,e,b);return t?d():Ea(d)};function _dc(c,l,t,e){let b={},d=e(c,{});for(let m in d)b[m]=wa(d[m]);let{initial:o,animate:n}=c,X=hG(c),G=gH(c);l&&G&&!X&&c.inherit!==!1&&(o===void 0&&(o=l.initial),n===void 0&&(n=l.animate));let i=t?t.initial===!1:!1;i=i||o===!1;let a=i?n:o;if(a&&typeof a!="boolean"&&!On(a)){let m=Array.isArray(a)?a:[a];for(let s=0;s<m.length;s++){let x=sa(c,m[s]);if(x){let{transitionEnd:r,transition:g,...H}=x;for(let Z in H){let R=H[Z];if(Array.isArray(R)){let W=i?R.length-1:0;R=R[W]}R!==null&&(b[Z]=R)}for(let Z in r)b[Z]=r[Z]}}}return b}var Ma=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var VH=()=>({...Ma(),attrs:{}});var JH=(c,l)=>l&&typeof c=="number"?l.transform(c):c;var qdc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},$dc=wn.length;function QS(c,l,t){let e="",b=!0;for(let d=0;d<$dc;d++){let o=wn[d],n=c[o];if(n===void 0)continue;let X=!0;if(typeof n=="number"?X=n===(o.startsWith("scale")?1:0):X=parseFloat(n)===0,!X||t){let G=JH(n,Ra[o]);if(!X){b=!1;let i=qdc[o]||o;e+=`${i}(${G}) `}t&&(l[o]=G)}}return e=e.trim(),t?e=t(l,b?"":e):b&&(e="none"),e}function Pa(c,l,t){let{style:e,vars:b,transformOrigin:d}=c,o=!1,n=!1;for(let X in l){let G=l[X];if(he.has(X)){o=!0;continue}else if(yZ(X)){b[X]=G;continue}else{let i=JH(G,Ra[X]);X.startsWith("origin")?(n=!0,d[X]=i):e[X]=i}}if(l.transform||(o||t?e.transform=QS(l,c.transform,t):e.transform&&(e.transform="none")),n){let{originX:X="50%",originY:G="50%",originZ:i=0}=d;e.transformOrigin=`${X} ${G} ${i}`}}function wS(c,l,t){return typeof c=="string"?c:rc.transform(l+t*c)}function TS(c,l,t){let e=wS(l,c.x,c.width),b=wS(t,c.y,c.height);return`${e} ${b}`}var coc={offset:"stroke-dashoffset",array:"stroke-dasharray"},loc={offset:"strokeDashoffset",array:"strokeDasharray"};function DS(c,l,t=1,e=0,b=!0){c.pathLength=1;let d=b?coc:loc;c[d.offset]=rc.transform(-e);let o=rc.transform(l),n=rc.transform(t);c[d.array]=`${o} ${n}`}function Ka(c,{attrX:l,attrY:t,attrScale:e,originX:b,originY:d,pathLength:o,pathSpacing:n=1,pathOffset:X=0,...G},i,a){if(Pa(c,G,a),i){c.style.viewBox&&(c.attrs.viewBox=c.style.viewBox);return}c.attrs=c.style,c.style={};let{attrs:m,style:s,dimensions:x}=c;m.transform&&(x&&(s.transform=m.transform),delete m.transform),x&&(b!==void 0||d!==void 0||s.transform)&&(s.transformOrigin=TS(x,b!==void 0?b:.5,d!==void 0?d:.5)),l!==void 0&&(m.x=l),t!==void 0&&(m.y=t),e!==void 0&&(m.scale=e),o!==void 0&&DS(m,o,n,X,!1)}var _a=c=>typeof c=="string"&&c.toLowerCase()==="svg";var LS={useVisualState:yH({scrapeMotionValuesFromProps:BH,createRenderState:VH,onMount:(c,l,{renderState:t,latestValues:e})=>{Yc.read(()=>{try{t.dimensions=typeof l.getBBox=="function"?l.getBBox():l.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}),Yc.render(()=>{Ka(t,e,_a(l.tagName),c.transformTemplate),WH(l,t)})}})};var US={useVisualState:yH({scrapeMotionValuesFromProps:ja,createRenderState:Ma})};var qa=u(M(),1);var jS=u(M(),1);function LV(c,l,t){for(let e in l)!gl(l[e])&&!pH(e,t)&&(c[e]=l[e])}function toc({transformTemplate:c},l){return(0,jS.useMemo)(()=>{let t=Ma();return Pa(t,l,c),Object.assign({},t.vars,t.style)},[l])}function eoc(c,l){let t=c.style||{},e={};return LV(e,t,c),Object.assign(e,toc(c,l)),e}function ES(c,l){let t={},e=eoc(c,l);return c.drag&&c.dragListener!==!1&&(t.draggable=!1,e.userSelect=e.WebkitUserSelect=e.WebkitTouchCallout="none",e.touchAction=c.drag===!0?"none":`pan-${c.drag==="x"?"y":"x"}`),c.tabIndex===void 0&&(c.onTap||c.onTapStart||c.whileTap)&&(t.tabIndex=0),t.style=e,t}var boc=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 gs(c){return c.startsWith("while")||c.startsWith("drag")&&c!=="draggable"||c.startsWith("layout")||c.startsWith("onTap")||c.startsWith("onPan")||c.startsWith("onLayout")||boc.has(c)}var PS=c=>!gs(c);function ooc(c){c&&(PS=l=>l.startsWith("on")?!gs(l):c(l))}try{ooc((jV(),KY(MS)).default)}catch{}function KS(c,l,t){let e={};for(let b in c)b==="values"&&typeof c.values=="object"||(PS(b)||t===!0&&gs(b)||!l&&!gs(b)||c.draggable&&b.startsWith("onDrag"))&&(e[b]=c[b]);return e}var _S=u(M(),1);function qS(c,l,t,e){let b=(0,_S.useMemo)(()=>{let d=VH();return Ka(d,l,_a(e),c.transformTemplate),{...d.attrs,style:{...d.style}}},[l]);if(c.style){let d={};LV(d,c.style,c),b.style={...d,...b.style}}return b}function $S(c=!1){return(t,e,b,{latestValues:d},o)=>{let X=(Ua(t)?qS:ES)(e,d,o,t),G=KS(e,typeof t=="string",c),i=t!==qa.Fragment?{...G,...X,ref:b}:{},{children:a}=e,m=(0,qa.useMemo)(()=>gl(a)?a.get():a,[a]);return(0,qa.createElement)(t,{...i,children:m})}}function ck(c,l){return function(e,{forwardMotionProps:b}={forwardMotionProps:!1}){let o={...Ua(e)?LS:US,preloadedFeatures:c,useRender:$S(b),createVisualElement:l,Component:e};return zS(o)}}var dk=u(M(),1);var Zs={current:null},YH={current:!1};function lk(){if(YH.current=!0,!!Da)if(window.matchMedia){let c=window.matchMedia("(prefers-reduced-motion)"),l=()=>Zs.current=c.matches;c.addListener(l),l()}else Zs.current=!1}function tk(c,l,t){for(let e in l){let b=l[e],d=t[e];if(gl(b))c.addValue(e,b);else if(gl(d))c.addValue(e,Oo(b,{owner:c}));else if(d!==b)if(c.hasValue(e)){let o=c.getValue(e);o.liveStyle===!0?o.jump(b):o.hasAnimated||o.set(b)}else{let o=c.getStaticValue(e);c.addValue(e,Oo(o!==void 0?o:b,{owner:c}))}}for(let e in t)l[e]===void 0&&c.removeValue(e);return l}var EV=new WeakMap;var noc=[...cV,Dl,te],ek=c=>noc.find(VZ(c));var bk=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],FH=class{scrapeMotionValuesFromProps(l,t,e){return{}}constructor({parent:l,props:t,presenceContext:e,reducedMotionConfig:b,blockInitialAnimation:d,visualState:o},n={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Dn,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=()=>{let m=Tt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,Yc.render(this.render,!1,!0))};let{latestValues:X,renderState:G}=o;this.latestValues=X,this.baseTarget={...X},this.initialValues=t.initial?{...X}:{},this.renderState=G,this.parent=l,this.props=t,this.presenceContext=e,this.depth=l?l.depth+1:0,this.reducedMotionConfig=b,this.options=n,this.blockInitialAnimation=!!d,this.isControllingVariants=hG(t),this.isVariantNode=gH(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);let{willChange:i,...a}=this.scrapeMotionValuesFromProps(t,{},this);for(let m in a){let s=a[m];X[m]!==void 0&&gl(s)&&s.set(X[m],!1)}}mount(l){this.current=l,EV.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),YH.current||lk(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zs.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){EV.delete(this.current),this.projection&&this.projection.unmount(),Ee(this.notifyUpdate),Ee(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let l in this.events)this.events[l].clear();for(let l in this.features){let t=this.features[l];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(l,t){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();let e=he.has(l),b=t.on("change",n=>{this.latestValues[l]=n,this.props.onUpdate&&Yc.preRender(this.notifyUpdate),e&&this.projection&&(this.projection.isTransformDirty=!0)}),d=t.on("renderRequest",this.scheduleRender),o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,l,t)),this.valueSubscriptions.set(l,()=>{b(),d(),o&&o(),t.owner&&t.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in Lo){let t=Lo[l];if(!t)continue;let{isEnabled:e,Feature:b}=t;if(!this.features[l]&&b&&e(this.props)&&(this.features[l]=new b(this)),this.features[l]){let d=this.features[l];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Il()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,t){this.latestValues[l]=t}update(l,t){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let e=0;e<bk.length;e++){let b=bk[e];this.propEventSubscriptions[b]&&(this.propEventSubscriptions[b](),delete this.propEventSubscriptions[b]);let d="on"+b,o=l[d];o&&(this.propEventSubscriptions[b]=this.on(b,o))}this.prevMotionValues=tk(this,this.scrapeMotionValuesFromProps(l,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(l),()=>t.variantChildren.delete(l)}addValue(l,t){let e=this.values.get(l);t!==e&&(e&&this.removeValue(l),this.bindToMotionValue(l,t),this.values.set(l,t),this.latestValues[l]=t.get())}removeValue(l){this.values.delete(l);let t=this.valueSubscriptions.get(l);t&&(t(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,t){if(this.props.values&&this.props.values[l])return this.props.values[l];let e=this.values.get(l);return e===void 0&&t!==void 0&&(e=Oo(t===null?void 0:t,{owner:this}),this.addValue(l,e)),e}readValue(l,t){var e;let b=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:(e=this.getBaseTargetFromProps(this.props,l))!==null&&e!==void 0?e:this.readValueFromInstance(this.current,l,this.options);return b!=null&&(typeof b=="string"&&(BZ(b)||pZ(b))?b=parseFloat(b):!ek(b)&&te.test(t)&&(b=hZ(l,t)),this.setBaseTarget(l,gl(b)?b.get():b)),gl(b)?b.get():b}setBaseTarget(l,t){this.baseTarget[l]=t}getBaseTarget(l){var t;let{initial:e}=this.props,b;if(typeof e=="string"||typeof e=="object"){let o=sa(this.props,e,(t=this.presenceContext)===null||t===void 0?void 0:t.custom);o&&(b=o[l])}if(e&&b!==void 0)return b;let d=this.getBaseTargetFromProps(this.props,l);return d!==void 0&&!gl(d)?d:this.initialValues[l]!==void 0&&b===void 0?void 0:this.baseTarget[l]}on(l,t){return this.events[l]||(this.events[l]=new jn),this.events[l].add(t)}notify(l,...t){this.events[l]&&this.events[l].notify(...t)}};var $a=class extends FH{constructor(){super(...arguments),this.KeyframeResolver=Wa}sortInstanceNodePosition(l,t){return l.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(l,t){return l.style?l.style[t]:void 0}removeValueFromRenderState(l,{vars:t,style:e}){delete t[l],delete e[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:l}=this.props;gl(l)&&(this.childSubscription=l.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}};function Xoc(c){return window.getComputedStyle(c)}var vH=class extends $a{constructor(){super(...arguments),this.type="html",this.renderInstance=RH}readValueFromInstance(l,t){if(he.has(t)){let e=Ia(t);return e&&e.default||0}else{let e=Xoc(l),b=(yZ(t)?e.getPropertyValue(t):e[t])||0;return typeof b=="string"?b.trim():b}}measureInstanceViewportBox(l,{transformPagePoint:t}){return YV(l,t)}build(l,t,e){Pa(l,t,e.transformTemplate)}scrapeMotionValuesFromProps(l,t,e){return ja(l,t,e)}};var NH=class extends $a{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Il}getBaseTargetFromProps(l,t){return l[t]}readValueFromInstance(l,t){if(he.has(t)){let e=Ia(t);return e&&e.default||0}return t=IH.has(t)?t:Fa(t),l.getAttribute(t)}scrapeMotionValuesFromProps(l,t,e){return BH(l,t,e)}build(l,t,e){Ka(l,t,this.isSVGTag,e.transformTemplate)}renderInstance(l,t,e,b){WH(l,t,e,b)}mount(l){this.isSVGTag=_a(l.tagName),super.mount(l)}};var ok=(c,l)=>Ua(c)?new NH(l):new vH(l,{allowProjection:c!==dk.Fragment});var nk=ck({...Pf,...WS,...ZS,...pS},ok);var qn=wN(nk);var Rs=u(J(),1),Td=u(M(),1);var PV=u(J(),1),ik=u(M(),1),CG=u(M(),1);var Xk=u(J(),1),fH=u(M(),1),Uo=u(M(),1);var MV=class extends fH.Component{getSnapshotBeforeUpdate(l){let t=this.props.childRef.current;if(t&&l.isPresent&&!this.props.isPresent){let 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 Gk({children:c,isPresent:l}){let t=(0,Uo.useId)(),e=(0,Uo.useRef)(null),b=(0,Uo.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,Uo.useContext)(Ta);return(0,Uo.useInsertionEffect)(()=>{let{width:o,height:n,top:X,left:G}=b.current;if(l||!e.current||!o||!n)return;e.current.dataset.motionPopId=t;let i=document.createElement("style");return d&&(i.nonce=d),document.head.appendChild(i),i.sheet&&i.sheet.insertRule(` | |
| 2 | - [data-motion-pop-id="${t}"] { | |
| 1 | +(function() { | |
| 2 | +"use strict";var wp;(wp||={}).components=(()=>{var hse=Object.create;var gR=Object.defineProperty;var Bse=Object.getOwnPropertyDescriptor;var vse=Object.getOwnPropertyNames;var Vse=Object.getPrototypeOf,Cse=Object.prototype.hasOwnProperty;var zw=(e,t)=>()=>(e&&(t=e(e=0)),t);var yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Fl=(e,t)=>{for(var c in t)gR(e,c,{get:t[c],enumerable:!0})},Tw=(e,t,c,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of vse(t))!Cse.call(e,l)&&l!==c&&gR(e,l,{get:()=>t[l],enumerable:!(n=Bse(t,l))||n.enumerable});return e};var u=(e,t,c)=>(c=e!=null?hse(Vse(e)):{},Tw(t||!e||!e.__esModule?gR(c,"default",{value:e,enumerable:!0}):c,e)),Aw=e=>Tw(gR({},"__esModule",{value:!0}),e);var rt=yt((pJe,Ow)=>{Ow.exports=window.wp.primitives});var Ze=yt((HJe,Uw)=>{Uw.exports=window.wp.i18n});var me=yt((IJe,Ew)=>{Ew.exports=window.wp.compose});var T=yt((ZJe,Lw)=>{Lw.exports=window.wp.element});var E=yt((yJe,Dw)=>{Dw.exports=window.React});var F=yt((vJe,xk)=>{xk.exports=window.ReactJSXRuntime});var dz=yt(oz=>{"use strict";var Yu=E();function Abe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Obe=typeof Object.is=="function"?Object.is:Abe,Qbe=Yu.useState,Ube=Yu.useEffect,Ebe=Yu.useLayoutEffect,Lbe=Yu.useDebugValue;function Dbe(e,t){var c=t(),n=Qbe({inst:{value:c,getSnapshot:t}}),l=n[0].inst,o=n[1];return Ebe(function(){l.value=c,l.getSnapshot=t,ev(l)&&o({inst:l})},[e,c,t]),Ube(function(){return ev(l)&&o({inst:l}),e(function(){ev(l)&&o({inst:l})})},[e]),Lbe(c),c}function ev(e){var t=e.getSnapshot;e=e.value;try{var c=t();return!Obe(e,c)}catch{return!0}}function _be(e,t){return t()}var jbe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_be:Dbe;oz.useSyncExternalStore=Yu.useSyncExternalStore!==void 0?Yu.useSyncExternalStore:jbe});var iG=yt((XYe,iz)=>{"use strict";iz.exports=dz()});var io=yt((uNe,fz)=>{fz.exports=window.ReactDOM});var En=yt((nLe,KA)=>{KA.exports=window.wp.warning});var Xt=yt((HLe,rO)=>{rO.exports=window.wp.deprecated});function hI(e){var t=Object.create(null);return function(c){return t[c]===void 0&&(t[c]=e(c)),t[c]}}var BI=zw(()=>{});var ZO={};Fl(ZO,{default:()=>g2});var NXe,g2,x2=zw(()=>{BI();NXe=/^((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)-.*))$/,g2=hI(function(e){return NXe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var nL=yt(At=>{"use strict";var Mc=typeof Symbol=="function"&&Symbol.for,x9=Mc?Symbol.for("react.element"):60103,p9=Mc?Symbol.for("react.portal"):60106,KZ=Mc?Symbol.for("react.fragment"):60107,qZ=Mc?Symbol.for("react.strict_mode"):60108,$Z=Mc?Symbol.for("react.profiler"):60114,ef=Mc?Symbol.for("react.provider"):60109,tf=Mc?Symbol.for("react.context"):60110,R9=Mc?Symbol.for("react.async_mode"):60111,cf=Mc?Symbol.for("react.concurrent_mode"):60111,nf=Mc?Symbol.for("react.forward_ref"):60112,lf=Mc?Symbol.for("react.suspense"):60113,ixe=Mc?Symbol.for("react.suspense_list"):60120,of=Mc?Symbol.for("react.memo"):60115,df=Mc?Symbol.for("react.lazy"):60116,rxe=Mc?Symbol.for("react.block"):60121,axe=Mc?Symbol.for("react.fundamental"):60117,sxe=Mc?Symbol.for("react.responder"):60118,bxe=Mc?Symbol.for("react.scope"):60119;function zl(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case x9:switch(e=e.type,e){case R9:case cf:case KZ:case $Z:case qZ:case lf:return e;default:switch(e=e&&e.$$typeof,e){case tf:case nf:case df:case of:case ef:return e;default:return t}}case p9:return t}}}function cL(e){return zl(e)===cf}At.AsyncMode=R9;At.ConcurrentMode=cf;At.ContextConsumer=tf;At.ContextProvider=ef;At.Element=x9;At.ForwardRef=nf;At.Fragment=KZ;At.Lazy=df;At.Memo=of;At.Portal=p9;At.Profiler=$Z;At.StrictMode=qZ;At.Suspense=lf;At.isAsyncMode=function(e){return cL(e)||zl(e)===R9};At.isConcurrentMode=cL;At.isContextConsumer=function(e){return zl(e)===tf};At.isContextProvider=function(e){return zl(e)===ef};At.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===x9};At.isForwardRef=function(e){return zl(e)===nf};At.isFragment=function(e){return zl(e)===KZ};At.isLazy=function(e){return zl(e)===df};At.isMemo=function(e){return zl(e)===of};At.isPortal=function(e){return zl(e)===p9};At.isProfiler=function(e){return zl(e)===$Z};At.isStrictMode=function(e){return zl(e)===qZ};At.isSuspense=function(e){return zl(e)===lf};At.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===KZ||e===cf||e===$Z||e===qZ||e===lf||e===ixe||typeof e=="object"&&e!==null&&(e.$$typeof===df||e.$$typeof===of||e.$$typeof===ef||e.$$typeof===tf||e.$$typeof===nf||e.$$typeof===axe||e.$$typeof===sxe||e.$$typeof===bxe||e.$$typeof===rxe)};At.typeOf=zl});var oL=yt((olt,lL)=>{"use strict";lL.exports=nL()});var uL=yt((dlt,bL)=>{"use strict";var H9=oL(),uxe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mxe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xxe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},aL={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I9={};I9[H9.ForwardRef]=Xxe;I9[H9.Memo]=aL;function dL(e){return H9.isMemo(e)?aL:I9[e.$$typeof]||uxe}var Gxe=Object.defineProperty,gxe=Object.getOwnPropertyNames,iL=Object.getOwnPropertySymbols,xxe=Object.getOwnPropertyDescriptor,pxe=Object.getPrototypeOf,rL=Object.prototype;function sL(e,t,c){if(typeof t!="string"){if(rL){var n=pxe(t);n&&n!==rL&&sL(e,n,c)}var l=gxe(t);iL&&(l=l.concat(iL(t)));for(var o=dL(e),d=dL(t),i=0;i<l.length;++i){var r=l[i];if(!mxe[r]&&!(c&&c[r])&&!(d&&d[r])&&!(o&&o[r])){var a=xxe(t,r);try{Gxe(e,r,a)}catch{}}}}return e}bL.exports=sL});var cD=yt((_ot,tD)=>{"use strict";var epe=function(t){return tpe(t)&&!cpe(t)};function tpe(e){return!!e&&typeof e=="object"}function cpe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ope(e)}var npe=typeof Symbol=="function"&&Symbol.for,lpe=npe?Symbol.for("react.element"):60103;function ope(e){return e.$$typeof===lpe}function dpe(e){return Array.isArray(e)?[]:{}}function Ng(e,t){return t.clone!==!1&&t.isMergeableObject(e)?r0(dpe(e),e,t):e}function ipe(e,t,c){return e.concat(t).map(function(n){return Ng(n,c)})}function rpe(e,t){if(!t.customMerge)return r0;var c=t.customMerge(e);return typeof c=="function"?c:r0}function ape(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $L(e){return Object.keys(e).concat(ape(e))}function eD(e,t){try{return t in e}catch{return!1}}function spe(e,t){return eD(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function bpe(e,t,c){var n={};return c.isMergeableObject(e)&&$L(e).forEach(function(l){n[l]=Ng(e[l],c)}),$L(t).forEach(function(l){spe(e,l)||(eD(e,l)&&c.isMergeableObject(t[l])?n[l]=rpe(l,c)(e[l],t[l],c):n[l]=Ng(t[l],c))}),n}function r0(e,t,c){c=c||{},c.arrayMerge=c.arrayMerge||ipe,c.isMergeableObject=c.isMergeableObject||epe,c.cloneUnlessOtherwiseSpecified=Ng;var n=Array.isArray(t),l=Array.isArray(e),o=n===l;return o?n?c.arrayMerge(e,t,c):bpe(e,t,c):Ng(t,c)}r0.all=function(t,c){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,l){return r0(n,l,c)},{})};var upe=r0;tD.exports=upe});var Gf=yt((jot,nD)=>{"use strict";nD.exports=function e(t,c){if(t===c)return!0;if(t&&c&&typeof t=="object"&&typeof c=="object"){if(t.constructor!==c.constructor)return!1;var n,l,o;if(Array.isArray(t)){if(n=t.length,n!=c.length)return!1;for(l=n;l--!==0;)if(!e(t[l],c[l]))return!1;return!0}if(t instanceof Map&&c instanceof Map){if(t.size!==c.size)return!1;for(l of t.entries())if(!c.has(l[0]))return!1;for(l of t.entries())if(!e(l[1],c.get(l[0])))return!1;return!0}if(t instanceof Set&&c instanceof Set){if(t.size!==c.size)return!1;for(l of t.entries())if(!c.has(l[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(c)){if(n=t.length,n!=c.length)return!1;for(l=n;l--!==0;)if(t[l]!==c[l])return!1;return!0}if(t.constructor===RegExp)return t.source===c.source&&t.flags===c.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===c.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===c.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(c).length)return!1;for(l=n;l--!==0;)if(!Object.prototype.hasOwnProperty.call(c,o[l]))return!1;for(l=n;l--!==0;){var d=o[l];if(!e(t[d],c[d]))return!1}return!0}return t!==t&&c!==c}});var c7=yt((kat,t7)=>{t7.exports=(function(e){var t={};function c(n){if(t[n])return t[n].exports;var l=t[n]={exports:{},id:n,loaded:!1};return e[n].call(l.exports,l,l.exports,c),l.loaded=!0,l.exports}return c.m=e,c.c=t,c.p="",c(0)})([(function(e,t,c){e.exports=c(1)}),(function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return n.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return n.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return n.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return n.findChunks}})}),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=t.findAll=function(a){var s=a.autoEscape,b=a.caseSensitive,m=b===void 0?!1:b,X=a.findChunks,G=X===void 0?l:X,g=a.sanitize,x=a.searchWords,H=a.textToHighlight;return o({chunksToHighlight:n({chunks:G({autoEscape:s,caseSensitive:m,sanitize:g,searchWords:x,textToHighlight:H})}),totalLength:H?H.length:0})},n=t.combineChunks=function(a){var s=a.chunks;return s=s.sort(function(b,m){return b.start-m.start}).reduce(function(b,m){if(b.length===0)return[m];var X=b.pop();if(m.start<=X.end){var G=Math.max(X.end,m.end);b.push({highlight:!1,start:X.start,end:G})}else b.push(X,m);return b},[]),s},l=function(a){var s=a.autoEscape,b=a.caseSensitive,m=a.sanitize,X=m===void 0?d:m,G=a.searchWords,g=a.textToHighlight;return g=X(g),G.filter(function(x){return x}).reduce(function(x,H){H=X(H),s&&(H=i(H));for(var p=new RegExp(H,b?"g":"gi"),R=void 0;R=p.exec(g);){var I=R.index,f=p.lastIndex;f>I&&x.push({highlight:!1,start:I,end:f}),R.index===p.lastIndex&&p.lastIndex++}return x},[])};t.findChunks=l;var o=t.fillInChunks=function(a){var s=a.chunksToHighlight,b=a.totalLength,m=[],X=function(x,H,p){H-x>0&&m.push({start:x,end:H,highlight:p})};if(s.length===0)X(0,b,!1);else{var G=0;s.forEach(function(g){X(G,g.start,!1),X(g.start,g.end,!0),G=g.end}),X(G,b,!1)}return m};function d(r){return r}function i(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}})])});var Xa=yt((Qst,E7)=>{E7.exports=window.wp.keycodes});var ZC=yt((Rut,C_)=>{C_.exports=window.wp.richText});var Md=yt((Hut,F_)=>{F_.exports=window.wp.a11y});var yy=yt((Iut,fy)=>{var J_={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},Y_=Object.keys(J_).join("|"),mIe=new RegExp(Y_,"g"),XIe=new RegExp(Y_,"");function GIe(e){return J_[e]}var N_=function(e){return e.replace(mIe,GIe)},gIe=function(e){return!!e.match(XIe)};fy.exports=N_;fy.exports.has=gIe;fy.exports.remove=N_});var Jy=yt((qut,ij)=>{ij.exports=window.wp.isShallowEqual});var Vj=yt((kmt,vj)=>{vj.exports=window.wp.privateApis});var mK=yt(uK=>{"use strict";var mW=E(),fhe=iG();function yhe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Whe=typeof Object.is=="function"?Object.is:yhe,hhe=fhe.useSyncExternalStore,Bhe=mW.useRef,vhe=mW.useEffect,Vhe=mW.useMemo,Che=mW.useDebugValue;uK.useSyncExternalStoreWithSelector=function(e,t,c,n,l){var o=Bhe(null);if(o.current===null){var d={hasValue:!1,value:null};o.current=d}else d=o.current;o=Vhe(function(){function r(X){if(!a){if(a=!0,s=X,X=n(X),l!==void 0&&d.hasValue){var G=d.value;if(l(G,X))return b=G}return b=X}if(G=b,Whe(s,X))return G;var g=n(X);return l!==void 0&&l(G,g)?(s=X,G):(s=X,b=g)}var a=!1,s,b,m=c===void 0?null:c;return[function(){return r(t())},m===null?void 0:function(){return r(m())}]},[t,c,n,l]);var i=hhe(e,o[0],o[1]);return vhe(function(){d.hasValue=!0,d.value=i},[i]),Che(i),i}});var GK=yt((bWt,XK)=>{"use strict";XK.exports=mK()});var Yte=yt(a3=>{var Kb=Kb||{};Kb.stringify=(function(){var e={"visit_linear-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-linear-gradient":function(t){return e.visit_gradient(t)},"visit_radial-gradient":function(t){return e.visit_gradient(t)},"visit_repeating-radial-gradient":function(t){return e.visit_gradient(t)},visit_gradient:function(t){var c=e.visit(t.orientation);return c&&(c+=", "),t.type+"("+c+e.visit(t.colorStops)+")"},visit_shape:function(t){var c=t.value,n=e.visit(t.at),l=e.visit(t.style);return l&&(c+=" "+l),n&&(c+=" at "+n),c},"visit_default-radial":function(t){var c="",n=e.visit(t.at);return n&&(c+=n),c},"visit_extent-keyword":function(t){var c=t.value,n=e.visit(t.at);return n&&(c+=" at "+n),c},"visit_position-keyword":function(t){return t.value},visit_position:function(t){return e.visit(t.value.x)+" "+e.visit(t.value.y)},"visit_%":function(t){return t.value+"%"},visit_em:function(t){return t.value+"em"},visit_px:function(t){return t.value+"px"},visit_calc:function(t){return"calc("+t.value+")"},visit_literal:function(t){return e.visit_color(t.value,t)},visit_hex:function(t){return e.visit_color("#"+t.value,t)},visit_rgb:function(t){return e.visit_color("rgb("+t.value.join(", ")+")",t)},visit_rgba:function(t){return e.visit_color("rgba("+t.value.join(", ")+")",t)},visit_hsl:function(t){return e.visit_color("hsl("+t.value[0]+", "+t.value[1]+"%, "+t.value[2]+"%)",t)},visit_hsla:function(t){return e.visit_color("hsla("+t.value[0]+", "+t.value[1]+"%, "+t.value[2]+"%, "+t.value[3]+")",t)},visit_var:function(t){return e.visit_color("var("+t.value+")",t)},visit_color:function(t,c){var n=t,l=e.visit(c.length);return l&&(n+=" "+l),n},visit_angular:function(t){return t.value+"deg"},visit_directional:function(t){return"to "+t.value},visit_array:function(t){var c="",n=t.length;return t.forEach(function(l,o){c+=e.visit(l),o<n-1&&(c+=", ")}),c},visit_object:function(t){return t.width&&t.height?e.visit(t.width)+" "+e.visit(t.height):""},visit:function(t){if(!t)return"";var c="";if(t instanceof Array)return e.visit_array(t);if(typeof t=="object"&&!t.type)return e.visit_object(t);if(t.type){var n=e["visit_"+t.type];if(n)return n(t);throw Error("Missing visitor visit_"+t.type)}else throw Error("Invalid node.")}};return function(t){return e.visit(t)}})();var Kb=Kb||{};Kb.parse=(function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,radianValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))rad/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,varColor:/^var/i,calcValue:/^calc/i,variableName:/^(--[a-zA-Z0-9-,\s\#]+)/,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,hslColor:/^hsl/i,hslaColor:/^hsla/i},t="";function c(U){var O=new Error(t+": "+U);throw O.source=t,O}function n(){var U=l();return t.length>0&&c("Invalid input not EOF"),U}function l(){return R(o)}function o(){return d("linear-gradient",e.linearGradient,r)||d("repeating-linear-gradient",e.repeatingLinearGradient,r)||d("radial-gradient",e.radialGradient,b)||d("repeating-radial-gradient",e.repeatingRadialGradient,b)}function d(U,O,L){return i(O,function(M){var _=L();return _&&(z(e.comma)||c("Missing comma before color stops")),{type:U,orientation:_,colorStops:R(I)}})}function i(U,O){var L=z(U);if(L){z(e.startCall)||c("Missing (");var M=O(L);return z(e.endCall)||c("Missing )"),M}}function r(){var U=a();if(U)return U;var O=Q("position-keyword",e.positionKeywords,1);return O?{type:"directional",value:O.value}:s()}function a(){return Q("directional",e.sideOrCorner,1)}function s(){return Q("angular",e.angleValue,1)||Q("angular",e.radianValue,1)}function b(){var U,O=m(),L;return O&&(U=[],U.push(O),L=t,z(e.comma)&&(O=m(),O?U.push(O):t=L)),U}function m(){var U=X()||G();if(U)U.at=x();else{var O=g();if(O){U=O;var L=x();L&&(U.at=L)}else{var M=x();if(M)U={type:"default-radial",at:M};else{var _=H();_&&(U={type:"default-radial",at:_})}}}return U}function X(){var U=Q("shape",/^(circle)/i,0);return U&&(U.style=A()||g()),U}function G(){var U=Q("shape",/^(ellipse)/i,0);return U&&(U.style=H()||J()||g()),U}function g(){return Q("extent-keyword",e.extentKeywords,1)}function x(){if(Q("position",/^at/,0)){var U=H();return U||c("Missing positioning value"),U}}function H(){var U=p();if(U.x||U.y)return{type:"position",value:U}}function p(){return{x:J(),y:J()}}function R(U){var O=U(),L=[];if(O)for(L.push(O);z(e.comma);)O=U(),O?L.push(O):c("One extra comma");return L}function I(){var U=f();return U||c("Expected color definition"),U.length=J(),U}function f(){return Z()||B()||C()||v()||W()||h()||y()}function y(){return Q("literal",e.literalColor,0)}function Z(){return Q("hex",e.hexColor,1)}function W(){return i(e.rgbColor,function(){return{type:"rgb",value:R(Y)}})}function v(){return i(e.rgbaColor,function(){return{type:"rgba",value:R(Y)}})}function h(){return i(e.varColor,function(){return{type:"var",value:S()}})}function C(){return i(e.hslColor,function(){var U=z(e.percentageValue);U&&c("HSL hue value must be a number in degrees (0-360) or normalized (-360 to 360), not a percentage");var O=Y();z(e.comma);var L=z(e.percentageValue),M=L?L[1]:null;z(e.comma),L=z(e.percentageValue);var _=L?L[1]:null;return(!M||!_)&&c("Expected percentage value for saturation and lightness in HSL"),{type:"hsl",value:[O,M,_]}})}function B(){return i(e.hslaColor,function(){var U=Y();z(e.comma);var O=z(e.percentageValue),L=O?O[1]:null;z(e.comma),O=z(e.percentageValue);var M=O?O[1]:null;z(e.comma);var _=Y();return(!L||!M)&&c("Expected percentage value for saturation and lightness in HSLA"),{type:"hsla",value:[U,L,M,_]}})}function V(){var U=z(e.percentageValue);return U?U[1]:null}function S(){return z(e.variableName)[1]}function Y(){return z(e.number)[1]}function J(){return Q("%",e.percentageValue,1)||k()||N()||A()}function k(){return Q("position-keyword",e.positionKeywords,1)}function N(){return i(e.calcValue,function(){for(var U=1,O=0;U>0&&O<t.length;){var L=t.charAt(O);L==="("?U++:L===")"&&U--,O++}U>0&&c("Missing closing parenthesis in calc() expression");var M=t.substring(0,O-1);return D(O-1),{type:"calc",value:M}})}function A(){return Q("px",e.pixelValue,1)||Q("em",e.emValue,1)}function Q(U,O,L){var M=z(O);if(M)return{type:U,value:M[L]}}function z(U){var O,L;return L=/^[\n\r\t\s]+/.exec(t),L&&D(L[0].length),O=U.exec(t),O&&D(O[0].length),O}function D(U){t=t.substr(U)}return function(U){return t=U.toString().trim(),t.endsWith(";")&&(t=t.slice(0,-1)),n()}})();a3.parse=Kb.parse;a3.stringify=Kb.stringify});var gX=yt((Ykt,Fce)=>{Fce.exports=window.wp.dom});var Yp=yt((Zzt,cne)=>{cne.exports=window.wp.date});var xS=yt((WQt,Ooe)=>{Ooe.exports=window.wp.escapeHtml});var wde=yt((AUt,Sde)=>{Sde.exports=window.wp.htmlEntities});var rie=yt((gEt,fS)=>{function LVe(e,t){var c=t&&t.cache?t.cache:KVe,n=t&&t.serializer?t.serializer:PVe,l=t&&t.strategy?t.strategy:_Ve;return l(e,{cache:c,serializer:n})}function DVe(e){return e==null||typeof e=="number"||typeof e=="boolean"}function die(e,t,c,n){var l=DVe(n)?n:c(n),o=t.get(l);return typeof o>"u"&&(o=e.call(this,n),t.set(l,o)),o}function iie(e,t,c){var n=Array.prototype.slice.call(arguments,3),l=c(n),o=t.get(l);return typeof o>"u"&&(o=e.apply(this,n),t.set(l,o)),o}function ZS(e,t,c,n,l){return c.bind(t,e,n,l)}function _Ve(e,t){var c=e.length===1?die:iie;return ZS(e,this,c,t.cache.create(),t.serializer)}function jVe(e,t){var c=iie;return ZS(e,this,c,t.cache.create(),t.serializer)}function MVe(e,t){var c=die;return ZS(e,this,c,t.cache.create(),t.serializer)}function PVe(){return JSON.stringify(arguments)}function B1(){this.cache=Object.create(null)}B1.prototype.has=function(e){return e in this.cache};B1.prototype.get=function(e){return this.cache[e]};B1.prototype.set=function(e,t){this.cache[e]=t};var KVe={create:function(){return new B1}};fS.exports=LVe;fS.exports.strategies={variadic:jVe,monadic:MVe}});var rae=yt((B7t,iae)=>{iae.exports=window.wp.hooks});var gJe={};Fl(gJe,{AlignmentMatrixControl:()=>L9,AnglePickerControl:()=>Zy,Animate:()=>TD,Autocomplete:()=>kj,BaseControl:()=>at,BlockQuotation:()=>on.BlockQuotation,BorderBoxControl:()=>Z5,BorderControl:()=>td,BoxControl:()=>MF,Button:()=>be,ButtonGroup:()=>v5,Card:()=>S5,CardBody:()=>w5,CardDivider:()=>k5,CardFooter:()=>z5,CardHeader:()=>T5,CardMedia:()=>A5,CheckboxControl:()=>wP,Circle:()=>on.Circle,ClipboardButton:()=>AP,ColorIndicator:()=>qd,ColorPalette:()=>Ca,ColorPicker:()=>ni,ComboboxControl:()=>Wce,Composite:()=>Bn,CustomGradientPicker:()=>GX,CustomSelectControl:()=>Eh,Dashicon:()=>bx,DatePicker:()=>wp,DateTimePicker:()=>Fne,Disabled:()=>Sne,Draggable:()=>Une,DropZone:()=>Dne,DropZoneProvider:()=>jne,Dropdown:()=>$d,DropdownMenu:()=>hr,DuotonePicker:()=>vp,DuotoneSwatch:()=>G3,ExternalLink:()=>qh,Fill:()=>W0,Flex:()=>Mt,FlexBlock:()=>Pn,FlexItem:()=>Cn,FocalPointPicker:()=>hle,FocusReturnProvider:()=>Gae,FocusableIframe:()=>Vle,FontSizePicker:()=>Dle,FormFileUpload:()=>jle,FormToggle:()=>n1,FormTokenField:()=>o1,G:()=>on.G,GradientPicker:()=>Ch,Guide:()=>doe,GuidePage:()=>soe,HorizontalRule:()=>on.HorizontalRule,Icon:()=>Ot,IconButton:()=>Xoe,IsolatedEventContainer:()=>$re,KeyboardShortcuts:()=>goe,Line:()=>on.Line,MenuGroup:()=>_p,MenuItem:()=>Vr,MenuItemsChoice:()=>Ioe,Modal:()=>pX,NavigableMenu:()=>Tp,Navigator:()=>ude,Notice:()=>m1,NoticeList:()=>X1,Panel:()=>Rde,PanelBody:()=>Ide,PanelHeader:()=>g1,PanelRow:()=>Wde,Path:()=>on.Path,Placeholder:()=>Vde,Polygon:()=>on.Polygon,Popover:()=>Za,ProgressBar:()=>Nde,QueryControls:()=>Dde,RadioControl:()=>lie,RangeControl:()=>Al,Rect:()=>on.Rect,ResizableBox:()=>yie,ResponsiveWrapper:()=>hie,SVG:()=>on.SVG,SandBox:()=>vie,ScrollLock:()=>Cy,SearchControl:()=>Jie,SelectControl:()=>ei,Slot:()=>h0,SlotFillProvider:()=>NC,Snackbar:()=>T1,SnackbarList:()=>kie,Spinner:()=>Th,TabPanel:()=>Qie,TabbableContainer:()=>cS,TextControl:()=>Lie,TextHighlight:()=>Kie,TextareaControl:()=>O1,TimePicker:()=>zp,Tip:()=>qie,ToggleControl:()=>tre,Toolbar:()=>DS,ToolbarButton:()=>cR,ToolbarDropdownMenu:()=>_S,ToolbarGroup:()=>lR,ToolbarItem:()=>Yr,Tooltip:()=>Hl,TreeSelect:()=>NX,VisuallyHidden:()=>bt,__experimentalAlignmentMatrixControl:()=>L9,__experimentalBorderBoxControl:()=>Z5,__experimentalBorderControl:()=>td,__experimentalBoxControl:()=>MF,__experimentalConfirmDialog:()=>w3,__experimentalDivider:()=>Tne,__experimentalDropdownContentWrapper:()=>ir,__experimentalElevation:()=>dle,__experimentalGrid:()=>cd,__experimentalHStack:()=>xt,__experimentalHasSplitBorders:()=>Fb,__experimentalHeading:()=>Ol,__experimentalInputControl:()=>_d,__experimentalInputControlPrefixWrapper:()=>Ha,__experimentalInputControlSuffixWrapper:()=>I0,__experimentalIsDefinedBorder:()=>SF,__experimentalIsEmptyBorder:()=>di,__experimentalItem:()=>mX,__experimentalItemGroup:()=>XX,__experimentalNavigatorBackButton:()=>sde,__experimentalNavigatorButton:()=>ade,__experimentalNavigatorProvider:()=>ide,__experimentalNavigatorScreen:()=>rde,__experimentalNavigatorToParentButton:()=>bde,__experimentalNumberControl:()=>$n,__experimentalPaletteEdit:()=>mce,__experimentalParseQuantityAndUnitFromRawValue:()=>Yc,__experimentalRadio:()=>Mde,__experimentalRadioGroup:()=>$de,__experimentalScrollable:()=>Tie,__experimentalSpacer:()=>Pc,__experimentalStyleProvider:()=>y0,__experimentalSurface:()=>tJ,__experimentalText:()=>Kn,__experimentalToggleGroupControl:()=>Kd,__experimentalToggleGroupControlOption:()=>cr,__experimentalToggleGroupControlOptionIcon:()=>N0,__experimentalToolbarContext:()=>rl,__experimentalToolsPanel:()=>q1,__experimentalToolsPanelContext:()=>Xu,__experimentalToolsPanelItem:()=>$1,__experimentalTreeGrid:()=>Mre,__experimentalTreeGridCell:()=>bw,__experimentalTreeGridItem:()=>aR,__experimentalTreeGridRow:()=>sw,__experimentalTruncate:()=>Pi,__experimentalUnitControl:()=>oi,__experimentalUseCustomUnits:()=>Vx,__experimentalUseNavigator:()=>ss,__experimentalUseSlot:()=>xx,__experimentalUseSlotFills:()=>YC,__experimentalVStack:()=>Nt,__experimentalView:()=>Ce,__experimentalZStack:()=>gw,__unstableAnimatePresence:()=>sm,__unstableComposite:()=>C3,__unstableCompositeGroup:()=>vce,__unstableCompositeItem:()=>Vce,__unstableDisclosureContent:()=>M3,__unstableGetAnimateClassName:()=>D9,__unstableMotion:()=>oa,__unstableUseAutocompleteProps:()=>wj,__unstableUseCompositeState:()=>Cce,__unstableUseNavigateRegions:()=>Rw,createSlotFill:()=>Xj,navigateRegions:()=>nae,privateApis:()=>Sw,useBaseControlProps:()=>Xb,useNavigator:()=>ss,withConstrainedTabbing:()=>lae,withFallbackStyles:()=>dae,withFilters:()=>bae,withFocusOutside:()=>zh,withFocusReturn:()=>Xae,withNotices:()=>xae,withSpokenMessages:()=>Rae});var on=u(rt(),1);function Qw(e){var t,c,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(c=Qw(e[t]))&&(n&&(n+=" "),n+=c)}else for(c in e)e[c]&&(n&&(n+=" "),n+=c);return n}function Fse(){for(var e,t,c=0,n="",l=arguments.length;c<l;c++)(e=arguments[c])&&(t=Qw(e))&&(n&&(n+=" "),n+=t);return n}var w=Fse;var Zf=u(Ze(),1),ND=u(me(),1),SD=u(T(),1);function vc(e){let{render:t,type:c}=e;return t||c!==void 0?e:{...e,type:"button"}}var _w=u(E(),1),xR=(0,_w.createContext)(!0);function pR(e){return Array.isArray(e)?e:typeof e<"u"?[e]:[]}function RR(e){let t=[];for(let c of e)t.push(...c);return t}function HR(e){return e.slice().reverse()}function xs(...e){}function qw(e,t){if(e===t)return!0;if(!e||!t||typeof e!="object"||typeof t!="object")return!1;let c=Object.keys(e),n=Object.keys(t),{length:l}=c;if(n.length!==l)return!1;for(let o of c)if(e[o]!==t[o])return!1;return!0}function fu(e,t){return Jse(e)?e(Yse(t)?t():t):e}function Jse(e){return typeof e=="function"}function Yse(e){return typeof e=="function"}function In(e,t){return typeof Object.hasOwn=="function"?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t)}function It(...e){return(...t)=>{for(let c of e)typeof c=="function"&&c(...t)}}function $w(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function ek(e,t){let c={...e};for(let n of t)In(c,n)&&delete c[n];return c}function tk(e,t){let c={};for(let n of t)In(e,n)&&(c[n]=e[n]);return c}function IR(e){return e}function ck(e=xs){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)}function ke(e,t){if(!e)throw typeof t!="string"?new Error("Invariant failed"):new Error(t)}function AB(e){return Object.keys(e)}function fi(e,...t){let c=typeof e=="function"?e(...t):e;return c==null?!1:!c}function bc(e){return e.disabled||e["aria-disabled"]===!0||e["aria-disabled"]==="true"}function ZR(e){return e.getAttribute("aria-disabled")==="true"||"disabled"in e&&e.disabled===!0}function co(e){let t={};for(let c in e)In(e,c)&&c!=="__proto__"&&e[c]!==void 0&&(t[c]=e[c]);return t}function Je(...e){for(let t of e)if(t!==void 0)return t}var yi=Nse();function Nse(){return typeof window<"u"&&!!window.document?.createElement}function nk(e,t){let c=e;for(;c;){let n=Object.getOwnPropertyDescriptor(c,t);if(n?.get)return n.get;c=Object.getPrototypeOf(c)}}var jw=yi?nk(Object.getPrototypeOf(window.document),"nodeType"):void 0,Mw=yi?nk(Object.getPrototypeOf(window.document),"activeElement"):void 0;function TB(e){return e?e.window===e:!1}function Pw(e){if(!e)return!1;if(!jw)return e.nodeType===9;try{return jw.call(e)===9}catch{return!1}}function Sse(e,t){try{return e.document===t}catch{return!1}}function nt(e){if(!e)return document;if(Pw(e))return e;if(TB(e))return e.document;let t=e.ownerDocument;return Pw(t)?t:document}function Zn(e){if(!e)return self;if(TB(e))return e;let t=nt(e),{defaultView:c}=t;return TB(c)&&Sse(c,t)?c:window}function Rc(e,{frame:t=!0,activeDescendant:c=!1}={}){let n=nt(e),l=Mw?Mw.call(n):n.activeElement;if(!l?.nodeName)return null;if(t&&KX(l)&&l.contentDocument?.body)return Rc(l.contentDocument.body,{frame:t,activeDescendant:c});if(c){let o=l.getAttribute("aria-activedescendant");if(o){let d=nt(l).getElementById(o);if(d)return d}}return l}function Ct(e,t){return e===t||e.contains(t)}function Tc(e){return e?.nodeType===1}function qX(e){return typeof e?.nodeType=="number"}function KX(e){return e.tagName==="IFRAME"}function Jo(e){let t=e.tagName.toLowerCase();return t==="button"?!0:t==="input"&&e.type?wse.indexOf(e.type)!==-1:!1}var wse=["button","color","file","image","reset","submit"];function fR(e){if(typeof e.checkVisibility=="function")return e.checkVisibility();let t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}function On(e){try{return e.tagName==="TEXTAREA"?!0:e.tagName!=="INPUT"?!1:e.selectionStart!==null}catch{return!1}}function yR(e){return e.isContentEditable||On(e)}function lk(e){if(On(e))return e.value;if(e.isContentEditable){let t=nt(e).createRange();return t.selectNodeContents(e),t.toString()}return""}function ok(e){let t=0,c=0;if(On(e))t=e.selectionStart||0,c=e.selectionEnd||0;else if(e.isContentEditable){let n=nt(e).getSelection();if(n?.rangeCount&&n.anchorNode&&Ct(e,n.anchorNode)&&n.focusNode&&Ct(e,n.focusNode)){let l=n.getRangeAt(0),o=l.cloneRange();o.selectNodeContents(e),o.setEnd(l.startContainer,l.startOffset),t=o.toString().length,o.setEnd(l.endContainer,l.endOffset),c=o.toString().length}}return{start:t,end:c}}var kse=["dialog","menu","listbox","tree","grid"],Kw={menu:"menuitem",listbox:"option",tree:"treeitem"};function ps(e,t){let c=e?.getAttribute("role");return c&&kse.indexOf(c)!==-1?c:t}function zse(e){if(e!=null&&In(Kw,e))return Kw[e]}function yu(e,t){let c=ps(e);return typeof c!="string"?t:zse(c)??t}function OB(e){if(!e)return null;let t=n=>n==="auto"||n==="scroll";if(e.clientHeight&&e.scrollHeight>e.clientHeight){let{overflowY:n}=getComputedStyle(e);if(t(n))return e}else if(e.clientWidth&&e.scrollWidth>e.clientWidth){let{overflowX:n}=getComputedStyle(e);if(t(n))return e}let c=nt(e);return OB(e.parentElement)||c.scrollingElement||c.body}function dk(e,t){let c=e.map((l,o)=>[o,l]),n=!1;return c.sort(([l,o],[d,i])=>{let r=t(o),a=t(i);return r===a||!r||!a?0:Tse(r,a)?(l>d&&(n=!0),-1):(l<d&&(n=!0),1)}),n?c.map(([l,o])=>o):e}function Tse(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Ase(){return yi&&!!navigator.maxTouchPoints}function WR(){return yi?/mac|iphone|ipad|ipod/i.test(navigator.platform):!1}function hR(){return yi&&WR()&&/apple/i.test(navigator.vendor)}function ik(){return yi&&/firefox\//i.test(navigator.userAgent)}function rk(){return yi&&navigator.platform.startsWith("Mac")&&!Ase()}function ak(e){let{currentTarget:t,target:c}=e;return t?qX(c)?!Ct(t,c):!0:!1}function uc(e){return e.target===e.currentTarget}function sk(e){if(!Tc(e))return!1;let t=e,c=t.tagName.toLowerCase();return c==="a"||c==="button"&&t.type==="submit"||c==="input"&&t.type==="submit"}function BR(e){let t=WR();return t&&!e.metaKey||!t&&!e.ctrlKey?!1:sk(e.currentTarget)}function vR(e){return e.altKey?sk(e.currentTarget):!1}function bk(e,t,c){let{Event:n}=Zn(e),l=new n(t,c);return e.dispatchEvent(l)}function Rs(e,t){let{FocusEvent:c}=Zn(e),n=new c("blur",t),l=e.dispatchEvent(n),o={...t,bubbles:!0};return e.dispatchEvent(new c("focusout",o)),l}function uk(e,t,c){let{KeyboardEvent:n}=Zn(e),l=new n(t,c);return e.dispatchEvent(l)}var Ose={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 Qse(e,t){let c=t??{};return new Proxy({},{get(n,l){if(l==="view")return e;if(l==="composed")return!0;if(l==="pointerId")return c.pointerId??-1;if(l==="pointerType")return c.pointerType??"";if(!In(Ose,l))return Reflect.get(c,l)}})}function QB(e,t){let c=Zn(e),n=new(c.PointerEvent??c.MouseEvent)("click",Qse(c,t));return e.dispatchEvent(n)}function Id(e,t){let c=t||e.currentTarget,n=e.relatedTarget;return!qX(n)||!Ct(c,n)}function Hs(e,t,c,n){let o=(i=>{if(n){let a=setTimeout(i,n);return()=>clearTimeout(a)}let r=requestAnimationFrame(i);return()=>cancelAnimationFrame(r)})(()=>{e.removeEventListener(t,d,!0),c()}),d=()=>{o(),c()};return e.addEventListener(t,d,{once:!0,capture:!0}),()=>{o(),e.removeEventListener(t,d,!0)}}function Kt(e,t,c,n=window){let l=[];try{n.document.addEventListener(e,t,c);for(let d of Array.from(n.frames))l.push(Kt(e,t,c,d))}catch{}return()=>{try{n.document.removeEventListener(e,t,c)}catch{}for(let d of l)d()}}var VR="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 Use(e){return Number.parseInt(e.getAttribute("tabindex")||"0",10)<0}function Ac(e){return!(!e.matches(VR)||!fR(e)||e.closest("[inert]"))}function Iu(e){if(!Ac(e)||Use(e))return!1;if(!("form"in e)||!e.form||e.checked||e.type!=="radio")return!0;let t=e.form.elements.namedItem(e.name);if(!t||!("length"in t))return!0;let c=Rc(e);return!c||c===e||!("form"in c)||c.form!==e.form||!("name"in c)||c.name!==e.name}function CR(e,t){let c=Array.from(e.querySelectorAll(VR));t&&c.unshift(e);let n=c.filter(Ac);return n.forEach((l,o)=>{if(!KX(l))return;let d=l.contentDocument?.body;d&&n.splice(o,1,...CR(d))}),n}function Ese(e,t){let[c]=CR(e,t);return c||null}function FR(e,t,c){let n=Array.from(e.querySelectorAll(VR)).filter(Iu);return t&&Iu(e)&&n.unshift(e),n.forEach((l,o)=>{if(!KX(l))return;let d=l.contentDocument?.body;if(!d)return;let i=FR(d,!1,c);n.splice(o,1,...i)}),!n.length&&c?CR(e):n}function Zu(e,t,c){if(t&&Iu(e)){if(!KX(e))return e;let l=e.contentDocument?.body;if(!l)return e;let o=Zu(l,!1,c);if(o)return o}let n=e.querySelectorAll(VR);for(let l of n)if(Iu(l)){if(KX(l)){let o=l.contentDocument?.body;if(!o)return l;let d=Zu(o,!1,c);if(d)return d;continue}return l}return c?Ese(e):null}function mk({container:e,includeContainer:t,reverse:c,fallbackToEdge:n,fallbackToFocusable:l}){let o=Rc(e),d=CR(e,t);c&&d.reverse();let i=d.indexOf(o),r=d.slice(i+1);return r.find(Iu)||(n?d.find(Iu):null)||(l?r[0]:null)||null}function Lse(e,t,c,n){return mk({container:e,includeContainer:t,fallbackToEdge:c,fallbackToFocusable:n})}function JR(e,t){return Lse(document.body,!1,e,t)}function Dse(e,t,c,n){return mk({container:e,includeContainer:t,reverse:!0,fallbackToEdge:c,fallbackToFocusable:n})}function UB(e,t){return Dse(document.body,!1,e,t)}function Is(e){let t=Rc(e);if(!t)return!1;if(t===e)return!0;let c=t.getAttribute("aria-activedescendant");return c?c===e.id:!1}function no(e){let t=Rc(e);if(!t)return!1;if(Ct(e,t))return!0;let c=t.getAttribute("aria-activedescendant");return!c||!("id"in e)?!1:c===e.id?!0:!!e.querySelector(`#${CSS.escape(c)}`)}function _se(e){let t=e.getAttribute("tabindex")??"";e.setAttribute("data-tabindex",t),e.setAttribute("tabindex","-1")}function Xk(e,t){let c=FR(e,t);for(let n of c)_se(n)}function Gk(e){let t=e.querySelectorAll("[data-tabindex]"),c=n=>{let l=n.getAttribute("data-tabindex");n.removeAttribute("data-tabindex"),l?n.setAttribute("tabindex",l):n.removeAttribute("tabindex")};e.hasAttribute("data-tabindex")&&c(e);for(let n of t)c(n)}function gk(e){return async()=>{let t=await e?.();return gk(async()=>(await t?.(),e))}}var hJe=jse();function jse({limit:e=100}={}){let t=[],c=[],n=null,l=()=>t.length>0,o=()=>c.length>0;return{canUndo:l,canRedo:o,undo:async()=>{l()&&(n=null,c.push(await t.pop()?.()))},redo:async()=>{o()&&(n=null,t.push(await c.pop()?.()))},execute:async(a,s)=>{if(!a)return;let b=s===n;n=s??null;let m=b?Math.max(0,t.length-1):t.length,X=await a();if(!X)return;c=[];let G=t[m];for(t[m]=gk(async()=>{await X?.();let g=await G?.();return async()=>{await g?.(),await a?.()}});t.length>e;)t.shift()}}}var fn=u(E(),1),zt=u(E(),1),Zs=u(F(),1);function $X(e,t){if(typeof e=="function"){let c=e(t);if(typeof c=="function")return c}else e&&(e.current=t)}function Mse(e){return!e||!(0,zt.isValidElement)(e)?!1:"ref"in e.props||"ref"in e}function Pse(e){return Mse(e)?{...e.props}.ref||e.ref:null}function Kse(e,t){let c={...e};for(let n in t){if(!In(t,n)||n==="__proto__")continue;if(n==="className"){let o="className",d=e[o],i=t[o];d&&i?c[o]=`${d} ${i}`:c[o]=i||d;continue}if(n==="style"){let o="style";c[o]=e[o]?{...e[o],...t[o]}:t[o];continue}let l=t[n];if(l!==void 0){if(n.startsWith("on")){if(typeof l!="function")continue;let o=e[n];if(typeof o=="function"){c[n]=(...d)=>{l(...d),o(...d)};continue}}c[n]=l}}return c}var EB={...fn},Ik=EB.useId,CJe=EB.useDeferredValue,qse=EB.useInsertionEffect??(e=>e()),Ue=yi?zt.useLayoutEffect:zt.useEffect;function eG(e){let[t]=(0,zt.useState)(e);return t}function Wu(e){let t=(0,zt.useRef)(e);return Ue(()=>{t.current=e}),t}function ge(e){let t=(0,zt.useRef)(()=>{throw new Error("Cannot call an event handler while rendering.")});return qse(()=>{t.current=e}),(0,zt.useCallback)((...c)=>t.current?.(...c),[])}function NR(e){let[t,c]=(0,zt.useState)(null);return Ue(()=>{if(t==null||!e)return;let n=null;return e(l=>(n=l,t)),()=>{e(n)}},[t,e]),[t,c]}function Me(...e){return(0,zt.useMemo)(()=>{if(e.some(Boolean))return t=>{let c=[];for(let n of e){if(!n)continue;let l=$X(n,t);c.push({ref:n,cleanup:typeof l=="function"?l:void 0})}if(c.some(n=>n.cleanup))return()=>{for(let{ref:n,cleanup:l}of c)l?l():$X(n,null)}}},e)}function $se(e){let[t,c]=(0,zt.useState)(e);return Ue(()=>{if(e||t)return;let n=Math.random().toString(36).slice(2,8);c(`id-${n}`)},[e,t]),e||t}function ebe(e){let t=Ik();return e||t}var tbe=Ik?ebe:$se;function Ft(e){return tbe(e)}function hu(e,t){let c=o=>{if(typeof o=="string")return o},[n,l]=(0,zt.useState)(()=>c(t));return Ue(()=>{let o=e&&"current"in e?e.current:e;l(o?.tagName.toLowerCase()||c(t))},[e,t]),n}function Bu(e,t,c){let n=eG(c),[l,o]=(0,zt.useState)(n);return(0,zt.useEffect)(()=>{let d=e&&"current"in e?e.current:e;if(!d)return;let i=()=>{let a=d.getAttribute(t);o(a??n)},r=new MutationObserver(i);return r.observe(d,{attributeFilter:[t]}),i(),()=>r.disconnect()},[e,t,n]),l}function Qn(e,t){let c=(0,zt.useRef)(!1);(0,zt.useEffect)(()=>{if(c.current)return e();c.current=!0},t),(0,zt.useEffect)(()=>()=>{c.current=!1},[])}function vu(){return(0,zt.useReducer)(()=>[],[])}function Wt(e){return ge(typeof e=="function"?e:()=>e)}function Le(e,t,c=[]){let n=(0,zt.useCallback)(l=>(e.wrapElement&&(l=e.wrapElement(l)),t(l)),[...c,e.wrapElement]);return{...e,wrapElement:n}}function Vu(e=!1,t){let[c,n]=(0,zt.useState)(null);return{portalRef:Me(n,t),portalNode:c,domReady:!e||c}}function Cu(e,t,c){let n=e.onLoadedMetadataCapture,l=(0,zt.useMemo)(()=>Object.assign(()=>{},n,...c!==void 0?[{[t]:c}]:[]),[n,t,c]);return[n?.[t],{onLoadedMetadataCapture:l}]}var pk=!1;function Fu(){return(0,zt.useEffect)(()=>{pk||(Kt("mousemove",nbe,!0),Kt("mousedown",YR,!0),Kt("mouseup",YR,!0),Kt("keydown",YR,!0),Kt("scroll",YR,!0),pk=!0)},[]),ge(()=>LB)}var LB=!1,Rk=0,Hk=0;function cbe(e){let t=e.movementX||e.screenX-Rk,c=e.movementY||e.screenY-Hk;return Rk=e.screenX,Hk=e.screenY,t||c||!1}function nbe(e){cbe(e)&&(LB=!0)}function YR(){LB=!1}function te(e){let t=fn.forwardRef((c,n)=>e(co({...c,ref:n})));return t.displayName=e.displayName||e.name,t}function mc(e,t){return fn.memo(e,t)}function ne(e,t){let{wrapElement:c,render:n,...l}=t,o=Me(t.ref,Pse(n)),d;if(fn.isValidElement(n)){let i={...n.props,ref:o};d=fn.cloneElement(n,Kse(l,i))}else n?d=n(l):d=(0,Zs.jsx)(e,{...l});return c?c(d):d}function ce(e){let t=(c={})=>e(c);return t.displayName=e.name,t}function Jt(e=[],t=[]){let c=fn.createContext(void 0),n=fn.createContext(void 0),l=()=>fn.useContext(c),o=(a=!1)=>{let s=fn.useContext(n),b=l();return a?s:s||b},d=()=>{let a=fn.useContext(n),s=l();if(!(a&&a===s))return s},i=a=>e.reduceRight((s,b)=>(0,Zs.jsx)(b,{...a,children:s}),(0,Zs.jsx)(c.Provider,{...a}));return{context:c,scopedContext:n,useContext:l,useScopedContext:o,useProviderContext:d,ContextProvider:i,ScopedContextProvider:a=>(0,Zs.jsx)(i,{...a,children:t.reduceRight((s,b)=>(0,Zs.jsx)(b,{...a,children:s}),(0,Zs.jsx)(n.Provider,{...a}))})}}var _c=u(E(),1),yk=Symbol("accessibleWhenDisabled");function Wk(e){return e.accessibleWhenDisabled??e.onLoadedMetadataCapture?.[yk]}var DB="data-truly-disabled";function hk(e){return e.getAttribute(DB)==="true"}function Bk(e){let t=e.getAttribute(DB);if(t==="true")return!0;if(t==="false")return!1}function vk(e){return e==="ArrowUp"||e==="ArrowRight"||e==="ArrowDown"||e==="ArrowLeft"||e==="Home"||e==="End"||e==="PageUp"||e==="PageDown"}var lbe="div",Vk=hR(),Ck=1,Fk=2,Zk=3,obe=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"];function dbe(e){let{tagName:t,readOnly:c,type:n}=e;return t==="TEXTAREA"&&!c||t==="SELECT"&&!c?!0:t==="INPUT"&&!c?obe.includes(n):!!(e.isContentEditable||e.getAttribute("role")==="combobox"&&e.dataset.name)}function ibe(e){return e?e==="button"||e==="summary"||e==="input"||e==="select"||e==="textarea"||e==="a":!0}function rbe(e){return e?e==="button"||e==="input"||e==="select"||e==="textarea":!0}function abe(e){let t=0;return ibe(e)&&(t|=Ck),rbe(e)&&(t|=Fk),t}function sbe(e){if(e.tagName==="BUTTON"){let{type:t}=e;return t==="submit"}if(e.tagName==="INPUT"){let{type:t}=e;return t==="submit"||t==="image"}return!1}function bbe({focusable:e,trulyDisabled:t,nativeTabbable:c,supportsDisabled:n,safariTabIndex:l,tabIndexProp:o}){return e?t?c&&!n?-1:void 0:c?l&&o==null?0:o:o??0:o}function SR(e,t){return ge(c=>{e?.(c),!c.defaultPrevented&&t&&(c.stopPropagation(),c.preventDefault())})}var fk=!1,wR=!0;function ube(e){let t=e.target;Tc(t)&&!t.hasAttribute("data-focus-visible")&&(wR=!1)}function mbe(e){if(vk(e.key)){wR=!0;return}e.metaKey||e.ctrlKey||e.altKey&&(!Vk||e.key!=="Tab")||(wR=!0)}var Yo=ce(function({focusable:t=!0,accessibleWhenDisabled:c,autoFocus:n,onFocusVisible:l,...o}){let d=(0,_c.useRef)(null),[i,r]=Cu(o,yk,c);c??=i,(0,_c.useEffect)(()=>{t&&(fk||(Kt("mousedown",ube,!0),Kt("keydown",mbe,!0),fk=!0))},[t]);let a=t&&bc(o),s=a&&!c,[b,m]=(0,_c.useState)(!1),X=(0,_c.useRef)(!1),G=(0,_c.useRef)(null),g=ge(z=>{G.current?.(),G.current=null,X.current=!1,z?.removeAttribute("data-focus-visible")});(0,_c.useEffect)(()=>{t&&!s||(g(d.current),b&&m(!1))},[t,s,b,g]),(0,_c.useEffect)(()=>{if(!t||!b)return;let z=d.current;if(!z||typeof IntersectionObserver>"u")return;let D=new IntersectionObserver(()=>{Ac(z)||(X.current=!1,m(!1))});return D.observe(z),()=>D.disconnect()},[t,b]),(0,_c.useEffect)(()=>()=>G.current?.(),[]);let x=SR(o.onKeyPressCapture,a),H=SR(o.onMouseDownCapture,a),p=SR(o.onClickCapture,a),R=SR(o.onAuxClickCapture,a),I=(z,D)=>{if(D&&(z.currentTarget=D),!t)return;let U=z.currentTarget;if(U&&Is(U)&&(l?.(z),!z.defaultPrevented)){if(U.dataset.focusVisible="true",X.current=!0,sbe(U)){if(G.current?.(),G.current=null,typeof IntersectionObserver<"u"){let O=new IntersectionObserver(()=>{Ac(U)||g(U)});O.observe(U),G.current=()=>O.disconnect()}return}m(!0)}},f=o.onKeyDownCapture,y=ge(z=>{if(f?.(z),z.defaultPrevented||!t||b||X.current||(z.metaKey||z.altKey||z.ctrlKey)&&!vk(z.key)||!uc(z))return;let D=z.currentTarget;Hs(D,"focusout",()=>I(z,D))}),Z=o.onFocusCapture,W=ge(z=>{if(Z?.(z),z.defaultPrevented||!t)return;if(!uc(z)){m(!1);return}let D=z.currentTarget,U=()=>I(z,D);wR||dbe(z.target)?Hs(z.target,"focusout",U):m(!1)}),v=o.onBlur,h=ge(z=>{v?.(z),t&&Id(z)&&(g(z.currentTarget),m(!1))}),C=(0,_c.useContext)(xR),B=ge(z=>{t&&n&&z&&C&&queueMicrotask(()=>{Is(z)||Ac(z)&&z.focus()})}),[V,S]=(0,_c.useState)(Zk);Ue(()=>{let z=d.current;if(!z)return;let D=abe(z.tagName.toLowerCase());D!==Zk&&S(D)},[]);let Y=t&&!!(V&Ck),J=t&&!!(V&Fk),[k,N]=(0,_c.useState)(!1);Vk&&(0,_c.useEffect)(()=>{if(!t)return;let z=d.current;if(!z)return;let{type:D}=z,U=z.tagName==="INPUT"&&(D==="checkbox"||D==="radio");N(Jo(z)||U)},[t]);let A=o.style,Q=(0,_c.useMemo)(()=>s?{pointerEvents:"none",...A}:A,[s,A]);return o={"data-focus-visible":t&&b||void 0,"data-autofocus":n||void 0,"aria-disabled":a||void 0,...o,...r,ref:Me(d,B,o.ref),style:Q,tabIndex:bbe({focusable:t,trulyDisabled:s,nativeTabbable:Y,supportsDisabled:J,safariTabIndex:k,tabIndexProp:o.tabIndex}),disabled:J&&s?!0:void 0,[DB]:a?s:void 0,contentEditable:a?void 0:o.contentEditable,onKeyPressCapture:x,onClickCapture:p,onAuxClickCapture:R,onMouseDownCapture:H,onKeyDownCapture:y,onFocusCapture:W,onBlur:h},co(o)}),SJe=te(function(t){let c=Yo(t);return ne(lbe,c)});var zr=u(E(),1),Xbe="button";function Jk(e){if(!e.isTrusted)return!1;let t=e.currentTarget;return e.key==="Enter"?Jo(t)||t.tagName==="SUMMARY"||t.tagName==="A":e.key===" "?Jo(t)||t.tagName==="SUMMARY"||t.tagName==="INPUT"||t.tagName==="SELECT":!1}var Gbe=Symbol("command"),fs=ce(function({clickOnEnter:t=!0,clickOnSpace:c=!0,...n}){let l=(0,zr.useRef)(null),[o,d]=(0,zr.useState)(!1),i=n.type;(0,zr.useEffect)(()=>{let I=l.current;if(!I)return;let f=Jo(I);i!==void 0&&f&&I.type==="button"||d(f)},[i]);let[r,a]=(0,zr.useState)(!1),s=(0,zr.useRef)(!1),b=bc(n),[m,X]=Cu(n,Gbe,!0);Ue(()=>{b&&(s.current=!1,a(!1))},[b]);let G=n.onKeyDown,g=ge(I=>{G?.(I);let f=I.currentTarget;if(I.defaultPrevented||m||b||!uc(I)||On(f)||f.isContentEditable)return;let y=t&&I.key==="Enter",Z=c&&I.key===" ",W=I.key==="Enter"&&!t,v=I.key===" "&&!c;if(W||v){I.preventDefault();return}if(y||Z){let h=Jk(I);if(y){if(!h){I.preventDefault();let{view:C,...B}=I,V=()=>QB(f,B);ik()?Hs(f,"keyup",V):queueMicrotask(V)}}else Z&&(s.current=!0,h||(I.preventDefault(),a(!0)))}}),x=n.onKeyUp,H=ge(I=>{if(x?.(I),m)return;let f=c&&I.key===" ";if(!s.current||!f)return;let y=Jk(I);if(s.current=!1,y||a(!1),I.defaultPrevented||!uc(I)||b||I.metaKey||y)return;I.preventDefault();let Z=I.currentTarget,{view:W,...v}=I;queueMicrotask(()=>QB(Z,v))}),p=n.onBlur,R=ge(I=>{p?.(I),s.current&&(s.current=!1,a(!1))});return n={"data-active":r||void 0,type:o?"button":void 0,...X,...n,ref:Me(l,n.ref),onKeyDown:g,onKeyUp:H,onBlur:R},n=Yo(n),n}),OJe=te(function(t){let c=fs(vc(t));return ne(Xbe,c)});var tG=Jt(),Yk=tG.useContext,EJe=tG.useScopedContext,LJe=tG.useProviderContext,Nk=tG.ContextProvider,Sk=tG.ScopedContextProvider;var kR=u(E(),1),gbe="div",cG=ce(function({store:t,shouldRegisterItem:c=!0,getItem:n=IR,element:l,...o}){let d=Yk();t=t||d;let i=Ft(o.id),r=(0,kR.useRef)(l);return(0,kR.useEffect)(()=>{let a=r.current;if(!i||!a||!c)return;let s=n({id:i,element:a});return t?.renderItem(s)},[i,c,n,t]),o={...o,ref:Me(r,o.ref)},o}),PJe=te(function(t){let c=cG(t);return ne(gbe,c)});var _B=u(E(),1),nG=Jt([Nk],[Sk]),xbe=nG.useContext,Zd=nG.useScopedContext,wk=nG.useProviderContext,bl=nG.ContextProvider,yn=nG.ScopedContextProvider,kk=(0,_B.createContext)(void 0),zR=(0,_B.createContext)(void 0);var Ju=u(E(),1);function ys(e,t){let c=e.__unstableInternals;return ke(c,"Invalid store"),c[t]}function Tk(e,t){if(!e)return!0;for(let c of e)if(t instanceof Set){if(t.has(c))return!0}else if(lG(c,t))return!0;return!1}function lG(e,t){return e===t||e!==e&&t!==t}function Ak(e,t,c,n){let l;for(let o of AB(t))lG(t[o],c[o])||n!==void 0&&Tk([o],n)||(l??={...e},l[o]=t[o]);return l}var pbe=100;function Rbe(e,t,c){if(t)for(let n of t){let l=e.get(n);l||(l=new Set,e.set(n,l)),l.add(c)}}function Hbe(e,t,c){if(e&&t)for(let n of t){let l=e.get(n);l&&(l.delete(c),l.size||e.delete(n))}}function Ok(e){let t=new Set,c=e.currentListener;if(!c)return t;for(let n of e.keyedListeners)if(t.add(n),n===c)return t;return t.clear(),t.add(c),t}function TR(e){e.notifiedListeners??=Ok(e)}function MB(e,t){if(!e.currentListener)return!1;let c=!1;for(let l of e.keyedListeners){if(l===e.currentListener){c=!0;continue}if(c&&l===t)return!1}let n=!1;for(let l of e.group.listeners){if(l===e.currentListener)return n;l===t&&(n=!0)}return!1}function jB(e,t,c){for(let n of e)if(n.group===t&&!n.recovering&&!(c&&!n.keyedListeners.has(c))){TR(n);for(let l of n.group.listeners){if(l===n.currentListener)break;MB(n,l)&&n.notifiedListeners?.add(l)}}}function Ibe(e,t,c){for(let n of e)n.group===t&&(n.recovering||MB(n,c)&&(TR(n),n.notifiedListeners?.add(c)))}function Zbe({fastPathFrames:e,group:t,keys:c,listener:n}){let l=t.listeners.has(n);for(let o of e)o.group===t&&(o.recovering||c.includes(o.updatedKey)&&(MB(o,n)?(TR(o),o.notifiedListeners?.add(n)):l&&(TR(o),o.recoverToLive=!0)))}function fbe(e,t,c){for(let n of e)n.group===t&&n.notifiedListeners?.delete(c)}function ybe({fastPathFrames:e,group:t,keys:c,listener:n}){for(let l of e)l.group===t&&(l.recovering||c.includes(l.updatedKey)&&l.keyedListeners.add(n))}function Wbe(e,t){if(!e.disposables.size)return;let c=e.disposables.get(t);c&&(e.disposables.delete(t),c())}function Qk(e,t,c){let n=e.disposables.get(t);if(!n){e.disposables.set(t,c);return}e.disposables.set(t,()=>{n(),c()})}function Uk(e,t,c,n,l,o){if(e.suspendCounts?.has(t))return;let{disposables:d}=e,i=d.size?d.get(t):void 0;if(i){d.delete(t);let a=c;i(),c=l?.()??c,c!==a&&(n=Ak(n,c,a,o)??n)}let r=t(c,n);r&&Qk(e,t,r)}function zk({group:e,getState:t,prevState:c,updatedKey:n,notifiedListeners:l}){let o=e.allKeysListeners;for(let d of e.listeners)l?.has(d)||!o?.has(d)&&!Tk(e.listenerKeys.get(d),n)||(l?.add(d),Uk(e,d,t(),c,t,n))}function Tt(e,...t){let c=e,n=c,l=xs,o=!1,d=!1,i=new Set,r=new Set,a=new Set,s={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},b={listeners:new Set,disposables:new Map,listenerKeys:new WeakMap},m=C=>(a.add(C),()=>a.delete(C)),X=()=>{let C=r.size,B=Symbol();r.add(B);let V=()=>{r.delete(B)&&(r.size||l())};if(C)return V;let S=AB(c),Y=[];for(let N of t){let A=N?.getState?.();if(!A)continue;let Q=S.filter(z=>In(A,z));if(Q.length){if(t.length===1||Q.length===S.length){for(let z of Q)Y.push(lt(N,[z],D=>{v(z,D[z],!0)}));continue}Y.push(Jl(N,Q,(z,D)=>{for(let U of Q)z[U]!==D[U]&&v(U,z[U],!0)}));for(let z of Q){let D=N?.getState?.();D&&v(z,D[z],!0)}}}let J=[];for(let N of a)J.push(N());let k=t.map(oG);return l=It(...Y,...J,...k),V},G=(C,B,V)=>{V!==void 0&&(V?Hbe(C.listenersByKey,V,B):C.allKeysListeners?.delete(B))},g=[],x=(C,B,V=s)=>{let S=C?[...C]:null,Y=V.listeners.has(B);return Y||fbe(g,V,B),S?Zbe({fastPathFrames:g,group:V,keys:S,listener:B}):(Y&&jB(g,V),Ibe(g,V,B)),Y&&(jB(g,V,B),G(V,B,V.listenerKeys.get(B))),V.listeners.add(B),S?(V.listenersByKey??=new Map,Rbe(V.listenersByKey,S,B),ybe({fastPathFrames:g,group:V,keys:S,listener:B})):(V.allKeysListeners??=new Set,V.allKeysListeners.add(B)),V.listenerKeys.set(B,S),()=>{let J=V.disposables.get(B);V.disposables.delete(B),jB(g,V,B);let k=V.listenerKeys.get(B);G(V,B,S),k!==S&&G(V,B,k),V.listenerKeys.delete(B),V.listeners.delete(B),J?.()}},H=(C,B)=>x(C,B),p=(C,B,V)=>{let S=C.listeners.has(B);if(S){C.suspendCounts??=new Map;let J=C.suspendCounts.get(B)??0;C.suspendCounts.set(B,J+1)}let Y;try{let J=c;Wbe(C,B),c!==J&&(Y=Ak(V,c,J));let k=B(c,Y??V);k&&Qk(C,B,k)}finally{if(S){let J=C.suspendCounts,k=J?.get(B);k&&k>1?J?.set(B,k-1):J?.delete(B),J?.size||delete C.suspendCounts}}},R=(C,B)=>(p(s,B,c),x(C,B)),I=(C,B)=>(!b.listeners.size&&!d&&(n=c),p(b,B,n),x(C,B,b)),f=C=>Tt(tk(c,C),h),y=C=>Tt(ek(c,C),h),Z=()=>c,W=(C,B,V)=>{if(!(V instanceof Set)&&!C.allKeysListeners?.size){let S=C.listenersByKey?.get(V);if(!S)return;let Y={group:C,keyedListeners:S,updatedKey:V,currentListener:null};g.push(Y);try{for(let J of S){if(Y.notifiedListeners?.has(J)||(Y.currentListener=J,Y.notifiedListeners?.add(J),Uk(C,J,c,B,Z,V),!C.allKeysListeners?.size&&!Y.recoverToLive))continue;let k=Y.notifiedListeners??Ok(Y);Y.notifiedListeners=k,Y.recovering=!0,zk({group:C,getState:Z,prevState:B,updatedKey:V,notifiedListeners:k});return}}finally{g.pop()}return}zk({group:C,getState:Z,prevState:B,updatedKey:V})},v=(C,B,V=!1)=>{if(!In(c,C))return;let S=c[C],Y=fu(B,()=>S);if(lG(Y,S))return;let J=d;d=!0;let k=c,N={...c,[C]:Y};c=N;let A=!1;try{if(!V&&t.length){for(let Q of t)if(Q?.setState?.(C,Y),!lG(c[C],Y)){A=!0;break}if(A){let Q=0;for(;Q<pbe;Q+=1){let z=!1;for(let D of t){let U=c[C];D?.setState?.(C,U),lG(c[C],U)||(z=!0)}if(!z)break}}}if(!A){let Q=c===N?k:{...c,[C]:k[C]};W(s,Q,C)}}finally{d=J}if(!b.listeners.size){d||(n=c);return}i.add(C),!o&&(o=!0,queueMicrotask(()=>{o=!1;let Q=c,z=i;i=new Set;let D=n;W(b,D,z),n===D&&(n=Q)}))},h={getState:Z,setState:v,__unstableInternals:{setup:m,init:X,subscribe:H,sync:R,batch:I,pick:f,omit:y}};return h}function Dt(e,...t){if(e)return ys(e,"setup")(...t)}function oG(e,...t){if(e)return ys(e,"init")(...t)}function Jl(e,...t){if(e)return ys(e,"subscribe")(...t)}function lt(e,...t){if(e)return ys(e,"sync")(...t)}function Wi(e,...t){if(e)return ys(e,"batch")(...t)}function No(e,...t){if(e)return ys(e,"omit")(...t)}function Ek(e,...t){if(e)return ys(e,"pick")(...t)}function fd(...e){let t={};for(let n of e){let l=n?.getState?.();l&&Object.assign(t,l)}let c=Tt(t,...e);return Object.assign({},...e,c)}function hbe(e){let t=e.find(l=>!!l.element),c=[...e].reverse().find(l=>!!l.element)?.element,n=t?.element?.parentElement;if(!c)return nt(n).body;for(;n;){if(n.contains(c))return n;n=n.parentElement}return nt(n).body}function Bbe(e){return e?.__unstablePrivateStore}var AR=64;function Lk(e,t){if(e.length<AR){t.ids&&(t.items=void 0,t.ids=void 0);return}if(t.items===e)return t.ids;let c=new Set;for(let n of e)c.add(n.id);return t.items=e,t.ids=c,c}function PB(e,t,c){if(e.length<AR){t.ids&&(t.items=void 0,t.ids=void 0);return}if(!c){c=new Set;for(let n of e)c.add(n.id)}t.items=e,t.ids=c}function OR(e={}){e.store;let t=e.store?.getState(),c=Je(e.items,t?.items,e.defaultItems,[]),n=Bbe(e.store),l=n?.__unstableCollectionLookup??{controlledItems:new Map(c.map(p=>[p.id,p])),registeredItems:new Map,controlledItemsSource:c,propagatedItems:c},{controlledItems:o,registeredItems:d}=l,i={},r={},a={items:c,renderedItems:Je(t?.renderedItems,[])},s=Tt(a,e.store),b=Object.assign(Tt({items:c,renderedItems:a.renderedItems},n),{__unstableCollectionLookup:l}),m=p=>{let R=dk(p,I=>I.element);b.setState("renderedItems",R),s.setState("renderedItems",R)},X=p=>{if(p!==l.controlledItemsSource){l.controlledItemsSource=p,o.clear();for(let R of p)o.set(R.id,R)}},G=(p,R)=>{if(p!=="items"){s.setState(p,R);return}s.setState("items",I=>{let f=fu(R,I);return f===I?I:(l.propagatedItems=f,X(f),f)})};Dt(s,()=>oG(b)),n||(Jl(s,["items"],({items:p})=>{p!==l.propagatedItems&&(l.propagatedItems=p,X(p))}),Dt(b,()=>Wi(b,["items"],({items:p})=>{l.propagatedItems=p,s.setState("items",p)}))),Dt(b,()=>Wi(b,["renderedItems"],p=>{if(p.renderedItems!==s.getState().renderedItems&&m(p.renderedItems),typeof IntersectionObserver!="function")return;let R=!0,I=0,f=()=>{if(R){R=!1;return}cancelAnimationFrame(I),I=requestAnimationFrame(()=>m(p.renderedItems))},y=hbe(p.renderedItems),Z=new IntersectionObserver(f,{root:y});for(let W of p.renderedItems)W.element&&Z.observe(W.element);return()=>{cancelAnimationFrame(I),Z.disconnect()}}));let g=(p,R,I)=>{let f=I?.registeredItems,y=I?.controlledItems;return Z=>{let W=f?.get(Z.id),v=!!W||!!y?.has(Z.id),h;return b.setState(p,B=>{let V=R.ids||B.length>=AR&&!v?Lk(B,R):void 0,S=V&&!V.has(Z.id)?-1:B.findIndex(({id:J})=>J===Z.id),Y=B.slice();if(S!==-1){h=B[S];let J={...h,...Z};Y[S]=J,f?.set(Z.id,J)}else Y.push(Z),f?.set(Z.id,Z),V?.add(Z.id);return(R.ids||S===-1&&Y.length>=AR)&&PB(Y,R,V),Y}),()=>{f&&(W?f.set(Z.id,W):f.delete(Z.id)),b.setState(p,B=>{let V=R.ids?Lk(B,R):void 0;if(!h){let J=B.filter(({id:k})=>k!==Z.id);return V?.delete(Z.id),R.ids&&PB(J,R,V),J}let S=B.findIndex(({id:J})=>J===Z.id);if(S===-1)return B;let Y=B.slice();return Y[S]=h,R.ids&&PB(Y,R,V),Y})}}},x=g("items",i,l),H=g("renderedItems",r);return{...s,setState:G,registerItem:x,renderItem:p=>It(x(p),H(p)),item:p=>p?d.size?d.get(p)??o.get(p)??null:o.get(p)??null:null,__unstablePrivateStore:b}}var vbe={id:null};function yd(e,t){return e.find(c=>t?!c.disabled&&c.id!==t:!c.disabled)}function Vbe(e){for(let t=e.length-1;t>=0;t-=1){let c=e[t];if(c&&!c.disabled)return c}}function Cbe(e,t){return e.filter(c=>t?!c.disabled&&c.id!==t:!c.disabled)}function Dk(e,t){return e.filter(c=>c.rowId===t)}function _k({items:e,fromIndex:t,step:c,rowId:n,excludeId:l}){for(let o=t;o>=0&&o<e.length;o+=c){let d=e[o];if(!d||d.rowId!==n||d.disabled)continue;let i=d.id;if(!(l!=null&&i===l))return i}}function KB(e,t,c=!1){let n=e.findIndex(l=>l.id===t);return[...e.slice(n+1),...c?[vbe]:[],...e.slice(0,n)]}var Fbe=48,Jbe=4;function Ybe(e){let t=[],c,n;for(let l of e){let o=l.rowId;if(c&&n===o){c.push(l);continue}let d=t.find(i=>i[0]?.rowId===o);d?(d.push(l),c=d):(c=[l],t.push(c)),n=o}return t}function Nbe(e){let t=e[0];if(!t)return[];let c=1;for(;c<e.length&&e[c]?.rowId===t.rowId;)c+=1;let n=e.slice(0,c);if(c===e.length)return[n];let l=[n],o;for(;c<e.length;c+=1){let d=e[c];if(!d)continue;let i=o?o.get(d.rowId):l.find(a=>a[0]?.rowId===d.rowId);if(i){i.push(d);continue}let r=[d];l.push(r),o?o.set(d.rowId,r):l.length===Jbe&&(o=new Map(l.map(a=>[a[0]?.rowId,a])))}return l}function QR(e){return e.length>=Fbe?Nbe(e):Ybe(e)}function jk(e){let t=0;for(let{length:c}of e)c>t&&(t=c);return t}function Sbe(e){return{id:"__EMPTY_ITEM__",disabled:!0,rowId:e}}function wbe(e,t,c){let n=jk(e);for(let l of e)for(let o=0;o<n;o+=1){let d=l[o];if(!d||c&&d.disabled){let i=o===0&&c?yd(l):l[o-1];l[o]=i&&t!==i.id&&c?i:Sbe(i?.rowId)}}return e}function kbe(e){let t=QR(e),c=jk(t),n=[];for(let l=0;l<c;l+=1)for(let o of t){let d=o[l];d&&n.push({...d,rowId:d.rowId?`${l}`:void 0})}return n}function lo(e={}){let t=e.store?.getState(),c=OR(e),n=Je(e.activeId,t?.activeId,e.defaultActiveId),l=Je(t?.compositeElement,t?.baseElement,null),o=Je(e.compositeElementInFocusOrder,e.includesBaseElement,t?.compositeElementInFocusOrder,t?.includesBaseElement,n===null),d={...c.getState(),id:Je(e.id,t?.id)??`id-${Math.random().toString(36).slice(2,8)}`,activeId:n,compositeElement:l,baseElement:l,compositeElementInFocusOrder:o,includesBaseElement:o,moves:Je(t?.moves,0),orientation:Je(e.orientation,t?.orientation,"both"),rtl:Je(e.rtl,t?.rtl,!1),virtualFocus:Je(e.virtualFocus,t?.virtualFocus,!1),focusLoop:Je(e.focusLoop,t?.focusLoop,!1),focusWrap:Je(e.focusWrap,t?.focusWrap,!1),focusShift:Je(e.focusShift,t?.focusShift,!1)},i=Tt(d,c,e.store);Dt(i,()=>It(lt(i,["compositeElement"],s=>{i.setState("baseElement",s.compositeElement)}),lt(i,["baseElement"],s=>{i.setState("compositeElement",s.baseElement)}),lt(i,["compositeElementInFocusOrder"],s=>{i.setState("includesBaseElement",s.compositeElementInFocusOrder)}),lt(i,["includesBaseElement"],s=>{i.setState("compositeElementInFocusOrder",s.includesBaseElement)}))),Dt(i,()=>lt(i,["renderedItems","activeId"],s=>{i.setState("activeId",b=>b!==void 0?b:yd(s.renderedItems)?.id)}));let r=(s="next",b={})=>{let m=i.getState(),X=Je(b.compositeElementInFocusOrder,b.includesBaseElement,m.compositeElementInFocusOrder),{skip:G=0,activeId:g=m.activeId,focusShift:x=m.focusShift,focusLoop:H=m.focusLoop,focusWrap:p=m.focusWrap,renderedItems:R=m.renderedItems,rtl:I=m.rtl}=b,f=s==="up"||s==="down",y=s==="next"||s==="down",Z=y?I&&!f:!I||f,W=x&&!G;if(!G&&!p&&!X&&g!=null&&(!f||!W&&!R.some(A=>A.rowId!=null))){let A=-1;if(R===m.renderedItems){let z=R[0];if(z&&c.item(z.id)===z){let D=c.item(g);D?.id===g&&(A=R.indexOf(D))}}A===-1&&(A=R.findIndex(z=>z.id===g));let Q=R[A];if(Q){let z=Z?-1:1,D=_k({items:R,fromIndex:A+z,step:z,rowId:Q.rowId,excludeId:g});return D!==void 0?D:H&&(f?H!=="horizontal":H!=="vertical")?_k({items:R,fromIndex:z===1?0:R.length-1,step:z,rowId:Q.rowId,excludeId:g}):void 0}}let v=f?RR(wbe(QR(R),g,W)):R;if(v=Z?HR(v):v,v=f?kbe(v):v,g==null)return yd(v)?.id;let h=v.find(A=>A.id===g);if(!h)return yd(v)?.id;let C=v.some(A=>A.rowId),B=v.indexOf(h),V=v.slice(B+1),S=Dk(V,h.rowId);if(G){let A=Cbe(S,g);return(A.slice(G)[0]||A[A.length-1])?.id}let Y=H&&(f?H!=="horizontal":H!=="vertical"),J=C&&p&&(f?p!=="horizontal":p!=="vertical"),k=y?(!C||f)&&Y&&X:f?X:!1;if(Y)return yd(KB(J&&!k?v:Dk(v,h.rowId),g,k),g)?.id;if(J){let A=yd(k?S:V,g);return k?A?.id||null:A?.id}let N=yd(S,g);return!N&&k?null:N?.id},a=(s,b)=>typeof b=="number"?r(s,{skip:b}):r(s,b);return{...c,...i,setCompositeElement:s=>i.setState("compositeElement",s),setBaseElement:s=>i.setState("compositeElement",s),setActiveId:s=>i.setState("activeId",s),move:s=>{s!==void 0&&(i.setState("activeId",s),i.setState("moves",b=>b+1))},first:()=>yd(i.getState().renderedItems)?.id,last:()=>Vbe(i.getState().renderedItems)?.id,next:s=>a("next",s),previous:s=>a("previous",s),down:s=>a("down",s),up:s=>a("up",s)}}var Pk=KB,Kk=yd,qk=QR,UR=new WeakSet;function $k(e){Rc(e)===e&&(UR.add(e),queueMicrotask(()=>UR.delete(e)))}function ez(e){UR.delete(e)}function zbe(e,t){let{virtualFocus:c,compositeElement:n}=e.getState();if(!c||!n||!On(n)){t();return}let l=n.scrollLeft,o=n.scrollTop;t(),n.scrollLeft=l,n.scrollTop=o}function tz(e){let t=e.getState();return"contentElement"in t?t.contentElement:null}function $B(e){let{compositeElement:t}=e.getState(),c=Rc(t);return c?t?.contains(c)||Bi(e,c)?!0:!!tz(e)?.contains(c):!1}function Tbe({store:e,id:t,focus:c,markedOnly:n,requireFocus:l,scrollIntoView:o,onConsume:d}){let i=null,r,a=!1,s=!1,b=!1,m=!1,X=!1,G=e.getState().compositeElement,g=Rc(G),x=l?g:null,H=!!G?.contains(g),p=V=>{if(!x)return!0;let S=Rc(x);return S===x||S===V?!0:$B(e)},R=V=>{if("mounted"in V){if(V.mounted)m=!0;else if(m)return!0}if("open"in V){if(V.open)X=!0;else if(X)return!0}return t!=null&&V.activeId!=null&&V.activeId!==t},I=(V,S)=>{if(!("open"in V)||V.open)return!1;let Y=tz(e);if(!Y?.contains(S))return!1;let{compositeElement:J}=V;return!J||Y.contains(J)?!1:fR(S)},f=V=>{let S=hi(e,r??(t===void 0?V.activeId:t));return S?.element?.isConnected?(r=S.id,S.element):null},y,Z,W=()=>{b=!0,y?.(),Z?.()},v=!1,h=()=>{v||(v=!0,d?.())},C=()=>{if(!b)return h(),W()},B=()=>{if(b)return;let V=e.getState();if(R(V))return C();let S=!1;if(i){if(!i.isConnected&&(S=a&&!s&&Rc(i)===nt(i).body,i=f(V),!i))return C()}else if(i=f(V),!i)return;if(S)a=!1;else if(!p(i))return C();let Y=c&&H&&I(V,i);if(Y){let{activeId:J}=V;if(J!=null&&J!==r)return C()}if(c&&!a&&!Y){a=!0,h(),s=!1;let J=i;y?.();let k=()=>{s=!UR.has(J)},N=()=>{s=!1};if(J.addEventListener("blur",k),J.addEventListener("focus",N),y=()=>{J.removeEventListener("blur",k),J.removeEventListener("focus",N)},zbe(e,()=>{J.focus({preventScroll:!0})}),b)return}if(n&&!i.hasAttribute("data-autofocus"))return Y?void 0:C();if(fR(i)&&!("unstable_placing"in V&&V.unstable_placing)){if(Y||C(),o){o(i);return}i.scrollIntoView({block:"nearest",inline:"nearest"})}};return Z=Jl(e,["activeId","items","mounted","open","unstable_placing"],B),B(),Object.assign(W,{settle:C})}function ER(e){let t=(0,Ju.useRef)(null),c=(0,Ju.useRef)(e),n=(0,Ju.useCallback)(()=>{t.current?.(),t.current=null},[]),l=(0,Ju.useCallback)(o=>{if(!e||c.current!==e)return;t.current?.settle(),t.current=null;let d=Tbe({store:e,...o});return t.current=d,d},[e]);return Ue(()=>(c.current=e,()=>{c.current=void 0,n()}),[e,n]),l}function hi(e,t){return t&&e.item(t)||null}function cz(e,t=!1){if(On(e))e.setSelectionRange(t?e.value.length:0,e.value.length);else if(e.isContentEditable){let c=nt(e).getSelection();c?.selectAllChildren(e),t&&c?.collapseToEnd()}}var qB=Symbol("FOCUS_SILENTLY");function nz(e){e[qB]=!0,e.focus({preventScroll:!0})}function lz(e){let t=e[qB];return delete e[qB],t}function Bi(e,t,c){if(!t||t===c)return!1;let n=e.item(t.id);return!(!n||c&&n.element===c)}var oo=u(E(),1),sz=u(F(),1);var So=u(E(),1),cv=u(iG(),1),LR=()=>()=>{};function DR(e){return Array.isArray(e)}function tv(e,t){return e===t||e!==e&&t!==t}function Mbe(e,t){if(e?.length!==t.length)return!1;for(let c=0;c<e.length;c+=1){let n=e[c];if(!tv(n,t[c]))return!1}return!0}function rz(e){let[t,c]=So.useState(()=>e===null?null:[...e]);if(e===null)return t!==null&&c(null),null;if(Mbe(t,e))return t;let n=[...e];return c(n),n}function $(e,t=IR,c){let n=rz(DR(t)?t:typeof t=="function"?null:[t]),l=So.useCallback(d=>!e||n?.length===0?LR():Jl(e,n,d),[e,n]),o=()=>{let d=e?.getState();if(DR(t))return c?.(d);if(typeof t=="function")return t(d);if(d&&In(d,t))return d[t]};return(0,cv.useSyncExternalStore)(l,o,o)}function Pbe(e,t){let c=[],n=!1;for(let l in e){let o=e[l];if(o!==void 0){if(typeof o=="function"){n=!0;continue}c.includes(o)||c.push(o)}}if(!n)return c;if(!t)return null;for(let l of t)c.includes(l)||c.push(l);return c}function Ws(e,t,c){let n=DR(t)?c??{}:t,l=DR(t)?t:void 0,o=So.useRef({}),d=rz(Pbe(n,l)),i=So.useCallback(a=>!e||d?.length===0?LR():Jl(e,d,a),[e,d]),r=()=>{let a=e?.getState(),s=!1,b=o.current;for(let m in n){let X=n[m];if(X===void 0)continue;if(typeof X=="function"){let g=X(a);Object.is(g,b[m])||(b[m]=g,s=!0)}if(typeof X=="function")continue;let G=a&&In(a,X)?a[X]:void 0;Object.is(G,b[m])||(b[m]=G,s=!0)}return s&&(o.current={...b}),o.current};return(0,cv.useSyncExternalStore)(i,r,r)}function mt(e,t,c,n){let l=In(t,c)?t[c]:void 0,o=n?t[n]:void 0,d=!!o,i=Wu({value:l,setValue:o});Ue(()=>{if(d)return Jl(e,[c],(r,a)=>{let{value:s,setValue:b}=i.current;b&&(tv(r[c],a[c])||tv(r[c],s)||b(r[c]))})},[e,c,d,i]),Ue(()=>{if(l!==void 0)return e.setState(c,l),Wi(e,[c],()=>{l!==void 0&&e.setState(c,l)})})}function nc(e,t){let[c,n]=So.useState(()=>e(t));Ue(()=>oG(c),[c]);let l=So.useCallback(o=>$(c,o),[c]);return[So.useMemo(()=>({...c,useState:l}),[c,l]),ge(()=>{n(o=>e({...t,...o.getState()}))})]}var Kbe="button";function qbe(e){return yR(e)?!0:e.tagName==="INPUT"&&!Jo(e)}function $be(e,t=!1){let c=e.clientHeight,{top:n}=e.getBoundingClientRect(),l=Math.max(c*.875,c-40)*1.5,o=t?c-l+n:l+n;return e.tagName==="HTML"?o+e.scrollTop:o}function eue(e,t=!1){let{top:c}=e.getBoundingClientRect();return t?c+e.clientHeight:c}function az(e,t,c,n=!1){if(!t||!c)return;let{renderedItems:l}=t.getState(),o=OB(e);if(!o)return;let d=$be(o,n),i,r;for(let a=0;a<l.length;a+=1){let s=i;if(i=c(a),!i)break;if(i===s)continue;let b=hi(t,i)?.element;if(!b)continue;let m=eue(b,n)-d,X=Math.abs(m);if(n&&m<=0||!n&&m>=0){r!==void 0&&r<X&&(i=s);break}r=X}return i}function tue(e,t){return uc(e)?!1:Bi(t,e.target)}var wo=ce(function({store:t,rowId:c,preventScrollOnKeyDown:n=!1,moveOnKeyPress:l=!0,tabbable:o=!1,getItem:d,typeaheadText:i,"aria-setsize":r,"aria-posinset":a,unstable_scrollIntoView:s,...b}){let m=Zd();t=t||m;let X=Wk(b),G=Ft(b.id),g=(0,oo.useRef)(null),x=(0,oo.useRef)(null),H=(0,oo.useCallback)(_=>{let j=x.current;!_&&j&&$k(j),_&&ez(_),x.current=_},[]),p=(0,oo.useContext)(zR),R=bc(b),I=R&&!X,f=R&&b.focusable===!1,y=b.shouldRegisterItem,Z=_=>{if(c)return c;if(_&&p?.compositeElement&&p.compositeElement===_.compositeElement)return p.id},{rowId:W,compositeElement:v,ariaSetSize:h,ariaPosInSet:C}=Ws(t,["compositeElement","renderedItems"],{rowId:Z,compositeElement(_){return _?.compositeElement||void 0},ariaSetSize(_){if(r!=null)return r;if(_&&p?.ariaSetSize&&p.compositeElement===_.compositeElement)return p.ariaSetSize},ariaPosInSet(_){if(a!=null)return a;if(!_||!p?.ariaPosInSet||p.compositeElement!==_.compositeElement)return;let j=Z(_),ue=_.renderedItems.filter(xe=>xe.rowId===j);return p.ariaPosInSet+ue.findIndex(xe=>xe.id===G)}}),{isActiveItem:B,isTabbable:V}=Ws(t,["activeId","compositeElement","renderedItems","virtualFocus","items"],{isActiveItem(_){return!!_&&_.activeId===G},isTabbable(_){if(!_||!_.compositeElement&&!_.renderedItems.length)return!0;if(_.virtualFocus)return!1;if(!_.renderedItems.length||o)return!0;if(_.activeId===null)return!1;let j=t?.item(_.activeId);return j?.disabled||!j?.element?!0:_.activeId===G}}),S=(0,oo.useCallback)(_=>{let j=(_.element?Bk(_.element):void 0)??(f||I),ue={..._,id:G||_.id,rowId:W,disabled:j,children:_.element?.textContent,typeaheadText:i};return d?d(ue):ue},[G,W,f,I,i,d]),Y=b.onFocus,J=(0,oo.useRef)(!1),k=(0,oo.useRef)(null),N=ER(t),A=ge(_=>{if(Y?.(_),_.defaultPrevented||ak(_)||!G||!t||tue(_,t))return;let{virtualFocus:j,compositeElement:ue}=t.getState();if(t.setActiveId(G),yR(_.currentTarget)&&cz(_.currentTarget),!j){uc(_)&&t.item(G)&&N({id:G,markedOnly:!0,requireFocus:!0,scrollIntoView:s});return}if(!uc(_)||qbe(_.currentTarget))return;let xe=(Te,ze)=>{if(!Ac(ze))return;let Ne=Te===ze||Bi(t,Te);t.item(G)&&N({id:G,markedOnly:!0,requireFocus:!0,scrollIntoView:s}),J.current=!0,Ne?nz(ze):ze.focus({preventScroll:!0})};if(ue?.isConnected){xe(_.relatedTarget,ue);return}if(y===!1)return;let{currentTarget:Be,relatedTarget:P}=_,ye=()=>{k.current?.(),k.current=null};ye(),k.current=Jl(t,null,()=>{if(Rc(Be)!==Be){ye();return}let Te=t.getState(),ze=Te.compositeElement;ze?.isConnected&&(ye(),Te.virtualFocus&&xe(P,ze))})}),Q=b.onBlurCapture,z=ge(_=>{Q?.(_),!_.defaultPrevented&&t?.getState()?.virtualFocus&&J.current&&(J.current=!1,_.preventDefault(),_.stopPropagation())}),D=b.onKeyDown,U=Wt(n),O=Wt(l),L=ge(_=>{if(D?.(_),_.defaultPrevented||!uc(_)||!t)return;let{currentTarget:j}=_,ue=t.getState(),xe=!!t.item(G)?.rowId,Be=ue.orientation!=="horizontal",P=ue.orientation!=="vertical",ye=()=>!!(xe||P||!ue.compositeElement||!On(ue.compositeElement)),Te={ArrowUp:(xe||Be)&&t.up,ArrowRight:(xe||P)&&t.next,ArrowDown:(xe||Be)&&t.down,ArrowLeft:(xe||P)&&t.previous,Home:()=>{if(ye())return!xe||_.ctrlKey?t?.first():t?.previous(-1)},End:()=>{if(ye())return!xe||_.ctrlKey?t?.last():t?.next(-1)},PageUp:()=>az(j,t,t?.up,!0),PageDown:()=>az(j,t,t?.down)}[_.key];if(Te){if(yR(j)){let Ne=ok(j),He=P&&_.key==="ArrowLeft",we=P&&_.key==="ArrowRight",pe=Be&&_.key==="ArrowUp",ve=Be&&_.key==="ArrowDown";if(we||ve){let{length:Ve}=lk(j);if(Ne.end!==Ve)return}else if((He||pe)&&Ne.start!==0)return}let ze=Te();if(U(_)||ze!==void 0){if(!O(_))return;_.preventDefault(),t.move(ze)}}}),M=(0,oo.useMemo)(()=>({id:G,compositeElement:v}),[G,v]);return b=Le(b,_=>(0,sz.jsx)(kk.Provider,{value:M,children:_}),[M]),b={"data-active-item":B||void 0,...b,id:G,ref:Me(g,H,b.ref),tabIndex:V?b.tabIndex:-1,onFocus:A,onBlurCapture:z,onKeyDown:L},b=fs(b),b=cG({store:t,...b,getItem:S,shouldRegisterItem:G?y:!1}),{...b,"aria-setsize":h,"aria-posinset":C}}),hs=mc(te(function(t){let c=wo(vc(t));return ne(Kbe,c)}));var rG=Jt([bl],[yn]),cue=rG.useContext,bz=rG.useScopedContext,_R=rG.useProviderContext,YYe=rG.ContextProvider,jR=rG.ScopedContextProvider;var uz=u(E(),1),nv=u(F(),1);var nue="button",lue=ce(function({store:t,getItem:c,...n}){let l=bz();t=t||l,ke(t,!1);let o=Ft(),d=n.id||o,i=bc(n),r=(0,uz.useCallback)(x=>{let H={...x,dimmed:i};return c?c(H):H},[i,c]),a=n.onClick,s=ge(x=>{a?.(x),!x.defaultPrevented&&t?.setSelectedId(d)}),b=$(t.panels,["items"],()=>t.panel(d)?.id),m=o?n.shouldRegisterItem:!1,X=$(t,["selectedId"],x=>!!d&&x.selectedId===d),G=$(t.composite?t:void 0,["activeId","items","selectedId"],x=>!x||!d?!1:x.activeId===d?!0:x.selectedId!==d?!1:!t.item(x.activeId)),g=X||(n.accessibleWhenDisabled??!0);if($(t.combobox||t.composite,"virtualFocus")&&(n={...n,tabIndex:-1}),n={role:"tab","aria-selected":X,"aria-controls":b||void 0,...n,id:d,onClick:s},t.composite){let x={id:d,accessibleWhenDisabled:g,store:t.composite,shouldRegisterItem:G&&m,rowId:n.rowId,render:n.render};n={...n,render:(0,nv.jsx)(hs,{...x,render:t.combobox&&t.composite!==t.combobox?(0,nv.jsx)(hs,{...x,store:t.combobox}):x.render})}}return n=wo({store:t,...n,accessibleWhenDisabled:g,getItem:r,shouldRegisterItem:m}),n}),Nu=mc(te(function(t){let c=lue(vc(t));return ne(nue,c)}));var oue=Symbol("cancelled"),mz=new WeakMap;function Bs(e){let t=e.item,c=mz.get(t);if(c)return c;let n={consumedBy:null,targetId:e.getState().activeId};return mz.set(t,n),lt(e,["moves","activeId"],(l,o)=>{if(l.moves!==o.moves){n.consumedBy=null,n.targetId=l.activeId;return}l.activeId!==o.activeId&&(n.targetId=oue)}),n}var Su=u(E(),1),MR=u(F(),1);var due="div";function iue(e){return e.some(t=>!!t.rowId)}function rue(e){let t=e.target;return t&&!On(t)?!1:e.key.length===1&&!e.ctrlKey&&!e.metaKey}function aue(e){return e.key==="Shift"||e.key==="Control"||e.key==="Alt"||e.key==="Meta"}function Xz(e,t,c){return ge(n=>{if(t?.(n),n.defaultPrevented||n.isPropagationStopped()||!uc(n)||aue(n)||rue(n))return;let l=e.getState(),o=hi(e,l.activeId)?.element;if(!o)return;let{view:d,...i}=n;o!==c?.current&&o.focus({preventScroll:!0}),uk(o,n.type,i)||n.preventDefault(),n.currentTarget.contains(o)&&n.stopPropagation()})}function sue(e){return Kk(RR(HR(qk(e))))}function Gz(e,t){let{consumedBy:c}=Bs(e);return!c||c===t}function gz(e,t,c){e.getState().moves===c&&(Bs(e).consumedBy=t)}var bue=mc(function({store:t,focusOnMove:c,previousElementRef:n,present:l,scrollIntoView:o}){let d=$(t,"moves"),i=$(t,"compositeElement"),r=(0,Su.useRef)({});return(0,Su.useEffect)(()=>{let a=Bs(t);if(!d||!c)return;let s=r.current;if(!Gz(t,s))return;let{activeId:b}=t.getState();if(b!=null&&b===a.targetId)return l({id:b,requireFocus:$B(t),focus:!0,scrollIntoView:o,onConsume:()=>gz(t,s,d)})},[t,d,c,i,l,o]),Ue(()=>{let a=Bs(t);if(!d||!i)return;let s=r.current;if(!Gz(t,s))return;let{activeId:b}=t.getState();if(b!==null||b!==a.targetId)return;gz(t,s,d);let m=n.current;n.current=null,m&&Rs(m,{relatedTarget:i}),Is(i)||(Ac(i)&&i.scrollIntoView({block:"nearest",inline:"nearest"}),i.focus({preventScroll:!0}))},[t,d,i,n]),null}),ko=ce(function({store:t,composite:c=!0,focusOnMove:n=c,moveOnKeyPress:l=!0,unstable_scrollIntoView:o,...d}){let i=wk();t=t||i,ke(t,!1);let r=(0,Su.useRef)(null),a=(0,Su.useRef)(null),s=ER(t),[,b]=NR(c?t.setCompositeElement:null),m=$(t,"virtualFocus"),X=$(t,c&&m?["activeId"]:[],h=>c&&m?h.activeId:null);Ue(()=>{if(!t||!c||!m)return;let h=a.current;if(a.current=null,!h)return;let C=hi(t,X)?.element||Rc(h);C!==h&&Rs(h,{relatedTarget:C})},[t,X,m,c]);let G=Xz(t,d.onKeyDownCapture,a),g=Xz(t,d.onKeyUpCapture,a),x=d.onFocusCapture,H=ge(h=>{if(x?.(h),h.defaultPrevented||!t)return;let{virtualFocus:C}=t.getState();if(!C)return;let B=h.relatedTarget,V=lz(h.currentTarget);uc(h)&&V&&(h.stopPropagation(),a.current=B)}),p=d.onFocus,R=ge(h=>{if(p?.(h),h.defaultPrevented||!c||!t)return;let{relatedTarget:C}=h,{virtualFocus:B}=t.getState();if(B)uc(h)&&!Bi(t,C)&&queueMicrotask(()=>s({focus:!0,markedOnly:!0,requireFocus:!0,scrollIntoView:o}));else if(uc(h)){if(!Bi(t,C)){let{activeId:V}=t.getState();V!=null&&s({id:V,markedOnly:!0,requireFocus:!0,scrollIntoView:o})}t.setActiveId(null)}}),I=d.onBlurCapture,f=ge(h=>{if(I?.(h),h.defaultPrevented||!t)return;let{virtualFocus:C,activeId:B,compositeElement:V}=t.getState();if(!C||h.currentTarget!==V)return;let S=hi(t,B)?.element,Y=h.relatedTarget,J=Bi(t,Y),k=a.current;a.current=null,uc(h)&&J?(Y===S?k&&k!==Y&&Rs(k,h):S?Rs(S,h):k&&Rs(k,h),h.stopPropagation()):!Bi(t,h.target)&&S&&Rs(S,h)}),y=d.onKeyDown,Z=Wt(l),W=ge(h=>{if(y?.(h),h.nativeEvent.isComposing||h.defaultPrevented||!t||!uc(h))return;let{orientation:C,items:B,renderedItems:V,activeId:S,rtl:Y}=t.getState(),J=hi(t,S);if(J?.element?.isConnected)return;let k=J&&S!=null,N=k?B:V,A=C!=="horizontal",Q=C!=="vertical",z=iue(N);if((h.key==="ArrowLeft"||h.key==="ArrowRight"||h.key==="Home"||h.key==="End")&&On(h.currentTarget))return;let M={ArrowUp:(z||A)&&(()=>k?t.up({activeId:S,renderedItems:N}):z?sue(V)?.id:t?.last()),ArrowRight:(z||Q)&&(()=>k?t.next({activeId:S,renderedItems:N}):Y?t.last():t.first()),ArrowDown:(z||A)&&(()=>k?t.down({activeId:S,renderedItems:N}):t.first()),ArrowLeft:(z||Q)&&(()=>k?t.previous({activeId:S,renderedItems:N}):Y?t.first():t.last()),Home:t.first,End:t.last,PageUp:t.first,PageDown:t.last}[h.key];if(M){let _=M();if(_!==void 0){if(!Z(h))return;h.preventDefault(),t.move(_)}}});d=Le(d,h=>(0,MR.jsxs)(yn,{value:t,children:[h,c&&(0,MR.jsx)(bue,{store:t,focusOnMove:n,previousElementRef:a,present:s,scrollIntoView:o})]}),[t,c,n,s]),d={"aria-activedescendant":$(t,c&&m?["items"]:[],()=>{if(t&&c&&m)return hi(t,X)?.id}),...d,ref:Me(r,b,d.ref),onKeyDownCapture:G,onKeyUpCapture:g,onFocusCapture:H,onFocus:R,onBlurCapture:f,onKeyDown:W};let v=$(t,c&&!m?["activeId"]:[],h=>c&&(m||h.activeId===null));return d=Yo({focusable:v,...d}),d}),PR=te(function(t){let c=ko(t);return ne(due,c)});var xz=u(F(),1);var uue="div",mue=ce(function({store:t,...c}){let n=_R();t=t||n,ke(t,!1);let l=$(t,["orientation"],o=>o.orientation==="both"?void 0:o.orientation);return c=Le(c,o=>(0,xz.jsx)(jR,{value:t,children:o}),[t]),t.composite&&(c={focusable:!1,...c}),c={role:"tablist","aria-orientation":l,...c},c=ko({store:t,...c}),c}),wu=te(function(t){let c=mue(t);return ne(uue,c)});var aG=Jt(),Xue=aG.useContext,oNe=aG.useScopedContext,sG=aG.useProviderContext,pz=aG.ContextProvider,Rz=aG.ScopedContextProvider;var lv=u(E(),1),bG=Jt([pz],[Rz]),aNe=bG.useContext,sNe=bG.useScopedContext,vs=bG.useProviderContext,Hz=bG.ContextProvider,ku=bG.ScopedContextProvider,Iz=(0,lv.createContext)(void 0),Zz=(0,lv.createContext)(void 0);var Vs=u(E(),1),ov=u(F(),1);var Bz=u(io(),1),Gue="div";function yz(e,t){let c=setTimeout(t,e);return()=>clearTimeout(c)}function Wz(e){let t=e?.trim()||"0s",c=t.endsWith("ms")?1:1e3,n=Number.parseFloat(t)*c;return Number.isNaN(n)?0:n}function hz(e,t,c){let n=e.split(","),l=t.split(","),o=c.split(","),d=0;for(let[i,r]of n.entries()){if(r.trim()==="none")continue;let a=Wz(l[i%l.length]),s=Wz(o[i%o.length]);d=Math.max(d,a+s)}return d}function gue(e){let{transitionProperty:t,transitionDuration:c,transitionDelay:n,animationName:l,animationDuration:o,animationDelay:d}=getComputedStyle(e);return Math.max(hz(t,n,c),hz(l,d,o))}function vi(e,t,c){return!c&&t!==!1&&(!e||!!t)}var Cs=ce(function({store:t,alwaysVisible:c,unstable_otherElementRef:n,...l}){let o=sG();t=t||o,ke(t,!1);let d=(0,Vs.useRef)(null),i=Ft(l.id),[r,a]=(0,Vs.useState)(null),{open:s,mounted:b,animated:m,contentElement:X}=Ws(t,{open:"open",mounted:"mounted",animated:"animated",contentElement:"contentElement"}),G=$(t.disclosure,"contentElement"),g=(0,Vs.useRef)(!1);Ue(()=>{d.current&&t?.setContentElement(d.current)},[t]),Ue(()=>{let R;return t?.setState("animated",I=>(R=I,!0)),()=>{R!==void 0&&t?.setState("animated",R)}},[t]),Ue(()=>{if(!m){s?g.current&&(g.current=!1,a("enter")):(g.current=!0,a(null));return}if(!X?.isConnected){a(null);return}return ck(()=>{a(s?"enter":b?"leave":null)})},[m,X,s,b]),Ue(()=>{if(!t||!m||!r||!X)return;let R=()=>t?.setState("animating",!1),I=()=>(0,Bz.flushSync)(R);if(r==="leave"&&s||r==="enter"&&!s)return;if(typeof m=="number")return yz(m,I);let f=[X];G&&f.push(G);let y=n?.current;y&&f.push(y);let Z=Math.max(...f.map(gue));if(!Z){r==="enter"&&t.setState("animated",!1),R();return}return yz(Math.max(Z-1e3/60,0),I)},[t,m,X,G,n,s,r]),l=Le(l,R=>(0,ov.jsx)(ku,{value:t,children:R}),[t]);let x=vi(b,l.hidden,c),H=l.style,p=(0,Vs.useMemo)(()=>x?{...H,display:"none"}:H,[x,H]);return l={"data-open":s||void 0,"data-enter":r==="enter"||void 0,"data-leave":r==="leave"||void 0,hidden:x,...l,id:i,ref:Me(i?t.setContentElement:null,d,l.ref),style:p},co(l)}),xue=te(function(t){let c=Cs(t);return ne(Gue,c)}),KR=te(function({unmountOnHide:t,...c}){let n=sG(),l=c.store||n;return $(l,["mounted"],o=>!t||o?.mounted)===!1?null:(0,ov.jsx)(xue,{...c})});function qR(e={}){let t=e.store||e.disclosure?fd(e.store,No(e.disclosure,["contentElement","disclosureElement"])):void 0;let c=t?.getState(),n=Je(e.open,c?.open,e.defaultOpen,!1),l=Je(e.animated,c?.animated,!1),o={open:n,animated:l,animating:!!l&&n,mounted:n,contentElement:Je(c?.contentElement,null),disclosureElement:Je(c?.disclosureElement,null)},d=t?Tt(o,t):Tt(o);return Dt(d,()=>lt(d,["animated","animating"],i=>{i.animated||d.setState("animating",!1)})),Dt(d,()=>Jl(d,["open"],()=>{d.getState().animated&&d.setState("animating",!0)})),Dt(d,()=>lt(d,["open","animating"],i=>{d.setState("mounted",i.open||i.animating)})),{...d,disclosure:e.disclosure,setOpen:i=>d.setState("open",i),show:()=>d.setState("open",!0),hide:()=>d.setState("open",!1),toggle:()=>d.setState("open",i=>!i),stopAnimation:()=>d.setState("animating",!1),setContentElement:i=>d.setState("contentElement",i),setDisclosureElement:i=>d.setState("disclosureElement",i)}}function dv(e,t,c){return Qn(t,[c.store,c.disclosure,t]),mt(e,c,"open","setOpen"),mt(e,c,"mounted","setMounted"),mt(e,c,"animated"),Object.assign(e,{disclosure:c.disclosure})}function Tr(e={}){let[t,c]=nc(qR,e);return dv(t,c,e)}var Vi=u(E(),1),vz=u(F(),1);var Rue="div",Hue=ce(function({store:t,unmountOnHide:c,tabId:n,getItem:l,scrollRestoration:o,scrollElement:d,...i}){let r=_R();t=t||r,ke(t,!1);let a=(0,Vi.useRef)(null),s=Ft(i.id),b=$(n?void 0:t.panels,["items"],()=>n||t?.panels.item(s)?.tabId),m=$(t,["selectedId"],y=>!!b&&y.selectedId===b),X=Tr({open:m}),G=$(X,"mounted"),g=(0,Vi.useRef)(null),x=ge(()=>{let y=a.current;return y?d?typeof d=="function"?d(y):"current"in d?d.current:d:y:null});(0,Vi.useEffect)(()=>{if(!o||!G)return;let y=x();if(!y)return;if(o==="reset"){y.scroll(0,0);return}if(!b)return;let Z=g.current;Z||(Z=new Map,g.current=Z);let W=Z.get(b);y.scroll(W?.x??0,W?.y??0);let v=()=>{Z.set(b,{x:y.scrollLeft,y:y.scrollTop})};return y.addEventListener("scroll",v),()=>{y.removeEventListener("scroll",v)}},[o,G,b,x]);let[H,p]=(0,Vi.useState)(!1);Ue(()=>{if(!G)return;let y=a.current;y&&p(!!Zu(y))},[G,b]);let R=(0,Vi.useCallback)(y=>{let Z={...y,id:s||y.id,tabId:n};return l?l(Z):Z},[s,n,l]),I=i.onKeyDown,f=ge(y=>{if(I?.(y),y.defaultPrevented||!t?.composite)return;let Z={ArrowLeft:t.previous,ArrowRight:t.next,Home:t.first,End:t.last}[y.key];if(!Z)return;let{selectedId:W}=t.getState(),v=Z({activeId:W});v&&(y.preventDefault(),t.move(v))});return i=Le(i,y=>(0,vz.jsx)(jR,{value:t,children:y}),[t]),i={role:"tabpanel","aria-labelledby":i["aria-label"]!=null?void 0:b||void 0,...i,id:s,children:c&&!G?null:i.children,ref:Me(a,i.ref),onKeyDown:f},i=Yo({focusable:!t.composite&&!H,...i}),i=Cs({store:X,...i}),i=cG({store:t.panels,...i,getItem:R}),i}),zu=te(function(t){let c=Hue(t);return ne(Rue,c)});var uG=Jt([Hz],[ku]),Vz=uG.useContext,SNe=uG.useScopedContext,mG=uG.useProviderContext,Tu=uG.ContextProvider,Wd=uG.ScopedContextProvider;var XG=u(E(),1),ANe=(0,XG.createContext)(null),GG=Jt([Tu,bl],[Wd,yn]),Cz=GG.useContext,ONe=GG.useScopedContext,$R=GG.useProviderContext,QNe=GG.ContextProvider,UNe=GG.ScopedContextProvider,ENe=(0,XG.createContext)(void 0),LNe=(0,XG.createContext)(!1),DNe=(0,XG.createContext)(null);function Fz(e,t,c){return Qn(t,[c.store,t]),mt(e,c,"items","setItems"),e}function gG(e){return{id:Ft(e.id),...e}}function zo(e,t,c){e=Fz(e,t,c),Bs(e),mt(e,c,"activeId","setActiveId");let n={compositeElementInFocusOrder:c.compositeElementInFocusOrder??c.includesBaseElement};return mt(e,n,"compositeElementInFocusOrder"),mt(e,c,"virtualFocus"),mt(e,c,"orientation"),mt(e,c,"rtl"),mt(e,c,"focusLoop"),mt(e,c,"focusWrap"),mt(e,c,"focusShift"),e}function Au(e={}){e=gG(e);let[t,c]=nc(lo,e);return zo(t,c,e)}var iv=u(E(),1),xG=Jt([Tu,bl],[Wd,yn]),Fs=xG.useContext,Jz=xG.useScopedContext,Js=xG.useProviderContext,o3e=xG.ContextProvider,eH=xG.ScopedContextProvider,tH=(0,iv.createContext)(!1),rv=(0,iv.createContext)(null);var Nz=u(E(),1);function Iue(e){let t=e[0]?.element;if(!t)return;let c=Rc(t);if(c)return e.find(n=>n.element===c)}function Zue(e,t){if(t!=null)return e.find(c=>c.id===t)}function cH(e){return!(!e||e.disabled||e.dimmed)}function fue(){let e=OR(),t=new Map;return lt(e,["items"],c=>{t.clear();for(let n of c.items){let{tabId:l}=n;l!=null&&(t.has(l)||t.set(l,n))}}),{panels:e,panel:c=>c==null?null:t.get(c)||null}}function Yz({composite:e,combobox:t,...c}={}){let n=["items","renderedItems","moves","orientation","virtualFocus","compositeElementInFocusOrder","includesBaseElement","compositeElement","baseElement","focusLoop","focusShift","focusWrap","selectOnMove"],l=fd(c.store,No(e,n),No(t,n)),o=l?.getState(),d=lo({...c,store:l,compositeElementInFocusOrder:Je(c.compositeElementInFocusOrder,c.includesBaseElement,o?.compositeElementInFocusOrder,o?.includesBaseElement,!1),orientation:Je(c.orientation,o?.orientation,"horizontal"),focusLoop:Je(c.focusLoop,o?.focusLoop,!0)}),{panels:i,panel:r}=fue(),a={...d.getState(),selectedId:Je(c.selectedId,o?.selectedId,c.defaultSelectedId),selectOnMove:Je(c.selectOnMove,o?.selectOnMove,!0)},s=Tt(a,d,l);Dt(s,()=>lt(s,["moves"],()=>{let{activeId:G,selectOnMove:g}=s.getState();if(!g||!G)return;let x=d.item(G);cH(x)&&s.setState("selectedId",x.id)}));let b=!1,m;Dt(s,()=>(b=!1,Wi(s,["selectedId"],(G,g)=>{if(b&&(b=!1,G.selectedId===m)||e&&G.selectedId===g.selectedId)return;let{activeId:x,renderedItems:H}=s.getState();if(x===G.selectedId)return;let p=Iue(H),R=Zue(H,G.selectedId);if(p&&cH(R)){d.move(R.id);return}s.setState("activeId",G.selectedId)}))),Dt(s,()=>lt(s,["selectedId","renderedItems"],G=>{if(G.selectedId!==void 0)return;let{activeId:g,renderedItems:x}=s.getState(),H=d.item(g);if(cH(H))s.setState("selectedId",H.id);else{let p=x.find(cH);s.setState("selectedId",p?.id)}})),Dt(s,()=>lt(s,["renderedItems"],G=>{let g=G.renderedItems;if(g.length)return lt(i,["renderedItems"],x=>{let H=x.renderedItems;H.some(p=>!p.tabId)&&H.forEach((p,R)=>{if(p.tabId)return;let I=g[R];I&&i.renderItem({...p,tabId:I.id})})})}));let X=null;return Dt(s,()=>{let G=()=>{X=s.getState().selectedId},g=()=>{let{selectedId:p}=s.getState();p!==X&&(b=!0,m=X,s.setState("selectedId",X))},x=!!e&&"setSelectedValue"in e,H=x?e:t;if(e&&!x&&"setSelectElement"in e)return It(lt(e,["value"],G),lt(e,["mounted"],g));if(H)return It(lt(H,["selectedValue"],G),lt(H,["mounted"],g))}),{...d,...s,panels:i,panel:r,setSelectedId:G=>s.setState("selectedId",G),select:G=>{s.setState("selectedId",G),d.move(G)}}}function Wue(e,t,c){Qn(t,[c.composite,c.combobox,t]);let n=zo(e,t,c);mt(n,c,"selectedId","setSelectedId"),mt(n,c,"selectOnMove");let[l,o]=nc(()=>n.panels,{});return Qn(o,[n,o]),Object.assign((0,Nz.useMemo)(()=>({...n,panels:l}),[n,l]),{composite:c.composite,combobox:c.combobox})}function Ou(e={}){let t=Cz(),c=Fs()||t,n={...e,composite:e.composite!==void 0?e.composite:c,combobox:e.combobox!==void 0?e.combobox:t},[l,o]=nc(Yz,n);return Wue(l,o,n)}var pG=Jt([bl],[yn]),av=pG.useContext,y3e=pG.useScopedContext,Sz=pG.useProviderContext,W3e=pG.ContextProvider,wz=pG.ScopedContextProvider;function kz(e={}){let t=e.store?.getState();return lo({...e,orientation:Je(e.orientation,t?.orientation,"horizontal"),focusLoop:Je(e.focusLoop,t?.focusLoop,!0)})}function Bue(e,t,c){return zo(e,t,c)}function Qu(e={}){let[t,c]=nc(kz,e);return Bue(t,c,e)}var zz=u(F(),1);var vue="div",Vue=ce(function({store:t,orientation:c,virtualFocus:n,focusLoop:l,rtl:o,...d}){let i=Sz();t=t||i;let r=Qu({store:t,orientation:c,virtualFocus:n,focusLoop:l,rtl:o}),a=$(r,["orientation"],s=>s.orientation==="both"?void 0:s.orientation);return d=Le(d,s=>(0,zz.jsx)(wz,{value:r,children:s}),[r]),d={role:"toolbar","aria-orientation":a,...d},d=ko({store:r,...d}),d}),nH=te(function(t){let c=Vue(t);return ne(vue,c)});var Cue="button",Fue=ce(function({store:t,...c}){let n=av();return t=t||n,c=wo({store:t,...c}),c}),lH=mc(te(function(t){let c=Fue(vc(t));return ne(Cue,c)}));var Jue="hr",sv=ce(function({orientation:t="horizontal",...c}){return c={role:"separator","aria-orientation":t,...c},c}),oH=te(function(t){let c=sv(t);return ne(Jue,c)});var Yue="hr",bv=ce(function({store:t,orientation:c,...n}){let l=Zd();t=t||l,ke(t,!1);let o=$(t,["orientation"],d=>c??(d.orientation==="horizontal"?"vertical":"horizontal"));return n=sv({...n,orientation:o}),n}),Nue=te(function(t){let c=bv(t);return ne(Yue,c)});var Tz=u(F(),1),Sue="div",uv=ce(function({autoFocusOnShow:t=!0,...c}){return c=Le(c,n=>(0,Tz.jsx)(xR.Provider,{value:t,children:n}),[t]),c}),nSe=te(function(t){let c=uv(t);return ne(Sue,c)});var Az=u(E(),1),mv=(0,Az.createContext)(0);var Oz=u(E(),1),Qz=u(F(),1);function Uz({level:e,children:t}){let c=(0,Oz.useContext)(mv),n=Math.max(Math.min(e||c+1,6),1);return(0,Qz.jsx)(mv.Provider,{value:n,children:t})}var wue="span";function RG(e){return{borderWidth:0,clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px",...e}}var Xv=ce(function(t){return t={...t,style:RG(t.style)},t}),aSe=te(function(t){let c=Xv(t);return ne(wue,c)});var kue="span",zue=ce(function(t){return t={"data-focus-trap":"",tabIndex:0,"aria-hidden":!0,...t,style:{position:"fixed",top:0,left:0,...t.style}},t=Xv(t),t}),HG=te(function(t){let c=zue(t);return ne(kue,c)});var Ez=u(E(),1),Gv=(0,Ez.createContext)(null);var Un=u(E(),1),Wn=u(F(),1),gv=u(io(),1),Tue="div";function Lz(e){let t=nt(e),{fullscreenElement:c}=t,n=Zn(e).HTMLElement;return n&&c instanceof n?c:t.body}function Aue(e,t){return t?typeof t=="function"?t(e):t:nt(e).createElement("div")}function Oue(e="id"){return`${e?`${e}-`:""}${Math.random().toString(36).slice(2,8)}`}function Ar(e){queueMicrotask(()=>{e?.focus()})}function Dz(e,t){return{ref:e,node:t,cleanup:$X(e,t)}}function _z(e){typeof e.cleanup=="function"?e.cleanup():$X(e.ref,null)}var xv=ce(function({preserveTabOrder:t,preserveTabOrderAnchor:c,portalElement:n,portalRef:l,portal:o=!0,...d}){let i=(0,Un.useRef)(null),r=Me(i,d.ref),a=(0,Un.useContext)(Gv),[s,b]=(0,Un.useState)(null),[m,X]=(0,Un.useState)(null),G=(0,Un.useRef)(null),g=(0,Un.useRef)(null),x=(0,Un.useRef)(null),H=(0,Un.useRef)(null),p=Wu(l),R=(0,Un.useRef)(null);return Ue(()=>{let I=i.current;if(!I||!o){b(null);return}let f=Aue(I,n);if(!f){b(null);return}let y=f.isConnected;return y||(a||Lz(I)).appendChild(f),f.id||(f.id=I.id?`portal/${I.id}`:Oue()),b(f),R.current=Dz(p.current,f),()=>{let Z=R.current;Z&&(R.current=null,_z(Z)),y||f.remove()}},[o,n,a,p]),Ue(()=>{let I=R.current;I&&I.ref!==l&&(_z(I),R.current=Dz(l,I.node))},[l]),(0,Un.useEffect)(()=>{if(!s||a||n)return;let I=nt(s),f=()=>{let y=Lz(s);s.parentElement!==y&&y.appendChild(s)};return s.isConnected&&f(),I.addEventListener("fullscreenchange",f),()=>{I.removeEventListener("fullscreenchange",f)}},[s,a,n]),Ue(()=>{if(!o||!t||!c)return;let I=nt(c).createElement("span");return I.style.position="fixed",c.insertAdjacentElement("afterend",I),X(I),()=>{I.remove(),X(null)}},[o,t,c]),(0,Un.useEffect)(()=>{if(!s||!t)return;let I=0,f=y=>{if(!Id(y))return;let Z=y.type==="focusin";if(cancelAnimationFrame(I),Z)return Gk(s);I=requestAnimationFrame(()=>{Xk(s,!0)})};return s.addEventListener("focusin",f,!0),s.addEventListener("focusout",f,!0),()=>{cancelAnimationFrame(I),s.removeEventListener("focusin",f,!0),s.removeEventListener("focusout",f,!0)}},[s,t]),d=Le(d,I=>{if(I=(0,Wn.jsx)(Gv.Provider,{value:s||a,children:I}),!o)return I;if(!s)return(0,Wn.jsx)("span",{ref:r,id:d.id,style:{position:"fixed"},hidden:!0});I=(0,Wn.jsxs)(Wn.Fragment,{children:[t&&(0,Wn.jsx)(HG,{ref:g,"data-focus-trap":d.id,className:"__focus-trap-inner-before",onFocus:y=>{Id(y,s)?Ar(JR()):Ar(G.current)}}),I,t&&(0,Wn.jsx)(HG,{ref:x,"data-focus-trap":d.id,className:"__focus-trap-inner-after",onFocus:y=>{Id(y,s)?Ar(UB()):Ar(H.current)}})]}),I=(0,gv.createPortal)(I,s);let f=(0,Wn.jsxs)(Wn.Fragment,{children:[t&&(0,Wn.jsx)(HG,{ref:G,"data-focus-trap":d.id,className:"__focus-trap-outer-before",onFocus:y=>{y.relatedTarget!==H.current&&Id(y,s)?Ar(g.current):Ar(UB())}}),t&&(0,Wn.jsx)("span",{"aria-owns":s.id,style:{position:"fixed"}}),t&&(0,Wn.jsx)(HG,{ref:H,"data-focus-trap":d.id,className:"__focus-trap-outer-after",onFocus:y=>{if(Id(y,s))Ar(x.current);else{let Z=JR();if(Z===g.current){requestAnimationFrame(()=>JR()?.focus());return}Ar(Z)}}})]});return m&&t&&(f=(0,gv.createPortal)(f,m)),(0,Wn.jsxs)(Wn.Fragment,{children:[f,I]})},[s,a,o,d.id,t,m]),d={...d,ref:r},d}),RSe=te(function(t){let c=xv(t);return ne(Tue,c)});function dH(e,...t){if(!e)return!1;let c=e.getAttribute("data-backdrop");return c==null?!1:c===""||c==="true"||!t.length?!0:t.some(n=>c===n)}var jz=new WeakMap;function Que(e,t,c){for(;c.length;){let n=c[c.length-1];if(!n){e.delete(t);return}if(!n.disposed)return;c.pop(),n.cleanup()}e.delete(t)}function Uu(e,t,c){let n=jz.get(e);n||(n=new Map,jz.set(e,n));let l=n.get(t)??[],o={cleanup:c(),disposed:!1};return l.length||n.set(t,l),l.push(o),()=>{l.includes(o)&&(o.disposed=!0,Que(n,t,l))}}function IG(e,t,c){return Uu(e,t,()=>{let l=e.getAttribute(t);return e.setAttribute(t,c),()=>{l==null?e.removeAttribute(t):e.setAttribute(t,l)}})}function hd(e,t,c){return Uu(e,t,()=>{let l=t in e,o=e[t];return e[t]=c,()=>{l?e[t]=o:delete e[t]}})}function Eu(e,t){return e?Uu(e,"style",()=>{let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}):()=>{}}function ZG(e,t,c){return e?Uu(e,t,()=>{let l=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);return e.style.setProperty(t,c),()=>{l?e.style.setProperty(t,l,o):e.style.removeProperty(t)}}):()=>{}}var iH=new WeakMap;function Lu(e="",t="outside"){return`__ariakit-dialog-${t}${e?`-${e}`:""}`}function Mz(e,t=""){return It(hd(e,Lu(),!0),hd(e,Lu(t),!0))}function rH(e,t=""){return It(hd(e,Lu("","ancestor"),!0),hd(e,Lu(t,"ancestor"),!0))}function pv(e,t){let c=new WeakSet;iH.set(e,c);for(let n of t)n&&c.add(n);return()=>{iH.get(e)===c&&iH.delete(e)}}function fG(e,t){let c=iH.get(t);if(!c)return!1;do{if(c.has(e))return!0;if(!e.parentElement)return!1;e=e.parentElement}while(!0)}function Ys(e,t){let c=Lu(t,"ancestor");if(e[c])return!0;let n=Lu(t);do{if(e[n])return!0;if(!e.parentElement)return!1;e=e.parentElement}while(!0)}function aH({cleanups:e,element:t,id:c,ids:n}){dH(t,...n)||e.push(Mz(t,c))}function sH({cleanups:e,ancestor:t,element:c,id:n}){c.hasAttribute("data-dialog")&&c.id!==n||e.push(rH(t,n))}function bH(e){for(let t=e.length-1;t>=0;t-=1)e[t]?.()}var Uue=["SCRIPT","STYLE"];function Rv(e){return`__ariakit-dialog-snapshot-${e}`}function Eue(e,t){let c=nt(t),n=Rv(e);if(!c.body[n])return!0;do{if(t===c.body)return!1;if(t[n])return!0;if(!t.parentElement)return!1;t=t.parentElement}while(!0)}function Lue(e,t,c){return Uue.includes(t.tagName)||!Eue(e,t)?!1:!c.some(n=>n&&Ct(t,n))}function yG(e,t,c,n){for(let l of t){if(!l?.isConnected)continue;let o=t.some(r=>!r||r===l?!1:r.contains(l)),d=nt(l),i=l;for(;l.parentElement&&l!==d.body;){if(n?.(l.parentElement,i),!o)for(let r of l.parentElement.children)Lue(e,r,t)&&c(r,i);l=l.parentElement}}}function Pz(e,t){let{body:c}=nt(t[0]),n=[];return yG(e,t,o=>{n.push(hd(o,Rv(e),!0))}),It(hd(c,Rv(e),!0),()=>{for(let o of n)o()})}function Kz(e,t){let c=[],n=t.map(o=>o?.id);return yG(e,t,o=>{aH({cleanups:c,element:o,id:e,ids:n})},(o,d)=>{sH({cleanups:c,ancestor:o,element:d,id:e})}),()=>{bH(c)}}var Due="div",_ue=["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"],NSe=ce(function(t){return t}),Bd=te(function(t){return ne(Due,t)});Object.assign(Bd,_ue.reduce((e,t)=>(e[t]=te(function(n){return ne(t,n)}),e),{}));var mH=u(E(),1),uH=u(F(),1);function qz({store:e,backdrop:t,backdropRef:c,alwaysVisible:n,hidden:l}){let o=(0,mH.useRef)(null),d=Tr({disclosure:e}),i=$(e,"contentElement");Ue(()=>{let s=o.current,b=i;s&&b&&(s.style.zIndex=getComputedStyle(b).zIndex)},[i]),Ue(()=>{let s=i?.id;if(!s)return;let b=o.current;if(b)return rH(b,s)},[i]);let r=Cs({ref:Me(o,c),store:d,role:"presentation","data-backdrop":i?.id||"",alwaysVisible:n,...l!=null&&{hidden:l},style:{position:"fixed",top:0,right:0,bottom:0,left:0}});return t?(0,mH.isValidElement)(t)?(0,uH.jsx)(Bd,{...r,render:t}):(0,uH.jsx)(Bd,{...r,render:(0,uH.jsx)(typeof t!="boolean"?t:"div",{})}):null}function XH(e={}){return qR(e)}function Hv(e,t,c){return dv(e,t,c)}function Iv(e={}){let[t,c]=nc(XH,e);return Hv(t,c,e)}function Ns(e,...t){if(!e)return!1;let c=e.getAttribute("data-dialog-hidden-dismiss");return c==null?!1:c===""||!t.length?!0:t.some(n=>c===n)}function GH(){return"inert"in HTMLElement.prototype}function $z(e){return IG(e,"aria-hidden","true")}function eT(e,...t){if(!e)return!1;let c=e.getAttribute("data-focus-trap");return c==null?!1:t.length?c===""?!1:t.some(n=>c===n):!0}function Zv(e,t){if(!("style"in e))return xs;if(GH())return hd(e,"inert",!0);let c=FR(e,!0).map(n=>{if(t?.some(o=>o&&Ct(o,n)))return xs;let l=Uu(n,"focus",()=>(n.focus=xs,()=>{delete n.focus}));return It(IG(n,"tabindex","-1"),l)});return It(...c,$z(e),Eu(e,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}function Mue({cleanups:e,element:t,elements:c,ids:n}){dH(t,...n)||eT(t,...n)||Ns(t,...n)||e.push(Zv(t,c))}function Pue(e,t,c){t.hasAttribute("role")&&(c.some(n=>n&&Ct(n,t))||e.push(IG(t,"role","none")))}function tT(e,t){let c=[],n=t.map(o=>o?.id);return yG(e,t,o=>{aH({cleanups:c,element:o,id:e,ids:n}),Mue({cleanups:c,element:o,elements:t,ids:n})},(o,d)=>{sH({cleanups:c,ancestor:o,element:d,id:e}),Pue(c,o,t)}),()=>{bH(c)}}var gH=u(E(),1);function fv(e){let t=[e];for(;;){let c;try{c=Zn(e).frameElement}catch{return t}if(!Tc(c))return t;t.push(c),e=c}}function yv(e,t){let c=e.composedPath().filter(Tc);!c.length&&Tc(e.target)&&c.push(e.target);let n=c[0];if(n)for(let o of fv(n).slice(1))c.includes(o)||c.push(o);let l=t?.getRootNode();return{elements:c,rootTarget:l?c.find(o=>o.getRootNode()===l)||e.target:c[0]||e.target}}function cT(e,t,c){let n=(0,gH.useRef)(null);return(0,gH.useEffect)(()=>{if(!e){n.current=null;return}return Kt("mousedown",o=>{n.current=yv(o,c)},!0,t)},[e,t,c]),n}var xH=u(E(),1);function lT(e){let t=fv(e).at(-1);return Zn(t??e)}function nT(e){return e.isConnected}function Kue(e,t){if(!e)return!1;if(Ct(e,t))return!0;let c=t.getAttribute("aria-activedescendant");if(c){let n=nt(t).getElementById(c);if(n)return Ct(e,n)}return!1}function que(e,t){if(!("clientY"in e))return!1;let c=t.getBoundingClientRect();return c.width===0||c.height===0?!1:c.top<=e.clientY&&e.clientY<=c.top+c.height&&c.left<=e.clientX&&e.clientX<=c.left+c.width}function $ue(e,t,c){return Ct(t,e)||Kue(c,e)||e.hasAttribute("data-focus-trap")||Ns(e,t.id)?!0:fG(e,t)}function oT(e,t,c){return e.elements.some(n=>$ue(n,t,c))}function Wv({store:e,type:t,listener:c,capture:n,open:l,contentElement:o,focusedRef:d}){let i=ge(c);(0,xH.useEffect)(()=>{if(!l)return;let r=s=>{let{contentElement:b,disclosureElement:m}=e.getState();if(!b)return;let X=yv(s,b),G=X.elements[0],g=X.rootTarget;if(!Tc(g)||G&&!nT(G)||!nT(g)||oT(X,b,m))return;let x=nt(b);if(nt(g)!==x){i(s);return}nt(G??g)===x&&que(s,b)||d.current&&!Ys(g,b.id)||i(s)},a=o?lT(o):void 0;return Kt(t,r,n,a)},[l,n,e,t,i,o,d])}function hv(e,t){return typeof e=="function"?e(t):!!e}function dT({store:e,hideOnInteractOutside:t,domReady:c,interactedOutsideRef:n,focusedStoreRef:l}){let o=$(e,"open"),d=$(e,"contentElement"),i=d?lT(d):void 0,r=cT(o,i,d),a=(0,xH.useRef)(!1);Ue(()=>{if(!o||!c||!d)return;a.current=!1;let b=()=>{a.current=!0,l.current=e};return d.addEventListener("focusin",b,!0),()=>d.removeEventListener("focusin",b,!0)},[o,c,d,e,l]);let s={store:e,capture:!0,open:o,contentElement:d,focusedRef:a};Wv({...s,type:"click",listener:b=>{let{contentElement:m,disclosureElement:X}=e.getState(),G=r.current;if(!G||!m||oT(G,m,X))return;let g=G.rootTarget;Tc(g)&&(nt(g)===nt(m)&&!Ys(g,m.id)||hv(t,b)&&(n.current=!0,e.hide()))}}),Wv({...s,type:"focusin",listener:b=>{let{contentElement:m}=e.getState();if(!m||b.target===nt(m)||!hv(t,b))return;let X=b.target;Tc(X)&&nt(X)!==nt(m)&&(n.current=!0),e.hide()}}),Wv({...s,type:"contextmenu",listener:b=>{hv(t,b)&&(n.current=!0,e.hide())}})}var To=u(E(),1),rT=u(F(),1);var iT=(0,To.createContext)({});function aT(e){let t=(0,To.useContext)(iT),[c,n]=(0,To.useState)([]),l=(0,To.useCallback)(d=>(n(i=>[...i,d]),It(t.add?.(d),()=>{n(i=>i.filter(r=>r!==d))})),[t]);Ue(()=>lt(e,["open","contentElement"],d=>{if(d.open&&d.contentElement)return t.add?.(e)}),[e,t]);let o=(0,To.useMemo)(()=>({store:e,add:l}),[e,l]);return{wrapElement:(0,To.useCallback)(d=>(0,rT.jsx)(iT.Provider,{value:o,children:d}),[o]),nestedDialogs:c}}var sT=u(E(),1),bT=u(io(),1);function uT({attribute:e,contentId:t,contentElement:c,enabled:n}){let[l,o]=vu(),d=(0,sT.useCallback)(()=>{if(!n||!c)return!1;let{body:i}=nt(c),r=i.getAttribute(e);return!r||r===t},[l,n,c,e,t]);return Ue(()=>{if(!n||!t||!c)return;let{body:i}=nt(c);if(d())return i.setAttribute(e,t),()=>i.removeAttribute(e);let r=new MutationObserver(()=>(0,bT.flushSync)(o));return r.observe(i,{attributeFilter:[e]}),()=>r.disconnect()},[l,n,t,c,d,e,o]),d}var XT=u(E(),1),GT=WR()&&!rk(),eme=GT?XT.useEffect:Ue;function tme(e){let{CSS:t}=e;return!!t?.supports("scrollbar-gutter","stable")}function mT(e){let t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function gT(e,t,c){let n=uT({attribute:"data-dialog-prevent-body-scroll",contentElement:e,contentId:t,enabled:c});eme(()=>{if(!n()||!e)return;let l=nt(e),o=Zn(e),{documentElement:d,body:i}=l,r=d.style.getPropertyValue("--scrollbar-width"),a=r?Number.parseInt(r,10):o.innerWidth-d.clientWidth,s=()=>{let X=o.getComputedStyle(d),G=X.getPropertyValue("scrollbar-gutter"),g=G.includes("stable"),x=I=>!I||I==="visible",H=!x(X.getPropertyValue("overflow-x"))||!x(X.getPropertyValue("overflow-y")),p=()=>It(ZG(d,"overflow-x","hidden"),ZG(d,"overflow-y","hidden")),R=I=>H?It(I,p()):I;return!g&&!a?R(Eu(i,{overflow:"hidden"})):g||tme(o)?It(ZG(d,"scrollbar-gutter",g?G:"stable"),p()):R(It(ZG(d,"--scrollbar-width",`${a}px`),Eu(i,{overflow:"hidden",[mT(d)]:`${a}px`})))},b=()=>{let{scrollX:X,scrollY:G,visualViewport:g}=o,x=g?.offsetLeft??0,H=g?.offsetTop??0,p=Eu(i,{position:"fixed",overflow:"hidden",top:`${-(G-Math.floor(H))}px`,left:`${-(X-Math.floor(x))}px`,right:"0",[mT(d)]:`${a}px`});return()=>{p(),o.scrollTo({left:X,top:G,behavior:"instant"})}};if(GT)return b();let m=s();return()=>{queueMicrotask(m)}},[n,e])}var ic=u(E(),1),dn=u(F(),1);var RT=new WeakSet;function cme(e){RT.add(e)}function vv(e){return RT.has(e)}var nme="div",lme=hR(),Bv=new WeakSet;function ome(e){let t=Rc(e);return!t||e&&Ct(e,t)||Ns(t,e?.id)?!1:!!Ac(t)}function dme(e){let t=e;for(;t.shadowRoot;){let c=t.shadowRoot.activeElement;if(!Tc(c))break;t=c}return t}function xT(e,t,c){return Ct(t,e)||c&&Ct(c,e)?!0:fG(e,t)}function ime(e){let t=e.querySelectorAll("[data-dialog-dismiss]");for(let c of t)if(c.closest("[data-dialog]")===e)return!0;return!1}function pT(e,t=!1){if(!e)return null;let c="current"in e?e.current:e;return c?t?Ac(c)?c:null:c:null}function rme(e){if(!e.isConnected)return[];let t=e.getRootNode(),c=t.querySelectorAll("[data-dialog][data-dialog-portal][data-open]"),n=[],l=!1;for(let o of c){if(o===e){l=!0;continue}if(!l)continue;let d=o.getAttribute("data-dialog-portal");if(!d)continue;let i=t.getElementById(d);!i||!Ct(i,o)||Bv.has(i)||n.push(i)}return n}var Vv=ce(function({store:t,open:c,onClose:n,focusable:l=!0,modal:o=!0,portal:d=o,backdrop:i=o,hideOnEscape:r=!0,hideOnInteractOutside:a=!0,getPersistentElements:s,preventBodyScroll:b=o,autoFocusOnShow:m=!0,autoFocusOnHide:X=!0,initialFocus:G,finalFocus:g,unmountOnHide:x,unstable_treeSnapshotKey:H,...p}){let R=vs(),I=(0,ic.useRef)(null),f=(0,ic.useRef)(null),y=o&&d&&!p.portalElement,Z=Iv({store:t||R,open:c,setOpen(le){if(le)return;let Fe=I.current;if(!Fe)return;let Qe=new Event("close",{bubbles:!1,cancelable:!0});n&&Fe.addEventListener("close",n,{once:!0}),Fe.dispatchEvent(Qe),Qe.defaultPrevented&&Z.setOpen(!0)}}),{portalRef:W,portalNode:v,domReady:h}=Vu(d,p.portalRef),C=p.preserveTabOrder,B=$(Z,["mounted"],le=>C&&!o&&le.mounted),V=Ft(p.id),S=$(Z,"open"),Y=$(Z,"mounted"),J=$(Z,"contentElement"),k=vi(Y,p.hidden,p.alwaysVisible);gT(J,V,b&&!k);let N=(0,ic.useRef)(!1),A=(0,ic.useRef)(null);Ue(()=>lt(Z,["open"],le=>{if(!le.open){A.current=null;return}N.current=!1,A.current!==Z&&(A.current=null)}),[Z]),dT({store:Z,hideOnInteractOutside:a,domReady:h,interactedOutsideRef:N,focusedStoreRef:A});let{wrapElement:Q,nestedDialogs:z}=aT(Z);p=Le(p,Q,[Q]);let D=(0,ic.useRef)(null);lme&&(0,ic.useEffect)(()=>{if(!h)return;let le=I.current;if(!le)return;let Fe=nt(le),Qe=he=>{D.current=he.target};return Fe.addEventListener("mousedown",Qe,!0),()=>{Fe.removeEventListener("mousedown",Qe,!0)}},[h]),Ue(()=>{if(!S||A.current===Z)return;let le=I.current;if((()=>{let{disclosureElement:Ke}=Z.getState();return!(!Ke||vv(Ke)||!Ke.isConnected||le&&Ct(le,Ke))})())return;let Qe=Ke=>{cme(Ke),Z.setDisclosureElement(Ke)},he=Rc(le,{activeDescendant:!0});if(he){if(he.tagName==="BODY"){let Ke=D.current;if(D.current=null,!Ke?.isConnected||!Ac(Ke)||le&&Ct(le,Ke))return;Qe(Ke);return}le&&Ct(le,he)||Qe(he)}},[Z,S]),(0,ic.useEffect)(()=>{if(!Y||!h)return;let le=I.current;if(!le)return;let Fe=Zn(le),Qe=Fe.visualViewport||Fe,he=()=>{let Ke=Fe.visualViewport?.height??Fe.innerHeight;le.style.setProperty("--dialog-viewport-height",`${Ke}px`)};return he(),Qe.addEventListener("resize",he),()=>{Qe.removeEventListener("resize",he)}},[Y,h]);let[U,O]=(0,ic.useState)(!1);Ue(()=>{if(!(o&&S&&h)||!J){O(!1);return}let le=()=>{O(!ime(J))};le();let{MutationObserver:Fe}=Zn(J),Qe=new Fe(le);return Qe.observe(J,{childList:!0,subtree:!0}),()=>Qe.disconnect()},[o,S,h,J]),Ue(()=>{if(!GH()||S||!Y||!h)return;let le=I.current;if(le)return Zv(le)},[S,Y,h]);let L=S&&h,M=(0,ic.useRef)(null);Ue(()=>{if(!V||!y||!L||!v){M.current=null;return}let le=I.current;if(!le||!Ct(v,le)){M.current=null;return}return M.current?.portal!==v&&(M.current={portal:v,peers:rme(le)}),Bv.add(v),()=>{Bv.delete(v)}},[V,L,y,v]),Ue(()=>{if(!V||!L)return;let le=I.current;return Pz(V,[le])},[V,L,H]);let _=ge(s);Ue(()=>{if(!V||!L)return;let{disclosureElement:le}=Z.getState(),Fe=J??I.current;if(!Fe)return;let Qe=[Fe,..._()||[],...M.current?.peers||[],...z.map(Ke=>Ke.getState().contentElement)],he=pv(Fe,Qe);return o?It(he,tT(V,Qe)):It(he,Kz(V,[le,...Qe]))},[V,Z,L,J,o,y,_,z,H]);let j=!!m,ue=Wt(m),[xe,Be]=(0,ic.useState)(!1);(0,ic.useEffect)(()=>{if(!S||!j||!h||!J?.isConnected)return;let le=pT(G,!0)||J.querySelector("[data-autofocus=true],[autofocus]")||Zu(J,!0,d&&B)||J,Fe=Ac(le);ue(Fe?le:null)&&(Be(!0),queueMicrotask(()=>{let{open:Qe,disclosureElement:he}=Z.getState();if(!Qe)return;let Ke=Rc(J,{frame:!1}),ut=Ke&&dme(Ke);A.current===Z&&Ke&&ut&&Ac(ut)&&!xT(Ke,J,he)&&!xT(ut,J,he)||(Ac(le)&&le.scrollIntoView({block:"nearest",inline:"nearest"}),le.focus({preventScroll:!0}))}))},[S,j,h,J,G,d,B,Z,ue,A]);let P=!!X,ye=Wt(X),[Te,ze]=(0,ic.useState)(!1);Ue(()=>{if(S)return ze(!0),()=>ze(!1)},[S]);let Ne=(0,ic.useCallback)((le,Fe=!0)=>{if(N.current)return;let{disclosureElement:Qe}=Z.getState();if(ome(le))return;let he=pT(g)||Qe;if(he?.id){let ut=nt(he),kt=`[aria-activedescendant="${he.id}"]`,al=ut.querySelector(kt);al&&(he=al)}if(he&&!Ac(he)){let ut=he.closest("[data-dialog]");if(ut?.id){let kt=nt(ut),al=`[aria-controls~="${ut.id}"]`,$e=kt.querySelector(al);$e&&(he=$e)}}let Ke=he&&Ac(he);if(!Ke&&Fe){requestAnimationFrame(()=>Ne(le,!1));return}ye(Ke?he:null)&&Ke&&he?.focus()},[Z,g,ye]),He=(0,ic.useRef)(!1);Ue(()=>{if(S||!Te||!P)return;let le=I.current;He.current=!0,Ne(le)},[S,Te,h,P,Ne]),(0,ic.useEffect)(()=>{if(!Te||!P)return;let le=I.current;return()=>{if(He.current){He.current=!1;return}Ne(le)}},[Te,P,Ne]);let we=Wt(r),[pe]=(0,ic.useState)(()=>new WeakMap),ve=p.onKeyDown,Ve=p.onKeyDownCapture,qe=p.onFocusCapture,Vt=ge(le=>{if(qe?.(le),!Z.getState().open)return;let Fe=le.target;qX(Fe)&&Ct(le.currentTarget,Fe)&&(A.current=Z)}),Ge=ge(le=>{if(le.key!=="Escape"||!le.bubbles)return!1;let Fe=pe.get(le);if(Fe)return le.defaultPrevented&&!Fe.defaultPrevented?!1:Fe.accepted;if(le.defaultPrevented)return!1;let Qe=I.current;if(!Y||!Qe||Ys(Qe))return!1;let he=we(le);return pe.set(le,{accepted:he,defaultPrevented:le.defaultPrevented}),he}),We=ge(le=>{let Fe=Ge(le);return pe.delete(le),Fe?(Z.hide(),!0):!1}),se=ge(le=>{let Fe=le.nativeEvent,Qe=Fe.cancelBubble;if(ve?.(le),Qe){pe.delete(Fe);return}We(Fe)&&le.stopPropagation()}),ee=ge(le=>{let Fe=le.nativeEvent,Qe=Fe.cancelBubble;if(Ve?.(le),Qe){pe.delete(Fe);return}(le.isPropagationStopped()||Fe.cancelBubble)&&We(Fe)});(0,ic.useEffect)(()=>{if(!h||!Y)return;let le=he=>{if(he.key!=="Escape"||!he.bubbles)return;if(he.cancelBubble){pe.delete(he);return}if(pe.has(he))return;let Ke=I.current;if(!Ke)return;let ut=he.target;if(!qX(ut))return;let{disclosureElement:kt}=Z.getState();(Tc(ut)&&ut.tagName==="BODY"||Ct(Ke,ut)||!kt||Ct(kt,ut)||Tc(ut)&&Ys(ut,Ke.id)||Tc(ut)&&Ns(ut,Ke.id))&&Ge(he)&&he.cancelBubble&&We(he)},Fe=he=>{if(pe.has(he)){if(he.cancelBubble){pe.delete(he);return}We(he)&&he.stopPropagation()}},Qe=J?Zn(J):void 0;return It(Kt("keydown",le,!0,Qe),Kt("keydown",Fe,!1,Qe))},[Z,h,Y,J,We,Ge,pe]),p=Le(p,le=>(0,dn.jsx)(Uz,{level:o?1:void 0,children:le}),[o]);let Ae=p.hidden,ot=p.alwaysVisible;p=Le(p,le=>(0,dn.jsxs)(dn.Fragment,{children:[U&&(0,dn.jsx)("button",{type:"button",tabIndex:-1,"data-dialog-hidden-dismiss":V||"",style:RG(),onClick:Z.hide,children:"Dismiss popup"}),le]}),[U,V,Z]),p=Le(p,le=>(0,dn.jsxs)(dn.Fragment,{children:[!!i&&(0,dn.jsx)(qz,{store:Z,backdrop:i,backdropRef:f,hidden:Ae,alwaysVisible:ot}),le]}),[Z,i,Ae,ot]);let[ft,Lt]=(0,ic.useState)(),[kc,Ye]=(0,ic.useState)();return p=Le(p,le=>(0,dn.jsx)(ku,{value:Z,children:(0,dn.jsx)(Iz.Provider,{value:Lt,children:(0,dn.jsx)(Zz.Provider,{value:Ye,children:le})})}),[Z]),p={"data-dialog":"",role:"dialog",tabIndex:l?-1:void 0,"aria-labelledby":p["aria-label"]!=null?void 0:ft,"aria-describedby":kc,...p,"data-dialog-portal":y?v?.id:void 0,id:V,ref:Me(I,p.ref),onFocusCapture:Vt,onKeyDown:se,onKeyDownCapture:ee},p=uv({...p,autoFocusOnShow:xe}),p=Cs({store:Z,...p,unstable_otherElementRef:f}),p=Yo({...p,focusable:l}),p=xv({portal:d,...p,portalRef:W,preserveTabOrder:B}),p});function Ao(e,t=vs){return te(function(n){let l=t(),o=n.store||l;return $(o,["mounted"],d=>!n.unmountOnHide||d?.mounted||!!n.open)?(0,dn.jsx)(e,{...n}):null})}var HT=Ao(te(function(t){let c=Vv(t);return ne(nme,c)}),vs),ame=te(function(t){let c=Iv({open:t.open});return(0,dn.jsx)(HT,{...t,store:c})}),Kwe=te(function(t){let c=vs();return t.store||c||!t.unmountOnHide?(0,dn.jsx)(HT,{...t}):(0,dn.jsx)(ame,{...t})});function vd(e){return e.split("-")[0]}var jT=u(E(),1),Nv=u(F(),1);var Vd=Math.min,Oo=Math.max,Or=Math.round,hG=Math.floor,Cd=e=>({x:e,y:e}),sme={left:"right",right:"left",bottom:"top",top:"bottom"};function BG(e,t,c){return Oo(e,Vd(t,c))}function Qo(e,t){return typeof e=="function"?e(t):e}function hn(e){return e.split("-")[0]}function Yl(e){return e.split("-")[1]}function RH(e){return e==="x"?"y":"x"}function Du(e){return e==="y"?"height":"width"}function ul(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function _u(e){return RH(ul(e))}function fT(e,t,c){c===void 0&&(c=!1);let n=Yl(e),l=_u(e),o=Du(l),d=l==="x"?n===(c?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(d=WG(d)),[d,WG(d)]}function yT(e){let t=WG(e);return[pH(e),t,pH(t)]}function pH(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var IT=["left","right"],ZT=["right","left"],bme=["top","bottom"],ume=["bottom","top"];function mme(e,t,c){switch(e){case"top":case"bottom":return c?t?ZT:IT:t?IT:ZT;case"left":case"right":return t?bme:ume;default:return[]}}function WT(e,t,c,n){let l=Yl(e),o=mme(hn(e),c==="start",n);return l&&(o=o.map(d=>d+"-"+l),t&&(o=o.concat(o.map(pH)))),o}function WG(e){let t=hn(e);return sme[t]+e.slice(t.length)}function Xme(e){var t,c,n,l;return{top:(t=e.top)!=null?t:0,right:(c=e.right)!=null?c:0,bottom:(n=e.bottom)!=null?n:0,left:(l=e.left)!=null?l:0}}function vG(e){return typeof e!="number"?Xme(e):{top:e,right:e,bottom:e,left:e}}function Ss(e){let{x:t,y:c,width:n,height:l}=e;return{width:n,height:l,top:c,left:t,right:t+n,bottom:c+l,x:t,y:c}}function hT(e,t,c){let{reference:n,floating:l}=e,o=ul(t),d=_u(t),i=Du(d),r=hn(t),a=o==="y",s=n.x+n.width/2-l.width/2,b=n.y+n.height/2-l.height/2,m=n[i]/2-l[i]/2,X;switch(r){case"top":X={x:s,y:n.y-l.height};break;case"bottom":X={x:s,y:n.y+n.height};break;case"right":X={x:n.x+n.width,y:b};break;case"left":X={x:n.x-l.width,y:b};break;default:X={x:n.x,y:n.y}}let G=Yl(t);return G&&(X[d]+=m*(G==="end"?1:-1)*(c&&a?-1:1)),X}async function BT(e,t){var c;t===void 0&&(t={});let{x:n,y:l,platform:o,rects:d,elements:i,strategy:r}=e,{boundary:a="clippingAncestors",rootBoundary:s="viewport",elementContext:b="floating",altBoundary:m=!1,padding:X=0}=Qo(t,e),G=vG(X),x=i[m?b==="floating"?"reference":"floating":b],H=Ss(await o.getClippingRect({element:(c=await(o.isElement==null?void 0:o.isElement(x)))==null||c?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:a,rootBoundary:s,strategy:r})),p=b==="floating"?{x:n,y:l,width:d.floating.width,height:d.floating.height}:d.reference,R=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),I=await(o.isElement==null?void 0:o.isElement(R))&&await(o.getScale==null?void 0:o.getScale(R))||{x:1,y:1},f=Ss(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:p,offsetParent:R,strategy:r}):p);return{top:(H.top-f.top+G.top)/I.y,bottom:(f.bottom-H.bottom+G.bottom)/I.y,left:(H.left-f.left+G.left)/I.x,right:(f.right-H.right+G.right)/I.x}}var Gme=50,vT=async(e,t,c)=>{let{placement:n="bottom",strategy:l="absolute",middleware:o=[],platform:d}=c,i=d.detectOverflow?d:{...d,detectOverflow:BT},r=await(d.isRTL==null?void 0:d.isRTL(t)),a=await d.getElementRects({reference:e,floating:t,strategy:l}),{x:s,y:b}=hT(a,n,r),m=n,X=0,G={};for(let g=0;g<o.length;g++){let x=o[g];if(!x)continue;let{name:H,fn:p}=x,{x:R,y:I,data:f,reset:y}=await p({x:s,y:b,initialPlacement:n,placement:m,strategy:l,middlewareData:G,rects:a,platform:i,elements:{reference:e,floating:t}});s=R??s,b=I??b,G[H]={...G[H],...f},y&&X<Gme&&(X++,typeof y=="object"&&(y.placement&&(m=y.placement),y.rects&&(a=y.rects===!0?await d.getElementRects({reference:e,floating:t,strategy:l}):y.rects),{x:s,y:b}=hT(a,m,r)),g=-1)}return{x:s,y:b,placement:m,strategy:l,middlewareData:G}},VT=e=>({name:"arrow",options:e,async fn(t){let{x:c,y:n,placement:l,rects:o,platform:d,elements:i,middlewareData:r}=t,{element:a,padding:s=0}=Qo(e,t)||{};if(a==null)return{};let b=vG(s),m={x:c,y:n},X=_u(l),G=Du(X),g=await d.getDimensions(a),x=X==="y",H=x?"top":"left",p=x?"bottom":"right",R=x?"clientHeight":"clientWidth",I=o.reference[G]+o.reference[X]-m[X]-o.floating[G],f=m[X]-o.reference[X],y=await(d.getOffsetParent==null?void 0:d.getOffsetParent(a)),Z=y?y[R]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(y)))&&(Z=i.floating[R]||o.floating[G]);let W=I/2-f/2,v=Z/2-g[G]/2-1,h=Vd(b[H],v),C=Vd(b[p],v),B=Z-g[G]-C,V=Z/2-g[G]/2+W,S=BG(h,V,B),Y=!r.arrow&&Yl(l)!=null&&V!==S&&o.reference[G]/2-(V<h?h:C)-g[G]/2<0,J=Y?V<h?V-h:V-B:0;return{[X]:m[X]+J,data:{[X]:S,centerOffset:V-S-J,...Y&&{alignmentOffset:J}},reset:Y}}});var CT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var c,n;let{placement:l,middlewareData:o,rects:d,initialPlacement:i,platform:r,elements:a}=t,{mainAxis:s=!0,crossAxis:b=!0,fallbackPlacements:m,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:G="none",flipAlignment:g=!0,...x}=Qo(e,t);if((c=o.arrow)!=null&&c.alignmentOffset)return{};let H=hn(l),p=ul(i),R=hn(i)===i,I=await(r.isRTL==null?void 0:r.isRTL(a.floating)),f=m||(R||!g?[WG(i)]:yT(i)),y=G!=="none";!m&&y&&f.push(...WT(i,g,G,I));let Z=[i,...f],W=await r.detectOverflow(t,x),v=[],h=((n=o.flip)==null?void 0:n.overflows)||[];if(s&&v.push(W[H]),b){let S=fT(l,d,I);v.push(W[S[0]],W[S[1]])}if(h=[...h,{placement:l,overflows:v}],!v.every(S=>S<=0)){var C,B;let S=(((C=o.flip)==null?void 0:C.index)||0)+1,Y=Z[S];if(Y&&(!(b==="alignment"?p!==ul(Y):!1)||h.every(N=>ul(N.placement)===p?N.overflows[0]>0:!0)))return{data:{index:S,overflows:h},reset:{placement:Y}};let J=(B=h.filter(k=>k.overflows[0]<=0).sort((k,N)=>k.overflows[1]-N.overflows[1])[0])==null?void 0:B.placement;if(!J)switch(X){case"bestFit":{var V;let k=(V=h.filter(N=>{if(y){let A=ul(N.placement);return A===p||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,Q)=>A+Q,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:V[0];k&&(J=k);break}case"initialPlacement":J=i;break}if(l!==J)return{reset:{placement:J}}}return{}}}};var FT=new Set(["left","top"]);async function gme(e,t){let{placement:c,platform:n,elements:l}=e,o=await(n.isRTL==null?void 0:n.isRTL(l.floating)),d=hn(c),i=Yl(c),r=ul(c)==="y",a=FT.has(d)?-1:1,s=o&&r?-1:1,b=Qo(t,e),{mainAxis:m,crossAxis:X,alignmentAxis:G}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return i&&typeof G=="number"&&(X=i==="end"?G*-1:G),r?{x:X*s,y:m*a}:{x:m*a,y:X*s}}var JT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var c,n;let{x:l,y:o,placement:d,middlewareData:i}=t,r=await gme(t,e);return d===((c=i.offset)==null?void 0:c.placement)&&(n=i.arrow)!=null&&n.alignmentOffset?{}:{x:l+r.x,y:o+r.y,data:{...r,placement:d}}}}},YT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:c,y:n,placement:l,platform:o}=t,{mainAxis:d=!0,crossAxis:i=!1,limiter:r={fn:p=>{let{x:R,y:I}=p;return{x:R,y:I}}},...a}=Qo(e,t),s={x:c,y:n},b=await o.detectOverflow(t,a),m=ul(l),X=RH(m),G=s[X],g=s[m],x=(p,R)=>BG(R+b[p==="y"?"top":"left"],R,R-b[p==="y"?"bottom":"right"]);d&&(G=x(X,G)),i&&(g=x(m,g));let H=r.fn({...t,[X]:G,[m]:g});return{...H,data:{x:H.x-c,y:H.y-n,enabled:{[X]:d,[m]:i}}}}}},NT=function(e){return e===void 0&&(e={}),{options:e,fn(t){var c,n;let{x:l,y:o,placement:d,rects:i,middlewareData:r}=t,{offset:a=0,mainAxis:s=!0,crossAxis:b=!0}=Qo(e,t),m={x:l,y:o},X=ul(d),G=RH(X),g=m[G],x=m[X],H=Qo(a,t),p=typeof H=="number"?{mainAxis:H,crossAxis:0}:{mainAxis:(c=H.mainAxis)!=null?c:0,crossAxis:(n=H.crossAxis)!=null?n:0};if(s){let f=G==="y"?"height":"width",y=i.reference[G]-i.floating[f]+p.mainAxis,Z=i.reference[G]+i.reference[f]-p.mainAxis;g<y?g=y:g>Z&&(g=Z)}if(b){var R,I;let f=G==="y"?"width":"height",y=FT.has(hn(d)),Z=i.reference[X]-i.floating[f]+(y&&((R=r.offset)==null?void 0:R[X])||0)+(y?0:p.crossAxis),W=i.reference[X]+i.reference[f]+(y?0:((I=r.offset)==null?void 0:I[X])||0)-(y?p.crossAxis:0);x<Z?x=Z:x>W&&(x=W)}return{[G]:g,[X]:x}}}},ST=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:c,rects:n,platform:l,elements:o}=t,{apply:d=()=>{},...i}=Qo(e,t),r=await l.detectOverflow(t,i),a=hn(c),s=Yl(c),b=ul(c)==="y",{width:m,height:X}=n.floating,G,g;a==="top"||a==="bottom"?(G=a,g=s===(await(l.isRTL==null?void 0:l.isRTL(o.floating))?"start":"end")?"left":"right"):(g=a,G=s==="end"?"top":"bottom");let x=X-r.top-r.bottom,H=m-r.left-r.right,p=Vd(X-r[G],x),R=Vd(m-r[g],H),I=t.middlewareData.shift,f=!I,y=p,Z=R;I!=null&&I.enabled.x&&(Z=H),I!=null&&I.enabled.y&&(y=x),f&&!s&&(b?Z=m-2*Oo(r.left,r.right):y=X-2*Oo(r.top,r.bottom)),await d({...t,availableWidth:Z,availableHeight:y});let W=await l.getDimensions(o.floating);return m!==W.width||X!==W.height?{reset:{rects:!0}}:{}}}};function HH(){return typeof window<"u"}function Hc(e){return IH(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jd(e){var t;return(t=(IH(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function IH(e){return HH()?e instanceof Node||e instanceof ht(e).Node:!1}function ct(e){return HH()?e instanceof Element||e instanceof ht(e).Element:!1}function st(e){return HH()?e instanceof HTMLElement||e instanceof ht(e).HTMLElement:!1}function Fd(e){return!HH()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function ks(e){let{overflow:t,overflowX:c,overflowY:n,display:l}=Oc(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+c)&&l!=="inline"&&l!=="contents"}function wT(e){return/^(table|td|th)$/.test(Hc(e))}function VG(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var xme=/transform|translate|scale|rotate|perspective|filter/,pme=/paint|layout|strict|content/,ws=e=>!!e&&e!=="none",Cv;function ZH(e){let t=ct(e)?Oc(e):e;return ws(t.transform)||ws(t.translate)||ws(t.scale)||ws(t.rotate)||ws(t.perspective)||!fH()&&(ws(t.backdropFilter)||ws(t.filter))||xme.test(t.willChange||"")||pme.test(t.contain||"")}function kT(e){let t=ro(e);for(;st(t)&&!ao(t);){if(ZH(t))return t;if(VG(t))return null;t=ro(t)}return null}function fH(){return Cv==null&&(Cv=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Cv}function ao(e){return/^(html|body|#document)$/.test(Hc(e))}function Oc(e){return ht(e).getComputedStyle(e)}function CG(e){return ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ro(e){if(Hc(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Fd(e)&&e.host||Jd(e);return Fd(t)?t.host:t}function zT(e){let t=ro(e);return ao(t)?(e.ownerDocument||e).body:st(t)&&ks(t)?t:zT(t)}function Qr(e,t,c){var n;t===void 0&&(t=[]),c===void 0&&(c=!0);let l=zT(e),o=l===((n=e.ownerDocument)==null?void 0:n.body),d=ht(l);if(o){let i=yH(d);return t.concat(d,d.visualViewport||[],ks(l)?l:[],i&&c?Qr(i):[])}else return t.concat(l,Qr(l,[],c))}function yH(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function OT(e){let t=Oc(e),c=parseFloat(t.width)||0,n=parseFloat(t.height)||0,l=st(e),o=l?e.offsetWidth:c,d=l?e.offsetHeight:n,i=Or(c)!==o||Or(n)!==d;return i&&(c=o,n=d),{width:c,height:n,$:i}}function Jv(e){return ct(e)?e:e.contextElement}function ju(e){let t=Jv(e);if(!st(t))return Cd(1);let c=t.getBoundingClientRect(),{width:n,height:l,$:o}=OT(t),d=(o?Or(c.width):c.width)/n,i=(o?Or(c.height):c.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!i||!Number.isFinite(i))&&(i=1),{x:d,y:i}}var Rme=Cd(0);function QT(e){let t=ht(e);return!fH()||!t.visualViewport?Rme:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hme(e,t,c){return t===void 0&&(t=!1),!!c&&t&&c===ht(e)}function zs(e,t,c,n){t===void 0&&(t=!1),c===void 0&&(c=!1);let l=e.getBoundingClientRect(),o=Jv(e),d=Cd(1);t&&(n?ct(n)&&(d=ju(n)):d=ju(e));let i=Hme(o,c,n)?QT(o):Cd(0),r=(l.left+i.x)/d.x,a=(l.top+i.y)/d.y,s=l.width/d.x,b=l.height/d.y;if(o&&n){let m=ht(o),X=ct(n)?ht(n):n,G=m,g=yH(G);for(;g&&X!==G;){let x=ju(g),H=g.getBoundingClientRect(),p=Oc(g),R=H.left+(g.clientLeft+parseFloat(p.paddingLeft))*x.x,I=H.top+(g.clientTop+parseFloat(p.paddingTop))*x.y;r*=x.x,a*=x.y,s*=x.x,b*=x.y,r+=R,a+=I,G=ht(g),g=yH(G)}}return Ss({width:s,height:b,x:r,y:a})}function WH(e,t){let c=CG(e).scrollLeft;return t?t.left+c:zs(Jd(e)).left+c}function UT(e,t){let c=e.getBoundingClientRect(),n=c.left+t.scrollLeft-WH(e,c),l=c.top+t.scrollTop;return{x:n,y:l}}function Ime(e){let{elements:t,rect:c,offsetParent:n,strategy:l}=e,o=l==="fixed",d=Jd(n),i=t?VG(t.floating):!1;if(n===d||i&&o)return c;let r={scrollLeft:0,scrollTop:0},a=Cd(1),s=Cd(0),b=st(n);if((b||!o)&&((Hc(n)!=="body"||ks(d))&&(r=CG(n)),b)){let X=zs(n);a=ju(n),s.x=X.x+n.clientLeft,s.y=X.y+n.clientTop}let m=d&&!b&&!o?UT(d,r):Cd(0);return{width:c.width*a.x,height:c.height*a.y,x:c.x*a.x-r.scrollLeft*a.x+s.x+m.x,y:c.y*a.y-r.scrollTop*a.y+s.y+m.y}}function Zme(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function fme(e){let t=CG(e),c=e.ownerDocument.body,n=Oo(e.scrollWidth,e.clientWidth,c.scrollWidth,c.clientWidth),l=Oo(e.scrollHeight,e.clientHeight,c.scrollHeight,c.clientHeight),o=-t.scrollLeft+WH(e),d=-t.scrollTop;return Oc(c).direction==="rtl"&&(o+=Oo(e.clientWidth,c.clientWidth)-n),{width:n,height:l,x:o,y:d}}var yme=25;function Wme(e,t,c){c===void 0&&(c="viewport");let n=c==="layoutViewport",l=ht(e),o=Jd(e),d=l.visualViewport,i=o.clientWidth,r=o.clientHeight,a=0,s=0;if(d){let m=!fH()||t==="fixed";n?m||(a=-d.offsetLeft,s=-d.offsetTop):(i=d.width,r=d.height,m&&(a=d.offsetLeft,s=d.offsetTop))}if(WH(o)<=0){let m=o.ownerDocument,X=m.body,G=getComputedStyle(X),g=m.compatMode==="CSS1Compat"&&parseFloat(G.marginLeft)+parseFloat(G.marginRight)||0,x=Math.abs(o.clientWidth-X.clientWidth-g),H=getComputedStyle(o).scrollbarGutter==="stable both-edges"?x/2:x;H<=yme&&(i-=H)}return{width:i,height:r,x:a,y:s}}function hme(e,t){let c=zs(e,!0,t==="fixed"),n=c.top+e.clientTop,l=c.left+e.clientLeft,o=ju(e),d=e.clientWidth*o.x,i=e.clientHeight*o.y,r=l*o.x,a=n*o.y;return{width:d,height:i,x:r,y:a}}function TT(e,t,c){let n;if(t==="viewport"||t==="layoutViewport")n=Wme(e,c,t);else if(t==="document")n=fme(Jd(e));else if(ct(t))n=hme(t,c);else{let l=QT(e);n={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Ss(n)}function Bme(e,t){let c=t.get(e);if(c)return c;let n=Qr(e,[],!1).filter(i=>ct(i)&&Hc(i)!=="body"),l=null,o=Oc(e).position==="fixed",d=o?ro(e):e;for(;ct(d)&&!ao(d);){let i=Oc(d),r=ZH(d),a=l?l.position:o?"fixed":"";!r&&(a==="fixed"||a==="absolute"&&i.position==="static")?n=n.filter(b=>b!==d):l=i,d=ro(d)}return t.set(e,n),n}function vme(e){let{element:t,boundary:c,rootBoundary:n,strategy:l}=e,d=[...c==="clippingAncestors"?VG(t)?[]:Bme(t,this._c):[].concat(c),n],i=TT(t,d[0],l),r=i.top,a=i.right,s=i.bottom,b=i.left;for(let m=1;m<d.length;m++){let X=TT(t,d[m],l);r=Oo(X.top,r),a=Vd(X.right,a),s=Vd(X.bottom,s),b=Oo(X.left,b)}return{width:a-b,height:s-r,x:b,y:r}}function Vme(e){let{width:t,height:c}=OT(e);return{width:t,height:c}}function Cme(e,t,c){let n=st(t),l=Jd(t),o=c==="fixed",d=zs(e,!0,o,t),i={scrollLeft:0,scrollTop:0},r=Cd(0);if((n||!o)&&((Hc(t)!=="body"||ks(l))&&(i=CG(t)),n)){let m=zs(t,!0,o,t);r.x=m.x+t.clientLeft,r.y=m.y+t.clientTop}!n&&l&&(r.x=WH(l));let a=l&&!n&&!o?UT(l,i):Cd(0),s=d.left+i.scrollLeft-r.x-a.x,b=d.top+i.scrollTop-r.y-a.y;return{x:s,y:b,width:d.width,height:d.height}}function Fv(e){return Oc(e).position==="static"}function AT(e,t){if(!st(e)||Oc(e).position==="fixed")return null;if(t)return t(e);let c=e.offsetParent;return Jd(e)===c&&(c=c.ownerDocument.body),c}function ET(e,t){let c=ht(e);if(VG(e))return c;if(!st(e)){let l=ro(e);for(;l&&!ao(l);){if(ct(l)&&!Fv(l))return l;l=ro(l)}return c}let n=AT(e,t);for(;n&&wT(n)&&Fv(n);)n=AT(n,t);return n&&ao(n)&&Fv(n)&&!ZH(n)?c:n||kT(e)||c}var Fme=async function(e){let t=this.getOffsetParent||ET,c=this.getDimensions,n=await c(e.floating);return{reference:Cme(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Jme(e){return Oc(e).direction==="rtl"}var Yv={convertOffsetParentRelativeRectToViewportRelativeRect:Ime,getDocumentElement:Jd,getClippingRect:vme,getOffsetParent:ET,getElementRects:Fme,getClientRects:Zme,getDimensions:Vme,getScale:ju,isElement:ct,isRTL:Jme};function LT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Yme(e,t,c){let n=null,l,o=Jd(e);function d(){var s;clearTimeout(l),(s=n)==null||s.disconnect(),n=null}function i(s,b){s===void 0&&(s=!1),b===void 0&&(b=1),d();let m=e.getBoundingClientRect(),{left:X,top:G,width:g,height:x}=m;if(s||t(),!g||!x)return;let H=hG(G),p=hG(o.clientWidth-(X+g)),R=hG(o.clientHeight-(G+x)),I=hG(X),y={rootMargin:-H+"px "+-p+"px "+-R+"px "+-I+"px",threshold:Oo(0,Vd(1,b))||1},Z=!0;function W(v){let h=v[0].intersectionRatio;if(!LT(m,e.getBoundingClientRect()))return i();if(h!==b){if(!Z)return i();h?i(!1,h):l=setTimeout(()=>{i(!1,1e-7)},1e3)}Z=!1}try{n=new IntersectionObserver(W,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(W,y)}n.observe(e)}let r=ht(e),a=()=>i(c);return r.addEventListener("resize",a),i(!0),()=>{r.removeEventListener("resize",a),d()}}function Ci(e,t,c,n){n===void 0&&(n={});let{ancestorScroll:l=!0,ancestorResize:o=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,a=Jv(e),s=l||o?[...a?Qr(a):[],...t?Qr(t):[]]:[];s.forEach(H=>{l&&H.addEventListener("scroll",c),o&&H.addEventListener("resize",c)});let b=a&&i?Yme(a,c,o):null,m=-1,X=null;d&&(X=new ResizeObserver(H=>{let[p]=H;p&&p.target===a&&X&&t&&(X.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var R;(R=X)==null||R.observe(t)})),c()}),a&&!r&&X.observe(a),t&&X.observe(t));let G,g=r?zs(e):null;r&&x();function x(){let H=zs(e);g&&!LT(g,H)&&c(),g=H,G=requestAnimationFrame(x)}return c(),()=>{var H;s.forEach(p=>{l&&p.removeEventListener("scroll",c),o&&p.removeEventListener("resize",c)}),b?.(),(H=X)==null||H.disconnect(),X=null,r&&cancelAnimationFrame(G)}}var hH=JT;var BH=YT,vH=CT,VH=ST;var FG=VT;var CH=NT,Mu=(e,t,c)=>{let n=new Map,l=c??{},o={...Yv,...l.platform,_c:n};return vT(e,t,{...l,platform:o})};var Nme="div",JG=new WeakMap;function DT(e=0,t=0,c=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,c,n);let l={x:e,y:t,width:c,height:n,top:t,right:e+c,bottom:t+n,left:e};return{...l,toJSON:()=>l}}function Sme(e){if(!e)return DT();let{x:t,y:c,width:n,height:l}=e;return DT(t,c,n,l)}function wme(e,t){return{contextElement:e||void 0,getBoundingClientRect:()=>{let c=e,n=t?.(c);return n||!c?Sme(n):c.getBoundingClientRect()}}}function kme(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function _T(e){let t=window.devicePixelRatio||1;return Math.round(e*t)/t}function zme(e){return typeof e=="number"?e:Math.max(e.left??0,e.right??0)}function Tme(e,t){return hH(({placement:c})=>{let n=(e?.clientHeight||0)/2,l=typeof t.gutter=="number"?t.gutter+n:t.gutter??n;return{crossAxis:c.split("-")[1]?void 0:t.shift,mainAxis:l,alignmentAxis:t.shift}})}function Ame(e){if(e.flip===!1)return;let t=typeof e.flip=="string"?e.flip.split(" "):void 0;return ke(!t||t.every(kme),!1),vH({padding:e.overflowPadding,fallbackPlacements:t})}function Ome(e){if(!(!e.slide&&!e.overlap))return BH({mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:CH()})}function Qme(e,t){return VH({padding:e.overflowPadding,apply({elements:c,availableWidth:n,availableHeight:l,rects:o}){if(t?.())return;let d=c.floating,i=Math.round(o.reference.width);n=Math.floor(n),l=Math.floor(l),d.style.setProperty("--popover-anchor-width",`${i}px`),d.style.setProperty("--popover-available-width",`${n}px`),d.style.setProperty("--popover-available-height",`${l}px`),e.sameWidth&&(d.style.width=`${i}px`),e.fitViewport&&(d.style.maxWidth=`${n}px`,d.style.maxHeight=`${l}px`)}})}function Ume(e,t){if(e)return FG({element:e,padding:t.arrowPadding})}var YG=ce(function({store:t,modal:c=!1,portal:n=c,preserveTabOrder:l=!0,autoFocusOnShow:o=!0,wrapperProps:d,fixed:i=!1,flip:r=!0,shift:a=0,slide:s=!0,overlap:b=!1,sameWidth:m=!1,fitViewport:X=!1,gutter:G,arrowPadding:g=4,overflowPadding:x=8,getAnchorRect:H,updatePosition:p,...R}){let I=mG();t=t||I,ke(t,!1);let f=$(t,"arrowElement"),y=$(t,"anchorElement"),Z=l&&n&&!c,W=$(t,Z?["disclosureElement"]:[],j=>Z?j.disclosureElement:null),v=$(t,"popoverElement"),h=$(t,"unstable_placing"),C=$(t,"contentElement"),B=$(t,"placement"),V=$(t,"mounted"),S=$(t,"rendered"),Y=(0,jT.useRef)(null),J=!h,{portalRef:k,domReady:N}=Vu(n,R.portalRef),A=ge(H),Q=ge(p),z=!!p,D=typeof x=="number"?x:x.top??0,U=typeof x=="number"?x:x.right??0,O=typeof x=="number"?x:x.bottom??0,L=typeof x=="number"?x:x.left??0,M=!V&&vi(V,R.hidden,R.alwaysVisible);Ue(()=>{if(V&&t?.setState("unstable_placing",!0),!v?.isConnected)return;let j={top:D,right:U,bottom:O,left:L};if(v.style.setProperty("--popover-overflow-padding",`${zme(j)}px`),M&&!z)return;let ue=wme(y,A),xe=!1,Be=!1,P=()=>!!(xe||!v.isConnected),ye=async()=>{if(P()||!V)return;f||(Y.current=Y.current||document.createElement("div"));let Ne=f||Y.current,He=[Tme(Ne,{gutter:G,shift:a}),Ame({flip:r,overflowPadding:j}),Ome({slide:s,shift:a,overlap:b,overflowPadding:j}),Ume(Ne,{arrowPadding:g}),Qme({sameWidth:m,fitViewport:X,overflowPadding:j},P)],we=await Mu(ue,v,{placement:B,strategy:i?"fixed":"absolute",middleware:He});if(P())return;t?.setState("currentPlacement",we.placement);let pe=_T(we.x),ve=_T(we.y);if(Object.assign(v.style,{top:"0",left:"0",transform:`translate3d(${pe}px,${ve}px,0)`}),Be=!0,Ne&&we.middlewareData.arrow){let{x:Ve,y:qe}=we.middlewareData.arrow,Vt=vd(we.placement),Ge=Ne.clientWidth/2,We=Ne.clientHeight/2,se=Ve!=null?Ve+Ge:-Ge,ee=qe!=null?qe+We:-We;v.style.setProperty("--popover-transform-origin",{top:`${se}px calc(100% + ${We}px)`,bottom:`${se}px ${-We}px`,left:`calc(100% + ${Ge}px) ${ee}px`,right:`${-Ge}px ${ee}px`}[Vt]),Object.assign(Ne.style,{left:Ve!=null?`${Ve}px`:"",top:qe!=null?`${qe}px`:"",right:"",bottom:"",[Vt]:"100%"})}},ze=Ci(ue,v,async()=>{if(!P()){try{z?await Q({updatePosition:ye}):await ye()}catch(Ne){throw Be&&!P()&&t?.setState("unstable_placing",!1),Ne}P()||t?.setState("unstable_placing",!1)}},{elementResize:typeof ResizeObserver=="function"});return()=>{xe=!0,ze()}},[t,S,v,f,y,B,V,M,N,i,r,a,s,b,m,X,G,g,D,U,O,L,A,z,Q]),Ue(()=>{if(!V||!N||!v?.isConnected||!C?.isConnected)return;let j=()=>{v.style.zIndex=getComputedStyle(C).zIndex};j();let ue=requestAnimationFrame(()=>{ue=requestAnimationFrame(j)});return()=>cancelAnimationFrame(ue)},[V,N,v,C]),Ue(()=>{if(!t)return;let j=t;JG.set(j,(JG.get(j)??0)+1);let ue=lt(j,["mounted"],xe=>{j.setState("unstable_placing",xe.mounted)});return()=>{ue(),JG.set(j,(JG.get(j)??1)-1),queueMicrotask(()=>{JG.get(j)||j.setState("unstable_placing",!1)})}},[t]);let _=i?"fixed":"absolute";return R=Le(R,j=>(0,Nv.jsx)("div",{...d,style:{position:_,top:0,left:0,width:"max-content",...d?.style},ref:t?.setPopoverElement,children:j}),[t,_,d]),R=Le(R,j=>(0,Nv.jsx)(Wd,{value:t,children:j}),[t]),R={"data-placing":h||void 0,...R,style:{position:"relative",...R.style}},R=Vv({store:t,modal:c,portal:n,preserveTabOrder:l,preserveTabOrderAnchor:W||y,autoFocusOnShow:J&&o,...R,portalRef:k}),R}),fke=Ao(te(function(t){let c=YG(t);return ne(Nme,c)}),mG);var NG=Jt([Tu],[Wd]),Bke=NG.useContext,vke=NG.useScopedContext,SG=NG.useProviderContext,FH=NG.ContextProvider,Pu=NG.ScopedContextProvider;function Sv(e){return[e.clientX,e.clientY]}function MT(e,t){let[c,n]=e,l=!1,o=t.length;for(let d=o,i=0,r=d-1;i<d;r=i++){let a=t[i],s=t[r],b=t[r===0?d-1:r-1];if(a==null||s==null||b==null)return!1;let[m,X]=a,[G,g]=s,[,x]=b,H=(X-g)*(c-m)-(m-G)*(n-X);if(g<X){if(n>=g&&n<X){if(H===0)return!0;H>0&&(n===g?n>x&&(l=!l):l=!l)}}else if(X<g){if(n>X&&n<=g){if(H===0)return!0;H<0&&(n===g?n<x&&(l=!l):l=!l)}}else if(n===X&&(c>=G&&c<=m||c>=m&&c<=G))return!0}return l}function Eme(e,t){let{top:c,right:n,bottom:l,left:o}=t,[d,i]=e;return[d<o?"left":d>n?"right":null,i<c?"top":i>l?"bottom":null]}function PT(e,t){let c=e.getBoundingClientRect(),{top:n,right:l,bottom:o,left:d}=c,[i,r]=Eme(t,c),a=[t];return i?(r!=="top"&&a.push([i==="left"?d:l,n]),a.push([i==="left"?l:d,n]),a.push([i==="left"?l:d,o]),r!=="bottom"&&a.push([i==="left"?d:l,o])):r==="top"?(a.push([d,n]),a.push([d,o]),a.push([l,o]),a.push([l,n])):(a.push([d,o]),a.push([d,n]),a.push([l,n]),a.push([l,o])),a}var Xc=u(E(),1),wv=u(F(),1);var Lme="div";function Dme(e,t,c,n){return!!(no(t)||e.includes(t)||c.some(l=>l&&e.includes(l))||n?.some(l=>no(l)||e.includes(l)))}function KT({event:e,element:t,enterPointRef:c,disablePointerEvents:n,refreshEnterPoint:l=!1}){let o=c.current;if(!o)return!1;let d=Sv(e),i=PT(t,o);return MT(d,i)?(l&&(c.current=d),n(e)&&(e.preventDefault(),e.stopPropagation()),!0):!1}function _me({store:e,...t}){let[c,n]=(0,Xc.useState)(!1),l=$(e,"mounted");(0,Xc.useEffect)(()=>{l||n(!1)},[l]);let o=t.onFocus,d=ge(r=>{o?.(r),!r.defaultPrevented&&n(!0)}),i=(0,Xc.useRef)(null);return(0,Xc.useEffect)(()=>lt(e,["anchorElement"],r=>{i.current=r.anchorElement}),[e]),t={autoFocusOnHide:c,finalFocus:i,...t,onFocus:d},t}var qT=(0,Xc.createContext)(null),wG=ce(function({store:t,modal:c=!1,portal:n=c,hideOnEscape:l=!0,hideOnHoverOutside:o=!0,disablePointerEventsOnApproach:d=!!o,...i}){let r=SG();t=t||r,ke(t,!1);let a=(0,Xc.useRef)(null),s=(0,Xc.useRef)([]),b=(0,Xc.useRef)(0),m=(0,Xc.useRef)(null),{portalRef:X,domReady:G}=Vu(n,i.portalRef),g=Fu(),x=!!o,H=Wt(o),p=!!d,R=Wt(d),I=$(t,"open"),f=$(t,"mounted"),y=(0,Xc.useCallback)(()=>{window.clearTimeout(b.current),b.current=0},[]);(0,Xc.useEffect)(()=>{if(!G||!f||!x&&!p)return;let C=a.current;return C?It(Kt("mousemove",V=>{if(!t||!g())return;let{anchorElement:S,disclosureElement:Y,hideTimeout:J,timeout:k}=t.getState(),N=V.composedPath(),A=[S,Y],Q=A.find(z=>z&&N.includes(z));if(Dme(N,C,A,s.current)){m.current=Q?Sv(V):null,y();return}b.current||KT({event:V,element:C,enterPointRef:m,disablePointerEvents:R,refreshEnterPoint:!0})||H(V)&&(b.current=window.setTimeout(()=>{b.current=0,t?.hide()},J??k))},!0),y):void 0},[t,g,G,f,x,p,s,y,R,H]),(0,Xc.useEffect)(()=>{if(!G||!f||!p)return;let C=B=>{let V=a.current;V&&KT({event:B,element:V,enterPointRef:m,disablePointerEvents:R})};return It(Kt("mouseenter",C,!0),Kt("mouseover",C,!0),Kt("mouseout",C,!0),Kt("mouseleave",C,!0))},[G,f,p,R]),(0,Xc.useEffect)(()=>{G&&(I||t?.setAutoFocusOnShow(!1))},[t,G,I]);let Z=Wu(I);(0,Xc.useEffect)(()=>{if(G)return()=>{Z.current||t?.setAutoFocusOnShow(!1)}},[t,G]);let W=(0,Xc.useContext)(qT);Ue(()=>{if(c||!n||!f||!G)return;let C=a.current;if(C)return W?.(C)},[c,n,f,G,W]);let v=(0,Xc.useCallback)(C=>{y(),s.current=[...s.current,C];let B=W?.(C);return()=>{y(),s.current=s.current.filter(V=>V!==C),B?.()}},[y,W]);i=Le(i,C=>(0,wv.jsx)(Pu,{value:t,children:(0,wv.jsx)(qT.Provider,{value:v,children:C})}),[t,v]),i={...i,ref:Me(a,i.ref)},i=_me({store:t,...i});let h=$(t,["autoFocusOnShow"],C=>c||C.autoFocusOnShow);return i=YG({store:t,modal:c,portal:n,autoFocusOnShow:h,...i,portalRef:X,hideOnEscape(C){return fi(l,C)?!1:(requestAnimationFrame(()=>{requestAnimationFrame(()=>{t?.hide()})}),!0)}}),i}),Tke=Ao(te(function(t){let c=wG(t);return ne(Lme,c)}),SG);var kG=Jt([FH],[Pu]),jme=kG.useContext,Uke=kG.useScopedContext,zG=kG.useProviderContext,Eke=kG.ContextProvider,$T=kG.ScopedContextProvider;var eA=u(F(),1);var Mme="div",Pme=ce(function({store:t,portal:c=!0,gutter:n=8,preserveTabOrder:l=!1,hideOnHoverOutside:o=!0,hideOnInteractOutside:d=!0,...i}){let r=zG();return t=t||r,ke(t,!1),i=Le(i,a=>(0,eA.jsx)($T,{value:t,children:a}),[t]),i={role:$(t,["type"],a=>a.type==="description"?"tooltip":"none"),...i},i=wG({...i,store:t,portal:c,gutter:n,preserveTabOrder:l,hideOnHoverOutside(a){if(fi(o,a))return!1;let s=t?.getState().anchorElement;return s?!("focusVisible"in s.dataset):!0},hideOnInteractOutside:a=>{if(fi(d,a))return!1;let s=t?.getState().anchorElement;return s?!Ct(s,a.target):!0}}),i}),JH=Ao(te(function(t){let c=Pme(t);return ne(Mme,c)}),zG);var Ur=u(E(),1),YH=ce(function({store:t,showOnHover:c=!0,unstable_showOnHoverWhenDisabled:n=!0,setAnchorElement:l=!1,...o}){let d=bc(o),i=o.focusable!==!1,r=(0,Ur.useRef)(null),a=(0,Ur.useRef)(0),s=ge(R=>d&&!i?!0:hk(R));(0,Ur.useEffect)(()=>()=>window.clearTimeout(a.current),[]),(0,Ur.useEffect)(()=>Kt("mouseleave",I=>{let f=r.current;f&&I.target===f&&(window.clearTimeout(a.current),a.current=0)},!0),[]);let b=o.onMouseMove,m=Wt(c),X=Wt(n),G=Fu(),g=ge(R=>{if(b?.(R),R.defaultPrevented||a.current||!G())return;let I=R.currentTarget;if(s(I)||(d||ZR(I))&&!X(R)||!m(R))return;l&&t.setAnchorElement(I),t.setDisclosureElement(I);let{showTimeout:f,timeout:y}=t.getState(),Z=()=>{a.current=0,G()&&(s(I)||(l&&t.setAnchorElement(I),t.show(),queueMicrotask(()=>{t.setDisclosureElement(I)})))},W=f??y;W===0?Z():a.current=window.setTimeout(Z,W)}),x=o.onClick,H=ge(R=>{x?.(R),window.clearTimeout(a.current),a.current=0}),p=(0,Ur.useCallback)(R=>{if(r.current=R,!l)return;let{anchorElement:I}=t.getState();I?.isConnected||t.setAnchorElement(R)},[t,l]);return o={...o,ref:Me(p,o.ref),onMouseMove:g,onClick:H},o=Yo(o),o});var Kme="a",kv=ce(function({store:t,showOnHover:c=!0,...n}){let l=SG();return t=t||l,ke(t,!1),YH({store:t,showOnHover:c,setAnchorElement:!0,...n})}),ize=te(function(t){let c=kv(t);return ne(Kme,c)});var TG=u(E(),1);var qme="div",Ts=Tt({activeStore:null}),zv=new WeakSet;function $me(e){return()=>{let{activeStore:t}=Ts.getState();t===e&&Ts.setState("activeStore",null)}}function e0e(e){e&&(zv.add(e),e.hide(),queueMicrotask(()=>zv.delete(e)))}var t0e=ce(function({store:t,showOnHover:c=!0,...n}){let l=zG();t=t||l,ke(t,!1);let o=(0,TG.useRef)(!1);(0,TG.useEffect)(()=>lt(t,["mounted"],G=>{G.mounted||(o.current=!1)}),[t]),(0,TG.useEffect)(()=>{if(!t)return;let G=$me(t);return It(G,lt(t,["mounted"],g=>{if(!t)return;if(g.mounted){let{activeStore:H}=Ts.getState();if(H!==t){if(zv.has(t))return;e0e(H)}return Ts.setState("activeStore",t)}let x=setTimeout(G,t.getState().skipTimeout);return()=>clearTimeout(x)}))},[t]);let d=n.onMouseEnter,i=ge(G=>{d?.(G),o.current=!0}),r=n.onFocusVisible,a=ge(G=>{r?.(G),!G.defaultPrevented&&(t?.setAnchorElement(G.currentTarget),t?.show())}),s=n.onBlur,b=ge(G=>{if(s?.(G),G.defaultPrevented)return;let{activeStore:g}=Ts.getState();o.current=!1,g===t&&Ts.setState("activeStore",null)}),m=$(t,["type","contentElement"],G=>G.type==="label"?G.contentElement:null);Bu(m,"id");let X=m?.id;return n={"aria-labelledby":n["aria-label"]==null?X:void 0,...n,onMouseEnter:i,onFocusVisible:a,onBlur:b},n=kv({store:t,showOnHover(G){if(!o.current||fi(c,G))return!1;let{activeStore:g}=Ts.getState();return g?(t?.show(),!1):!0},...n}),n}),NH=te(function(t){let c=t0e(t);return ne(qme,c)});function SH({popover:e,...t}={}){let c=fd(t.store,No(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","unstable_placing"]));let n=c?.getState(),l=XH({...t,store:c}),o=Je(t.placement,n?.placement,"bottom"),d={...l.getState(),placement:o,currentPlacement:o,anchorElement:Je(n?.anchorElement,null),popoverElement:Je(n?.popoverElement,null),arrowElement:Je(n?.arrowElement,null),rendered:Symbol("rendered"),unstable_placing:!1},i=Tt(d,l,c),r=d.anchorElement===d.disclosureElement?d.anchorElement:null;return Dt(i,()=>lt(i,["anchorElement","disclosureElement"],a=>{if(a.anchorElement&&a.anchorElement!==r){r=null;return}r=a.disclosureElement,i.setState("anchorElement",r)})),{...l,...i,setAnchorElement:a=>i.setState("anchorElement",a),setPopoverElement:a=>i.setState("popoverElement",a),setArrowElement:a=>i.setState("arrowElement",a),render:()=>i.setState("rendered",Symbol("rendered"))}}function wH(e,t,c){return Qn(t,[c.popover,t]),mt(e,c,"placement"),Hv(e,t,c)}function kH(e={}){let t=e.store?.getState(),c=SH({...e,placement:Je(e.placement,t?.placement,"bottom")}),n=Je(e.timeout,t?.timeout,500),l={...c.getState(),timeout:n,showTimeout:Je(e.showTimeout,t?.showTimeout),hideTimeout:Je(e.hideTimeout,t?.hideTimeout),autoFocusOnShow:Je(t?.autoFocusOnShow,!1)},o=Tt(l,c,e.store);return{...c,...o,setAutoFocusOnShow:d=>o.setState("autoFocusOnShow",d)}}function zH(e,t,c){return mt(e,c,"timeout"),mt(e,c,"showTimeout"),mt(e,c,"hideTimeout"),wH(e,t,c)}function tA(e={}){let t=e.store?.getState(),c=kH({...e,placement:Je(e.placement,t?.placement,"top"),hideTimeout:Je(e.hideTimeout,t?.hideTimeout,0)}),n={...c.getState(),type:Je(e.type,t?.type,"description"),skipTimeout:Je(e.skipTimeout,t?.skipTimeout,300)},l=Tt(n,c,e.store);return{...c,...l}}function n0e(e,t,c){return mt(e,c,"type"),mt(e,c,"skipTimeout"),zH(e,t,c)}function TH(e={}){let[t,c]=nc(tA,e);return n0e(t,c,e)}var AG=Jt([bl],[yn]),cA=AG.useContext,nA=AG.useScopedContext,Uze=AG.useProviderContext,Eze=AG.ContextProvider,Lze=AG.ScopedContextProvider;var Ku=u(E(),1),lA="button",Tv=ce(function(t){let c=(0,Ku.useRef)(null),n=hu(c,lA),[l,o]=(0,Ku.useState)(()=>!!n&&Jo({tagName:n,type:t.type}));return(0,Ku.useEffect)(()=>{c.current&&o(Jo(c.current))},[]),t={role:!l&&n!=="a"?"button":void 0,...t,ref:Me(c,t.ref)},t=fs(t),t}),Kze=te(function(t){let c=Tv(vc(t));return ne(lA,c)});var Er=u(E(),1);var l0e="button",o0e=Symbol("disclosure"),Av=ce(function({store:t,toggleOnClick:c=!0,...n}){let l=sG();t=t||l,ke(t,!1);let o=(0,Er.useRef)(null),[d,i]=(0,Er.useState)(!1),r=$(t,"disclosureElement"),a=$(t,"open"),s=(0,Er.useCallback)(x=>{let H=o.current;if(o.current=x,x){t?.getState().disclosureElement?.isConnected||t.setDisclosureElement(x);return}t?.getState().disclosureElement===H&&t.setDisclosureElement(null)},[t]);(0,Er.useEffect)(()=>{let x=r===o.current;r?.isConnected||(t?.setDisclosureElement(o.current),x=!0),i(a&&x)},[r,t,a]);let b=n.onClick,m=Wt(c),[X,G]=Cu(n,o0e,!0),g=ge(x=>{b?.(x),!x.defaultPrevented&&(X||m(x)&&(t?.setDisclosureElement(x.currentTarget),t?.toggle()))});return n={"aria-expanded":d,"aria-controls":$(t,"contentElement")?.id,...G,...n,ref:Me(s,n.ref),onClick:g},n=Tv(n),n}),d0e=te(function(t){let c=Av(vc(t));return ne(l0e,c)});var i0e="button",Ov=ce(function({store:t,...c}){let n=vs();t=t||n,ke(t,!1);let l=$(t,"contentElement");return c={"aria-haspopup":ps(l,"dialog"),...c},c=Av({store:t,...c}),c}),uTe=te(function(t){let c=Ov(vc(t));return ne(i0e,c)});var oA=u(F(),1),r0e="button",OG=ce(function({store:t,...c}){let n=mG();return t=t||n,ke(t,!1),c=Le(c,l=>(0,oA.jsx)(Wd,{value:t,children:l}),[t]),c=Ov({store:t,...c}),c}),RTe=te(function(t){let c=OG(vc(t));return ne(r0e,c)});var dA=u(E(),1),Qv=u(F(),1);var a0e="span",s0e={top:"4,10 8,6 12,10",right:"6,4 10,8 6,12",bottom:"4,6 8,10 12,6",left:"10,4 6,8 10,12"},Uv=ce(function({store:t,placement:c,...n}){let l=Vz();t=t||l,ke(t,!1);let o=$(t,["placement"],r=>c||r.placement),d=vd(o),i=s0e[d];return n={children:(0,dA.useMemo)(()=>(0,Qv.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,Qv.jsx)("polyline",{points:i})}),[i]),"aria-hidden":!0,...n,style:{width:"1em",height:"1em",pointerEvents:"none",...n.style}},n}),hTe=te(function(t){let c=Uv(t);return ne(a0e,c)});var iA=u(E(),1),QG=Jt([bl],[yn]),Ev=QG.useContext,CTe=QG.useScopedContext,rA=QG.useProviderContext,FTe=QG.ContextProvider,aA=QG.ScopedContextProvider,UG=(0,iA.createContext)(!1);var As=u(E(),1);var sA="input";function b0e(e,t){if(t!==void 0)return e!=null&&t!=null?t===e:!!t}function u0e(e,t){return e==="input"&&(!t||t==="radio")}var Lv=ce(function({store:t,name:c,value:n,checked:l,...o}){let d=Ev();t=t||d;let i=(0,As.useContext)(UG),r=Ft(o.id),a=(0,As.useRef)(null),s=$(t,["value"],Z=>l??b0e(n,Z?.value)),b=$(t,"id"),m=c??b;(0,As.useEffect)(()=>{r&&s&&t?.getState().activeId!==r&&t?.setActiveId(r)},[t,s,r]);let X=o.onChange,G=u0e(hu(a,sA),o.type),g=i||bc(o),[x,H]=vu();(0,As.useEffect)(()=>{let Z=a.current;Z&&(G||(s!==void 0&&(Z.checked=s),m!==void 0&&(Z.name=m),n!==void 0&&(Z.value=`${n}`)))},[x,G,s,m,n]);let p=ge(Z=>{if(g){Z.preventDefault(),Z.stopPropagation();return}t?.getState().value!==n&&(G||(Z.currentTarget.checked=!0,H()),X?.(Z),!Z.defaultPrevented&&t?.setValue(n))}),R=o.onClick,I=ge(Z=>{R?.(Z),!Z.defaultPrevented&&(G||p(Z))}),f=o.onFocus,y=ge(Z=>{if(f?.(Z),Z.defaultPrevented||!G||g||!t)return;let{moves:W,activeId:v}=t.getState();W&&(r&&v!==r||Z.currentTarget.checked||Z.currentTarget.click())});return o={role:G?void 0:"radio",type:G?"radio":void 0,"aria-checked":s,...o,disabled:g||void 0,id:r,ref:Me(a,o.ref),onChange:p,onClick:I,onFocus:y},o=wo({store:t,clickOnEnter:!G,...o}),co({name:G?m:void 0,value:G?n:void 0,checked:s,...o})}),qu=mc(te(function(t){let c=Lv(t);return ne(sA,c)}));var bA=u(E(),1),Dv=u(F(),1),m0e="div";function X0e(e){if(!e)return!1;if(e.tagName==="INPUT"){let{type:t,checked:c}=e;if(t==="radio")return c}return e.getAttribute("role")!=="radio"?!1:e.getAttribute("aria-checked")==="true"}function G0e(e){let{renderedItems:t}=e.getState();return t.find(c=>X0e(c.element))?.id}var g0e=ce(function({store:t,...c}){let n=rA();t=t||n;let l=(0,bA.useContext)(UG)||bc(c);ke(t,!1),c=Le(c,i=>(0,Dv.jsx)(aA,{value:t,children:(0,Dv.jsx)(UG.Provider,{value:l,children:i})}),[t,l]);let o=c.onBlurCapture,d=ge(i=>{if(o?.(i),i.defaultPrevented||!Id(i))return;let r=G0e(t);r&&t.setActiveId(r)});return c={role:"radiogroup",...c,"aria-disabled":l||void 0,onBlurCapture:d},c=ko({store:t,...c}),c}),$u=te(function(t){let c=g0e(t);return ne(m0e,c)});function uA(e={}){let t=e.store?.getState(),c=lo({...e,focusLoop:Je(e.focusLoop,t?.focusLoop,!0)}),n={...c.getState(),value:Je(e.value,t?.value,e.defaultValue,null)},l=Tt(n,c,e.store);return{...c,...l,setValue:o=>l.setState("value",o)}}function p0e(e,t,c){return e=zo(e,t,c),mt(e,c,"value","setValue"),e}function em(e={}){e=gG(e);let[t,c]=nc(uA,e);return p0e(t,c,e)}var R0e="div",mA=new WeakMap;function H0e(e){let t=mA.get(e);return t||(t={chars:"",cleanupTimeout:0},mA.set(e,t)),t}function AH(e){e.chars=""}function I0e(e,t){let c=e.target;return c&&On(c)?!1:e.key===" "&&t.chars.length?!0:e.key.length===1&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(e.key)}function Z0e(e,t){if(uc(e))return!0;let c=e.target;return c?t.some(n=>n.element===c):!1}function f0e(e){return e.filter(t=>!t.disabled)}function OH(e,t){let c=e.typeaheadText??(e.element?.textContent||e.children||"value"in e&&e.value);return c?$w(c).trim().toLowerCase().startsWith(t.toLowerCase()):!1}function y0e({activeId:e,char:t,items:c,typeaheadState:n}){if(!e)return c;let l=c.find(d=>d.id===e);if(!l||!OH(l,t))return c;let{chars:o}=n;return o!==t&&OH(l,o)?c:(n.chars=t,Pk(c.filter(d=>OH(d,t)),e).filter(d=>d.id!==e))}var Fi=ce(function({store:t,typeahead:c=!0,...n}){let l=Zd();t=t||l,ke(t,!1);let o=n.onKeyDownCapture,d=ge(i=>{if(o?.(i),i.defaultPrevented||!c||!t)return;let r=H0e(t);if(!I0e(i,r))return AH(r);let{renderedItems:a,items:s,activeId:b}=t.getState(),m=f0e(s.length>a.length?s:a);if(!Z0e(i,m))return AH(r);i.preventDefault(),window.clearTimeout(r.cleanupTimeout),r.cleanupTimeout=window.setTimeout(()=>{AH(r)},500);let X=i.key.toLowerCase();r.chars+=X,m=y0e({activeId:b,char:X,items:m,typeaheadState:r});let G=m.find(g=>OH(g,r.chars));G?t.move(G.id):AH(r)});return n={...n,onKeyDownCapture:d},co(n)}),QH=te(function(t){let c=Fi(t);return ne(R0e,c)});var W0e="span",h0e=ce(function({store:t,...c}){let n=Fs();return t=t||n,c=Uv({store:t,...c}),c}),_v=te(function(t){let c=h0e(t);return ne(W0e,c)});var Lr=u(E(),1),so=u(F(),1);var B0e="button";function v0e(e){return Array.from(e.selectedOptions).map(t=>t.value)}function UH(e,t){return()=>{let c=new Set,n=t();for(;n;){let l=e.item(n);if(!l)return;if(l.value!=null)return l.id;if(c.has(n))return;c.add(n),n=t({activeId:n})}}}var V0e=ce(function({store:t,name:c,form:n,required:l,showOnKeyDown:o=!0,moveOnKeyDown:d=!0,toggleOnPress:i=!0,toggleOnClick:r=i,...a}){let s=Js();t=t||s,ke(t,!1);let b=a.onKeyDown,m=bc(a),X=Wt(o),G=Wt(d),g=$(t,"placement"),x=vd(g),H=$(t,"value"),p=Array.isArray(H),R=ge(Y=>{if(b?.(Y),Y.defaultPrevented||!t)return;let{orientation:J,items:k,activeId:N}=t.getState(),A=J!=="horizontal",Q=J!=="vertical",z=!!k.find(O=>!O.disabled&&O.value!=null)?.rowId,D={ArrowUp:(z||A)&&UH(t,t.up),ArrowRight:(z||Q)&&UH(t,t.next),ArrowDown:(z||A)&&UH(t,t.down),ArrowLeft:(z||Q)&&UH(t,t.previous)}[Y.key];D&&G(Y)&&(Y.preventDefault(),t.move(D()));let U=x==="top"||x==="bottom";({ArrowDown:U,ArrowUp:U,ArrowLeft:x==="left",ArrowRight:x==="right"})[Y.key]&&X(Y)&&(Y.preventDefault(),t.move(N),Hs(Y.currentTarget,"keyup",t.show))});a=Le(a,Y=>(0,so.jsx)(eH,{value:t,children:Y}),[t]);let[I,f]=(0,Lr.useState)(!1),y=(0,Lr.useRef)(!1);(0,Lr.useEffect)(()=>{let Y=y.current;y.current=!1,!Y&&f(!1)},[H]);let Z=$(t,"labelElement");Bu(Z,"id");let W=Z?.id,v=a["aria-label"],h=a["aria-labelledby"]||W,C=$(t,["items"],Y=>{if(c)return Y.items}),B=(0,Lr.useMemo)(()=>{let Y=C?.flatMap(J=>J.value??[]);return[...new Set(Y)]},[C]);a=Le(a,Y=>(0,so.jsxs)(so.Fragment,{children:[!!c&&(0,so.jsxs)("select",{style:RG(),tabIndex:-1,"aria-hidden":!0,"aria-label":v,"aria-labelledby":v!=null?void 0:h,name:c,form:n,required:l,disabled:m,value:H,multiple:p,onFocus:()=>t?.getState().selectElement?.focus(),onChange:J=>{y.current=!0,f(!0),t?.setValue(p?v0e(J.target):J.target.value)},children:[pR(H).map(J=>J==null||B.includes(J)?null:(0,so.jsx)("option",{value:J,children:J},J)),B.map(J=>(0,so.jsx)("option",{value:J,children:J},J))]}),Y]}),[t,v,h,c,n,l,H,p,B,m]);let V=(0,so.jsxs)(so.Fragment,{children:[H,(0,so.jsx)(_v,{})]}),S=$(t,"contentElement");return a={role:"combobox","aria-autocomplete":"none","aria-labelledby":a["aria-label"]!=null?void 0:W,"aria-haspopup":ps(S,"listbox"),"data-autofill":I||void 0,"data-name":c,children:V,...a,ref:Me(t.setSelectElement,a.ref),onKeyDown:R},a=OG({store:t,toggleOnClick:r,...a}),a=Fi({store:t,...a}),a}),EH=te(function(t){let c=V0e(vc(t));return ne(B0e,c)});var XA=u(E(),1),LH=(0,XA.createContext)(void 0);var GA=u(E(),1),gA=u(F(),1),C0e="div",jv=ce(function(t){let[c,n]=(0,GA.useState)();return t=Le(t,l=>(0,gA.jsx)(LH.Provider,{value:n,children:l}),[]),t={role:"group","aria-labelledby":t["aria-label"]!=null?void 0:c,...t},t}),WAe=te(function(t){let c=jv(t);return ne(C0e,c)});var F0e="div",Mv=ce(function({store:t,...c}){return c=jv(c),c}),DH=te(function(t){let c=Mv(t);return ne(F0e,c)});var xA=u(E(),1),J0e="div",Pv=ce(function(t){let c=(0,xA.useContext)(LH),n=Ft(t.id);return Ue(()=>(c?.(n),()=>c?.(void 0)),[c,n]),t={"aria-hidden":!0,...t,id:n},t}),JAe=te(function(t){let c=Pv(t);return ne(J0e,c)});var Y0e="div",Kv=ce(function({store:t,...c}){return c=Pv(c),c}),_H=te(function(t){let c=Kv(t);return ne(Y0e,c)});var pA=u(E(),1),N0e="div";function S0e(e){let t=e.relatedTarget;return Tc(t)?Ct(e.currentTarget,t):!1}var qv=Symbol("composite-hover");function w0e(e){let{relatedTarget:t}=e;if(!Tc(t))return!1;let c=t;do{if(In(c,qv)&&c[qv])return!0;c=c.parentElement}while(c);return!1}var EG=ce(function({store:t,focusOnHover:c=!0,blurOnHoverEnd:n=!!c,...l}){let o=Zd();t=t||o,ke(t,!1);let d=Fu(),i=l.onMouseMove,r=Wt(c),a=ge(G=>{if(i?.(G),!G.defaultPrevented&&d()&&r(G)){if(!no(G.currentTarget)){let g=t?.getState().compositeElement;g&&!Is(g)&&g.focus({preventScroll:!0})}t?.setActiveId(G.currentTarget.id)}}),s=l.onMouseLeave,b=Wt(n),m=ge(G=>{s?.(G),!G.defaultPrevented&&d()&&(S0e(G)||w0e(G)||r(G)&&b(G)&&(t?.setActiveId(null),t?.getState().compositeElement?.focus({preventScroll:!0})))}),X=(0,pA.useCallback)(G=>{G&&(G[qv]=!0)},[]);return l={...l,ref:Me(X,l.ref),onMouseMove:a,onMouseLeave:m},l}),jH=mc(te(function(t){let c=EG(t);return ne(N0e,c)}));var RA=u(E(),1),HA=u(F(),1);var k0e="div";function z0e(e,t){if(t!=null)return e==null?!1:Array.isArray(e)?e.includes(t):e===t}var T0e=ce(function({store:t,value:c,getItem:n,hideOnClick:l,setValueOnClick:o=c!=null,preventScrollOnKeyDown:d=!0,focusOnHover:i=!0,...r}){let a=Jz();t=t||a,ke(t,!1);let s=Ft(r.id),b=bc(r),{listElement:m,multiSelectable:X,selected:G,autoFocus:g}=Ws(t,["value","activeId","items"],{listElement:"listElement",multiSelectable(W){return Array.isArray(W.value)},selected(W){return z0e(W.value,c)},autoFocus(W){return c==null||W.value==null||W.activeId!==s&&t?.item(W.activeId)?!1:Array.isArray(W.value)?W.value[W.value.length-1]===c:W.value===c}}),x=$(t?.combobox,"virtualFocus"),H=(0,RA.useCallback)(W=>{let v={...W,value:b?void 0:c};return n?n(v):v},[b,c,n]);l=l??(c!=null&&!X);let p=r.onClick,R=Wt(o),I=Wt(l),f=ge(W=>{p?.(W),!W.defaultPrevented&&(vR(W)||BR(W)||(R(W)&&c!=null&&t?.setValue(v=>Array.isArray(v)?v.includes(c)?v.filter(h=>h!==c):[...v,c]:c),I(W)&&t?.hide()))});r=Le(r,W=>(0,HA.jsx)(tH.Provider,{value:G??!1,children:W}),[G]);let y=r.autoFocus??g;r={role:yu(m),"aria-selected":G,children:c,...r,id:s,autoFocus:x===!1?!1:y,"data-autofocus":y||void 0,onClick:f},r=wo({store:t,getItem:H,preventScrollOnKeyDown:d,...r});let Z=Wt(i);return r=EG({store:t,...r,focusOnHover(W){return!t.getState().open||!Z(W)?!1:t.getState().open}}),r}),MH=mc(te(function(t){let c=T0e(t);return ne(k0e,c)}));var IA=u(E(),1),PH=(0,IA.createContext)(!1);var ZA=u(E(),1),$v=u(F(),1),A0e="span",O0e=(0,$v.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,$v.jsx)("polyline",{points:"4,8 7,12 12,4"})});function Q0e(e){return e.checked?e.children||O0e:null}var LG=ce(function({store:t,checked:c,...n}){let l=(0,ZA.useContext)(PH);c=c??l;let o=Q0e({checked:c,children:n.children});return n={"aria-hidden":!0,...n,children:o,style:{width:"1em",height:"1em",pointerEvents:"none",...n.style}},n}),KAe=te(function(t){let c=LG(t);return ne(A0e,c)});var fA=u(E(),1),U0e="span",E0e=ce(function({store:t,checked:c,...n}){let l=(0,fA.useContext)(tH);return c=c??l,n=LG({...n,checked:c}),n}),KH=te(function(t){let c=E0e(t);return ne(U0e,c)});var L0e="div",D0e=ce(function({store:t,...c}){let n=Js();t=t||n,ke(t,!1);let l=Ft(c.id),o=c.onClick,d=ge(i=>{o?.(i),!i.defaultPrevented&&queueMicrotask(()=>{t?.getState().selectElement?.focus()})});return c={...c,id:l,ref:Me(t.setLabelElement,c.ref),onClick:d,style:{cursor:"default",...c.style}},c}),qH=mc(te(function(t){let c=D0e(t);return ne(L0e,c)}));var ml=u(E(),1),$H=u(F(),1);var _0e="div",yA=(0,ml.createContext)(null),e2=ce(function({store:t,resetOnEscape:c=!0,hideOnEnter:n=!0,composite:l,alwaysVisible:o,...d}){let i=Fs();t=t||i,ke(t,!1);let r=Ft(d.id),a=$(t,"value"),s=Array.isArray(a),[b,m]=(0,ml.useState)(a),X=$(t,"mounted");(0,ml.useEffect)(()=>{X||m(a)},[X,a]),c=c&&!s;let G=d.onKeyDown,g=Wt(c),x=Wt(n),H=ge(J=>{G?.(J),!J.defaultPrevented&&(J.key==="Escape"&&g(J)&&t?.setValue(b),(J.key===" "||J.key==="Enter")&&uc(J)&&x(J)&&(J.preventDefault(),t?.hide()))}),p=(0,ml.useContext)(rv),R=(0,ml.useState)(),[I,f]=p||R,y=(0,ml.useMemo)(()=>[I,f],[I,f]),[Z,W]=(0,ml.useState)(null),v=(0,ml.useContext)(yA);(0,ml.useEffect)(()=>{if(v)return v(t),()=>v(null)},[v,t]),d=Le(d,J=>(0,$H.jsx)(eH,{value:t,children:(0,$H.jsx)(yA.Provider,{value:W,children:(0,$H.jsx)(rv.Provider,{value:y,children:J})})}),[t,y]);let h=!!t.combobox;l=l??(!h&&Z!==t);let[,C]=NR(l?t.setListElement:null),B=vi(X,d.hidden,o),V=B?{...d.style,display:"none"}:d.style;l&&(d={role:"listbox","aria-multiselectable":s||void 0,...d});let S=$(t,["labelElement"],J=>I?null:J.labelElement);Bu(S,"id");let Y=I||S?.id;return d={"aria-labelledby":d["aria-label"]!=null?void 0:Y,hidden:B,...d,id:r,ref:Me(C,d.ref),style:V,onKeyDown:H},d=ko({store:t,...d,composite:l}),d=Fi({store:t,typeahead:!h,...d}),d}),j0e=te(function(t){let c=e2(t);return ne(_0e,c)});var M0e="div",P0e=ce(function({store:t,alwaysVisible:c,...n}){let l=Js();return t=t||l,n=e2({store:t,alwaysVisible:c,...n}),n=YG({store:t,alwaysVisible:c,...n}),n}),eI=Ao(te(function(t){let c=P0e(t);return ne(M0e,c)}),Js);function WA({combobox:e,...t}={}){let c=fd(t.store,No(e,["value","items","renderedItems","compositeElement","baseElement","arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","inputElement","labelElement","selectElement","selectLabelElement"]));let n=c.getState(),l=lo({...t,store:c,virtualFocus:Je(t.virtualFocus,n.virtualFocus,!0),compositeElementInFocusOrder:Je(t.compositeElementInFocusOrder,t.includesBaseElement,n.compositeElementInFocusOrder,n.includesBaseElement,!1),activeId:Je(t.activeId,n.activeId,t.defaultActiveId,null),orientation:Je(t.orientation,n.orientation,"vertical")}),o=SH({...t,store:c,placement:Je(t.placement,n.placement,"bottom-start")}),d=new String(""),i={...l.getState(),...o.getState(),value:Je(t.value,n.value,t.defaultValue,d),setValueOnMove:Je(t.setValueOnMove,n.setValueOnMove,!1),labelElement:Je(n.labelElement,null),selectElement:Je(n.selectElement,null),listElement:Je(n.listElement,null)},r=Tt(i,l,o,c);return Dt(r,()=>lt(r,["value","items"],a=>{if(a.value!==d||!a.items.length)return;let s=a.items.find(b=>!b.disabled&&b.value!=null);s?.value!=null&&r.setState("value",s.value)})),Dt(r,()=>lt(r,["mounted"],a=>{a.mounted||r.setState("activeId",i.activeId)})),Dt(r,()=>lt(r,["mounted","items","value"],a=>{if(e||a.mounted)return;let s=pR(a.value),b=s[s.length-1];if(b==null)return;let m=a.items.find(X=>!X.disabled&&X.value===b);m&&r.setState("activeId",m.id)})),Dt(r,()=>Wi(r,["setValueOnMove","moves"],a=>{let{mounted:s,value:b,activeId:m}=r.getState();if(!a.setValueOnMove&&s||Array.isArray(b)||!a.moves||!m)return;let X=l.item(m);!X||X.disabled||X.value==null||r.setState("value",X.value)})),{...l,...o,...r,combobox:e,setValue:a=>r.setState("value",a),setLabelElement:a=>{r.setState("labelElement",a),e?.setSelectLabelElement(a)},setSelectElement:a=>r.setState("selectElement",a),setListElement:a=>r.setState("listElement",a)}}function q0e(e){let t=$R();return e={...e,combobox:e.combobox!==void 0?e.combobox:t},gG(e)}function $0e(e,t,c){return Qn(t,[c.combobox,t]),mt(e,c,"value","setValue"),mt(e,c,"setValueOnMove"),Object.assign(wH(zo(e,t,c),t,c),{combobox:c.combobox})}function tI(e={}){e=q0e(e);let[t,c]=nc(WA,e);return $0e(t,c,e)}var hA=u(E(),1),BA=u(F(),1);var eXe="div",tXe=ce(function({store:t,"aria-setsize":c,"aria-posinset":n,...l}){let o=Zd();t=t||o,ke(t,!1);let d=Ft(l.id),i=$(t,"compositeElement")||void 0,r=(0,hA.useMemo)(()=>({id:d,compositeElement:i,ariaSetSize:c,ariaPosInSet:n}),[d,i,c,n]);return l=Le(l,a=>(0,BA.jsx)(zR.Provider,{value:r,children:a}),[r]),l={...l,id:d},l}),cI=te(function(t){let c=tXe(t);return ne(eXe,c)});function vA(e={}){e.store;let t=e.store?.getState(),c={value:Je(e.value,t?.value,e.defaultValue,!1)},n=Tt(c,e.store);return{...n,setValue:l=>n.setState("value",l)}}function nXe(e,t,c){return Qn(t,[c.store,t]),mt(e,c,"value","setValue"),e}function VA(e={}){let[t,c]=nc(vA,e);return nXe(t,c,e)}var DG=Jt(),CA=DG.useContext,$Oe=DG.useScopedContext,eQe=DG.useProviderContext,tQe=DG.ContextProvider,cQe=DG.ScopedContextProvider;var tm=u(E(),1),JA=u(F(),1);function nI(e){return Array.isArray(e)?e.toString():e}var YA="input";function FA(e,t){t?e.indeterminate=!0:e.indeterminate&&(e.indeterminate=!1)}function lXe(e,t){return e==="input"&&(!t||t==="checkbox")}var t2=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,...d}){let i=CA();t=t||i;let[r,a]=(0,tm.useState)(o??!1),s=$(t,["value"],y=>{if(l!==void 0)return l;if(y?.value===void 0)return r;if(n!=null){if(Array.isArray(y.value)){let Z=nI(n);return y.value.includes(Z)}return y.value===n}return Array.isArray(y.value)?!1:typeof y.value=="boolean"?y.value:!1}),b=(0,tm.useRef)(null),m=lXe(hu(b,YA),d.type),X=s?s==="mixed":void 0,G=s==="mixed"?!1:s,g=bc(d),[x,H]=vu();(0,tm.useEffect)(()=>{let y=b.current;y&&(FA(y,X),!m&&(y.checked=G,c!==void 0&&(y.name=c),n!==void 0&&(y.value=String(n))))},[x,X,m,G,c,n]);let p=d.onChange,R=ge(y=>{if(g){y.stopPropagation(),y.preventDefault();return}if(FA(y.currentTarget,X),m||(y.currentTarget.checked=!y.currentTarget.checked,H()),p?.(y),y.defaultPrevented)return;let Z=y.currentTarget.checked;a(Z),t?.setValue(W=>{if(n==null)return Z;let v=nI(n);return Array.isArray(W)?Z?W.includes(v)?W:[...W,v]:W.filter(h=>h!==v):W===v?!1:v})}),I=d.onClick,f=ge(y=>{I?.(y),!y.defaultPrevented&&(m||R(y))});return d=Le(d,y=>(0,JA.jsx)(PH.Provider,{value:G,children:y}),[G]),d={role:m?void 0:"checkbox",type:m?"checkbox":void 0,"aria-checked":s,...d,ref:Me(b,d.ref),onChange:R,onClick:f},d=fs({clickOnEnter:!m,...d}),co({name:m?c:void 0,value:m?n:void 0,checked:G,...d})}),sQe=te(function(t){let c=t2(t);return ne(YA,c)});var c2=u(E(),1),_G=Jt([bl,FH],[yn,Pu]),jG=_G.useContext,cm=_G.useScopedContext,Os=_G.useProviderContext,NA=_G.ContextProvider,SA=_G.ScopedContextProvider;var lI=(0,c2.createContext)(void 0),oI=(0,c2.createContext)(!1);var dI=u(E(),1),n2=u(F(),1);var oXe="div";function dXe({store:e,...t}){let[c,n]=(0,dI.useState)(void 0),l=t["aria-label"],o=$(e,"disclosureElement"),d=$(e,"contentElement");return(0,dI.useEffect)(()=>{let i=d;if(!i)return;let r=l||i.hasAttribute("aria-label")?void 0:o?.id||void 0;n(r)},[l,o,d]),c}var l2=ce(function({store:t,alwaysVisible:c,composite:n,...l}){let o=Os();t=t||o,ke(t,!1);let d=t.parent,i=t.menubar,r=!!d,a=Ft(l.id),s=l.onKeyDown,b=$(t,["placement"],f=>vd(f.placement)),m=$(t,["orientation"],f=>f.orientation==="both"?void 0:f.orientation),X=m!=="vertical",G=$(i,["orientation"],f=>!!f&&f.orientation!=="vertical"),g=ge(f=>{if(s?.(f),!f.defaultPrevented){if(r||i&&!X){let y={ArrowRight:()=>b==="left"&&!X,ArrowLeft:()=>b==="right"&&!X,ArrowUp:()=>b==="bottom"&&X,ArrowDown:()=>b==="top"&&X}[f.key];if(y?.())return f.stopPropagation(),f.preventDefault(),t?.hide()}if(i){let y={ArrowRight:()=>{if(G)return i.next()},ArrowLeft:()=>{if(G)return i.previous()},ArrowDown:()=>{if(!G)return i.next()},ArrowUp:()=>{if(!G)return i.previous()}}[f.key],Z=y?.();Z!==void 0&&(f.stopPropagation(),f.preventDefault(),i.move(Z))}}});l=Le(l,f=>(0,n2.jsx)(SA,{value:t,children:f}),[t]);let x=dXe({store:t,...l}),H=$(t,"mounted"),p=vi(H,l.hidden,c),R=p?{...l.style,display:"none"}:l.style;l=Le(l,f=>(0,n2.jsx)(oI.Provider,{value:p,children:f}),[p]),l={"aria-labelledby":x,hidden:p,...l,id:a,ref:Me(a?t.setContentElement:null,l.ref),style:R,onKeyDown:g};let I=!!t.combobox;return n=n??!I,n&&(l={role:"menu","aria-orientation":m,...l}),l=ko({store:t,composite:n,...l}),l=Fi({store:t,typeahead:!I,...l}),l}),iXe=te(function(t){let c=l2(t);return ne(oXe,c)});var Uo=u(E(),1);var rXe="div",aXe=ce(function({store:t,modal:c=!1,portal:n=c,hideOnEscape:l=!0,autoFocusOnShow:o=!0,hideOnHoverOutside:d,alwaysVisible:i,getPersistentElements:r,unstable_treeSnapshotKey:a,...s}){let b=Os();t=t||b,ke(t,!1);let m=(0,Uo.useRef)(null),X=t.parent,G=t.menubar,g=!!X,x=!!G&&!g,H=g?!1:c;s={...s,ref:Me(m,s.ref)};let{"aria-labelledby":p,...R}=l2({store:t,alwaysVisible:i,...s});s=R;let[I,f]=(0,Uo.useState)(),y=$(t,["autoFocusOnShow","initialFocus","renderedItems","compositeElement"],J=>{if(!J.autoFocusOnShow)return;let k=N=>!N.disabled&&!!N.element;switch(J.initialFocus){case"first":return J.renderedItems.find(k)?.element||null;case"last":for(let N=J.renderedItems.length-1;N>=0;N-=1){let A=J.renderedItems[N];if(A&&k(A))return A.element}return null;default:return J.compositeElement}});(0,Uo.useEffect)(()=>{let J=!1;return f(k=>{if(J)return;if(H&&k?.current?.isConnected)return k;if(y===void 0)return;if(y&&y===k?.current)return k;let N=(0,Uo.createRef)();return N.current=y,N}),()=>{J=!0}},[H,y]);let Z=!!I||!!s.initialFocus||H,W=o===!1?!1:Z&&o,v=$(t,["disclosureElement","anchorElement"],J=>J.disclosureElement||J.anchorElement),h=$(t,["disclosureElement","contentElement"],J=>{let{disclosureElement:k,contentElement:N}=J;return!k?.isConnected||vv(k)||N?.contains(k)?null:k}),C=H?h:null,B=(0,Uo.useMemo)(()=>[a,C],[a,C]),V=$(t.combobox||t,"contentElement"),S=$(X?.combobox||X,"contentElement"),Y=(0,Uo.useMemo)(()=>{if(!S||!V)return;let J=V.getAttribute("role"),k=S.getAttribute("role");if(!((k==="menu"||k==="menubar")&&J==="menu"))return S},[V,S]);return Y!==void 0&&(s={preserveTabOrderAnchor:Y,...s}),s=wG({store:t,alwaysVisible:i,initialFocus:I,autoFocusOnShow:W,finalFocus:v,...s,hideOnEscape(J){return fi(l,J)?!1:(t?.hideAll(),!0)},hideOnHoverOutside(J){let k=t?.getState().disclosureElement;return(typeof d=="function"?d(J):d??(g?!0:x?k?!no(k):!0:!1))?J.defaultPrevented||!g||!k||(bk(k,"mouseout",J),!no(k))?!0:(requestAnimationFrame(()=>{no(k)||t?.hide()}),!1):!1},getPersistentElements(){let J=r?.()||[];return!H||!h?J:[...J,h]},unstable_treeSnapshotKey:B,modal:H,portal:n,backdrop:g?!1:s.backdrop}),s={"aria-labelledby":p,...s},s}),iI=Ao(te(function(t){let c=aXe(t);return ne(rXe,c)}),Os);var kA=u(E(),1),o2=u(F(),1);var sXe="button";function bXe(e,t){return{ArrowDown:t==="bottom"||t==="top"?"first":!1,ArrowUp:t==="bottom"||t==="top"?"last":!1,ArrowRight:t==="right"?"first":!1,ArrowLeft:t==="left"?"first":!1}[e.key]}function wA(e,t){return!!e?.some(c=>!c.element||c.element===t?!1:c.element.getAttribute("aria-expanded")==="true")}var uXe=ce(function({store:t,focusable:c,accessibleWhenDisabled:n,showOnHover:l,unstable_showOnHoverWhenDisabled:o=!1,...d}){let i=Os();t=t||i,ke(t,!1);let r=(0,kA.useRef)(null),a=t.parent,s=t.menubar,b=!!a,m=!!s&&!b,X=bc(d),G=B=>X||ZR(B),g=()=>{let B=r.current;B&&(t?.setDisclosureElement(B),t?.show())},x=d.onFocus,H=ge(B=>{if(x?.(B),G(B.currentTarget)||B.defaultPrevented||(t?.setAutoFocusOnShow(!1),t?.setActiveId(null),!s)||!m)return;let{items:V}=s.getState();wA(V,B.currentTarget)&&g()}),p=$(t,["placement"],B=>vd(B.placement)),R=d.onKeyDown,I=ge(B=>{if(R?.(B),G(B.currentTarget)||B.defaultPrevented)return;let V=bXe(B,p);if(V){B.preventDefault();let{open:S}=t.getState();if(S){let Y=V==="last"?t.last():t.first();t.move(Y);return}g(),t?.setAutoFocusOnShow(!0),t?.setInitialFocus(V)}}),f=d.onClick,y=ge(B=>{if(f?.(B),B.defaultPrevented||!t)return;let V=!B.detail,{open:S}=t.getState();(!S||V)&&((!b||V)&&t.setAutoFocusOnShow(!0),t.setInitialFocus(V?"first":"container")),b&&g()});d=Le(d,B=>(0,o2.jsx)(NA,{value:t,children:B}),[t]),b&&(d={...d,render:(0,o2.jsx)(Bd.div,{render:d.render})});let Z=Ft(d.id),W=$(a?.combobox||a,"contentElement"),v=b||m?yu(W,"menuitem"):void 0,h=$(t,"contentElement"),C=!!t.combobox;return d={role:v,"aria-haspopup":ps(h,C?"dialog":"menu"),...d,id:Z,ref:Me(r,d.ref),onFocus:H,onKeyDown:I,onClick:y},d=YH({store:t,focusable:c,accessibleWhenDisabled:n,...d,unstable_showOnHoverWhenDisabled:o,showOnHover:B=>{if(!(()=>{if(typeof l=="function")return l(B);if(l!=null)return l;if(b)return!0;if(!s)return!1;let{items:Y}=s.getState();return m&&wA(Y)})())return!1;let S=m?s:a;return S&&S.setActiveId(B.currentTarget.id),!0}}),d=OG({store:t,toggleOnClick:!b,focusable:c,accessibleWhenDisabled:n,...d}),d=Fi({store:t,typeahead:m,...d}),d}),nm=te(function(t){let c=uXe(t);return ne(sXe,vc(c))});var mXe="div",XXe=ce(function(t){return t=Mv(t),t}),rI=te(function(t){let c=XXe(t);return ne(mXe,c)});var GXe="div",gXe=ce(function(t){return t=Kv(t),t}),aI=te(function(t){let c=gXe(t);return ne(GXe,c)});var zA=u(E(),1);var xXe="div";function pXe(e,t,c){if(!e)return!1;if(no(e))return!0;let n=t?.find(o=>o.element===c?!1:o.element?.getAttribute("aria-expanded")==="true")?.element?.getAttribute("aria-controls");if(!n)return!1;let l=nt(e).getElementById(n);return l?no(l)?!0:!!l.querySelector("[role=menuitem][aria-expanded=true]"):!1}var MG=ce(function({store:t,hideOnClick:c=!0,preventScrollOnKeyDown:n=!0,focusOnHover:l,blurOnHoverEnd:o,...d}){let i=cm(!0),r=nA();t=t||i||r,ke(t,!1);let a=d.onClick,s=Wt(c),b="hideAll"in t?t.hideAll:void 0,m=!!b,X=ge(x=>{if(a?.(x),x.defaultPrevented||vR(x)||BR(x)||!b)return;let H=x.currentTarget.getAttribute("aria-haspopup");H&&H!=="false"||s(x)&&b()}),G=$(t,["contentElement"],x=>"contentElement"in x?x.contentElement:null),g=(0,zA.useContext)(oI);return d={role:yu(G,"menuitem"),...d,onClick:X},d=wo({store:t,preventScrollOnKeyDown:n,...d,shouldRegisterItem:g?!1:d.shouldRegisterItem}),d=EG({store:t,...d,focusOnHover(x){let H=()=>typeof l=="function"?l(x):l??!0;if(!t||!H())return!1;let{compositeElement:p,items:R}=t.getState();return m?(x.currentTarget.hasAttribute("aria-expanded")&&x.currentTarget.focus({preventScroll:!0}),!0):pXe(p,R,x.currentTarget)?(x.currentTarget.focus({preventScroll:!0}),!0):!1},blurOnHoverEnd(x){return typeof o=="function"?o(x):o??m}}),d}),sI=mc(te(function(t){let c=MG(t);return ne(xXe,c)}));var TA=u(E(),1),RXe="span",HXe=ce(function({store:t,checked:c,...n}){let l=(0,TA.useContext)(lI);return c=c??l,n=LG({...n,checked:c}),n}),lm=te(function(t){let c=HXe(t);return ne(RXe,c)});var i2=u(E(),1);var IXe="div";function d2(e,t,c){if(t===void 0)return Array.isArray(e)?e:!!c;let n=nI(t);return Array.isArray(e)?c?e.includes(n)?e:[...e,n]:e.filter(l=>l!==n):c?n:e===n?!1:e}var ZXe=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,hideOnClick:d=!1,...i}){let r=cm();t=t||r,ke(t,!1);let a=eG(o);(0,i2.useEffect)(()=>{t?.setValue(c,(b=n!==void 0?[]:!1)=>a?d2(b,n,!0):b)},[t,c,n,a]),(0,i2.useEffect)(()=>{l!==void 0&&t?.setValue(c,b=>d2(b,n,l))},[t,c,n,l]);let s=VA({value:$(t,["values"],b=>b.values[c]),setValue(b){t?.setValue(c,()=>{if(l===void 0)return b;let m=d2(b,n,l);return!Array.isArray(m)||!Array.isArray(b)?m:qw(b,m)?b:m})}});return i={role:"menuitemcheckbox",...i},i=t2({store:s,name:c,value:n,checked:l,...i}),i=MG({store:t,hideOnClick:d,...i}),i}),bI=mc(te(function(t){let c=ZXe(t);return ne(IXe,c)}));var a2=u(E(),1),AA=u(F(),1);var fXe="div";function r2(e,t,c){return c===void 0?e:c?t:e===t?!1:e}var yXe=ce(function({store:t,name:c,value:n,checked:l,defaultChecked:o,onChange:d,hideOnClick:i=!1,...r}){let a=cm();t=t||a,ke(t,!1);let s=eG(o);(0,a2.useEffect)(()=>{t?.setValue(c,(m=!1)=>r2(m,n,s))},[t,c,n,s]),(0,a2.useEffect)(()=>{l!==void 0&&t?.setValue(c,m=>r2(m,n,l))},[t,c,n,l]);let b=$(t,["values"],m=>m.values[c]===n);return r=Le(r,m=>(0,AA.jsx)(lI.Provider,{value:b,children:m}),[b]),r={role:"menuitemradio",...r},r=Lv({name:c,value:n,checked:b,onChange(m){if(d?.(m),m.defaultPrevented)return;let X=m.currentTarget;t?.setValue(c,G=>r2(G,n,l??X.checked))},...r}),r=MG({store:t,hideOnClick:i,...r}),r}),uI=mc(te(function(t){let c=yXe(t);return ne(fXe,c)}));function OA({combobox:e,parent:t,menubar:c,...n}={}){let l=!!c&&!t,o=fd(n.store,Ek(t,["values"]),No(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));let d=o.getState(),i=lo({...n,store:o,orientation:Je(n.orientation,d.orientation,"vertical")}),r=kH({...n,store:o,placement:Je(n.placement,d.placement,"bottom-start"),timeout:Je(n.timeout,d.timeout,l?0:150),hideTimeout:Je(n.hideTimeout,d.hideTimeout,0)}),a={...i.getState(),...r.getState(),initialFocus:Je(d.initialFocus,"container"),values:Je(n.values,d.values,n.defaultValues,{})},s=Tt(a,i,r,o);return Dt(s,()=>lt(s,["mounted"],b=>{b.mounted||s.setState("activeId",null)})),Dt(s,()=>lt(t,["orientation"],b=>{s.setState("placement",b.orientation==="vertical"?"right-start":"bottom-start")})),{...i,...r,...s,combobox:e,parent:t,menubar:c,hideAll:()=>{r.hide(),t?.hideAll()},setInitialFocus:b=>s.setState("initialFocus",b),setValues:b=>s.setState("values",b),setValue:(b,m)=>{b!=="__proto__"&&b!=="constructor"&&(Array.isArray(b)||s.setState("values",X=>{let G=X[b],g=fu(m,G);return g===G?X:{...X,[b]:g!==void 0&&g}}))}}}function hXe(e,t,c){return Qn(t,[c.combobox,c.parent,c.menubar,t]),mt(e,c,"values","setValues"),Object.assign(zH(zo(e,t,c),t,c),{combobox:c.combobox,parent:c.parent,menubar:c.menubar})}function mI(e={}){let t=jG(),c=cA(),n=$R();e={...e,parent:e.parent!==void 0?e.parent:t,menubar:e.menubar!==void 0?e.menubar:c,combobox:e.combobox!==void 0?e.combobox:n};let[l,o]=nc(OA,e);return hXe(l,o,e)}var BXe="hr",vXe=ce(function({store:t,...c}){let n=jG();return t=t||n,c=bv({store:t,...c}),c}),XI=te(function(t){let c=vXe(t);return ne(BXe,c)});var iO=u(Ze(),1),gI=u(T(),1);var om=u(T(),1),PG=(0,om.createContext)({});PG.displayName="CompositeContext";var bo=()=>(0,om.useContext)(PG),GI=(0,om.createContext)(!1);GI.displayName="CompositeGroupContext";var QA=()=>(0,om.useContext)(GI);var UA=u(T(),1);var s2=u(F(),1),EA=(0,UA.forwardRef)(function(t,c){let n=bo(),{children:l,...o}=t,d=t.store??n.store;return(0,s2.jsx)(DH,{store:d,...o,ref:c,children:(0,s2.jsx)(GI.Provider,{value:!0,children:l})})});var LA=u(T(),1);var DA=u(F(),1),_A=(0,LA.forwardRef)(function(t,c){let n=bo();if(!QA())throw new Error("Composite.GroupLabel can only be rendered inside Composite.Group.");let o=t.store??n.store;return(0,DA.jsx)(_H,{store:o,...t,ref:c})});var jA=u(T(),1);var MA=u(F(),1),PA=(0,jA.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,MA.jsx)(jH,{store:l,...t,ref:c})});var qA=u(T(),1),lLe=u(En(),1);var $A=u(F(),1),eO=(0,qA.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,$A.jsx)(hs,{store:l,...t,ref:c})});var tO=u(T(),1);var cO=u(F(),1),nO=(0,tO.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,cO.jsx)(cI,{store:l,...t,ref:c})});var lO=u(T(),1);var oO=u(F(),1),dO=(0,lO.forwardRef)(function(t,c){let n=bo(),l=t.store??n.store;return(0,oO.jsx)(QH,{store:l,...t,ref:c})});var b2=u(F(),1),Bn=Object.assign((0,gI.forwardRef)(function({activeId:t,defaultActiveId:c,setActiveId:n,focusLoop:l=!1,focusWrap:o=!1,focusShift:d=!1,virtualFocus:i=!1,orientation:r="both",rtl:a=(0,iO.isRTL)(),children:s,disabled:b=!1,...m},X){let G=m.store,g=Au({activeId:t,defaultActiveId:c,setActiveId:n,focusLoop:l,focusWrap:o,focusShift:d,virtualFocus:i,orientation:r,rtl:a}),x=G??g,H=(0,gI.useMemo)(()=>({store:x}),[x]);return(0,b2.jsx)(PR,{disabled:b,store:x,...m,ref:X,children:(0,b2.jsx)(PG.Provider,{value:H,children:s})})}),{Group:Object.assign(EA,{displayName:"Composite.Group"}),GroupLabel:Object.assign(_A,{displayName:"Composite.GroupLabel"}),Item:Object.assign(eO,{displayName:"Composite.Item"}),Row:Object.assign(nO,{displayName:"Composite.Row"}),Hover:Object.assign(PA,{displayName:"Composite.Hover"}),Typeahead:Object.assign(dO,{displayName:"Composite.Typeahead"}),Context:Object.assign(PG,{displayName:"Composite.Context"})});var PL=u(me(),1),ba=u(T(),1),KL=u(Xt(),1);var aO=u(F(),1);function VXe(e){let{shortcut:t,className:c}=e;if(!t)return null;let n,l;return typeof t=="string"&&(n=t),t!==null&&typeof t=="object"&&(n=t.display,l=t.ariaLabel),(0,aO.jsx)("span",{className:c,"aria-label":l,children:n})}var xI=VXe;var $G=u(F(),1),Yd=u(E(),1);var sO=u(E(),1),dm=(0,sO.createContext)({});var bO=u(E(),1);function im(e){let t=(0,bO.useRef)(null);return t.current===null&&(t.current=e()),t.current}var m2=u(F(),1),gO=u(E(),1),Qs=u(E(),1);var uO=u(E(),1),Ji=(0,uO.createContext)(null);var XO=u(F(),1),pI=u(E(),1),Yi=u(E(),1);var mO=u(E(),1),rm=(0,mO.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var u2=class extends pI.Component{getSnapshotBeforeUpdate(t){let c=this.props.childRef.current;if(c&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=c.offsetHeight||0,n.width=c.offsetWidth||0,n.top=c.offsetTop,n.left=c.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function GO({children:e,isPresent:t}){let c=(0,Yi.useId)(),n=(0,Yi.useRef)(null),l=(0,Yi.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,Yi.useContext)(rm);return(0,Yi.useInsertionEffect)(()=>{let{width:d,height:i,top:r,left:a}=l.current;if(t||!n.current||!d||!i)return;n.current.dataset.motionPopId=c;let s=document.createElement("style");return o&&(s.nonce=o),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(` | |
| 3 | + [data-motion-pop-id="${c}"] { | |
| 3 | 4 | position: absolute !important; |
| 4 | - width: ${o}px !important; | |
| 5 | - height: ${n}px !important; | |
| 6 | - top: ${X}px !important; | |
| 7 | - left: ${G}px !important; | |
| 5 | + width: ${d}px !important; | |
| 6 | + height: ${i}px !important; | |
| 7 | + top: ${r}px !important; | |
| 8 | + left: ${a}px !important; | |
| 8 | 9 | } |
| 9 | - `),()=>{document.head.removeChild(i)}},[l]),(0,Xk.jsx)(MV,{isPresent:l,childRef:e,sizeRef:b,children:fH.cloneElement(c,{ref:e})})}var ak=({children:c,initial:l,isPresent:t,onExitComplete:e,custom:b,presenceAffectsLayout:d,mode:o})=>{let n=Ea(Goc),X=(0,CG.useId)(),G=(0,CG.useCallback)(a=>{n.set(a,!0);for(let m of n.values())if(!m)return;e&&e()},[n,e]),i=(0,CG.useMemo)(()=>({id:X,initial:l,isPresent:t,custom:b,onExitComplete:G,register:a=>(n.set(a,!1),()=>n.delete(a))}),d?[Math.random(),G]:[t,G]);return(0,CG.useMemo)(()=>{n.forEach((a,m)=>n.set(m,!1))},[t]),ik.useEffect(()=>{!t&&!n.size&&e&&e()},[t]),o==="popLayout"&&(c=(0,PV.jsx)(Gk,{isPresent:t,children:c})),(0,PV.jsx)(Pn.Provider,{value:i,children:c})};function Goc(){return new Map}var SH=u(M(),1),Hs=c=>c.key||"";function KV(c){let l=[];return SH.Children.forEach(c,t=>{(0,SH.isValidElement)(t)&&l.push(t)}),l}var cu=({children:c,exitBeforeEnter:l,custom:t,initial:e=!0,onExitComplete:b,presenceAffectsLayout:d=!0,mode:o="sync"})=>{je(!l,"Replace exitBeforeEnter with mode='wait'");let n=(0,Td.useMemo)(()=>KV(c),[c]),X=n.map(Hs),G=(0,Td.useRef)(!0),i=(0,Td.useRef)(n),a=Ea(()=>new Map),[m,s]=(0,Td.useState)(n),[x,r]=(0,Td.useState)(n);xH(()=>{G.current=!1,i.current=n;for(let Z=0;Z<x.length;Z++){let R=Hs(x[Z]);X.includes(R)?a.delete(R):a.get(R)!==!0&&a.set(R,!1)}},[x,X.length,X.join("-")]);let g=[];if(n!==m){let Z=[...n];for(let R=0;R<x.length;R++){let W=x[R],I=Hs(W);X.includes(I)||(Z.splice(R,0,W),g.push(W))}o==="wait"&&g.length&&(Z=g),r(KV(Z)),s(n);return}let{forceRender:H}=(0,Td.useContext)(ka);return(0,Rs.jsx)(Rs.Fragment,{children:x.map(Z=>{let R=Hs(Z),W=n===x||X.includes(R),I=()=>{if(a.has(R))a.set(R,!0);else return;let p=!0;a.forEach(B=>{B||(p=!1)}),p&&(H?.(),r(i.current),b&&b())};return(0,Rs.jsx)(ak,{isPresent:W,initial:!G.current||e?void 0:!1,custom:W?void 0:t,presenceAffectsLayout:d,mode:o,onExitComplete:W?void 0:I,children:Z},R)})})};var lu=u(F(),1);function Dt(c){return c!=null}function uk(c){let l=c==="";return!Dt(c)||l}function mk(c=[],l){return c.find(Dt)??l}var ioc=c=>parseFloat(c),Is=c=>typeof c=="string"?ioc(c):c;var sk={initial:void 0,fallback:""};function aoc(c,l=sk){let{initial:t,fallback:e}={...sk,...l},[b,d]=(0,lu.useState)(c),o=Dt(c);(0,lu.useEffect)(()=>{o&&b&&d(void 0)},[o,b]);let n=mk([c,b,t],e),X=(0,lu.useCallback)(G=>{o||d(G)},[o]);return[n,X]}var jo=aoc;var Ws=u(F(),1);function uoc(c,l){let t=(0,Ws.useRef)(!1);(0,Ws.useEffect)(()=>{if(t.current)return c();t.current=!0},l),(0,Ws.useEffect)(()=>()=>{t.current=!1},[])}var YG=uoc;var kH=u(F(),1);function ee({defaultValue:c,onChange:l,value:t}){let e=typeof t<"u",b=e?t:c,[d,o]=(0,kH.useState)(b),n=e?t:d,X=(0,kH.useCallback)((i,...a)=>{o(i),l?.(i,...a)},[l]),G;return e&&typeof l=="function"?G=l:!e&&typeof l=="function"?G=X:G=o,[n,G]}var xb=u(M()),Ys=u(M());var moc=!1;function soc(c){if(c.sheet)return c.sheet;for(var l=0;l<document.styleSheets.length;l++)if(document.styleSheets[l].ownerNode===c)return document.styleSheets[l]}function xoc(c){var l=document.createElement("style");return l.setAttribute("data-emotion",c.key),c.nonce!==void 0&&l.setAttribute("nonce",c.nonce),l.appendChild(document.createTextNode("")),l.setAttribute("data-s",""),l}var xk=(function(){function c(t){var e=this;this._insertTag=function(b){var d;e.tags.length===0?e.insertionPoint?d=e.insertionPoint.nextSibling:e.prepend?d=e.container.firstChild:d=e.before:d=e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(b,d),e.tags.push(b)},this.isSpeedy=t.speedy===void 0?!moc:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var l=c.prototype;return l.hydrate=function(e){e.forEach(this._insertTag)},l.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xoc(this));var b=this.tags[this.tags.length-1];if(this.isSpeedy){var d=soc(b);try{d.insertRule(e,d.cssRules.length)}catch{}}else b.appendChild(document.createTextNode(e));this.ctr++},l.flush=function(){this.tags.forEach(function(e){var b;return(b=e.parentNode)==null?void 0:b.removeChild(e)}),this.tags=[],this.ctr=0},c})();var Jt="-ms-",ps="-moz-",Kc="-webkit-",zH="comm",tu="rule",eu="decl";var rk="@import";var AH="@keyframes";var gk="@layer";var Zk=Math.abs,FG=String.fromCharCode,Hk=Object.assign;function Rk(c,l){return zl(c,0)^45?(((l<<2^zl(c,0))<<2^zl(c,1))<<2^zl(c,2))<<2^zl(c,3):0}function OH(c){return c.trim()}function _V(c,l){return(c=l.exec(c))?c[0]:c}function Uc(c,l,t){return c.replace(l,t)}function Bs(c,l){return c.indexOf(l)}function zl(c,l){return c.charCodeAt(l)|0}function $n(c,l,t){return c.slice(l,t)}function be(c){return c.length}function bu(c){return c.length}function du(c,l){return l.push(c),c}function qV(c,l){return c.map(l).join("")}var QH=1,ou=1,Ik=0,de=0,Ll=0,Xu="";function ys(c,l,t,e,b,d,o){return{value:c,root:l,parent:t,type:e,props:b,children:d,line:QH,column:ou,length:o,return:""}}function Gu(c,l){return Hk(ys("",null,null,"",null,null,0),c,{length:-c.length},l)}function Wk(){return Ll}function pk(){return Ll=de>0?zl(Xu,--de):0,ou--,Ll===10&&(ou=1,QH--),Ll}function oe(){return Ll=de<Ik?zl(Xu,de++):0,ou++,Ll===10&&(ou=1,QH++),Ll}function sb(){return zl(Xu,de)}function Vs(){return de}function iu(c,l){return $n(Xu,c,l)}function nu(c){switch(c){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 wH(c){return QH=ou=1,Ik=be(Xu=c),de=0,[]}function TH(c){return Xu="",c}function au(c){return OH(iu(de-1,$V(c===91?c+2:c===40?c+1:c)))}function Bk(c){for(;(Ll=sb())&&Ll<33;)oe();return nu(c)>2||nu(Ll)>3?"":" "}function yk(c,l){for(;--l&&oe()&&!(Ll<48||Ll>102||Ll>57&&Ll<65||Ll>70&&Ll<97););return iu(c,Vs()+(l<6&&sb()==32&&oe()==32))}function $V(c){for(;oe();)switch(Ll){case c:return de;case 34:case 39:c!==34&&c!==39&&$V(Ll);break;case 40:c===41&&$V(c);break;case 92:oe();break}return de}function Vk(c,l){for(;oe()&&c+Ll!==57;)if(c+Ll===84&&sb()===47)break;return"/*"+iu(l,de-1)+"*"+FG(c===47?c:oe())}function Jk(c){for(;!nu(sb());)oe();return iu(c,de)}function Yk(c){return TH(DH("",null,null,null,[""],c=wH(c),0,[0],c))}function DH(c,l,t,e,b,d,o,n,X){for(var G=0,i=0,a=o,m=0,s=0,x=0,r=1,g=1,H=1,Z=0,R="",W=b,I=d,p=e,B=R;g;)switch(x=Z,Z=oe()){case 40:if(x!=108&&zl(B,a-1)==58){Bs(B+=Uc(au(Z),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:B+=au(Z);break;case 9:case 10:case 13:case 32:B+=Bk(x);break;case 92:B+=yk(Vs()-1,7);continue;case 47:switch(sb()){case 42:case 47:du(roc(Vk(oe(),Vs()),l,t),X);break;default:B+="/"}break;case 123*r:n[G++]=be(B)*H;case 125*r:case 59:case 0:switch(Z){case 0:case 125:g=0;case 59+i:H==-1&&(B=Uc(B,/\f/g,"")),s>0&&be(B)-a&&du(s>32?Ck(B+";",e,t,a-1):Ck(Uc(B," ","")+";",e,t,a-2),X);break;case 59:B+=";";default:if(du(p=hk(B,l,t,G,i,b,n,R,W=[],I=[],a),d),Z===123)if(i===0)DH(B,l,p,p,W,d,a,n,I);else switch(m===99&&zl(B,3)===110?100:m){case 100:case 108:case 109:case 115:DH(c,p,p,e&&du(hk(c,p,p,0,0,b,n,R,b,W=[],a),I),b,I,a,n,e?W:I);break;default:DH(B,p,p,p,[""],I,0,n,I)}}G=i=s=0,r=H=1,R=B="",a=o;break;case 58:a=1+be(B),s=x;default:if(r<1){if(Z==123)--r;else if(Z==125&&r++==0&&pk()==125)continue}switch(B+=FG(Z),Z*r){case 38:H=i>0?1:(B+="\f",-1);break;case 44:n[G++]=(be(B)-1)*H,H=1;break;case 64:sb()===45&&(B+=au(oe())),m=sb(),i=a=be(R=B+=Jk(Vs())),Z++;break;case 45:x===45&&be(B)==2&&(r=0)}}return d}function hk(c,l,t,e,b,d,o,n,X,G,i){for(var a=b-1,m=b===0?d:[""],s=bu(m),x=0,r=0,g=0;x<e;++x)for(var H=0,Z=$n(c,a+1,a=Zk(r=o[x])),R=c;H<s;++H)(R=OH(r>0?m[H]+" "+Z:Uc(Z,/&\f/g,m[H])))&&(X[g++]=R);return ys(c,l,t,b===0?tu:n,X,G,i)}function roc(c,l,t){return ys(c,l,t,zH,FG(Wk()),$n(c,2,-2),0)}function Ck(c,l,t,e){return ys(c,l,t,eu,$n(c,0,e),$n(c,e+1,-1),e)}function vG(c,l){for(var t="",e=bu(c),b=0;b<e;b++)t+=l(c[b],b,c,l)||"";return t}function Fk(c,l,t,e){switch(c.type){case gk:if(c.children.length)break;case rk:case eu:return c.return=c.return||c.value;case zH:return"";case AH:return c.return=c.value+"{"+vG(c.children,e)+"}";case tu:c.value=c.props.join(",")}return be(t=vG(c.children,e))?c.return=c.value+"{"+t+"}":""}function vk(c){var l=bu(c);return function(t,e,b,d){for(var o="",n=0;n<l;n++)o+=c[n](t,e,b,d)||"";return o}}function Nk(c){return function(l){l.root||(l=l.return)&&c(l)}}CH();var goc=function(l,t,e){for(var b=0,d=0;b=d,d=sb(),b===38&&d===12&&(t[e]=1),!nu(d);)oe();return iu(l,de)},Zoc=function(l,t){var e=-1,b=44;do switch(nu(b)){case 0:b===38&&sb()===12&&(t[e]=1),l[e]+=goc(de-1,t,e);break;case 2:l[e]+=au(b);break;case 4:if(b===44){l[++e]=sb()===58?"&\f":"",t[e]=l[e].length;break}default:l[e]+=FG(b)}while(b=oe());return l},Hoc=function(l,t){return TH(Zoc(wH(l),t))},fk=new WeakMap,Roc=function(l){if(!(l.type!=="rule"||!l.parent||l.length<1)){for(var t=l.value,e=l.parent,b=l.column===e.column&&l.line===e.line;e.type!=="rule";)if(e=e.parent,!e)return;if(!(l.props.length===1&&t.charCodeAt(0)!==58&&!fk.get(e))&&!b){fk.set(l,!0);for(var d=[],o=Hoc(t,d),n=e.props,X=0,G=0;X<o.length;X++)for(var i=0;i<n.length;i++,G++)l.props[G]=d[X]?o[X].replace(/&\f/g,n[i]):n[i]+" "+o[X]}}},Ioc=function(l){if(l.type==="decl"){var t=l.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(l.return="",l.value="")}};function Sk(c,l){switch(Rk(c,l)){case 5103:return Kc+"print-"+c+c;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 Kc+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return Kc+c+ps+c+Jt+c+c;case 6828:case 4268:return Kc+c+Jt+c+c;case 6165:return Kc+c+Jt+"flex-"+c+c;case 5187:return Kc+c+Uc(c,/(\w+).+(:[^]+)/,Kc+"box-$1$2"+Jt+"flex-$1$2")+c;case 5443:return Kc+c+Jt+"flex-item-"+Uc(c,/flex-|-self/,"")+c;case 4675:return Kc+c+Jt+"flex-line-pack"+Uc(c,/align-content|flex-|-self/,"")+c;case 5548:return Kc+c+Jt+Uc(c,"shrink","negative")+c;case 5292:return Kc+c+Jt+Uc(c,"basis","preferred-size")+c;case 6060:return Kc+"box-"+Uc(c,"-grow","")+Kc+c+Jt+Uc(c,"grow","positive")+c;case 4554:return Kc+Uc(c,/([^-])(transform)/g,"$1"+Kc+"$2")+c;case 6187:return Uc(Uc(Uc(c,/(zoom-|grab)/,Kc+"$1"),/(image-set)/,Kc+"$1"),c,"")+c;case 5495:case 3959:return Uc(c,/(image-set\([^]*)/,Kc+"$1$`$1");case 4968:return Uc(Uc(c,/(.+:)(flex-)?(.*)/,Kc+"box-pack:$3"+Jt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Kc+c+c;case 4095:case 3583:case 4068:case 2532:return Uc(c,/(.+)-inline(.+)/,Kc+"$1$2")+c;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(be(c)-1-l>6)switch(zl(c,l+1)){case 109:if(zl(c,l+4)!==45)break;case 102:return Uc(c,/(.+:)(.+)-([^]+)/,"$1"+Kc+"$2-$3$1"+ps+(zl(c,l+3)==108?"$3":"$2-$3"))+c;case 115:return~Bs(c,"stretch")?Sk(Uc(c,"stretch","fill-available"),l)+c:c}break;case 4949:if(zl(c,l+1)!==115)break;case 6444:switch(zl(c,be(c)-3-(~Bs(c,"!important")&&10))){case 107:return Uc(c,":",":"+Kc)+c;case 101:return Uc(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Kc+(zl(c,14)===45?"inline-":"")+"box$3$1"+Kc+"$2$3$1"+Jt+"$2box$3")+c}break;case 5936:switch(zl(c,l+11)){case 114:return Kc+c+Jt+Uc(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return Kc+c+Jt+Uc(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return Kc+c+Jt+Uc(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return Kc+c+Jt+c+c}return c}var Woc=function(l,t,e,b){if(l.length>-1&&!l.return)switch(l.type){case eu:l.return=Sk(l.value,l.length);break;case AH:return vG([Gu(l,{value:Uc(l.value,"@","@"+Kc)})],b);case tu:if(l.length)return qV(l.props,function(d){switch(_V(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vG([Gu(l,{props:[Uc(d,/:(read-\w+)/,":"+ps+"$1")]})],b);case"::placeholder":return vG([Gu(l,{props:[Uc(d,/:(plac\w+)/,":"+Kc+"input-$1")]}),Gu(l,{props:[Uc(d,/:(plac\w+)/,":"+ps+"$1")]}),Gu(l,{props:[Uc(d,/:(plac\w+)/,Jt+"input-$1")]})],b)}return""})}},poc=[Woc],uu=function(l){var t=l.key;if(t==="css"){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,function(r){var g=r.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(r),r.setAttribute("data-s",""))})}var b=l.stylisPlugins||poc,d={},o,n=[];o=l.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(r){for(var g=r.getAttribute("data-emotion").split(" "),H=1;H<g.length;H++)d[g[H]]=!0;n.push(r)});var X,G=[Roc,Ioc];{var i,a=[Fk,Nk(function(r){i.insert(r)})],m=vk(G.concat(b,a)),s=function(g){return vG(Yk(g),m)};X=function(g,H,Z,R){i=Z,s(g?g+"{"+H.styles+"}":H.styles),R&&(x.inserted[H.name]=!0)}}var x={key:t,sheet:new xk({key:t,container:o,nonce:l.nonce,speedy:l.speedy,prepend:l.prepend,insertionPoint:l.insertionPoint}),nonce:l.nonce,inserted:d,registered:{},insert:X};return x.sheet.hydrate(n),x};function Js(){return Js=Object.assign?Object.assign.bind():function(c){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var e in t)({}).hasOwnProperty.call(t,e)&&(c[e]=t[e])}return c},Js.apply(null,arguments)}var koc=!0;function cX(c,l,t){var e="";return t.split(" ").forEach(function(b){c[b]!==void 0?l.push(c[b]+";"):b&&(e+=b+" ")}),e}var mu=function(l,t,e){var b=l.key+"-"+t.name;(e===!1||koc===!1)&&l.registered[b]===void 0&&(l.registered[b]=t.styles)},Eo=function(l,t,e){mu(l,t,e);var b=l.key+"-"+t.name;if(l.inserted[t.name]===void 0){var d=t;do l.insert(t===d?"."+b:"",d,l.sheet,!0),d=d.next;while(d!==void 0)}};function Ek(c){for(var l=0,t,e=0,b=c.length;b>=4;++e,b-=4)t=c.charCodeAt(e)&255|(c.charCodeAt(++e)&255)<<8|(c.charCodeAt(++e)&255)<<16|(c.charCodeAt(++e)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,l=(t&65535)*1540483477+((t>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(b){case 3:l^=(c.charCodeAt(e+2)&255)<<16;case 2:l^=(c.charCodeAt(e+1)&255)<<8;case 1:l^=c.charCodeAt(e)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}var Mk={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};CH();var zoc=!1,Aoc=/[A-Z]|^ms/g,Ooc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qk=function(l){return l.charCodeAt(1)===45},Pk=function(l){return l!=null&&typeof l!="boolean"},d1=hH(function(c){return qk(c)?c:c.replace(Aoc,"-$&").toLowerCase()}),Kk=function(l,t){switch(l){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ooc,function(e,b,d){return Dd={name:b,styles:d,next:Dd},b})}return Mk[l]!==1&&!qk(l)&&typeof t=="number"&&t!==0?t+"px":t},Qoc="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function hs(c,l,t){if(t==null)return"";var e=t;if(e.__emotion_styles!==void 0)return e;switch(typeof t){case"boolean":return"";case"object":{var b=t;if(b.anim===1)return Dd={name:b.name,styles:b.styles,next:Dd},b.name;var d=t;if(d.styles!==void 0){var o=d.next;if(o!==void 0)for(;o!==void 0;)Dd={name:o.name,styles:o.styles,next:Dd},o=o.next;var n=d.styles+";";return n}return woc(c,l,t)}case"function":{if(c!==void 0){var X=Dd,G=t(c);return Dd=X,hs(c,l,G)}break}}var i=t;if(l==null)return i;var a=l[i];return a!==void 0?a:i}function woc(c,l,t){var e="";if(Array.isArray(t))for(var b=0;b<t.length;b++)e+=hs(c,l,t[b])+";";else for(var d in t){var o=t[d];if(typeof o!="object"){var n=o;l!=null&&l[n]!==void 0?e+=d+"{"+l[n]+"}":Pk(n)&&(e+=d1(d)+":"+Kk(d,n)+";")}else{if(d==="NO_COMPONENT_SELECTOR"&&zoc)throw new Error(Qoc);if(Array.isArray(o)&&typeof o[0]=="string"&&(l==null||l[o[0]]===void 0))for(var X=0;X<o.length;X++)Pk(o[X])&&(e+=d1(d)+":"+Kk(d,o[X])+";");else{var G=hs(c,l,o);switch(d){case"animation":case"animationName":{e+=d1(d)+":"+G+";";break}default:e+=d+"{"+G+"}"}}}}return e}var _k=/label:\s*([^\s;{]+)\s*(;|$)/g,Dd;function Ld(c,l,t){if(c.length===1&&typeof c[0]=="object"&&c[0]!==null&&c[0].styles!==void 0)return c[0];var e=!0,b="";Dd=void 0;var d=c[0];if(d==null||d.raw===void 0)e=!1,b+=hs(t,l,d);else{var o=d;b+=o[0]}for(var n=1;n<c.length;n++)if(b+=hs(t,l,c[n]),e){var X=d;b+=X[n]}_k.lastIndex=0;for(var G="",i;(i=_k.exec(b))!==null;)G+="-"+i[1];var a=Ek(b)+G;return{name:a,styles:b,next:Dd}}var cR=u(M()),Toc=function(l){return l()},Doc=cR.useInsertionEffect?cR.useInsertionEffect:!1,Cs=Doc||Toc;var $k=!1,n1=xb.createContext(typeof HTMLElement<"u"?uu({key:"css"}):null),X1=n1.Provider,G1=function(){return(0,Ys.useContext)(n1)},Fs=function(l){return(0,Ys.forwardRef)(function(t,e){var b=(0,Ys.useContext)(n1);return l(t,b,e)})},vs=xb.createContext({});var lR={}.hasOwnProperty,o1="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",cz=function(l,t){var e={};for(var b in t)lR.call(t,b)&&(e[b]=t[b]);return e[o1]=l,e},Loc=function(l){var t=l.cache,e=l.serialized,b=l.isStringTag;return mu(t,e,b),Cs(function(){return Eo(t,e,b)}),null},Uoc=Fs(function(c,l,t){var e=c.css;typeof e=="string"&&l.registered[e]!==void 0&&(e=l.registered[e]);var b=c[o1],d=[e],o="";typeof c.className=="string"?o=cX(l.registered,d,c.className):c.className!=null&&(o=c.className+" ");var n=Ld(d,void 0,xb.useContext(vs));o+=l.key+"-"+n.name;var X={};for(var G in c)lR.call(c,G)&&G!=="css"&&G!==o1&&!$k&&(X[G]=c[G]);return X.className=o,t&&(X.ref=t),xb.createElement(xb.Fragment,null,xb.createElement(Loc,{cache:l,serialized:n,isStringTag:typeof b=="string"}),xb.createElement(b,X))}),lz=Uoc;var su=u(M());var WLc=u(jk()),tz=function(l,t){var e=arguments;if(t==null||!lR.call(t,"css"))return su.createElement.apply(void 0,e);var b=e.length,d=new Array(b);d[0]=lz,d[1]=cz(l,t);for(var o=2;o<b;o++)d[o]=e[o];return su.createElement.apply(null,d)};(function(c){var l;l||(l=c.JSX||(c.JSX={}))})(tz||(tz={}));function k(){for(var c=arguments.length,l=new Array(c),t=0;t<c;t++)l[t]=arguments[t];return Ld(l)}function ve(){var c=k.apply(void 0,arguments),l="animation-"+c.name;return{name:l,styles:"@keyframes "+l+"{"+c.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function ez(c,l){if(c.inserted[l.name]===void 0)return c.insert("",l,c.sheet,!0)}function bz(c,l,t){var e=[],b=cX(c,e,t);return e.length<2?t:b+l(e)}var dz=function(l){var t=uu(l);t.sheet.speedy=function(n){this.isSpeedy=n},t.compat=!0;var e=function(){for(var X=arguments.length,G=new Array(X),i=0;i<X;i++)G[i]=arguments[i];var a=Ld(G,t.registered,void 0);return Eo(t,a,!1),t.key+"-"+a.name},b=function(){for(var X=arguments.length,G=new Array(X),i=0;i<X;i++)G[i]=arguments[i];var a=Ld(G,t.registered),m="animation-"+a.name;return ez(t,{name:a.name,styles:"@keyframes "+m+"{"+a.styles+"}"}),m},d=function(){for(var X=arguments.length,G=new Array(X),i=0;i<X;i++)G[i]=arguments[i];var a=Ld(G,t.registered);ez(t,a)},o=function(){for(var X=arguments.length,G=new Array(X),i=0;i<X;i++)G[i]=arguments[i];return bz(t.registered,e,joc(G))};return{css:e,cx:o,injectGlobal:d,keyframes:b,hydrate:function(X){X.forEach(function(G){t.inserted[G]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:cX.bind(null,t.registered),merge:bz.bind(null,t.registered,e)}},joc=function c(l){for(var t="",e=0;e<l.length;e++){var b=l[e];if(b!=null){var d=void 0;switch(typeof b){case"boolean":break;case"object":{if(Array.isArray(b))d=c(b);else{d="";for(var o in b)b[o]&&o&&(d&&(d+=" "),d+=o)}break}default:d=b}d&&(t&&(t+=" "),t+=d)}}return t};var Ud=dz({key:"css"}),NLc=Ud.flush,fLc=Ud.hydrate,oz=Ud.cx,SLc=Ud.merge,kLc=Ud.getRegisteredStyles,zLc=Ud.injectGlobal,ALc=Ud.keyframes,OLc=Ud.css,QLc=Ud.sheet,wLc=Ud.cache;var nz=u(F(),1),Eoc=c=>typeof c<"u"&&c!==null&&["name","styles"].every(l=>typeof c[l]<"u"),ic=()=>{let c=G1();return(0,nz.useCallback)((...t)=>{if(c===null)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return oz(...t.map(e=>Eoc(e)?(Eo(c,e,!1),`${c.key}-${e.name}`):e))},[c])};var _e={name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"};function lX(c,l){var t=0,e,b;l=l||{};function d(){var o=e,n=arguments.length,X,G;c:for(;o;){if(o.args.length!==arguments.length){o=o.next;continue}for(G=0;G<n;G++)if(o.args[G]!==arguments[G]){o=o.next;continue c}return o!==e&&(o===b&&(b=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=e,o.prev=null,e.prev=o,e=o),o.val}for(X=new Array(n),G=0;G<n;G++)X[G]=arguments[G];return o={args:X,val:c.apply(null,X)},e?(e.prev=o,o.next=e):b=o,t===l.maxSize?(b=b.prev,b.next=null):t++,e=o,o.val}return d.clear=function(){e=null,b=null,t=0},d}var Moc={grad:.9,turn:360,rad:360/(2*Math.PI)},Mo=function(c){return typeof c=="string"?c.length>0:typeof c=="number"},at=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=Math.pow(10,l)),Math.round(t*c)/t+0},rb=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=1),c>t?t:c>l?c:l},xz=function(c){return(c=isFinite(c)?c%360:0)>0?c:c+360},Xz=function(c){return{r:rb(c.r,0,255),g:rb(c.g,0,255),b:rb(c.b,0,255),a:rb(c.a)}},i1=function(c){return{r:at(c.r),g:at(c.g),b:at(c.b),a:at(c.a,3)}},Poc=/^#([0-9a-f]{3,8})$/i,tR=function(c){var l=c.toString(16);return l.length<2?"0"+l:l},rz=function(c){var l=c.r,t=c.g,e=c.b,b=c.a,d=Math.max(l,t,e),o=d-Math.min(l,t,e),n=o?d===l?(t-e)/o:d===t?2+(e-l)/o:4+(l-t)/o:0;return{h:60*(n<0?n+6:n),s:d?o/d*100:0,v:d/255*100,a:b}},gz=function(c){var l=c.h,t=c.s,e=c.v,b=c.a;l=l/360*6,t/=100,e/=100;var d=Math.floor(l),o=e*(1-t),n=e*(1-(l-d)*t),X=e*(1-(1-l+d)*t),G=d%6;return{r:255*[e,n,o,o,X,e][G],g:255*[X,e,e,n,o,o][G],b:255*[o,o,X,e,e,n][G],a:b}},Gz=function(c){return{h:xz(c.h),s:rb(c.s,0,100),l:rb(c.l,0,100),a:rb(c.a)}},iz=function(c){return{h:at(c.h),s:at(c.s),l:at(c.l),a:at(c.a,3)}},az=function(c){return gz((t=(l=c).s,{h:l.h,s:(t*=((e=l.l)<50?e:100-e)/100)>0?2*t/(e+t)*100:0,v:e+t,a:l.a}));var l,t,e},Ns=function(c){return{h:(l=rz(c)).h,s:(b=(200-(t=l.s))*(e=l.v)/100)>0&&b<200?t*e/100/(b<=100?b:200-b)*100:0,l:b/2,a:l.a};var l,t,e,b},Koc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_oc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qoc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$oc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m1={string:[[function(c){var l=Poc.exec(c);return l?(c=l[1]).length<=4?{r:parseInt(c[0]+c[0],16),g:parseInt(c[1]+c[1],16),b:parseInt(c[2]+c[2],16),a:c.length===4?at(parseInt(c[3]+c[3],16)/255,2):1}:c.length===6||c.length===8?{r:parseInt(c.substr(0,2),16),g:parseInt(c.substr(2,2),16),b:parseInt(c.substr(4,2),16),a:c.length===8?at(parseInt(c.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(c){var l=qoc.exec(c)||$oc.exec(c);return l?l[2]!==l[4]||l[4]!==l[6]?null:Xz({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):null},"rgb"],[function(c){var l=Koc.exec(c)||_oc.exec(c);if(!l)return null;var t,e,b=Gz({h:(t=l[1],e=l[2],e===void 0&&(e="deg"),Number(t)*(Moc[e]||1)),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)});return az(b)},"hsl"]],object:[[function(c){var l=c.r,t=c.g,e=c.b,b=c.a,d=b===void 0?1:b;return Mo(l)&&Mo(t)&&Mo(e)?Xz({r:Number(l),g:Number(t),b:Number(e),a:Number(d)}):null},"rgb"],[function(c){var l=c.h,t=c.s,e=c.l,b=c.a,d=b===void 0?1:b;if(!Mo(l)||!Mo(t)||!Mo(e))return null;var o=Gz({h:Number(l),s:Number(t),l:Number(e),a:Number(d)});return az(o)},"hsl"],[function(c){var l=c.h,t=c.s,e=c.v,b=c.a,d=b===void 0?1:b;if(!Mo(l)||!Mo(t)||!Mo(e))return null;var o=(function(n){return{h:xz(n.h),s:rb(n.s,0,100),v:rb(n.v,0,100),a:rb(n.a)}})({h:Number(l),s:Number(t),v:Number(e),a:Number(d)});return gz(o)},"hsv"]]},uz=function(c,l){for(var t=0;t<l.length;t++){var e=l[t][0](c);if(e)return[e,l[t][1]]}return[null,void 0]},Zz=function(c){return typeof c=="string"?uz(c.trim(),m1.string):typeof c=="object"&&c!==null?uz(c,m1.object):[null,void 0]},Hz=function(c){return Zz(c)[1]},a1=function(c,l){var t=Ns(c);return{h:t.h,s:rb(t.s+100*l,0,100),l:t.l,a:t.a}},u1=function(c){return(299*c.r+587*c.g+114*c.b)/1e3/255},mz=function(c,l){var t=Ns(c);return{h:t.h,s:t.s,l:rb(t.l+100*l,0,100),a:t.a}},s1=(function(){function c(l){this.parsed=Zz(l)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return c.prototype.isValid=function(){return this.parsed!==null},c.prototype.brightness=function(){return at(u1(this.rgba),2)},c.prototype.isDark=function(){return u1(this.rgba)<.5},c.prototype.isLight=function(){return u1(this.rgba)>=.5},c.prototype.toHex=function(){return l=i1(this.rgba),t=l.r,e=l.g,b=l.b,o=(d=l.a)<1?tR(at(255*d)):"","#"+tR(t)+tR(e)+tR(b)+o;var l,t,e,b,d,o},c.prototype.toRgb=function(){return i1(this.rgba)},c.prototype.toRgbString=function(){return l=i1(this.rgba),t=l.r,e=l.g,b=l.b,(d=l.a)<1?"rgba("+t+", "+e+", "+b+", "+d+")":"rgb("+t+", "+e+", "+b+")";var l,t,e,b,d},c.prototype.toHsl=function(){return iz(Ns(this.rgba))},c.prototype.toHslString=function(){return l=iz(Ns(this.rgba)),t=l.h,e=l.s,b=l.l,(d=l.a)<1?"hsla("+t+", "+e+"%, "+b+"%, "+d+")":"hsl("+t+", "+e+"%, "+b+"%)";var l,t,e,b,d},c.prototype.toHsv=function(){return l=rz(this.rgba),{h:at(l.h),s:at(l.s),v:at(l.v),a:at(l.a,3)};var l},c.prototype.invert=function(){return Rc({r:255-(l=this.rgba).r,g:255-l.g,b:255-l.b,a:l.a});var l},c.prototype.saturate=function(l){return l===void 0&&(l=.1),Rc(a1(this.rgba,l))},c.prototype.desaturate=function(l){return l===void 0&&(l=.1),Rc(a1(this.rgba,-l))},c.prototype.grayscale=function(){return Rc(a1(this.rgba,-1))},c.prototype.lighten=function(l){return l===void 0&&(l=.1),Rc(mz(this.rgba,l))},c.prototype.darken=function(l){return l===void 0&&(l=.1),Rc(mz(this.rgba,-l))},c.prototype.rotate=function(l){return l===void 0&&(l=15),this.hue(this.hue()+l)},c.prototype.alpha=function(l){return typeof l=="number"?Rc({r:(t=this.rgba).r,g:t.g,b:t.b,a:l}):at(this.rgba.a,3);var t},c.prototype.hue=function(l){var t=Ns(this.rgba);return typeof l=="number"?Rc({h:l,s:t.s,l:t.l,a:t.a}):at(t.h)},c.prototype.isEqual=function(l){return this.toHex()===Rc(l).toHex()},c})(),Rc=function(c){return c instanceof s1?c:new s1(c)},sz=[],Ne=function(c){c.forEach(function(l){sz.indexOf(l)<0&&(l(s1,m1),sz.push(l))})};function fe(c,l){var t={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"},e={};for(var b in t)e[t[b]]=b;var d={};c.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var n,X,G=e[this.toHex()];if(G)return G;if(o?.closest){var i=this.toRgb(),a=1/0,m="black";if(!d.length)for(var s in t)d[s]=new c(t[s]).toRgb();for(var x in t){var r=(n=i,X=d[x],Math.pow(n.r-X.r,2)+Math.pow(n.g-X.g,2)+Math.pow(n.b-X.b,2));r<a&&(a=r,m=x)}return m}},l.string.push([function(o){var n=o.toLowerCase(),X=n==="transparent"?"#0000":t[n];return X?new c(X).toRgb():null},"name"])}var x1;Ne([fe]);function cnc(){if(!(typeof document>"u")){if(!x1){let c=document.createElement("div");c.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(c),x1=c}return x1}}function lnc(c){return typeof c!="string"?!1:Rc(c).isValid()}function tnc(c){if(typeof c!="string")return"";if(lnc(c))return c;if(!c.includes("var(")||typeof document>"u")return"";let l=cnc();if(!l)return"";l.style.background=c;let t=window?.getComputedStyle(l).background;return l.style.background="",t||""}var enc=lX(tnc);function bnc(c){let l=enc(c);return Rc(l).isLight()?"#000000":"#ffffff"}function Rz(c){return bnc(c)==="#000000"?"dark":"light"}var eR=u(Gc(),1),Iz=new RegExp(/-left/g),Wz=new RegExp(/-right/g),pz=new RegExp(/Left/g),Bz=new RegExp(/Right/g);function dnc(c){return c==="left"?"right":c==="right"?"left":Iz.test(c)?c.replace(Iz,"-right"):Wz.test(c)?c.replace(Wz,"-left"):pz.test(c)?c.replace(pz,"Right"):Bz.test(c)?c.replace(Bz,"Left"):c}var onc=(c={})=>Object.fromEntries(Object.entries(c).map(([l,t])=>[dnc(l),t]));function kc(c={},l){return()=>l?(0,eR.isRTL)()?k(l,"",""):k(c,"",""):(0,eR.isRTL)()?k(onc(c),"",""):k(c,"","")}kc.watch=()=>(0,eR.isRTL)();var yz={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Cl(c){return yz[c]??""}var Vz={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"};var Jz=c=>`@media (min-width: ${Vz[c]})`;var nnc="#fff",Xnc={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},Gnc={yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},jd={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))"}},inc={background:jd.background,backgroundDisabled:jd.gray[100],border:jd.gray[600],borderHover:jd.gray[700],borderFocus:jd.accent,borderDisabled:jd.gray[400],textDisabled:jd.gray[600],darkGrayPlaceholder:`color-mix(in srgb, ${jd.foreground}, transparent 38%)`,lightGrayPlaceholder:`color-mix(in srgb, ${jd.background}, transparent 35%)`},T=Object.freeze({gray:Xnc,white:nnc,alert:Gnc,theme:jd,ui:inc});var fs="36px",anc={controlPaddingX:12,controlPaddingXSmall:8,controlPaddingXLarge:12*1.3334,controlBoxShadowFocus:`0 0 0 0.5px ${T.theme.accent}`,controlHeight:fs,controlHeightXSmall:`calc( ${fs} * 0.6 )`,controlHeightSmall:`calc( ${fs} * 0.8 )`,controlHeightLarge:`calc( ${fs} * 1.2 )`,controlHeightXLarge:`calc( ${fs} * 1.4 )`},O=Object.assign({},anc,{colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusXSmall:"1px",radiusSmall:"2px",radiusMedium:"4px",radiusLarge:"8px",radiusFull:"9999px",radiusRound:"50%",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:16,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",fontWeightMedium:"499",fontWeightHeading:"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)",surfaceBackgroundColor:T.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:T.white,surfaceColor:T.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)"});var Ss=k("font-size:11px;font-weight:",O.fontWeightMedium,";line-height:1.4;text-transform:uppercase;","");var gb=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"}}),hz=c=>c.args?.length?`${c.function}(${c.args.join(",")})`:c.function,Lt=Object.freeze({SLIDE_DISTANCE:`${gb.SLIDE_DISTANCE}px`,SLIDE_DURATION:`${gb.SLIDE_DURATION}ms`,SLIDE_EASING:hz(gb.SLIDE_EASING),FADE_DURATION:`${gb.FADE_DURATION}ms`,FADE_EASING:hz(gb.FADE_EASING)});var unc={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"},tX=c=>unc[c]??"bottom",mnc={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}},Cz=c=>{let l=c.startsWith("top")||c.startsWith("bottom")?"translateY":"translateX",t=c.startsWith("top")||c.startsWith("left")?1:-1;return{style:mnc[c],initial:{opacity:0,[l]:`${gb.SLIDE_DISTANCE*t}px`},animate:{opacity:1,[l]:0},transition:{opacity:{duration:gb.FADE_DURATION/1e3,ease:gb.FADE_EASING.function},[l]:{duration:gb.SLIDE_DURATION/1e3,ease:qb(...gb.SLIDE_EASING.args)}}}};function snc(c){return!!c?.top}function xnc(c){return!!c?.current}var Yz=({anchor:c,anchorRef:l,anchorRect:t,getAnchorRect:e,fallbackReferenceElement:b})=>{let d=null;return c?d=c:snc(l)?d={getBoundingClientRect(){let o=l.top.getBoundingClientRect(),n=l.bottom.getBoundingClientRect();return new window.DOMRect(o.x,o.y,o.width,n.bottom-o.top)}}:xnc(l)?d=l.current:l?d=l:t?d={getBoundingClientRect(){return t}}:e?d={getBoundingClientRect(){let o=e(b);return new window.DOMRect(o.x??o.left,o.y??o.top,o.width??o.right-o.left,o.height??o.bottom-o.top)}}:b&&(d=b.parentElement),d??null},r1=c=>c===null||Number.isNaN(c)?void 0:Math.round(c);var Fz=u(F(),1),bR=(0,Fz.createContext)({isNestedInTooltip:!1});bR.displayName="TooltipInternalContext";var NG=u(J(),1),rnc=700,gnc={isNestedInTooltip:!0};function Znc(c,l){let{children:t,className:e,delay:b=rnc,hideOnClick:d=!0,placement:o,position:n,shortcut:X,text:G,...i}=c,{isNestedInTooltip:a}=(0,eX.useContext)(bR),m=(0,vz.useInstanceId)(fz,"tooltip"),s=G||X?m:void 0,x=eX.Children.count(t)===1,r;o!==void 0?r=o:n!==void 0&&(r=tX(n),(0,Nz.default)("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),r=r||"top";let g=fg({placement:r,showTimeout:b}),H=U(g,"mounted");if(a)return x?(0,NG.jsx)(Nd,{...i,render:t}):t;function Z(R){return s&&H&&R.props["aria-describedby"]===void 0&&R.props["aria-label"]!==G?(0,eX.cloneElement)(R,{"aria-describedby":s}):R}return(0,NG.jsxs)(bR.Provider,{value:gnc,children:[(0,NG.jsx)(Cg,{onClick:d?g.hide:void 0,store:g,render:x?Z(t):void 0,ref:l,children:x?void 0:t}),x&&(G||X)&&(0,NG.jsxs)(hg,{...i,className:Q("components-tooltip",e),unmountOnHide:!0,gutter:4,id:s,overflowPadding:.5,store:g,children:[G,X&&(0,NG.jsx)(iZ,{className:G?"components-tooltip__shortcut":"",shortcut:X})]})]})}var fz=(0,eX.forwardRef)(Znc),Se=fz;var Dz=u(Az(),1),Lz=u(dR(),1);function Qz(c){return Object.prototype.toString.call(c)==="[object Object]"}function wz(c){var l,t;return Qz(c)===!1?!1:(l=c.constructor,l===void 0?!0:(t=l.prototype,!(Qz(t)===!1||t.hasOwnProperty("isPrototypeOf")===!1)))}var Ed=u(F(),1),DUc=u(ne(),1);var Uz=u(J(),1),zs=(0,Ed.createContext)({});zs.displayName="ComponentsContext";var oR=()=>(0,Ed.useContext)(zs);function vnc({value:c}){let l=oR(),t=(0,Ed.useRef)(c);return YG(()=>{(0,Lz.default)(t.current,c)&&t.current},[c]),(0,Ed.useMemo)(()=>(0,Dz.default)(l??{},c??{},{isMergeableObject:wz}),[l,c])}var Nnc=({children:c,value:l})=>{let t=vnc({value:l});return(0,Uz.jsx)(zs.Provider,{value:t,children:c})},fG=(0,Ed.memo)(Nnc);var qz=u(F(),1),njc=u(ne(),1);var jz="data-wp-component",Ez="data-wp-c16t",SG="__contextSystemKey__";var ru=function(){return ru=Object.assign||function(l){for(var t,e=1,b=arguments.length;e<b;e++){t=arguments[e];for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(l[d]=t[d])}return l},ru.apply(this,arguments)};function Mz(c){return c.toLowerCase()}var fnc=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Snc=/[^A-Z0-9]+/gi;function Kz(c,l){l===void 0&&(l={});for(var t=l.splitRegexp,e=t===void 0?fnc:t,b=l.stripRegexp,d=b===void 0?Snc:b,o=l.transform,n=o===void 0?Mz:o,X=l.delimiter,G=X===void 0?" ":X,i=Pz(Pz(c,e,"$1\0$2"),d,"\0"),a=0,m=i.length;i.charAt(a)==="\0";)a++;for(;i.charAt(m-1)==="\0";)m--;return i.slice(a,m).split("\0").map(n).join(G)}function Pz(c,l,t){return l instanceof RegExp?c.replace(l,t):l.reduce(function(e,b){return e.replace(b,t)},c)}function _z(c,l){return l===void 0&&(l={}),Kz(c,ru({delimiter:"."},l))}function nR(c,l){return l===void 0&&(l={}),_z(c,ru({delimiter:"-"},l))}function knc(c){return`components-${nR(c)}`}var XR=lX(knc);function lc(c,l){return $z(c,l,{forwardsRef:!0})}function kG(c,l){return $z(c,l)}function $z(c,l,t){let e=t?.forwardsRef?(0,qz.forwardRef)(c):c,b=e[SG]||[l];return Array.isArray(l)&&(b=[...b,...l]),typeof l=="string"&&(b=[...b,l]),Object.assign(e,{[SG]:[...new Set(b)],displayName:l,selector:`.${XR(l)}`})}function g1(c){if(!c)return[];let l=[];return c[SG]&&(l=c[SG]),c.type&&c.type[SG]&&(l=c.type[SG]),l}function As(c,l){return c?typeof l=="string"?g1(c).includes(l):Array.isArray(l)?l.some(t=>g1(c).includes(t)):!1:!1}var sjc=u(ne(),1);function cA(c){return{[jz]:c}}function lA(){return{[Ez]:!0}}function cc(c,l){let e=oR()?.[l]||{},b={...lA(),...cA(l)},{_overrides:d,...o}=e,n=Object.entries(o).length?Object.assign({},o,c):c,G=ic()(XR(l),c.className),i=typeof n.renderChildren=="function"?n.renderChildren(n):n.children;for(let a in n)b[a]=n[a];for(let a in d)b[a]=d[a];return i!==void 0&&(b.children=i),b.className=G,b}var tA={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"};var bX=u(M());jV();var znc=!1,Anc=UV,Onc=function(l){return l!=="theme"},eA=function(l){return typeof l=="string"&&l.charCodeAt(0)>96?Anc:Onc},bA=function(l,t,e){var b;if(t){var d=t.shouldForwardProp;b=l.__emotion_forwardProp&&d?function(o){return l.__emotion_forwardProp(o)&&d(o)}:d}return typeof b!="function"&&e&&(b=l.__emotion_forwardProp),b},Qnc=function(l){var t=l.cache,e=l.serialized,b=l.isStringTag;return mu(t,e,b),Cs(function(){return Eo(t,e,b)}),null},S=function c(l,t){var e=l.__emotion_real===l,b=e&&l.__emotion_base||l,d,o;t!==void 0&&(d=t.label,o=t.target);var n=bA(l,t,e),X=n||eA(b),G=!X("as");return function(){var i=arguments,a=e&&l.__emotion_styles!==void 0?l.__emotion_styles.slice(0):[];if(d!==void 0&&a.push("label:"+d+";"),i[0]==null||i[0].raw===void 0)a.push.apply(a,i);else{var m=i[0];a.push(m[0]);for(var s=i.length,x=1;x<s;x++)a.push(i[x],m[x])}var r=Fs(function(g,H,Z){var R=G&&g.as||b,W="",I=[],p=g;if(g.theme==null){p={};for(var B in g)p[B]=g[B];p.theme=bX.useContext(vs)}typeof g.className=="string"?W=cX(H.registered,I,g.className):g.className!=null&&(W=g.className+" ");var y=Ld(a.concat(I),H.registered,p);W+=H.key+"-"+y.name,o!==void 0&&(W+=" "+o);var C=G&&n===void 0?eA(R):X,V={};for(var h in g)G&&h==="as"||C(h)&&(V[h]=g[h]);return V.className=W,Z&&(V.ref=Z),bX.createElement(bX.Fragment,null,bX.createElement(Qnc,{cache:H,serialized:y,isStringTag:typeof R=="string"}),bX.createElement(R,V))});return r.displayName=d!==void 0?d:"Styled("+(typeof b=="string"?b:b.displayName||b.name||"Component")+")",r.defaultProps=l.defaultProps,r.__emotion_real=r,r.__emotion_base=b,r.__emotion_styles=a,r.__emotion_forwardProp=n,Object.defineProperty(r,"toString",{value:function(){return o===void 0&&znc?"NO_COMPONENT_SELECTOR":"."+o}}),r.withComponent=function(g,H){var Z=c(g,Js({},t,H,{shouldForwardProp:bA(r,H,!0)}));return Z.apply(void 0,a)},r}};var dA=u(F(),1),oA=u(J(),1),wnc=S("div",{target:"e19lxcc00"})("");function Tnc({as:c,...l},t){return(0,oA.jsx)(wnc,{as:c,ref:t,...l})}var Dnc=Object.assign((0,dA.forwardRef)(Tnc),{selector:".components-view"}),ac=Dnc;var nA=u(J(),1);function Lnc(c,l){let{style:t,...e}=cc(c,"VisuallyHidden");return(0,nA.jsx)(ac,{ref:l,...e,"data-visually-hidden":"",style:{...tA,...t||{}}})}var Unc=lc(Lnc,"VisuallyHidden"),wc=Unc;var cd=u(Gc(),1),Z1=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],XA={"top left":(0,cd.__)("Top Left"),"top center":(0,cd.__)("Top Center"),"top right":(0,cd.__)("Top Right"),"center left":(0,cd.__)("Center Left"),"center center":(0,cd.__)("Center"),center:(0,cd.__)("Center"),"center right":(0,cd.__)("Center Right"),"bottom left":(0,cd.__)("Bottom Left"),"bottom center":(0,cd.__)("Bottom Center"),"bottom right":(0,cd.__)("Bottom Right")},GR=Z1.flat();function H1(c){let t=(c==="center"?"center center":c)?.replace("-"," ");return GR.includes(t)?t:void 0}function iR(c,l){let t=H1(l);if(!t)return;let e=t.replace(" ","-");return`${c}-${e}`}function GA(c,l){let t=l?.replace(c+"-","");return H1(t)}function iA(c="center"){let l=H1(c);if(!l)return;let t=GR.indexOf(l);return t>-1?t:void 0}var zG=u(J(),1),R1="data-wp-hash";function I1(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Enc(document)),c.__wpStyleRuntime}function jnc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${R1}]`))if(t.getAttribute(R1)===l)return!0;return!1}function uA(c,l,t){if(!c.head)return;let e=I1(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(jnc(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(R1,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function Enc(c){let l=I1();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)uA(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function Mnc(c,l){let t=I1();t.styles.set(c,l);for(let e of t.documents.keys())uA(e,c,l)}typeof process>"u",Mnc("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var aA={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function mA({id:c,value:l,...t}){return(0,zG.jsx)(Se,{text:XA[l],children:(0,zG.jsxs)(Qt.Item,{id:c,render:(0,zG.jsx)("span",{...t,className:Q(aA.cell,t.className),role:"gridcell"}),children:[(0,zG.jsx)(wc,{children:l}),(0,zG.jsx)("span",{className:aA.point,role:"presentation"})]})})}var aR=u(Ac(),1);var W1=u(J(),1),Os=24,Qs=7,sA=(Os-3*Qs)/2,Pnc=2,Knc=4;function _nc({className:c,disablePointerEvents:l=!0,size:t,width:e,height:b,style:d={},value:o="center",...n}){return(0,W1.jsx)(aR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${Os} ${Os}`,width:t??e??Os,height:t??b??Os,role:"presentation",className:Q("component-alignment-matrix-control-icon",c),style:{pointerEvents:l?"none":void 0,...d},...n,children:GR.map((X,G)=>{let i=iA(o)===G?Knc:Pnc;return(0,W1.jsx)(aR.Rect,{x:sA+G%3*Qs+(Qs-i)/2,y:sA+Math.floor(G/3)*Qs+(Qs-i)/2,width:i,height:i,fill:"currentColor"},X)})})}var xA=_nc;var gu=u(J(),1),p1="data-wp-hash";function B1(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&$nc(document)),c.__wpStyleRuntime}function qnc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${p1}]`))if(t.getAttribute(p1)===l)return!0;return!1}function HA(c,l,t){if(!c.head)return;let e=B1(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(qnc(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(p1,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function $nc(c){let l=B1();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)HA(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function cXc(c,l){let t=B1();t.styles.set(c,l);for(let e of t.documents.keys())HA(e,c,l)}typeof process>"u",cXc("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var rA={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function RA({className:c,id:l,label:t=(0,uR.__)("Alignment Matrix Control"),defaultValue:e="center center",value:b,onChange:d,width:o=92,...n}){let X=(0,gA.useInstanceId)(RA,"alignment-matrix-control",l),G=(0,ZA.useCallback)(a=>{let m=GA(X,a);m&&d?.(m)},[X,d]),i=Q("component-alignment-matrix-control",rA["grid-container"],c);return(0,gu.jsx)(Qt,{defaultActiveId:iR(X,e),activeId:iR(X,b),setActiveId:G,rtl:(0,uR.isRTL)(),render:(0,gu.jsx)("div",{...n,className:i,"aria-label":t,id:X,role:"grid",style:{width:`${o}px`}}),children:Z1.map((a,m)=>(0,gu.jsx)(Qt.Row,{render:(0,gu.jsx)("div",{className:rA["grid-row"],role:"row"}),children:a.map(s=>(0,gu.jsx)(mA,{id:iR(X,s),value:s},s))},m))})}var lXc=Object.assign(RA,{Icon:Object.assign(xA,{displayName:"AlignmentMatrixControl.Icon"})}),y1=lXc;function tXc(c){return c==="appear"?"top":"left"}function V1(c){if(c.type==="loading")return"components-animate__loading";let{type:l,origin:t=tXc(l)}=c;if(l==="appear"){let[e,b="center"]=t.split(" ");return Q("components-animate__appear",{["is-from-"+b]:b!=="center",["is-from-"+e]:e!=="middle"})}if(l==="slide-in")return Q("components-animate__slide-in","is-from-"+t)}function eXc({type:c,options:l={},children:t}){return t({className:V1({type:c,...l})})}var IA=eXc;var nQ=u(F(),1),sI=u(Gc(),1);var hA=u(F(),1),CA=u(ml(),1);var mR=u(F(),1),J1=["40em","52em","64em"],bXc=(c={})=>{let{defaultIndex:l=0}=c;if(typeof l!="number")throw new TypeError(`Default breakpoint index should be a number. Got: ${l}, ${typeof l}`);if(l<0||l>J1.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${J1.length} breakpoints, got index ${l}`);let[t,e]=(0,mR.useState)(l);return(0,mR.useEffect)(()=>{let b=()=>J1.filter(o=>typeof window<"u"?window.matchMedia(`screen and (min-width: ${o})`).matches:!1).length,d=()=>{let o=b();t!==o&&e(o)};return d(),typeof window<"u"&&window.addEventListener("resize",d),()=>{typeof window<"u"&&window.removeEventListener("resize",d)}},[t]),t};function ws(c,l={}){let t=bXc(l);if(!Array.isArray(c)&&typeof c!="function")return c;let e=c||[];return e[t>=e.length?e.length-1:t]}var dXc="4px";function D(c){if(typeof c>"u")return;if(!c)return"0";let l=typeof c=="number"?c:Number(c);return typeof window<"u"&&window.CSS?.supports?.("margin",c.toString())||Number.isNaN(l)?c.toString():`calc(${dXc} * ${c})`}var WA={name:"zjik7",styles:"display:flex"},pA={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},BA={name:"82a6rk",styles:"flex:1"},yA={name:"13nosa1",styles:">*{min-height:0;}"},VA={name:"1pwxzk4",styles:">*{min-width:0;}"};function oXc(c){let{isReversed:l,...t}=c;return typeof l<"u"?((0,CA.default)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:l?"row-reverse":"row"}):t}function Zu(c){let{align:l,className:t,direction:e="row",expanded:b=!0,gap:d=2,justify:o="space-between",wrap:n=!1,...X}=cc(oXc(c),"Flex"),G=Array.isArray(e)?e:[e],i=ws(G),a=typeof i=="string"&&!!i.includes("column"),m=ic(),s=(0,hA.useMemo)(()=>{let x=k({alignItems:l??(a?"normal":"center"),flexDirection:i,flexWrap:n?"wrap":void 0,gap:D(d),justifyContent:o,height:a&&b?"100%":void 0,width:!a&&b?"100%":void 0},"","");return m(WA,x,a?yA:VA,t)},[l,t,m,i,b,d,a,o,n]);return{...X,className:s,isColumn:a}}var sR=u(F(),1),h1=(0,sR.createContext)({flexItemDisplay:void 0}),YA=()=>(0,sR.useContext)(h1);var C1=u(J(),1);function nXc(c,l){let{children:t,isColumn:e,...b}=Zu(c);return(0,C1.jsx)(h1.Provider,{value:{flexItemDisplay:e?"block":void 0},children:(0,C1.jsx)(ac,{...b,ref:l,children:t})})}var XXc=lc(nXc,"Flex"),Zl=XXc;function Hu(c){let{className:l,display:t,isBlock:e=!1,...b}=cc(c,"FlexItem"),d={},o=YA().flexItemDisplay;d.Base=k({display:t||o},"","");let X=ic()(pA,d.Base,e&&BA,l);return{...b,className:X}}var FA=u(J(),1);function GXc(c,l){let t=Hu(c);return(0,FA.jsx)(ac,{...t,ref:l})}var iXc=lc(GXc,"FlexItem"),Ut=iXc;function Y1(c){let l=cc(c,"FlexBlock");return Hu({isBlock:!0,...l})}var vA=u(J(),1);function aXc(c,l){let t=Y1(c);return(0,vA.jsx)(ac,{...t,ref:l})}var uXc=lc(aXc,"FlexBlock"),Xe=uXc;function ke(c){return typeof c<"u"&&c!==null}function NA(c){let{className:l,margin:t,marginBottom:e=2,marginLeft:b,marginRight:d,marginTop:o,marginX:n,marginY:X,padding:G,paddingBottom:i,paddingLeft:a,paddingRight:m,paddingTop:s,paddingX:x,paddingY:r,...g}=cc(c,"Spacer"),Z=ic()(ke(t)&&k("margin:",D(t),";",""),ke(X)&&k("margin-bottom:",D(X),";margin-top:",D(X),";",""),ke(n)&&k("margin-left:",D(n),";margin-right:",D(n),";",""),ke(o)&&k("margin-top:",D(o),";",""),ke(e)&&k("margin-bottom:",D(e),";",""),ke(b)&&kc({marginLeft:D(b)})(),ke(d)&&kc({marginRight:D(d)})(),ke(G)&&k("padding:",D(G),";",""),ke(r)&&k("padding-bottom:",D(r),";padding-top:",D(r),";",""),ke(x)&&k("padding-left:",D(x),";padding-right:",D(x),";",""),ke(s)&&k("padding-top:",D(s),";",""),ke(i)&&k("padding-bottom:",D(i),";",""),ke(a)&&kc({paddingLeft:D(a)})(),ke(m)&&kc({paddingRight:D(m)})(),l);return{...g,className:Z}}var fA=u(J(),1);function mXc(c,l){let t=NA(c);return(0,fA.jsx)(ac,{...t,ref:l})}var sXc=lc(mXc,"Spacer"),ut=sXc;var uI=u(F(),1),yu=u(Gc(),1);var xR=u(F(),1),mt=(0,xR.forwardRef)(({icon:c,size:l=24,...t},e)=>(0,xR.cloneElement)(c,{width:l,height:l,...t,ref:e}));var rR=u(Ac(),1),F1=u(J(),1),gR=(0,F1.jsx)(rR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,F1.jsx)(rR.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var ZR=u(Ac(),1),v1=u(J(),1),HR=(0,v1.jsx)(ZR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,v1.jsx)(ZR.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var RR=u(Ac(),1),N1=u(J(),1),f1=(0,N1.jsx)(RR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,N1.jsx)(RR.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-.75 12v-1.5h1.5V16h-1.5Zm0-8v5h1.5V8h-1.5Z"})});var IR=u(Ac(),1),S1=u(J(),1),jt=(0,S1.jsx)(IR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,S1.jsx)(IR.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var WR=u(Ac(),1),k1=u(J(),1),Ts=(0,k1.jsx)(WR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,k1.jsx)(WR.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var pR=u(Ac(),1),z1=u(J(),1),A1=(0,z1.jsx)(pR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,z1.jsx)(pR.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var BR=u(Ac(),1),O1=u(J(),1),Q1=(0,O1.jsx)(BR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,O1.jsx)(BR.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var yR=u(Ac(),1),w1=u(J(),1),T1=(0,w1.jsx)(yR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,w1.jsx)(yR.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var VR=u(Ac(),1),D1=u(J(),1),Po=(0,D1.jsx)(VR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,D1.jsx)(VR.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var JR=u(Ac(),1),L1=u(J(),1),Ds=(0,L1.jsx)(JR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,L1.jsx)(JR.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})});var hR=u(Ac(),1),U1=u(J(),1),j1=(0,U1.jsx)(hR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,U1.jsx)(hR.Path,{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"})});var CR=u(Ac(),1),E1=u(J(),1),Ls=(0,E1.jsx)(CR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,E1.jsx)(CR.Path,{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"})});var YR=u(Ac(),1),M1=u(J(),1),P1=(0,M1.jsx)(YR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,M1.jsx)(YR.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var FR=u(Ac(),1),K1=u(J(),1),_1=(0,K1.jsx)(FR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,K1.jsx)(FR.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"})});var vR=u(Ac(),1),q1=u(J(),1),$1=(0,q1.jsx)(vR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,q1.jsx)(vR.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z"})});var NR=u(Ac(),1),c2=u(J(),1),Us=(0,c2.jsx)(NR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,c2.jsx)(NR.Path,{d:"M5 11.25h14v1.5H5z"})});var fR=u(Ac(),1),l2=u(J(),1),js=(0,l2.jsx)(fR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,l2.jsx)(fR.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var SR=u(Ac(),1),t2=u(J(),1),Es=(0,t2.jsx)(SR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t2.jsx)(SR.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var kR=u(Ac(),1),e2=u(J(),1),b2=(0,e2.jsx)(kR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,e2.jsx)(kR.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})});var zR=u(Ac(),1),d2=u(J(),1),Ms=(0,d2.jsx)(zR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,d2.jsx)(zR.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var AR=u(Ac(),1),o2=u(J(),1),Ko=(0,o2.jsx)(AR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o2.jsx)(AR.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var OR=u(Ac(),1),n2=u(J(),1),Ps=(0,n2.jsx)(OR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n2.jsx)(OR.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm11.53-1.47-1.06-1.06L11 12.94l-1.47-1.47-1.06 1.06L11 15.06l4.53-4.53Z"})});var QR=u(Ac(),1),X2=u(J(),1),Ks=(0,X2.jsx)(QR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,X2.jsx)(QR.Path,{d:"M7 11.5h10V13H7z"})});var wR=u(Ac(),1),G2=u(J(),1),i2=(0,G2.jsx)(wR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,G2.jsx)(wR.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var _s=u(Ac(),1),qs=u(J(),1),$s=(0,qs.jsxs)(_s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,qs.jsx)(_s.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,qs.jsx)(_s.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var TR=u(Ac(),1),a2=u(J(),1),cx=(0,a2.jsx)(TR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a2.jsx)(TR.Path,{d:"M7.1 5.7 8 6.9c.4-.3.9-.6 1.5-.8l-.6-1.4c-.7.3-1.3.6-1.8 1ZM4.6 8.9l1.4.6c.2-.5.5-1 .8-1.5l-1.2-.9c-.4.6-.8 1.2-1 1.8Zm14.8 0c-.3-.7-.6-1.3-1-1.8l-1.2.9c.3.4.6.9.8 1.5l1.4-.6ZM7.1 18.3c.6.4 1.2.8 1.8 1l.6-1.4c-.5-.2-1-.5-1.5-.8l-.9 1.2ZM5.5 12v-.9h-.7l-.7-.2v2l1.5-.2v-.9Zm-.7 3h-.2c.3.7.6 1.3 1 1.9l1.2-.9c-.3-.4-.6-.9-.8-1.5l-1.2.5Zm9.7 3 .5 1.2v.2c.7-.3 1.3-.6 1.9-1l-.9-1.2c-.4.3-.9.6-1.5.8Zm-2.5.5h-.9l-.2 1.3v.2h2l-.2-1.5h-.9Zm7.9-7.5-1.5.2V13h.7l.7.2v-2ZM18 14.5c-.2.5-.5 1-.8 1.5l1.2.9c.4-.6.8-1.2 1-1.8h-.2l-1.2-.6ZM11 4.1l.2 1.5H13V4.2h-1.9ZM14.5 6c.5.2 1 .5 1.5.8l.9-1.2c-.6-.4-1.2-.8-1.8-1L14.5 6Z"})});var DR=u(Ac(),1),u2=u(J(),1),m2=(0,u2.jsx)(DR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,u2.jsx)(DR.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})});var LR=u(Ac(),1),s2=u(J(),1),x2=(0,s2.jsx)(LR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s2.jsx)(LR.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var $O=u(ec(),1),cQ=u(ml(),1);var OO=u(ec(),1),QO=u(F(),1);var tO=u(ec(),1),eO=u(F(),1);var qA=u(F(),1);var Ru=u(F(),1);var zA=u(F(),1);var SA={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"};var UR="\u2026",dX={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},rXc={ellipsis:UR,ellipsizeMode:dX.auto,limit:0,numberOfLines:0};function gXc(c,l,t,e){if(typeof c!="string")return"";let b=c.length,d=~~l,o=~~t,n=Dt(e)?e:UR;return d===0&&o===0||d>=b||o>=b||d+o>=b?c:o===0?c.slice(0,d)+n:c.slice(0,d)+n+c.slice(b-o)}function kA(c="",l){let t={...rXc,...l},{ellipsis:e,ellipsizeMode:b,limit:d}=t;if(b===dX.none)return c;let o,n;switch(b){case dX.head:o=0,n=d;break;case dX.middle:o=Math.floor(d/2),n=Math.floor(d/2);break;default:o=d,n=0}return b!==dX.auto?gXc(c,o,n,e):c}function lx(c){let{className:l,children:t,ellipsis:e=UR,ellipsizeMode:b=dX.auto,limit:d=0,numberOfLines:o=0,...n}=cc(c,"Truncate"),X=ic(),G;typeof t=="string"?G=t:typeof t=="number"&&(G=t.toString());let i=G?kA(G,{ellipsis:e,ellipsizeMode:b,limit:d,numberOfLines:o}):t,a=!!G&&b===dX.auto,m=(0,zA.useMemo)(()=>X(a&&!o&&SA,a&&!!o&&k(o===1?"word-break: break-all;":""," -webkit-box-orient:vertical;-webkit-line-clamp:",o,";display:-webkit-box;overflow:hidden;",""),l),[l,X,o,a]);return{...n,className:m,children:i}}var AA=u(J(),1);function ZXc(c,l){let t=lx(c);return(0,AA.jsx)(ac,{as:"span",...t,ref:l})}var HXc=lc(ZXc,"Truncate"),_o=HXc;var I2={};TX(I2,{Text:()=>r2,block:()=>g2,destructive:()=>Z2,highlighterText:()=>R2,muted:()=>H2,positive:()=>RXc,upperCase:()=>IXc});var r2=k("color:",T.theme.foreground,";line-height:",O.fontLineHeightBase,";margin:0;text-wrap:pretty;",""),g2={name:"4zleql",styles:"display:block"},RXc=k("color:",T.alert.green,";",""),Z2=k("color:",T.alert.red,";",""),H2=k("color:",T.theme.gray[700],";",""),R2=k("mark{background:",T.alert.yellow,";border-radius:",O.radiusSmall,";box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),IXc={name:"50zrmy",styles:"text-transform:uppercase"};var wA=u(QA(),1),W2=u(F(),1),WXc=c=>{let l={};for(let t in c)l[t.toLowerCase()]=c[t];return l},pXc=lX(WXc);function TA({activeClassName:c="",activeIndex:l=-1,activeStyle:t,autoEscape:e,caseSensitive:b=!1,children:d,findChunks:o,highlightClassName:n="",highlightStyle:X={},highlightTag:G="mark",sanitize:i,searchWords:a=[],unhighlightClassName:m="",unhighlightStyle:s}){if(!d)return null;if(typeof d!="string")return d;let x=d,r=(0,wA.findAll)({autoEscape:e,caseSensitive:b,findChunks:o,sanitize:i,searchWords:a,textToHighlight:x}),g=G,H=-1,Z="",R;return r.map((I,p)=>{let B=x.substr(I.start,I.end-I.start);if(I.highlight){H++;let y;typeof n=="object"?b?y=n[B]:(n=pXc(n),y=n[B.toLowerCase()]):y=n;let C=H===+l;Z=`${y} ${C?c:""}`,R=C===!0&&t!==null?Object.assign({},X,t):X;let V={children:B,className:Z,key:p,style:R};return typeof g!="string"&&(V.highlightIndex=H),(0,W2.createElement)(g,V)}return(0,W2.createElement)("span",{children:B,className:m,key:p,style:s})})}var p2=13,DA={body:p2,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},BXc=[1,2,3,4,5,6].flatMap(c=>[c,c.toString()]);function jR(c=p2){if(c in DA)return jR(DA[c]);if(typeof c!="number"){let t=parseFloat(c);if(Number.isNaN(t))return c;c=t}return`calc(${`(${c} / ${p2})`} * ${O.fontSize})`}function LA(c=3){if(!BXc.includes(c))return jR(c);let l=`fontSizeH${c}`;return O[l]}function UA(c,l){if(l)return l;if(!c)return;let t=`calc(${O.controlHeight} + ${D(2)})`;switch(c){case"large":t=`calc(${O.controlHeightLarge} + ${D(2)})`;break;case"small":t=`calc(${O.controlHeightSmall} + ${D(2)})`;break;case"xSmall":t=`calc(${O.controlHeightXSmall} + ${D(2)})`;break;default:break}return t}var yXc={name:"50zrmy",styles:"text-transform:uppercase"};function tx(c){let{adjustLineHeightForInnerControls:l,align:t,children:e,className:b,color:d,ellipsizeMode:o,isDestructive:n=!1,display:X,highlightEscape:G=!1,highlightCaseSensitive:i=!1,highlightWords:a,highlightSanitize:m,isBlock:s=!1,letterSpacing:x,lineHeight:r,optimizeReadabilityFor:g,size:H,truncate:Z=!1,upperCase:R=!1,variant:W,weight:I=O.fontWeight,...p}=cc(c,"Text"),B=e,y=Array.isArray(a),C=H==="caption";if(y){if(typeof e!="string")throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");B=TA({autoEscape:G,children:e,caseSensitive:i,searchWords:a,sanitize:m})}let V=ic(),h=(0,Ru.useMemo)(()=>{let w={},z=UA(l,r);if(w.Base=k({color:d,display:X,fontSize:jR(H),fontWeight:I,lineHeight:z,letterSpacing:x,textAlign:t},"",""),w.upperCase=yXc,w.optimalTextColor=null,g){let f=Rz(g)==="dark";w.optimalTextColor=f?k({color:T.gray[900]},"",""):k({color:T.white},"","")}return V(r2,w.Base,w.optimalTextColor,n&&Z2,!!y&&R2,s&&g2,C&&H2,W&&I2[W],R&&w.upperCase,b)},[l,t,b,d,V,X,s,C,n,y,x,r,g,H,R,W,I]),Y;Z===!0&&(Y="auto"),Z===!1&&(Y="none");let N={...p,className:h,children:e,ellipsizeMode:o||Y},A=lx(N);return!Z&&Array.isArray(e)&&(B=Ru.Children.map(e,w=>typeof w!="object"||w===null||!("props"in w)?w:As(w,["Link"])?(0,Ru.cloneElement)(w,{size:w.props.size||"inherit"}):w)),{...A,children:Z?A.children:B}}var jA=u(J(),1);function VXc(c,l){let t=tx(c);return(0,jA.jsx)(ac,{as:"span",...t,ref:l})}var JXc=lc(VXc,"Text"),Ge=JXc;var EA=u(J(),1);var B2=S("span",{target:"em5sgkm8"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),y2=S("span",{target:"em5sgkm7"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),hXc=({disabled:c,isBorderless:l})=>l?"transparent":c?T.ui.borderDisabled:T.ui.border,Zb=S("div",{target:"em5sgkm6"})("&&&{box-sizing:border-box;border-color:",hXc,";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;",kc({paddingLeft:2}),";}"),MA=S(Zl,{target:"em5sgkm5"})("box-sizing:border-box;position:relative;border-radius:",O.radiusSmall,";padding-top:0;&:focus-within:not( :has( :is( ",B2,", ",y2," ):focus-within ) ){",Zb,"{border-color:",T.ui.borderFocus,";box-shadow:",O.controlBoxShadowFocus,";outline:2px solid transparent;outline-offset:-2px;}}"),CXc=({disabled:c})=>{let l=c?T.ui.backgroundDisabled:T.ui.background;return k({backgroundColor:l},"","")},YXc={name:"1d3w5wq",styles:"width:100%"},FXc=({__unstableInputWidth:c,labelPosition:l})=>c?l==="side"?"":l==="edge"?k({flex:`0 0 ${c}`},"",""):k({width:c},"",""):YXc,ER=S("div",{target:"em5sgkm4"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",CXc," ",FXc,";"),vXc=({disabled:c})=>c?k({color:T.ui.textDisabled},"",""):"",ex=({inputSize:c})=>{let l={default:"13px",small:"11px",compact:"13px","__unstable-large":"13px"},t=l[c]||l.default,e="16px";return t?k("font-size:",e,";@media ( min-width: 600px ){font-size:",t,";}",""):""},PA=({inputSize:c,__next40pxDefaultSize:l})=>{let t={default:{height:40,lineHeight:1,minHeight:40,paddingLeft:O.controlPaddingX,paddingRight:O.controlPaddingX},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:O.controlPaddingXSmall,paddingRight:O.controlPaddingXSmall},compact:{height:32,lineHeight:1,minHeight:32,paddingLeft:O.controlPaddingXSmall,paddingRight:O.controlPaddingXSmall},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:O.controlPaddingX,paddingRight:O.controlPaddingX}};return l||(t.default=t.compact),t[c]||t.default},NXc=c=>k(PA(c),"",""),fXc=({paddingInlineStart:c,paddingInlineEnd:l})=>k({paddingInlineStart:c,paddingInlineEnd:l},"",""),SXc=({isDragging:c,dragCursor:l})=>{let t,e;return c&&(t=k("cursor:",l,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),c&&l&&(e=k("&:active{cursor:",l,";}","")),k(t," ",e,";","")},ld=S("input",{target:"em5sgkm3"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",T.theme.foreground,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",SXc," ",vXc," ",ex," ",NXc," ",fXc," &::-webkit-input-placeholder{color:",T.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",T.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",T.ui.darkGrayPlaceholder,";}&[type='email'],&[type='url']{direction:ltr;}}"),kXc=S(Ge,{target:"em5sgkm2"})("&&&{",Ss,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;}"),KA=c=>(0,EA.jsx)(kXc,{...c,as:"label"}),_A=S(Ut,{target:"em5sgkm1"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),zXc=({variant:c="default",size:l,__next40pxDefaultSize:t,isPrefix:e})=>{let{paddingLeft:b}=PA({inputSize:l,__next40pxDefaultSize:t}),d=e?"paddingInlineStart":"paddingInlineEnd";return c==="default"?k({[d]:b},"",""):k({display:"flex",[d]:b-4},"","")},MR=S("div",{target:"em5sgkm0"})(zXc,";");var $A=u(J(),1);function AXc({disabled:c=!1,isBorderless:l=!1}){return(0,$A.jsx)(Zb,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:c,isBorderless:l})}var OXc=(0,qA.memo)(AXc),cO=OXc;var PR=u(J(),1);function lO({children:c,hideLabelFromVision:l,htmlFor:t,...e}){return c?l?(0,PR.jsx)(wc,{as:"label",htmlFor:t,children:c}):(0,PR.jsx)(_A,{children:(0,PR.jsx)(KA,{htmlFor:t,...e,children:c})}):null}function Et(c){let{__next36pxDefaultSize:l,__next40pxDefaultSize:t,...e}=c;return{...e,__next40pxDefaultSize:t??l}}var qo=u(J(),1);function QXc(c){let t=`input-base-control-${(0,tO.useInstanceId)(bO)}`;return c||t}function wXc(c){let l={};switch(c){case"top":l.direction="column",l.expanded=!1,l.gap=0;break;case"bottom":l.direction="column-reverse",l.expanded=!1,l.gap=0;break;case"edge":l.justify="space-between";break}return l}function bO(c,l){let{__next40pxDefaultSize:t,__unstableInputWidth:e,children:b,className:d,disabled:o=!1,hideLabelFromVision:n=!1,labelPosition:X,id:G,isBorderless:i=!1,label:a,prefix:m,size:s="default",suffix:x,...r}=Et(cc(c,"InputBase")),g=QXc(G),H=n||!a,Z=(0,eO.useMemo)(()=>({InputControlPrefixWrapper:{__next40pxDefaultSize:t,size:s},InputControlSuffixWrapper:{__next40pxDefaultSize:t,size:s}}),[t,s]);return(0,qo.jsxs)(MA,{...r,...wXc(X),className:d,gap:2,ref:l,children:[(0,qo.jsx)(lO,{className:"components-input-control__label",hideLabelFromVision:n,labelPosition:X,htmlFor:g,children:a}),(0,qo.jsxs)(ER,{__unstableInputWidth:e,className:"components-input-control__container",disabled:o,hideLabel:H,labelPosition:X,children:[(0,qo.jsxs)(fG,{value:Z,children:[m&&(0,qo.jsx)(B2,{className:"components-input-control__prefix",children:m}),b,x&&(0,qo.jsx)(y2,{className:"components-input-control__suffix",children:x})]}),(0,qo.jsx)(cO,{disabled:o,isBorderless:i})]})]})}var Iu=lc(bO,"InputBase");function TXc(c,l,t){return Math.max(l,Math.min(c,t))}var ht={toVector(c,l){return c===void 0&&(c=l),Array.isArray(c)?c:[c,c]},add(c,l){return[c[0]+l[0],c[1]+l[1]]},sub(c,l){return[c[0]-l[0],c[1]-l[1]]},addTo(c,l){c[0]+=l[0],c[1]+=l[1]},subTo(c,l){c[0]-=l[0],c[1]-=l[1]}};function dO(c,l,t){return l===0||Math.abs(l)===1/0?Math.pow(c,t*5):c*l*t/(l+t*c)}function oO(c,l,t,e=.15){return e===0?TXc(c,l,t):c<l?-dO(l-c,t-l,e)+l:c>t?+dO(c-t,t-l,e)+t:c}function nO(c,[l,t],[e,b]){let[[d,o],[n,X]]=c;return[oO(l,d,o,e),oO(t,n,X,b)]}function DXc(c,l){if(typeof c!="object"||c===null)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var e=t.call(c,l||"default");if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(c)}function LXc(c){var l=DXc(c,"string");return typeof l=="symbol"?l:String(l)}function ie(c,l,t){return l=LXc(l),l in c?Object.defineProperty(c,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):c[l]=t,c}function XO(c,l){var t=Object.keys(c);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(c);l&&(e=e.filter(function(b){return Object.getOwnPropertyDescriptor(c,b).enumerable})),t.push.apply(t,e)}return t}function Vl(c){for(var l=1;l<arguments.length;l++){var t=arguments[l]!=null?arguments[l]:{};l%2?XO(Object(t),!0).forEach(function(e){ie(c,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(t)):XO(Object(t)).forEach(function(e){Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(t,e))})}return c}var xO={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function GO(c){return c?c[0].toUpperCase()+c.slice(1):""}var UXc=["enter","leave"];function jXc(c=!1,l){return c&&!UXc.includes(l)}function rO(c,l="",t=!1){let e=xO[c],b=e&&e[l]||l;return"on"+GO(c)+GO(b)+(jXc(t,b)?"Capture":"")}var EXc=["gotpointercapture","lostpointercapture"];function gO(c){let l=c.substring(2).toLowerCase(),t=!!~l.indexOf("passive");t&&(l=l.replace("passive",""));let e=EXc.includes(l)?"capturecapture":"capture",b=!!~l.indexOf(e);return b&&(l=l.replace("capture","")),{device:l,capture:b,passive:t}}function ZO(c,l=""){let t=xO[c],e=t&&t[l]||l;return c+e}function bx(c){return"touches"in c}function HO(c){return bx(c)?"touch":"pointerType"in c?c.pointerType:"mouse"}function MXc(c){return Array.from(c.touches).filter(l=>{var t,e;return l.target===c.currentTarget||((t=c.currentTarget)===null||t===void 0||(e=t.contains)===null||e===void 0?void 0:e.call(t,l.target))})}function PXc(c){return c.type==="touchend"||c.type==="touchcancel"?c.changedTouches:c.targetTouches}function RO(c){return bx(c)?PXc(c)[0]:c}function IO(c){return MXc(c).map(l=>l.identifier)}function V2(c){let l=RO(c);return bx(c)?l.identifier:l.pointerId}function iO(c){let l=RO(c);return[l.clientX,l.clientY]}function KXc(c){let l={};if("buttons"in c&&(l.buttons=c.buttons),"shiftKey"in c){let{shiftKey:t,altKey:e,metaKey:b,ctrlKey:d}=c;Object.assign(l,{shiftKey:t,altKey:e,metaKey:b,ctrlKey:d})}return l}function KR(c,...l){return typeof c=="function"?c(...l):c}function _Xc(){}function WO(...c){return c.length===0?_Xc:c.length===1?c[0]:function(){let l;for(let t of c)l=t.apply(this,arguments)||l;return l}}function aO(c,l){return Object.assign({},l,c||{})}var qXc=32,J2=class{constructor(l,t,e){this.ctrl=l,this.args=t,this.key=e,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(l){this.ctrl.state[this.key]=l}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:l,shared:t,ingKey:e,args:b}=this;t[e]=l._active=l.active=l._blocked=l._force=!1,l._step=[!1,!1],l.intentional=!1,l._movement=[0,0],l._distance=[0,0],l._direction=[0,0],l._delta=[0,0],l._bounds=[[-1/0,1/0],[-1/0,1/0]],l.args=b,l.axis=void 0,l.memo=void 0,l.elapsedTime=l.timeDelta=0,l.direction=[0,0],l.distance=[0,0],l.overflow=[0,0],l._movementBound=[!1,!1],l.velocity=[0,0],l.movement=[0,0],l.delta=[0,0],l.timeStamp=0}start(l){let t=this.state,e=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=l.target,t.currentTarget=l.currentTarget,t.lastOffset=e.from?KR(e.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=l.timeStamp)}computeValues(l){let t=this.state;t._values=l,t.values=this.config.transform(l)}computeInitial(){let l=this.state;l._initial=l._values,l.initial=l.values}compute(l){let{state:t,config:e,shared:b}=this;t.args=this.args;let d=0;if(l&&(t.event=l,e.preventDefault&&l.cancelable&&t.event.preventDefault(),t.type=l.type,b.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,b.locked=!!document.pointerLockElement,Object.assign(b,KXc(l)),b.down=b.pressed=b.buttons%2===1||b.touches>0,d=l.timeStamp-t.timeStamp,t.timeStamp=l.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){let p=t._delta.map(Math.abs);ht.addTo(t._distance,p)}this.axisIntent&&this.axisIntent(l);let[o,n]=t._movement,[X,G]=e.threshold,{_step:i,values:a}=t;if(e.hasCustomTransform?(i[0]===!1&&(i[0]=Math.abs(o)>=X&&a[0]),i[1]===!1&&(i[1]=Math.abs(n)>=G&&a[1])):(i[0]===!1&&(i[0]=Math.abs(o)>=X&&Math.sign(o)*X),i[1]===!1&&(i[1]=Math.abs(n)>=G&&Math.sign(n)*G)),t.intentional=i[0]!==!1||i[1]!==!1,!t.intentional)return;let m=[0,0];if(e.hasCustomTransform){let[p,B]=a;m[0]=i[0]!==!1?p-i[0]:0,m[1]=i[1]!==!1?B-i[1]:0}else m[0]=i[0]!==!1?o-i[0]:0,m[1]=i[1]!==!1?n-i[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(m);let s=t.offset,x=t._active&&!t._blocked||t.active;x&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=b[this.ingKey]=t._active,l&&(t.first&&("bounds"in e&&(t._bounds=KR(e.bounds,t)),this.setup&&this.setup()),t.movement=m,this.computeOffset()));let[r,g]=t.offset,[[H,Z],[R,W]]=t._bounds;t.overflow=[r<H?-1:r>Z?1:0,g<R?-1:g>W?1:0],t._movementBound[0]=t.overflow[0]?t._movementBound[0]===!1?t._movement[0]:t._movementBound[0]:!1,t._movementBound[1]=t.overflow[1]?t._movementBound[1]===!1?t._movement[1]:t._movementBound[1]:!1;let I=t._active?e.rubberband||[0,0]:[0,0];if(t.offset=nO(t._bounds,t.offset,I),t.delta=ht.sub(t.offset,s),this.computeMovement(),x&&(!t.last||d>qXc)){t.delta=ht.sub(t.offset,s);let p=t.delta.map(Math.abs);ht.addTo(t.distance,p),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&d>0&&(t.velocity=[p[0]/d,p[1]/d],t.timeDelta=d)}}emit(){let l=this.state,t=this.shared,e=this.config;if(l._active||this.clean(),(l._blocked||!l.intentional)&&!l._force&&!e.triggerAllEvents)return;let b=this.handler(Vl(Vl(Vl({},t),l),{},{[this.aliasKey]:l.values}));b!==void 0&&(l.memo=b)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}};function $Xc([c,l],t){let e=Math.abs(c),b=Math.abs(l);if(e>b&&e>t)return"x";if(b>e&&b>t)return"y"}var h2=class extends J2{constructor(...l){super(...l),ie(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=ht.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=ht.sub(this.state.offset,this.state.lastOffset)}axisIntent(l){let t=this.state,e=this.config;if(!t.axis&&l){let b=typeof e.axisThreshold=="object"?e.axisThreshold[HO(l)]:e.axisThreshold;t.axis=$Xc(t._movement,b)}t._blocked=(e.lockDirection||!!e.axis)&&!t.axis||!!e.axis&&e.axis!==t.axis}restrictToAxis(l){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":l[1]=0;break;case"y":l[0]=0;break}}},cGc=c=>c,uO=.15,pO={enabled(c=!0){return c},eventOptions(c,l,t){return Vl(Vl({},t.shared.eventOptions),c)},preventDefault(c=!1){return c},triggerAllEvents(c=!1){return c},rubberband(c=0){switch(c){case!0:return[uO,uO];case!1:return[0,0];default:return ht.toVector(c)}},from(c){if(typeof c=="function")return c;if(c!=null)return ht.toVector(c)},transform(c,l,t){let e=c||t.shared.transform;return this.hasCustomTransform=!!e,e||cGc},threshold(c){return ht.toVector(c,0)}},lGc=0,dx=Vl(Vl({},pO),{},{axis(c,l,{axis:t}){if(this.lockDirection=t==="lock",!this.lockDirection)return t},axisThreshold(c=lGc){return c},bounds(c={}){if(typeof c=="function")return d=>dx.bounds(c(d));if("current"in c)return()=>c.current;if(typeof HTMLElement=="function"&&c instanceof HTMLElement)return c;let{left:l=-1/0,right:t=1/0,top:e=-1/0,bottom:b=1/0}=c;return[[l,t],[e,b]]}}),mO={ArrowRight:(c,l=1)=>[c*l,0],ArrowLeft:(c,l=1)=>[-1*c*l,0],ArrowUp:(c,l=1)=>[0,-1*c*l],ArrowDown:(c,l=1)=>[0,c*l]},C2=class extends h2{constructor(...l){super(...l),ie(this,"ingKey","dragging")}reset(){super.reset();let l=this.state;l._pointerId=void 0,l._pointerActive=!1,l._keyboardActive=!1,l._preventScroll=!1,l._delayed=!1,l.swipe=[0,0],l.tap=!1,l.canceled=!1,l.cancel=this.cancel.bind(this)}setup(){let l=this.state;if(l._bounds instanceof HTMLElement){let t=l._bounds.getBoundingClientRect(),e=l.currentTarget.getBoundingClientRect(),b={left:t.left-e.left+l.offset[0],right:t.right-e.right+l.offset[0],top:t.top-e.top+l.offset[1],bottom:t.bottom-e.bottom+l.offset[1]};l._bounds=dx.bounds(b)}}cancel(){let l=this.state;l.canceled||(l.canceled=!0,l._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(l){let t=this.config,e=this.state;if(l.buttons!=null&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(l.buttons):t.pointerButtons!==-1&&t.pointerButtons!==l.buttons))return;let b=this.ctrl.setEventIds(l);t.pointerCapture&&l.target.setPointerCapture(l.pointerId),!(b&&b.size>1&&e._pointerActive)&&(this.start(l),this.setupPointer(l),e._pointerId=V2(l),e._pointerActive=!0,this.computeValues(iO(l)),this.computeInitial(),t.preventScrollAxis&&HO(l)!=="mouse"?(e._active=!1,this.setupScrollPrevention(l)):t.delay>0?(this.setupDelayTrigger(l),t.triggerAllEvents&&(this.compute(l),this.emit())):this.startPointerDrag(l))}startPointerDrag(l){let t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(l),this.emit()}pointerMove(l){let t=this.state,e=this.config;if(!t._pointerActive)return;let b=V2(l);if(t._pointerId!==void 0&&b!==t._pointerId)return;let d=iO(l);if(document.pointerLockElement===l.target?t._delta=[l.movementX,l.movementY]:(t._delta=ht.sub(d,t._values),this.computeValues(d)),ht.addTo(t._movement,t._delta),this.compute(l),t._delayed&&t.intentional){this.timeoutStore.remove("dragDelay"),t.active=!1,this.startPointerDrag(l);return}if(e.preventScrollAxis&&!t._preventScroll)if(t.axis)if(t.axis===e.preventScrollAxis||e.preventScrollAxis==="xy"){t._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(l);return}else return;this.emit()}pointerUp(l){this.ctrl.setEventIds(l);try{this.config.pointerCapture&&l.target.hasPointerCapture(l.pointerId)&&l.target.releasePointerCapture(l.pointerId)}catch{}let t=this.state,e=this.config;if(!t._active||!t._pointerActive)return;let b=V2(l);if(t._pointerId!==void 0&&b!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(l);let[d,o]=t._distance;if(t.tap=d<=e.tapsThreshold&&o<=e.tapsThreshold,t.tap&&e.filterTaps)t._force=!0;else{let[n,X]=t._delta,[G,i]=t._movement,[a,m]=e.swipe.velocity,[s,x]=e.swipe.distance,r=e.swipe.duration;if(t.elapsedTime<r){let g=Math.abs(n/t.timeDelta),H=Math.abs(X/t.timeDelta);g>a&&Math.abs(G)>s&&(t.swipe[0]=Math.sign(n)),H>m&&Math.abs(i)>x&&(t.swipe[1]=Math.sign(X))}}this.emit()}pointerClick(l){!this.state.tap&&l.detail>0&&(l.preventDefault(),l.stopPropagation())}setupPointer(l){let t=this.config,e=t.device;t.pointerLock&&l.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,e,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,e,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,e,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(l){this.state._preventScroll&&l.cancelable&&l.preventDefault()}setupScrollPrevention(l){this.state._preventScroll=!1,tGc(l);let t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,l)}setupDelayTrigger(l){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(l)},this.config.delay)}keyDown(l){let t=mO[l.key];if(t){let e=this.state,b=l.shiftKey?10:l.altKey?.1:1;this.start(l),e._delta=t(this.config.keyboardDisplacement,b),e._keyboardActive=!0,ht.addTo(e._movement,e._delta),this.compute(l),this.emit()}}keyUp(l){l.key in mO&&(this.state._keyboardActive=!1,this.setActive(),this.compute(l),this.emit())}bind(l){let t=this.config.device;l(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(l(t,"change",this.pointerMove.bind(this)),l(t,"end",this.pointerUp.bind(this)),l(t,"cancel",this.pointerUp.bind(this)),l("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(l("key","down",this.keyDown.bind(this)),l("key","up",this.keyUp.bind(this))),this.config.filterTaps&&l("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}};function tGc(c){"persist"in c&&typeof c.persist=="function"&&c.persist()}var ox=typeof window<"u"&&window.document&&window.document.createElement;function BO(){return ox&&"ontouchstart"in window}function eGc(){return BO()||ox&&window.navigator.maxTouchPoints>1}function bGc(){return ox&&"onpointerdown"in window}function dGc(){return ox&&"exitPointerLock"in window.document}function oGc(){try{return"constructor"in GestureEvent}catch{return!1}}var qe={isBrowser:ox,gesture:oGc(),touch:BO(),touchscreen:eGc(),pointer:bGc(),pointerLock:dGc()},nGc=250,XGc=180,GGc=.5,iGc=50,aGc=250,uGc=10,sO={mouse:0,touch:0,pen:8},mGc=Vl(Vl({},dx),{},{device(c,l,{pointer:{touch:t=!1,lock:e=!1,mouse:b=!1}={}}){return this.pointerLock=e&&qe.pointerLock,qe.touch&&t?"touch":this.pointerLock?"mouse":qe.pointer&&!b?"pointer":qe.touch?"touch":"mouse"},preventScrollAxis(c,l,{preventScroll:t}){if(this.preventScrollDelay=typeof t=="number"?t:t||t===void 0&&c?nGc:void 0,!(!qe.touchscreen||t===!1))return c||(t!==void 0?"y":void 0)},pointerCapture(c,l,{pointer:{capture:t=!0,buttons:e=1,keys:b=!0}={}}){return this.pointerButtons=e,this.keys=b,!this.pointerLock&&this.device==="pointer"&&t},threshold(c,l,{filterTaps:t=!1,tapsThreshold:e=3,axis:b=void 0}){let d=ht.toVector(c,t?e:b?1:0);return this.filterTaps=t,this.tapsThreshold=e,d},swipe({velocity:c=GGc,distance:l=iGc,duration:t=aGc}={}){return{velocity:this.transform(ht.toVector(c)),distance:this.transform(ht.toVector(l)),duration:t}},delay(c=0){switch(c){case!0:return XGc;case!1:return 0;default:return c}},axisThreshold(c){return c?Vl(Vl({},sO),c):sO},keyboardDisplacement(c=uGc){return c}});var p4c=Vl(Vl({},pO),{},{device(c,l,{shared:t,pointer:{touch:e=!1}={}}){if(t.target&&!qe.touch&&qe.gesture)return"gesture";if(qe.touch&&e)return"touch";if(qe.touchscreen){if(qe.pointer)return"pointer";if(qe.touch)return"touch"}},bounds(c,l,{scaleBounds:t={},angleBounds:e={}}){let b=o=>{let n=aO(KR(t,o),{min:-1/0,max:1/0});return[n.min,n.max]},d=o=>{let n=aO(KR(e,o),{min:-1/0,max:1/0});return[n.min,n.max]};return typeof t!="function"&&typeof e!="function"?[b(),d()]:o=>[b(o),d(o)]},threshold(c,l,t){return this.lockDirection=t.axis==="lock",ht.toVector(c,this.lockDirection?[.1,3]:0)},modifierKey(c){return c===void 0?"ctrlKey":c},pinchOnWheel(c=!0){return c}});var B4c=Vl(Vl({},dx),{},{mouseOnly:(c=!0)=>c});var y4c=Vl(Vl({},dx),{},{mouseOnly:(c=!0)=>c}),_R=new Map,nx=new Map;function Y2(c){_R.set(c.key,c.engine),nx.set(c.key,c.resolver)}var F2={key:"drag",engine:C2,resolver:mGc};var lI=u(M());function HGc(c,l){if(c==null)return{};var t={},e=Object.keys(c),b,d;for(d=0;d<e.length;d++)b=e[d],!(l.indexOf(b)>=0)&&(t[b]=c[b]);return t}function RGc(c,l){if(c==null)return{};var t=HGc(c,l),e,b;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(c);for(b=0;b<d.length;b++)e=d[b],!(l.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(c,e)&&(t[e]=c[e])}return t}var IGc={target(c){if(c)return()=>"current"in c?c.current:c},enabled(c=!0){return c},window(c=qe.isBrowser?window:void 0){return c},eventOptions({passive:c=!0,capture:l=!1}={}){return{passive:c,capture:l}},transform(c){return c}},WGc=["target","eventOptions","window","enabled","transform"];function qR(c={},l){let t={};for(let[e,b]of Object.entries(l))switch(typeof b){case"function":t[e]=b.call(t,c[e],e,c);break;case"object":t[e]=qR(c[e],b);break;case"boolean":b&&(t[e]=c[e]);break}return t}function pGc(c,l,t={}){let e=c,{target:b,eventOptions:d,window:o,enabled:n,transform:X}=e,G=RGc(e,WGc);if(t.shared=qR({target:b,eventOptions:d,window:o,enabled:n,transform:X},IGc),l){let i=nx.get(l);t[l]=qR(Vl({shared:t.shared},G),i)}else for(let i in G){let a=nx.get(i);a&&(t[i]=qR(Vl({shared:t.shared},G[i]),a))}return t}var $R=class{constructor(l,t){ie(this,"_listeners",new Set),this._ctrl=l,this._gestureKey=t}add(l,t,e,b,d){let o=this._listeners,n=ZO(t,e),X=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},G=Vl(Vl({},X),d);l.addEventListener(n,b,G);let i=()=>{l.removeEventListener(n,b,G),o.delete(i)};return o.add(i),i}clean(){this._listeners.forEach(l=>l()),this._listeners.clear()}},v2=class{constructor(){ie(this,"_timeouts",new Map)}add(l,t,e=140,...b){this.remove(l),this._timeouts.set(l,window.setTimeout(t,e,...b))}remove(l){let t=this._timeouts.get(l);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(l=>{window.clearTimeout(l)}),this._timeouts.clear()}},cI=class{constructor(l){ie(this,"gestures",new Set),ie(this,"_targetEventStore",new $R(this)),ie(this,"gestureEventStores",{}),ie(this,"gestureTimeoutStores",{}),ie(this,"handlers",{}),ie(this,"config",{}),ie(this,"pointerIds",new Set),ie(this,"touchIds",new Set),ie(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),BGc(this,l)}setEventIds(l){if(bx(l))return this.touchIds=new Set(IO(l)),this.touchIds;if("pointerId"in l)return l.type==="pointerup"||l.type==="pointercancel"?this.pointerIds.delete(l.pointerId):l.type==="pointerdown"&&this.pointerIds.add(l.pointerId),this.pointerIds}applyHandlers(l,t){this.handlers=l,this.nativeHandlers=t}applyConfig(l,t){this.config=pGc(l,t,this.config)}clean(){this._targetEventStore.clean();for(let l of this.gestures)this.gestureEventStores[l].clean(),this.gestureTimeoutStores[l].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...l){let t=this.config.shared,e={},b;if(!(t.target&&(b=t.target(),!b))){if(t.enabled){for(let o of this.gestures){let n=this.config[o],X=yO(e,n.eventOptions,!!b);if(n.enabled){let G=_R.get(o);new G(this,l,o).bind(X)}}let d=yO(e,t.eventOptions,!!b);for(let o in this.nativeHandlers)d(o,"",n=>this.nativeHandlers[o](Vl(Vl({},this.state.shared),{},{event:n,args:l})),void 0,!0)}for(let d in e)e[d]=WO(...e[d]);if(!b)return e;for(let d in e){let{device:o,capture:n,passive:X}=gO(d);this._targetEventStore.add(b,o,"",e[d],{capture:n,passive:X})}}}};function Wu(c,l){c.gestures.add(l),c.gestureEventStores[l]=new $R(c,l),c.gestureTimeoutStores[l]=new v2}function BGc(c,l){l.drag&&Wu(c,"drag"),l.wheel&&Wu(c,"wheel"),l.scroll&&Wu(c,"scroll"),l.move&&Wu(c,"move"),l.pinch&&Wu(c,"pinch"),l.hover&&Wu(c,"hover")}var yO=(c,l,t)=>(e,b,d,o={},n=!1)=>{var X,G;let i=(X=o.capture)!==null&&X!==void 0?X:l.capture,a=(G=o.passive)!==null&&G!==void 0?G:l.passive,m=n?e:rO(e,b,i);t&&a&&(m+="Passive"),c[m]=c[m]||[],c[m].push(d)};function yGc(c,l={},t,e){let b=lI.default.useMemo(()=>new cI(c),[]);if(b.applyHandlers(c,e),b.applyConfig(l,t),lI.default.useEffect(b.effect.bind(b)),lI.default.useEffect(()=>b.clean.bind(b),[]),l.target===void 0)return b.bind.bind(b)}function tI(c,l){return Y2(F2),yGc({drag:c},l||{},"drag")}var oI=u(F(),1);var oX=u(F(),1);function VGc(c){let l="ns-resize";switch(c){case"n":case"s":l="ns-resize";break;case"e":case"w":l="ew-resize";break}return l}function VO(c,l){let t=VGc(l);return(0,oX.useEffect)(()=>{c?document.documentElement.style.cursor=t:document.documentElement.style.cursor=null},[c,t]),t}function JO(c){let l=(0,oX.useRef)(c.value),[t,e]=(0,oX.useState)({}),b=t.value!==void 0?t.value:c.value;return(0,oX.useLayoutEffect)(()=>{let{current:n}=l;l.current=c.value,t.value!==void 0&&!t.isStale?e({...t,isStale:!0}):t.isStale&&c.value!==n&&e({})},[c.value,t]),{value:b,onBlur:n=>{e({}),c.onBlur?.(n)},onChange:(n,X)=>{e(G=>Object.assign(G,{value:n,isStale:!1})),c.onChange(n,X)}}}var $o=u(F(),1);var hO=c=>c,eI={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""};var N2="CHANGE",AG="COMMIT",f2="CONTROL",S2="DRAG_END",k2="DRAG_START",bI="DRAG",z2="INVALIDATE",OG="PRESS_DOWN",dI="PRESS_ENTER",nX="PRESS_UP",A2="RESET";function JGc(c=eI){let{value:l}=c;return{...eI,...c,initialValue:l}}function hGc(c){return(l,t)=>{let e={...l};switch(t.type){case f2:return e.value=t.payload.value,e.isDirty=!1,e._event=void 0,e;case nX:e.isDirty=!1;break;case OG:e.isDirty=!1;break;case k2:e.isDragging=!0;break;case S2:e.isDragging=!1;break;case N2:e.error=null,e.value=t.payload.value,l.isPressEnterToChange&&(e.isDirty=!0);break;case AG:e.value=t.payload.value,e.isDirty=!1;break;case A2:e.error=null,e.isDirty=!1,e.value=t.payload.value||l.initialValue;break;case z2:e.error=t.payload.error;break}return e._event=t.payload.event,c(e,t)}}function YO(c=hO,l=eI,t){let[e,b]=(0,$o.useReducer)(hGc(c),JGc(l)),d=W=>(I,p)=>{b({type:W,payload:{value:I,event:p}})},o=W=>I=>{b({type:W,payload:{event:I}})},n=W=>I=>{b({type:W,payload:I})},X=d(N2),G=(W,I)=>b({type:z2,payload:{error:W,event:I}}),i=d(A2),a=d(AG),m=n(k2),s=n(bI),x=n(S2),r=o(nX),g=o(OG),H=o(dI),Z=(0,$o.useRef)(e),R=(0,$o.useRef)({value:l.value,onChangeHandler:t});return(0,$o.useLayoutEffect)(()=>{Z.current=e,R.current={value:l.value,onChangeHandler:t}}),(0,$o.useLayoutEffect)(()=>{Z.current._event!==void 0&&e.value!==R.current.value&&!e.isDirty&&R.current.onChangeHandler(e.value??"",{event:Z.current._event})},[e.value,e.isDirty]),(0,$o.useLayoutEffect)(()=>{l.value!==Z.current.value&&!Z.current.isDirty&&b({type:f2,payload:{value:l.value??""}})},[l.value]),{change:X,commit:a,dispatch:b,drag:s,dragEnd:x,dragStart:m,invalidate:G,pressDown:g,pressEnter:H,pressUp:r,reset:i,state:e}}function Hb(c){return l=>{let{isComposing:t}="nativeEvent"in l?l.nativeEvent:l;t||l.keyCode===229||c(l)}}var FO=u(J(),1),QG=()=>{};function CGc({disabled:c=!1,dragDirection:l="n",dragThreshold:t=10,id:e,isDragEnabled:b=!1,isPressEnterToChange:d=!1,onBlur:o=QG,onChange:n=QG,onDrag:X=QG,onDragEnd:G=QG,onDragStart:i=QG,onKeyDown:a=QG,onValidate:m=QG,size:s="default",stateReducer:x=R=>R,value:r,type:g,...H},Z){let{state:R,change:W,commit:I,drag:p,dragEnd:B,dragStart:y,invalidate:C,pressDown:V,pressEnter:h,pressUp:Y,reset:N}=YO(x,{isDragEnabled:b,value:r,isPressEnterToChange:d},n),{value:A,isDragging:w,isDirty:z}=R,f=(0,oI.useRef)(!1),L=VO(w,l),v=j=>{o(j),(z||!j.target.validity.valid)&&(f.current=!0,P(j))},K=j=>{let nc=j.target.value;W(nc,j)},P=j=>{let nc=j.currentTarget.value;try{m(nc),I(nc,j)}catch(Ic){C(Ic,j)}},oc=j=>{let{key:nc}=j;switch(a(j),nc){case"ArrowUp":Y(j);break;case"ArrowDown":V(j);break;case"Enter":h(j),d&&(j.preventDefault(),P(j));break;case"Escape":d&&z&&(j.preventDefault(),N(r,j));break}},E=tI(j=>{let{distance:nc,dragging:Ic,event:Jc,target:vc}=j;if(j.event={...j.event,target:vc},!!nc){if(Jc.stopPropagation(),!Ic){G(j),B(j);return}X(j),p(j),w||(i(j),y(j))}},{axis:l==="e"||l==="w"?"x":"y",threshold:t,enabled:b,pointer:{capture:!1}}),dc=b?E():{};return(0,FO.jsx)(ld,{...H,...dc,className:"components-input-control__input",disabled:c,dragCursor:L,isDragging:w,id:e,onBlur:v,onChange:K,onKeyDown:Hb(oc),ref:Z,inputSize:s,value:A??"",type:g})}var YGc=(0,oI.forwardRef)(CGc),vO=YGc;var kO=u(F(),1);var nI=S("div",{target:"ej5x27r4"})("font-family:",Cl("default.fontFamily"),";font-size:",Cl("default.fontSize"),";",_e,";"),XI=S("div",{target:"ej5x27r3"})({name:"1chyuqs",styles:".components-panel__row &{margin-bottom:inherit;}"}),NO=k(Ss,";display:block;margin-bottom:",D(2),";padding:0;",""),$e=S("label",{target:"ej5x27r2"})(NO,";"),td=S("p",{target:"ej5x27r1"})("margin-top:",D(2),";margin-bottom:0;font-size:",Cl("helpText.fontSize"),";font-style:normal;color:",T.gray[700],";text-wrap:pretty;"),fO=S("span",{target:"ej5x27r0"})(NO,";");var Md=u(J(),1);var SO=u(ec(),1);function Xx(c){let{help:l,id:t,...e}=c,b=(0,SO.useInstanceId)(jc,"wp-components-base-control",t);return{baseControlProps:{id:b,help:l,...e},controlProps:{id:b,...l?{"aria-describedby":`${b}__help`}:{}}}}var FGc=c=>{let{id:l,label:t,hideLabelFromVision:e=!1,help:b,className:d,children:o}=cc(c,"BaseControl");return(0,Md.jsxs)(nI,{className:d,children:[(0,Md.jsxs)(XI,{className:"components-base-control__field",children:[t&&l&&(e?(0,Md.jsx)(wc,{as:"label",htmlFor:l,children:t}):(0,Md.jsx)($e,{className:"components-base-control__label",htmlFor:l,children:t})),t&&!l&&(e?(0,Md.jsx)(wc,{as:"label",children:t}):(0,Md.jsx)(zO,{children:t})),o]}),!!b&&(0,Md.jsx)(td,{id:l?l+"__help":void 0,className:"components-base-control__help",children:b})]})},vGc=(c,l)=>{let{className:t,children:e,...b}=c;return(0,Md.jsx)(fO,{ref:l,...b,className:Q("components-base-control__label",t),children:e})},zO=(0,kO.forwardRef)(vGc),O2=Object.assign(kG(FGc,"BaseControl"),{VisualLabel:zO}),jc=O2;var AO=u(ml(),1);function dl({componentName:c,__next40pxDefaultSize:l,size:t,__shouldNotWarnDeprecated36pxSize:e}){e||l||t!==void 0&&t!=="default"||(0,AO.default)(`36px default size for wp.components.${c}`,{since:"6.8",version:"7.1",hint:"Set the `__next40pxDefaultSize` prop to true to start opting into the new default size, which will become the default in a future version."})}var GI=u(J(),1),Q2=()=>{};function NGc(c){let t=`inspector-input-control-${(0,OO.useInstanceId)(Gx)}`;return c||t}function fGc(c,l){let{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:e,__unstableStateReducer:b=h=>h,__unstableInputWidth:d,className:o,disabled:n=!1,help:X,hideLabelFromVision:G=!1,id:i,isPressEnterToChange:a=!1,label:m,labelPosition:s="top",onChange:x=Q2,onValidate:r=Q2,onKeyDown:g=Q2,prefix:H,size:Z="default",style:R,suffix:W,value:I,...p}=Et(c),B=NGc(i),y=Q("components-input-control",o),C=JO({value:I,onBlur:p.onBlur,onChange:x}),V=X?{"aria-describedby":`${B}__help`}:{};return dl({componentName:"InputControl",__next40pxDefaultSize:t,size:Z,__shouldNotWarnDeprecated36pxSize:e}),(0,GI.jsx)(jc,{className:y,help:X,id:B,children:(0,GI.jsx)(Iu,{__next40pxDefaultSize:t,__unstableInputWidth:d,disabled:n,gap:3,hideLabelFromVision:G,id:B,justify:"left",label:m,labelPosition:s,prefix:H,size:Z,style:R,suffix:W,children:(0,GI.jsx)(vO,{...p,...V,__next40pxDefaultSize:t,className:"components-input-control__input",disabled:n,id:B,isPressEnterToChange:a,onKeyDown:g,onValidate:r,paddingInlineStart:H?D(1):void 0,paddingInlineEnd:W?D(1):void 0,ref:l,size:Z,stateReducer:b,...C})})})}var Gx=(0,QO.forwardRef)(fGc);Gx.displayName="InputControl";var Pd=Gx;var TO=u(ml(),1),DO=u(F(),1),LO=u(ec(),1);var XX=u(F(),1),w2=u(Ac(),1);var wO=u(J(),1);function SGc({icon:c,className:l,size:t=20,style:e={},...b}){let d=["dashicon","dashicons","dashicons-"+c,l].filter(Boolean).join(" "),n={...t!=20?{fontSize:`${t}px`,width:`${t}px`,height:`${t}px`}:{},...e};return(0,wO.jsx)("span",{className:d,style:n,...b})}var ix=SGc;var T2=u(J(),1);function kGc({icon:c=null,size:l=typeof c=="string"?20:24,...t}){if(typeof c=="string")return(0,T2.jsx)(ix,{icon:c,size:l,...t});if((0,XX.isValidElement)(c)&&ix===c.type)return(0,XX.cloneElement)(c,{...t});if(typeof c=="function")return(0,XX.createElement)(c,{size:l,...t});if(c&&(c.type==="svg"||c.type===w2.SVG)){let e={...c.props,width:l,height:l,...t};return(0,T2.jsx)(w2.SVG,{...e})}return(0,XX.isValidElement)(c)?(0,XX.cloneElement)(c,{size:l,width:l,height:l,...t}):c}var qc=kGc;var Mt=u(J(),1),zGc=["onMouseDown","onClick"];function AGc({__experimentalIsFocusable:c,isDefault:l,isPrimary:t,isSecondary:e,isTertiary:b,isLink:d,isPressed:o,isSmall:n,size:X,variant:G,describedBy:i,...a}){let m=X,s=G,x={accessibleWhenDisabled:c,"aria-pressed":o,description:i};return n&&(m??="small"),t&&(s??="primary"),b&&(s??="tertiary"),e&&(s??="secondary"),l&&((0,TO.default)("wp.components.Button `isDefault` prop",{since:"5.4",alternative:'variant="secondary"'}),s??="secondary"),d&&(s??="link"),{...x,...a,size:m,variant:s}}var pu=(0,DO.forwardRef)(function(l,t){let{__next40pxDefaultSize:e,accessibleWhenDisabled:b,isBusy:d,isDestructive:o,className:n,disabled:X,icon:G,iconPosition:i="left",iconSize:a,showTooltip:m,tooltipPosition:s,shortcut:x,label:r,children:g,size:H="default",text:Z,variant:R,description:W,...I}=AGc(l),{href:p,target:B,"aria-checked":y,"aria-pressed":C,"aria-selected":V,...h}="href"in I?I:{href:void 0,target:void 0,...I},Y=(0,LO.useInstanceId)(pu,"components-button__description"),N=typeof g=="string"&&!!g||Array.isArray(g)&&g?.[0]&&g[0]!==null&&g?.[0]?.props?.className!=="components-tooltip",w=Q("components-button",n,{"is-next-40px-default-size":e,"is-secondary":R==="secondary","is-primary":R==="primary","is-small":H==="small","is-compact":H==="compact","is-tertiary":R==="tertiary","is-pressed":[!0,"true","mixed"].includes(C),"is-pressed-mixed":C==="mixed","is-busy":d,"is-link":R==="link","is-destructive":o,"has-text":!!G&&(N||Z),"has-icon":!!G,"has-icon-right":i==="right"}),z=X&&!b,f=p!==void 0&&!X?"a":"button",L=f==="button"?{type:"button",disabled:z,"aria-checked":y,"aria-pressed":C,"aria-selected":V}:{},v=f==="a"?{href:p,target:B}:{},K={};if(X&&b){L["aria-disabled"]=!0,v["aria-disabled"]=!0;for(let Jc of zGc)K[Jc]=vc=>{vc&&(vc.stopPropagation(),vc.preventDefault())}}let P=!z&&(m&&!!r||!!x||!!r&&!g?.length&&m!==!1),oc=W?Y:void 0,E=h["aria-describedby"]||oc,dc={className:w,"aria-label":h["aria-label"]||r,"aria-describedby":E,ref:t},j=(0,Mt.jsxs)(Mt.Fragment,{children:[G&&i==="left"&&(0,Mt.jsx)(qc,{icon:G,size:a}),Z&&(0,Mt.jsx)(Mt.Fragment,{children:Z}),g,G&&i==="right"&&(0,Mt.jsx)(qc,{icon:G,size:a})]}),nc=f==="a"?(0,Mt.jsx)("a",{...v,...h,...K,...dc,children:j}):(0,Mt.jsx)("button",{...L,...h,...K,...dc,children:j}),Ic=P?{text:g?.length&&W?W:r,shortcut:x,placement:s&&tX(s)}:{};return(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(Se,{...Ic,children:nc}),W&&(0,Mt.jsx)(wc,{children:(0,Mt.jsx)("span",{id:oc,children:W})})]})}),bc=pu;var OGc={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;}"},QGc=({hideHTMLArrows:c})=>c?OGc:"",UO=S(Pd,{target:"ep09it41"})(QGc,";"),D2=S(bc,{target:"ep09it40"})("&&&&&{color:",T.theme.accent,";}"),wGc=k("width:",D(5),";min-width:",D(5),";height:",D(5),";",""),jO={smallSpinButtons:wGc};function wG(c){let l=Number(c);return isNaN(l)?0:l}function L2(...c){return c.reduce((l,t)=>l+wG(t),0)}function MO(...c){return c.reduce((l,t,e)=>{let b=wG(t);return e===0?b:l-b},0)}function EO(c){let l=(c+"").split(".");return l[1]!==void 0?l[1].length:0}function Bu(c,l,t){let e=wG(c);return Math.max(l,Math.min(e,t))}function PO(c,l,t){let e=wG(c),b=wG(l),d=wG(t),o=Math.max(EO(t),EO(l)),n=b%d?b:0,G=Math.round((e-n)/d)*d+n;return o?wG(G.toFixed(o)):G}var TGc={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"}},DGc={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 KO(c,l="row"){if(!Dt(c))return{};let e=l==="column"?DGc:TGc;return c in e?e[c]:{align:c}}var iI=u(F(),1);function aI(c){return typeof c=="string"?[c]:iI.Children.toArray(c).filter(l=>(0,iI.isValidElement)(l))}var _O=u(J(),1);function ax(c){let{alignment:l="edge",children:t,direction:e,spacing:b=2,...d}=cc(c,"HStack"),o=KO(l,e),G={children:aI(t).map((m,s)=>{if(As(m,["Spacer"])){let r=m,g=r.key||`hstack-${s}`;return(0,_O.jsx)(Ut,{isBlock:!0,...r.props},g)}return m}),direction:e,justify:"center",...o,...d,gap:b},{isColumn:i,...a}=Zu(G);return a}var qO=u(J(),1);function LGc(c,l){let t=ax(c);return(0,qO.jsx)(ac,{...t,ref:l})}var UGc=lc(LGc,"HStack"),Ec=UGc;var Kd=u(J(),1),jGc=()=>{};function EGc(c,l){let{__unstableStateReducer:t,className:e,dragDirection:b="n",hideHTMLArrows:d=!1,spinControls:o=d?"none":"native",isDragEnabled:n=!0,isShiftStepEnabled:X=!0,label:G,max:i=1/0,min:a=-1/0,required:m=!1,shiftStep:s=10,step:x=1,spinFactor:r=1,type:g="number",value:H,size:Z="default",suffix:R,onChange:W=jGc,__shouldNotWarnDeprecated36pxSize:I,...p}=Et(c);dl({componentName:"NumberControl",size:Z,__next40pxDefaultSize:p.__next40pxDefaultSize,__shouldNotWarnDeprecated36pxSize:I}),d&&(0,cQ.default)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"});let B=(0,uI.useRef)(null),y=(0,$O.useMergeRefs)([B,l]),C=x==="any",V=C?1:Is(x),h=Is(r)*V,Y=(P,oc)=>(C||(P=PO(P,a,oc??V)),`${Bu(P,a,i)}`),N=Y(0),A=g==="number"?"off":void 0,w=Q("components-number-control",e),f=ic()(Z==="small"&&jO.smallSpinButtons),L=(P,oc,E)=>{E?.preventDefault();let dc=E?.shiftKey&&X,j=dc?Is(s)*h:h,nc=uk(P)?N:P;return oc==="up"?nc=L2(nc,j):oc==="down"&&(nc=MO(nc,j)),Y(nc,dc?j:void 0)},v=(P,oc)=>{let E={...P},{type:dc,payload:j}=oc,nc=j.event,Ic=E.value;if((dc===nX||dc===OG)&&(E.value=L(Ic,dc===nX?"up":"down",nc)),dc===bI&&n){let[Jc,vc]=j.delta,Ql=j.shiftKey&&X,Hl=Ql?Is(s)*h:h,gc,zc;switch(b){case"n":zc=vc,gc=-1;break;case"e":zc=Jc,gc=(0,yu.isRTL)()?-1:1;break;case"s":zc=vc,gc=1;break;case"w":zc=Jc,gc=(0,yu.isRTL)()?1:-1;break}if(zc!==0){zc=Math.ceil(Math.abs(zc))*Math.sign(zc);let Fl=zc*Hl*gc;E.value=Y(L2(Ic,Fl),Ql?Hl:void 0)}}if(dc===dI||dc===AG){let Jc=m===!1&&Ic==="";E.value=Jc?Ic:Y(Ic)}return t?.(E,oc)??E},K=P=>oc=>W(String(L(H,P,oc)),{event:{...oc,target:B.current}});return(0,Kd.jsx)(UO,{autoComplete:A,inputMode:"numeric",...p,className:w,dragDirection:b,hideHTMLArrows:o!=="native",isDragEnabled:n,label:G,max:i===1/0?void 0:i,min:a===-1/0?void 0:a,ref:y,required:m,step:x,type:g,value:H,__unstableStateReducer:v,size:Z,__shouldNotWarnDeprecated36pxSize:!0,suffix:o==="custom"?(0,Kd.jsxs)(Kd.Fragment,{children:[R,(0,Kd.jsx)(ut,{marginBottom:0,marginRight:2,children:(0,Kd.jsxs)(Ec,{spacing:1,children:[(0,Kd.jsx)(D2,{className:f,icon:Ko,size:"small",label:(0,yu.__)("Increment"),onClick:K("up")}),(0,Kd.jsx)(D2,{className:f,icon:Ks,size:"small",label:(0,yu.__)("Decrement"),onClick:K("down")})]})})]}):R,onChange:W})}var lQ=(0,uI.forwardRef)(EGc);lQ.displayName="NumberControl";var Ct=lQ;var tQ=u(J(),1);function MGc(c,l){let t=cc(c,"InputControlPrefixWrapper");return(0,tQ.jsx)(MR,{...t,isPrefix:!0,ref:l})}var U2=lc(MGc,"InputControlPrefixWrapper"),GX=U2;var eQ=u(J(),1);function PGc(c,l){let t=cc(c,"InputControlSuffixWrapper");return(0,eQ.jsx)(MR,{...t,ref:l})}var j2=lc(PGc,"InputControlSuffixWrapper"),Vu=j2;var Ju=u(F(),1),bQ=u(ec(),1),mI=u(J(),1),M2="data-wp-hash";function P2(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_Gc(document)),c.__wpStyleRuntime}function KGc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${M2}]`))if(t.getAttribute(M2)===l)return!0;return!1}function dQ(c,l,t){if(!c.head)return;let e=P2(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(KGc(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(M2,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function _Gc(c){let l=P2();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)dQ(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function qGc(c,l){let t=P2();t.styles.set(c,l);for(let e of t.documents.keys())dQ(e,c,l)}typeof process>"u",qGc("cbb20ea39f","._8f57b8d483c51fbe__circle-root{border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-radius:50%;box-sizing:border-box;cursor:grab;height:32px;overflow:hidden;width:32px}._8f57b8d483c51fbe__circle-root:active{cursor:grabbing}.b1bae984ac10fcc3__circle-indicator-wrapper{box-sizing:border-box;height:100%;position:relative;width:100%}.b1bae984ac10fcc3__circle-indicator-wrapper:focus-visible{outline:none}._6d2fe0a2cbb31bf0__circle-indicator{background:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));border-radius:50%;box-sizing:border-box;display:block;height:6px;left:50%;position:absolute;top:4px;transform:translateX(-50%);width:6px}");var E2={"circle-root":"_8f57b8d483c51fbe__circle-root","circle-indicator-wrapper":"b1bae984ac10fcc3__circle-indicator-wrapper","circle-indicator":"_6d2fe0a2cbb31bf0__circle-indicator"};function $Gc({value:c,onChange:l,className:t,...e}){let b=(0,Ju.useRef)(null),d=(0,Ju.useRef)(void 0),o=(0,Ju.useRef)(void 0),n=()=>{if(b.current===null)return;let a=b.current.getBoundingClientRect();d.current={x:a.x+a.width/2,y:a.y+a.height/2}},X=a=>{if(a!==void 0&&(a.preventDefault(),a.target?.focus(),d.current!==void 0&&l!==void 0)){let{x:m,y:s}=d.current;l(cic(m,s,a.clientX,a.clientY))}},{startDrag:G,isDragging:i}=(0,bQ.__experimentalUseDragging)({onDragStart:a=>{n(),X(a)},onDragMove:X,onDragEnd:X});return(0,Ju.useEffect)(()=>{i?(o.current===void 0&&(o.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=o.current||"",o.current=void 0)},[i]),(0,mI.jsx)("div",{ref:b,onMouseDown:G,className:Q("components-angle-picker-control__angle-circle",E2["circle-root"],t),...e,children:(0,mI.jsx)("div",{style:c?{transform:`rotate(${c}deg)`}:void 0,className:Q("components-angle-picker-control__angle-circle-indicator-wrapper",E2["circle-indicator-wrapper"]),tabIndex:-1,children:(0,mI.jsx)("div",{className:Q("components-angle-picker-control__angle-circle-indicator",E2["circle-indicator"])})})})}function cic(c,l,t,e){let b=e-l,d=t-c,o=Math.atan2(b,d),n=Math.round(o*(180/Math.PI))+90;return n<0?360+n:n}var oQ=$Gc;var cn=u(J(),1);function lic(c,l){let{className:t,label:e=(0,sI.__)("Angle"),onChange:b,value:d,...o}=c,n=i=>{if(b===void 0)return;let a=i!==void 0&&i!==""?parseInt(i,10):0;b(a)},X=Q("components-angle-picker-control",t),G=(0,sI.isRTL)()?{prefix:(0,cn.jsx)(GX,{children:"\xB0"})}:{suffix:(0,cn.jsx)(Vu,{children:"\xB0"})};return(0,cn.jsxs)(Zl,{...o,ref:l,className:X,gap:2,children:[(0,cn.jsx)(Xe,{children:(0,cn.jsx)(Ct,{__next40pxDefaultSize:!0,label:e,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:n,step:"1",value:d,spinControls:"none",...G})}),(0,cn.jsx)(ut,{marginBottom:"1",marginTop:"auto",children:(0,cn.jsx)(oQ,{"aria-hidden":"true",value:d,onChange:b})})]})}var XQ=(0,nQ.forwardRef)(lic);XQ.displayName="AnglePickerControl";var xI=XQ;var ae=u(F(),1),sX=u(ec(),1),Ae=u(K2(),1),xw=u(_d(),1),rw=u(rI(),1);var ew=u(Ei(),1),mX=u(F(),1),bw=u(K2(),1),Nu=u(ec(),1),dw=u(_d(),1),uX=u(Gc(),1);var rQ=u(ZI(),1),gQ=u(ec(),1),RI=u(F(),1);var xQ=u(ZI(),1);var oic=new RegExp(/[\u007e\u00ad\u2053\u207b\u208b\u2212\p{Pd}]/gu),ux=c=>(0,xQ.default)(c).normalize("NFKC").toLocaleLowerCase().replace(oic,"-");function HI(c){let l=c?.toString?.()??"";return l=l.replace(/['\u2019]/,""),nR(l,{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]})}function TG(c){return c.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}function nic(c,l=[],t=10){let e=[];for(let b=0;b<l.length;b++){let d=l[b],{keywords:o=[]}=d;if(typeof d.label=="string"&&(o=[...o,d.label]),!!o.some(X=>c.test((0,rQ.default)(X)))&&(e.push(d),e.length===t))break}return e}function ZQ(c){return l=>{let[t,e]=(0,RI.useState)([]);return(0,RI.useLayoutEffect)(()=>{let{options:b,isDebounced:d}=c,o=(0,gQ.debounce)(()=>{let X=Promise.resolve(typeof b=="function"?b(l):b).then(G=>{if(X.canceled)return;let i=G.map((m,s)=>({key:`${c.name}-${s}`,value:m,label:c.getOptionLabel(m),keywords:c.getOptionKeywords?c.getOptionKeywords(m):[],isDisabled:c.isOptionDisabled?c.isOptionDisabled(m):!1})),a=new RegExp("(?:\\b|\\s|^)"+TG(l),"i");e(nic(a,i))});return X},d?250:0),n=o();return()=>{o.cancel(),n&&(n.canceled=!0)}},[l]),[t]}}var Ul=u(M(),1),pI=u(M(),1),IQ=u(Ei(),1),WQ=c=>{function l(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:c,fn(t){let{element:e,padding:b}=typeof c=="function"?c(t):c;return e&&l(e)?e.current!=null?fm({element:e.current,padding:b}).fn(t):{}:e?fm({element:e,padding:b}).fn(t):{}}}},II=typeof document<"u"?pI.useLayoutEffect:pI.useEffect;function WI(c,l){if(c===l)return!0;if(typeof c!=typeof l)return!1;if(typeof c=="function"&&c.toString()===l.toString())return!0;let t,e,b;if(c&&l&&typeof c=="object"){if(Array.isArray(c)){if(t=c.length,t!==l.length)return!1;for(e=t;e--!==0;)if(!WI(c[e],l[e]))return!1;return!0}if(b=Object.keys(c),t=b.length,t!==Object.keys(l).length)return!1;for(e=t;e--!==0;)if(!{}.hasOwnProperty.call(l,b[e]))return!1;for(e=t;e--!==0;){let d=b[e];if(!(d==="_owner"&&c.$$typeof)&&!WI(c[d],l[d]))return!1}return!0}return c!==c&&l!==l}function pQ(c){return typeof window>"u"?1:(c.ownerDocument.defaultView||window).devicePixelRatio||1}function HQ(c,l){let t=pQ(c);return Math.round(l*t)/t}function RQ(c){let l=Ul.useRef(c);return II(()=>{l.current=c}),l}function BQ(c){c===void 0&&(c={});let{placement:l="bottom",strategy:t="absolute",middleware:e=[],platform:b,elements:{reference:d,floating:o}={},transform:n=!0,whileElementsMounted:X,open:G}=c,[i,a]=Ul.useState({x:0,y:0,strategy:t,placement:l,middlewareData:{},isPositioned:!1}),[m,s]=Ul.useState(e);WI(m,e)||s(e);let[x,r]=Ul.useState(null),[g,H]=Ul.useState(null),Z=Ul.useCallback(f=>{f!==p.current&&(p.current=f,r(f))},[]),R=Ul.useCallback(f=>{f!==B.current&&(B.current=f,H(f))},[]),W=d||x,I=o||g,p=Ul.useRef(null),B=Ul.useRef(null),y=Ul.useRef(i),C=X!=null,V=RQ(X),h=RQ(b),Y=Ul.useCallback(()=>{if(!p.current||!B.current)return;let f={placement:l,strategy:t,middleware:m};h.current&&(f.platform=h.current),km(p.current,B.current,f).then(L=>{let v={...L,isPositioned:!0};N.current&&!WI(y.current,v)&&(y.current=v,IQ.flushSync(()=>{a(v)}))})},[m,l,t,h]);II(()=>{G===!1&&y.current.isPositioned&&(y.current.isPositioned=!1,a(f=>({...f,isPositioned:!1})))},[G]);let N=Ul.useRef(!1);II(()=>(N.current=!0,()=>{N.current=!1}),[]),II(()=>{if(W&&(p.current=W),I&&(B.current=I),W&&I){if(V.current)return V.current(W,I,Y);Y()}},[W,I,Y,V,C]);let A=Ul.useMemo(()=>({reference:p,floating:B,setReference:Z,setFloating:R}),[Z,R]),w=Ul.useMemo(()=>({reference:W,floating:I}),[W,I]),z=Ul.useMemo(()=>{let f={position:t,left:0,top:0};if(!w.floating)return f;let L=HQ(w.floating,i.x),v=HQ(w.floating,i.y);return n?{...f,transform:"translate("+L+"px, "+v+"px)",...pQ(w.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:L,top:v}},[t,n,w.floating,i.x,i.y]);return Ul.useMemo(()=>({...i,update:Y,refs:A,elements:w,floatingStyles:z}),[i,Y,A,w,z])}var st=u(F(),1),iX=u(ec(),1);var vu=u(ml(),1),xx=u(Ac(),1),cw=u(Gc(),1);var JQ=u(F(),1),yQ=0;function VQ(c){let l=document.scrollingElement||document.body;c&&(yQ=l.scrollTop);let t=c?"add":"remove";l.classList[t]("lockscroll"),document.documentElement.classList[t]("lockscroll"),c||(l.scrollTop=yQ)}var BI=0;function Xic(){return(0,JQ.useEffect)(()=>(BI===0&&VQ(!0),++BI,()=>{BI===1&&VQ(!1),--BI}),[]),null}var yI=Xic;var sx=u(F(),1);var kQ=u(ec(),1),ed=u(F(),1);var _2=u(ec(),1),hQ=u(F(),1),QPc=u(ne(),1),Gic={slots:(0,_2.observableMap)(),fills:(0,_2.observableMap)(),registerSlot:()=>{},unregisterSlot:()=>{},updateSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},updateFill:()=>{},isDefault:!0},CQ=(0,hQ.createContext)(Gic);CQ.displayName="SlotFillContext";var ze=CQ;var Yt=[];for(let c=0;c<256;++c)Yt.push((c+256).toString(16).slice(1));function YQ(c,l=0){return(Yt[c[l+0]]+Yt[c[l+1]]+Yt[c[l+2]]+Yt[c[l+3]]+"-"+Yt[c[l+4]]+Yt[c[l+5]]+"-"+Yt[c[l+6]]+Yt[c[l+7]]+"-"+Yt[c[l+8]]+Yt[c[l+9]]+"-"+Yt[c[l+10]]+Yt[c[l+11]]+Yt[c[l+12]]+Yt[c[l+13]]+Yt[c[l+14]]+Yt[c[l+15]]).toLowerCase()}var iic=new Uint8Array(16);function q2(){return crypto.getRandomValues(iic)}function aic(c,l,t){return!l&&!c&&crypto.randomUUID?crypto.randomUUID():uic(c,l,t)}function uic(c,l,t){c=c||{};let e=c.random??c.rng?.()??q2();if(e.length<16)throw new Error("Random bytes length must be >= 16");if(e[6]=e[6]&15|64,e[8]=e[8]&63|128,l){if(t=t||0,t<0||t+16>l.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)l[t+b]=e[b];return l}return YQ(e)}var hu=aic;var vQ=u(F(),1),SQ=u(J(),1),cJ="data-wp-hash";function NQ(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&fQ(document)),c.__wpStyleRuntime}function sic(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${cJ}]`))if(t.getAttribute(cJ)===l)return!0;return!1}function xic(c,l,t){if(!c.head)return;let e=NQ(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(sic(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(cJ,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function fQ(c){let l=NQ();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)xic(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}var FQ=new Set,$2=new WeakMap,ric=c=>{if($2.has(c))return $2.get(c);let l=hu().replace(/[0-9]/g,"");for(;FQ.has(l);)l=hu().replace(/[0-9]/g,"");FQ.add(l);let t=uu({container:c,key:l});return $2.set(c,t),t};function lJ(c){let{children:l,document:t}=c;if((0,vQ.useLayoutEffect)(()=>{if(t)return fQ(t)},[t]),!t)return null;let e=ric(t.head);return(0,SQ.jsx)(X1,{value:e,children:l})}var Cu=lJ;var zQ=u(J(),1);function Yu({name:c,children:l}){let t=(0,ed.useContext)(ze),e=(0,ed.useRef)({}),b=(0,ed.useRef)(l);(0,ed.useLayoutEffect)(()=>{b.current=l},[l]),(0,ed.useLayoutEffect)(()=>{let X=e.current;return t.registerFill(c,{instance:X,children:b.current}),()=>t.unregisterFill(c,X)},[t,c]),(0,ed.useLayoutEffect)(()=>{t.updateFill(c,{instance:e.current,children:l})},[t,c,l]);let d=(0,kQ.useObservableValue)(t.slots,c);if(!d||d.type==="children")return null;let o=d.ref.current;if(!o)return null;let n=typeof l=="function"?l(d.fillProps??{}):l;return(0,ed.createPortal)((0,zQ.jsx)(Cu,{document:o.ownerDocument,children:n}),o)}var tJ=u(ec(),1),Rb=u(F(),1);var VI=u(J(),1);function AQ(c){return typeof c=="function"}function gic(c){return Rb.Children.map(c,(l,t)=>{if(!l||typeof l=="string")return l;let e=t;return typeof l=="object"&&"key"in l&&l?.key&&(e=l.key),(0,Rb.cloneElement)(l,{key:e})})}function Zic(c){let{name:l,children:t,fillProps:e={}}=c,b=(0,Rb.useContext)(ze),d=(0,Rb.useRef)({});(0,Rb.useLayoutEffect)(()=>{let G=d.current;return b.registerSlot(l,{type:"children",instance:G}),()=>b.unregisterSlot(l,G)},[b,l]);let o=(0,tJ.useObservableValue)(b.fills,l)??[],n=(0,tJ.useObservableValue)(b.slots,l);(!n||n.instance!==d.current)&&(o=[]);let X=o.map(G=>{let i=AQ(G.children)?G.children(e):G.children;return gic(i)}).filter(G=>!(0,Rb.isEmptyElement)(G));return(0,VI.jsx)(VI.Fragment,{children:AQ(t)?t(X):X})}var OQ=Zic;var Ib=u(F(),1),QQ=u(ec(),1);var wQ=u(J(),1);function Hic(c,l){let{name:t,fillProps:e={},as:b,children:d,...o}=c,n=(0,Ib.useContext)(ze),X=(0,Ib.useRef)({}),G=(0,Ib.useRef)(null),i=(0,Ib.useRef)(e);return(0,Ib.useLayoutEffect)(()=>{i.current=e},[e]),(0,Ib.useLayoutEffect)(()=>{let a=X.current;return n.registerSlot(t,{type:"portal",instance:a,ref:G,fillProps:i.current}),()=>n.unregisterSlot(t,a)},[n,t]),(0,Ib.useLayoutEffect)(()=>{n.updateSlot(t,{type:"portal",instance:X.current,ref:G,fillProps:i.current})}),(0,wQ.jsx)(ac,{as:b,ref:(0,QQ.useMergeRefs)([l,G]),...o})}var TQ=(0,Ib.forwardRef)(Hic);var eJ=u(ec(),1),LQ=u(F(),1),UQ=u(JI(),1);var jQ=u(J(),1);function Ric(){let c=(0,eJ.observableMap)(),l=(0,eJ.observableMap)();function t(X,G){c.set(X,G)}function e(X,G){let i=c.get(X);!i||i.instance!==G||c.delete(X)}function b(X,G){if(G.type!=="portal")return;let i=c.get(X);i&&i.type==="portal"&&i.instance===G.instance&&((0,UQ.isShallowEqual)(i.fillProps,G.fillProps)||c.set(X,G))}function d(X,G){l.set(X,[...l.get(X)||[],G])}function o(X,G){let i=l.get(X);i&&l.set(X,i.filter(a=>a.instance!==G))}function n(X,G){let i=l.get(X);if(!i)return;let a=i.find(m=>m.instance===G.instance);a&&a.children!==G.children&&l.set(X,i.map(m=>m.instance===G.instance?G:m))}return{slots:c,fills:l,registerSlot:t,unregisterSlot:e,updateSlot:b,registerFill:d,unregisterFill:o,updateFill:n}}function Iic({children:c}){let[l]=(0,LQ.useState)(Ric);return(0,jQ.jsx)(ze.Provider,{value:l,children:c})}var EQ=Iic;var ln=u(J(),1);var MQ=u(F(),1),PQ=u(ec(),1);function mx(c){let l=(0,MQ.useContext)(ze),t=(0,PQ.useObservableValue)(l.slots,c),e;return t&&t.type==="portal"&&(e=t.ref),{ref:e}}var DG=u(F(),1);function Wic(c,l,t){let e=(0,DG.useMemo)(()=>d=>c.subscribe(l,d),[c,l]),b=()=>t(c.get(l));return(0,DG.useSyncExternalStore)(e,b,b)}function pic(c){return c?.length}function bJ(c){let l=(0,DG.useContext)(ze),t=Wic(l.fills,c,pic);return(0,DG.useMemo)(()=>t!==void 0?Array.from({length:t}):void 0,[t])}var Fu=(0,sx.forwardRef)((c,l)=>{let{bubblesVirtually:t,...e}=c;return t?(0,ln.jsx)(TQ,{...e,ref:l}):(0,ln.jsx)(OQ,{...e})});Fu.displayName="Slot";function dJ({children:c,passthrough:l=!1}){return!(0,sx.useContext)(ze).isDefault&&l?(0,ln.jsx)(ln.Fragment,{children:c}):(0,ln.jsx)(EQ,{children:c})}dJ.displayName="SlotFillProvider";function KQ(c){let l=typeof c=="symbol"?c.description:c,t=b=>(0,ln.jsx)(Yu,{name:c,...b});t.displayName=`${l}Fill`;let e=(0,sx.forwardRef)((b,d)=>(0,ln.jsx)(Fu,{name:c,ref:d,...b}));return e.displayName=`${l}Slot`,e.__unstableName=c,{name:c,Fill:t,Slot:e}}function _Q(){return[{name:"overlay",fn({rects:c}){return c.reference}},sG({apply({rects:c,elements:l}){let{firstElementChild:t}=l.floating??{};t instanceof HTMLElement&&Object.assign(t.style,{width:`${c.reference.width}px`,height:`${c.reference.height}px`})}})]}var qQ=u(F(),1),hI=(0,qQ.createContext)(void 0);hI.displayName="__unstableSlotNameContext";var jl=u(J(),1),lw="Popover",Bic=8,yic=()=>(0,jl.jsxs)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation",children:[(0,jl.jsx)(xx.Path,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,jl.jsx)(xx.Path,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})]}),$Q="components-popover__fallback-container",Vic=()=>{let c=document.body.querySelector("."+$Q);return c||(c=document.createElement("div"),c.className=$Q,document.body.append(c)),c},Jic=(c,l)=>{let{animate:t=!0,headerTitle:e,constrainTabbing:b,onClose:d,children:o,className:n,noArrow:X=!0,position:G,placement:i="bottom-start",offset:a=0,focusOnMount:m="firstElement",anchor:s,expandOnMobile:x,onFocusOutside:r,__unstableSlotName:g=lw,flip:H=!0,resize:Z=!0,shift:R=!1,inline:W=!1,variant:I,style:p,__unstableForcePosition:B,anchorRef:y,anchorRect:C,getAnchorRect:V,isAlternate:h,onKeyDown:Y,...N}=cc(c,"Popover"),A=H,w=Z;B!==void 0&&((0,vu.default)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),A=!B,w=!B),y!==void 0&&(0,vu.default)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),C!==void 0&&(0,vu.default)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),V!==void 0&&(0,vu.default)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});let z=h?"toolbar":I;h!==void 0&&(0,vu.default)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});let f=(0,st.useRef)(null),[L,v]=(0,st.useState)(null),K=(0,st.useCallback)(Wt=>{v(Wt)},[]),P=(0,iX.useViewportMatch)("medium","<"),oc=x&&P,E=!oc&&!X,dc=G?tX(G):i,j=[...i==="overlay"?_Q():[],Fm(a),A&&Nm(),w&&sG({padding:Bic,apply(Wt){let{firstElementChild:St}=zc.floating.current??{};St instanceof HTMLElement&&Object.assign(St.style,{maxHeight:`${Math.max(0,Wt.availableHeight)}px`,overflow:"auto"})}}),R&&vm({crossAxis:!0,limiter:Sm(),padding:1}),WQ({element:f})],nc=(0,st.useContext)(hI)||g,Ic=mx(nc),Jc;(d||r)&&(Jc=(Wt,St)=>{if(Wt==="focus-outside"){let pc=St?.target,Pc=zc.reference.current,Sc=zc.floating.current,pt=Pc&&"contains"in Pc&&Pc.contains(pc)||Sc?.contains(pc),nt=Sc?.ownerDocument;if(!pt&&!("relatedTarget"in St&&St.relatedTarget)&&nt?.activeElement===nt?.body)return;let Ob="relatedTarget"in St?St.relatedTarget:null;if(Ob instanceof Element&&Ob.closest("[data-wp-compat-overlay-slot]")||Sc&&nt?.activeElement instanceof Element&&Sc.contains(nt.activeElement))return;r?r(St):d&&d()}else d&&d()});let[vc,Ql]=(0,iX.__experimentalUseDialog)({constrainTabbing:b,focusOnMount:m,onKeyDown:Y,__unstableOnClose:Jc,onClose:Jc}),{x:Hl,y:gc,refs:zc,strategy:Fl,update:Kt,placement:_t,middlewareData:{arrow:bt}}=BQ({placement:dc==="overlay"?void 0:dc,middleware:j,whileElementsMounted:(Wt,St,pc)=>Ym(Wt,St,pc,{layoutShift:!1,animationFrame:!0})}),Zc=(0,st.useCallback)(Wt=>{f.current=Wt,Kt()},[Kt]),Cc=y?.top,ol=y?.bottom,Mc=y?.startContainer,dt=y?.current;(0,st.useLayoutEffect)(()=>{let Wt=Yz({anchor:s,anchorRef:y,anchorRect:C,getAnchorRect:V,fallbackReferenceElement:L});zc.setReference(Wt)},[s,y,Cc,ol,Mc,dt,C,V,L,zc]);let Nt=(0,iX.useMergeRefs)([zc.setFloating,vc,l]),Re=oc?void 0:{position:Fl,top:0,left:0,x:r1(Hl),y:r1(gc)},De=(0,iX.useReducedMotion)(),Ab=t&&!oc&&!De,[Yn,QX]=(0,st.useState)(!1),{style:wX,...Fn}=(0,st.useMemo)(()=>Cz(_t),[_t]),ot=Ab?{style:{...p,...wX,...Re},onAnimationComplete:()=>QX(!0),...Fn}:{animate:!1,style:{...p,...Re}},ft=(!Ab||Yn)&&Hl!==null&&gc!==null,Bd=(0,jl.jsxs)(qn.div,{className:Q(n,{"is-expanded":oc,"is-positioned":ft,[`is-${z==="toolbar"?"alternate":z}`]:z}),...ot,...N,ref:Nt,...Ql,tabIndex:-1,children:[oc&&(0,jl.jsx)(yI,{}),oc&&(0,jl.jsxs)("div",{className:"components-popover__header",children:[(0,jl.jsx)("span",{className:"components-popover__header-title",children:e}),(0,jl.jsx)(bc,{className:"components-popover__close",size:"small",icon:Ds,onClick:d,label:(0,cw.__)("Close")})]}),(0,jl.jsx)("div",{className:"components-popover__content",children:o}),E&&(0,jl.jsx)("div",{ref:Zc,className:["components-popover__arrow",`is-${_t.split("-")[0]}`].join(" "),style:{left:typeof bt?.x<"u"&&Number.isFinite(bt.x)?`${bt.x}px`:"",top:typeof bt?.y<"u"&&Number.isFinite(bt.y)?`${bt.y}px`:""},children:(0,jl.jsx)(yic,{})})]}),_0=Ic.ref&&!W,q0=y||C||s;return _0?Bd=(0,jl.jsx)(Yu,{name:nc,children:Bd}):W||(Bd=(0,st.createPortal)((0,jl.jsx)(lJ,{document,children:Bd}),Vic())),q0?Bd:(0,jl.jsxs)(jl.Fragment,{children:[(0,jl.jsx)("span",{ref:K}),Bd]})},hic=(0,st.forwardRef)(({name:c=lw},l)=>(0,jl.jsx)(Fu,{bubblesVirtually:!0,name:c,className:"popover-slot",ref:l})),Cic=Object.assign(lc(Jic,"Popover"),{Slot:Object.assign(hic,{displayName:"Popover.Slot"}),__unstableSlotNameProvider:Object.assign(hI.Provider,{displayName:"Popover.__unstableSlotNameProvider"})}),aX=Cic;var qd=u(J(),1);function tw({items:c,onSelect:l,selectedIndex:t,instanceId:e,listBoxId:b,className:d,Component:o="div"}){return(0,qd.jsx)(o,{id:b,role:"listbox",className:"components-autocomplete__results",children:c.map((n,X)=>(0,qd.jsx)(bc,{id:`components-autocomplete-item-${e}-${n.key}`,role:"option",__next40pxDefaultSize:!0,"aria-selected":X===t,accessibleWhenDisabled:!0,disabled:n.isDisabled,className:Q("components-autocomplete__result",d,{"is-selected":X===t}),variant:X===t?"primary":void 0,onClick:()=>l(n),children:n.label},n.key))})}function ow({autocompleter:c,filterValue:l,instanceId:t,listBoxId:e,className:b,selectedIndex:d,onChangeOptions:o,onSelect:n,reset:X,contentRef:G}){let i=c.useItems??ZQ(c),[a]=i(l),m=(0,bw.useAnchor)({editableContentElement:G.current}),[s,x]=(0,mX.useState)(!1),r=(0,mX.useRef)(null),g=(0,Nu.useMergeRefs)([r,(0,Nu.useRefEffect)(R=>{G.current&&x(R.ownerDocument!==G.current.ownerDocument)},[G])]);Yic(r,X);let H=(0,Nu.useDebounce)(dw.speak,500);function Z(R){H&&(R.length?H(l?(0,uX.sprintf)((0,uX._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",R.length),R.length):(0,uX.sprintf)((0,uX._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.",R.length),R.length),"assertive"):H((0,uX.__)("No results."),"assertive"))}return(0,mX.useLayoutEffect)(()=>{o(a),Z(a)},[a]),a.length===0?null:(0,qd.jsxs)(qd.Fragment,{children:[(0,qd.jsx)(aX,{offset:8,focusOnMount:!1,placement:"top-start",className:"components-autocomplete__popover",anchor:m,ref:g,children:(0,qd.jsx)(tw,{items:a,onSelect:n,selectedIndex:d,instanceId:t,listBoxId:e,className:b})}),G.current&&s&&(0,ew.createPortal)((0,qd.jsx)(tw,{items:a,onSelect:n,selectedIndex:d,instanceId:t,listBoxId:e,className:b,Component:wc}),G.current.ownerDocument.body)]})}function Yic(c,l){(0,mX.useEffect)(()=>{let t=e=>{!c.current||c.current.contains(e.target)||l(e)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[l,c])}var nw=u(ZI(),1);function Xw(c,l,t){let{matchCount:e,isBackspacing:b,getTextAfterSelection:d,lastCompletion:o}=t;if(!c)return null;let n=null,X=-1,G=-1,i=0;for(let Z of l){let R=c.lastIndexOf(Z.triggerPrefix);if(R<0)continue;let W=R+Z.triggerPrefix.length;(W>G||W===G&&Z.triggerPrefix.length>i)&&(n=Z,X=R,G=W,i=Z.triggerPrefix.length)}if(!n)return null;let{allowContext:a,triggerPrefix:m}=n,s=c.slice(X+m.length);if(s.length>50)return null;let x=e===0,r=s.split(/\s/),g=r.length===1,H=b&&r.length<=3;return x&&!(H||g)||a&&!a(c.slice(0,X),d())||/^\s/.test(s)||/\s\s+$/.test(s)||o&&o.name===n.name&&s.trimEnd()===o.value?null:{completer:n,filterValue:(0,nw.default)(s)}}var oJ=c=>{if(c===null)return"";switch(typeof c){case"string":case"number":return c.toString();case"object":return c instanceof Array?c.map(oJ).join(""):"props"in c?oJ(c.props.children):"";default:return""}},Gw=oJ;var uw=u(aw(),1),{lock:mw,unlock:sw}=(0,uw.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/components");var fu=u(J(),1),{subscribeDelegatedListener:Fic}=sw(sX.privateApis),vic=[],Nic={};function fic(c){return c!==null&&typeof c=="object"&&"action"in c&&c.action!==void 0&&"value"in c&&c.value!==void 0?c:{action:"insert-at-caret",value:c}}var gw={selectedIndex:0,filteredOptions:vic,filterValue:"",autocompleter:null};function Sic(c,l){switch(l.type){case"RESET":return gw;case"SELECT":return{...c,selectedIndex:l.index};case"OPTIONS":return{...c,filteredOptions:l.options,selectedIndex:l.options.length===c.filteredOptions.length?c.selectedIndex:0};case"MATCH":return{...c,autocompleter:l.completer,filterValue:l.query}}}function Zw({record:c,onChange:l,onReplace:t,completers:e,contentRef:b}){let d=(0,sX.useInstanceId)(Nic),[o,n]=(0,ae.useReducer)(Sic,gw),{selectedIndex:X,filteredOptions:G,filterValue:i,autocompleter:a}=o,m=(0,ae.useRef)(!1),s=(0,ae.useRef)(""),x=(0,ae.useRef)(null);function r(h){if(a===null)return"";let Y=c.start,N=Y-a.triggerPrefix.length-i.length,A=(0,Ae.create)({html:(0,ae.renderToString)(h)});return l((0,Ae.insert)(c,A,N,Y)),(0,Ae.getTextContent)(A)}function g(h){if(h.isDisabled||!a)return;let{getOptionCompletion:Y}=a;if(!Y){n({type:"RESET"}),b.current?.focus();return}let N=fic(Y(h.value,i));if(N.action==="replace"){t([N.value]);return}if(N.action==="insert-at-caret"){let A=r(N.value);if(A.startsWith(a.triggerPrefix)){let w=A.slice(a.triggerPrefix.length);w&&(x.current={name:a.name,value:w})}}n({type:"RESET"}),b.current?.focus()}function H(h){n({type:"OPTIONS",options:h})}function Z(h){if(m.current=h.key==="Backspace",!!a&&G.length!==0&&!h.defaultPrevented){switch(h.key){case"ArrowUp":case"ArrowDown":{let Y=h.key==="ArrowUp"?-1:1,N=(X+Y+G.length)%G.length;n({type:"SELECT",index:N}),(0,rw.isAppleOS)()&&(0,xw.speak)(Gw(G[N].label),"assertive");break}case"Escape":n({type:"RESET"}),h.preventDefault();break;case"Enter":g(G[X]);break;case"ArrowLeft":case"ArrowRight":n({type:"RESET"});return;default:return}h.preventDefault()}}let R=(0,ae.useMemo)(()=>(0,Ae.isCollapsed)(c)?(0,Ae.getTextContent)((0,Ae.slice)(c,0)):"",[c]);(0,ae.useEffect)(()=>{let h=c.text!==s.current;s.current=c.text;function Y(){return R?(0,Ae.getTextContent)((0,Ae.slice)(c,void 0,(0,Ae.getTextContent)(c).length)):""}let N=Xw(R,e,{matchCount:G.length,isBackspacing:m.current,getTextAfterSelection:Y,lastCompletion:x.current});if(!N){a&&n({type:"RESET"});return}let{completer:A,filterValue:w}=N;!a&&!h||(x.current&&x.current.name===A.name&&(x.current=null),n({type:"MATCH",completer:A,query:w}))},[R]);let{key:W=""}=G[X]||{},{className:I}=a||{},p=!!a&&G.length>0,B=p?`components-autocomplete-listbox-${d}`:void 0,y=p?`components-autocomplete-item-${d}-${W}`:null,C=c.start!==void 0,V=!!R&&C&&!!a;return{listBoxId:B,activeId:y,onKeyDown:Hb(Z),popover:V&&(0,fu.jsx)(ow,{autocompleter:a,className:I,filterValue:i,instanceId:d,listBoxId:B,selectedIndex:X,onChangeOptions:H,onSelect:g,contentRef:b,reset:()=>n({type:"RESET"})},a.name+a.triggerPrefix)}}function kic(c,l){return c.text===l.text&&c.start===l.start&&c.end===l.end}function zic(c){let l=(0,ae.useRef)([]),t=l.current[l.current.length-1];return(!t||!kic(c,t))&&l.current.push(c),l.current.length>2&&l.current.shift(),l.current[0]}function Hw(c){let l=(0,ae.useRef)(null),t=(0,ae.useRef)(void 0),{record:e}=c,b=zic(e),{popover:d,listBoxId:o,activeId:n,onKeyDown:X}=Zw({...c,contentRef:l});t.current=X;let G=(0,sX.useMergeRefs)([l,(0,sX.useRefEffect)(a=>{function m(s){t.current?.(s)}return Fic(a,"keydown",m,!0)},[])]);return e.text!==b?.text?{ref:G,children:d,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":n}:{ref:G}}function Rw({children:c,isSelected:l,...t}){let{popover:e,...b}=Zw(t);return(0,fu.jsxs)(fu.Fragment,{children:[c(b),l&&e]})}var VL=u(Gc(),1),aW=u(F(),1),JL=u(ec(),1);var nJ=u(Gc(),1);var Cw=u(F(),1);var Iw=k("",""),Ww=()=>k("flex:1;",kc({marginRight:"24px"})(),";",""),pw={name:"bjn8wh",styles:"position:relative"},Bw=c=>k("position:absolute;top:",c==="__unstable-large"?"8px":"3px",";",kc({right:0})()," line-height:0;",""),CI=c=>{let{color:l=T.gray[200],style:t="solid",width:e=O.borderWidth}=c||{},b=e!==O.borderWidth?`clamp(1px, ${e}, 10px)`:e;return`${l} ${!!e&&e!=="0"||!!l?t||"solid":t} ${b}`},yw=(c,l)=>k("position:absolute;top:",l==="__unstable-large"?"20px":"15px",";right:",l==="__unstable-large"?"39px":"29px",";bottom:",l==="__unstable-large"?"20px":"15px",";left:",l==="__unstable-large"?"39px":"29px",";border-top:",CI(c?.top),";border-bottom:",CI(c?.bottom),";",kc({borderLeft:CI(c?.left)})()," ",kc({borderRight:CI(c?.right)})(),";",""),Vw=c=>k("position:relative;flex:1;width:",c==="__unstable-large"?void 0:"80%",";",""),Jw={name:"1nwbfnf",styles:"grid-column:span 2;margin:0 auto"},hw=()=>k(kc({marginLeft:"auto"})(),";","");function Yw(c){let{className:l,size:t="default",...e}=cc(c,"BorderBoxControlLinkedButton"),b=ic(),d=(0,Cw.useMemo)(()=>b(Bw(t),l),[l,b,t]);return{...e,className:d}}var Fw=u(J(),1),Aic=(c,l)=>{let{className:t,isLinked:e,...b}=Yw(c),d=e?(0,nJ.__)("Unlink sides"):(0,nJ.__)("Link sides");return(0,Fw.jsx)(bc,{...b,size:"small",icon:e?Es:js,iconSize:24,label:d,ref:l,className:t})},Oic=lc(Aic,"BorderBoxControlLinkedButton"),XJ=Oic;var Vx=u(Gc(),1),XW=u(F(),1),ZL=u(ec(),1);var vw=u(F(),1);function Nw(c){let{className:l,value:t,size:e="default",...b}=cc(c,"BorderBoxControlVisualizer"),d=ic(),o=(0,vw.useMemo)(()=>d(yw(t,e),l),[d,l,t,e]);return{...b,className:o,value:t}}var fw=u(J(),1),Qic=(c,l)=>{let{value:t,...e}=Nw(c);return(0,fw.jsx)(ac,{...e,ref:l})},wic=lc(Qic,"BorderBoxControlVisualizer"),GJ=wic;var QJ=u(Gc(),1);var ct=u(Gc(),1);var TI=u(Gc(),1);var rx=u(F(),1),Uw=u(ec(),1);var Sw=({isBlock:c,isDeselectable:l,size:t})=>k("background:",T.ui.background,";border:1px solid transparent;border-radius:",O.radiusSmall,";display:inline-flex;min-width:0;position:relative;",Uic(t)," ",!l&&Tic(c),"@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius;transition-duration:0.2s;transition-timing-function:ease-out;}}&::before{content:'';position:absolute;pointer-events:none;background:",T.theme.gray[100],";border:1px solid ",T.theme.gray[700],";outline:2px solid transparent;outline-offset:-3px;border-radius:",O.radiusSmall,`;top:-1px;left:-2px;width:calc( calc( var( --selected-width, 0 ) * 1px ) + 2px );height:calc( calc( var( --selected-height, 0 ) * 1px ) + 2px );transform:translateX( calc( var( --selected-left, 0 ) * 1px ) );opacity:min( | |
| 10 | - 1, | |
| 11 | - max( 0, var( --selected-width, 0 ), var( --selected-height, 0 ) ) | |
| 12 | - );}`,""),Tic=c=>{let l=k("border-color:",T.gray[300],";","");return k(c&&l," &:hover{border-color:",T.gray[400],";}&:focus-within{z-index:1;outline:",O.borderWidthFocus," solid ",T.ui.borderFocus,";outline-offset:1px;}","")},Dic={name:"1k18kha",styles:"height:40px"},Lic={name:"j4fzus",styles:"height:36px"},Uic=c=>({default:Lic,"__unstable-large":Dic})[c],kw={name:"7whenc",styles:"display:flex;width:100%"};var Ow=u(ec(),1),ku=u(F(),1),Qw=u(Gc(),1);var FI=u(F(),1),iJ=(0,FI.createContext)({});iJ.displayName="ToggleGroupControlContext";var zw=()=>(0,FI.useContext)(iJ),vI=iJ;var Aw=u(ec(),1),Su=u(F(),1);function NI(c){let l=(0,Su.useRef)(!0),t=(0,Aw.usePrevious)(c),e=(0,Su.useRef)(!1);(0,Su.useEffect)(()=>{l.current&&(l.current=!1)},[]);let b=e.current||!l.current&&t!==c;return(0,Su.useEffect)(()=>{e.current=b},[b]),b?{value:c??"",defaultValue:void 0}:{value:void 0,defaultValue:c}}var fI=u(J(),1);function Eic({children:c,isAdaptiveWidth:l,label:t,onChange:e,size:b,value:d,id:o,setSelectedElement:n,...X},G){let i=(0,Ow.useInstanceId)(SI,"toggle-group-control-as-radio-group"),a=o||i,{value:m,defaultValue:s}=NI(d),r=Ga({defaultValue:s,value:m,setValue:e?R=>{e(R??void 0)}:void 0,rtl:(0,Qw.isRTL)()}),g=U(r,"value"),H=r.setValue;(0,ku.useEffect)(()=>{g===""&&r.setActiveId(void 0)},[r,g]);let Z=(0,ku.useMemo)(()=>({activeItemIsNotFirstItem:()=>r.getState().activeId!==r.first(),baseId:a,isBlock:!l,size:b,value:g,setValue:H,setSelectedElement:n}),[a,l,r,g,n,H,b]);return(0,fI.jsx)(vI.Provider,{value:Z,children:(0,fI.jsx)(Xa,{store:r,"aria-label":t,render:(0,fI.jsx)(ac,{}),...X,id:a,ref:G,children:c})})}var SI=(0,ku.forwardRef)(Eic);SI.displayName="ToggleGroupControlAsRadioGroup";var ww=u(ec(),1),kI=u(F(),1);var aJ=u(J(),1);function Mic({children:c,isAdaptiveWidth:l,label:t,onChange:e,size:b,value:d,id:o,setSelectedElement:n,...X},G){let i=(0,ww.useInstanceId)(zI,"toggle-group-control-as-button-group"),a=o||i,{value:m,defaultValue:s}=NI(d),[x,r]=ee({defaultValue:s,value:m,onChange:e}),g=(0,kI.useMemo)(()=>({baseId:a,value:x,setValue:r,isBlock:!l,isDeselectable:!0,size:b,setSelectedElement:n}),[a,x,r,l,b,n]);return(0,aJ.jsx)(vI.Provider,{value:g,children:(0,aJ.jsx)(ac,{"aria-label":t,...X,ref:G,role:"group",id:a,children:c})})}var zI=(0,kI.forwardRef)(Mic);zI.displayName="ToggleGroupControlAsButtonGroup";var LG=u(F(),1),AI=u(ec(),1),uJ={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function Pic(c){let l=c.getBoundingClientRect();if(l.width===0||l.height===0)return;let t=c.offsetParent,e=t?.getBoundingClientRect()??uJ,b=t?.scrollLeft??0,d=t?.scrollTop??0,o=parseFloat(getComputedStyle(c).width),n=parseFloat(getComputedStyle(c).height),X=o/l.width,G=n/l.height;return{element:c,top:(l.top-e?.top)*G+d,right:(e?.right-l.right)*X-b,bottom:(e?.bottom-l.bottom)*G-d,left:(l.left-e?.left)*X+b,width:o,height:n}}var Kic=100;function OI(c,l=[]){let[t,e]=(0,LG.useState)(uJ),b=(0,LG.useRef)(void 0),d=(0,AI.useEvent)(()=>{if(c&&c.isConnected){let n=Pic(c);if(n)return e(n),clearInterval(b.current),!0}else clearInterval(b.current);return!1}),o=(0,AI.useResizeObserver)(()=>{d()||requestAnimationFrame(()=>{d()||(b.current=setInterval(d,Kic))})});return(0,LG.useLayoutEffect)(()=>{o(c),c||e(uJ)},[o,c]),(0,LG.useLayoutEffect)(()=>{d()},l),t}var Lw=u(ec(),1),mJ=u(F(),1);var Tw=u(ec(),1),QI=u(F(),1);function Dw(c,l){let t=(0,QI.useRef)(c),e=(0,Tw.useEvent)(l);(0,QI.useLayoutEffect)(()=>{t.current!==c&&(e({previousValue:t.current}),t.current=c)},[e,c])}function wI(c,l,{prefix:t="subelement",dataAttribute:e=`${t}-animated`,transitionEndFilter:b=()=>!0,roundRect:d=!1}={}){let o=(0,Lw.useEvent)(()=>{Object.keys(l).forEach(n=>n!=="element"&&c?.style.setProperty(`--${t}-${n}`,String(d?Math.floor(l[n]):l[n])))});(0,mJ.useLayoutEffect)(()=>{o()},[l,o]),Dw(l.element,({previousValue:n})=>{l.element&&n&&c?.setAttribute(`data-${e}`,"")}),(0,mJ.useLayoutEffect)(()=>{function n(X){b(X)&&c?.removeAttribute(`data-${e}`)}return c?.addEventListener("transitionend",n),()=>c?.removeEventListener("transitionend",n)},[e,c,b])}var sJ=u(J(),1);function _ic(c,l){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:e=!1,__shouldNotWarnDeprecated36pxSize:b,className:d,isAdaptiveWidth:o=!1,isBlock:n=!1,isDeselectable:X=!1,id:G,label:i,hideLabelFromVision:a=!1,help:m,onChange:s,size:x="default",value:r,children:g,...H}=cc(c,"ToggleGroupControl"),{baseControlProps:Z,controlProps:R}=Xx({id:G,help:m,label:i,hideLabelFromVision:a}),W=e&&x==="default"?"__unstable-large":x,[I,p]=(0,rx.useState)(),[B,y]=(0,rx.useState)(),C=(0,Uw.useMergeRefs)([y,l]),V=OI(r!=null?I:void 0);wI(B,V,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:A=>A.pseudoElement==="::before",roundRect:!1});let h=ic(),Y=(0,rx.useMemo)(()=>h(Sw({isBlock:n,isDeselectable:X,size:W}),n&&kw,d),[d,h,n,X,W]),N=X?zI:SI;return dl({componentName:"ToggleGroupControl",size:x,__next40pxDefaultSize:e,__shouldNotWarnDeprecated36pxSize:b}),(0,sJ.jsx)(jc,{...Z,children:(0,sJ.jsx)(N,{...H,...R,setSelectedElement:p,className:Y,isAdaptiveWidth:o,label:i,onChange:s,ref:C,size:W,value:r,children:g})})}var qic=lc(_ic,"ToggleGroupControl"),Wb=qic;var Pw=u(F(),1);var Ew=u(ec(),1),UG=u(F(),1);var gJ={};TX(gJ,{ButtonContentView:()=>tac,LabelView:()=>$ic,buttonView:()=>rJ,labelBlock:()=>xJ});var $ic=S("div",{target:"et6ln9s1"})({name:"sln1fl",styles:"display:inline-flex;max-width:100%;min-width:0;position:relative"}),xJ={name:"82a6rk",styles:"flex:1"},rJ=({isDeselectable:c,isIcon:l,isPressed:t,size:e})=>k("align-items:center;appearance:none;background:transparent;border:none;border-radius:",O.radiusXSmall,";color:",T.theme.gray[700],";fill:currentColor;cursor:pointer;display:flex;font-family:inherit;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;@media not ( prefers-reduced-motion ){transition:color ",O.transitionDurationFast," linear,font-weight 60ms linear;}user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&[disabled],&[aria-disabled='true']{opacity:0.4;cursor:default;}&:hover:not( [disabled] ):not( [aria-disabled='true'] ){color:",T.theme.foreground,";}",c&&lac," ",l&&eac({size:e})," ",t&&cac,";",""),cac=k("color:",T.theme.foreground,";font-weight:",O.fontWeightMedium,";",""),lac=k("&:focus{outline:",O.borderWidthFocus," solid ",T.ui.borderFocus,";outline-offset:2px;&[aria-pressed='false']{background:",T.ui.background,";box-shadow:0 0 0 2px ",T.ui.background,";}}",""),tac=S("div",{target:"et6ln9s0"})("display:flex;font-size:",O.fontSize,";line-height:1;"),eac=({size:c="default"})=>k("height:",{default:"34px","__unstable-large":"38px"}[c],";aspect-ratio:1;padding-left:0;padding-right:0;","");var pb=u(J(),1),{ButtonContentView:jw,LabelView:bac}=gJ,dac=({showTooltip:c,text:l,children:t})=>c&&l?(0,pb.jsx)(Se,{text:l,placement:"top",children:t}):(0,pb.jsx)(pb.Fragment,{children:t});function Mw(c,l){let t=zw(),e=(0,Ew.useInstanceId)(Mw,t.baseId||"toggle-group-control-option-base"),b=cc({...c,id:e},"ToggleGroupControlOptionBase"),{isBlock:d=!1,isDeselectable:o=!1,size:n="default"}=t,{className:X,isIcon:G=!1,value:i,children:a,showTooltip:m=!1,disabled:s,...x}=b,r=t.value===i,g=ic(),H=(0,UG.useMemo)(()=>g(d&&xJ),[g,d]),Z=(0,UG.useMemo)(()=>g(rJ({isDeselectable:o,isIcon:G,isPressed:r,size:n}),X),[g,o,G,r,n,X]),R=()=>{o&&r?t.setValue(void 0):t.setValue(i)},W={...x,className:Z,"data-value":i,ref:l},I=(0,UG.useRef)(null);return(0,UG.useLayoutEffect)(()=>{r&&I.current&&t.setSelectedElement(I.current)},[r,t]),(0,pb.jsx)(bac,{ref:I,className:H,children:(0,pb.jsx)(dac,{showTooltip:m,text:x["aria-label"],children:o?(0,pb.jsx)("button",{...W,disabled:s,"aria-pressed":r,type:"button",onClick:R,children:(0,pb.jsx)(jw,{children:a})}):(0,pb.jsx)(na,{disabled:s,onFocusVisible:()=>{(!(t.value===null||t.value==="")||t.activeItemIsNotFirstItem?.())&&t.setValue(i)},render:(0,pb.jsx)("button",{type:"button",...W}),value:i,children:(0,pb.jsx)(jw,{children:a})})})})}var oac=lc(Mw,"ToggleGroupControlOptionBase"),gx=oac;var Kw=u(J(),1);function nac(c,l){let{label:t,...e}=c,b=e["aria-label"]||t;return(0,Kw.jsx)(gx,{...e,"aria-label":b,ref:l,children:t})}var _w=(0,Pw.forwardRef)(nac);_w.displayName="ToggleGroupControlOption";var tn=_w;var qw=u(F(),1);var ZJ=u(J(),1);function Xac(c,l){let{icon:t,label:e,...b}=c;return(0,ZJ.jsx)(gx,{...b,isIcon:!0,"aria-label":e,showTooltip:!0,ref:l,children:(0,ZJ.jsx)(qc,{icon:t})})}var $w=(0,qw.forwardRef)(Xac);$w.displayName="ToggleGroupControlOptionIcon";var zu=$w;var HJ=u(J(),1),Gac=[{label:(0,TI.__)("Solid"),icon:Us,value:"solid"},{label:(0,TI.__)("Dashed"),icon:_1,value:"dashed"},{label:(0,TI.__)("Dotted"),icon:$1,value:"dotted"}];function iac({onChange:c,...l},t){return(0,HJ.jsx)(Wb,{__next40pxDefaultSize:!0,ref:t,isDeselectable:!0,onChange:e=>{c?.(e)},...l,children:Gac.map(e=>(0,HJ.jsx)(zu,{value:e.value,icon:e.icon,label:e.label},e.value))})}var aac=lc(iac,"BorderControlStylePicker"),RJ=aac;var cT=u(F(),1),lT=u(J(),1);function uac(c,l){let{className:t,colorValue:e,...b}=c;return(0,lT.jsx)("span",{className:Q("component-color-indicator",t),style:{background:e},ref:l,...b})}var tT=(0,cT.forwardRef)(uac);tT.displayName="ColorIndicator";var $d=tT;var IJ=function(c){var l=c/255;return l<.04045?l/12.92:Math.pow((l+.055)/1.055,2.4)},WJ=function(c){return .2126*IJ(c.r)+.7152*IJ(c.g)+.0722*IJ(c.b)};function Au(c){c.prototype.luminance=function(){return l=WJ(this.rgba),(t=2)===void 0&&(t=0),e===void 0&&(e=Math.pow(10,t)),Math.round(e*l)/e+0;var l,t,e},c.prototype.contrast=function(l){l===void 0&&(l="#FFF");var t,e,b,d,o,n,X,G=l instanceof c?l:new c(l);return d=this.rgba,o=G.toRgb(),n=WJ(d),X=WJ(o),t=n>X?(n+.05)/(X+.05):(X+.05)/(n+.05),(e=2)===void 0&&(e=0),b===void 0&&(b=Math.pow(10,e)),Math.floor(b*t)/b+0},c.prototype.isReadable=function(l,t){return l===void 0&&(l="#FFF"),t===void 0&&(t={}),this.contrast(l)>=(n=(o=(e=t).size)===void 0?"normal":o,(d=(b=e.level)===void 0?"AA":b)==="AAA"&&n==="normal"?7:d==="AA"&&n==="large"?3:4.5);var e,b,d,o,n}}var OD=u(ec(),1),nn=u(Gc(),1),dd=u(F(),1);var DI=u(F(),1),eT=u(ec(),1),bT=u(ml(),1);var LI=u(J(),1),mac=(c,l)=>{let{renderContent:t,renderToggle:e,className:b,contentClassName:d,expandOnMobile:o,headerTitle:n,focusOnMount:X,popoverProps:G,onClose:i,onToggle:a,style:m,open:s,defaultOpen:x,position:r,variant:g}=cc(c,"Dropdown");r!==void 0&&(0,bT.default)("`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."});let[H,Z]=(0,DI.useState)(null),R=(0,DI.useRef)(null),[W,I]=ee({defaultValue:x,value:s,onChange:a});function p(){if(!R.current)return;let{ownerDocument:V}=R.current,h=V?.activeElement?.closest('[role="dialog"]');!R.current.contains(V.activeElement)&&(!h||h.contains(R.current))&&B()}function B(){i?.(),I(!1)}let y={isOpen:!!W,onToggle:()=>I(!W),onClose:B},C=!!G?.anchor||!!G?.anchorRef||!!G?.getAnchorRect||!!G?.anchorRect;return(0,LI.jsxs)("div",{className:b,ref:(0,eT.useMergeRefs)([R,l,Z]),tabIndex:-1,style:m,children:[e(y),W&&(0,LI.jsx)(aX,{position:r,onClose:B,onFocusOutside:p,expandOnMobile:o,headerTitle:n,focusOnMount:X,offset:13,anchor:C?void 0:H,variant:g,...G,className:Q("components-dropdown__content",G?.className,d),children:t(y)})]})},sac=lc(mac,"Dropdown"),co=sac;var cb=u(F(),1),mD=u(ec(),1),sD=u(Gc(),1);var GT=u(ec(),1),iT=u(F(),1);var xac=({disabled:c})=>c?k("color:",T.ui.textDisabled,";cursor:default;",""):"",rac={name:"1lv1yo7",styles:"display:inline-flex"},gac=({variant:c})=>c==="minimal"?rac:"",dT=S(Iu,{target:"e1mv6sxx3"})("color:",T.theme.foreground,";cursor:pointer;",xac," ",gac,";"),Zac=({__next40pxDefaultSize:c,multiple:l,selectSize:t="default"})=>{if(l)return;let e={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},"__unstable-large":{height:40,minHeight:40,paddingTop:0,paddingBottom:0}};c||(e.default=e.compact);let b=e[t]||e.default;return k(b,"","")},jG=18,Hac=({__next40pxDefaultSize:c,multiple:l,selectSize:t="default"})=>{let e={default:O.controlPaddingX,small:O.controlPaddingXSmall,compact:O.controlPaddingXSmall,"__unstable-large":O.controlPaddingX};c||(e.default=e.compact);let b=e[t]||e.default;return kc({paddingLeft:b,paddingRight:b+jG,...l?{paddingTop:b,paddingBottom:b}:{}})},Rac=({multiple:c})=>({overflow:c?"auto":"hidden"}),Iac={name:"n1jncc",styles:"field-sizing:content"},Wac=({variant:c})=>c==="minimal"?Iac:"",oT=S("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;",ex,";",Zac,";",Hac,";",Rac," ",Wac,";}"),nT=S("div",{target:"e1mv6sxx1"})("margin-inline-end:",D(-1),";line-height:0;path{fill:currentColor;}"),XT=S(Vu,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",kc({right:0}),";");var UI=u(J(),1),pac=()=>(0,UI.jsx)(XT,{children:(0,UI.jsx)(nT,{children:(0,UI.jsx)(mt,{icon:Ts,size:jG})})}),jI=pac;var EG=u(J(),1);function Bac(c){let t=`inspector-select-control-${(0,GT.useInstanceId)(Zx)}`;return c||t}function yac({options:c}){return c.map(({id:l,label:t,value:e,...b},d)=>{let o=l||`${t}-${e}-${d}`;return(0,EG.jsx)("option",{value:e,...b,children:t},o)})}function Vac(c,l){let{className:t,disabled:e=!1,help:b,hideLabelFromVision:d,id:o,label:n,multiple:X=!1,onChange:G,options:i=[],size:a="default",value:m,labelPosition:s="top",children:x,prefix:r,suffix:g,variant:H="default",__next40pxDefaultSize:Z=!1,__nextHasNoMarginBottom:R,__shouldNotWarnDeprecated36pxSize:W,...I}=Et(c),p=Bac(o),B=b?`${p}__help`:void 0;if(!i?.length&&!x)return null;let y=V=>{if(c.multiple){let Y=Array.from(V.target.options).filter(({selected:N})=>N).map(({value:N})=>N);c.onChange?.(Y,{event:V});return}c.onChange?.(V.target.value,{event:V})},C=Q("components-select-control",t);return dl({componentName:"SelectControl",__next40pxDefaultSize:Z,size:a,__shouldNotWarnDeprecated36pxSize:W}),(0,EG.jsx)(jc,{help:b,id:p,className:C,children:(0,EG.jsx)(dT,{disabled:e,hideLabelFromVision:d,id:p,isBorderless:H==="minimal",label:n,size:a,suffix:g||!X&&(0,EG.jsx)(jI,{}),prefix:r,labelPosition:s,__unstableInputWidth:H==="minimal"?"auto":void 0,variant:H,__next40pxDefaultSize:Z,children:(0,EG.jsx)(oT,{...I,__next40pxDefaultSize:Z,"aria-describedby":B,className:"components-select-control__input",disabled:e,id:p,multiple:X,onChange:y,ref:l,selectSize:a,value:m,variant:H,children:x||(0,EG.jsx)(yac,{options:i})})})})}var Zx=(0,iT.forwardRef)(Vac);Zx.displayName="SelectControl";var Bb=Zx;var EI=u(Gc(),1),rX=u(F(),1),MI=u(ec(),1);var aT=u(F(),1);function Hx(c,l,t){return typeof c!="number"?null:parseFloat(`${Bu(c,l,t)}`)}function uT(c){let{min:l,max:t,value:e,initial:b}=c,[d,o]=jo(Hx(e,l,t),{initial:Hx(b??null,l,t),fallback:null}),n=(0,aT.useCallback)(X=>{o(X===null?null:Hx(X,l,t))},[l,t,o]);return[d,n]}var CT=u(F(),1);var Ou=30,Qu=4,pJ=()=>k({height:Ou,minHeight:Ou},"",""),MG=12,Jac=({__next40pxDefaultSize:c})=>!c&&k({minHeight:Ou},"",""),mT=S("div",{target:"e1epgpqk14"})("-webkit-tap-highlight-color:transparent;align-items:center;display:flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;min-height:40px;",Jac,";"),hac=({color:c=T.ui.borderFocus})=>k({color:c},"",""),sT=S("div",{shouldForwardProp:c=>!["color","marks"].includes(c),target:"e1epgpqk13"})("display:block;flex:1;position:relative;width:100%;",hac,";",pJ,";"),xT=S("span",{target:"e1epgpqk12"})("display:flex;margin-top:",Qu,"px;",kc({marginRight:6}),";"),rT=S("span",{target:"e1epgpqk11"})("display:flex;margin-top:",Qu,"px;",kc({marginLeft:6}),";"),Cac=({disabled:c,railColor:l})=>k("background:",c?T.ui.backgroundDisabled:l||T.theme.gray[300],";@media ( forced-colors: active ){background:GrayText;}",""),gT=S("span",{target:"e1epgpqk10"})("left:0;pointer-events:none;right:0;display:block;height:",Qu,"px;position:absolute;margin-top:",(Ou-Qu)/2,"px;top:0;border-radius:",O.radiusFull,";",Cac,";"),Yac=({disabled:c,trackColor:l})=>k("background:",c?T.theme.gray[400]:l||"currentColor",";@media ( forced-colors: active ){background:",c?"GrayText":"CanvasText",";}",""),ZT=S("span",{target:"e1epgpqk9"})("border-radius:",O.radiusFull,";height:",Qu,"px;pointer-events:none;display:block;position:absolute;margin-top:",(Ou-Qu)/2,"px;top:0;.is-marked &{@media not ( prefers-reduced-motion ){transition:width ease 0.1s;}}",Yac,";"),HT=S("span",{target:"e1epgpqk8"})({name:"g5kg28",styles:"display:block;pointer-events:none;position:relative;width:100%;user-select:none;margin-top:17px"}),RT=S("span",{target:"e1epgpqk7"})("position:absolute;left:0;top:-4px;height:4px;width:2px;transform:translateX( -50% );background-color:",T.ui.background,";z-index:1;"),Fac=({isFilled:c})=>k({color:c?T.theme.gray[700]:T.theme.gray[300]},"",""),IT=S("span",{target:"e1epgpqk6"})("color:",T.theme.gray[300],";font-size:11px;position:absolute;top:8px;white-space:nowrap;",kc({left:0}),";",kc({transform:"translateX( -50% )"},{transform:"translateX( 50% )"}),";",Fac,";"),WT=({disabled:c})=>k("background:",c?T.theme.gray[400]:T.theme.accent,";@media ( forced-colors: active ){background:",c?"GrayText":"CanvasText",";}",""),pT=S("span",{target:"e1epgpqk5"})("align-items:center;display:flex;height:",MG,"px;justify-content:center;margin-top:",(Ou-MG)/2,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",MG,"px;border-radius:",O.radiusRound,";z-index:3;.is-marked &{@media not ( prefers-reduced-motion ){transition:left ease 0.1s;}}",WT,";",kc({marginLeft:-10}),";",kc({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),vac=({isFocused:c})=>c?k("&::before{content:' ';position:absolute;background-color:",T.theme.accent,";opacity:0.4;border-radius:",O.radiusRound,";height:",MG+8,"px;width:",MG+8,"px;top:-4px;left:-4px;@media ( forced-colors: active ){background:GrayText;}}",""):"",BT=S("span",{target:"e1epgpqk4"})("align-items:center;border-radius:",O.radiusRound,";height:100%;outline:0;position:absolute;user-select:none;width:100%;box-shadow:",O.elevationXSmall,";",WT,";",vac,";"),yT=S("input",{target:"e1epgpqk3"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",MG/2,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",MG,"px );"),Nac=({show:c})=>k("display:",c?"inline-block":"none",";opacity:",c?1:0,";@media not ( prefers-reduced-motion ){transition:opacity 120ms ease,display 120ms ease allow-discrete;}@starting-style{opacity:0;}",""),fac={name:"1cypxip",styles:"top:-80%"},Sac={name:"1lr98c4",styles:"bottom:-80%"},kac=({placement:c})=>c==="bottom"?Sac:fac,VT=S("span",{target:"e1epgpqk2"})("background:rgba( 0, 0, 0, 0.8 );border-radius:",O.radiusSmall,";color:white;font-size:12px;min-width:32px;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;user-select:none;line-height:1.4;",Nac,";",kac,";",kc({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),JT=S(Ct,{target:"e1epgpqk1"})("display:inline-block;font-size:13px;margin-top:0;input[type='number']&{",pJ,";}",kc({marginLeft:`${D(4)} !important`}),";"),hT=S("span",{target:"e1epgpqk0"})("display:block;margin-top:0;button,button.is-small{margin-left:0;",pJ,";}",kc({marginLeft:8}),";");var YT=u(J(),1);function zac(c,l){let{describedBy:t,label:e,value:b,...d}=c;return(0,YT.jsx)(yT,{...d,"aria-describedby":t,"aria-label":e,"aria-hidden":!1,ref:l,tabIndex:0,type:"range",value:b})}var Aac=(0,CT.forwardRef)(zac),FT=Aac;var NT=u(Gc(),1);var PG=u(J(),1);function vT(c){let{className:l,isFilled:t=!1,label:e,style:b={},...d}=c,o=Q("components-range-control__mark",t&&"is-filled",l),n=Q("components-range-control__mark-label",t&&"is-filled");return(0,PG.jsxs)(PG.Fragment,{children:[(0,PG.jsx)(RT,{...d,"aria-hidden":"true",className:o,style:b}),e&&(0,PG.jsx)(IT,{"aria-hidden":"true",className:n,isFilled:t,style:b,children:e})]})}var xX=u(J(),1),fT=u(M(),1);function ST(c){let{disabled:l=!1,marks:t=!1,min:e=0,max:b=100,step:d=1,value:o=0,...n}=c;return(0,xX.jsxs)(xX.Fragment,{children:[(0,xX.jsx)(gT,{disabled:l,...n}),t&&(0,xX.jsx)(Oac,{disabled:l,marks:t,min:e,max:b,step:d,value:o})]})}function Oac(c){let{disabled:l=!1,marks:t=!1,min:e=0,max:b=100,step:d=1,value:o=0}=c,X=Qac({marks:t,min:e,max:b,step:d==="any"?1:d,value:o});return(0,xX.jsx)(HT,{"aria-hidden":"true",className:"components-range-control__marks",children:X.map(G=>(0,fT.createElement)(vT,{...G,key:G.key,"aria-hidden":"true",disabled:l}))})}function Qac({marks:c,min:l=0,max:t=100,step:e=1,value:b=0}){if(!c)return[];let d=t-l;if(!Array.isArray(c)){c=[];let n=1+Math.round(d/e);for(;n>c.push({value:e*c.length+l}););}let o=[];return c.forEach((n,X)=>{if(n.value<l||n.value>t)return;let G=`mark-${X}`,i=n.value<=b,a=`${(n.value-l)/d*100}%`,m={[(0,NT.isRTL)()?"right":"left"]:a};o.push({...n,isFilled:i,key:G,style:m})}),o}var KG=u(F(),1);var kT=u(J(),1);function zT(c){let{className:l,inputRef:t,tooltipPlacement:e,show:b=!1,style:d={},value:o=0,renderTooltipContent:n=s=>s,zIndex:X=100,...G}=c,i=wac({inputRef:t,tooltipPlacement:e}),a=Q("components-simple-tooltip",l),m={...d,zIndex:X};return(0,kT.jsx)(VT,{...G,"aria-hidden":"false",className:a,placement:i,show:b,role:"tooltip",style:m,children:n(o)})}function wac({inputRef:c,tooltipPlacement:l}){let[t,e]=(0,KG.useState)(),b=(0,KG.useCallback)(()=>{c&&c.current&&e(l)},[l,c]);return(0,KG.useEffect)(()=>{b()},[b]),(0,KG.useEffect)(()=>(window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)})),t}var xt=u(J(),1),Rx=()=>{};function Tac({resetFallbackValue:c,initialPosition:l}){return c!==void 0?Number.isNaN(c)?null:c:l!==void 0?Number.isNaN(l)?null:l:null}function AT(c,l){let{__nextHasNoMarginBottom:t,afterIcon:e,allowReset:b=!1,beforeIcon:d,className:o,color:n=T.theme.accent,currentInput:X,disabled:G=!1,help:i,hideLabelFromVision:a=!1,initialPosition:m,isShiftStepEnabled:s=!0,label:x,marks:r=!1,max:g=100,min:H=0,onBlur:Z=Rx,onChange:R=Rx,onFocus:W=Rx,onMouseLeave:I=Rx,onMouseMove:p=Rx,railColor:B,renderTooltipContent:y=ot=>ot,resetFallbackValue:C,__next40pxDefaultSize:V=!1,shiftStep:h=10,showTooltip:Y,step:N=1,trackColor:A,value:w,withInputField:z=!0,__shouldNotWarnDeprecated36pxSize:f,...L}=c,[v,K]=uT({min:H,max:g,value:w??null,initial:m}),P=(0,rX.useRef)(!1),oc=Y,E=z;N==="any"&&(oc=!1,E=!1);let[dc,j]=(0,rX.useState)(oc),[nc,Ic]=(0,rX.useState)(!1),Jc=(0,rX.useRef)(null),vc=Jc.current?.matches(":focus"),Ql=!G&&nc,Hl=v===null,zc=Hl?"":v!==void 0?v:X,Fl=Hl?(g-H)/2+H:v,Kt=Hl?50:(v-H)/(g-H)*100,_t=`${Bu(Kt,0,100)}%`,bt=Q("components-range-control",o),Zc=Q("components-range-control__wrapper",!!r&&"is-marked"),Cc=(0,MI.useInstanceId)(AT,"inspector-range-control"),ol=i?`${Cc}__help`:void 0,Mc=oc!==!1&&Number.isFinite(v),dt=ot=>{let ft=parseFloat(ot.target.value);K(ft),R(ft)},Nt=ot=>{let ft=parseFloat(ot);K(ft),isNaN(ft)?b&&(P.current=!0):((ft<H||ft>g)&&(ft=Hx(ft,H,g)),R(ft),P.current=!1)},Re=()=>{P.current&&(De(),P.current=!1)},De=()=>{let ot=Number.isNaN(C)?null:C??null;K(ot),R(ot??void 0)},Ab=()=>j(!0),Yn=()=>j(!1),QX=ot=>{Z(ot),Ic(!1),Yn()},wX=ot=>{W(ot),Ic(!0),Ab()},Fn={[(0,EI.isRTL)()?"right":"left"]:_t};return dl({componentName:"RangeControl",__next40pxDefaultSize:V,size:void 0,__shouldNotWarnDeprecated36pxSize:f}),(0,xt.jsx)(jc,{className:bt,label:x,hideLabelFromVision:a,id:`${Cc}`,help:i,children:(0,xt.jsxs)(mT,{className:"components-range-control__root",__next40pxDefaultSize:V,children:[d&&(0,xt.jsx)(xT,{children:(0,xt.jsx)(qc,{icon:d})}),(0,xt.jsxs)(sT,{className:Zc,color:n,marks:!!r,children:[(0,xt.jsx)(FT,{...L,className:"components-range-control__slider",describedBy:ol,disabled:G,id:`${Cc}`,label:x,max:g,min:H,onBlur:QX,onChange:dt,onFocus:wX,onMouseMove:p,onMouseLeave:I,ref:(0,MI.useMergeRefs)([Jc,l]),step:N,value:zc??void 0}),(0,xt.jsx)(ST,{"aria-hidden":!0,disabled:G,marks:r,max:g,min:H,railColor:B,step:N,value:Fl}),(0,xt.jsx)(ZT,{"aria-hidden":!0,className:"components-range-control__track",disabled:G,style:{width:_t},trackColor:A}),(0,xt.jsx)(pT,{className:"components-range-control__thumb-wrapper",style:Fn,disabled:G,children:(0,xt.jsx)(BT,{"aria-hidden":!0,isFocused:Ql,disabled:G})}),Mc&&(0,xt.jsx)(zT,{className:"components-range-control__tooltip",inputRef:Jc,tooltipPlacement:"bottom",renderTooltipContent:y,show:vc||dc,style:Fn,value:v})]}),e&&(0,xt.jsx)(rT,{children:(0,xt.jsx)(qc,{icon:e})}),E&&(0,xt.jsx)(JT,{"aria-label":x,className:"components-range-control__number",disabled:G,inputMode:"decimal",isShiftStepEnabled:s,max:g,min:H,onBlur:Re,onChange:Nt,shiftStep:h,size:V?"__unstable-large":"default",__unstableInputWidth:V?D(20):D(16),step:N,value:zc,__shouldNotWarnDeprecated36pxSize:!0}),b&&(0,xt.jsx)(hT,{children:(0,xt.jsx)(bc,{className:"components-range-control__reset",accessibleWhenDisabled:!G,disabled:G||v===Tac({resetFallbackValue:C,initialPosition:m}),variant:"secondary",size:"small",onClick:De,children:(0,EI.__)("Reset")})})]})})}var OT=(0,rX.forwardRef)(AT);OT.displayName="RangeControl";var yb=OT;var QT=S(Ct,{target:"ez9hsf46"})("width:",D(24),";"),wT=S(Bb,{target:"ez9hsf45"})("margin-left:",D(-2),";"),TT=S(yb,{target:"ez9hsf44"})("flex:1;margin-right:",D(2),";"),Dac=` | |
| 10 | + `),()=>{document.head.removeChild(s)}},[t]),(0,XO.jsx)(u2,{isPresent:t,childRef:n,sizeRef:l,children:pI.cloneElement(e,{ref:n})})}var xO=({children:e,initial:t,isPresent:c,onExitComplete:n,custom:l,presenceAffectsLayout:o,mode:d})=>{let i=im(CXe),r=(0,Qs.useId)(),a=(0,Qs.useCallback)(b=>{i.set(b,!0);for(let m of i.values())if(!m)return;n&&n()},[i,n]),s=(0,Qs.useMemo)(()=>({id:r,initial:t,isPresent:c,custom:l,onExitComplete:a,register:b=>(i.set(b,!1),()=>i.delete(b))}),o?[Math.random(),a]:[c,a]);return(0,Qs.useMemo)(()=>{i.forEach((b,m)=>i.set(m,!1))},[c]),gO.useEffect(()=>{!c&&!i.size&&n&&n()},[c]),d==="popLayout"&&(e=(0,m2.jsx)(GO,{isPresent:c,children:e})),(0,m2.jsx)(Ji.Provider,{value:s,children:e})};function CXe(){return new Map}var Ni=u(E(),1);function KG(e=!0){let t=(0,Ni.useContext)(Ji);if(t===null)return[!0,null];let{isPresent:c,onExitComplete:n,register:l}=t,o=(0,Ni.useId)();(0,Ni.useEffect)(()=>{e&&l(o)},[e]);let d=(0,Ni.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!c&&n?[!1,d]:[!0]}function X2(){return FXe((0,Ni.useContext)(Ji))}function FXe(e){return e===null?!0:e.isPresent}var RI=u(E(),1),qG=e=>e.key||"";function G2(e){let t=[];return RI.Children.forEach(e,c=>{(0,RI.isValidElement)(c)&&t.push(c)}),t}var HI=u(E(),1);var am=typeof window<"u";var II=am?HI.useLayoutEffect:HI.useEffect;var sm=({children:e,custom:t,initial:c=!0,onExitComplete:n,presenceAffectsLayout:l=!0,mode:o="sync",propagate:d=!1})=>{let[i,r]=KG(d),a=(0,Yd.useMemo)(()=>G2(e),[e]),s=d&&!i?[]:a.map(qG),b=(0,Yd.useRef)(!0),m=(0,Yd.useRef)(a),X=im(()=>new Map),[G,g]=(0,Yd.useState)(a),[x,H]=(0,Yd.useState)(a);II(()=>{b.current=!1,m.current=a;for(let I=0;I<x.length;I++){let f=qG(x[I]);s.includes(f)?X.delete(f):X.get(f)!==!0&&X.set(f,!1)}},[x,s.length,s.join("-")]);let p=[];if(a!==G){let I=[...a];for(let f=0;f<x.length;f++){let y=x[f],Z=qG(y);s.includes(Z)||(I.splice(f,0,y),p.push(y))}o==="wait"&&p.length&&(I=p),H(G2(I)),g(a);return}let{forceRender:R}=(0,Yd.useContext)(dm);return(0,$G.jsx)($G.Fragment,{children:x.map(I=>{let f=qG(I),y=d&&!i?!1:a===x||s.includes(f),Z=()=>{if(X.has(f))X.set(f,!0);else return;let W=!0;X.forEach(v=>{v||(W=!1)}),W&&(R?.(),H(m.current),d&&r?.(),n&&n())};return(0,$G.jsx)(xO,{isPresent:y,initial:!b.current||c?void 0:!1,custom:y?void 0:t,presenceAffectsLayout:l,mode:o,onExitComplete:y?void 0:Z,children:I},f)})})};var Qt=e=>e;var Si=Qt,Eo=Qt;function Us(e){let t;return()=>(t===void 0&&(t=e()),t)}var Nl=(e,t,c)=>{let n=t-e;return n===0?1:(c-e)/n};var Ic=e=>e*1e3,rn=e=>e/1e3;var bm={skipAnimations:!1,useManualTiming:!1};function pO(e){let t=new Set,c=new Set,n=!1,l=!1,o=new WeakSet,d={delta:0,timestamp:0,isProcessing:!1};function i(a){o.has(a)&&(r.schedule(a),e()),a(d)}let r={schedule:(a,s=!1,b=!1)=>{let X=b&&n?t:c;return s&&o.add(a),X.has(a)||X.add(a),a},cancel:a=>{c.delete(a),o.delete(a)},process:a=>{if(d=a,n){l=!0;return}n=!0,[t,c]=[c,t],t.forEach(i),t.clear(),n=!1,l&&(l=!1,r.process(a))}};return r}var ZI=["read","resolveKeyframes","update","preRender","render","postRender"],JXe=40;function fI(e,t){let c=!1,n=!0,l={delta:0,timestamp:0,isProcessing:!1},o=()=>c=!0,d=ZI.reduce((H,p)=>(H[p]=pO(o),H),{}),{read:i,resolveKeyframes:r,update:a,preRender:s,render:b,postRender:m}=d,X=()=>{let H=bm.useManualTiming?l.timestamp:performance.now();c=!1,l.delta=n?1e3/60:Math.max(Math.min(H-l.timestamp,JXe),1),l.timestamp=H,l.isProcessing=!0,i.process(l),r.process(l),a.process(l),s.process(l),b.process(l),m.process(l),l.isProcessing=!1,c&&t&&(n=!1,e(X))},G=()=>{c=!0,n=!0,l.isProcessing||e(X)};return{schedule:ZI.reduce((H,p)=>{let R=d[p];return H[p]=(I,f=!1,y=!1)=>(c||G(),R.schedule(I,f,y)),H},{}),cancel:H=>{for(let p=0;p<ZI.length;p++)d[ZI[p]].cancel(H)},state:l,steps:d}}var{schedule:dt,cancel:Sl,state:Zc,steps:yI}=fI(typeof requestAnimationFrame<"u"?requestAnimationFrame:Qt,!0);var RO=u(E(),1),WI=(0,RO.createContext)({strict:!1});var HO={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"]},wi={};for(let e in HO)wi[e]={isEnabled:t=>HO[e].some(c=>!!t[c])};function IO(e){for(let t in e)wi[t]={...wi[t],...e[t]}}var YXe=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 eg(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||YXe.has(e)}var fO=e=>!eg(e);function SXe(e){e&&(fO=t=>t.startsWith("on")?!eg(t):e(t))}try{SXe((x2(),Aw(ZO)).default)}catch{}function yO(e,t,c){let n={};for(let l in e)l==="values"&&typeof e.values=="object"||(fO(l)||c===!0&&eg(l)||!t&&!eg(l)||e.draggable&&l.startsWith("onDrag"))&&(n[l]=e[l]);return n}function WO(e){if(typeof Proxy>"u")return e;let t=new Map,c=(...n)=>e(...n);return new Proxy(c,{get:(n,l)=>l==="create"?e:(t.has(l)||t.set(l,e(l)),t.get(l))})}var YI=u(F(),1);var Xm=u(E(),1);var hO=u(E(),1),Dr=(0,hO.createContext)({});var CI=u(E(),1);function ki(e){return typeof e=="string"||Array.isArray(e)}function _r(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var vI=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tg=["initial",...vI];function Es(e){return _r(e.animate)||tg.some(t=>ki(e[t]))}function VI(e){return!!(Es(e)||e.variants)}function BO(e,t){if(Es(e)){let{initial:c,animate:n}=e;return{initial:c===!1||ki(c)?c:void 0,animate:ki(n)?n:void 0}}return e.inherit!==!1?t:{}}function VO(e){let{initial:t,animate:c}=BO(e,(0,CI.useContext)(Dr));return(0,CI.useMemo)(()=>({initial:t,animate:c}),[vO(t),vO(c)])}function vO(e){return Array.isArray(e)?e.join(" "):e}var CO=Symbol.for("motionComponentSymbol");var FO=u(E(),1);function zi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function JO(e,t,c){return(0,FO.useCallback)(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),c&&(typeof c=="function"?c(n):zi(c)&&(c.current=n))},[t])}var Xl=u(E(),1);var um=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var wXe="framerAppearId",FI="data-"+um(wXe);var{schedule:mm,cancel:UDe}=fI(queueMicrotask,!1);var YO=u(E(),1),JI=(0,YO.createContext)({});function NO(e,t,c,n,l){var o,d;let{visualElement:i}=(0,Xl.useContext)(Dr),r=(0,Xl.useContext)(WI),a=(0,Xl.useContext)(Ji),s=(0,Xl.useContext)(rm).reducedMotion,b=(0,Xl.useRef)(null);n=n||r.renderer,!b.current&&n&&(b.current=n(e,{visualState:t,parent:i,props:c,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let m=b.current,X=(0,Xl.useContext)(JI);m&&!m.projection&&l&&(m.type==="html"||m.type==="svg")&&kXe(b.current,c,l,X);let G=(0,Xl.useRef)(!1);(0,Xl.useInsertionEffect)(()=>{m&&G.current&&m.update(c,a)});let g=c[FI],x=(0,Xl.useRef)(!!g&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,g))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,g)));return II(()=>{m&&(G.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),mm.render(m.render),x.current&&m.animationState&&m.animationState.animateChanges())}),(0,Xl.useEffect)(()=>{m&&(!x.current&&m.animationState&&m.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)===null||H===void 0||H.call(window,g)}),x.current=!1))}),m}function kXe(e,t,c,n){let{layoutId:l,layout:o,drag:d,dragConstraints:i,layoutScroll:r,layoutRoot:a}=t;e.projection=new c(e.latestValues,t["data-framer-portal-id"]?void 0:SO(e.parent)),e.projection.setOptions({layoutId:l,layout:o,alwaysMeasureLayout:!!d||i&&zi(i),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:n,layoutScroll:r,layoutRoot:a})}function SO(e){if(e)return e.options.allowProjection!==!1?e.projection:SO(e.parent)}function wO({preloadedFeatures:e,createVisualElement:t,useRender:c,useVisualState:n,Component:l}){var o,d;e&&IO(e);function i(a,s){let b,m={...(0,Xm.useContext)(rm),...a,layoutId:zXe(a)},{isStatic:X}=m,G=VO(a),g=n(a,X);if(!X&&am){TXe(m,e);let x=AXe(m);b=x.MeasureLayout,G.visualElement=NO(l,g,m,t,x.ProjectionNode)}return(0,YI.jsxs)(Dr.Provider,{value:G,children:[b&&G.visualElement?(0,YI.jsx)(b,{visualElement:G.visualElement,...m}):null,c(l,a,JO(g,G.visualElement,s),g,X,G.visualElement)]})}i.displayName=`motion.${typeof l=="string"?l:`create(${(d=(o=l.displayName)!==null&&o!==void 0?o:l.name)!==null&&d!==void 0?d:""})`}`;let r=(0,Xm.forwardRef)(i);return r[CO]=l,r}function zXe({layoutId:e}){let t=(0,Xm.useContext)(dm).id;return t&&e!==void 0?t+"-"+e:e}function TXe(e,t){let c=(0,Xm.useContext)(WI).strict}function AXe(e){let{drag:t,layout:c}=wi;if(!t&&!c)return{};let n={...t,...c};return{MeasureLayout:t?.isEnabled(e)||c?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}var kO=["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"];function Gm(e){return typeof e!="string"||e.includes("-")?!1:!!(kO.indexOf(e)>-1||/[A-Z]/u.test(e))}var p2=u(E(),1);function zO(e){let t=[{},{}];return e?.values.forEach((c,n)=>{t[0][n]=c.get(),t[1][n]=c.getVelocity()}),t}function gm(e,t,c,n){if(typeof t=="function"){let[l,o]=zO(n);t=t(c!==void 0?c:e.custom,l,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[l,o]=zO(n);t=t(c!==void 0?c:e.custom,l,o)}return t}var cg=e=>Array.isArray(e);var TO=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),AO=e=>cg(e)?e[e.length-1]||0:e;var jt=e=>!!(e&&e.getVelocity);function xm(e){let t=jt(e)?e.get():e;return TO(t)?t.toValue():t}function OXe({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:c},n,l,o){let d={latestValues:QXe(n,l,o,e),renderState:t()};return c&&(d.onMount=i=>c({props:n,current:i,...d}),d.onUpdate=i=>c(i)),d}var NI=e=>(t,c)=>{let n=(0,p2.useContext)(Dr),l=(0,p2.useContext)(Ji),o=()=>OXe(e,t,n,l);return c?o():im(o)};function QXe(e,t,c,n){let l={},o=n(e,{});for(let m in o)l[m]=xm(o[m]);let{initial:d,animate:i}=e,r=Es(e),a=VI(e);t&&a&&!r&&e.inherit!==!1&&(d===void 0&&(d=t.initial),i===void 0&&(i=t.animate));let s=c?c.initial===!1:!1;s=s||d===!1;let b=s?i:d;if(b&&typeof b!="boolean"&&!_r(b)){let m=Array.isArray(b)?b:[b];for(let X=0;X<m.length;X++){let G=gm(e,m[X]);if(G){let{transitionEnd:g,transition:x,...H}=G;for(let p in H){let R=H[p];if(Array.isArray(R)){let I=s?R.length-1:0;R=R[I]}R!==null&&(l[p]=R)}for(let p in g)l[p]=g[p]}}}return l}var Nd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gl=new Set(Nd);var OO=e=>t=>typeof t=="string"&&t.startsWith(e),SI=OO("--"),UXe=OO("var(--"),pm=e=>UXe(e)?EXe.test(e.split("/*")[0].trim()):!1,EXe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var wI=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var an=(e,t,c)=>c>t?t:c<e?e:c;var Sd={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ti={...Sd,transform:e=>an(0,1,e)},ng={...Sd,default:1};var lg=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wd=lg("deg"),Ln=lg("%"),Oe=lg("px"),QO=lg("vh"),UO=lg("vw"),R2={...Ln,parse:e=>Ln.parse(e)/100,transform:e=>Ln.transform(e*100)};var EO={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe};var LO={rotate:wd,rotateX:wd,rotateY:wd,rotateZ:wd,scale:ng,scaleX:ng,scaleY:ng,scaleZ:ng,skew:wd,skewX:wd,skewY:wd,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:Ti,originX:R2,originY:R2,originZ:Oe};var H2={...Sd,transform:Math.round};var Rm={...EO,...LO,zIndex:H2,size:Oe,fillOpacity:Ti,strokeOpacity:Ti,numOctaves:H2};var LXe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},DXe=Nd.length;function DO(e,t,c){let n="",l=!0;for(let o=0;o<DXe;o++){let d=Nd[o],i=e[d];if(i===void 0)continue;let r=!0;if(typeof i=="number"?r=i===(d.startsWith("scale")?1:0):r=parseFloat(i)===0,!r||c){let a=wI(i,Rm[d]);if(!r){l=!1;let s=LXe[d]||d;n+=`${s}(${a}) `}c&&(t[d]=a)}}return n=n.trim(),c?n=c(t,l?"":n):l&&(n="none"),n}function Hm(e,t,c){let{style:n,vars:l,transformOrigin:o}=e,d=!1,i=!1;for(let r in t){let a=t[r];if(Gl.has(r)){d=!0;continue}else if(SI(r)){l[r]=a;continue}else{let s=wI(a,Rm[r]);r.startsWith("origin")?(i=!0,o[r]=s):n[r]=s}}if(t.transform||(d||c?n.transform=DO(t,e.transform,c):n.transform&&(n.transform="none")),i){let{originX:r="50%",originY:a="50%",originZ:s=0}=o;n.transformOrigin=`${r} ${a} ${s}`}}var _Xe={offset:"stroke-dashoffset",array:"stroke-dasharray"},jXe={offset:"strokeDashoffset",array:"strokeDasharray"};function _O(e,t,c=1,n=0,l=!0){e.pathLength=1;let o=l?_Xe:jXe;e[o.offset]=Oe.transform(-n);let d=Oe.transform(t),i=Oe.transform(c);e[o.array]=`${d} ${i}`}function jO(e,t,c){return typeof e=="string"?e:Oe.transform(t+c*e)}function MO(e,t,c){let n=jO(t,e.x,e.width),l=jO(c,e.y,e.height);return`${n} ${l}`}function Im(e,{attrX:t,attrY:c,attrScale:n,originX:l,originY:o,pathLength:d,pathSpacing:i=1,pathOffset:r=0,...a},s,b){if(Hm(e,a,b),s){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:X,dimensions:G}=e;m.transform&&(G&&(X.transform=m.transform),delete m.transform),G&&(l!==void 0||o!==void 0||X.transform)&&(X.transformOrigin=MO(G,l!==void 0?l:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),c!==void 0&&(m.y=c),n!==void 0&&(m.scale=n),d!==void 0&&_O(m,d,i,r,!1)}var Zm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var kI=()=>({...Zm(),attrs:{}});var fm=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zI(e,{style:t,vars:c},n,l){Object.assign(e.style,t,l&&l.getProjectionStyles(n));for(let o in c)e.style.setProperty(o,c[o])}var TI=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"]);function AI(e,t,c,n){zI(e,t,void 0,n);for(let l in t.attrs)e.setAttribute(TI.has(l)?l:um(l),t.attrs[l])}var ym={};function PO(e){Object.assign(ym,e)}function OI(e,{layout:t,layoutId:c}){return Gl.has(e)||e.startsWith("origin")||(t||c!==void 0)&&(!!ym[e]||e==="opacity")}function Wm(e,t,c){var n;let{style:l}=e,o={};for(let d in l)(jt(l[d])||t.style&&jt(t.style[d])||OI(d,e)||((n=c?.getValue(d))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(o[d]=l[d]);return o}function QI(e,t,c){let n=Wm(e,t,c);for(let l in e)if(jt(e[l])||jt(t[l])){let o=Nd.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;n[o]=e[l]}return n}function MXe(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}var KO=["x","y","width","height","cx","cy","r"],qO={useVisualState:NI({scrapeMotionValuesFromProps:QI,createRenderState:kI,onUpdate:({props:e,prevProps:t,current:c,renderState:n,latestValues:l})=>{if(!c)return;let o=!!e.drag;if(!o){for(let i in l)if(Gl.has(i)){o=!0;break}}if(!o)return;let d=!t;if(t)for(let i=0;i<KO.length;i++){let r=KO[i];e[r]!==t[r]&&(d=!0)}d&&dt.read(()=>{MXe(c,n),dt.render(()=>{Im(n,l,fm(c.tagName),e.transformTemplate),AI(c,n)})})}})};var $O={useVisualState:NI({scrapeMotionValuesFromProps:Wm,createRenderState:Zm})};var hm=u(E(),1);var eQ=u(E(),1);function I2(e,t,c){for(let n in t)!jt(t[n])&&!OI(n,c)&&(e[n]=t[n])}function PXe({transformTemplate:e},t){return(0,eQ.useMemo)(()=>{let c=Zm();return Hm(c,t,e),Object.assign({},c.vars,c.style)},[t])}function KXe(e,t){let c=e.style||{},n={};return I2(n,c,e),Object.assign(n,PXe(e,t)),n}function tQ(e,t){let c={},n=KXe(e,t);return e.drag&&e.dragListener!==!1&&(c.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(c.tabIndex=0),c.style=n,c}var cQ=u(E(),1);function nQ(e,t,c,n){let l=(0,cQ.useMemo)(()=>{let o=kI();return Im(o,t,fm(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){let o={};I2(o,e.style,e),l.style={...o,...l.style}}return l}function lQ(e=!1){return(c,n,l,{latestValues:o},d)=>{let r=(Gm(c)?nQ:tQ)(n,o,d,c),a=yO(n,typeof c=="string",e),s=c!==hm.Fragment?{...a,...r,ref:l}:{},{children:b}=n,m=(0,hm.useMemo)(()=>jt(b)?b.get():b,[b]);return(0,hm.createElement)(c,{...s,children:m})}}function oQ(e,t){return function(n,{forwardMotionProps:l}={forwardMotionProps:!1}){let d={...Gm(n)?qO:$O,preloadedFeatures:e,useRender:lQ(l),createVisualElement:t,Component:n};return wO(d)}}function Z2(e,t){if(!Array.isArray(t))return!1;let c=t.length;if(c!==e.length)return!1;for(let n=0;n<c;n++)if(t[n]!==e[n])return!1;return!0}function jr(e,t,c){let n=e.getProps();return gm(n,t,c!==void 0?c:n.custom,e)}var f2=Us(()=>window.ScrollTimeline!==void 0);var og=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,c){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=c}attachTimeline(t,c){let n=this.animations.map(l=>{if(f2()&&l.attachTimeline)return l.attachTimeline(t);if(typeof c=="function")return c(l)});return()=>{n.forEach((l,o)=>{l&&l(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let c=0;c<this.animations.length;c++)t=Math.max(t,this.animations[c].duration);return t}runAll(t){this.animations.forEach(c=>c[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var dg=class extends og{then(t,c){return Promise.all(this.animations).then(t).catch(c)}};function Mr(e,t){return e?e[t]||e.default||e:void 0}function Bm(e){let t=0,c=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=c,n=e.next(t);return t>=2e4?1/0:t}function Pr(e){return typeof e=="function"}function ig(e,t){e.timeline=t,e.onfinish=null}var vm=e=>Array.isArray(e)&&typeof e[0]=="number";var W2={linearEasing:void 0};function dQ(e,t){let c=Us(e);return()=>{var n;return(n=W2[t])!==null&&n!==void 0?n:c()}}var Kr=dQ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var rg=(e,t,c=10)=>{let n="",l=Math.max(Math.round(t/c),2);for(let o=0;o<l;o++)n+=e(Nl(0,l-1,o))+", ";return`linear(${n.substring(0,n.length-2)})`};function EI(e){return!!(typeof e=="function"&&Kr()||!e||typeof e=="string"&&(e in UI||Kr())||vm(e)||Array.isArray(e)&&e.every(EI))}var Vm=([e,t,c,n])=>`cubic-bezier(${e}, ${t}, ${c}, ${n})`,UI={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vm([0,.65,.55,1]),circOut:Vm([.55,0,1,.45]),backIn:Vm([.31,.01,.66,-.59]),backOut:Vm([.33,1.53,.69,.99])};function Cm(e,t){if(e)return typeof e=="function"&&Kr()?rg(e,t):vm(e)?Vm(e):Array.isArray(e)?e.map(c=>Cm(c,t)||UI.easeOut):UI[e]}var wl={x:!1,y:!1};function Fm(){return wl.x||wl.y}function h2(e,t,c){var n;if(e instanceof Element)return[e];if(typeof e=="string"){let l=document;t&&(l=t.current);let o=(n=c?.[e])!==null&&n!==void 0?n:l.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function LI(e,t){let c=h2(e),n=new AbortController,l={passive:!0,...t,signal:n.signal};return[c,l,()=>n.abort()]}function iQ(e){return t=>{t.pointerType==="touch"||Fm()||e(t)}}function B2(e,t,c={}){let[n,l,o]=LI(e,c),d=iQ(i=>{let{target:r}=i,a=t(i);if(typeof a!="function"||!r)return;let s=iQ(b=>{a(b),r.removeEventListener("pointerleave",s)});r.addEventListener("pointerleave",s,l)});return n.forEach(i=>{i.addEventListener("pointerenter",d,l)}),o}var DI=(e,t)=>t?e===t?!0:DI(e,t.parentElement):!1;var Ls=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var qXe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rQ(e){return qXe.has(e.tagName)||e.tabIndex!==-1}var Ds=new WeakSet;function aQ(e){return t=>{t.key==="Enter"&&e(t)}}function v2(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var sQ=(e,t)=>{let c=e.currentTarget;if(!c)return;let n=aQ(()=>{if(Ds.has(c))return;v2(c,"down");let l=aQ(()=>{v2(c,"up")}),o=()=>v2(c,"cancel");c.addEventListener("keyup",l,t),c.addEventListener("blur",o,t)});c.addEventListener("keydown",n,t),c.addEventListener("blur",()=>c.removeEventListener("keydown",n),t)};function bQ(e){return Ls(e)&&!Fm()}function V2(e,t,c={}){let[n,l,o]=LI(e,c),d=i=>{let r=i.currentTarget;if(!bQ(i)||Ds.has(r))return;Ds.add(r);let a=t(i),s=(X,G)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",m),!(!bQ(X)||!Ds.has(r))&&(Ds.delete(r),typeof a=="function"&&a(X,{success:G}))},b=X=>{s(X,c.useGlobalTarget||DI(r,X.target))},m=X=>{s(X,!1)};window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",m,l)};return n.forEach(i=>{!rQ(i)&&i.getAttribute("tabindex")===null&&(i.tabIndex=0),(c.useGlobalTarget?window:i).addEventListener("pointerdown",d,l),i.addEventListener("focus",a=>sQ(a,l),l)}),o}function C2(e){return e==="x"||e==="y"?wl[e]?null:(wl[e]=!0,()=>{wl[e]=!1}):wl.x||wl.y?null:(wl.x=wl.y=!0,()=>{wl.x=wl.y=!1})}var _I=new Set(["width","height","top","left","right","bottom",...Nd]);var jI;function eGe(){jI=void 0}var vn={now:()=>(jI===void 0&&vn.set(Zc.isProcessing||bm.useManualTiming?Zc.timestamp:performance.now()),jI),set:e=>{jI=e,queueMicrotask(eGe)}};function Jm(e,t){e.indexOf(t)===-1&&e.push(t)}function Ym(e,t){let c=e.indexOf(t);c>-1&&e.splice(c,1)}var qr=class{constructor(){this.subscriptions=[]}add(t){return Jm(this.subscriptions,t),()=>Ym(this.subscriptions,t)}notify(t,c,n){let l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](t,c,n);else for(let o=0;o<l;o++){let d=this.subscriptions[o];d&&d(t,c,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function MI(e,t){return t?e*(1e3/t):0}var mQ=30,tGe=e=>!isNaN(parseFloat(e)),XQ={current:void 0},F2=class{constructor(t,c={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,l=!0)=>{let o=vn.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),l&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=c.owner}setCurrent(t){this.current=t,this.updatedAt=vn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=tGe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,c){this.events[t]||(this.events[t]=new qr);let n=this.events[t].add(c);return t==="change"?()=>{n(),dt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,c){this.passiveEffect=t,this.stopPassiveEffect=c}set(t,c=!0){!c||!this.passiveEffect?this.updateAndNotify(t,c):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,c,n){this.set(c),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,c=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,c&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return XQ.current&&XQ.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=vn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>mQ)return 0;let c=Math.min(this.updatedAt-this.prevUpdatedAt,mQ);return MI(parseFloat(this.current)-parseFloat(this.prevFrameValue),c)}start(t){return this.stop(),new Promise(c=>{this.hasAnimated=!0,this.animation=t(c),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 Ai(e,t){return new F2(e,t)}function cGe(e,t,c){e.hasValue(t)?e.getValue(t).set(c):e.addValue(t,Ai(c))}function GQ(e,t){let c=jr(e,t),{transitionEnd:n={},transition:l={},...o}=c||{};o={...o,...n};for(let d in o){let i=AO(o[d]);cGe(e,d,i)}}function gQ(e){return!!(jt(e)&&e.add)}function ag(e,t){let c=e.getValue("willChange");if(gQ(c))return c.add(t)}function PI(e){return e.props[FI]}var KI={current:!1};var xQ=(e,t,c)=>(((1-3*c+3*t)*e+(3*c-6*t))*e+3*t)*e,nGe=1e-7,lGe=12;function oGe(e,t,c,n,l){let o,d,i=0;do d=t+(c-t)/2,o=xQ(d,n,l)-e,o>0?c=d:t=d;while(Math.abs(o)>nGe&&++i<lGe);return d}function Lo(e,t,c,n){if(e===t&&c===n)return Qt;let l=o=>oGe(o,0,1,e,c);return o=>o===0||o===1?o:xQ(l(o),t,n)}var qI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var $I=e=>t=>1-e(1-t);var J2=Lo(.33,1.53,.69,.99),sg=$I(J2),eZ=qI(sg);var tZ=e=>(e*=2)<1?.5*sg(e):.5*(2-Math.pow(2,-10*(e-1)));var cZ=e=>1-Math.sin(Math.acos(e)),nZ=$I(cZ),lZ=qI(cZ);var oZ=e=>/^0[^.\s]+$/u.test(e);function pQ(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||oZ(e):!0}var $r=e=>Math.round(e*1e5)/1e5;var Nm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function RQ(e){return e==null}var HQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Sm=(e,t)=>c=>!!(typeof c=="string"&&HQ.test(c)&&c.startsWith(e)||t&&!RQ(c)&&Object.prototype.hasOwnProperty.call(c,t)),dZ=(e,t,c)=>n=>{if(typeof n!="string")return n;let[l,o,d,i]=n.match(Nm);return{[e]:parseFloat(l),[t]:parseFloat(o),[c]:parseFloat(d),alpha:i!==void 0?parseFloat(i):1}};var dGe=e=>an(0,255,e),Y2={...Sd,transform:e=>Math.round(dGe(e))},kd={test:Sm("rgb","red"),parse:dZ("red","green","blue"),transform:({red:e,green:t,blue:c,alpha:n=1})=>"rgba("+Y2.transform(e)+", "+Y2.transform(t)+", "+Y2.transform(c)+", "+$r(Ti.transform(n))+")"};function iGe(e){let t="",c="",n="",l="";return e.length>5?(t=e.substring(1,3),c=e.substring(3,5),n=e.substring(5,7),l=e.substring(7,9)):(t=e.substring(1,2),c=e.substring(2,3),n=e.substring(3,4),l=e.substring(4,5),t+=t,c+=c,n+=n,l+=l),{red:parseInt(t,16),green:parseInt(c,16),blue:parseInt(n,16),alpha:l?parseInt(l,16)/255:1}}var bg={test:Sm("#"),parse:iGe,transform:kd.transform};var ea={test:Sm("hsl","hue"),parse:dZ("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:c,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ln.transform($r(t))+", "+Ln.transform($r(c))+", "+$r(Ti.transform(n))+")"};var Vc={test:e=>kd.test(e)||bg.test(e)||ea.test(e),parse:e=>kd.test(e)?kd.parse(e):ea.test(e)?ea.parse(e):bg.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kd.transform(e):ea.transform(e)};var IQ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rGe(e){var t,c;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Nm))===null||t===void 0?void 0:t.length)||0)+(((c=e.match(IQ))===null||c===void 0?void 0:c.length)||0)>0}var fQ="number",yQ="color",aGe="var",sGe="var(",ZQ="${}",bGe=/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 _s(e){let t=e.toString(),c=[],n={color:[],number:[],var:[]},l=[],o=0,i=t.replace(bGe,r=>(Vc.test(r)?(n.color.push(o),l.push(yQ),c.push(Vc.parse(r))):r.startsWith(sGe)?(n.var.push(o),l.push(aGe),c.push(r)):(n.number.push(o),l.push(fQ),c.push(parseFloat(r))),++o,ZQ)).split(ZQ);return{values:c,split:i,indexes:n,types:l}}function WQ(e){return _s(e).values}function hQ(e){let{split:t,types:c}=_s(e),n=t.length;return l=>{let o="";for(let d=0;d<n;d++)if(o+=t[d],l[d]!==void 0){let i=c[d];i===fQ?o+=$r(l[d]):i===yQ?o+=Vc.transform(l[d]):o+=l[d]}return o}}var uGe=e=>typeof e=="number"?0:e;function mGe(e){let t=WQ(e);return hQ(e)(t.map(uGe))}var Dn={test:rGe,parse:WQ,createTransformer:hQ,getAnimatableNone:mGe};var XGe=new Set(["brightness","contrast","saturate","opacity"]);function GGe(e){let[t,c]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=c.match(Nm)||[];if(!n)return e;let l=c.replace(n,""),o=XGe.has(t)?1:0;return n!==c&&(o*=100),t+"("+o+l+")"}var gGe=/\b([a-z-]*)\(.*?\)/gu,ug={...Dn,getAnimatableNone:e=>{let t=e.match(gGe);return t?t.map(GGe).join(" "):e}};var xGe={...Rm,color:Vc,backgroundColor:Vc,outlineColor:Vc,fill:Vc,stroke:Vc,borderColor:Vc,borderTopColor:Vc,borderRightColor:Vc,borderBottomColor:Vc,borderLeftColor:Vc,filter:ug,WebkitFilter:ug},wm=e=>xGe[e];function iZ(e,t){let c=wm(e);return c!==ug&&(c=Dn),c.getAnimatableNone?c.getAnimatableNone(t):void 0}var pGe=new Set(["auto","none","0"]);function BQ(e,t,c){let n=0,l;for(;n<e.length&&!l;){let o=e[n];typeof o=="string"&&!pGe.has(o)&&_s(o).values.length&&(l=e[n]),n++}if(l&&c)for(let o of t)e[o]=iZ(c,l)}var N2=e=>e===Sd||e===Oe,vQ=(e,t)=>parseFloat(e.split(", ")[t]),VQ=(e,t)=>(c,{transform:n})=>{if(n==="none"||!n)return 0;let l=n.match(/^matrix3d\((.+)\)$/u);if(l)return vQ(l[1],t);{let o=n.match(/^matrix\((.+)\)$/u);return o?vQ(o[1],e):0}},RGe=new Set(["x","y","z"]),HGe=Nd.filter(e=>!RGe.has(e));function CQ(e){let t=[];return HGe.forEach(c=>{let n=e.getValue(c);n!==void 0&&(t.push([c,n.get()]),n.set(c.startsWith("scale")?1:0))}),t}var js={width:({x:e},{paddingLeft:t="0",paddingRight:c="0"})=>e.max-e.min-parseFloat(t)-parseFloat(c),height:({y:e},{paddingTop:t="0",paddingBottom:c="0"})=>e.max-e.min-parseFloat(t)-parseFloat(c),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:VQ(4,13),y:VQ(5,14)};js.translateX=js.x;js.translateY=js.y;var Ms=new Set,S2=!1,w2=!1;function FQ(){if(w2){let e=Array.from(Ms).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),c=new Map;t.forEach(n=>{let l=CQ(n);l.length&&(c.set(n,l),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let l=c.get(n);l&&l.forEach(([o,d])=>{var i;(i=n.getValue(o))===null||i===void 0||i.set(d)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}w2=!1,S2=!1,Ms.forEach(e=>e.complete()),Ms.clear()}function JQ(){Ms.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(w2=!0)})}function YQ(){JQ(),FQ()}var ta=class{constructor(t,c,n,l,o,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=c,this.name=n,this.motionValue=l,this.element=o,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ms.add(this),S2||(S2=!0,dt.read(JQ),dt.resolveKeyframes(FQ))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:c,element:n,motionValue:l}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){let d=l?.get(),i=t[t.length-1];if(d!==void 0)t[0]=d;else if(n&&c){let r=n.readValue(c,i);r!=null&&(t[0]=r)}t[0]===void 0&&(t[0]=i),l&&d===void 0&&l.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ms.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ms.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var rZ=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var IGe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ZGe(e){let t=IGe.exec(e);if(!t)return[,];let[,c,n,l]=t;return[`--${c??n}`,l]}var fGe=4;function k2(e,t,c=1){Eo(c<=fGe,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,l]=ZGe(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);if(o){let d=o.trim();return rZ(d)?parseFloat(d):d}return pm(l)?k2(l,t,c+1):l}var aZ=e=>t=>t.test(e);var NQ={test:e=>e==="auto",parse:e=>e};var z2=[Sd,Oe,Ln,wd,UO,QO,NQ],T2=e=>z2.find(aZ(e));var km=class extends ta{constructor(t,c,n,l,o){super(t,c,n,l,o,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:c,name:n}=this;if(!c||!c.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let a=t[r];if(typeof a=="string"&&(a=a.trim(),pm(a))){let s=k2(a,c.current);s!==void 0&&(t[r]=s),r===t.length-1&&(this.finalKeyframe=a)}}if(this.resolveNoneKeyframes(),!_I.has(n)||t.length!==2)return;let[l,o]=t,d=T2(l),i=T2(o);if(d!==i)if(N2(d)&&N2(i))for(let r=0;r<t.length;r++){let a=t[r];typeof a=="string"&&(t[r]=parseFloat(a))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:c}=this,n=[];for(let l=0;l<t.length;l++)pQ(t[l])&&n.push(l);n.length&&BQ(t,n,c)}measureInitialState(){let{element:t,unresolvedKeyframes:c,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=js[n](t.measureViewportBox(),window.getComputedStyle(t.current)),c[0]=this.measuredOrigin;let l=c[c.length-1];l!==void 0&&t.getValue(n,l).jump(l,!1)}measureEndState(){var t;let{element:c,name:n,unresolvedKeyframes:l}=this;if(!c||!c.current)return;let o=c.getValue(n);o&&o.jump(this.measuredOrigin,!1);let d=l.length-1,i=l[d];l[d]=js[n](c.measureViewportBox(),window.getComputedStyle(c.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([r,a])=>{c.getValue(r).set(a)}),this.resolveNoneKeyframes()}};var A2=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dn.test(e)||e==="0")&&!e.startsWith("url("));function yGe(e){let t=e[0];if(e.length===1)return!0;for(let c=0;c<e.length;c++)if(e[c]!==t)return!0}function SQ(e,t,c,n){let l=e[0];if(l===null)return!1;if(t==="display"||t==="visibility")return!0;let o=e[e.length-1],d=A2(l,t),i=A2(o,t);return Si(d===i,`You are trying to animate ${t} from "${l}" to "${o}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${o} via the \`style\` property.`),!d||!i?!1:yGe(e)||(c==="spring"||Pr(c))&&n}var WGe=e=>e!==null;function ca(e,{repeat:t,repeatType:c="loop"},n){let l=e.filter(WGe),o=t&&c!=="loop"&&t%2===1?0:l.length-1;return!o||n===void 0?l[o]:n}var hGe=40,zm=class{constructor({autoplay:t=!0,delay:c=0,type:n="keyframes",repeat:l=0,repeatDelay:o=0,repeatType:d="loop",...i}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=vn.now(),this.options={autoplay:t,delay:c,type:n,repeat:l,repeatDelay:o,repeatType:d,...i},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>hGe?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&YQ(),this._resolved}onKeyframesResolved(t,c){this.resolvedAt=vn.now(),this.hasAttemptedResolve=!0;let{name:n,type:l,velocity:o,delay:d,onComplete:i,onUpdate:r,isGenerator:a}=this.options;if(!a&&!SQ(t,n,l,o))if(KI.current||!d){r&&r(ca(t,this.options,c)),i&&i(),this.resolveFinishedPromise();return}else this.options.duration=0;let s=this.initPlayback(t,c);s!==!1&&(this._resolved={keyframes:t,finalKeyframe:c,...s},this.onPostResolved())}onPostResolved(){}then(t,c){return this.currentFinishedPromise.then(t,c)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};var gt=(e,t,c)=>e+(t-e)*c;function O2(e,t,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?e+(t-e)*6*c:c<1/2?t:c<2/3?e+(t-e)*(2/3-c)*6:e}function wQ({hue:e,saturation:t,lightness:c,alpha:n}){e/=360,t/=100,c/=100;let l=0,o=0,d=0;if(!t)l=o=d=c;else{let i=c<.5?c*(1+t):c+t-c*t,r=2*c-i;l=O2(r,i,e+1/3),o=O2(r,i,e),d=O2(r,i,e-1/3)}return{red:Math.round(l*255),green:Math.round(o*255),blue:Math.round(d*255),alpha:n}}function Tm(e,t){return c=>c>0?t:e}var Q2=(e,t,c)=>{let n=e*e,l=c*(t*t-n)+n;return l<0?0:Math.sqrt(l)},BGe=[bg,kd,ea],vGe=e=>BGe.find(t=>t.test(e));function kQ(e){let t=vGe(e);if(Si(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let c=t.parse(e);return t===ea&&(c=wQ(c)),c}var U2=(e,t)=>{let c=kQ(e),n=kQ(t);if(!c||!n)return Tm(e,t);let l={...c};return o=>(l.red=Q2(c.red,n.red,o),l.green=Q2(c.green,n.green,o),l.blue=Q2(c.blue,n.blue,o),l.alpha=gt(c.alpha,n.alpha,o),kd.transform(l))};var VGe=(e,t)=>c=>t(e(c)),zd=(...e)=>e.reduce(VGe);var sZ=new Set(["none","hidden"]);function zQ(e,t){return sZ.has(e)?c=>c<=0?e:t:c=>c>=1?t:e}function CGe(e,t){return c=>gt(e,t,c)}function bZ(e){return typeof e=="number"?CGe:typeof e=="string"?pm(e)?Tm:Vc.test(e)?U2:YGe:Array.isArray(e)?TQ:typeof e=="object"?Vc.test(e)?U2:FGe:Tm}function TQ(e,t){let c=[...e],n=c.length,l=e.map((o,d)=>bZ(o)(o,t[d]));return o=>{for(let d=0;d<n;d++)c[d]=l[d](o);return c}}function FGe(e,t){let c={...e,...t},n={};for(let l in c)e[l]!==void 0&&t[l]!==void 0&&(n[l]=bZ(e[l])(e[l],t[l]));return l=>{for(let o in n)c[o]=n[o](l);return c}}function JGe(e,t){var c;let n=[],l={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let d=t.types[o],i=e.indexes[d][l[d]],r=(c=e.values[i])!==null&&c!==void 0?c:0;n[o]=r,l[d]++}return n}var YGe=(e,t)=>{let c=Dn.createTransformer(t),n=_s(e),l=_s(t);return n.indexes.var.length===l.indexes.var.length&&n.indexes.color.length===l.indexes.color.length&&n.indexes.number.length>=l.indexes.number.length?sZ.has(e)&&!l.values.length||sZ.has(t)&&!n.values.length?zQ(e,t):zd(TQ(JGe(n,l),l.values),c):(Si(!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.`),Tm(e,t))};function uZ(e,t,c){return typeof e=="number"&&typeof t=="number"&&typeof c=="number"?gt(e,t,c):bZ(e)(e,t)}var NGe=5;function mZ(e,t,c){let n=Math.max(t-NGe,0);return MI(c-e(n),t-n)}var qt={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};var E2=.001;function AQ({duration:e=qt.duration,bounce:t=qt.bounce,velocity:c=qt.velocity,mass:n=qt.mass}){let l,o;Si(e<=Ic(qt.maxDuration),"Spring duration must be 10 seconds or less");let d=1-t;d=an(qt.minDamping,qt.maxDamping,d),e=an(qt.minDuration,qt.maxDuration,rn(e)),d<1?(l=a=>{let s=a*d,b=s*e,m=s-c,X=XZ(a,d),G=Math.exp(-b);return E2-m/X*G},o=a=>{let b=a*d*e,m=b*c+c,X=Math.pow(d,2)*Math.pow(a,2)*e,G=Math.exp(-b),g=XZ(Math.pow(a,2),d);return(-l(a)+E2>0?-1:1)*((m-X)*G)/g}):(l=a=>{let s=Math.exp(-a*e),b=(a-c)*e+1;return-E2+s*b},o=a=>{let s=Math.exp(-a*e),b=(c-a)*(e*e);return s*b});let i=5/e,r=wGe(l,o,i);if(e=Ic(e),isNaN(r))return{stiffness:qt.stiffness,damping:qt.damping,duration:e};{let a=Math.pow(r,2)*n;return{stiffness:a,damping:d*2*Math.sqrt(n*a),duration:e}}}var SGe=12;function wGe(e,t,c){let n=c;for(let l=1;l<SGe;l++)n=n-e(n)/t(n);return n}function XZ(e,t){return e*Math.sqrt(1-t*t)}var kGe=["duration","bounce"],zGe=["stiffness","damping","mass"];function OQ(e,t){return t.some(c=>e[c]!==void 0)}function TGe(e){let t={velocity:qt.velocity,stiffness:qt.stiffness,damping:qt.damping,mass:qt.mass,isResolvedFromDuration:!1,...e};if(!OQ(e,zGe)&&OQ(e,kGe))if(e.visualDuration){let c=e.visualDuration,n=2*Math.PI/(c*1.2),l=n*n,o=2*an(.05,1,1-(e.bounce||0))*Math.sqrt(l);t={...t,mass:qt.mass,stiffness:l,damping:o}}else{let c=AQ(e);t={...t,...c,mass:qt.mass},t.isResolvedFromDuration=!0}return t}function GZ(e=qt.visualDuration,t=qt.bounce){let c=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:l}=c,o=c.keyframes[0],d=c.keyframes[c.keyframes.length-1],i={done:!1,value:o},{stiffness:r,damping:a,mass:s,duration:b,velocity:m,isResolvedFromDuration:X}=TGe({...c,velocity:-rn(c.velocity||0)}),G=m||0,g=a/(2*Math.sqrt(r*s)),x=d-o,H=rn(Math.sqrt(r/s)),p=Math.abs(x)<5;n||(n=p?qt.restSpeed.granular:qt.restSpeed.default),l||(l=p?qt.restDelta.granular:qt.restDelta.default);let R;if(g<1){let f=XZ(H,g);R=y=>{let Z=Math.exp(-g*H*y);return d-Z*((G+g*H*x)/f*Math.sin(f*y)+x*Math.cos(f*y))}}else if(g===1)R=f=>d-Math.exp(-H*f)*(x+(G+H*x)*f);else{let f=H*Math.sqrt(g*g-1);R=y=>{let Z=Math.exp(-g*H*y),W=Math.min(f*y,300);return d-Z*((G+g*H*x)*Math.sinh(W)+f*x*Math.cosh(W))/f}}let I={calculatedDuration:X&&b||null,next:f=>{let y=R(f);if(X)i.done=f>=b;else{let Z=0;g<1&&(Z=f===0?Ic(G):mZ(R,f,y));let W=Math.abs(Z)<=n,v=Math.abs(d-y)<=l;i.done=W&&v}return i.value=i.done?d:y,i},toString:()=>{let f=Math.min(Bm(I),2e4),y=rg(Z=>I.next(f*Z).value,f,30);return f+"ms "+y}};return I}function L2({keyframes:e,velocity:t=0,power:c=.8,timeConstant:n=325,bounceDamping:l=10,bounceStiffness:o=500,modifyTarget:d,min:i,max:r,restDelta:a=.5,restSpeed:s}){let b=e[0],m={done:!1,value:b},X=W=>i!==void 0&&W<i||r!==void 0&&W>r,G=W=>i===void 0?r:r===void 0||Math.abs(i-W)<Math.abs(r-W)?i:r,g=c*t,x=b+g,H=d===void 0?x:d(x);H!==x&&(g=H-b);let p=W=>-g*Math.exp(-W/n),R=W=>H+p(W),I=W=>{let v=p(W),h=R(W);m.done=Math.abs(v)<=a,m.value=m.done?H:h},f,y,Z=W=>{X(m.value)&&(f=W,y=GZ({keyframes:[m.value,G(m.value)],velocity:mZ(R,W,m.value),damping:l,stiffness:o,restDelta:a,restSpeed:s}))};return Z(0),{calculatedDuration:null,next:W=>{let v=!1;return!y&&f===void 0&&(v=!0,I(W),Z(W)),f!==void 0&&W>=f?y.next(W-f):(!v&&I(W),m)}}}var QQ=Lo(.42,0,1,1),UQ=Lo(0,0,.58,1),gZ=Lo(.42,0,.58,1);var EQ=e=>Array.isArray(e)&&typeof e[0]!="number";var LQ={linear:Qt,easeIn:QQ,easeInOut:gZ,easeOut:UQ,circIn:cZ,circInOut:lZ,circOut:nZ,backIn:sg,backInOut:eZ,backOut:J2,anticipate:tZ},D2=e=>{if(vm(e)){Eo(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,c,n,l]=e;return Lo(t,c,n,l)}else if(typeof e=="string")return Eo(LQ[e]!==void 0,`Invalid easing type '${e}'`),LQ[e];return e};function AGe(e,t,c){let n=[],l=c||uZ,o=e.length-1;for(let d=0;d<o;d++){let i=l(e[d],e[d+1]);if(t){let r=Array.isArray(t)?t[d]||Qt:t;i=zd(r,i)}n.push(i)}return n}function DQ(e,t,{clamp:c=!0,ease:n,mixer:l}={}){let o=e.length;if(Eo(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];let d=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let i=AGe(t,n,l),r=i.length,a=s=>{if(d&&s<e[0])return t[0];let b=0;if(r>1)for(;b<e.length-2&&!(s<e[b+1]);b++);let m=Nl(e[b],e[b+1],s);return i[b](m)};return c?s=>a(an(e[0],e[o-1],s)):a}function _Q(e,t){let c=e[e.length-1];for(let n=1;n<=t;n++){let l=Nl(0,t,n);e.push(gt(c,1,l))}}function jQ(e){let t=[0];return _Q(t,e.length-1),t}function MQ(e,t){return e.map(c=>c*t)}function OGe(e,t){return e.map(()=>t||gZ).splice(0,e.length-1)}function mg({duration:e=300,keyframes:t,times:c,ease:n="easeInOut"}){let l=EQ(n)?n.map(D2):D2(n),o={done:!1,value:t[0]},d=MQ(c&&c.length===t.length?c:jQ(t),e),i=DQ(d,t,{ease:Array.isArray(l)?l:OGe(t,l)});return{calculatedDuration:e,next:r=>(o.value=i(r),o.done=r>=e,o)}}var PQ=e=>{let t=({timestamp:c})=>e(c);return{start:()=>dt.update(t,!0),stop:()=>Sl(t),now:()=>Zc.isProcessing?Zc.timestamp:vn.now()}};var QGe={decay:L2,inertia:L2,tween:mg,keyframes:mg,spring:GZ},UGe=e=>e/100,Ps=class extends zm{constructor(t){super(t),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,this.state==="idle")return;this.teardown();let{onStop:r}=this.options;r&&r()};let{name:c,motionValue:n,element:l,keyframes:o}=this.options,d=l?.KeyframeResolver||ta,i=(r,a)=>this.onKeyframesResolved(r,a);this.resolver=new d(o,i,c,n,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:c="keyframes",repeat:n=0,repeatDelay:l=0,repeatType:o,velocity:d=0}=this.options,i=Pr(c)?c:QGe[c]||mg,r,a;i!==mg&&typeof t[0]!="number"&&(r=zd(UGe,uZ(t[0],t[1])),t=[0,100]);let s=i({...this.options,keyframes:t});o==="mirror"&&(a=i({...this.options,keyframes:[...t].reverse(),velocity:-d})),s.calculatedDuration===null&&(s.calculatedDuration=Bm(s));let{calculatedDuration:b}=s,m=b+l,X=m*(n+1)-l;return{generator:s,mirroredGenerator:a,mapPercentToKeyframes:r,calculatedDuration:b,resolvedDuration:m,totalDuration:X}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,c=!1){let{resolved:n}=this;if(!n){let{keyframes:W}=this.options;return{done:!0,value:W[W.length-1]}}let{finalKeyframe:l,generator:o,mirroredGenerator:d,mapPercentToKeyframes:i,keyframes:r,calculatedDuration:a,totalDuration:s,resolvedDuration:b}=n;if(this.startTime===null)return o.next(0);let{delay:m,repeat:X,repeatType:G,repeatDelay:g,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),c?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let H=this.currentTime-m*(this.speed>=0?1:-1),p=this.speed>=0?H<0:H>s;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let R=this.currentTime,I=o;if(X){let W=Math.min(this.currentTime,s)/b,v=Math.floor(W),h=W%1;!h&&W>=1&&(h=1),h===1&&v--,v=Math.min(v,X+1),v%2&&(G==="reverse"?(h=1-h,g&&(h-=g/b)):G==="mirror"&&(I=d)),R=an(0,1,h)*b}let f=p?{done:!1,value:r[0]}:I.next(R);i&&(f.value=i(f.value));let{done:y}=f;!p&&a!==null&&(y=this.speed>=0?this.currentTime>=s:this.currentTime<=0);let Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&y);return Z&&l!==void 0&&(f.value=ca(r,this.options,l)),x&&x(f.value),Z&&this.finish(),f}get duration(){let{resolved:t}=this;return t?rn(t.calculatedDuration):0}get time(){return rn(this.currentTime)}set time(t){t=Ic(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let c=this.playbackSpeed!==t;this.playbackSpeed=t,c&&(this.time=rn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=PQ,onPlay:c,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),c&&c();let l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&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(t){return this.startTime=0,this.tick(t,!0)}};var KQ=new Set(["opacity","clipPath","filter","transform"]);function qQ(e,t,c,{delay:n=0,duration:l=300,repeat:o=0,repeatType:d="loop",ease:i="easeInOut",times:r}={}){let a={[t]:c};r&&(a.offset=r);let s=Cm(i,l);return Array.isArray(s)&&(a.easing=s),e.animate(a,{delay:n,duration:l,easing:Array.isArray(s)?"linear":s,fill:"both",iterations:o+1,direction:d==="reverse"?"alternate":"normal"})}var $Q=Us(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var xZ=10,EGe=2e4;function LGe(e){return Pr(e.type)||e.type==="spring"||!EI(e.ease)}function DGe(e,t){let c=new Ps({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},l=[],o=0;for(;!n.done&&o<EGe;)n=c.sample(o),l.push(n.value),o+=xZ;return{times:void 0,keyframes:l,duration:o-xZ,ease:"linear"}}var eU={anticipate:tZ,backInOut:eZ,circInOut:lZ};function _Ge(e){return e in eU}var Xg=class extends zm{constructor(t){super(t);let{name:c,motionValue:n,element:l,keyframes:o}=this.options;this.resolver=new km(o,(d,i)=>this.onKeyframesResolved(d,i),c,n,l),this.resolver.scheduleResolve()}initPlayback(t,c){let{duration:n=300,times:l,ease:o,type:d,motionValue:i,name:r,startTime:a}=this.options;if(!i.owner||!i.owner.current)return!1;if(typeof o=="string"&&Kr()&&_Ge(o)&&(o=eU[o]),LGe(this.options)){let{onComplete:b,onUpdate:m,motionValue:X,element:G,...g}=this.options,x=DGe(t,g);t=x.keyframes,t.length===1&&(t[1]=t[0]),n=x.duration,l=x.times,o=x.ease,d="keyframes"}let s=qQ(i.owner.current,r,t,{...this.options,duration:n,times:l,ease:o});return s.startTime=a??this.calcStartTime(),this.pendingTimeline?(ig(s,this.pendingTimeline),this.pendingTimeline=void 0):s.onfinish=()=>{let{onComplete:b}=this.options;i.set(ca(t,this.options,c)),b&&b(),this.cancel(),this.resolveFinishedPromise()},{animation:s,duration:n,times:l,type:d,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:c}=t;return rn(c)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:c}=t;return rn(c.currentTime||0)}set time(t){let{resolved:c}=this;if(!c)return;let{animation:n}=c;n.currentTime=Ic(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:c}=t;return c.playbackRate}set speed(t){let{resolved:c}=this;if(!c)return;let{animation:n}=c;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:c}=t;return c.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:c}=t;return c.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:c}=this;if(!c)return Qt;let{animation:n}=c;ig(n,t)}return Qt}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:c}=t;c.playState==="finished"&&this.updateFinishedPromise(),c.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:c}=t;c.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:c,keyframes:n,duration:l,type:o,ease:d,times:i}=t;if(c.playState==="idle"||c.playState==="finished")return;if(this.time){let{motionValue:a,onUpdate:s,onComplete:b,element:m,...X}=this.options,G=new Ps({...X,keyframes:n,duration:l,type:o,ease:d,times:i,isGenerator:!0}),g=Ic(this.time);a.setWithVelocity(G.sample(g-xZ).value,G.sample(g).value,xZ)}let{onStop:r}=this.options;r&&r(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:c,name:n,repeatDelay:l,repeatType:o,damping:d,type:i}=t;if(!c||!c.owner||!(c.owner.current instanceof HTMLElement))return!1;let{onUpdate:r,transformTemplate:a}=c.owner.getProps();return $Q()&&n&&KQ.has(n)&&!r&&!a&&!l&&o!=="mirror"&&d!==0&&i!=="inertia"}};var jGe={type:"spring",stiffness:500,damping:25,restSpeed:10},MGe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PGe={type:"keyframes",duration:.8},KGe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tU=(e,{keyframes:t})=>t.length>2?PGe:Gl.has(e)?e.startsWith("scale")?MGe(t[1]):jGe:KGe;function cU({when:e,delay:t,delayChildren:c,staggerChildren:n,staggerDirection:l,repeat:o,repeatType:d,repeatDelay:i,from:r,elapsed:a,...s}){return!!Object.keys(s).length}var Am=(e,t,c,n={},l,o)=>d=>{let i=Mr(n,e)||{},r=i.delay||n.delay||0,{elapsed:a=0}=n;a=a-Ic(r);let s={keyframes:Array.isArray(c)?c:[null,c],ease:"easeOut",velocity:t.getVelocity(),...i,delay:-a,onUpdate:m=>{t.set(m),i.onUpdate&&i.onUpdate(m)},onComplete:()=>{d(),i.onComplete&&i.onComplete()},name:e,motionValue:t,element:o?void 0:l};cU(i)||(s={...s,...tU(e,s)}),s.duration&&(s.duration=Ic(s.duration)),s.repeatDelay&&(s.repeatDelay=Ic(s.repeatDelay)),s.from!==void 0&&(s.keyframes[0]=s.from);let b=!1;if((s.type===!1||s.duration===0&&!s.repeatDelay)&&(s.duration=0,s.delay===0&&(b=!0)),(KI.current||bm.skipAnimations)&&(b=!0,s.duration=0,s.delay=0),b&&!o&&t.get()!==void 0){let m=ca(s.keyframes,i);if(m!==void 0)return dt.update(()=>{s.onUpdate(m),s.onComplete()}),new dg([])}return!o&&Xg.supports(s)?new Xg(s):new Ps(s)};function qGe({protectedKeys:e,needsAnimating:t},c){let n=e.hasOwnProperty(c)&&t[c]!==!0;return t[c]=!1,n}function pZ(e,t,{delay:c=0,transitionOverride:n,type:l}={}){var o;let{transition:d=e.getDefaultTransition(),transitionEnd:i,...r}=t;n&&(d=n);let a=[],s=l&&e.animationState&&e.animationState.getState()[l];for(let b in r){let m=e.getValue(b,(o=e.latestValues[b])!==null&&o!==void 0?o:null),X=r[b];if(X===void 0||s&&qGe(s,b))continue;let G={delay:c,...Mr(d||{},b)},g=!1;if(window.MotionHandoffAnimation){let H=PI(e);if(H){let p=window.MotionHandoffAnimation(H,b,dt);p!==null&&(G.startTime=p,g=!0)}}ag(e,b),m.start(Am(b,m,X,e.shouldReduceMotion&&_I.has(b)?{type:!1}:G,e,g));let x=m.animation;x&&a.push(x)}return i&&Promise.all(a).then(()=>{dt.update(()=>{i&&GQ(e,i)})}),a}function RZ(e,t,c={}){var n;let l=jr(e,t,c.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=l||{};c.transitionOverride&&(o=c.transitionOverride);let d=l?()=>Promise.all(pZ(e,l,c)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(a=0)=>{let{delayChildren:s=0,staggerChildren:b,staggerDirection:m}=o;return $Ge(e,t,s+a,b,m,c)}:()=>Promise.resolve(),{when:r}=o;if(r){let[a,s]=r==="beforeChildren"?[d,i]:[i,d];return a().then(()=>s())}else return Promise.all([d(),i(c.delay)])}function $Ge(e,t,c=0,n=0,l=1,o){let d=[],i=(e.variantChildren.size-1)*n,r=l===1?(a=0)=>a*n:(a=0)=>i-a*n;return Array.from(e.variantChildren).sort(ege).forEach((a,s)=>{a.notify("AnimationStart",t),d.push(RZ(a,t,{...o,delay:c+r(s)}).then(()=>a.notify("AnimationComplete",t)))}),Promise.all(d)}function ege(e,t){return e.sortNodePosition(t)}function nU(e,t,c={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let l=t.map(o=>RZ(e,o,c));n=Promise.all(l)}else if(typeof t=="string")n=RZ(e,t,c);else{let l=typeof t=="function"?jr(e,t,c.custom):t;n=Promise.all(pZ(e,l,c))}return n.then(()=>{e.notify("AnimationComplete",t)})}var tge=tg.length;function _2(e){if(!e)return;if(!e.isControllingVariants){let c=e.parent?_2(e.parent)||{}:{};return e.props.initial!==void 0&&(c.initial=e.props.initial),c}let t={};for(let c=0;c<tge;c++){let n=tg[c],l=e.props[n];(ki(l)||l===!1)&&(t[n]=l)}return t}var cge=[...vI].reverse(),nge=vI.length;function lge(e){return t=>Promise.all(t.map(({animation:c,options:n})=>nU(e,c,n)))}function oU(e){let t=lge(e),c=lU(),n=!0,l=r=>(a,s)=>{var b;let m=jr(e,s,r==="exit"?(b=e.presenceContext)===null||b===void 0?void 0:b.custom:void 0);if(m){let{transition:X,transitionEnd:G,...g}=m;a={...a,...g,...G}}return a};function o(r){t=r(e)}function d(r){let{props:a}=e,s=_2(e.parent)||{},b=[],m=new Set,X={},G=1/0;for(let x=0;x<nge;x++){let H=cge[x],p=c[H],R=a[H]!==void 0?a[H]:s[H],I=ki(R),f=H===r?p.isActive:null;f===!1&&(G=x);let y=R===s[H]&&R!==a[H]&&I;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...X},!p.isActive&&f===null||!R&&!p.prevProp||_r(R)||typeof R=="boolean")continue;let Z=oge(p.prevProp,R),W=Z||H===r&&p.isActive&&!y&&I||x>G&&I,v=!1,h=Array.isArray(R)?R:[R],C=h.reduce(l(H),{});f===!1&&(C={});let{prevResolvedValues:B={}}=p,V={...B,...C},S=k=>{W=!0,m.has(k)&&(v=!0,m.delete(k)),p.needsAnimating[k]=!0;let N=e.getValue(k);N&&(N.liveStyle=!1)};for(let k in V){let N=C[k],A=B[k];if(X.hasOwnProperty(k))continue;let Q=!1;cg(N)&&cg(A)?Q=!Z2(N,A):Q=N!==A,Q?N!=null?S(k):m.add(k):N!==void 0&&m.has(k)?S(k):p.protectedKeys[k]=!0}p.prevProp=R,p.prevResolvedValues=C,p.isActive&&(X={...X,...C}),n&&e.blockInitialAnimation&&(W=!1),W&&(!(y&&Z)||v)&&b.push(...h.map(k=>({animation:k,options:{type:H}})))}if(m.size){let x={};m.forEach(H=>{let p=e.getBaseTarget(H),R=e.getValue(H);R&&(R.liveStyle=!0),x[H]=p??null}),b.push({animation:x})}let g=!!b.length;return n&&(a.initial===!1||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?t(b):Promise.resolve()}function i(r,a){var s;if(c[r].isActive===a)return Promise.resolve();(s=e.variantChildren)===null||s===void 0||s.forEach(m=>{var X;return(X=m.animationState)===null||X===void 0?void 0:X.setActive(r,a)}),c[r].isActive=a;let b=d(r);for(let m in c)c[m].protectedKeys={};return b}return{animateChanges:d,setActive:i,setAnimateFunction:o,getState:()=>c,reset:()=>{c=lU(),n=!0}}}function oge(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Z2(t,e):!1}function Ks(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lU(){return{animate:Ks(!0),whileInView:Ks(),whileHover:Ks(),whileTap:Ks(),whileDrag:Ks(),whileFocus:Ks(),exit:Ks()}}var jc=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var HZ=class extends jc{constructor(t){super(t),t.animationState||(t.animationState=oU(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();_r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:c}=this.node.prevProps||{};t!==c&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var dge=0,IZ=class extends jc{constructor(){super(...arguments),this.id=dge++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:c}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let l=this.node.animationState.setActive("exit",!t);c&&!t&&l.then(()=>c(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var dU={animation:{Feature:HZ},exit:{Feature:IZ}};function Oi(e,t,c,n={passive:!0}){return e.addEventListener(t,c,n),()=>e.removeEventListener(t,c)}function Qi(e){return{point:{x:e.pageX,y:e.pageY}}}var iU=e=>t=>Ls(t)&&e(t,Qi(t));function na(e,t,c,n){return Oi(e,t,iU(c),n)}var rU=(e,t)=>Math.abs(e-t);function aU(e,t){let c=rU(e.x,t.x),n=rU(e.y,t.y);return Math.sqrt(c**2+n**2)}var Om=class{constructor(t,c,{transformPagePoint:n,contextWindow:l,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let b=M2(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,X=aU(b.offset,{x:0,y:0})>=3;if(!m&&!X)return;let{point:G}=b,{timestamp:g}=Zc;this.history.push({...G,timestamp:g});let{onStart:x,onMove:H}=this.handlers;m||(x&&x(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,b)},this.handlePointerMove=(b,m)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=j2(m,this.transformPagePoint),dt.update(this.updatePoint,!0)},this.handlePointerUp=(b,m)=>{this.end();let{onEnd:X,onSessionEnd:G,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let x=M2(b.type==="pointercancel"?this.lastMoveEventInfo:j2(m,this.transformPagePoint),this.history);this.startEvent&&X&&X(b,x),G&&G(b,x)},!Ls(t))return;this.dragSnapToOrigin=o,this.handlers=c,this.transformPagePoint=n,this.contextWindow=l||window;let d=Qi(t),i=j2(d,this.transformPagePoint),{point:r}=i,{timestamp:a}=Zc;this.history=[{...r,timestamp:a}];let{onSessionStart:s}=c;s&&s(t,M2(i,this.history)),this.removeListeners=zd(na(this.contextWindow,"pointermove",this.handlePointerMove),na(this.contextWindow,"pointerup",this.handlePointerUp),na(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Sl(this.updatePoint)}};function j2(e,t){return t?{point:t(e.point)}:e}function sU(e,t){return{x:e.x-t.x,y:e.y-t.y}}function M2({point:e},t){return{point:e,delta:sU(e,bU(t)),offset:sU(e,ige(t)),velocity:rge(t,.1)}}function ige(e){return e[0]}function bU(e){return e[e.length-1]}function rge(e,t){if(e.length<2)return{x:0,y:0};let c=e.length-1,n=null,l=bU(e);for(;c>=0&&(n=e[c],!(l.timestamp-n.timestamp>Ic(t)));)c--;if(!n)return{x:0,y:0};let o=rn(l.timestamp-n.timestamp);if(o===0)return{x:0,y:0};let d={x:(l.x-n.x)/o,y:(l.y-n.y)/o};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}var GU=1e-4,age=1-GU,sge=1+GU,gU=.01,bge=0-gU,uge=0+gU;function sn(e){return e.max-e.min}function xU(e,t,c){return Math.abs(e-t)<=c}function uU(e,t,c,n=.5){e.origin=n,e.originPoint=gt(t.min,t.max,e.origin),e.scale=sn(c)/sn(t),e.translate=gt(c.min,c.max,e.origin)-e.originPoint,(e.scale>=age&&e.scale<=sge||isNaN(e.scale))&&(e.scale=1),(e.translate>=bge&&e.translate<=uge||isNaN(e.translate))&&(e.translate=0)}function Qm(e,t,c,n){uU(e.x,t.x,c.x,n?n.originX:void 0),uU(e.y,t.y,c.y,n?n.originY:void 0)}function mU(e,t,c){e.min=c.min+t.min,e.max=e.min+sn(t)}function pU(e,t,c){mU(e.x,t.x,c.x),mU(e.y,t.y,c.y)}function XU(e,t,c){e.min=t.min-c.min,e.max=e.min+sn(t)}function Um(e,t,c){XU(e.x,t.x,c.x),XU(e.y,t.y,c.y)}function fU(e,{min:t,max:c},n){return t!==void 0&&e<t?e=n?gt(t,e,n.min):Math.max(e,t):c!==void 0&&e>c&&(e=n?gt(c,e,n.max):Math.min(e,c)),e}function RU(e,t,c){return{min:t!==void 0?e.min+t:void 0,max:c!==void 0?e.max+c-(e.max-e.min):void 0}}function yU(e,{top:t,left:c,bottom:n,right:l}){return{x:RU(e.x,c,l),y:RU(e.y,t,n)}}function HU(e,t){let c=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([c,n]=[n,c]),{min:c,max:n}}function WU(e,t){return{x:HU(e.x,t.x),y:HU(e.y,t.y)}}function hU(e,t){let c=.5,n=sn(e),l=sn(t);return l>n?c=Nl(t.min,t.max-n,e.min):n>l&&(c=Nl(e.min,e.max-l,t.min)),an(0,1,c)}function BU(e,t){let c={};return t.min!==void 0&&(c.min=t.min-e.min),t.max!==void 0&&(c.max=t.max-e.min),c}var ZZ=.35;function vU(e=ZZ){return e===!1?e=0:e===!0&&(e=ZZ),{x:IU(e,"left","right"),y:IU(e,"top","bottom")}}function IU(e,t,c){return{min:ZU(e,t),max:ZU(e,c)}}function ZU(e,t){return typeof e=="number"?e:e[t]||0}var VU=()=>({translate:0,scale:1,origin:0,originPoint:0}),qs=()=>({x:VU(),y:VU()}),CU=()=>({min:0,max:0}),$t=()=>({x:CU(),y:CU()});function gl(e){return[e("x"),e("y")]}function fZ({top:e,left:t,right:c,bottom:n}){return{x:{min:t,max:c},y:{min:e,max:n}}}function FU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function JU(e,t){if(!t)return e;let c=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:c.y,left:c.x,bottom:n.y,right:n.x}}function P2(e){return e===void 0||e===1}function yZ({scale:e,scaleX:t,scaleY:c}){return!P2(e)||!P2(t)||!P2(c)}function Ui(e){return yZ(e)||K2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function K2(e){return YU(e.x)||YU(e.y)}function YU(e){return e&&e!=="0%"}function Gg(e,t,c){let n=e-c,l=t*n;return c+l}function NU(e,t,c,n,l){return l!==void 0&&(e=Gg(e,l,n)),Gg(e,c,n)+t}function q2(e,t=0,c=1,n,l){e.min=NU(e.min,t,c,n,l),e.max=NU(e.max,t,c,n,l)}function $2(e,{x:t,y:c}){q2(e.x,t.translate,t.scale,t.originPoint),q2(e.y,c.translate,c.scale,c.originPoint)}var SU=.999999999999,wU=1.0000000000001;function zU(e,t,c,n=!1){let l=c.length;if(!l)return;t.x=t.y=1;let o,d;for(let i=0;i<l;i++){o=c[i],d=o.projectionDelta;let{visualElement:r}=o.options;r&&r.props.style&&r.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&$s(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,$2(e,d)),n&&Ui(o.latestValues)&&$s(e,o.latestValues))}t.x<wU&&t.x>SU&&(t.x=1),t.y<wU&&t.y>SU&&(t.y=1)}function la(e,t){e.min=e.min+t,e.max=e.max+t}function kU(e,t,c,n,l=.5){let o=gt(e.min,e.max,l);q2(e,t,c,o,n)}function $s(e,t){kU(e.x,t.x,t.scaleX,t.scale,t.originX),kU(e.y,t.y,t.scaleY,t.scale,t.originY)}function e9(e,t){return fZ(JU(e.getBoundingClientRect(),t))}function TU(e,t,c){let n=e9(e,c),{scroll:l}=t;return l&&(la(n.x,l.offset.x),la(n.y,l.offset.y)),n}var WZ=({current:e})=>e?e.ownerDocument.defaultView:null;var mge=new WeakMap,BZ=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$t(),this.visualElement=t}start(t,{snapToCursor:c=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let l=s=>{let{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),c&&this.snapToCursor(Qi(s).point)},o=(s,b)=>{let{drag:m,dragPropagation:X,onDragStart:G}=this.getProps();if(m&&!X&&(this.openDragLock&&this.openDragLock(),this.openDragLock=C2(m),!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),gl(x=>{let H=this.getAxisMotionValue(x).get()||0;if(Ln.test(H)){let{projection:p}=this.visualElement;if(p&&p.layout){let R=p.layout.layoutBox[x];R&&(H=sn(R)*(parseFloat(H)/100))}}this.originPoint[x]=H}),G&&dt.postRender(()=>G(s,b)),ag(this.visualElement,"transform");let{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},d=(s,b)=>{let{dragPropagation:m,dragDirectionLock:X,onDirectionLock:G,onDrag:g}=this.getProps();if(!m&&!this.openDragLock)return;let{offset:x}=b;if(X&&this.currentDirection===null){this.currentDirection=Xge(x),this.currentDirection!==null&&G&&G(this.currentDirection);return}this.updateAxis("x",b.point,x),this.updateAxis("y",b.point,x),this.visualElement.render(),g&&g(s,b)},i=(s,b)=>this.stop(s,b),r=()=>gl(s=>{var b;return this.getAnimationState(s)==="paused"&&((b=this.getAxisMotionValue(s).animation)===null||b===void 0?void 0:b.play())}),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Om(t,{onSessionStart:l,onStart:o,onMove:d,onSessionEnd:i,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:WZ(this.visualElement)})}stop(t,c){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:l}=c;this.startAnimation(l);let{onDragEnd:o}=this.getProps();o&&dt.postRender(()=>o(t,c))}cancel(){this.isDragging=!1;let{projection:t,animationState:c}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),c&&c.setActive("whileDrag",!1)}updateAxis(t,c,n){let{drag:l}=this.getProps();if(!n||!hZ(t,l,this.currentDirection))return;let o=this.getAxisMotionValue(t),d=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(d=fU(d,this.constraints[t],this.elastic[t])),o.set(d)}resolveConstraints(){var t;let{dragConstraints:c,dragElastic:n}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;c&&zi(c)?this.constraints||(this.constraints=this.resolveRefConstraints()):c&&l?this.constraints=yU(l.layoutBox,c):this.constraints=!1,this.elastic=vU(n),o!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&gl(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=BU(l.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:c}=this.getProps();if(!t||!zi(t))return!1;let n=t.current;Eo(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:l}=this.visualElement;if(!l||!l.layout)return!1;let o=TU(n,l.root,this.visualElement.getTransformPagePoint()),d=WU(l.layout.layoutBox,o);if(c){let i=c(FU(d));this.hasMutatedConstraints=!!i,i&&(d=fZ(i))}return d}startAnimation(t){let{drag:c,dragMomentum:n,dragElastic:l,dragTransition:o,dragSnapToOrigin:d,onDragTransitionEnd:i}=this.getProps(),r=this.constraints||{},a=gl(s=>{if(!hZ(s,c,this.currentDirection))return;let b=r&&r[s]||{};d&&(b={min:0,max:0});let m=l?200:1e6,X=l?40:1e7,G={type:"inertia",velocity:n?t[s]:0,bounceStiffness:m,bounceDamping:X,timeConstant:750,restDelta:1,restSpeed:10,...o,...b};return this.startAxisValueAnimation(s,G)});return Promise.all(a).then(i)}startAxisValueAnimation(t,c){let n=this.getAxisMotionValue(t);return ag(this.visualElement,t),n.start(Am(t,n,0,c,this.visualElement,!1))}stopAnimation(){gl(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gl(t=>{var c;return(c=this.getAxisMotionValue(t).animation)===null||c===void 0?void 0:c.pause()})}getAnimationState(t){var c;return(c=this.getAxisMotionValue(t).animation)===null||c===void 0?void 0:c.state}getAxisMotionValue(t){let c=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),l=n[c];return l||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){gl(c=>{let{drag:n}=this.getProps();if(!hZ(c,n,this.currentDirection))return;let{projection:l}=this.visualElement,o=this.getAxisMotionValue(c);if(l&&l.layout){let{min:d,max:i}=l.layout.layoutBox[c];o.set(t[c]-gt(d,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:c}=this.getProps(),{projection:n}=this.visualElement;if(!zi(c)||!n||!this.constraints)return;this.stopAnimation();let l={x:0,y:0};gl(d=>{let i=this.getAxisMotionValue(d);if(i&&this.constraints!==!1){let r=i.get();l[d]=hU({min:r,max:r},this.constraints[d])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),gl(d=>{if(!hZ(d,t,null))return;let i=this.getAxisMotionValue(d),{min:r,max:a}=this.constraints[d];i.set(gt(r,a,l[d]))})}addListeners(){if(!this.visualElement.current)return;mge.set(this.visualElement,this);let t=this.visualElement.current,c=na(t,"pointerdown",r=>{let{drag:a,dragListener:s=!0}=this.getProps();a&&s&&this.start(r)}),n=()=>{let{dragConstraints:r}=this.getProps();zi(r)&&r.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,o=l.addEventListener("measure",n);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),dt.read(n);let d=Oi(window,"resize",()=>this.scalePositionWithinConstraints()),i=l.addEventListener("didUpdate",(({delta:r,hasLayoutChanged:a})=>{this.isDragging&&a&&(gl(s=>{let b=this.getAxisMotionValue(s);b&&(this.originPoint[s]+=r[s].translate,b.set(b.get()+r[s].translate))}),this.visualElement.render())}));return()=>{d(),c(),o(),i&&i()}}getProps(){let t=this.visualElement.getProps(),{drag:c=!1,dragDirectionLock:n=!1,dragPropagation:l=!1,dragConstraints:o=!1,dragElastic:d=ZZ,dragMomentum:i=!0}=t;return{...t,drag:c,dragDirectionLock:n,dragPropagation:l,dragConstraints:o,dragElastic:d,dragMomentum:i}}};function hZ(e,t,c){return(t===!0||t===e)&&(c===null||c===e)}function Xge(e,t=10){let c=null;return Math.abs(e.y)>t?c="y":Math.abs(e.x)>t&&(c="x"),c}var vZ=class extends jc{constructor(t){super(t),this.removeGroupControls=Qt,this.removeListeners=Qt,this.controls=new BZ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qt}unmount(){this.removeGroupControls(),this.removeListeners()}};var AU=e=>(t,c)=>{e&&dt.postRender(()=>e(t,c))},VZ=class extends jc{constructor(){super(...arguments),this.removePointerDownListener=Qt}onPointerDown(t){this.session=new Om(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:WZ(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:c,onPan:n,onPanEnd:l}=this.node.getProps();return{onSessionStart:AU(t),onStart:AU(c),onMove:n,onEnd:(o,d)=>{delete this.session,l&&dt.postRender(()=>l(o,d))}}}mount(){this.removePointerDownListener=na(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var UU=u(F(),1),gg=u(E(),1);var Em={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function OU(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Lm={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;let c=OU(e,t.target.x),n=OU(e,t.target.y);return`${c}% ${n}%`}};var QU={correct:(e,{treeScale:t,projectionDelta:c})=>{let n=e,l=Dn.parse(e);if(l.length>5)return n;let o=Dn.createTransformer(e),d=typeof l[0]!="number"?1:0,i=c.x.scale*t.x,r=c.y.scale*t.y;l[0+d]/=i,l[1+d]/=r;let a=gt(i,r,.5);return typeof l[2+d]=="number"&&(l[2+d]/=a),typeof l[3+d]=="number"&&(l[3+d]/=a),o(l)}};var t9=class extends gg.Component{componentDidMount(){let{visualElement:t,layoutGroup:c,switchLayoutGroup:n,layoutId:l}=this.props,{projection:o}=t;PO(Gge),o&&(c.group&&c.group.add(o),n&&n.register&&l&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Em.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:c,visualElement:n,drag:l,isPresent:o}=this.props,d=n.projection;return d&&(d.isPresent=o,l||t.layoutDependency!==c||c===void 0?d.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?d.promote():d.relegate()||dt.postRender(()=>{let i=d.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:c,switchLayoutGroup:n}=this.props,{projection:l}=t;l&&(l.scheduleCheckAfterUnmount(),c&&c.group&&c.group.remove(l),n&&n.deregister&&n.deregister(l))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function CZ(e){let[t,c]=KG(),n=(0,gg.useContext)(dm);return(0,UU.jsx)(t9,{...e,layoutGroup:n,switchLayoutGroup:(0,gg.useContext)(JI),isPresent:t,safeToRemove:c})}var Gge={borderRadius:{...Lm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Lm,borderTopRightRadius:Lm,borderBottomLeftRadius:Lm,borderBottomRightRadius:Lm,boxShadow:QU};function EU(e,t,c){let n=jt(e)?e:Ai(e);return n.start(Am("",n,t,c)),n.animation}function LU(e){return e instanceof SVGElement&&e.tagName!=="svg"}var DU=(e,t)=>e.depth-t.depth;var FZ=class{constructor(){this.children=[],this.isDirty=!1}add(t){Jm(this.children,t),this.isDirty=!0}remove(t){Ym(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(DU),this.isDirty=!1,this.children.forEach(t)}};function _U(e,t){let c=vn.now(),n=({timestamp:l})=>{let o=l-c;o>=t&&(Sl(n),e(o-t))};return dt.read(n,!0),()=>Sl(n)}var KU=["TopLeft","TopRight","BottomLeft","BottomRight"],gge=KU.length,jU=e=>typeof e=="string"?parseFloat(e):e,MU=e=>typeof e=="number"||Oe.test(e);function qU(e,t,c,n,l,o){l?(e.opacity=gt(0,c.opacity!==void 0?c.opacity:1,xge(n)),e.opacityExit=gt(t.opacity!==void 0?t.opacity:1,0,pge(n))):o&&(e.opacity=gt(t.opacity!==void 0?t.opacity:1,c.opacity!==void 0?c.opacity:1,n));for(let d=0;d<gge;d++){let i=`border${KU[d]}Radius`,r=PU(t,i),a=PU(c,i);if(r===void 0&&a===void 0)continue;r||(r=0),a||(a=0),r===0||a===0||MU(r)===MU(a)?(e[i]=Math.max(gt(jU(r),jU(a),n),0),(Ln.test(a)||Ln.test(r))&&(e[i]+="%")):e[i]=a}(t.rotate||c.rotate)&&(e.rotate=gt(t.rotate||0,c.rotate||0,n))}function PU(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var xge=$U(0,.5,nZ),pge=$U(.5,.95,Qt);function $U(e,t,c){return n=>n<e?0:n>t?1:c(Nl(e,t,n))}function eE(e,t){e.min=t.min,e.max=t.max}function kl(e,t){eE(e.x,t.x),eE(e.y,t.y)}function c9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function tE(e,t,c,n,l){return e-=t,e=Gg(e,1/c,n),l!==void 0&&(e=Gg(e,1/l,n)),e}function Rge(e,t=0,c=1,n=.5,l,o=e,d=e){if(Ln.test(t)&&(t=parseFloat(t),t=gt(d.min,d.max,t/100)-d.min),typeof t!="number")return;let i=gt(o.min,o.max,n);e===o&&(i-=t),e.min=tE(e.min,t,c,i,l),e.max=tE(e.max,t,c,i,l)}function cE(e,t,[c,n,l],o,d){Rge(e,t[c],t[n],t[l],t.scale,o,d)}var Hge=["x","scaleX","originX"],Ige=["y","scaleY","originY"];function n9(e,t,c,n){cE(e.x,t,Hge,c?c.x:void 0,n?n.x:void 0),cE(e.y,t,Ige,c?c.y:void 0,n?n.y:void 0)}function nE(e){return e.translate===0&&e.scale===1}function l9(e){return nE(e.x)&&nE(e.y)}function lE(e,t){return e.min===t.min&&e.max===t.max}function dE(e,t){return lE(e.x,t.x)&&lE(e.y,t.y)}function oE(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function o9(e,t){return oE(e.x,t.x)&&oE(e.y,t.y)}function d9(e){return sn(e.x)/sn(e.y)}function i9(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var JZ=class{constructor(){this.members=[]}add(t){Jm(this.members,t),t.scheduleRender()}remove(t){if(Ym(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let c=this.members[this.members.length-1];c&&this.promote(c)}}relegate(t){let c=this.members.findIndex(l=>t===l);if(c===0)return!1;let n;for(let l=c;l>=0;l--){let o=this.members[l];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(t,c){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,c&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:l}=t.options;l===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:c,resumingFrom:n}=t;c.onExitComplete&&c.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function iE(e,t,c){let n="",l=e.x.translate/t.x,o=e.y.translate/t.y,d=c?.z||0;if((l||o||d)&&(n=`translate3d(${l}px, ${o}px, ${d}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),c){let{transformPerspective:a,rotate:s,rotateX:b,rotateY:m,skewX:X,skewY:G}=c;a&&(n=`perspective(${a}px) ${n}`),s&&(n+=`rotate(${s}deg) `),b&&(n+=`rotateX(${b}deg) `),m&&(n+=`rotateY(${m}deg) `),X&&(n+=`skewX(${X}deg) `),G&&(n+=`skewY(${G}deg) `)}let i=e.x.scale*t.x,r=e.y.scale*t.y;return(i!==1||r!==1)&&(n+=`scale(${i}, ${r})`),n||"none"}var eb={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},xg=typeof window<"u"&&window.MotionDebug!==void 0,r9=["","X","Y","Z"],Zge={visibility:"hidden"},rE=1e3,fge=0;function a9(e,t,c,n){let{latestValues:l}=t;l[e]&&(c[e]=l[e],t.setStaticValue(e,0),n&&(n[e]=0))}function gE(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let c=PI(t);if(window.MotionHasOptimisedAnimation(c,"transform")){let{layout:l,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(c,"transform",dt,!(l||o))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&gE(n)}function YZ({attachResizeListener:e,defaultParent:t,measureScroll:c,checkIsScrollRoot:n,resetTransform:l}){return class{constructor(d={},i=t?.()){this.id=fge++,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,xg&&(eb.totalNodes=eb.resolvedTargetDeltas=eb.recalculatedProjection=0),this.nodes.forEach(hge),this.nodes.forEach(Fge),this.nodes.forEach(Jge),this.nodes.forEach(Bge),xg&&window.MotionDebug.record(eb)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let r=0;r<this.path.length;r++)this.path[r].shouldResetTransform=!0;this.root===this&&(this.nodes=new FZ)}addEventListener(d,i){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new qr),this.eventHandlers.get(d).add(i)}notifyListeners(d,...i){let r=this.eventHandlers.get(d);r&&r.notify(...i)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=LU(d),this.instance=d;let{layoutId:r,layout:a,visualElement:s}=this.options;if(s&&!s.current&&s.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(a||r)&&(this.isLayoutDirty=!0),e){let b,m=()=>this.root.updateBlockedByResize=!1;e(d,()=>{this.root.updateBlockedByResize=!0,b&&b(),b=_U(m,250),Em.hasAnimatedSinceResize&&(Em.hasAnimatedSinceResize=!1,this.nodes.forEach(sE))})}r&&this.root.registerSharedNode(r,this),this.options.animate!==!1&&s&&(r||a)&&this.addEventListener("didUpdate",({delta:b,hasLayoutChanged:m,hasRelativeTargetChanged:X,layout:G})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let g=this.options.transition||s.getDefaultTransition()||kge,{onLayoutAnimationStart:x,onLayoutAnimationComplete:H}=s.getProps(),p=!this.targetLayout||!o9(this.targetLayout,G)||X,R=!m&&X;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||m&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(b,R);let I={...Mr(g,"layout"),onPlay:x,onComplete:H};(s.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else m||sE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=G})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Sl(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(Yge),this.animationId++)}getTransformTemplate(){let{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){let b=this.path[s];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}let{layoutId:i,layout:r}=this.options;if(i===void 0&&!r)return;let a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(aE);return}this.isUpdating||this.nodes.forEach(Vge),this.isUpdating=!1,this.nodes.forEach(Cge),this.nodes.forEach(yge),this.nodes.forEach(Wge),this.clearAllSnapshots();let i=vn.now();Zc.delta=an(0,1e3/60,i-Zc.timestamp),Zc.timestamp=i,Zc.isProcessing=!0,yI.update.process(Zc),yI.preRender.process(Zc),yI.render.process(Zc),Zc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(vge),this.sharedNodes.forEach(Nge)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r<this.path.length;r++)this.path[r].updateScroll();let d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=$t(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let i=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(i=!1),i){let r=n(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:r,offset:c(this.instance),wasRoot:this.scroll?this.scroll.isRoot:r}}}resetTransform(){if(!l)return;let d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,i=this.projectionDelta&&!l9(this.projectionDelta),r=this.getTransformTemplate(),a=r?r(this.latestValues,""):void 0,s=a!==this.prevTransformTemplateValue;d&&(i||Ui(this.latestValues)||s)&&(l(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){let i=this.measurePageBox(),r=this.removeElementScroll(i);return d&&(r=this.removeTransform(r)),zge(r),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var d;let{visualElement:i}=this.options;if(!i)return $t();let r=i.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(Tge))){let{scroll:s}=this.root;s&&(la(r.x,s.offset.x),la(r.y,s.offset.y))}return r}removeElementScroll(d){var i;let r=$t();if(kl(r,d),!((i=this.scroll)===null||i===void 0)&&i.wasRoot)return r;for(let a=0;a<this.path.length;a++){let s=this.path[a],{scroll:b,options:m}=s;s!==this.root&&b&&m.layoutScroll&&(b.wasRoot&&kl(r,d),la(r.x,b.offset.x),la(r.y,b.offset.y))}return r}applyTransform(d,i=!1){let r=$t();kl(r,d);for(let a=0;a<this.path.length;a++){let s=this.path[a];!i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&$s(r,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),Ui(s.latestValues)&&$s(r,s.latestValues)}return Ui(this.latestValues)&&$s(r,this.latestValues),r}removeTransform(d){let i=$t();kl(i,d);for(let r=0;r<this.path.length;r++){let a=this.path[r];if(!a.instance||!Ui(a.latestValues))continue;yZ(a.latestValues)&&a.updateSnapshot();let s=$t(),b=a.measurePageBox();kl(s,b),n9(i,a.latestValues,a.snapshot?a.snapshot.layoutBox:void 0,s)}return Ui(this.latestValues)&&n9(i,this.latestValues),i}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}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!==Zc.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var i;let r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==r;if(!(d||a&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:b,layoutId:m}=this.options;if(!(!this.layout||!(b||m))){if(this.resolvedRelativeTargetAt=Zc.timestamp,!this.targetDelta&&!this.relativeTarget){let X=this.getClosestProjectingParent();X&&X.layout&&this.animationProgress!==1?(this.relativeParent=X,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$t(),this.relativeTargetOrigin=$t(),Um(this.relativeTargetOrigin,this.layout.layoutBox,X.layout.layoutBox),kl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=$t(),this.targetWithTransforms=$t()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pU(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kl(this.target,this.layout.layoutBox),$2(this.target,this.targetDelta)):kl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let X=this.getClosestProjectingParent();X&&!!X.resumingFrom==!!this.resumingFrom&&!X.options.layoutScroll&&X.target&&this.animationProgress!==1?(this.relativeParent=X,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$t(),this.relativeTargetOrigin=$t(),Um(this.relativeTargetOrigin,this.target,X.target),kl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}xg&&eb.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||yZ(this.parent.latestValues)||K2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;let i=this.getLead(),r=!!this.resumingFrom||this!==i,a=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(a=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(a=!1),this.resolvedRelativeTargetAt===Zc.timestamp&&(a=!1),a)return;let{layout:s,layoutId:b}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||b))return;kl(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,X=this.treeScale.y;zU(this.layoutCorrected,this.treeScale,this.path,r),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=$t());let{target:G}=i;if(!G){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(c9(this.prevProjectionDelta.x,this.projectionDelta.x),c9(this.prevProjectionDelta.y,this.projectionDelta.y)),Qm(this.projectionDelta,this.layoutCorrected,G,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==X||!i9(this.projectionDelta.x,this.prevProjectionDelta.x)||!i9(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",G)),xg&&eb.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var i;if((i=this.options.visualElement)===null||i===void 0||i.scheduleRender(),d){let r=this.getStack();r&&r.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qs(),this.projectionDelta=qs(),this.projectionDeltaWithTransform=qs()}setAnimationOrigin(d,i=!1){let r=this.snapshot,a=r?r.latestValues:{},s={...this.latestValues},b=qs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let m=$t(),X=r?r.source:void 0,G=this.layout?this.layout.source:void 0,g=X!==G,x=this.getStack(),H=!x||x.members.length<=1,p=!!(g&&!H&&this.options.crossfade===!0&&!this.path.some(wge));this.animationProgress=0;let R;this.mixTargetDelta=I=>{let f=I/1e3;bE(b.x,d.x,f),bE(b.y,d.y,f),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Um(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sge(this.relativeTarget,this.relativeTargetOrigin,m,f),R&&dE(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=$t()),kl(R,this.relativeTarget)),g&&(this.animationValues=s,qU(s,a,this.latestValues,f,p,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Sl(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dt.update(()=>{Em.hasAnimatedSinceResize=!0,this.currentAnimation=EU(0,rE,{...d,onUpdate:i=>{this.mixTargetDelta(i),d.onUpdate&&d.onUpdate(i)},onComplete:()=>{d.onComplete&&d.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);let d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let d=this.getLead(),{targetWithTransforms:i,target:r,layout:a,latestValues:s}=d;if(!(!i||!r||!a)){if(this!==d&&this.layout&&a&&xE(this.options.animationType,this.layout.layoutBox,a.layoutBox)){r=this.target||$t();let b=sn(this.layout.layoutBox.x);r.x.min=d.target.x.min,r.x.max=r.x.min+b;let m=sn(this.layout.layoutBox.y);r.y.min=d.target.y.min,r.y.max=r.y.min+m}kl(i,r),$s(i,s),Qm(this.projectionDeltaWithTransform,this.layoutCorrected,i,s)}}registerSharedNode(d,i){this.sharedNodes.has(d)||this.sharedNodes.set(d,new JZ),this.sharedNodes.get(d).add(i);let a=i.options.initialPromotionConfig;i.promote({transition:a?a.transition:void 0,preserveFollowOpacity:a&&a.shouldPreserveFollowOpacity?a.shouldPreserveFollowOpacity(i):void 0})}isLead(){let d=this.getStack();return d?d.lead===this:!0}getLead(){var d;let{layoutId:i}=this.options;return i?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;let{layoutId:i}=this.options;return i?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){let{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:i,preserveFollowOpacity:r}={}){let a=this.getStack();a&&a.promote(this,r),d&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){let{visualElement:d}=this.options;if(!d)return;let i=!1,{latestValues:r}=d;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(i=!0),!i)return;let a={};r.z&&a9("z",d,a,this.animationValues);for(let s=0;s<r9.length;s++)a9(`rotate${r9[s]}`,d,a,this.animationValues),a9(`skew${r9[s]}`,d,a,this.animationValues);d.render();for(let s in a)d.setStaticValue(s,a[s]),this.animationValues&&(this.animationValues[s]=a[s]);d.scheduleRender()}getProjectionStyles(d){var i,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Zge;let a={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=xm(d?.pointerEvents)||"",a.transform=s?s(this.latestValues,""):"none",a;let b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){let g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=xm(d?.pointerEvents)||""),this.hasProjected&&!Ui(this.latestValues)&&(g.transform=s?s({},""):"none",this.hasProjected=!1),g}let m=b.animationValues||b.latestValues;this.applyTransformsToTarget(),a.transform=iE(this.projectionDeltaWithTransform,this.treeScale,m),s&&(a.transform=s(m,a.transform));let{x:X,y:G}=this.projectionDelta;a.transformOrigin=`${X.origin*100}% ${G.origin*100}% 0`,b.animationValues?a.opacity=b===this?(r=(i=m.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&r!==void 0?r:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:a.opacity=b===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let g in ym){if(m[g]===void 0)continue;let{correct:x,applyTo:H}=ym[g],p=a.transform==="none"?m[g]:x(m[g],b);if(H){let R=H.length;for(let I=0;I<R;I++)a[H[I]]=p}else a[g]=p}return this.options.layoutId&&(a.pointerEvents=b===this?xm(d?.pointerEvents)||"":"none"),a}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var i;return(i=d.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(aE),this.root.sharedNodes.clear()}}}function yge(e){e.updateLayout()}function Wge(e){var t;let c=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&c&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:l}=e.layout,{animationType:o}=e.options,d=c.source!==e.layout.source;o==="size"?gl(b=>{let m=d?c.measuredBox[b]:c.layoutBox[b],X=sn(m);m.min=n[b].min,m.max=m.min+X}):xE(o,c.layoutBox,n)&&gl(b=>{let m=d?c.measuredBox[b]:c.layoutBox[b],X=sn(n[b]);m.max=m.min+X,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[b].max=e.relativeTarget[b].min+X)});let i=qs();Qm(i,n,c.layoutBox);let r=qs();d?Qm(r,e.applyTransform(l,!0),c.measuredBox):Qm(r,n,c.layoutBox);let a=!l9(i),s=!1;if(!e.resumeFrom){let b=e.getClosestProjectingParent();if(b&&!b.resumeFrom){let{snapshot:m,layout:X}=b;if(m&&X){let G=$t();Um(G,c.layoutBox,m.layoutBox);let g=$t();Um(g,n,X.layoutBox),o9(G,g)||(s=!0),b.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=G,e.relativeParent=b)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:c,delta:r,layoutDelta:i,hasLayoutChanged:a,hasRelativeTargetChanged:s})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function hge(e){xg&&eb.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Bge(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function vge(e){e.clearSnapshot()}function aE(e){e.clearMeasurements()}function Vge(e){e.isLayoutDirty=!1}function Cge(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Fge(e){e.resolveTargetDelta()}function Jge(e){e.calcProjection()}function Yge(e){e.resetSkewAndRotation()}function Nge(e){e.removeLeadSnapshot()}function bE(e,t,c){e.translate=gt(t.translate,0,c),e.scale=gt(t.scale,1,c),e.origin=t.origin,e.originPoint=t.originPoint}function uE(e,t,c,n){e.min=gt(t.min,c.min,n),e.max=gt(t.max,c.max,n)}function Sge(e,t,c,n){uE(e.x,t.x,c.x,n),uE(e.y,t.y,c.y,n)}function wge(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var kge={duration:.45,ease:[.4,0,.1,1]},mE=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),XE=mE("applewebkit/")&&!mE("chrome/")?Math.round:Qt;function GE(e){e.min=XE(e.min),e.max=XE(e.max)}function zge(e){GE(e.x),GE(e.y)}function xE(e,t,c){return e==="position"||e==="preserve-aspect"&&!xU(d9(t),d9(c),.2)}function Tge(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var pE=YZ({attachResizeListener:(e,t)=>Oi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var s9={current:void 0},NZ=YZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!s9.current){let e=new pE({});e.mount(window),e.setOptions({layoutScroll:!0}),s9.current=e}return s9.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var RE={pan:{Feature:VZ},drag:{Feature:vZ,ProjectionNode:NZ,MeasureLayout:CZ}};function HE(e,t,c){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",c==="Start");let l="onHover"+c,o=n[l];o&&dt.postRender(()=>o(t,Qi(t)))}var SZ=class extends jc{mount(){let{current:t}=this.node;t&&(this.unmount=B2(t,c=>(HE(this.node,c,"Start"),n=>HE(this.node,n,"End"))))}unmount(){}};var wZ=class extends jc{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=zd(Oi(this.node.current,"focus",()=>this.onFocus()),Oi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function IE(e,t,c){let{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",c==="Start");let l="onTap"+(c==="End"?"":c),o=n[l];o&&dt.postRender(()=>o(t,Qi(t)))}var kZ=class extends jc{mount(){let{current:t}=this.node;t&&(this.unmount=V2(t,c=>(IE(this.node,c,"Start"),(n,{success:l})=>IE(this.node,n,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var u9=new WeakMap,b9=new WeakMap,Age=e=>{let t=u9.get(e.target);t&&t(e)},Oge=e=>{e.forEach(Age)};function Qge({root:e,...t}){let c=e||document;b9.has(c)||b9.set(c,{});let n=b9.get(c),l=JSON.stringify(t);return n[l]||(n[l]=new IntersectionObserver(Oge,{root:e,...t})),n[l]}function ZE(e,t,c){let n=Qge(t);return u9.set(e,c),n.observe(e),()=>{u9.delete(e),n.unobserve(e)}}var Uge={some:0,all:1},zZ=class extends jc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:c,margin:n,amount:l="some",once:o}=t,d={root:c?c.current:void 0,rootMargin:n,threshold:typeof l=="number"?l:Uge[l]},i=r=>{let{isIntersecting:a}=r;if(this.isInView===a||(this.isInView=a,o&&!a&&this.hasEnteredView))return;a&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",a);let{onViewportEnter:s,onViewportLeave:b}=this.node.getProps(),m=a?s:b;m&&m(r)};return ZE(this.node.current,d,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:c}=this.node;["amount","margin","root"].some(Ege(t,c))&&this.startObserver()}unmount(){}};function Ege({viewport:e={}},{viewport:t={}}={}){return c=>e[c]!==t[c]}var fE={inView:{Feature:zZ},tap:{Feature:kZ},focus:{Feature:wZ},hover:{Feature:SZ}};var yE={layout:{ProjectionNode:NZ,MeasureLayout:CZ}};var VE=u(E(),1);var pg={current:null},TZ={current:!1};function WE(){if(TZ.current=!0,!!am)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pg.current=e.matches;e.addListener(t),t()}else pg.current=!1}var Lge=[...z2,Vc,Dn],hE=e=>Lge.find(aZ(e));var m9=new WeakMap;function BE(e,t,c){for(let n in t){let l=t[n],o=c[n];if(jt(l))e.addValue(n,l);else if(jt(o))e.addValue(n,Ai(l,{owner:e}));else if(o!==l)if(e.hasValue(n)){let d=e.getValue(n);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{let d=e.getStaticValue(n);e.addValue(n,Ai(d!==void 0?d:l,{owner:e}))}}for(let n in c)t[n]===void 0&&e.removeValue(n);return t}var vE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],AZ=class{scrapeMotionValuesFromProps(t,c,n){return{}}constructor({parent:t,props:c,presenceContext:n,reducedMotionConfig:l,blockInitialAnimation:o,visualState:d},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ta,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=()=>{let X=vn.now();this.renderScheduledAt<X&&(this.renderScheduledAt=X,dt.render(this.render,!1,!0))};let{latestValues:r,renderState:a,onUpdate:s}=d;this.onUpdate=s,this.latestValues=r,this.baseTarget={...r},this.initialValues=c.initial?{...r}:{},this.renderState=a,this.parent=t,this.props=c,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=l,this.options=i,this.blockInitialAnimation=!!o,this.isControllingVariants=Es(c),this.isVariantNode=VI(c),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:b,...m}=this.scrapeMotionValuesFromProps(c,{},this);for(let X in m){let G=m[X];r[X]!==void 0&&jt(G)&&G.set(r[X],!1)}}mount(t){this.current=t,m9.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((c,n)=>this.bindToMotionValue(n,c)),TZ.current||WE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pg.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){m9.delete(this.current),this.projection&&this.projection.unmount(),Sl(this.notifyUpdate),Sl(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let c=this.features[t];c&&(c.unmount(),c.isMounted=!1)}this.current=null}bindToMotionValue(t,c){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=Gl.has(t),l=c.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&dt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=c.on("renderRequest",this.scheduleRender),d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,t,c)),this.valueSubscriptions.set(t,()=>{l(),o(),d&&d(),c.owner&&c.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in wi){let c=wi[t];if(!c)continue;let{isEnabled:n,Feature:l}=c;if(!this.features[t]&&l&&n(this.props)&&(this.features[t]=new l(this)),this.features[t]){let o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$t()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,c){this.latestValues[t]=c}update(t,c){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=c;for(let n=0;n<vE.length;n++){let l=vE[n];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);let o="on"+l,d=t[o];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=BE(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let c=this.getClosestVariantNode();if(c)return c.variantChildren&&c.variantChildren.add(t),()=>c.variantChildren.delete(t)}addValue(t,c){let n=this.values.get(t);c!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,c),this.values.set(t,c),this.latestValues[t]=c.get())}removeValue(t){this.values.delete(t);let c=this.valueSubscriptions.get(t);c&&(c(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,c){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&c!==void 0&&(n=Ai(c===null?void 0:c,{owner:this}),this.addValue(t,n)),n}readValue(t,c){var n;let l=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return l!=null&&(typeof l=="string"&&(rZ(l)||oZ(l))?l=parseFloat(l):!hE(l)&&Dn.test(c)&&(l=iZ(t,c)),this.setBaseTarget(t,jt(l)?l.get():l)),jt(l)?l.get():l}setBaseTarget(t,c){this.baseTarget[t]=c}getBaseTarget(t){var c;let{initial:n}=this.props,l;if(typeof n=="string"||typeof n=="object"){let d=gm(this.props,n,(c=this.presenceContext)===null||c===void 0?void 0:c.custom);d&&(l=d[t])}if(n&&l!==void 0)return l;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!jt(o)?o:this.initialValues[t]!==void 0&&l===void 0?void 0:this.baseTarget[t]}on(t,c){return this.events[t]||(this.events[t]=new qr),this.events[t].add(c)}notify(t,...c){this.events[t]&&this.events[t].notify(...c)}};var Dm=class extends AZ{constructor(){super(...arguments),this.KeyframeResolver=km}sortInstanceNodePosition(t,c){return t.compareDocumentPosition(c)&2?1:-1}getBaseTargetFromProps(t,c){return t.style?t.style[c]:void 0}removeValueFromRenderState(t,{vars:c,style:n}){delete c[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;jt(t)&&(this.childSubscription=t.on("change",c=>{this.current&&(this.current.textContent=`${c}`)}))}};function Dge(e){return window.getComputedStyle(e)}var OZ=class extends Dm{constructor(){super(...arguments),this.type="html",this.renderInstance=zI}readValueFromInstance(t,c){if(Gl.has(c)){let n=wm(c);return n&&n.default||0}else{let n=Dge(t),l=(SI(c)?n.getPropertyValue(c):n[c])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:c}){return e9(t,c)}build(t,c,n){Hm(t,c,n.transformTemplate)}scrapeMotionValuesFromProps(t,c,n){return Wm(t,c,n)}};var QZ=class extends Dm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$t}getBaseTargetFromProps(t,c){return t[c]}readValueFromInstance(t,c){if(Gl.has(c)){let n=wm(c);return n&&n.default||0}return c=TI.has(c)?c:um(c),t.getAttribute(c)}scrapeMotionValuesFromProps(t,c,n){return QI(t,c,n)}build(t,c,n){Im(t,c,this.isSVGTag,n.transformTemplate)}renderInstance(t,c,n,l){AI(t,c,n,l)}mount(t){this.isSVGTag=fm(t.tagName),super.mount(t)}};var CE=(e,t)=>Gm(e)?new QZ(t):new OZ(t,{allowProjection:e!==VE.Fragment});var FE=oQ({...dU,...fE,...RE,...yE},CE);var oa=WO(FE);var _m=u(T(),1);function Td(e){return e!=null}function JE(e){let t=e==="";return!Td(e)||t}function YE(e=[],t){return e.find(Td)??t}var _ge=e=>parseFloat(e),Rg=e=>typeof e=="string"?_ge(e):e;var NE={initial:void 0,fallback:""};function jge(e,t=NE){let{initial:c,fallback:n}={...NE,...t},[l,o]=(0,_m.useState)(e),d=Td(e);(0,_m.useEffect)(()=>{d&&l&&o(void 0)},[d,l]);let i=YE([e,l,c],n),r=(0,_m.useCallback)(a=>{d||o(a)},[d]);return[i,r]}var Ei=jge;var Hg=u(T(),1);function Mge(e,t){let c=(0,Hg.useRef)(!1);(0,Hg.useEffect)(()=>{if(c.current)return e();c.current=!0},t),(0,Hg.useEffect)(()=>()=>{c.current=!1},[])}var tb=Mge;var UZ=u(T(),1);function Do({defaultValue:e,onChange:t,value:c}){let n=typeof c<"u",l=n?c:e,[o,d]=(0,UZ.useState)(l),i=n?c:o,r=(0,UZ.useCallback)((s,...b)=>{d(s),t?.(s,...b)},[t]),a;return n&&typeof t=="function"?a=t:!n&&typeof t=="function"?a=r:a=d,[i,a]}var mo=u(E()),vg=u(E());var Pge=!1;function Kge(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]}function qge(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var SE=(function(){function e(c){var n=this;this._insertTag=function(l){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(l,o),n.tags.push(l)},this.isSpeedy=c.speedy===void 0?!Pge:c.speedy,this.tags=[],this.ctr=0,this.nonce=c.nonce,this.key=c.key,this.container=c.container,this.prepend=c.prepend,this.insertionPoint=c.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qge(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Kge(l);try{o.insertRule(n,o.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var l;return(l=n.parentNode)==null?void 0:l.removeChild(n)}),this.tags=[],this.ctr=0},e})();var bn="-ms-",Ig="-moz-",Bt="-webkit-",EZ="comm",jm="rule",Mm="decl";var wE="@import";var LZ="@keyframes";var kE="@layer";var zE=Math.abs,cb=String.fromCharCode,TE=Object.assign;function AE(e,t){return fc(e,0)^45?(((t<<2^fc(e,0))<<2^fc(e,1))<<2^fc(e,2))<<2^fc(e,3):0}function DZ(e){return e.trim()}function X9(e,t){return(e=t.exec(e))?e[0]:e}function Rt(e,t,c){return e.replace(t,c)}function Zg(e,t){return e.indexOf(t)}function fc(e,t){return e.charCodeAt(t)|0}function da(e,t,c){return e.slice(t,c)}function _n(e){return e.length}function Pm(e){return e.length}function Km(e,t){return t.push(e),e}function G9(e,t){return e.map(t).join("")}var _Z=1,qm=1,OE=0,jn=0,Cc=0,e0="";function fg(e,t,c,n,l,o,d){return{value:e,root:t,parent:c,type:n,props:l,children:o,line:_Z,column:qm,length:d,return:""}}function t0(e,t){return TE(fg("",null,null,"",null,null,0),e,{length:-e.length},t)}function QE(){return Cc}function UE(){return Cc=jn>0?fc(e0,--jn):0,qm--,Cc===10&&(qm=1,_Z--),Cc}function Mn(){return Cc=jn<OE?fc(e0,jn++):0,qm++,Cc===10&&(qm=1,_Z++),Cc}function uo(){return fc(e0,jn)}function yg(){return jn}function c0(e,t){return da(e0,e,t)}function $m(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 jZ(e){return _Z=qm=1,OE=_n(e0=e),jn=0,[]}function MZ(e){return e0="",e}function n0(e){return DZ(c0(jn-1,g9(e===91?e+2:e===40?e+1:e)))}function EE(e){for(;(Cc=uo())&&Cc<33;)Mn();return $m(e)>2||$m(Cc)>3?"":" "}function LE(e,t){for(;--t&&Mn()&&!(Cc<48||Cc>102||Cc>57&&Cc<65||Cc>70&&Cc<97););return c0(e,yg()+(t<6&&uo()==32&&Mn()==32))}function g9(e){for(;Mn();)switch(Cc){case e:return jn;case 34:case 39:e!==34&&e!==39&&g9(Cc);break;case 40:e===41&&g9(e);break;case 92:Mn();break}return jn}function DE(e,t){for(;Mn()&&e+Cc!==57;)if(e+Cc===84&&uo()===47)break;return"/*"+c0(t,jn-1)+"*"+cb(e===47?e:Mn())}function _E(e){for(;!$m(uo());)Mn();return c0(e,jn)}function PE(e){return MZ(PZ("",null,null,null,[""],e=jZ(e),0,[0],e))}function PZ(e,t,c,n,l,o,d,i,r){for(var a=0,s=0,b=d,m=0,X=0,G=0,g=1,x=1,H=1,p=0,R="",I=l,f=o,y=n,Z=R;x;)switch(G=p,p=Mn()){case 40:if(G!=108&&fc(Z,b-1)==58){Zg(Z+=Rt(n0(p),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:Z+=n0(p);break;case 9:case 10:case 13:case 32:Z+=EE(G);break;case 92:Z+=LE(yg()-1,7);continue;case 47:switch(uo()){case 42:case 47:Km($ge(DE(Mn(),yg()),t,c),r);break;default:Z+="/"}break;case 123*g:i[a++]=_n(Z)*H;case 125*g:case 59:case 0:switch(p){case 0:case 125:x=0;case 59+s:H==-1&&(Z=Rt(Z,/\f/g,"")),X>0&&_n(Z)-b&&Km(X>32?ME(Z+";",n,c,b-1):ME(Rt(Z," ","")+";",n,c,b-2),r);break;case 59:Z+=";";default:if(Km(y=jE(Z,t,c,a,s,l,i,R,I=[],f=[],b),o),p===123)if(s===0)PZ(Z,t,y,y,I,o,b,i,f);else switch(m===99&&fc(Z,3)===110?100:m){case 100:case 108:case 109:case 115:PZ(e,y,y,n&&Km(jE(e,y,y,0,0,l,i,R,l,I=[],b),f),l,f,b,i,n?I:f);break;default:PZ(Z,y,y,y,[""],f,0,i,f)}}a=s=X=0,g=H=1,R=Z="",b=d;break;case 58:b=1+_n(Z),X=G;default:if(g<1){if(p==123)--g;else if(p==125&&g++==0&&UE()==125)continue}switch(Z+=cb(p),p*g){case 38:H=s>0?1:(Z+="\f",-1);break;case 44:i[a++]=(_n(Z)-1)*H,H=1;break;case 64:uo()===45&&(Z+=n0(Mn())),m=uo(),s=b=_n(R=Z+=_E(yg())),p++;break;case 45:G===45&&_n(Z)==2&&(g=0)}}return o}function jE(e,t,c,n,l,o,d,i,r,a,s){for(var b=l-1,m=l===0?o:[""],X=Pm(m),G=0,g=0,x=0;G<n;++G)for(var H=0,p=da(e,b+1,b=zE(g=d[G])),R=e;H<X;++H)(R=DZ(g>0?m[H]+" "+p:Rt(p,/&\f/g,m[H])))&&(r[x++]=R);return fg(e,t,c,l===0?jm:i,r,a,s)}function $ge(e,t,c){return fg(e,t,c,EZ,cb(QE()),da(e,2,-2),0)}function ME(e,t,c,n){return fg(e,t,c,Mm,da(e,0,n),da(e,n+1,-1),n)}function nb(e,t){for(var c="",n=Pm(e),l=0;l<n;l++)c+=t(e[l],l,e,t)||"";return c}function KE(e,t,c,n){switch(e.type){case kE:if(e.children.length)break;case wE:case Mm:return e.return=e.return||e.value;case EZ:return"";case LZ:return e.return=e.value+"{"+nb(e.children,n)+"}";case jm:e.value=e.props.join(",")}return _n(c=nb(e.children,n))?e.return=e.value+"{"+c+"}":""}function qE(e){var t=Pm(e);return function(c,n,l,o){for(var d="",i=0;i<t;i++)d+=e[i](c,n,l,o)||"";return d}}function $E(e){return function(t){t.root||(t=t.return)&&e(t)}}BI();var exe=function(t,c,n){for(var l=0,o=0;l=o,o=uo(),l===38&&o===12&&(c[n]=1),!$m(o);)Mn();return c0(t,jn)},txe=function(t,c){var n=-1,l=44;do switch($m(l)){case 0:l===38&&uo()===12&&(c[n]=1),t[n]+=exe(jn-1,c,n);break;case 2:t[n]+=n0(l);break;case 4:if(l===44){t[++n]=uo()===58?"&\f":"",c[n]=t[n].length;break}default:t[n]+=cb(l)}while(l=Mn());return t},cxe=function(t,c){return MZ(txe(jZ(t),c))},eL=new WeakMap,nxe=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var c=t.value,n=t.parent,l=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&c.charCodeAt(0)!==58&&!eL.get(n))&&!l){eL.set(t,!0);for(var o=[],d=cxe(c,o),i=n.props,r=0,a=0;r<d.length;r++)for(var s=0;s<i.length;s++,a++)t.props[a]=o[r]?d[r].replace(/&\f/g,i[s]):i[s]+" "+d[r]}}},lxe=function(t){if(t.type==="decl"){var c=t.value;c.charCodeAt(0)===108&&c.charCodeAt(2)===98&&(t.return="",t.value="")}};function tL(e,t){switch(AE(e,t)){case 5103:return Bt+"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 Bt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Bt+e+Ig+e+bn+e+e;case 6828:case 4268:return Bt+e+bn+e+e;case 6165:return Bt+e+bn+"flex-"+e+e;case 5187:return Bt+e+Rt(e,/(\w+).+(:[^]+)/,Bt+"box-$1$2"+bn+"flex-$1$2")+e;case 5443:return Bt+e+bn+"flex-item-"+Rt(e,/flex-|-self/,"")+e;case 4675:return Bt+e+bn+"flex-line-pack"+Rt(e,/align-content|flex-|-self/,"")+e;case 5548:return Bt+e+bn+Rt(e,"shrink","negative")+e;case 5292:return Bt+e+bn+Rt(e,"basis","preferred-size")+e;case 6060:return Bt+"box-"+Rt(e,"-grow","")+Bt+e+bn+Rt(e,"grow","positive")+e;case 4554:return Bt+Rt(e,/([^-])(transform)/g,"$1"+Bt+"$2")+e;case 6187:return Rt(Rt(Rt(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return Rt(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4968:return Rt(Rt(e,/(.+:)(flex-)?(.*)/,Bt+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Bt+e+e;case 4095:case 3583:case 4068:case 2532:return Rt(e,/(.+)-inline(.+)/,Bt+"$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(_n(e)-1-t>6)switch(fc(e,t+1)){case 109:if(fc(e,t+4)!==45)break;case 102:return Rt(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+Ig+(fc(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zg(e,"stretch")?tL(Rt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fc(e,t+1)!==115)break;case 6444:switch(fc(e,_n(e)-3-(~Zg(e,"!important")&&10))){case 107:return Rt(e,":",":"+Bt)+e;case 101:return Rt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Bt+(fc(e,14)===45?"inline-":"")+"box$3$1"+Bt+"$2$3$1"+bn+"$2box$3")+e}break;case 5936:switch(fc(e,t+11)){case 114:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Bt+e+bn+Rt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Bt+e+bn+e+e}return e}var oxe=function(t,c,n,l){if(t.length>-1&&!t.return)switch(t.type){case Mm:t.return=tL(t.value,t.length);break;case LZ:return nb([t0(t,{value:Rt(t.value,"@","@"+Bt)})],l);case jm:if(t.length)return G9(t.props,function(o){switch(X9(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nb([t0(t,{props:[Rt(o,/:(read-\w+)/,":"+Ig+"$1")]})],l);case"::placeholder":return nb([t0(t,{props:[Rt(o,/:(plac\w+)/,":"+Bt+"input-$1")]}),t0(t,{props:[Rt(o,/:(plac\w+)/,":"+Ig+"$1")]}),t0(t,{props:[Rt(o,/:(plac\w+)/,bn+"input-$1")]})],l)}return""})}},dxe=[oxe],l0=function(t){var c=t.key;if(c==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var x=g.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var l=t.stylisPlugins||dxe,o={},d,i=[];d=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+c+' "]'),function(g){for(var x=g.getAttribute("data-emotion").split(" "),H=1;H<x.length;H++)o[x[H]]=!0;i.push(g)});var r,a=[nxe,lxe];{var s,b=[KE,$E(function(g){s.insert(g)})],m=qE(a.concat(l,b)),X=function(x){return nb(PE(x),m)};r=function(x,H,p,R){s=p,X(x?x+"{"+H.styles+"}":H.styles),R&&(G.inserted[H.name]=!0)}}var G={key:c,sheet:new SE({key:c,container:d,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:r};return G.sheet.hydrate(i),G};function Wg(){return Wg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)({}).hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e},Wg.apply(null,arguments)}var Rxe=!0;function ia(e,t,c){var n="";return c.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):l&&(n+=l+" ")}),n}var o0=function(t,c,n){var l=t.key+"-"+c.name;(n===!1||Rxe===!1)&&t.registered[l]===void 0&&(t.registered[l]=c.styles)},Li=function(t,c,n){o0(t,c,n);var l=t.key+"-"+c.name;if(t.inserted[c.name]===void 0){var o=c;do t.insert(c===o?"."+l:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function mL(e){for(var t=0,c,n=0,l=e.length;l>=4;++n,l-=4)c=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,t=(c&65535)*1540483477+((c>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var XL={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};BI();var Hxe=!1,Ixe=/[A-Z]|^ms/g,Zxe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pL=function(t){return t.charCodeAt(1)===45},GL=function(t){return t!=null&&typeof t!="boolean"},Z9=hI(function(e){return pL(e)?e:e.replace(Ixe,"-$&").toLowerCase()}),gL=function(t,c){switch(t){case"animation":case"animationName":if(typeof c=="string")return c.replace(Zxe,function(n,l,o){return Ad={name:l,styles:o,next:Ad},l})}return XL[t]!==1&&!pL(t)&&typeof c=="number"&&c!==0?c+"px":c},fxe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function hg(e,t,c){if(c==null)return"";var n=c;if(n.__emotion_styles!==void 0)return n;switch(typeof c){case"boolean":return"";case"object":{var l=c;if(l.anim===1)return Ad={name:l.name,styles:l.styles,next:Ad},l.name;var o=c;if(o.styles!==void 0){var d=o.next;if(d!==void 0)for(;d!==void 0;)Ad={name:d.name,styles:d.styles,next:Ad},d=d.next;var i=o.styles+";";return i}return yxe(e,t,c)}case"function":{if(e!==void 0){var r=Ad,a=c(e);return Ad=r,hg(e,t,a)}break}}var s=c;if(t==null)return s;var b=t[s];return b!==void 0?b:s}function yxe(e,t,c){var n="";if(Array.isArray(c))for(var l=0;l<c.length;l++)n+=hg(e,t,c[l])+";";else for(var o in c){var d=c[o];if(typeof d!="object"){var i=d;t!=null&&t[i]!==void 0?n+=o+"{"+t[i]+"}":GL(i)&&(n+=Z9(o)+":"+gL(o,i)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&Hxe)throw new Error(fxe);if(Array.isArray(d)&&typeof d[0]=="string"&&(t==null||t[d[0]]===void 0))for(var r=0;r<d.length;r++)GL(d[r])&&(n+=Z9(o)+":"+gL(o,d[r])+";");else{var a=hg(e,t,d);switch(o){case"animation":case"animationName":{n+=Z9(o)+":"+a+";";break}default:n+=o+"{"+a+"}"}}}}return n}var xL=/label:\s*([^\s;{]+)\s*(;|$)/g,Ad;function Od(e,t,c){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,l="";Ad=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,l+=hg(c,t,o);else{var d=o;l+=d[0]}for(var i=1;i<e.length;i++)if(l+=hg(c,t,e[i]),n){var r=o;l+=r[i]}xL.lastIndex=0;for(var a="",s;(s=xL.exec(l))!==null;)a+="-"+s[1];var b=mL(l)+a;return{name:b,styles:l,next:Ad}}var rf=u(E()),Wxe=function(t){return t()},hxe=rf.useInsertionEffect?rf.useInsertionEffect:!1,Bg=hxe||Wxe;var RL=!1,y9=mo.createContext(typeof HTMLElement<"u"?l0({key:"css"}):null),W9=y9.Provider,h9=function(){return(0,vg.useContext)(y9)},Vg=function(t){return(0,vg.forwardRef)(function(c,n){var l=(0,vg.useContext)(y9);return t(c,l,n)})},Cg=mo.createContext({});var af={}.hasOwnProperty,f9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",HL=function(t,c){var n={};for(var l in c)af.call(c,l)&&(n[l]=c[l]);return n[f9]=t,n},Bxe=function(t){var c=t.cache,n=t.serialized,l=t.isStringTag;return o0(c,n,l),Bg(function(){return Li(c,n,l)}),null},vxe=Vg(function(e,t,c){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var l=e[f9],o=[n],d="";typeof e.className=="string"?d=ia(t.registered,o,e.className):e.className!=null&&(d=e.className+" ");var i=Od(o,void 0,mo.useContext(Cg));d+=t.key+"-"+i.name;var r={};for(var a in e)af.call(e,a)&&a!=="css"&&a!==f9&&!RL&&(r[a]=e[a]);return r.className=d,c&&(r.ref=c),mo.createElement(mo.Fragment,null,mo.createElement(Bxe,{cache:t,serialized:i,isStringTag:typeof l=="string"}),mo.createElement(l,r))}),IL=vxe;var d0=u(E());var Nlt=u(uL()),ZL=function(t,c){var n=arguments;if(c==null||!af.call(c,"css"))return d0.createElement.apply(void 0,n);var l=n.length,o=new Array(l);o[0]=IL,o[1]=HL(t,c);for(var d=2;d<l;d++)o[d]=n[d];return d0.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(ZL||(ZL={}));function Re(){for(var e=arguments.length,t=new Array(e),c=0;c<e;c++)t[c]=arguments[c];return Od(t)}function Qd(){var e=Re.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function fL(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function yL(e,t,c){var n=[],l=ia(e,n,c);return n.length<2?c:l+t(n)}var WL=function(t){var c=l0(t);c.sheet.speedy=function(i){this.isSpeedy=i},c.compat=!0;var n=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered,void 0);return Li(c,b,!1),c.key+"-"+b.name},l=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered),m="animation-"+b.name;return fL(c,{name:b.name,styles:"@keyframes "+m+"{"+b.styles+"}"}),m},o=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var b=Od(a,c.registered);fL(c,b)},d=function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return yL(c.registered,n,Vxe(a))};return{css:n,cx:d,injectGlobal:o,keyframes:l,hydrate:function(r){r.forEach(function(a){c.inserted[a]=!0})},flush:function(){c.registered={},c.inserted={},c.sheet.flush()},sheet:c.sheet,cache:c,getRegisteredStyles:ia.bind(null,c.registered),merge:yL.bind(null,c.registered,n)}},Vxe=function e(t){for(var c="",n=0;n<t.length;n++){var l=t[n];if(l!=null){var o=void 0;switch(typeof l){case"boolean":break;case"object":{if(Array.isArray(l))o=e(l);else{o="";for(var d in l)l[d]&&d&&(o&&(o+=" "),o+=d)}break}default:o=l}o&&(c&&(c+=" "),c+=o)}}return c};var Ud=WL({key:"css"}),Llt=Ud.flush,Dlt=Ud.hydrate,hL=Ud.cx,_lt=Ud.merge,jlt=Ud.getRegisteredStyles,Mlt=Ud.injectGlobal,Plt=Ud.keyframes,Klt=Ud.css,qlt=Ud.sheet,$lt=Ud.cache;var BL=u(T(),1),Cxe=e=>typeof e<"u"&&e!==null&&["name","styles"].every(t=>typeof e[t]<"u"),ec=()=>{let e=h9();return(0,BL.useCallback)((...c)=>{if(e===null)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return hL(...c.map(n=>Cxe(n)?(Li(e,n,!1),`${e.key}-${n.name}`):n))},[e])};var lb={name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"};function ra(e,t){var c=0,n,l;t=t||{};function o(){var d=n,i=arguments.length,r,a;e:for(;d;){if(d.args.length!==arguments.length){d=d.next;continue}for(a=0;a<i;a++)if(d.args[a]!==arguments[a]){d=d.next;continue e}return d!==n&&(d===l&&(l=d.prev),d.prev.next=d.next,d.next&&(d.next.prev=d.prev),d.next=n,d.prev=null,n.prev=d,n=d),d.val}for(r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return d={args:r,val:e.apply(null,r)},n?(n.prev=d,d.next=n):l=d,c===t.maxSize?(l=l.prev,l.next=null):c++,n=d,d.val}return o.clear=function(){n=null,l=null,c=0},o}for(NL={grad:.9,turn:360,rad:360/(2*Math.PI)},Ed=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},un=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=Math.pow(10,t)),Math.round(c*e)/c+0},xl=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=1),e>c?c:e>t?e:t},Y9=function(e){return(e=isFinite(e)?e%360:0)<0?e+360:e},uf=function(e,t){return t===void 0&&(t=0),un(e,t)%360},V9=function(e){return{r:xl(e.r,0,255),g:xl(e.g,0,255),b:xl(e.b,0,255),a:xl(e.a)}},bf=function(e){return{r:un(e.r),g:un(e.g),b:un(e.b),a:un(e.a,3)}},SL=/^#([0-9a-f]{3,8})$/i,ob=function(e,t){var c=e.charCodeAt(t);return(15&c)+9*(c>>6)},Jg=function(e,t){return ob(e,t)<<4|ob(e,t+1)},C9=[],Fg=0;Fg<256;Fg++)C9.push((Fg<16?"0":"")+Fg.toString(16));var NL,Ed,un,xl,Y9,uf,V9,bf,SL,ob,Jg,C9,Fg,sf=function(e){return C9[xl(e,0,255)]},wL=function(e){var t=e.r,c=e.g,n=e.b,l=e.a,o=Math.max(t,c,n),d=o-Math.min(t,c,n),i=d?o===t?(c-n)/d:o===c?2+(n-t)/d:4+(t-c)/d:0;return{h:60*(i<0?i+6:i),s:o?d/o*100:0,v:o/255*100,a:l}},kL=function(e){var t=e.h,c=e.s,n=e.v,l=e.a;t=t/360*6,c/=100,n/=100;var o=Math.floor(t),d=n*(1-c),i=n*(1-(t-o)*c),r=n*(1-(1-t+o)*c),a=o%6;return{r:255*[n,i,d,d,r,n][a],g:255*[r,n,n,i,d,d][a],b:255*[d,d,r,n,n,i][a],a:l}},vL=function(e){return{h:Y9(e.h),s:xl(e.s,0,100),l:xl(e.l,0,100),a:xl(e.a)}},VL=function(e){return{h:uf(e.h),s:un(e.s),l:un(e.l),a:un(e.a,3)}},CL=function(e){return kL((c=(t=e).s,{h:t.h,s:(c*=((n=t.l)<50?n:100-n)/100)>0?2*c/(n+c)*100:0,v:n+c,a:t.a}));var t,c,n},i0=function(e){return{h:(t=wL(e)).h,s:(l=(200-(c=t.s))*(n=t.v)/100)>0&&l<200?c*n/100/(l<=100?l:200-l)*100:0,l:l/2,a:t.a};var t,c,n,l},Fxe=/^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,Jxe=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s+([+-]?(?:\d*\.\d+|\d+))%\s+([+-]?(?:\d*\.\d+|\d+))%\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,Yxe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,Nxe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,F9={string:[[function(e){if(!SL.test(e))return null;var t=e.length;return t<=5?{r:17*ob(e,1),g:17*ob(e,2),b:17*ob(e,3),a:t===5?un(17*ob(e,4)/255,2):1}:t===7||t===9?{r:Jg(e,1),g:Jg(e,3),b:Jg(e,5),a:t===9?un(Jg(e,7)/255,2):1}:null},"hex"],[function(e){var t=Yxe.exec(e)||Nxe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:V9({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:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Fxe.exec(e)||Jxe.exec(e);if(!t)return null;var c,n,l=vL({h:(c=t[1],n=t[2],n===void 0&&(n="deg"),Number(c)*(NL[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return CL(l)},"hsl"]],object:[[function(e){var t=e.r,c=e.g,n=e.b,l=e.a,o=l===void 0?1:l;return Ed(t)&&Ed(c)&&Ed(n)?V9({r:Number(t),g:Number(c),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,c=e.s,n=e.l,l=e.a,o=l===void 0?1:l;if(!Ed(t)||!Ed(c)||!Ed(n))return null;var d=vL({h:Number(t),s:Number(c),l:Number(n),a:Number(o)});return CL(d)},"hsl"],[function(e){var t=e.h,c=e.s,n=e.v,l=e.a,o=l===void 0?1:l;if(!Ed(t)||!Ed(c)||!Ed(n))return null;var d=(function(i){return{h:Y9(i.h),s:xl(i.s,0,100),v:xl(i.v,0,100),a:xl(i.a)}})({h:Number(t),s:Number(c),v:Number(n),a:Number(o)});return kL(d)},"hsv"]]},FL=function(e,t){for(var c=0;c<t.length;c++){var n=t[c][0](e);if(n)return[n,t[c][1]]}return[null,void 0]},zL=function(e){return typeof e=="string"?FL(e.trim(),F9.string):typeof e=="object"&&e!==null?FL(e,F9.object):[null,void 0]},TL=function(e){return zL(e)[1]},B9=function(e,t){var c=i0(e);return{h:c.h,s:xl(c.s+100*t,0,100),l:c.l,a:c.a}},v9=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},JL=function(e,t){var c=i0(e);return{h:c.h,s:c.s,l:xl(c.l+100*t,0,100),a:c.a}},J9=(function(){function e(t){this.parsed=zL(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return un(v9(this.rgba),2)},e.prototype.isDark=function(){return v9(this.rgba)<.5},e.prototype.isLight=function(){return v9(this.rgba)>=.5},e.prototype.toHex=function(){return t=bf(this.rgba),c=t.r,n=t.g,l=t.b,d=(o=t.a)<1?sf(un(255*o)):"","#"+sf(c)+sf(n)+sf(l)+d;var t,c,n,l,o,d},e.prototype.toRgb=function(){return bf(this.rgba)},e.prototype.toRgbString=function(){return t=bf(this.rgba),c=t.r,n=t.g,l=t.b,(o=t.a)<1?"rgba("+c+", "+n+", "+l+", "+o+")":"rgb("+c+", "+n+", "+l+")";var t,c,n,l,o},e.prototype.toHsl=function(){return VL(i0(this.rgba))},e.prototype.toHslString=function(){return t=VL(i0(this.rgba)),c=t.h,n=t.s,l=t.l,(o=t.a)<1?"hsla("+c+", "+n+"%, "+l+"%, "+o+")":"hsl("+c+", "+n+"%, "+l+"%)";var t,c,n,l,o},e.prototype.toHsv=function(){return t=wL(this.rgba),{h:uf(t.h),s:un(t.s),v:un(t.v),a:un(t.a,3)};var t},e.prototype.invert=function(){return et({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),et(B9(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),et(B9(this.rgba,-t))},e.prototype.grayscale=function(){return et(B9(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),et(JL(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),et(JL(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(i0(this.rgba).h+t)},e.prototype.alpha=function(t){return typeof t=="number"?et({r:(c=this.rgba).r,g:c.g,b:c.b,a:t}):un(this.rgba.a,3);var c},e.prototype.hue=function(t){var c=i0(this.rgba);return typeof t=="number"?et({h:t,s:c.s,l:c.l,a:c.a}):uf(c.h)},e.prototype.isEqual=function(t){return this.toHex()===et(t).toHex()},e})(),et=function(e){return e instanceof J9?e:new J9(e)},YL=[],pl=function(e){e.forEach(function(t){YL.indexOf(t)<0&&(t(J9,F9),YL.push(t))})};var Rl=function(e,t){var c={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"},n={};for(var l in c)n[c[l]]=l;var o={};e.prototype.toName=function(d){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var i,r,a=n[this.toHex()];if(a)return a;if(d?.closest){var s=this.toRgb(),b=1/0,m="black";if(!o.length)for(var X in c)o[X]=new e(c[X]).toRgb();for(var G in c){var g=(i=s,r=o[G],Math.pow(i.r-r.r,2)+Math.pow(i.g-r.g,2)+Math.pow(i.b-r.b,2));g<b&&(b=g,m=G)}return m}},t.string.push([function(d){var i=d.toLowerCase(),r=i==="transparent"?"#0000":c[i];return r?new e(r).toRgb():null},"name"])};var N9;pl([Rl]);function Sxe(){if(!(typeof document>"u")){if(!N9){let e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),N9=e}return N9}}function wxe(e){return typeof e!="string"?!1:et(e).isValid()}function kxe(e){if(typeof e!="string")return"";if(wxe(e))return e;if(!e.includes("var(")||typeof document>"u")return"";let t=Sxe();if(!t)return"";t.style.background=e;let c=window?.getComputedStyle(t).background;return t.style.background="",c||""}var zxe=ra(kxe);function Txe(e){let t=zxe(e);return et(t).isLight()?"#000000":"#ffffff"}function AL(e){return Txe(e)==="#000000"?"dark":"light"}var mf=u(Ze(),1),OL=new RegExp(/-left/g),QL=new RegExp(/-right/g),UL=new RegExp(/Left/g),EL=new RegExp(/Right/g);function Axe(e){return e==="left"?"right":e==="right"?"left":OL.test(e)?e.replace(OL,"-right"):QL.test(e)?e.replace(QL,"-left"):UL.test(e)?e.replace(UL,"Right"):EL.test(e)?e.replace(EL,"Left"):e}var Oxe=(e={})=>Object.fromEntries(Object.entries(e).map(([t,c])=>[Axe(t),c]));function yc(e={},t){return()=>t?(0,mf.isRTL)()?Re(t,"",""):Re(e,"",""):(0,mf.isRTL)()?Re(Oxe(e),"",""):Re(e,"","")}yc.watch=()=>(0,mf.isRTL)();var LL={"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"};function _o(e){return LL[e]??""}var Qxe="#fff",Uxe={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},Exe={yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},aa={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))"}},Lxe={background:aa.background,backgroundDisabled:aa.gray[100],border:aa.gray[600],borderHover:aa.gray[700],borderFocus:aa.accent,borderDisabled:"var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb)",textDisabled:"var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d)",darkGrayPlaceholder:`color-mix(in srgb, ${aa.foreground}, transparent 38%)`,lightGrayPlaceholder:`color-mix(in srgb, ${aa.background}, transparent 35%)`},oe=Object.freeze({gray:Uxe,white:Qxe,alert:Exe,theme:aa,ui:Lxe});var Yg="36px",Dxe={controlPaddingX:12,controlPaddingXSmall:8,controlPaddingXLarge:12*1.3334,controlBoxShadowFocus:`0 0 0 0.5px ${oe.theme.accent}`,controlHeight:Yg,controlHeightXSmall:`calc( ${Yg} * 0.6 )`,controlHeightSmall:`calc( ${Yg} * 0.8 )`,controlHeightLarge:`calc( ${Yg} * 1.2 )`,controlHeightXLarge:`calc( ${Yg} * 1.4 )`},de=Object.assign({},Dxe,{colorDivider:"rgba(0, 0, 0, 0.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:oe.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});var S9=Re("font-size:11px;font-weight:",de.fontWeightEmphasis,";line-height:1.4;text-transform:uppercase;","");var Xo=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"}}),DL=e=>e.args?.length?`${e.function}(${e.args.join(",")})`:e.function,Vn=Object.freeze({SLIDE_DISTANCE:`${Xo.SLIDE_DISTANCE}px`,SLIDE_DURATION:`${Xo.SLIDE_DURATION}ms`,SLIDE_EASING:DL(Xo.SLIDE_EASING),FADE_DURATION:`${Xo.FADE_DURATION}ms`,FADE_EASING:DL(Xo.FADE_EASING)});var _xe={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"},sa=e=>_xe[e]??"bottom",jxe={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=>{let t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",c=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:jxe[e],initial:{opacity:0,[t]:`${Xo.SLIDE_DISTANCE*c}px`},animate:{opacity:1,[t]:0},transition:{opacity:{duration:Xo.FADE_DURATION/1e3,ease:Xo.FADE_EASING.function},[t]:{duration:Xo.SLIDE_DURATION/1e3,ease:Lo(...Xo.SLIDE_EASING.args)}}}};function Mxe(e){return!!e?.top}function Pxe(e){return!!e?.current}var jL=({anchor:e,anchorRef:t,anchorRect:c,getAnchorRect:n,fallbackReferenceElement:l})=>{let o=null;return e?o=e:Mxe(t)?o={getBoundingClientRect(){let d=t.top.getBoundingClientRect(),i=t.bottom.getBoundingClientRect();return new window.DOMRect(d.x,d.y,d.width,i.bottom-d.top)}}:Pxe(t)?o=t.current:t?o=t:c?o={getBoundingClientRect(){return c}}:n?o={getBoundingClientRect(){let d=n(l);return new window.DOMRect(d.x??d.left,d.y??d.top,d.width??d.right-d.left,d.height??d.bottom-d.top)}}:l&&(o=l.parentElement),o??null},w9=e=>e===null||Number.isNaN(e)?void 0:Math.round(e);var ML=u(T(),1),Xf=(0,ML.createContext)({isNestedInTooltip:!1});Xf.displayName="TooltipInternalContext";var db=u(F(),1),Kxe=700,qxe={isNestedInTooltip:!0};function $xe(e,t){let{children:c,className:n,delay:l=Kxe,hideOnClick:o=!0,placement:d,position:i,shortcut:r,text:a,...s}=e,{isNestedInTooltip:b}=(0,ba.useContext)(Xf),m=(0,PL.useInstanceId)(qL,"tooltip"),X=a||r?m:void 0,G=ba.Children.count(c)===1,g;d!==void 0?g=d:i!==void 0&&(g=sa(i),(0,KL.default)("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),g=g||"top";let x=TH({placement:g,showTimeout:l}),H=$(x,"mounted");if(b)return G?(0,db.jsx)(Bd,{...s,render:c}):c;function p(R){return X&&H&&R.props["aria-describedby"]===void 0&&R.props["aria-label"]!==a?(0,ba.cloneElement)(R,{"aria-describedby":X}):R}return(0,db.jsxs)(Xf.Provider,{value:qxe,children:[(0,db.jsx)(NH,{onClick:o?x.hide:void 0,store:x,render:G?p(c):void 0,ref:t,children:G?void 0:c}),G&&(a||r)&&(0,db.jsxs)(JH,{...s,className:w("components-tooltip",n),unmountOnHide:!0,gutter:4,id:X,overflowPadding:.5,store:x,children:[a,r&&(0,db.jsx)(xI,{className:a?"components-tooltip__shortcut":"",shortcut:r})]})]})}var qL=(0,ba.forwardRef)($xe),Hl=qL;var dD=u(cD(),1),iD=u(Gf(),1);function lD(e){return Object.prototype.toString.call(e)==="[object Object]"}function oD(e){var t,c;return lD(e)===!1?!1:(t=e.constructor,t===void 0?!0:(c=t.prototype,!(lD(c)===!1||c.hasOwnProperty("isPrototypeOf")===!1)))}var Ld=u(T(),1),Kot=u(En(),1);var rD=u(F(),1),Sg=(0,Ld.createContext)({});Sg.displayName="ComponentsContext";var gf=()=>(0,Ld.useContext)(Sg);function mpe({value:e}){let t=gf(),c=(0,Ld.useRef)(e);return tb(()=>{(0,iD.default)(c.current,e)&&c.current},[e]),(0,Ld.useMemo)(()=>(0,dD.default)(t??{},e??{},{isMergeableObject:oD}),[t,e])}var Xpe=({children:e,value:t})=>{let c=mpe({value:t});return(0,rD.jsx)(Sg.Provider,{value:c,children:e})},ib=(0,Ld.memo)(Xpe);var GD=u(T(),1),Gdt=u(En(),1);var aD="data-wp-component",sD="data-wp-c16t",rb="__contextSystemKey__";var a0=function(){return a0=Object.assign||function(t){for(var c,n=1,l=arguments.length;n<l;n++){c=arguments[n];for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(t[o]=c[o])}return t},a0.apply(this,arguments)};function bD(e){return e.toLowerCase()}var Gpe=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],gpe=/[^A-Z0-9]+/gi;function mD(e,t){t===void 0&&(t={});for(var c=t.splitRegexp,n=c===void 0?Gpe:c,l=t.stripRegexp,o=l===void 0?gpe:l,d=t.transform,i=d===void 0?bD:d,r=t.delimiter,a=r===void 0?" ":r,s=uD(uD(e,n,"$1\0$2"),o,"\0"),b=0,m=s.length;s.charAt(b)==="\0";)b++;for(;s.charAt(m-1)==="\0";)m--;return s.slice(b,m).split("\0").map(i).join(a)}function uD(e,t,c){return t instanceof RegExp?e.replace(t,c):t.reduce(function(n,l){return n.replace(l,c)},e)}function XD(e,t){return t===void 0&&(t={}),mD(e,a0({delimiter:"."},t))}function xf(e,t){return t===void 0&&(t={}),XD(e,a0({delimiter:"-"},t))}function xpe(e){return`components-${xf(e)}`}var pf=ra(xpe);function ie(e,t){return gD(e,t,{forwardsRef:!0})}function ab(e,t){return gD(e,t)}function gD(e,t,c){let n=c?.forwardsRef?(0,GD.forwardRef)(e):e,l=n[rb]||[t];return Array.isArray(t)&&(l=[...l,...t]),typeof t=="string"&&(l=[...l,t]),Object.assign(n,{[rb]:[...new Set(l)],displayName:t,selector:`.${pf(t)}`})}function k9(e){if(!e)return[];let t=[];return e[rb]&&(t=e[rb]),e.type&&e.type[rb]&&(t=e.type[rb]),t}function wg(e,t){return e?typeof t=="string"?k9(e).includes(t):Array.isArray(t)?t.some(c=>k9(e).includes(c)):!1:!1}var Zdt=u(En(),1);function xD(e){return{[aD]:e}}function pD(){return{[sD]:!0}}function ae(e,t){let n=gf()?.[t]||{},l={...pD(),...xD(t)},{_overrides:o,...d}=n,i=o,r=Object.entries(d).length?Object.assign({},d,e):e,a=r,b=ec()(pf(t),e.className),m=typeof a.renderChildren=="function"?a.renderChildren(r):a.children;for(let X in r)l[X]=r[X];for(let X in i)l[X]=i[X];return m!==void 0&&(l.children=m),l.className=b,l}var RD={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"};var ZD=u(T(),1);var HD=u(T(),1),ID=u(F(),1),ppe=/^(data|aria|x)-/i,Rpe=/^on[A-Z]/,Hpe=new Set(`animate animateMotion animateTransform circle clipPath defs desc ellipse | |
| 11 | + feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix | |
| 12 | + feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood | |
| 13 | + feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode | |
| 14 | + feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile | |
| 15 | + feTurbulence filter foreignObject g image line linearGradient marker mask | |
| 16 | + metadata mpath path pattern polygon polyline radialGradient rect set stop svg | |
| 17 | + switch symbol text textPath tspan use view`.split(/\s+/)),Ipe=new Set(`children dangerouslySetInnerHTML key autoFocus defaultValue defaultChecked | |
| 18 | + innerHTML suppressContentEditableWarning suppressHydrationWarning valueLink | |
| 19 | + abbr accept acceptCharset accessKey action allow allowUserMedia | |
| 20 | + allowPaymentRequest allowFullScreen allowTransparency alt async autoComplete | |
| 21 | + autoPlay capture cellPadding cellSpacing challenge charSet checked cite classID | |
| 22 | + className cols colSpan content contentEditable contextMenu controls controlsList | |
| 23 | + coords crossOrigin data dateTime decoding default defer dir disabled | |
| 24 | + disablePictureInPicture disableRemotePlayback download draggable encType | |
| 25 | + enterKeyHint fetchpriority fetchPriority form formAction formEncType formMethod | |
| 26 | + formNoValidate formTarget frameBorder headers height hidden high href hrefLang | |
| 27 | + htmlFor httpEquiv id inputMode integrity is keyParams keyType kind label lang | |
| 28 | + list loading loop low marginHeight marginWidth max maxLength media mediaGroup | |
| 29 | + method min minLength multiple muted name nonce noValidate open optimum pattern | |
| 30 | + placeholder playsInline popover popoverTarget popoverTargetAction poster | |
| 31 | + preload profile radioGroup readOnly referrerPolicy rel required reversed role | |
| 32 | + rows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes | |
| 33 | + slot span spellCheck src srcDoc srcLang srcSet start step style summary | |
| 34 | + tabIndex target title translate type useMap value width wmode wrap about | |
| 35 | + datatype inlist prefix property resource typeof vocab autoCapitalize | |
| 36 | + autoCorrect autoSave color incremental fallback inert itemProp itemScope | |
| 37 | + itemType itemID itemRef on option results security unselectable`.split(/\s+/)),Zpe=new Set(`accentHeight accumulate additive alignmentBaseline allowReorder alphabetic | |
| 38 | + amplitude arabicForm ascent attributeName attributeType autoReverse azimuth | |
| 39 | + baseFrequency baselineShift baseProfile bbox begin bias by calcMode capHeight | |
| 40 | + clip clipPathUnits clipPath clipRule colorInterpolation | |
| 41 | + colorInterpolationFilters colorProfile colorRendering contentScriptType | |
| 42 | + contentStyleType cursor cx cy d decelerate descent diffuseConstant direction | |
| 43 | + display divisor dominantBaseline dur dx dy edgeMode elevation enableBackground | |
| 44 | + end exponent externalResourcesRequired fill fillOpacity fillRule filter | |
| 45 | + filterRes filterUnits floodColor floodOpacity focusable fontFamily fontSize | |
| 46 | + fontSizeAdjust fontStretch fontStyle fontVariant fontWeight format from fr fx | |
| 47 | + fy g1 g2 glyphName glyphOrientationHorizontal glyphOrientationVertical | |
| 48 | + glyphRef gradientTransform gradientUnits hanging horizAdvX horizOriginX | |
| 49 | + ideographic imageRendering in in2 intercept k k1 k2 k3 k4 kernelMatrix | |
| 50 | + kernelUnitLength kerning keyPoints keySplines keyTimes lengthAdjust | |
| 51 | + letterSpacing lightingColor limitingConeAngle local markerEnd markerMid | |
| 52 | + markerStart markerHeight markerUnits markerWidth mask maskContentUnits | |
| 53 | + maskUnits mathematical mode numOctaves offset opacity operator order orient | |
| 54 | + orientation origin overflow overlinePosition overlineThickness panose1 | |
| 55 | + paintOrder pathLength patternContentUnits patternTransform patternUnits | |
| 56 | + pointerEvents points pointsAtX pointsAtY pointsAtZ preserveAlpha | |
| 57 | + preserveAspectRatio primitiveUnits r radius refX refY renderingIntent | |
| 58 | + repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate | |
| 59 | + rx ry scale seed shapeRendering slope spacing specularConstant | |
| 60 | + specularExponent speed spreadMethod startOffset stdDeviation stemh stemv | |
| 61 | + stitchTiles stopColor stopOpacity strikethroughPosition strikethroughThickness | |
| 62 | + string stroke strokeDasharray strokeDashoffset strokeLinecap strokeLinejoin | |
| 63 | + strokeMiterlimit strokeOpacity strokeWidth surfaceScale systemLanguage | |
| 64 | + tableValues targetX targetY textAnchor textDecoration textRendering textLength | |
| 65 | + to transform u1 u2 underlinePosition underlineThickness unicode unicodeBidi | |
| 66 | + unicodeRange unitsPerEm vAlphabetic vHanging vIdeographic vMathematical values | |
| 67 | + vectorEffect version vertAdvY vertOriginX vertOriginY viewBox viewTarget | |
| 68 | + visibility widths wordSpacing writingMode x xHeight x1 x2 xChannelSelector | |
| 69 | + xlinkActuate xlinkArcrole xlinkHref xlinkRole xlinkShow xlinkTitle xlinkType | |
| 70 | + xmlBase xmlns xmlnsXlink xmlLang xmlSpace y y1 y2 yChannelSelector z | |
| 71 | + zoomAndPan`.split(/\s+/)),fpe=new Set(["autofocus","class","for"]);function ype(e,t){return ppe.test(e)||Rpe.test(e)||Ipe.has(e)||fpe.has(e)?!0:Hpe.has(t)&&Zpe.has(e)}function Wpe(e,t){return Object.fromEntries(Object.entries(e).filter(([c])=>ype(c,t)))}function hpe({as:e,...t},c){let n=e||"div",l=typeof n=="string"?Wpe(t,n):t;return(0,ID.jsx)(n,{ref:c,...l})}var Il=(0,HD.forwardRef)(hpe);var fD=u(F(),1);function Bpe({css:e,...t},c){return(0,fD.jsx)(Il,{ref:c,...t})}var vpe=Object.assign((0,ZD.forwardRef)(Bpe),{selector:".components-view"}),Ce=vpe;var yD=u(F(),1);function Vpe(e,t){let{style:c,...n}=ae(e,"VisuallyHidden");return(0,yD.jsx)(Ce,{ref:t,...n,"data-visually-hidden":"",style:{...RD,...c||{}}})}var Cpe=ie(Vpe,"VisuallyHidden"),bt=Cpe;var jo=u(Ze(),1),z9=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],WD={"top left":(0,jo.__)("Top Left"),"top center":(0,jo.__)("Top Center"),"top right":(0,jo.__)("Top Right"),"center left":(0,jo.__)("Center Left"),"center center":(0,jo.__)("Center"),center:(0,jo.__)("Center"),"center right":(0,jo.__)("Center Right"),"bottom left":(0,jo.__)("Bottom Left"),"bottom center":(0,jo.__)("Bottom Center"),"bottom right":(0,jo.__)("Bottom Right")},Rf=z9.flat();function T9(e){let c=(e==="center"?"center center":e)?.replace("-"," ");return Rf.includes(c)?c:void 0}function Hf(e,t){let c=T9(t);if(!c)return;let n=c.replace(" ","-");return`${e}-${n}`}function hD(e,t){let c=t?.replace(e+"-","");return T9(c)}function BD(e="center"){let t=T9(e);if(!t)return;let c=Rf.indexOf(t);return c>-1?c:void 0}var sb=u(F(),1),A9="data-wp-hash";function O9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Jpe(document)),e.__wpStyleRuntime}function Fpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${A9}]`))if(c.getAttribute(A9)===t)return!0;return!1}function VD(e,t,c){if(!e.head)return;let n=O9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Fpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(A9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Jpe(e){let t=O9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)VD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Ype(e,t){let c=O9();c.styles.set(e,t);for(let n of c.documents.keys())VD(n,e,t)}typeof process>"u",Ype("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var vD={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function CD({id:e,value:t,...c}){return(0,sb.jsx)(Hl,{text:WD[t],children:(0,sb.jsxs)(Bn.Item,{id:e,render:(0,sb.jsx)("span",{...c,className:w(vD.cell,c.className),role:"gridcell"}),children:[(0,sb.jsx)(bt,{children:t}),(0,sb.jsx)("span",{className:vD.point,role:"presentation"})]})})}var If=u(rt(),1);var Q9=u(F(),1),kg=24,zg=7,FD=(kg-3*zg)/2,Npe=2,Spe=4;function wpe({className:e,disablePointerEvents:t=!0,size:c,width:n,height:l,style:o={},value:d="center",...i}){return(0,Q9.jsx)(If.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${kg} ${kg}`,width:c??n??kg,height:c??l??kg,role:"presentation",className:w("component-alignment-matrix-control-icon",e),style:{pointerEvents:t?"none":void 0,...o},...i,children:Rf.map((r,a)=>{let s=BD(d)===a?Spe:Npe;return(0,Q9.jsx)(If.Rect,{x:FD+a%3*zg+(zg-s)/2,y:FD+Math.floor(a/3)*zg+(zg-s)/2,width:s,height:s,fill:"currentColor"},r)})})}var JD=wpe;var s0=u(F(),1),U9="data-wp-hash";function E9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&zpe(document)),e.__wpStyleRuntime}function kpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${U9}]`))if(c.getAttribute(U9)===t)return!0;return!1}function wD(e,t,c){if(!e.head)return;let n=E9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(kpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(U9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function zpe(e){let t=E9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)wD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Tpe(e,t){let c=E9();c.styles.set(e,t);for(let n of c.documents.keys())wD(n,e,t)}typeof process>"u",Tpe("0c5e50ec66","._02e2af5803bf5bda__grid-container{aspect-ratio:1;border:1px solid transparent;border-radius:4px;box-sizing:border-box;cursor:var(--wpds-cursor-control,pointer);direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);outline:none}.c421f8ed08c23077__grid-row{box-sizing:border-box;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}._3af769f755097fdb__cell{align-items:center;appearance:none;border:none;box-sizing:border-box;display:flex;justify-content:center;margin:0;outline:none;padding:0;position:relative}._37ef12d4fb6d6131__point{aspect-ratio:1;border:3px solid;box-sizing:border-box;color:var(--wp-components-color-gray-400,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));contain:strict;display:block;margin:auto;width:6px}._3af769f755097fdb__cell[data-active-item] ._37ef12d4fb6d6131__point{color:var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e));transform:scale(1.6666666667)}._3af769f755097fdb__cell:not([data-active-item]):hover ._37ef12d4fb6d6131__point{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}._3af769f755097fdb__cell[data-focus-visible] ._37ef12d4fb6d6131__point{outline:1px solid var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));outline-offset:1px}@media not (prefers-reduced-motion){._37ef12d4fb6d6131__point{transition-duration:.12s;transition-property:color,transform;transition-timing-function:linear}}");var YD={"grid-container":"_02e2af5803bf5bda__grid-container","grid-row":"c421f8ed08c23077__grid-row",cell:"_3af769f755097fdb__cell",point:"_37ef12d4fb6d6131__point"};function kD({className:e,id:t,label:c=(0,Zf.__)("Alignment Matrix Control"),defaultValue:n="center center",value:l,onChange:o,width:d=92,...i}){let r=(0,ND.useInstanceId)(kD,"alignment-matrix-control",t),a=(0,SD.useCallback)(b=>{let m=hD(r,b);m&&o?.(m)},[r,o]),s=w("component-alignment-matrix-control",YD["grid-container"],e);return(0,s0.jsx)(Bn,{defaultActiveId:Hf(r,n),activeId:Hf(r,l),setActiveId:a,rtl:(0,Zf.isRTL)(),render:(0,s0.jsx)("div",{...i,className:s,"aria-label":c,id:r,role:"grid",style:{width:`${d}px`}}),children:z9.map((b,m)=>(0,s0.jsx)(Bn.Row,{render:(0,s0.jsx)("div",{className:YD["grid-row"],role:"row"}),children:b.map(X=>(0,s0.jsx)(CD,{id:Hf(r,X),value:X},X))},m))})}var Ape=Object.assign(kD,{Icon:Object.assign(JD,{displayName:"AlignmentMatrixControl.Icon"})}),L9=Ape;var zD=u(Xt(),1);function Ope(e){return e==="appear"?"top":"left"}function D9(e){if(e.type==="loading")return"components-animate__loading";let{type:t,origin:c=Ope(t)}=e;if(t==="appear"){let[n,l="center"]=c.split(" ");return w("components-animate__appear",{["is-from-"+l]:l!=="center",["is-from-"+n]:n!=="middle"})}if(t==="slide-in")return w("components-animate__slide-in","is-from-"+c)}function Qpe({type:e,options:t={},children:c}){return(0,zD.default)("wp.components.Animate",{since:"7.2",version:"7.4"}),c({className:D9({type:e,...t})})}var TD=Qpe;var v_=u(T(),1),Iy=u(Ze(),1);var AD=u(Xt(),1);var ff=u(T(),1),_9=["40em","52em","64em"],Upe=(e={})=>{let{defaultIndex:t=0,enabled:c=!0}=e;if(typeof t!="number")throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>_9.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${_9.length} breakpoints, got index ${t}`);let[n,l]=(0,ff.useState)(t);return(0,ff.useEffect)(()=>{if(!c)return;let o=()=>_9.filter(i=>typeof window<"u"?window.matchMedia(`screen and (min-width: ${i})`).matches:!1).length,d=()=>{let i=o();n!==i&&l(i)};return d(),typeof window<"u"&&window.addEventListener("resize",d),()=>{typeof window<"u"&&window.removeEventListener("resize",d)}},[n,c]),n};function Tg(e,t={}){let c=Array.isArray(e)&&e.length>1,n=Upe({...t,enabled:c});if(!Array.isArray(e)&&typeof e!="function")return e;let l=e||[];return l[n>=l.length?l.length-1:n]}var Epe="4px";function K(e){if(typeof e>"u")return;if(!e)return"0";let t=typeof e=="number"?e:Number(e);return typeof window<"u"&&window.CSS?.supports?.("margin",e.toString())||Number.isNaN(t)?e.toString():`calc(${Epe} * ${e})`}var j9="data-wp-hash";function M9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Dpe(document)),e.__wpStyleRuntime}function Lpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${j9}]`))if(c.getAttribute(j9)===t)return!0;return!1}function OD(e,t,c){if(!e.head)return;let n=M9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Lpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(j9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Dpe(e){let t=M9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)OD(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function _pe(e,t){let c=M9();c.styles.set(e,t);for(let n of c.documents.keys())OD(n,e,t)}typeof process>"u",_pe("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 Ag={flex:"e518617e7c3a18e7__flex","expanded-column":"e4a76957e0b12292__expanded-column","expanded-row":"cc39999a5fb580d4__expanded-row",item:"bc09d0edcc10c304__item",block:"c184ec8e81027f31__block","items-column":"f9694ed4faabfc82__items-column","items-row":"_3896336788892095__items-row"};function jpe(e){let{isReversed:t,...c}=e;return typeof t<"u"?((0,AD.default)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...c,direction:t?"row-reverse":"row"}):c}function b0(e){let{align:t,className:c,direction:n="row",expanded:l=!0,gap:o=2,justify:d="space-between",style:i,wrap:r=!1,...a}=ae(jpe(e),"Flex"),s=Array.isArray(n)?n:[n],b=Tg(s),m=typeof b=="string"&&!!b.includes("column"),X={...i,"--wp-components-flex-align":t??(m?"normal":"center"),"--wp-components-flex-direction":b,"--wp-components-flex-wrap":r?"wrap":"nowrap","--wp-components-flex-gap":K(o),"--wp-components-flex-justify":d};return{...a,className:w(Ag.flex,m?Ag["items-column"]:Ag["items-row"],l&&(m?Ag["expanded-column"]:Ag["expanded-row"]),c),style:X,isColumn:m}}var yf=u(T(),1),P9=(0,yf.createContext)({flexItemDisplay:void 0}),QD=()=>(0,yf.useContext)(P9);var K9=u(F(),1);function Mpe(e,t){let{children:c,isColumn:n,...l}=b0(e);return(0,K9.jsx)(P9.Provider,{value:{flexItemDisplay:n?"block":void 0},children:(0,K9.jsx)(Ce,{...l,ref:t,children:c})})}var Ppe=ie(Mpe,"Flex"),Mt=Ppe;var q9="data-wp-hash";function $9(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&qpe(document)),e.__wpStyleRuntime}function Kpe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${q9}]`))if(c.getAttribute(q9)===t)return!0;return!1}function ED(e,t,c){if(!e.head)return;let n=$9(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Kpe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(q9,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function qpe(e){let t=$9();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)ED(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function $pe(e,t){let c=$9();c.styles.set(e,t);for(let n of c.documents.keys())ED(n,e,t)}typeof process>"u",$pe("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 UD={flex:"e518617e7c3a18e7__flex","expanded-column":"e4a76957e0b12292__expanded-column","expanded-row":"cc39999a5fb580d4__expanded-row",item:"bc09d0edcc10c304__item",block:"c184ec8e81027f31__block","items-column":"f9694ed4faabfc82__items-column","items-row":"_3896336788892095__items-row"};function u0(e){let{className:t,display:c,isBlock:n=!1,style:l,...o}=ae(e,"FlexItem"),d=QD().flexItemDisplay,r={...l,"--wp-components-flex-item-display":c||d||"block"};return{...o,className:w(UD.item,n&&UD.block,t),style:r}}var LD=u(F(),1);function eRe(e,t){let c=u0(e);return(0,LD.jsx)(Ce,{...c,ref:t})}var tRe=ie(eRe,"FlexItem"),Cn=tRe;function eV(e){let t=ae(e,"FlexBlock");return u0({isBlock:!0,...t})}var DD=u(F(),1);function cRe(e,t){let c=eV(e);return(0,DD.jsx)(Ce,{...c,ref:t})}var nRe=ie(cRe,"FlexBlock"),Pn=nRe;var tV="data-wp-hash";function cV(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&oRe(document)),e.__wpStyleRuntime}function lRe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${tV}]`))if(c.getAttribute(tV)===t)return!0;return!1}function _D(e,t,c){if(!e.head)return;let n=cV(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(lRe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(tV,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function oRe(e){let t=cV();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_D(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dRe(e,t){let c=cV();c.styles.set(e,t);for(let n of c.documents.keys())_D(n,e,t)}typeof process>"u",dRe("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 iRe={spacer:"_91de5852bdb7a4b8__spacer"};function Zl(e){return typeof e<"u"&&e!==null}function jD(e){let{className:t,margin:c,marginBottom:n=2,marginLeft:l,marginRight:o,marginTop:d,marginX:i,marginY:r,padding:a,paddingBottom:s,paddingLeft:b,paddingRight:m,paddingTop:X,paddingX:G,paddingY:g,style:x,...H}=ae(e,"Spacer"),p={};Zl(c)&&(p["--wp-components-spacer-margin"]=K(c)),Zl(r)&&(p["--wp-components-spacer-margin-block-start"]=K(r),p["--wp-components-spacer-margin-block-end"]=K(r)),Zl(i)&&(p["--wp-components-spacer-margin-inline-start"]=K(i),p["--wp-components-spacer-margin-inline-end"]=K(i)),Zl(d)&&(p["--wp-components-spacer-margin-block-start"]=K(d)),Zl(n)&&(p["--wp-components-spacer-margin-block-end"]=K(n)),Zl(l)&&(p["--wp-components-spacer-margin-inline-start"]=K(l)),Zl(o)&&(p["--wp-components-spacer-margin-inline-end"]=K(o)),Zl(a)&&(p["--wp-components-spacer-padding"]=K(a)),Zl(g)&&(p["--wp-components-spacer-padding-block-start"]=K(g),p["--wp-components-spacer-padding-block-end"]=K(g)),Zl(G)&&(p["--wp-components-spacer-padding-inline-start"]=K(G),p["--wp-components-spacer-padding-inline-end"]=K(G)),Zl(X)&&(p["--wp-components-spacer-padding-block-start"]=K(X)),Zl(s)&&(p["--wp-components-spacer-padding-block-end"]=K(s)),Zl(b)&&(p["--wp-components-spacer-padding-inline-start"]=K(b)),Zl(m)&&(p["--wp-components-spacer-padding-inline-end"]=K(m));let R={...p,...x};return{...H,className:w(iRe.spacer,t),style:R}}var MD=u(F(),1);function rRe(e,t){let c=jD(e);return(0,MD.jsx)(Ce,{...c,ref:t})}var aRe=ie(rRe,"Spacer"),Pc=aRe;var Ry=u(T(),1),H0=u(Ze(),1);var Wf=u(T(),1),Kc=(0,Wf.forwardRef)(({icon:e,size:t=24,style:c,...n},l)=>{let o=e.props.style,d=o||c?{...o,...c}:void 0;return(0,Wf.cloneElement)(e,{width:t,height:t,...n,...d?{style:d}:{},ref:l})});var hf=u(rt(),1),nV=u(F(),1),Bf=(0,nV.jsx)(hf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,nV.jsx)(hf.Path,{d:"M20 12L5 12M10 7L5 12L10 17",vectorEffect:"non-scaling-stroke"})});var vf=u(rt(),1),lV=u(F(),1),Vf=(0,lV.jsx)(vf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,lV.jsx)(vf.Path,{d:"M4 12L19 12M14 17L19 12L14 7",vectorEffect:"non-scaling-stroke"})});var Cf=u(rt(),1),oV=u(F(),1),dV=(0,oV.jsx)(Cf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,oV.jsx)(Cf.Path,{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"})});var Ff=u(rt(),1),iV=u(F(),1),qc=(0,iV.jsx)(Ff.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,iV.jsx)(Ff.Path,{d:"M7 12L10 15L17 8",vectorEffect:"non-scaling-stroke"})});var Jf=u(rt(),1),rV=u(F(),1),Og=(0,rV.jsx)(Jf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,rV.jsx)(Jf.Path,{d:"M7 11L12 15L17 11",vectorEffect:"non-scaling-stroke"})});var Yf=u(rt(),1),aV=u(F(),1),Qg=(0,aV.jsx)(Yf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,aV.jsx)(Yf.Path,{d:"M10.5 8.5L13.5 12L10.5 15.5",vectorEffect:"non-scaling-stroke"})});var Nf=u(rt(),1),sV=u(F(),1),bV=(0,sV.jsx)(Nf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,sV.jsx)(Nf.Path,{d:"M10 6.5L15 12L10 17.5",vectorEffect:"non-scaling-stroke"})});var Sf=u(rt(),1),uV=u(F(),1),mV=(0,uV.jsx)(Sf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,uV.jsx)(Sf.Path,{d:"M7 13L12 9L17 13",vectorEffect:"non-scaling-stroke"})});var wf=u(rt(),1),XV=u(F(),1),Di=(0,XV.jsx)(wf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,XV.jsx)(wf.Path,{d:"M7.75 16.25L16.25 7.75M16.25 16.25L7.75 7.75",vectorEffect:"non-scaling-stroke"})});var kf=u(rt(),1),GV=u(F(),1),Ug=(0,GV.jsx)(kf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,GV.jsx)(kf.Path,{d:"M5 19L19 5M19 19L5 5",vectorEffect:"non-scaling-stroke"})});var Eg=u(rt(),1),Lg=u(F(),1),gV=(0,Lg.jsxs)(Eg.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,Lg.jsx)(Eg.Path,{d:"M20.25 6.75V19C20.25 19.6904 19.6904 20.25 19 20.25H6.75",vectorEffect:"non-scaling-stroke"}),(0,Lg.jsx)(Eg.Path,{d:"M3.75 5C3.75 4.30964 4.30964 3.75 5 3.75H16C16.6904 3.75 17.25 4.30964 17.25 5V16C17.25 16.6904 16.6904 17.25 16 17.25H5C4.30964 17.25 3.75 16.6904 3.75 16V5Z",vectorEffect:"non-scaling-stroke"})]});var zf=u(rt(),1),xV=u(F(),1),Dg=(0,xV.jsx)(zf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,xV.jsx)(zf.Path,{d:"M12 9L12 14M12 15.5V17M11.1284 5.04947L3.83827 18.0097C3.46331 18.6763 3.94502 19.5 4.70985 19.5H19.2902C20.055 19.5 20.5367 18.6763 20.1617 18.0097L12.8716 5.04947C12.4893 4.36982 11.5107 4.36982 11.1284 5.04947Z",vectorEffect:"non-scaling-stroke"})});var Tf=u(rt(),1),pV=u(F(),1),RV=(0,pV.jsx)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,pV.jsx)(Tf.Path,{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"})});var Af=u(rt(),1),HV=u(F(),1),IV=(0,HV.jsx)(Af.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,HV.jsx)(Af.Path,{d:"M5 12H8M10.5 12H13.5M16 12H19",vectorEffect:"non-scaling-stroke"})});var Of=u(rt(),1),ZV=u(F(),1),fV=(0,ZV.jsx)(Of.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,ZV.jsx)(Of.Path,{d:"M5.25 12H6.75M8.25 12H9.75M11.25 12H12.75M14.25 12H15.75M17.25 12H18.75",vectorEffect:"non-scaling-stroke"})});var Qf=u(rt(),1),yV=u(F(),1),_g=(0,yV.jsx)(Qf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,yV.jsx)(Qf.Path,{d:"M5 12H19",vectorEffect:"non-scaling-stroke"})});var Uf=u(rt(),1),WV=u(F(),1),jg=(0,WV.jsx)(Uf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,WV.jsx)(Uf.Path,{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"})});var Ef=u(rt(),1),hV=u(F(),1),Mg=(0,hV.jsx)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,hV.jsx)(Ef.Path,{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"})});var Lf=u(rt(),1),BV=u(F(),1),vV=(0,BV.jsx)(Lf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,BV.jsx)(Lf.Path,{d:"M5 12H19M5 18.25H19M5 5.75H19",vectorEffect:"non-scaling-stroke"})});var _i=u(rt(),1),ji=u(F(),1),Pg=(0,ji.jsxs)(_i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,ji.jsx)(_i.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z",fill:"currentColor",stroke:"none"}),(0,ji.jsx)(_i.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z",vectorEffect:"non-scaling-stroke"}),(0,ji.jsx)(_i.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z",vectorEffect:"non-scaling-stroke"}),(0,ji.jsx)(_i.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z",vectorEffect:"non-scaling-stroke"})]});var Df=u(rt(),1),VV=u(F(),1),Mi=(0,VV.jsx)(Df.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,VV.jsx)(Df.Path,{d:"M12 18V6M18 12H6",vectorEffect:"non-scaling-stroke"})});var Kg=u(rt(),1),qg=u(F(),1),$g=(0,qg.jsxs)(Kg.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,qg.jsx)(Kg.Path,{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,qg.jsx)(Kg.Path,{d:"M9 12L11 14L15 10",vectorEffect:"non-scaling-stroke"})]});var _f=u(rt(),1),CV=u(F(),1),ex=(0,CV.jsx)(_f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,CV.jsx)(_f.Path,{d:"M7 12H17",vectorEffect:"non-scaling-stroke"})});var jf=u(rt(),1),FV=u(F(),1),JV=(0,FV.jsx)(jf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,FV.jsx)(jf.Path,{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"})});var Mf=u(rt(),1),YV=u(F(),1),tx=(0,YV.jsx)(Mf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,YV.jsx)(Mf.Path,{d:"M5 8H19M19 16H5M10.75 8C10.75 8.82843 10.0784 9.5 9.25 9.5C8.42157 9.5 7.75 8.82843 7.75 8C7.75 7.17157 8.42157 6.5 9.25 6.5C10.0784 6.5 10.75 7.17157 10.75 8ZM16.25 16C16.25 16.8284 15.5784 17.5 14.75 17.5C13.9216 17.5 13.25 16.8284 13.25 16C13.25 15.1716 13.9216 14.5 14.75 14.5C15.5784 14.5 16.25 15.1716 16.25 16Z",vectorEffect:"non-scaling-stroke"})});var Pf=u(rt(),1),NV=u(F(),1),cx=(0,NV.jsx)(Pf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,NV.jsx)(Pf.Path,{d:"M11.0537 4.81202C11.6819 4.72933 12.3181 4.72933 12.9463 4.81202M14.7744 5.30187C15.3598 5.54434 15.9109 5.86249 16.4135 6.24819M17.7518 7.58648C18.1375 8.08914 18.4557 8.64019 18.6981 9.22555M19.188 11.0537C19.2707 11.6819 19.2707 12.3181 19.188 12.9463M18.6981 14.7744C18.4557 15.3598 18.1375 15.9109 17.7518 16.4135M16.4135 17.7518C15.9109 18.1375 15.3598 18.4557 14.7744 18.6981M12.9463 19.188C12.3181 19.2707 11.6819 19.2707 11.0537 19.188M9.22555 18.6981C8.64019 18.4557 8.08914 18.1375 7.58648 17.7518M6.24819 16.4135C5.86249 15.9109 5.54434 15.3598 5.30187 14.7744M4.81202 12.9463C4.72933 12.3181 4.72933 11.6819 4.81202 11.0537M5.30187 9.22555C5.54434 8.64019 5.86249 8.08914 6.24819 7.58648M7.58648 6.24819C8.08914 5.86249 8.64019 5.54434 9.22555 5.30187",vectorEffect:"non-scaling-stroke"})});var Kf=u(rt(),1),SV=u(F(),1),wV=(0,SV.jsx)(Kf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,SV.jsx)(Kf.Path,{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"})});var qf=u(rt(),1),kV=u(F(),1),zV=(0,kV.jsx)(qf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,kV.jsx)(qf.Path,{d:"M4.75 15V19.25H12M12 19.25V4.5M12 19.25H19.25V15M17.5 10L12 4.5L6.5 10",vectorEffect:"non-scaling-stroke"})});var H_=u(me(),1),I_=u(Xt(),1);var ua=u(E());x2();var sRe=!1,bRe=g2,uRe=function(t){return t!=="theme"},PD=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bRe:uRe},KD=function(t,c,n){var l;if(c){var o=c.shouldForwardProp;l=t.__emotion_forwardProp&&o?function(d){return t.__emotion_forwardProp(d)&&o(d)}:o}return typeof l!="function"&&n&&(l=t.__emotion_forwardProp),l},mRe=function(t){var c=t.cache,n=t.serialized,l=t.isStringTag;return o0(c,n,l),Bg(function(){return Li(c,n,l)}),null},q=function e(t,c){var n=t.__emotion_real===t,l=n&&t.__emotion_base||t,o,d;c!==void 0&&(o=c.label,d=c.target);var i=KD(t,c,n),r=i||PD(l),a=!r("as");return function(){var s=arguments,b=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&b.push("label:"+o+";"),s[0]==null||s[0].raw===void 0)b.push.apply(b,s);else{var m=s[0];b.push(m[0]);for(var X=s.length,G=1;G<X;G++)b.push(s[G],m[G])}var g=Vg(function(x,H,p){var R=a&&x.as||l,I="",f=[],y=x;if(x.theme==null){y={};for(var Z in x)y[Z]=x[Z];y.theme=ua.useContext(Cg)}typeof x.className=="string"?I=ia(H.registered,f,x.className):x.className!=null&&(I=x.className+" ");var W=Od(b.concat(f),H.registered,y);I+=H.key+"-"+W.name,d!==void 0&&(I+=" "+d);var v=a&&i===void 0?PD(R):r,h={};for(var C in x)a&&C==="as"||v(C)&&(h[C]=x[C]);return h.className=I,p&&(h.ref=p),ua.createElement(ua.Fragment,null,ua.createElement(mRe,{cache:H,serialized:W,isStringTag:typeof R=="string"}),ua.createElement(R,h))});return g.displayName=o!==void 0?o:"Styled("+(typeof l=="string"?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=b,g.__emotion_forwardProp=i,Object.defineProperty(g,"toString",{value:function(){return d===void 0&&sRe?"NO_COMPONENT_SELECTOR":"."+d}}),g.withComponent=function(x,H){var p=e(x,Wg({},c,H,{shouldForwardProp:KD(g,H,!0)}));return p.apply(void 0,b)},g}};var d_=u(me(),1),i_=u(T(),1);var H7=u(me(),1),I7=u(T(),1);var g7=u(T(),1);var m0=u(T(),1);var $f="\u2026",ma={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},XRe={ellipsis:$f,ellipsizeMode:ma.auto,limit:0,numberOfLines:0};function GRe(e,t,c,n){if(typeof e!="string")return"";let l=e.length,o=~~t,d=~~c,i=Td(n)?n:$f;return o===0&&d===0||o>=l||d>=l||o+d>=l?e:d===0?e.slice(0,o)+i:e.slice(0,o)+i+e.slice(l-d)}function qD(e="",t){let c={...XRe,...t},{ellipsis:n,ellipsizeMode:l,limit:o}=c;if(l===ma.none)return e;let d,i;switch(l){case ma.head:d=0,i=o;break;case ma.middle:d=Math.floor(o/2),i=Math.floor(o/2);break;default:d=o,i=0}return l!==ma.auto?GRe(e,d,i,n):e}var AV="data-wp-hash";function OV(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&xRe(document)),e.__wpStyleRuntime}function gRe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${AV}]`))if(c.getAttribute(AV)===t)return!0;return!1}function $D(e,t,c){if(!e.head)return;let n=OV(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(gRe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(AV,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function xRe(e){let t=OV();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$D(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function pRe(e,t){let c=OV();c.styles.set(e,t);for(let n of c.documents.keys())$D(n,e,t)}typeof process>"u",pRe("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 TV={truncate:"_51f2afb77f24a721__truncate","is-line-clamp":"d232bf8e2132288d__is-line-clamp","is-single-line":"_95bf20b727db236f__is-single-line"};function nx(e){let{className:t,children:c,ellipsis:n=$f,ellipsizeMode:l=ma.auto,limit:o=0,numberOfLines:d=0,style:i,...r}=ae(e,"Truncate"),a;typeof c=="string"?a=c:typeof c=="number"&&(a=c.toString());let s=a?qD(a,{ellipsis:n,ellipsizeMode:l,limit:o,numberOfLines:d}):c,b=!!a&&l===ma.auto,m=b&&!!d,X=m&&d===1,G=w(b&&!d&&TV.truncate,m&&TV["is-line-clamp"],X&&TV["is-single-line"],t),g=m?{...i,"--wp-components-truncate-lines":d}:i;return{...r,className:G,style:g,children:s}}var e7=u(F(),1);function RRe(e,t){let c=nx(e);return(0,e7.jsx)(Ce,{as:"span",...c,ref:t})}var HRe=ie(RRe,"Truncate"),Pi=HRe;var _V={};Fl(_V,{Text:()=>QV,block:()=>UV,destructive:()=>EV,highlighterText:()=>DV,muted:()=>LV,positive:()=>IRe,upperCase:()=>ZRe});var QV=Re("color:",oe.theme.foreground,";line-height:",de.fontLineHeightBase,";margin:0;text-wrap:pretty;",""),UV={name:"4zleql",styles:"display:block"},IRe=Re("color:",oe.alert.green,";",""),EV=Re("color:",oe.alert.red,";",""),LV=Re("color:",oe.theme.gray[700],";",""),DV=Re("mark{background:",oe.alert.yellow,";border-radius:",de.radiusSmall,";box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),ZRe={name:"50zrmy",styles:"text-transform:uppercase"};var n7=u(c7(),1),jV=u(T(),1),fRe=e=>{let t={};for(let c in e)t[c.toLowerCase()]=e[c];return t},yRe=ra(fRe);function l7({activeClassName:e="",activeIndex:t=-1,activeStyle:c,autoEscape:n,caseSensitive:l=!1,children:o,findChunks:d,highlightClassName:i="",highlightStyle:r={},highlightTag:a="mark",sanitize:s,searchWords:b=[],unhighlightClassName:m="",unhighlightStyle:X}){if(!o)return null;if(typeof o!="string")return o;let G=o,g=(0,n7.findAll)({autoEscape:n,caseSensitive:l,findChunks:d,sanitize:s,searchWords:b,textToHighlight:G}),x=a,H=-1,p="",R;return g.map((f,y)=>{let Z=G.substr(f.start,f.end-f.start);if(f.highlight){H++;let W;typeof i=="object"?l?W=i[Z]:(i=yRe(i),W=i[Z.toLowerCase()]):W=i;let v=H===+t;p=`${W} ${v?e:""}`,R=v===!0&&c!==null?Object.assign({},r,c):r;let h={children:Z,className:p,key:y,style:R};return typeof x!="string"&&(h.highlightIndex=H),(0,jV.createElement)(x,h)}return(0,jV.createElement)("span",{children:Z,className:m,key:y,style:X})})}var MV=13,o7={body:MV,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},WRe=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function ey(e=MV){if(e in o7)return ey(o7[e]);if(typeof e!="number"){let c=parseFloat(e);if(Number.isNaN(c))return e;e=c}return`calc(${`(${e} / ${MV})`} * ${de.fontSize})`}function d7(e=3){if(!WRe.includes(e))return ey(e);let t=`fontSizeH${e}`;return de[t]}function i7(e,t){if(t)return t;if(!e)return;let c=`calc(${de.controlHeight} + ${K(2)})`;switch(e){case"large":c=`calc(${de.controlHeightLarge} + ${K(2)})`;break;case"small":c=`calc(${de.controlHeightSmall} + ${K(2)})`;break;case"xSmall":c=`calc(${de.controlHeightXSmall} + ${K(2)})`;break;default:break}return c}var hRe={name:"50zrmy",styles:"text-transform:uppercase"};function lx(e){let{adjustLineHeightForInnerControls:t,align:c,children:n,className:l,color:o,ellipsizeMode:d,isDestructive:i=!1,display:r,highlightEscape:a=!1,highlightCaseSensitive:s=!1,highlightWords:b,highlightSanitize:m,isBlock:X=!1,letterSpacing:G,lineHeight:g,optimizeReadabilityFor:x,size:H,truncate:p=!1,upperCase:R=!1,variant:I,weight:f=de.fontWeight,...y}=ae(e,"Text"),Z=n,W=Array.isArray(b),v=H==="caption";if(W){if(typeof n!="string")throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");Z=l7({autoEscape:a,children:n,caseSensitive:s,searchWords:b,sanitize:m})}let h=ec(),C=(0,m0.useMemo)(()=>{let Y=i7(t,g),J=Re({color:o,display:r,fontSize:ey(H),fontWeight:f,lineHeight:Y,letterSpacing:G,textAlign:c},"",""),k=hRe,N=null;x&&(N=AL(x)==="dark"?Re({color:oe.gray[900]},"",""):Re({color:oe.white},"",""));let A=Re(QV,J,N,i&&EV,!!W&&DV,X&&UV,v&&LV,I&&_V[I],R&&k,"","");return h(A,l)},[t,c,l,o,h,r,X,v,i,W,G,g,x,H,R,I,f]),B;p===!0&&(B="auto"),p===!1&&(B="none");let V={...y,className:C,children:n,ellipsizeMode:d||B},S=nx(V);return!p&&Array.isArray(n)&&(Z=m0.Children.map(n,Y=>typeof Y!="object"||Y===null||!("props"in Y)?Y:wg(Y,["Link"])?(0,m0.cloneElement)(Y,{size:Y.props.size||"inherit"}):Y)),{...S,children:p?S.children:Z}}var r7=u(F(),1);function BRe(e,t){let c=lx(e);return(0,r7.jsx)(Ce,{as:"span",...c,ref:t})}var vRe=ie(BRe,"Text"),Kn=vRe;var a7=u(F(),1);var s7=q("span",{target:"em5sgkm8"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),b7=q("span",{target:"em5sgkm7"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),VRe=({disabled:e,isBorderless:t})=>t?"transparent":e?oe.ui.borderDisabled:oe.ui.border,CRe={name:"v60t78",styles:"@media ( forced-colors: active ){border-color:GrayText;}"},FRe=({disabled:e,isBorderless:t})=>{if(!(!e||t))return CRe},Mo=q("div",{target:"em5sgkm6"})("&&&{box-sizing:border-box;border-color:",VRe,";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;",yc({paddingLeft:2})," ",FRe,";}"),u7=q(Mt,{target:"em5sgkm5"})("box-sizing:border-box;position:relative;border-radius:",de.radiusSmall,";padding-top:0;"),JRe=({disabled:e})=>{if(e)return Re("color:",oe.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}","")},YRe={name:"1d3w5wq",styles:"width:100%"},NRe=({__unstableInputWidth:e,labelPosition:t})=>e?t==="side"?"":t==="edge"?Re({flex:`0 0 ${e}`},"",""):Re({width:e},"",""):YRe,ty=q("div",{target:"em5sgkm4"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;background-color:",oe.ui.background,";",JRe," ",NRe,";"),SRe=({disabled:e})=>e?Re("color:",oe.ui.textDisabled,";@media ( forced-colors: active ){color:GrayText;}&:disabled::placeholder{color:",oe.ui.textDisabled,";}",""):"",ox=({inputSize:e})=>{let t={default:"13px",small:"11px",compact:"13px"},c=t[e]||t.default,n="16px";return c?Re("font-size:",n,";@media ( min-width: 600px ){font-size:",c,";}",""):""},m7=({inputSize:e})=>{let t={default:{height:40,lineHeight:1,minHeight:40,paddingLeft:de.controlPaddingX,paddingRight:de.controlPaddingX},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:de.controlPaddingXSmall,paddingRight:de.controlPaddingXSmall},compact:{height:32,lineHeight:1,minHeight:32,paddingLeft:de.controlPaddingXSmall,paddingRight:de.controlPaddingXSmall}};return t[e]||t.default},wRe=e=>Re(m7(e),"",""),kRe=({paddingInlineStart:e,paddingInlineEnd:t})=>Re({paddingInlineStart:e,paddingInlineEnd:t},"",""),zRe=({isDragging:e,dragCursor:t})=>{let c,n;return e&&(c=Re("cursor:",t,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),e&&t&&(n=Re("&:active{cursor:",t,";}","")),Re(c," ",n,";","")},Po=q("input",{target:"em5sgkm3"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",oe.theme.foreground,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",zRe," ",SRe," ",ox," ",wRe," ",kRe," &::-webkit-input-placeholder{color:",oe.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",oe.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",oe.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;}}"),TRe=q(Kn,{target:"em5sgkm2"})("&&&{",S9,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;}"),X7=e=>(0,a7.jsx)(TRe,{...e,as:"label"}),G7=q(Cn,{target:"em5sgkm1"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),ARe=({variant:e="default",size:t,isPrefix:c})=>{let{paddingLeft:n}=m7({inputSize:t}),l=c?"paddingInlineStart":"paddingInlineEnd";return e==="default"?Re({[l]:n},"",""):Re({display:"flex",[l]:n-4},"","")},cy=q("div",{target:"em5sgkm0"})(ARe,";");var x7=u(F(),1);function ORe({disabled:e=!1,isBorderless:t=!1}){return(0,x7.jsx)(Mo,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:e,isBorderless:t})}var QRe=(0,g7.memo)(ORe),p7=QRe;var ny=u(F(),1);function R7({children:e,hideLabelFromVision:t,htmlFor:c,...n}){return e?t?(0,ny.jsx)(bt,{as:"label",htmlFor:c,children:e}):(0,ny.jsx)(G7,{children:(0,ny.jsx)(X7,{htmlFor:c,...n,children:e})}):null}var Ki=u(F(),1);function URe(e){let c=`input-base-control-${(0,H7.useInstanceId)(Z7)}`;return e||c}function ERe(e){let 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";break}return t}function Z7(e,t){let{__unstableInputWidth:c,children:n,className:l,disabled:o=!1,hideLabelFromVision:d=!1,labelPosition:i,id:r,isBorderless:a=!1,label:s,prefix:b,size:m="default",suffix:X,...G}=ae(e,"InputBase"),g=URe(r),x=d||!s,H=(0,I7.useMemo)(()=>({InputControlPrefixWrapper:{size:m},InputControlSuffixWrapper:{size:m}}),[m]);return(0,Ki.jsxs)(u7,{...G,...ERe(i),className:l,gap:2,ref:t,children:[(0,Ki.jsx)(R7,{className:"components-input-control__label",hideLabelFromVision:d,labelPosition:i,htmlFor:g,children:s}),(0,Ki.jsxs)(ty,{__unstableInputWidth:c,className:"components-input-control__container",disabled:o,hideLabel:x,labelPosition:i,children:[(0,Ki.jsxs)(ib,{value:H,children:[b&&(0,Ki.jsx)(s7,{className:"components-input-control__prefix",children:b}),n,X&&(0,Ki.jsx)(b7,{className:"components-input-control__suffix",children:X})]}),(0,Ki.jsx)(p7,{disabled:o,isBorderless:a})]})]})}var X0=ie(Z7,"InputBase");function LRe(e,t,c){return Math.max(t,Math.min(e,c))}var mn={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function f7(e,t,c){return t===0||Math.abs(t)===1/0?Math.pow(e,c*5):e*t*c/(t+c*e)}function y7(e,t,c,n=.15){return n===0?LRe(e,t,c):e<t?-f7(t-e,c-t,n)+t:e>c?+f7(e-c,c-t,n)+c:e}function W7(e,[t,c],[n,l]){let[[o,d],[i,r]]=e;return[y7(t,o,d,n),y7(c,i,r,l)]}function DRe(e,t){if(typeof e!="object"||e===null)return e;var c=e[Symbol.toPrimitive];if(c!==void 0){var n=c.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _Re(e){var t=DRe(e,"string");return typeof t=="symbol"?t:String(t)}function qn(e,t,c){return t=_Re(t),t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c,e}function h7(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),c.push.apply(c,n)}return c}function lc(e){for(var t=1;t<arguments.length;t++){var c=arguments[t]!=null?arguments[t]:{};t%2?h7(Object(c),!0).forEach(function(n){qn(e,n,c[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):h7(Object(c)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(c,n))})}return e}var Y7={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function B7(e){return e?e[0].toUpperCase()+e.slice(1):""}var jRe=["enter","leave"];function MRe(e=!1,t){return e&&!jRe.includes(t)}function N7(e,t="",c=!1){let n=Y7[e],l=n&&n[t]||t;return"on"+B7(e)+B7(l)+(MRe(c,l)?"Capture":"")}var PRe=["gotpointercapture","lostpointercapture"];function S7(e){let t=e.substring(2).toLowerCase(),c=!!~t.indexOf("passive");c&&(t=t.replace("passive",""));let n=PRe.includes(t)?"capturecapture":"capture",l=!!~t.indexOf(n);return l&&(t=t.replace("capture","")),{device:t,capture:l,passive:c}}function w7(e,t=""){let c=Y7[e],n=c&&c[t]||t;return e+n}function dx(e){return"touches"in e}function k7(e){return dx(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function KRe(e){return Array.from(e.touches).filter(t=>{var c,n;return t.target===e.currentTarget||((c=e.currentTarget)===null||c===void 0||(n=c.contains)===null||n===void 0?void 0:n.call(c,t.target))})}function qRe(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function z7(e){return dx(e)?qRe(e)[0]:e}function T7(e){return KRe(e).map(t=>t.identifier)}function PV(e){let t=z7(e);return dx(e)?t.identifier:t.pointerId}function v7(e){let t=z7(e);return[t.clientX,t.clientY]}function $Re(e){let t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){let{shiftKey:c,altKey:n,metaKey:l,ctrlKey:o}=e;Object.assign(t,{shiftKey:c,altKey:n,metaKey:l,ctrlKey:o})}return t}function ly(e,...t){return typeof e=="function"?e(...t):e}function eHe(){}function A7(...e){return e.length===0?eHe:e.length===1?e[0]:function(){let t;for(let c of e)t=c.apply(this,arguments)||t;return t}}function V7(e,t){return Object.assign({},t,e||{})}var tHe=32,KV=class{constructor(t,c,n){this.ctrl=t,this.args=c,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:t,shared:c,ingKey:n,args:l}=this;c[n]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=l,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){let c=this.state,n=this.config;c._active||(this.reset(),this.computeInitial(),c._active=!0,c.target=t.target,c.currentTarget=t.currentTarget,c.lastOffset=n.from?ly(n.from,c):c.offset,c.offset=c.lastOffset,c.startTime=c.timeStamp=t.timeStamp)}computeValues(t){let c=this.state;c._values=t,c.values=this.config.transform(t)}computeInitial(){let t=this.state;t._initial=t._values,t.initial=t.values}compute(t){let{state:c,config:n,shared:l}=this;c.args=this.args;let o=0;if(t&&(c.event=t,n.preventDefault&&t.cancelable&&c.event.preventDefault(),c.type=t.type,l.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,l.locked=!!document.pointerLockElement,Object.assign(l,$Re(t)),l.down=l.pressed=l.buttons%2===1||l.touches>0,o=t.timeStamp-c.timeStamp,c.timeStamp=t.timeStamp,c.elapsedTime=c.timeStamp-c.startTime),c._active){let y=c._delta.map(Math.abs);mn.addTo(c._distance,y)}this.axisIntent&&this.axisIntent(t);let[d,i]=c._movement,[r,a]=n.threshold,{_step:s,values:b}=c;if(n.hasCustomTransform?(s[0]===!1&&(s[0]=Math.abs(d)>=r&&b[0]),s[1]===!1&&(s[1]=Math.abs(i)>=a&&b[1])):(s[0]===!1&&(s[0]=Math.abs(d)>=r&&Math.sign(d)*r),s[1]===!1&&(s[1]=Math.abs(i)>=a&&Math.sign(i)*a)),c.intentional=s[0]!==!1||s[1]!==!1,!c.intentional)return;let m=[0,0];if(n.hasCustomTransform){let[y,Z]=b;m[0]=s[0]!==!1?y-s[0]:0,m[1]=s[1]!==!1?Z-s[1]:0}else m[0]=s[0]!==!1?d-s[0]:0,m[1]=s[1]!==!1?i-s[1]:0;this.restrictToAxis&&!c._blocked&&this.restrictToAxis(m);let X=c.offset,G=c._active&&!c._blocked||c.active;G&&(c.first=c._active&&!c.active,c.last=!c._active&&c.active,c.active=l[this.ingKey]=c._active,t&&(c.first&&("bounds"in n&&(c._bounds=ly(n.bounds,c)),this.setup&&this.setup()),c.movement=m,this.computeOffset()));let[g,x]=c.offset,[[H,p],[R,I]]=c._bounds;c.overflow=[g<H?-1:g>p?1:0,x<R?-1:x>I?1:0],c._movementBound[0]=c.overflow[0]?c._movementBound[0]===!1?c._movement[0]:c._movementBound[0]:!1,c._movementBound[1]=c.overflow[1]?c._movementBound[1]===!1?c._movement[1]:c._movementBound[1]:!1;let f=c._active?n.rubberband||[0,0]:[0,0];if(c.offset=W7(c._bounds,c.offset,f),c.delta=mn.sub(c.offset,X),this.computeMovement(),G&&(!c.last||o>tHe)){c.delta=mn.sub(c.offset,X);let y=c.delta.map(Math.abs);mn.addTo(c.distance,y),c.direction=c.delta.map(Math.sign),c._direction=c._delta.map(Math.sign),!c.first&&o>0&&(c.velocity=[y[0]/o,y[1]/o],c.timeDelta=o)}}emit(){let t=this.state,c=this.shared,n=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!n.triggerAllEvents)return;let l=this.handler(lc(lc(lc({},c),t),{},{[this.aliasKey]:t.values}));l!==void 0&&(t.memo=l)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}};function cHe([e,t],c){let n=Math.abs(e),l=Math.abs(t);if(n>l&&n>c)return"x";if(l>n&&l>c)return"y"}var qV=class extends KV{constructor(...t){super(...t),qn(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=mn.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=mn.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){let c=this.state,n=this.config;if(!c.axis&&t){let l=typeof n.axisThreshold=="object"?n.axisThreshold[k7(t)]:n.axisThreshold;c.axis=cHe(c._movement,l)}c._blocked=(n.lockDirection||!!n.axis)&&!c.axis||!!n.axis&&n.axis!==c.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}},nHe=e=>e,C7=.15,O7={enabled(e=!0){return e},eventOptions(e,t,c){return lc(lc({},c.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[C7,C7];case!1:return[0,0];default:return mn.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return mn.toVector(e)},transform(e,t,c){let n=e||c.shared.transform;return this.hasCustomTransform=!!n,n||nHe},threshold(e){return mn.toVector(e,0)}},lHe=0,ix=lc(lc({},O7),{},{axis(e,t,{axis:c}){if(this.lockDirection=c==="lock",!this.lockDirection)return c},axisThreshold(e=lHe){return e},bounds(e={}){if(typeof e=="function")return o=>ix.bounds(e(o));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;let{left:t=-1/0,right:c=1/0,top:n=-1/0,bottom:l=1/0}=e;return[[t,c],[n,l]]}}),F7={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},$V=class extends qV{constructor(...t){super(...t),qn(this,"ingKey","dragging")}reset(){super.reset();let t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){let t=this.state;if(t._bounds instanceof HTMLElement){let c=t._bounds.getBoundingClientRect(),n=t.currentTarget.getBoundingClientRect(),l={left:c.left-n.left+t.offset[0],right:c.right-n.right+t.offset[0],top:c.top-n.top+t.offset[1],bottom:c.bottom-n.bottom+t.offset[1]};t._bounds=ix.bounds(l)}}cancel(){let t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){let c=this.config,n=this.state;if(t.buttons!=null&&(Array.isArray(c.pointerButtons)?!c.pointerButtons.includes(t.buttons):c.pointerButtons!==-1&&c.pointerButtons!==t.buttons))return;let l=this.ctrl.setEventIds(t);c.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(l&&l.size>1&&n._pointerActive)&&(this.start(t),this.setupPointer(t),n._pointerId=PV(t),n._pointerActive=!0,this.computeValues(v7(t)),this.computeInitial(),c.preventScrollAxis&&k7(t)!=="mouse"?(n._active=!1,this.setupScrollPrevention(t)):c.delay>0?(this.setupDelayTrigger(t),c.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){let c=this.state;c._active=!0,c._preventScroll=!0,c._delayed=!1,this.compute(t),this.emit()}pointerMove(t){let c=this.state,n=this.config;if(!c._pointerActive)return;let l=PV(t);if(c._pointerId!==void 0&&l!==c._pointerId)return;let o=v7(t);if(document.pointerLockElement===t.target?c._delta=[t.movementX,t.movementY]:(c._delta=mn.sub(o,c._values),this.computeValues(o)),mn.addTo(c._movement,c._delta),this.compute(t),c._delayed&&c.intentional){this.timeoutStore.remove("dragDelay"),c.active=!1,this.startPointerDrag(t);return}if(n.preventScrollAxis&&!c._preventScroll)if(c.axis)if(c.axis===n.preventScrollAxis||n.preventScrollAxis==="xy"){c._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}let c=this.state,n=this.config;if(!c._active||!c._pointerActive)return;let l=PV(t);if(c._pointerId!==void 0&&l!==c._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);let[o,d]=c._distance;if(c.tap=o<=n.tapsThreshold&&d<=n.tapsThreshold,c.tap&&n.filterTaps)c._force=!0;else{let[i,r]=c._delta,[a,s]=c._movement,[b,m]=n.swipe.velocity,[X,G]=n.swipe.distance,g=n.swipe.duration;if(c.elapsedTime<g){let x=Math.abs(i/c.timeDelta),H=Math.abs(r/c.timeDelta);x>b&&Math.abs(a)>X&&(c.swipe[0]=Math.sign(i)),H>m&&Math.abs(s)>G&&(c.swipe[1]=Math.sign(r))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){let c=this.config,n=c.device;c.pointerLock&&t.currentTarget.requestPointerLock(),c.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,oHe(t);let c=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",c),this.eventStore.add(this.sharedConfig.window,"touch","cancel",c),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){let c=F7[t.key];if(c){let n=this.state,l=t.shiftKey?10:t.altKey?.1:1;this.start(t),n._delta=c(this.config.keyboardDisplacement,l),n._keyboardActive=!0,mn.addTo(n._movement,n._delta),this.compute(t),this.emit()}}keyUp(t){t.key in F7&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){let c=this.config.device;t(c,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(c,"change",this.pointerMove.bind(this)),t(c,"end",this.pointerUp.bind(this)),t(c,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}};function oHe(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}var rx=typeof window<"u"&&window.document&&window.document.createElement;function Q7(){return rx&&"ontouchstart"in window}function dHe(){return Q7()||rx&&window.navigator.maxTouchPoints>1}function iHe(){return rx&&"onpointerdown"in window}function rHe(){return rx&&"exitPointerLock"in window.document}function aHe(){try{return"constructor"in GestureEvent}catch{return!1}}var Tl={isBrowser:rx,gesture:aHe(),touch:Q7(),touchscreen:dHe(),pointer:iHe(),pointerLock:rHe()},sHe=250,bHe=180,uHe=.5,mHe=50,XHe=250,GHe=10,J7={mouse:0,touch:0,pen:8},gHe=lc(lc({},ix),{},{device(e,t,{pointer:{touch:c=!1,lock:n=!1,mouse:l=!1}={}}){return this.pointerLock=n&&Tl.pointerLock,Tl.touch&&c?"touch":this.pointerLock?"mouse":Tl.pointer&&!l?"pointer":Tl.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:c}){if(this.preventScrollDelay=typeof c=="number"?c:c||c===void 0&&e?sHe:void 0,!(!Tl.touchscreen||c===!1))return e||(c!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:c=!0,buttons:n=1,keys:l=!0}={}}){return this.pointerButtons=n,this.keys=l,!this.pointerLock&&this.device==="pointer"&&c},threshold(e,t,{filterTaps:c=!1,tapsThreshold:n=3,axis:l=void 0}){let o=mn.toVector(e,c?n:l?1:0);return this.filterTaps=c,this.tapsThreshold=n,o},swipe({velocity:e=uHe,distance:t=mHe,duration:c=XHe}={}){return{velocity:this.transform(mn.toVector(e)),distance:this.transform(mn.toVector(t)),duration:c}},delay(e=0){switch(e){case!0:return bHe;case!1:return 0;default:return e}},axisThreshold(e){return e?lc(lc({},J7),e):J7},keyboardDisplacement(e=GHe){return e}});var hst=lc(lc({},O7),{},{device(e,t,{shared:c,pointer:{touch:n=!1}={}}){if(c.target&&!Tl.touch&&Tl.gesture)return"gesture";if(Tl.touch&&n)return"touch";if(Tl.touchscreen){if(Tl.pointer)return"pointer";if(Tl.touch)return"touch"}},bounds(e,t,{scaleBounds:c={},angleBounds:n={}}){let l=d=>{let i=V7(ly(c,d),{min:-1/0,max:1/0});return[i.min,i.max]},o=d=>{let i=V7(ly(n,d),{min:-1/0,max:1/0});return[i.min,i.max]};return typeof c!="function"&&typeof n!="function"?[l(),o()]:d=>[l(d),o(d)]},threshold(e,t,c){return this.lockDirection=c.axis==="lock",mn.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});var Bst=lc(lc({},ix),{},{mouseOnly:(e=!0)=>e});var vst=lc(lc({},ix),{},{mouseOnly:(e=!0)=>e}),oy=new Map,ax=new Map;function eC(e){oy.set(e.key,e.engine),ax.set(e.key,e.resolver)}var tC={key:"drag",engine:$V,resolver:gHe};var ay=u(E());function ZHe(e,t){if(e==null)return{};var c={},n=Object.keys(e),l,o;for(o=0;o<n.length;o++)l=n[o],!(t.indexOf(l)>=0)&&(c[l]=e[l]);return c}function fHe(e,t){if(e==null)return{};var c=ZHe(e,t),n,l;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)n=o[l],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}var yHe={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=Tl.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},WHe=["target","eventOptions","window","enabled","transform"];function dy(e={},t){let c={};for(let[n,l]of Object.entries(t))switch(typeof l){case"function":c[n]=l.call(c,e[n],n,e);break;case"object":c[n]=dy(e[n],l);break;case"boolean":l&&(c[n]=e[n]);break}return c}function hHe(e,t,c={}){let n=e,{target:l,eventOptions:o,window:d,enabled:i,transform:r}=n,a=fHe(n,WHe);if(c.shared=dy({target:l,eventOptions:o,window:d,enabled:i,transform:r},yHe),t){let s=ax.get(t);c[t]=dy(lc({shared:c.shared},a),s)}else for(let s in a){let b=ax.get(s);b&&(c[s]=dy(lc({shared:c.shared},a[s]),b))}return c}var iy=class{constructor(t,c){qn(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=c}add(t,c,n,l,o){let d=this._listeners,i=w7(c,n),r=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},a=lc(lc({},r),o);t.addEventListener(i,l,a);let s=()=>{t.removeEventListener(i,l,a),d.delete(s)};return d.add(s),s}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}},cC=class{constructor(){qn(this,"_timeouts",new Map)}add(t,c,n=140,...l){this.remove(t),this._timeouts.set(t,window.setTimeout(c,n,...l))}remove(t){let c=this._timeouts.get(t);c&&window.clearTimeout(c)}clean(){this._timeouts.forEach(t=>{window.clearTimeout(t)}),this._timeouts.clear()}},ry=class{constructor(t){qn(this,"gestures",new Set),qn(this,"_targetEventStore",new iy(this)),qn(this,"gestureEventStores",{}),qn(this,"gestureTimeoutStores",{}),qn(this,"handlers",{}),qn(this,"config",{}),qn(this,"pointerIds",new Set),qn(this,"touchIds",new Set),qn(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),BHe(this,t)}setEventIds(t){if(dx(t))return this.touchIds=new Set(T7(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,c){this.handlers=t,this.nativeHandlers=c}applyConfig(t,c){this.config=hHe(t,c,this.config)}clean(){this._targetEventStore.clean();for(let t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){let c=this.config.shared,n={},l;if(!(c.target&&(l=c.target(),!l))){if(c.enabled){for(let d of this.gestures){let i=this.config[d],r=U7(n,i.eventOptions,!!l);if(i.enabled){let a=oy.get(d);new a(this,t,d).bind(r)}}let o=U7(n,c.eventOptions,!!l);for(let d in this.nativeHandlers)o(d,"",i=>this.nativeHandlers[d](lc(lc({},this.state.shared),{},{event:i,args:t})),void 0,!0)}for(let o in n)n[o]=A7(...n[o]);if(!l)return n;for(let o in n){let{device:d,capture:i,passive:r}=S7(o);this._targetEventStore.add(l,d,"",n[o],{capture:i,passive:r})}}}};function G0(e,t){e.gestures.add(t),e.gestureEventStores[t]=new iy(e,t),e.gestureTimeoutStores[t]=new cC}function BHe(e,t){t.drag&&G0(e,"drag"),t.wheel&&G0(e,"wheel"),t.scroll&&G0(e,"scroll"),t.move&&G0(e,"move"),t.pinch&&G0(e,"pinch"),t.hover&&G0(e,"hover")}var U7=(e,t,c)=>(n,l,o,d={},i=!1)=>{var r,a;let s=(r=d.capture)!==null&&r!==void 0?r:t.capture,b=(a=d.passive)!==null&&a!==void 0?a:t.passive,m=i?n:N7(n,l,s);c&&b&&(m+="Passive"),e[m]=e[m]||[],e[m].push(o)};function vHe(e,t={},c,n){let l=ay.default.useMemo(()=>new ry(e),[]);if(l.applyHandlers(e,n),l.applyConfig(t,c),ay.default.useEffect(l.effect.bind(l)),ay.default.useEffect(()=>l.clean.bind(l),[]),t.target===void 0)return l.bind.bind(l)}function sy(e,t){return eC(tC),vHe({drag:e},t||{},"drag")}var Xy=u(T(),1),P7=u(Xa(),1);var Ga=u(T(),1);function VHe(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize";break}return t}function L7(e,t){let c=VHe(t);return(0,Ga.useEffect)(()=>{e?document.documentElement.style.cursor=c:document.documentElement.style.removeProperty("cursor")},[e,c]),c}function D7(e){let t=(0,Ga.useRef)(e.value),[c,n]=(0,Ga.useState)({}),l=c.value!==void 0?c.value:e.value;return(0,Ga.useLayoutEffect)(()=>{let{current:i}=t;t.current=e.value,c.value!==void 0&&!c.isStale?n({...c,isStale:!0}):c.isStale&&e.value!==i&&n({})},[e.value,c]),{value:l,onBlur:i=>{n({}),e.onBlur?.(i)},onChange:(i,r)=>{n(a=>Object.assign(a,{value:i,isStale:!1})),e.onChange(i,r)}}}var qi=u(T(),1);var _7=e=>e,by={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""};var nC="CHANGE",bb="COMMIT",lC="CONTROL",oC="DRAG_END",dC="DRAG_START",uy="DRAG",iC="INVALIDATE",ub="PRESS_DOWN",my="PRESS_ENTER",ga="PRESS_UP",rC="RESET";function CHe(e=by){let{value:t}=e;return{...by,...e,initialValue:t}}function FHe(e){return(t,c)=>{let n={...t};switch(c.type){case lC:return n.value=c.payload.value,n.isDirty=!1,n._event=void 0,n;case ga:n.isDirty=!1;break;case ub:n.isDirty=!1;break;case dC:n.isDragging=!0;break;case oC:n.isDragging=!1;break;case nC:n.error=null,n.value=c.payload.value,t.isPressEnterToChange&&(n.isDirty=!0);break;case bb:n.value=c.payload.value,n.isDirty=!1;break;case rC:n.error=null,n.isDirty=!1,n.value=c.payload.value||t.initialValue;break;case iC:n.error=c.payload.error;break}return n._event=c.payload.event,e(n,c)}}function M7(e=_7,t=by,c){let[n,l]=(0,qi.useReducer)(FHe(e),CHe(t)),o=I=>(f,y)=>{l({type:I,payload:{value:f,event:y}})},d=I=>f=>{l({type:I,payload:{event:f}})},i=I=>f=>{l({type:I,payload:f})},r=o(nC),a=(I,f)=>l({type:iC,payload:{error:I,event:f}}),s=o(rC),b=o(bb),m=i(dC),X=i(uy),G=i(oC),g=d(ga),x=d(ub),H=d(my),p=(0,qi.useRef)(n),R=(0,qi.useRef)({value:t.value,onChangeHandler:c});return(0,qi.useLayoutEffect)(()=>{p.current=n,R.current={value:t.value,onChangeHandler:c}}),(0,qi.useLayoutEffect)(()=>{p.current._event!==void 0&&n.value!==R.current.value&&!n.isDirty&&R.current.onChangeHandler(n.value??"",{event:p.current._event})},[n.value,n.isDirty]),(0,qi.useLayoutEffect)(()=>{t.value!==p.current.value&&!p.current.isDirty&&l({type:lC,payload:{value:t.value??""}})},[t.value]),{change:r,commit:b,dispatch:l,drag:X,dragEnd:G,dragStart:m,invalidate:a,pressDown:x,pressEnter:H,pressUp:g,reset:s,state:n}}var K7=u(F(),1),mb=()=>{};function JHe({disabled:e=!1,dragDirection:t="n",dragThreshold:c=10,id:n,isDragEnabled:l=!1,isPressEnterToChange:o=!1,onBlur:d=mb,onChange:i=mb,onDrag:r=mb,onDragEnd:a=mb,onDragStart:s=mb,onKeyDown:b=mb,onValidate:m=mb,size:X="default",stateReducer:G=R=>R,value:g,type:x,...H},p){let{state:R,change:I,commit:f,drag:y,dragEnd:Z,dragStart:W,invalidate:v,pressDown:h,pressEnter:C,pressUp:B,reset:V}=M7(G,{isDragEnabled:l,value:g,isPressEnterToChange:o},i),{value:S,isDragging:Y,isDirty:J}=R,k=(0,Xy.useRef)(!1),N=L7(Y,t),A=L=>{d(L),(J||!L.target.validity.valid)&&(k.current=!0,z(L))},Q=L=>{let M=L.target.value;I(M,L)},z=L=>{let M=L.currentTarget.value;try{m(M),f(M,L)}catch(_){v(_,L)}},D=L=>{let{key:M}=L;switch(b(L),M){case"ArrowUp":B(L);break;case"ArrowDown":h(L);break;case"Enter":C(L),o&&(L.preventDefault(),z(L));break;case"Escape":o&&J&&(L.preventDefault(),V(g,L));break}},U=sy(L=>{let{distance:M,dragging:_,event:j,target:ue}=L;if(L.event={...L.event,target:ue},!!M){if(j.stopPropagation(),!_){a(L),Z(L);return}r(L),y(L),Y||(s(L),W(L))}},{axis:t==="e"||t==="w"?"x":"y",threshold:c,enabled:l,pointer:{capture:!1}}),O=l?U():{};return(0,K7.jsx)(Po,{...H,...O,className:"components-input-control__input","data-empty-value":S?void 0:"",disabled:e,dragCursor:N,isDragging:Y,id:n,onBlur:A,onChange:Q,onKeyDown:(0,P7.withIgnoreIMEEvents)(D),ref:p,inputSize:X,value:S??"",type:x})}var YHe=(0,Xy.forwardRef)(JHe),q7=YHe;var l_=u(T(),1);var g0=u(T(),1);var x0=u(F(),1),aC="data-wp-hash";function sC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&SHe(document)),e.__wpStyleRuntime}function NHe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${aC}]`))if(c.getAttribute(aC)===t)return!0;return!1}function $7(e,t,c){if(!e.head)return;let n=sC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(NHe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(aC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function SHe(e){let t=sC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$7(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function wHe(e,t){let c=sC();c.styles.set(e,t);for(let n of c.documents.keys())$7(n,e,t)}typeof process>"u",wHe("2afb2a4628","._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{color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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 sx={wrapper:"_94dff8a2f7c49fc8__wrapper",field:"d9ac8e2c0db95cc7__field",label:"a54361fe302593c3__label",help:"de68669d18f359f5__help"};function kHe({className:e,...t},c){return(0,x0.jsx)(Il,{ref:c,...t,className:w(sx.wrapper,e)})}function zHe({className:e,...t},c){return(0,x0.jsx)(Il,{ref:c,...t,className:w(sx.field,e)})}function THe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"label",ref:n,...c,className:w(sx.label,t)})}function AHe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"p",ref:n,...c,className:w(sx.help,t)})}function OHe({as:e,className:t,...c},n){return(0,x0.jsx)(Il,{as:e??"span",ref:n,...c,className:w(sx.label,t)})}var e_=(0,g0.forwardRef)(kHe),t_=(0,g0.forwardRef)(zHe),xa=(0,g0.forwardRef)(THe),$i=(0,g0.forwardRef)(AHe),c_=(0,g0.forwardRef)(OHe);var Dd=u(F(),1);var n_=u(me(),1);function Xb(e){let{help:t,id:c,...n}=e,l=(0,n_.useInstanceId)(at,"wp-components-base-control",c);return{baseControlProps:{id:l,help:t,...n},controlProps:{id:l,...t?{"aria-describedby":`${l}__help`}:{}}}}var QHe=e=>{let{id:t,label:c,hideLabelFromVision:n=!1,help:l,className:o,children:d}=ae(e,"BaseControl");return(0,Dd.jsxs)(e_,{className:o,children:[(0,Dd.jsxs)(t_,{className:"components-base-control__field",children:[c&&t&&(n?(0,Dd.jsx)(bt,{as:"label",htmlFor:t,children:c}):(0,Dd.jsx)(xa,{className:"components-base-control__label",htmlFor:t,children:c})),c&&!t&&(n?(0,Dd.jsx)(bt,{as:"label",children:c}):(0,Dd.jsx)(o_,{children:c})),d]}),!!l&&(0,Dd.jsx)($i,{id:t?t+"__help":void 0,className:"components-base-control__help",children:l})]})},UHe=(e,t)=>{let{className:c,children:n,...l}=e;return(0,Dd.jsx)(c_,{ref:t,...l,className:w("components-base-control__label",c),children:n})},o_=(0,l_.forwardRef)(UHe),bC=Object.assign(ab(QHe,"BaseControl"),{VisualLabel:o_}),at=bC;var Gy=u(F(),1),uC=()=>{};function EHe(e){let c=`inspector-input-control-${(0,d_.useInstanceId)(gy)}`;return e||c}function LHe(e,t){let{__next40pxDefaultSize:c,__next36pxDefaultSize:n,__unstableStateReducer:l=C=>C,__unstableInputWidth:o,className:d,disabled:i=!1,help:r,hideLabelFromVision:a=!1,id:s,isPressEnterToChange:b=!1,label:m,labelPosition:X="top",onChange:G=uC,onValidate:g=uC,onKeyDown:x=uC,prefix:H,size:p="default",style:R,suffix:I,value:f,...y}=e,Z=EHe(s),W=w("components-input-control",d),v=D7({value:f,onBlur:y.onBlur,onChange:G}),h=r?{"aria-describedby":`${Z}__help`}:{};return(0,Gy.jsx)(at,{className:W,help:r,id:Z,children:(0,Gy.jsx)(X0,{__unstableInputWidth:o,disabled:i,gap:3,hideLabelFromVision:a,id:Z,justify:"left",label:m,labelPosition:X,prefix:H,size:p,style:R,suffix:I,children:(0,Gy.jsx)(q7,{...y,...h,className:"components-input-control__input",disabled:i,id:Z,isPressEnterToChange:b,onKeyDown:x,onValidate:g,paddingInlineStart:H?K(1):void 0,paddingInlineEnd:I?K(1):void 0,ref:t,size:p,stateReducer:l,...v})})})}var gy=(0,i_.forwardRef)(LHe),_d=gy;var a_=u(Xt(),1),Ra=u(T(),1),s_=u(me(),1);var pa=u(T(),1),mC=u(rt(),1);var r_=u(F(),1);function DHe({icon:e,className:t,size:c=20,style:n={},...l}){let o=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" "),i={...c!=20?{fontSize:`${c}px`,width:`${c}px`,height:`${c}px`}:{},...n};return(0,r_.jsx)("span",{className:o,style:i,...l})}var bx=DHe;var XC=u(F(),1);function _He({icon:e=null,size:t=typeof e=="string"?20:24,...c}){if(typeof e=="string")return(0,XC.jsx)(bx,{icon:e,size:t,...c});if((0,pa.isValidElement)(e)&&bx===e.type)return(0,pa.cloneElement)(e,{...c});if(typeof e=="function")return(0,pa.createElement)(e,{size:t,...c});if((0,pa.isValidElement)(e)){let{style:n,...l}=c,o=e.props.style||n?{...e.props.style,...n}:void 0,d=o?{style:o}:{};if(e.type==="svg"||e.type===mC.SVG){let i={...e.props,width:t,height:t,...l,...d};return(0,XC.jsx)(mC.SVG,{...i})}return(0,pa.cloneElement)(e,{size:t,width:t,height:t,...l,...d})}return e}var Ot=_He;var Fn=u(F(),1),jHe=["onMouseDown","onClick"],b_=e=>Ra.Children.toArray(e).some(t=>(0,Ra.isValidElement)(t)?t.type===Ra.Fragment?b_(t.props.children):t.props.className!=="components-tooltip":t!=="");function MHe({__experimentalIsFocusable:e,isDefault:t,isPrimary:c,isSecondary:n,isTertiary:l,isLink:o,isPressed:d,isSmall:i,size:r,variant:a,describedBy:s,...b}){let m=r,X=a,G={accessibleWhenDisabled:e,"aria-pressed":d,description:s};return i&&(m??="small"),c&&(X??="primary"),l&&(X??="tertiary"),n&&(X??="secondary"),t&&((0,a_.default)("wp.components.Button `isDefault` prop",{since:"5.4",alternative:'variant="secondary"'}),X??="secondary"),o&&(X??="link"),{...G,...b,size:m,variant:X}}var p0=(0,Ra.forwardRef)(function(t,c){let{__next40pxDefaultSize:n,accessibleWhenDisabled:l,isBusy:o,isDestructive:d,className:i,disabled:r,icon:a,iconPosition:s="left",iconSize:b,showTooltip:m,tooltipPosition:X,shortcut:G,label:g,children:x,size:H="default",text:p,variant:R,description:I,...f}=MHe(t),{href:y,target:Z,"aria-checked":W,"aria-pressed":v,"aria-selected":h,...C}="href"in f?f:{href:void 0,target:void 0,...f},B=(0,s_.useInstanceId)(p0,"components-button__description"),S=w("components-button",i,{"is-next-40px-default-size":n,"is-secondary":R==="secondary","is-primary":R==="primary","is-small":H==="small","is-compact":H==="compact","is-tertiary":R==="tertiary","is-pressed":[!0,"true","mixed"].includes(v),"is-pressed-mixed":v==="mixed","is-busy":o,"is-link":R==="link","is-destructive":d,"has-text":!!a&&(p||b_(x)),"has-icon":!!a,"has-icon-right":s==="right"}),Y=r&&!l,J=y!==void 0&&!r?"a":"button",k=J==="button"?{type:"button",disabled:Y,"aria-checked":W,"aria-pressed":v,"aria-selected":h}:{},N=J==="a"?{href:y,target:Z}:{},A={};if(r&&l){k["aria-disabled"]=!0,N["aria-disabled"]=!0;for(let _ of jHe)A[_]=j=>{j&&(j.stopPropagation(),j.preventDefault())}}let Q=!Y&&(m&&!!g||!!G||!!g&&!x?.length&&m!==!1),z=I?B:void 0,D=C["aria-describedby"]||z,U={className:S,"aria-label":C["aria-label"]||g,"aria-describedby":D,ref:c},O=(0,Fn.jsxs)(Fn.Fragment,{children:[a&&s==="left"&&(0,Fn.jsx)(Ot,{icon:a,size:b}),p&&(0,Fn.jsx)(Fn.Fragment,{children:p}),x,a&&s==="right"&&(0,Fn.jsx)(Ot,{icon:a,size:b})]}),L=J==="a"?(0,Fn.jsx)("a",{...N,...C,...A,...U,children:O}):(0,Fn.jsx)("button",{...k,...C,...A,...U,children:O}),M=Q?{text:x?.length&&I?I:g,shortcut:G,placement:X&&sa(X)}:{};return(0,Fn.jsxs)(Fn.Fragment,{children:[(0,Fn.jsx)(Hl,{...M,children:L}),I&&(0,Fn.jsx)(bt,{children:(0,Fn.jsx)("span",{id:z,children:I})})]})}),be=p0;var PHe={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;}"},KHe=({hideHTMLArrows:e})=>e?PHe:"",u_=q(_d,{target:"ep09it41"})(KHe,";"),GC=q(be,{target:"ep09it40"})("&&&&&{color:",oe.theme.accent,";}"),qHe=Re("width:",K(5),";min-width:",K(5),";height:",K(5),";",""),m_={smallSpinButtons:qHe};function Gb(e){let t=Number(e);return isNaN(t)?0:t}function gC(...e){return e.reduce((t,c)=>t+Gb(c),0)}function G_(...e){return e.reduce((t,c,n)=>{let l=Gb(c);return n===0?l:t-l},0)}function X_(e){let t=(e+"").split(".");return t[1]!==void 0?t[1].length:0}function R0(e,t,c){let n=Gb(e);return Math.max(t,Math.min(n,c))}function g_(e,t,c){let n=Gb(e),l=Gb(t),o=Gb(c),d=Math.max(X_(c),X_(t)),i=l%o?l:0,a=Math.round((n-i)/o)*o+i;return d?Gb(a.toFixed(d)):a}var $He={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"}},eIe={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 x_(e,t="row"){if(!Td(e))return{};let n=t==="column"?eIe:$He;return e in n?n[e]:{align:e}}var xy=u(T(),1);function py(e){return typeof e=="string"?[e]:xy.Children.toArray(e).filter(t=>(0,xy.isValidElement)(t))}var p_=u(F(),1);function ux(e){let{alignment:t="edge",children:c,direction:n,spacing:l=2,...o}=ae(e,"HStack"),d=x_(t,n),a={children:py(c).map((m,X)=>{if(wg(m,["Spacer"])){let g=m,x=g.key||`hstack-${X}`;return(0,p_.jsx)(Cn,{isBlock:!0,...g.props},x)}return m}),direction:n,justify:"center",...d,...o,gap:l},{isColumn:s,...b}=b0(a);return b}var R_=u(F(),1);function tIe(e,t){let c=ux(e);return(0,R_.jsx)(Ce,{...c,ref:t})}var cIe=ie(tIe,"HStack"),xt=cIe;var jd=u(F(),1),nIe=()=>{};function lIe(e,t){let{__unstableStateReducer:c,className:n,dragDirection:l="n",hideHTMLArrows:o=!1,spinControls:d=o?"none":"native",isDragEnabled:i=!0,isShiftStepEnabled:r=!0,label:a,max:s=1/0,min:b=-1/0,required:m=!1,shiftStep:X=10,step:G=1,spinFactor:g=1,type:x="number",value:H,size:p="default",suffix:R,onChange:I=nIe,...f}=e;o&&(0,I_.default)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"});let y=(0,Ry.useRef)(null),Z=(0,H_.useMergeRefs)([y,t]),W=G==="any",v=W?1:Rg(G),h=Rg(g)*v,C=(Q,z)=>(W||(Q=g_(Q,b,z??v)),`${R0(Q,b,s)}`),B=C(0),V=x==="number"?"off":void 0,S=w("components-number-control",n),J=ec()(p==="small"&&m_.smallSpinButtons),k=(Q,z,D)=>{D?.preventDefault();let U=D?.shiftKey&&r,O=U?Rg(X)*h:h,L=JE(Q)?B:Q;return z==="up"?L=gC(L,O):z==="down"&&(L=G_(L,O)),C(L,U?O:void 0)},N=(Q,z)=>{let D={...Q},{type:U,payload:O}=z,L=O.event,M=D.value;if((U===ga||U===ub)&&(D.value=k(M,U===ga?"up":"down",L)),U===uy&&i){let[_,j]=O.delta,ue=O.shiftKey&&r,xe=ue?Rg(X)*h:h,Be,P;switch(l){case"n":P=j,Be=-1;break;case"e":P=_,Be=(0,H0.isRTL)()?-1:1;break;case"s":P=j,Be=1;break;case"w":P=_,Be=(0,H0.isRTL)()?1:-1;break}if(P!==0){P=Math.ceil(Math.abs(P))*Math.sign(P);let ye=P*xe*Be;D.value=C(gC(M,ye),ue?xe:void 0)}}if(U===my||U===bb){let _=m===!1&&M==="";D.value=_?M:C(M)}return c?.(D,z)??D},A=Q=>z=>I(String(k(H,Q,z)),{event:{...z,target:y.current}});return(0,jd.jsx)(u_,{autoComplete:V,inputMode:"numeric",...f,className:S,dragDirection:l,hideHTMLArrows:d!=="native",isDragEnabled:i,label:a,max:s===1/0?void 0:s,min:b===-1/0?void 0:b,ref:Z,required:m,step:G,type:x,value:H,__unstableStateReducer:N,size:p,suffix:d==="custom"?(0,jd.jsxs)(jd.Fragment,{children:[R,(0,jd.jsx)(Pc,{marginBottom:0,marginRight:2,children:(0,jd.jsxs)(xt,{spacing:1,children:[(0,jd.jsx)(GC,{className:J,icon:Mi,size:"small",label:(0,H0.__)("Increment"),onClick:A("up")}),(0,jd.jsx)(GC,{className:J,icon:ex,size:"small",label:(0,H0.__)("Decrement"),onClick:A("down")})]})})]}):R,onChange:I})}var Z_=(0,Ry.forwardRef)(lIe);Z_.displayName="NumberControl";var $n=Z_;var f_=u(F(),1);function oIe(e,t){let c=ae(e,"InputControlPrefixWrapper");return(0,f_.jsx)(cy,{...c,isPrefix:!0,ref:t})}var xC=ie(oIe,"InputControlPrefixWrapper"),Ha=xC;var y_=u(F(),1);function dIe(e,t){let c=ae(e,"InputControlSuffixWrapper");return(0,y_.jsx)(cy,{...c,ref:t})}var pC=ie(dIe,"InputControlSuffixWrapper"),I0=pC;var Z0=u(T(),1),W_=u(me(),1),Hy=u(F(),1),HC="data-wp-hash";function IC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rIe(document)),e.__wpStyleRuntime}function iIe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${HC}]`))if(c.getAttribute(HC)===t)return!0;return!1}function h_(e,t,c){if(!e.head)return;let n=IC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(iIe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(HC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rIe(e){let t=IC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)h_(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function aIe(e,t){let c=IC();c.styles.set(e,t);for(let n of c.documents.keys())h_(n,e,t)}typeof process>"u",aIe("cbb20ea39f","._8f57b8d483c51fbe__circle-root{border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-radius:50%;box-sizing:border-box;cursor:grab;height:32px;overflow:hidden;width:32px}._8f57b8d483c51fbe__circle-root:active{cursor:grabbing}.b1bae984ac10fcc3__circle-indicator-wrapper{box-sizing:border-box;height:100%;position:relative;width:100%}.b1bae984ac10fcc3__circle-indicator-wrapper:focus-visible{outline:none}._6d2fe0a2cbb31bf0__circle-indicator{background:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));border-radius:50%;box-sizing:border-box;display:block;height:6px;left:50%;position:absolute;top:4px;transform:translateX(-50%);width:6px}");var RC={"circle-root":"_8f57b8d483c51fbe__circle-root","circle-indicator-wrapper":"b1bae984ac10fcc3__circle-indicator-wrapper","circle-indicator":"_6d2fe0a2cbb31bf0__circle-indicator"};function sIe({value:e,onChange:t,className:c,...n}){let l=(0,Z0.useRef)(null),o=(0,Z0.useRef)(void 0),d=(0,Z0.useRef)(void 0),i=()=>{if(l.current===null)return;let b=l.current.getBoundingClientRect();o.current={x:b.x+b.width/2,y:b.y+b.height/2}},r=b=>{if(b!==void 0&&(b.preventDefault(),b.target?.focus(),o.current!==void 0&&t!==void 0)){let{x:m,y:X}=o.current;t(bIe(m,X,b.clientX,b.clientY))}},{startDrag:a,isDragging:s}=(0,W_.__experimentalUseDragging)({onDragStart:b=>{i(),r(b)},onDragMove:r,onDragEnd:r});return(0,Z0.useEffect)(()=>{s?(d.current===void 0&&(d.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=d.current||"",d.current=void 0)},[s]),(0,Hy.jsx)("div",{ref:l,onMouseDown:a,className:w("components-angle-picker-control__angle-circle",RC["circle-root"],c),...n,children:(0,Hy.jsx)("div",{style:e?{transform:`rotate(${e}deg)`}:void 0,className:w("components-angle-picker-control__angle-circle-indicator-wrapper",RC["circle-indicator-wrapper"]),tabIndex:-1,children:(0,Hy.jsx)("div",{className:w("components-angle-picker-control__angle-circle-indicator",RC["circle-indicator"])})})})}function bIe(e,t,c,n){let l=n-t,o=c-e,d=Math.atan2(l,o),i=Math.round(d*(180/Math.PI))+90;return i<0?360+i:i}var B_=sIe;var er=u(F(),1);function uIe(e,t){let{className:c,label:n=(0,Iy.__)("Angle"),onChange:l,value:o,...d}=e,i=s=>{if(l===void 0)return;let b=s!==void 0&&s!==""?parseInt(s,10):0;l(b)},r=w("components-angle-picker-control",c),a=(0,Iy.isRTL)()?{prefix:(0,er.jsx)(Ha,{children:"\xB0"})}:{suffix:(0,er.jsx)(I0,{children:"\xB0"})};return(0,er.jsxs)(Mt,{...d,ref:t,className:r,gap:2,children:[(0,er.jsx)(Pn,{children:(0,er.jsx)($n,{label:n,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:i,step:"1",value:o,spinControls:"none",...a})}),(0,er.jsx)(Pc,{marginBottom:"1",marginTop:"auto",children:(0,er.jsx)(B_,{"aria-hidden":"true",value:o,onChange:l})})]})}var V_=(0,v_.forwardRef)(uIe);V_.displayName="AnglePickerControl";var Zy=V_;var el=u(T(),1),V0=u(me(),1),Jn=u(ZC(),1),Yj=u(Md(),1),Ny=u(Xa(),1);var Ij=u(io(),1),ya=u(T(),1),Zj=u(ZC(),1),v0=u(me(),1),fj=u(Md(),1),fa=u(Ze(),1);var w_=u(yy(),1),k_=u(me(),1),Wy=u(T(),1);var S_=u(yy(),1),xIe=new RegExp(/[\u007e\u00ad\u2053\u207b\u208b\u2212\p{Pd}]/gu),fC=e=>(0,S_.default)(e).normalize("NFKC").toLocaleLowerCase().replace(xIe,"-");function gb(e){return e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}function pIe(e,t=[],c=10){let n=[];for(let l=0;l<t.length;l++){let o=t[l],{keywords:d=[]}=o;if(typeof o.label=="string"&&(d=[...d,o.label]),!!d.some(r=>e.test((0,w_.default)(r)))&&(n.push(o),n.length===c))break}return n}function z_(e){return t=>{let[c,n]=(0,Wy.useState)([]);return(0,Wy.useLayoutEffect)(()=>{let{options:l,isDebounced:o}=e,d=(0,k_.debounce)(()=>{let r=Promise.resolve(typeof l=="function"?l(t):l).then(a=>{if(r.canceled)return;let s=a.map((m,X)=>({key:`${e.name}-${X}`,value:m,label:e.getOptionLabel(m),keywords:e.getOptionKeywords?e.getOptionKeywords(m):[],isDisabled:e.isOptionDisabled?e.isOptionDisabled(m):!1})),b=new RegExp("(?:\\b|\\s|^)"+gb(t),"i");n(pIe(b,s))});return r},o?250:0),i=d();return()=>{d.cancel(),i&&(i.canceled=!0)}},[t]),[c]}}var Fc=u(E(),1),A_=u(E(),1),O_=u(io(),1),HIe=typeof document<"u",IIe=function(){},hy=HIe?A_.useLayoutEffect:IIe;function By(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let c,n,l;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(c=e.length,c!==t.length)return!1;for(n=c;n--!==0;)if(!By(e[n],t[n]))return!1;return!0}if(l=Object.keys(e),c=l.length,c!==Object.keys(t).length)return!1;for(n=c;n--!==0;)if(!{}.hasOwnProperty.call(t,l[n]))return!1;for(n=c;n--!==0;){let o=l[n];if(!(o==="_owner"&&e.$$typeof)&&!By(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Q_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function T_(e,t){let c=Q_(e);return Math.round(t*c)/c}function yC(e){let t=Fc.useRef(e);return hy(()=>{t.current=e}),t}function vy(e){e===void 0&&(e={});let{placement:t="bottom",strategy:c="absolute",middleware:n=[],platform:l,elements:{reference:o,floating:d}={},transform:i=!0,whileElementsMounted:r,open:a}=e,[s,b]=Fc.useState({x:0,y:0,strategy:c,placement:t,middlewareData:{},isPositioned:!1}),[m,X]=Fc.useState(n);By(m,n)||X(n);let[G,g]=Fc.useState(null),[x,H]=Fc.useState(null),p=Fc.useCallback(N=>{N!==y.current&&(y.current=N,g(N))},[]),R=Fc.useCallback(N=>{N!==Z.current&&(Z.current=N,H(N))},[]),I=o||G,f=d||x,y=Fc.useRef(null),Z=Fc.useRef(null),W=Fc.useRef(s),v=r!=null,h=yC(r),C=yC(l),B=yC(a),V=Fc.useCallback(()=>{if(!y.current||!Z.current)return;let N={placement:t,strategy:c,middleware:m};C.current&&(N.platform=C.current),Mu(y.current,Z.current,N).then(A=>{let Q={...A,isPositioned:B.current!==!1};S.current&&!By(W.current,Q)&&(W.current=Q,O_.flushSync(()=>{b(Q)}))})},[m,t,c,C,B]);hy(()=>{a===!1&&W.current.isPositioned&&(W.current.isPositioned=!1,b(N=>({...N,isPositioned:!1})))},[a]);let S=Fc.useRef(!1);hy(()=>(S.current=!0,()=>{S.current=!1}),[]),hy(()=>{if(I&&(y.current=I),f&&(Z.current=f),I&&f){if(h.current)return h.current(I,f,V);V()}},[I,f,V,h,v]);let Y=Fc.useMemo(()=>({reference:y,floating:Z,setReference:p,setFloating:R}),[p,R]),J=Fc.useMemo(()=>({reference:I,floating:f}),[I,f]),k=Fc.useMemo(()=>{let N={position:c,left:0,top:0};if(!J.floating)return N;let A=T_(J.floating,s.x),Q=T_(J.floating,s.y);return i?{...N,transform:"translate("+A+"px, "+Q+"px)",...Q_(J.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:A,top:Q}},[c,i,J.floating,s.x,s.y]);return Fc.useMemo(()=>({...s,update:V,refs:Y,elements:J,floatingStyles:k}),[s,V,Y,J,k])}var ZIe=e=>{function t(c){return{}.hasOwnProperty.call(c,"current")}return{name:"arrow",options:e,fn(c){let{element:n,padding:l}=typeof e=="function"?e(c):e;return n&&t(n)?n.current!=null?FG({element:n.current,padding:l}).fn(c):{}:n?FG({element:n,padding:l}).fn(c):{}}}},mx=(e,t)=>{let c=hH(e);return{name:c.name,fn:c.fn,options:[e,t]}},Xx=(e,t)=>{let c=BH(e);return{name:c.name,fn:c.fn,options:[e,t]}},Gx=(e,t)=>({fn:CH(e).fn,options:[e,t]}),gx=(e,t)=>{let c=vH(e);return{name:c.name,fn:c.fn,options:[e,t]}},xb=(e,t)=>{let c=VH(e);return{name:c.name,fn:c.fn,options:[e,t]}};var WC=(e,t)=>{let c=ZIe(e);return{name:c.name,fn:c.fn,options:[e,t]}};var $c=u(T(),1),Ia=u(me(),1);var B0=u(Xt(),1),Rx=u(rt(),1),pj=u(Ze(),1);var L_=u(T(),1),U_=0;function E_(e){let t=document.scrollingElement||document.body;e&&(U_=t.scrollTop);let c=e?"add":"remove";t.classList[c]("lockscroll"),document.documentElement.classList[c]("lockscroll"),e||(t.scrollTop=U_)}var Vy=0;function fIe(){return(0,L_.useEffect)(()=>(Vy===0&&E_(!0),++Vy,()=>{Vy===1&&E_(!1),--Vy}),[]),null}var Cy=fIe;var px=u(T(),1);var ej=u(me(),1),Ko=u(T(),1);var hC=u(me(),1),D_=u(T(),1),Jut=u(En(),1),yIe={slots:(0,hC.observableMap)(),fills:(0,hC.observableMap)(),registerSlot:()=>{},unregisterSlot:()=>{},updateSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},updateFill:()=>{},isDefault:!0},__=(0,D_.createContext)(yIe);__.displayName="SlotFillContext";var fl=__;var Xn=[];for(let e=0;e<256;++e)Xn.push((e+256).toString(16).slice(1));function j_(e,t=0){return(Xn[e[t+0]]+Xn[e[t+1]]+Xn[e[t+2]]+Xn[e[t+3]]+"-"+Xn[e[t+4]]+Xn[e[t+5]]+"-"+Xn[e[t+6]]+Xn[e[t+7]]+"-"+Xn[e[t+8]]+Xn[e[t+9]]+"-"+Xn[e[t+10]]+Xn[e[t+11]]+Xn[e[t+12]]+Xn[e[t+13]]+Xn[e[t+14]]+Xn[e[t+15]]).toLowerCase()}var WIe=new Uint8Array(16);function BC(){return crypto.getRandomValues(WIe)}function hIe(e,t,c){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():BIe(e,t,c)}function BIe(e,t,c){e=e||{};let n=e.random??e.rng?.()??BC();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(c=c||0,c<0||c+16>t.length)throw new RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let l=0;l<16;++l)t[c+l]=n[l];return t}return j_(n)}var f0=hIe;var P_=u(T(),1),$_=u(F(),1),VC="data-wp-hash";function K_(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&q_(document)),e.__wpStyleRuntime}function VIe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VC}]`))if(c.getAttribute(VC)===t)return!0;return!1}function CIe(e,t,c){if(!e.head)return;let n=K_(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(VIe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function q_(e){let t=K_();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)CIe(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}var M_=new Set,vC=new WeakMap,FIe=e=>{if(vC.has(e))return vC.get(e);let t=f0().replace(/[0-9]/g,"");for(;M_.has(t);)t=f0().replace(/[0-9]/g,"");M_.add(t);let c=l0({container:e,key:t});return vC.set(e,c),c};function CC(e){let{children:t,document:c}=e;if((0,P_.useLayoutEffect)(()=>{if(c)return q_(c)},[c]),!c)return null;let n=FIe(c.head);return(0,$_.jsx)(W9,{value:n,children:t})}var y0=CC;var tj=u(F(),1);function W0({name:e,children:t}){let c=(0,Ko.useContext)(fl),n=(0,Ko.useRef)({}),l=(0,Ko.useRef)(t);(0,Ko.useLayoutEffect)(()=>{l.current=t},[t]),(0,Ko.useLayoutEffect)(()=>{let r=n.current;return c.registerFill(e,{instance:r,children:l.current}),()=>c.unregisterFill(e,r)},[c,e]),(0,Ko.useLayoutEffect)(()=>{c.updateFill(e,{instance:n.current,children:t})},[c,e,t]);let o=(0,ej.useObservableValue)(c.slots,e);if(!o||o.type==="children")return null;let d=o.ref.current;if(!d)return null;let i=typeof t=="function"?t(o.fillProps??{}):t;return(0,Ko.createPortal)((0,tj.jsx)(y0,{document:d.ownerDocument,children:i}),d)}var FC=u(me(),1),Go=u(T(),1);var Fy=u(F(),1);function cj(e){return typeof e=="function"}function JIe(e){return Go.Children.map(e,(t,c)=>{if(!t||typeof t=="string")return t;let n=c;return typeof t=="object"&&"key"in t&&t?.key&&(n=t.key),(0,Go.cloneElement)(t,{key:n})})}function YIe(e){let{name:t,children:c,fillProps:n={}}=e,l=(0,Go.useContext)(fl),o=(0,Go.useRef)({});(0,Go.useLayoutEffect)(()=>{let a=o.current;return l.registerSlot(t,{type:"children",instance:a}),()=>l.unregisterSlot(t,a)},[l,t]);let d=(0,FC.useObservableValue)(l.fills,t)??[],i=(0,FC.useObservableValue)(l.slots,t);(!i||i.instance!==o.current)&&(d=[]);let r=d.map(a=>{let s=cj(a.children)?a.children(n):a.children;return JIe(s)}).filter(a=>!(0,Go.isEmptyElement)(a));return(0,Fy.jsx)(Fy.Fragment,{children:cj(c)?c(r):r})}var nj=YIe;var go=u(T(),1),lj=u(me(),1);var oj=u(F(),1);function NIe(e,t){let{name:c,fillProps:n={},as:l,children:o,...d}=e,i=(0,go.useContext)(fl),r=(0,go.useRef)({}),a=(0,go.useRef)(null),s=(0,go.useRef)(n);return(0,go.useLayoutEffect)(()=>{s.current=n},[n]),(0,go.useLayoutEffect)(()=>{let b=r.current;return i.registerSlot(c,{type:"portal",instance:b,ref:a,fillProps:s.current}),()=>i.unregisterSlot(c,b)},[i,c]),(0,go.useLayoutEffect)(()=>{i.updateSlot(c,{type:"portal",instance:r.current,ref:a,fillProps:s.current})}),(0,oj.jsx)(Ce,{as:l,ref:(0,lj.useMergeRefs)([t,a]),...d})}var dj=(0,go.forwardRef)(NIe);var JC=u(me(),1),rj=u(T(),1),aj=u(Jy(),1);var sj=u(F(),1);function SIe(){let e=(0,JC.observableMap)(),t=(0,JC.observableMap)();function c(r,a){e.set(r,a)}function n(r,a){let s=e.get(r);!s||s.instance!==a||e.delete(r)}function l(r,a){if(a.type!=="portal")return;let s=e.get(r);s&&s.type==="portal"&&s.instance===a.instance&&((0,aj.isShallowEqual)(s.fillProps,a.fillProps)||e.set(r,a))}function o(r,a){t.set(r,[...t.get(r)||[],a])}function d(r,a){let s=t.get(r);s&&t.set(r,s.filter(b=>b.instance!==a))}function i(r,a){let s=t.get(r);if(!s)return;let b=s.find(m=>m.instance===a.instance);b&&b.children!==a.children&&t.set(r,s.map(m=>m.instance===a.instance?a:m))}return{slots:e,fills:t,registerSlot:c,unregisterSlot:n,updateSlot:l,registerFill:o,unregisterFill:d,updateFill:i}}function wIe({children:e}){let[t]=(0,rj.useState)(SIe);return(0,sj.jsx)(fl.Provider,{value:t,children:e})}var bj=wIe;var tr=u(F(),1);var uj=u(T(),1),mj=u(me(),1);function xx(e){let t=(0,uj.useContext)(fl),c=(0,mj.useObservableValue)(t.slots,e),n;return c&&c.type==="portal"&&(n=c.ref),{ref:n}}var pb=u(T(),1);function kIe(e,t,c){let n=(0,pb.useMemo)(()=>o=>e.subscribe(t,o),[e,t]),l=()=>c(e.get(t));return(0,pb.useSyncExternalStore)(n,l,l)}function zIe(e){return e?.length}function YC(e){let t=(0,pb.useContext)(fl),c=kIe(t.fills,e,zIe);return(0,pb.useMemo)(()=>c!==void 0?Array.from({length:c}):void 0,[c])}var h0=(0,px.forwardRef)((e,t)=>{let{bubblesVirtually:c,...n}=e;return c?(0,tr.jsx)(dj,{...n,ref:t}):(0,tr.jsx)(nj,{...n})});h0.displayName="Slot";function NC({children:e,passthrough:t=!1}){return!(0,px.useContext)(fl).isDefault&&t?(0,tr.jsx)(tr.Fragment,{children:e}):(0,tr.jsx)(bj,{children:e})}NC.displayName="SlotFillProvider";function Xj(e){let t=typeof e=="symbol"?e.description:e,c=l=>(0,tr.jsx)(W0,{name:e,...l});c.displayName=`${t}Fill`;let n=(0,px.forwardRef)((l,o)=>(0,tr.jsx)(h0,{name:e,ref:o,...l}));return n.displayName=`${t}Slot`,n.__unstableName=e,{name:e,Fill:c,Slot:n}}function Gj(){return[{name:"overlay",fn({rects:e}){return e.reference}},xb({apply({rects:e,elements:t}){let{firstElementChild:c}=t.floating??{};c instanceof HTMLElement&&Object.assign(c.style,{width:`${e.reference.width}px`,height:`${e.reference.height}px`})}})]}var gj=u(T(),1),Yy=(0,gj.createContext)(void 0);Yy.displayName="__unstableSlotNameContext";var Jc=u(F(),1),Rj="Popover",TIe=8,AIe=()=>(0,Jc.jsxs)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation",children:[(0,Jc.jsx)(Rx.Path,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,Jc.jsx)(Rx.Path,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})]}),xj="components-popover__fallback-container",OIe=()=>{let e=document.body.querySelector("."+xj);return e||(e=document.createElement("div"),e.className=xj,document.body.append(e)),e},QIe=(e,t)=>{let{animate:c=!0,headerTitle:n,constrainTabbing:l,onClose:o,children:d,className:i,noArrow:r=!0,position:a,placement:s="bottom-start",offset:b=0,focusOnMount:m="firstElement",anchor:X,expandOnMobile:G,onFocusOutside:g,__unstableSlotName:x=Rj,flip:H=!0,resize:p=!0,shift:R=!1,inline:I=!1,variant:f,style:y,__unstableForcePosition:Z,anchorRef:W,anchorRect:v,getAnchorRect:h,isAlternate:C,onKeyDown:B,...V}=ae(e,"Popover"),S=H,Y=p;Z!==void 0&&((0,B0.default)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),S=!Z,Y=!Z),W!==void 0&&(0,B0.default)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),v!==void 0&&(0,B0.default)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),h!==void 0&&(0,B0.default)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});let J=C?"toolbar":f;C!==void 0&&(0,B0.default)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});let k=(0,$c.useRef)(null),[N,A]=(0,$c.useState)(null),Q=(0,$c.useCallback)(Qe=>{A(Qe)},[]),z=(0,Ia.useViewportMatch)("medium","<"),D=G&&z,U=!D&&!r,O=a?sa(a):s,L=[...s==="overlay"?Gj():[],mx(b),S&&gx(),Y&&xb({padding:TIe,apply(Qe){let{firstElementChild:he}=ye.floating.current??{};he instanceof HTMLElement&&Object.assign(he.style,{maxHeight:`${Math.max(0,Qe.availableHeight)}px`,overflow:"auto"})}}),R&&Xx({crossAxis:!0,limiter:Gx(),padding:1}),WC({element:k})],M=(0,$c.useContext)(Yy)||x,_=xx(M),j;(o||g)&&(j=(Qe,he)=>{if(Qe==="focus-outside"){let Ke=he?.target,ut=ye.reference.current,kt=ye.floating.current,al=ut&&"contains"in ut&&ut.contains(Ke)||kt?.contains(Ke),$e=kt?.ownerDocument;if(!al&&!("relatedTarget"in he&&he.relatedTarget)&&$e?.activeElement===$e?.body)return;let pc="relatedTarget"in he?he.relatedTarget:null;if(pc instanceof Element&&pc.closest("[data-wp-compat-overlay-slot]")||kt&&$e?.activeElement instanceof Element&&kt.contains($e.activeElement))return;g?g(he):o&&o()}else o&&o()});let[ue,xe]=(0,Ia.__experimentalUseDialog)({constrainTabbing:l,focusOnMount:m,onKeyDown:B,__unstableOnClose:j,onClose:j}),{x:Be,y:P,refs:ye,strategy:Te,update:ze,placement:Ne,middlewareData:{arrow:He}}=vy({placement:O==="overlay"?void 0:O,middleware:L,whileElementsMounted:(Qe,he,Ke)=>Ci(Qe,he,Ke,{layoutShift:!1,animationFrame:!0})}),we=(0,$c.useCallback)(Qe=>{k.current=Qe,ze()},[ze]),pe=W?.top,ve=W?.bottom,Ve=W?.startContainer,qe=W?.current;(0,$c.useLayoutEffect)(()=>{let Qe=jL({anchor:X,anchorRef:W,anchorRect:v,getAnchorRect:h,fallbackReferenceElement:N});ye.setReference(Qe)},[X,W,pe,ve,Ve,qe,v,h,N,ye]);let Vt=(0,Ia.useMergeRefs)([ye.setFloating,ue,t]),Ge=D?void 0:{position:Te,top:0,left:0,x:w9(Be),y:w9(P)},We=(0,Ia.useReducedMotion)(),se=c&&!D&&!We,[ee,Ae]=(0,$c.useState)(!1),{style:ot,...ft}=(0,$c.useMemo)(()=>_L(Ne),[Ne]),Lt=se?{style:{...y,...ot,...Ge},onAnimationComplete:()=>Ae(!0),...ft}:{animate:!1,style:{...y,...Ge}},kc=(!se||ee)&&Be!==null&&P!==null,Ye=(0,Jc.jsxs)(oa.div,{className:w(i,{"is-expanded":D,"is-positioned":kc,[`is-${J==="toolbar"?"alternate":J}`]:J}),...Lt,...V,ref:Vt,...xe,tabIndex:-1,children:[D&&(0,Jc.jsx)(Cy,{}),D&&(0,Jc.jsxs)("div",{className:"components-popover__header",children:[(0,Jc.jsx)("span",{className:"components-popover__header-title",children:n}),(0,Jc.jsx)(be,{className:"components-popover__close",size:"small",icon:Ug,onClick:o,label:(0,pj.__)("Close")})]}),(0,Jc.jsx)("div",{className:"components-popover__content",children:d}),U&&(0,Jc.jsx)("div",{ref:we,className:["components-popover__arrow",`is-${Ne.split("-")[0]}`].join(" "),style:{left:typeof He?.x<"u"&&Number.isFinite(He.x)?`${He.x}px`:"",top:typeof He?.y<"u"&&Number.isFinite(He.y)?`${He.y}px`:""},children:(0,Jc.jsx)(AIe,{})})]}),le=_.ref&&!I,Fe=W||v||X;return le?Ye=(0,Jc.jsx)(W0,{name:M,children:Ye}):I||(Ye=(0,$c.createPortal)((0,Jc.jsx)(CC,{document,children:Ye}),OIe())),Fe?Ye:(0,Jc.jsxs)(Jc.Fragment,{children:[(0,Jc.jsx)("span",{ref:Q}),Ye]})},UIe=(0,$c.forwardRef)(({name:e=Rj},t)=>(0,Jc.jsx)(h0,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})),EIe=Object.assign(ie(QIe,"Popover"),{Slot:Object.assign(UIe,{displayName:"Popover.Slot"}),__unstableSlotNameProvider:Object.assign(Yy.Provider,{displayName:"Popover.__unstableSlotNameProvider"})}),Za=EIe;var Pd=u(F(),1);function Hj({items:e,onSelect:t,selectedIndex:c,instanceId:n,listBoxId:l,className:o,Component:d="div"}){return(0,Pd.jsx)(d,{id:l,role:"listbox",className:"components-autocomplete__results",children:e.map((i,r)=>(0,Pd.jsx)(be,{id:`components-autocomplete-item-${n}-${i.key}`,role:"option",__next40pxDefaultSize:!0,"aria-selected":r===c,accessibleWhenDisabled:!0,disabled:i.isDisabled,className:w("components-autocomplete__result",o,{"is-selected":r===c}),variant:r===c?"primary":void 0,onClick:()=>t(i),children:i.label},i.key))})}function yj({autocompleter:e,filterValue:t,instanceId:c,listBoxId:n,className:l,selectedIndex:o,onChangeOptions:d,onSelect:i,reset:r,contentRef:a}){let s=e.useItems??z_(e),[b]=s(t),m=(0,Zj.useAnchor)({editableContentElement:a.current}),[X,G]=(0,ya.useState)(!1),g=(0,ya.useRef)(null),x=(0,v0.useMergeRefs)([g,(0,v0.useRefEffect)(R=>{a.current&&G(R.ownerDocument!==a.current.ownerDocument)},[a])]);LIe(g,r);let H=(0,v0.useDebounce)(fj.speak,500);function p(R){H&&(R.length?H(t?(0,fa.sprintf)((0,fa._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",R.length),R.length):(0,fa.sprintf)((0,fa._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.",R.length),R.length),"assertive"):H((0,fa.__)("No results."),"assertive"))}return(0,ya.useLayoutEffect)(()=>{d(b),p(b)},[b]),b.length===0?null:(0,Pd.jsxs)(Pd.Fragment,{children:[(0,Pd.jsx)(Za,{offset:8,focusOnMount:!1,placement:"top-start",className:"components-autocomplete__popover",anchor:m,ref:x,children:(0,Pd.jsx)(Hj,{items:b,onSelect:i,selectedIndex:o,instanceId:c,listBoxId:n,className:l})}),a.current&&X&&(0,Ij.createPortal)((0,Pd.jsx)(Hj,{items:b,onSelect:i,selectedIndex:o,instanceId:c,listBoxId:n,className:l,Component:bt}),a.current.ownerDocument.body)]})}function LIe(e,t){(0,ya.useEffect)(()=>{let c=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",c),document.addEventListener("touchstart",c),()=>{document.removeEventListener("mousedown",c),document.removeEventListener("touchstart",c)}},[t,e])}var Wj=u(yy(),1);function hj(e,t,c){let{matchCount:n,isBackspacing:l,getTextAfterSelection:o,lastCompletion:d}=c;if(!e)return null;let i=null,r=-1,a=-1,s=0;for(let p of t){let R=e.lastIndexOf(p.triggerPrefix);if(R<0)continue;let I=R+p.triggerPrefix.length;(I>a||I===a&&p.triggerPrefix.length>s)&&(i=p,r=R,a=I,s=p.triggerPrefix.length)}if(!i)return null;let{allowContext:b,triggerPrefix:m}=i,X=e.slice(r+m.length);if(X.length>50)return null;let G=n===0,g=X.split(/\s/),x=g.length===1,H=l&&g.length<=3;return G&&!(H||x)||b&&!b(e.slice(0,r),o())||/^\s/.test(X)||/\s\s+$/.test(X)||d&&d.name===i.name&&X.trimEnd()===d.value?null:{completer:i,filterValue:(0,Wj.default)(X)}}var SC=e=>{if(e===null)return"";switch(typeof e){case"string":case"number":return e.toString();case"object":return e instanceof Array?e.map(SC).join(""):"props"in e?SC(e.props.children):"";default:return""}},Bj=SC;var Cj=u(Vj(),1),{lock:Fj,unlock:Jj}=(0,Cj.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/components");var C0=u(F(),1),{subscribeOwnedListener:DIe}=Jj(Jn.privateApis),_Ie=[],jIe={};function MIe(e){return e!==null&&typeof e=="object"&&"action"in e&&e.action!==void 0&&"value"in e&&e.value!==void 0?e:{action:"insert-at-caret",value:e}}var Nj={selectedIndex:0,filteredOptions:_Ie,filterValue:"",autocompleter:null};function PIe(e,t){switch(t.type){case"RESET":return Nj;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 Sj({record:e,onChange:t,onReplace:c,completers:n,contentRef:l}){let o=(0,V0.useInstanceId)(jIe),[d,i]=(0,el.useReducer)(PIe,Nj),{selectedIndex:r,filteredOptions:a,filterValue:s,autocompleter:b}=d,m=(0,el.useRef)(!1),X=(0,el.useRef)(""),G=(0,el.useRef)(null);function g(C){if(b===null)return"";let B=e.start,V=B-b.triggerPrefix.length-s.length,S=(0,Jn.create)({html:(0,el.renderToString)(C)});return t((0,Jn.insert)(e,S,V,B)),(0,Jn.getTextContent)(S)}function x(C){if(C.isDisabled||!b)return;let{getOptionCompletion:B}=b;if(!B){i({type:"RESET"}),l.current?.focus();return}let V=MIe(B(C.value,s));if(V.action==="replace"){c([V.value]);return}if(V.action==="insert-at-caret"){let S=g(V.value);if(S.startsWith(b.triggerPrefix)){let Y=S.slice(b.triggerPrefix.length);Y&&(G.current={name:b.name,value:Y})}}i({type:"RESET"}),l.current?.focus()}function H(C){i({type:"OPTIONS",options:C})}function p(C){if(m.current=C.key==="Backspace",!!b&&a.length!==0&&!C.defaultPrevented){switch(C.key){case"ArrowUp":case"ArrowDown":{let B=C.key==="ArrowUp"?-1:1,V=(r+B+a.length)%a.length;i({type:"SELECT",index:V}),(0,Ny.isAppleOS)()&&(0,Yj.speak)(Bj(a[V].label),"assertive");break}case"Escape":i({type:"RESET"}),C.preventDefault();break;case"Enter":x(a[r]);break;case"ArrowLeft":case"ArrowRight":i({type:"RESET"});return;default:return}C.preventDefault()}}let R=(0,el.useMemo)(()=>(0,Jn.isCollapsed)(e)?(0,Jn.getTextContent)((0,Jn.slice)(e,0)):"",[e]);(0,el.useEffect)(()=>{let C=e.text!==X.current;X.current=e.text;function B(){return R?(0,Jn.getTextContent)((0,Jn.slice)(e,void 0,(0,Jn.getTextContent)(e).length)):""}let V=hj(R,n,{matchCount:a.length,isBackspacing:m.current,getTextAfterSelection:B,lastCompletion:G.current});if(!V){b&&i({type:"RESET"});return}let{completer:S,filterValue:Y}=V;!b&&!C||(G.current&&G.current.name===S.name&&(G.current=null),i({type:"MATCH",completer:S,query:Y}))},[R]);let{key:I=""}=a[r]||{},{className:f}=b||{},y=!!b&&a.length>0,Z=y?`components-autocomplete-listbox-${o}`:void 0,W=y?`components-autocomplete-item-${o}-${I}`:null,v=e.start!==void 0,h=!!R&&v&&!!b;return{listBoxId:Z,activeId:W,onKeyDown:(0,Ny.withIgnoreIMEEvents)(p),popover:h&&(0,C0.jsx)(yj,{autocompleter:b,className:f,filterValue:s,instanceId:o,listBoxId:Z,selectedIndex:r,onChangeOptions:H,onSelect:x,contentRef:l,reset:()=>i({type:"RESET"})},b.name+b.triggerPrefix)}}function KIe(e,t){return e.text===t.text&&e.start===t.start&&e.end===t.end}function qIe(e){let t=(0,el.useRef)([]),c=t.current[t.current.length-1];return(!c||!KIe(e,c))&&t.current.push(e),t.current.length>2&&t.current.shift(),t.current[0]}function wj(e){let t=(0,el.useRef)(null),c=(0,el.useRef)(void 0),{record:n}=e,l=qIe(n),{popover:o,listBoxId:d,activeId:i,onKeyDown:r}=Sj({...e,contentRef:t});c.current=r;let a=(0,V0.useMergeRefs)([t,(0,V0.useRefEffect)(b=>{function m(X){c.current?.(X)}return DIe(b,"keydown",m,!0)},[])]);return n.text!==l?.text?{ref:a,children:o,"aria-autocomplete":d?"list":void 0,"aria-haspopup":d?"listbox":void 0,"aria-controls":d,"aria-owns":d,"aria-activedescendant":i??void 0}:{ref:a}}function kj({children:e,isSelected:t,...c}){let{popover:n,...l}=Sj(c);return(0,C0.jsxs)(C0.Fragment,{children:[e(l),t&&n]})}var J4=u(Ze(),1),H5=u(T(),1),I5=u(me(),1);var zC=u(Ze(),1);var wC="data-wp-hash";function kC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&eZe(document)),e.__wpStyleRuntime}function $Ie(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${wC}]`))if(c.getAttribute(wC)===t)return!0;return!1}function zj(e,t,c){if(!e.head)return;let n=kC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if($Ie(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(wC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function eZe(e){let t=kC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)zj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function tZe(e,t){let c=kC();c.styles.set(e,t);for(let n of c.documents.keys())zj(n,e,t)}typeof process>"u",tZe("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var cZe={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function Tj(e){let{className:t,...c}=ae(e,"BorderBoxControlLinkedButton");return{...c,className:w(cZe["linked-button"],t)}}var Aj=u(F(),1),nZe=(e,t)=>{let{className:c,isLinked:n,...l}=Tj(e),o=n?(0,zC.__)("Unlink sides"):(0,zC.__)("Link sides");return(0,Aj.jsx)(be,{...l,size:"small",icon:n?Mg:jg,iconSize:24,label:o,ref:t,className:c})},lZe=ie(nZe,"BorderBoxControlLinkedButton"),Sy=lZe;var Cx=u(Ze(),1),g5=u(T(),1),I4=u(me(),1);var TC="data-wp-hash";function AC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dZe(document)),e.__wpStyleRuntime}function oZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${TC}]`))if(c.getAttribute(TC)===t)return!0;return!1}function Oj(e,t,c){if(!e.head)return;let n=AC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(TC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dZe(e){let t=AC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Oj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function iZe(e,t){let c=AC();c.styles.set(e,t);for(let n of c.documents.keys())Oj(n,e,t)}typeof process>"u",iZe("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var rZe={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"},wy=e=>{let{color:t=oe.gray[200],style:c="solid",width:n=de.borderWidth}=e||{},l=n!==de.borderWidth?`clamp(1px, ${n}, 10px)`:n;return`${t} ${!!n&&n!=="0"||!!t?c||"solid":c} ${l}`};function Qj(e){let{className:t,style:c,value:n,...l}=ae(e,"BorderBoxControlVisualizer");return{...l,className:w(rZe.visualizer,t),style:{...c,"--wp-components-border-box-visualizer-top":wy(n?.top),"--wp-components-border-box-visualizer-bottom":wy(n?.bottom),"--wp-components-border-box-visualizer-start":wy(n?.left),"--wp-components-border-box-visualizer-end":wy(n?.right)},value:n}}var Uj=u(F(),1),aZe=(e,t)=>{let{value:c,...n}=Qj(e);return(0,Uj.jsx)(Ce,{...n,ref:t})},sZe=ie(aZe,"BorderBoxControlVisualizer"),OC=sZe;var vF=u(Ze(),1);var Qc=u(Ze(),1);var Py=u(Ze(),1);var DC=u(T(),1),Kj=u(me(),1);var Lj=u(me(),1),Y0=u(T(),1),Dj=u(Ze(),1);var ky=u(T(),1),QC=(0,ky.createContext)(void 0);QC.displayName="ToggleGroupControlContext";var F0=(e="ToggleGroupControlOptionBase")=>{let t=(0,ky.useContext)(QC);if(!t)throw new Error(`${e} can only be rendered inside ToggleGroupControl.`);return t},zy=QC;var Ej=u(me(),1),J0=u(T(),1);function Ty(e){let t=(0,J0.useRef)(!0),c=(0,Ej.usePrevious)(e),n=(0,J0.useRef)(!1);(0,J0.useEffect)(()=>{t.current&&(t.current=!1)},[]);let l=n.current||!t.current&&c!==e;return(0,J0.useEffect)(()=>{n.current=l},[l]),l?{value:e??"",defaultValue:void 0}:{value:void 0,defaultValue:e}}var Ay=u(F(),1);function bZe({children:e,isAdaptiveWidth:t,label:c,onChange:n,value:l,id:o,setSelectedElement:d,disabled:i,...r},a){let s=(0,Lj.useInstanceId)(Oy,"toggle-group-control-as-radio-group"),b=o||s,{value:m,defaultValue:X}=Ty(l),g=em({defaultValue:X,value:m,setValue:n?R=>{n(R??void 0)}:void 0,rtl:(0,Dj.isRTL)()}),x=$(g,"value"),H=g.setValue;(0,Y0.useEffect)(()=>{x===""&&g.setActiveId(void 0)},[g,x]);let p=(0,Y0.useMemo)(()=>({activeItemIsNotFirstItem:()=>g.getState().activeId!==g.first(),baseId:b,isBlock:!t,value:x,setValue:H,setSelectedElement:d,disabled:!!i}),[b,t,g,x,d,H,i]);return(0,Ay.jsx)(zy.Provider,{value:p,children:(0,Ay.jsx)($u,{store:g,"aria-label":c,render:(0,Ay.jsx)(Ce,{}),...r,id:b,ref:a,disabled:i||void 0,children:e})})}var Oy=(0,Y0.forwardRef)(bZe);Oy.displayName="ToggleGroupControlAsRadioGroup";var _j=u(me(),1),Qy=u(T(),1);var UC=u(F(),1);function uZe({children:e,isAdaptiveWidth:t,label:c,onChange:n,value:l,id:o,setSelectedElement:d,disabled:i,...r},a){let s=(0,_j.useInstanceId)(Uy,"toggle-group-control-as-button-group"),b=o||s,{value:m,defaultValue:X}=Ty(l),[G,g]=Do({defaultValue:X,value:m,onChange:n}),x=(0,Qy.useMemo)(()=>({baseId:b,value:G,setValue:g,isBlock:!t,isDeselectable:!0,setSelectedElement:d,disabled:!!i}),[b,G,g,t,d,i]);return(0,UC.jsx)(zy.Provider,{value:x,children:(0,UC.jsx)(Ce,{"aria-label":c,...r,ref:a,role:"group",id:b,"aria-disabled":i||void 0,children:e})})}var Uy=(0,Qy.forwardRef)(uZe);Uy.displayName="ToggleGroupControlAsButtonGroup";var Rb=u(T(),1),Ey=u(me(),1),EC={element:void 0,top:0,right:0,bottom:0,left:0,width:0,height:0};function mZe(e){let t=e.getBoundingClientRect();if(t.width===0||t.height===0)return;let c=e.offsetParent,n=c?.getBoundingClientRect()??EC,l=c?.scrollLeft??0,o=c?.scrollTop??0,d=parseFloat(getComputedStyle(e).width),i=parseFloat(getComputedStyle(e).height),r=d/t.width,a=i/t.height;return{element:e,top:(t.top-n?.top)*a+o,right:(n?.right-t.right)*r-l,bottom:(n?.bottom-t.bottom)*a-o,left:(t.left-n?.left)*r+l,width:d,height:i}}var XZe=100;function Ly(e,t=[]){let[c,n]=(0,Rb.useState)(EC),l=(0,Rb.useRef)(void 0),o=(0,Ey.useEvent)(()=>{if(e&&e.isConnected){let i=mZe(e);if(i)return n(i),clearInterval(l.current),!0}else clearInterval(l.current);return!1}),d=(0,Ey.useResizeObserver)(()=>{o()||requestAnimationFrame(()=>{o()||(l.current=setInterval(o,XZe))})});return(0,Rb.useLayoutEffect)(()=>{d(e),e||n(EC)},[d,e]),(0,Rb.useLayoutEffect)(()=>{o()},t),c}var Pj=u(me(),1),LC=u(T(),1);var jj=u(me(),1),Dy=u(T(),1);function Mj(e,t){let c=(0,Dy.useRef)(e),n=(0,jj.useEvent)(t);(0,Dy.useLayoutEffect)(()=>{c.current!==e&&(n({previousValue:c.current}),c.current=e)},[n,e])}function _y(e,t,{prefix:c="subelement",dataAttribute:n=`${c}-animated`,transitionEndFilter:l=()=>!0,roundRect:o=!1}={}){let d=(0,Pj.useEvent)(()=>{Object.keys(t).forEach(i=>i!=="element"&&e?.style.setProperty(`--${c}-${i}`,String(o?Math.floor(t[i]):t[i])))});(0,LC.useLayoutEffect)(()=>{d()},[t,d]),Mj(t.element,({previousValue:i})=>{t.element&&i&&e?.setAttribute(`data-${n}`,"")}),(0,LC.useLayoutEffect)(()=>{function i(r){l(r)&&e?.removeAttribute(`data-${n}`)}return e?.addEventListener("transitionend",i),()=>e?.removeEventListener("transitionend",i)},[n,e,l])}var jC=u(F(),1),_C="data-wp-hash";function MC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gZe(document)),e.__wpStyleRuntime}function GZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_C}]`))if(c.getAttribute(_C)===t)return!0;return!1}function qj(e,t,c){if(!e.head)return;let n=MC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(GZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_C,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gZe(e){let t=MC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)qj(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xZe(e,t){let c=MC();c.styles.set(e,t);for(let n of c.documents.keys())qj(n,e,t)}typeof process>"u",xZe("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 jy={"toggle-group-control":"f3fd102dd2f0e90e__toggle-group-control","has-border":"_1344586004ce6119__has-border","has-enclosing-borders":"aa98fad5b5d333be__has-enclosing-borders","is-block":"_4068eff8d72c19b3__is-block"};function pZe(e,t){let{__nextHasNoMarginBottom:c,size:n,__next40pxDefaultSize:l,className:o,isAdaptiveWidth:d=!1,isBlock:i=!1,isDeselectable:r=!1,disabled:a=!1,id:s,label:b,hideLabelFromVision:m=!1,help:X,onChange:G,value:g,children:x,...H}=ae(e,"ToggleGroupControl"),{baseControlProps:p,controlProps:R}=Xb({id:s,help:X,label:b,hideLabelFromVision:m}),[I,f]=(0,DC.useState)(),[y,Z]=(0,DC.useState)(),W=(0,Kj.useMergeRefs)([Z,t]),v=Ly(g!=null?I:void 0);_y(y,v,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:B=>B.pseudoElement==="::before",roundRect:!1});let h=w(jy["toggle-group-control"],{[jy["is-block"]]:i,[jy["has-border"]]:i&&!r,[jy["has-enclosing-borders"]]:!r},o);return(0,jC.jsx)(at,{...p,children:(0,jC.jsx)(r?Uy:Oy,{...H,...R,setSelectedElement:f,className:h,isAdaptiveWidth:d,label:b,onChange:G,ref:W,value:g,disabled:a,children:x})})}var RZe=ie(pZe,"ToggleGroupControl"),Kd=RZe;var cM=u(T(),1);var $j=u(me(),1),My=u(T(),1);var xo=u(F(),1),PC="data-wp-hash";function KC(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&IZe(document)),e.__wpStyleRuntime}function HZe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PC}]`))if(c.getAttribute(PC)===t)return!0;return!1}function eM(e,t,c){if(!e.head)return;let n=KC(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(HZe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PC,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function IZe(e){let t=KC();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)eM(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function ZZe(e,t){let c=KC();c.styles.set(e,t);for(let n of c.documents.keys())eM(n,e,t)}typeof process>"u",ZZe("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 Wa={label:"_1dec843460a3c9d5__label","label-block":"_50ddec5669c9d4a6__label-block",button:"_1563c8aa5e21d063__button","is-deselectable":"e1b6a1f76b7eb2bb__is-deselectable","is-icon":"_407216dd3e301287__is-icon","is-pressed":"_617c0f0a1c161590__is-pressed","button-content":"_2850882d974e5419__button-content"},fZe=({showTooltip:e,text:t,children:c})=>e&&t?(0,xo.jsx)(Hl,{text:t,placement:"top",children:c}):(0,xo.jsx)(xo.Fragment,{children:c});function tM(e,t){let c=F0(),n=(0,$j.useInstanceId)(tM,c.baseId||"toggle-group-control-option-base"),l=ae({...e,id:n},"ToggleGroupControlOptionBase"),{isBlock:o=!1,isDeselectable:d=!1}=c,{className:i,isIcon:r=!1,value:a,children:s,showTooltip:b=!1,disabled:m,...X}=l,G=!!(c.disabled||m),g=c.value===a,x=w(Wa.label,o&&Wa["label-block"]),H=w(Wa.button,{[Wa["is-deselectable"]]:d,[Wa["is-icon"]]:r,[Wa["is-pressed"]]:g},i),p=()=>{d&&g?c.setValue(void 0):c.setValue(a)},R={...X,className:H,"data-value":a,ref:t},I=(0,My.useRef)(null);return(0,My.useLayoutEffect)(()=>{g&&I.current&&c.setSelectedElement(I.current)},[g,c]),(0,xo.jsx)("div",{ref:I,className:x,children:(0,xo.jsx)(fZe,{showTooltip:b,text:X["aria-label"],children:d?(0,xo.jsx)("button",{...R,disabled:G,"aria-pressed":g,type:"button",onClick:p,children:(0,xo.jsx)("div",{className:Wa["button-content"],children:s})}):(0,xo.jsx)(qu,{disabled:m,onFocusVisible:()=>{(!(c.value===null||c.value==="")||c.activeItemIsNotFirstItem?.())&&c.setValue(a)},render:(0,xo.jsx)("button",{type:"button",...R}),value:a,children:(0,xo.jsx)("div",{className:Wa["button-content"],children:s})})})})}var yZe=ie(tM,"ToggleGroupControlOptionBase"),Hx=yZe;var nM=u(F(),1);function WZe(e,t){F0("ToggleGroupControlOption");let{label:c,...n}=e,l=n["aria-label"]||c;return(0,nM.jsx)(Hx,{...n,"aria-label":l,ref:t,children:c})}var lM=(0,cM.forwardRef)(WZe);lM.displayName="ToggleGroupControlOption";var cr=lM;var oM=u(T(),1);var qC=u(F(),1);function hZe(e,t){F0("ToggleGroupControlOptionIcon");let{icon:c,label:n,...l}=e;return(0,qC.jsx)(Hx,{...l,isIcon:!0,"aria-label":n,showTooltip:!0,ref:t,children:(0,qC.jsx)(Ot,{icon:c})})}var dM=(0,oM.forwardRef)(hZe);dM.displayName="ToggleGroupControlOptionIcon";var N0=dM;var $C=u(F(),1),BZe=[{label:(0,Py.__)("Solid"),icon:_g,value:"solid"},{label:(0,Py.__)("Dashed"),icon:IV,value:"dashed"},{label:(0,Py.__)("Dotted"),icon:fV,value:"dotted"}];function vZe({onChange:e,...t},c){return(0,$C.jsx)(Kd,{ref:c,isDeselectable:!0,onChange:n=>{e?.(n)},...t,children:BZe.map(n=>(0,$C.jsx)(N0,{value:n.value,icon:n.icon,label:n.label},n.value))})}var VZe=ie(vZe,"BorderControlStylePicker"),eF=VZe;var iM=u(T(),1),rM=u(F(),1);function CZe(e,t){let{className:c,colorValue:n,...l}=e;return(0,rM.jsx)("span",{className:w("component-color-indicator",c),style:{background:n},ref:t,...l})}var aM=(0,iM.forwardRef)(CZe);aM.displayName="ColorIndicator";var qd=aM;var tF=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},cF=function(e){return .2126*tF(e.r)+.7152*tF(e.g)+.0722*tF(e.b)},Ky=function(e){e.prototype.luminance=function(){return t=cF(this.rgba),(c=2)===void 0&&(c=0),n===void 0&&(n=Math.pow(10,c)),Math.round(n*t)/n+0;var t,c,n},e.prototype.contrast=function(t){t===void 0&&(t="#FFF");var c,n,l,o,d,i,r,a=t instanceof e?t:new e(t);return o=this.rgba,d=a.toRgb(),i=cF(o),r=cF(d),c=i>r?(i+.05)/(r+.05):(r+.05)/(i+.05),(n=2)===void 0&&(n=0),l===void 0&&(l=Math.pow(10,n)),Math.floor(l*c)/l+0},e.prototype.isReadable=function(t,c){return t===void 0&&(t="#FFF"),c===void 0&&(c={}),this.contrast(t)>=(i=(d=(n=c).size)===void 0?"normal":d,(o=(l=n.level)===void 0?"AA":l)==="AAA"&&i==="normal"?7:o==="AA"&&i==="large"?3:4.5);var n,l,o,d,i}};var j6=u(me(),1),rr=u(Ze(),1),$o=u(T(),1);var qy=u(T(),1),sM=u(me(),1),bM=u(Xt(),1);var $y=u(F(),1),FZe=(e,t)=>{let{renderContent:c,renderToggle:n,className:l,contentClassName:o,expandOnMobile:d,headerTitle:i,focusOnMount:r,popoverProps:a,onClose:s,onToggle:b,style:m,open:X,defaultOpen:G,position:g,variant:x}=ae(e,"Dropdown");g!==void 0&&(0,bM.default)("`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."});let[H,p]=(0,qy.useState)(null),R=(0,qy.useRef)(null),[I,f]=Do({defaultValue:G,value:X,onChange:b});function y(){if(!R.current)return;let{ownerDocument:h}=R.current,C=h?.activeElement?.closest('[role="dialog"]');!R.current.contains(h.activeElement)&&(!C||C.contains(R.current))&&Z()}function Z(){s?.(),f(!1)}let W={isOpen:!!I,onToggle:()=>f(!I),onClose:Z},v=!!a?.anchor||!!a?.anchorRef||!!a?.getAnchorRect||!!a?.anchorRect;return(0,$y.jsxs)("div",{className:l,ref:(0,sM.useMergeRefs)([R,t,p]),tabIndex:-1,style:m,children:[n(W),I&&(0,$y.jsx)(Za,{position:g,onClose:Z,onFocusOutside:y,expandOnMobile:d,headerTitle:i,focusOnMount:r,offset:13,anchor:v?void 0:H,variant:x,...a,className:w("components-dropdown__content",a?.className,o),children:c(W)})]})},JZe=ie(FZe,"Dropdown"),$d=JZe;var yl=u(T(),1),I6=u(me(),1),Z6=u(Ze(),1);var gM=u(me(),1),xM=u(T(),1);var YZe=({disabled:e})=>e?Re("color:",oe.ui.textDisabled,";cursor:default;",""):"",NZe={name:"1lv1yo7",styles:"display:inline-flex"},SZe=({variant:e})=>e==="minimal"?NZe:"",uM=q(X0,{target:"e1mv6sxx3"})("color:",oe.theme.foreground,";cursor:pointer;",YZe," ",SZe,";"),wZe=({multiple:e,selectSize:t="default"})=>{if(e)return;let c={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}},n=c[t]||c.default;return Re(n,"","")},Hb=18,kZe=({multiple:e,selectSize:t="default"})=>{let c={default:de.controlPaddingX,small:de.controlPaddingXSmall,compact:de.controlPaddingXSmall},n=c[t]||c.default;return yc({paddingLeft:n,paddingRight:n+Hb,...e?{paddingTop:n,paddingBottom:n}:{}})},zZe=({multiple:e})=>({overflow:e?"auto":"hidden"}),TZe={name:"n1jncc",styles:"field-sizing:content"},AZe=({variant:e})=>e==="minimal"?TZe:"",mM=q("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;",ox,";",wZe,";",kZe,";",zZe," ",AZe,";}"),XM=q("div",{target:"e1mv6sxx1"})("margin-inline-end:",K(-1),";line-height:0;"),GM=q(I0,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",yc({right:0}),";");var e5=u(F(),1),OZe=()=>(0,e5.jsx)(GM,{children:(0,e5.jsx)(XM,{children:(0,e5.jsx)(Kc,{icon:Og,size:Hb})})}),t5=OZe;var Ib=u(F(),1);function QZe(e){let c=`inspector-select-control-${(0,gM.useInstanceId)(Ix)}`;return e||c}function UZe({options:e}){return e.map(({id:t,label:c,value:n,...l},o)=>{let d=t||`${c}-${n}-${o}`;return(0,Ib.jsx)("option",{value:n,...l,children:c},d)})}function EZe(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,__next36pxDefaultSize:l,className:o,disabled:d=!1,help:i,hideLabelFromVision:r,id:a,label:s,multiple:b=!1,onChange:m,options:X=[],size:G="default",value:g,labelPosition:x="top",children:H,prefix:p,suffix:R,variant:I="default",...f}=e,y=QZe(a),Z=i?`${y}__help`:void 0;if(!X?.length&&!H)return null;let W=h=>{if(e.multiple){let B=Array.from(h.target.options).filter(({selected:V})=>V).map(({value:V})=>V);e.onChange?.(B,{event:h});return}e.onChange?.(h.target.value,{event:h})},v=w("components-select-control",o);return(0,Ib.jsx)(at,{help:i,id:y,className:v,children:(0,Ib.jsx)(uM,{disabled:d,hideLabelFromVision:r,id:y,isBorderless:I==="minimal",label:s,size:G,suffix:R||!b&&(0,Ib.jsx)(t5,{}),prefix:p,labelPosition:x,__unstableInputWidth:I==="minimal"?"auto":void 0,variant:I,children:(0,Ib.jsx)(mM,{...f,"aria-describedby":Z,className:"components-select-control__input",disabled:d,id:y,multiple:b,onChange:W,ref:t,selectSize:G,value:g,variant:I,children:H||(0,Ib.jsx)(UZe,{options:X})})})})}var Ix=(0,xM.forwardRef)(EZe);Ix.displayName="SelectControl";var ei=Ix;var c5=u(Ze(),1),Ba=u(T(),1),n5=u(me(),1);var pM=u(T(),1);function Zx(e,t,c){return typeof e!="number"?null:parseFloat(`${R0(e,t,c)}`)}function RM(e){let{min:t,max:c,value:n,initial:l}=e,[o,d]=Ei(Zx(n,t,c),{initial:Zx(l??null,t,c),fallback:null}),i=(0,pM.useCallback)(r=>{d(r===null?null:Zx(r,t,c))},[t,c,d]);return[o,i]}var wM=u(T(),1);var fx=30,S0=4,nF=()=>Re({height:fx,minHeight:fx},"",""),Zb=12,HM=q("div",{target:"e1epgpqk14"})({name:"1ryrvza",styles:"-webkit-tap-highlight-color:transparent;align-items:center;display:flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;min-height:40px"}),LZe=({color:e=oe.ui.borderFocus})=>Re({color:e},"",""),IM=q("div",{shouldForwardProp:e=>!["color","marks"].includes(e),target:"e1epgpqk13"})("display:block;flex:1;position:relative;width:100%;",LZe,";",nF,";"),ZM=q("span",{target:"e1epgpqk12"})("display:flex;margin-top:",S0,"px;",yc({marginRight:6}),";"),fM=q("span",{target:"e1epgpqk11"})("display:flex;margin-top:",S0,"px;",yc({marginLeft:6}),";"),DZe=({disabled:e,railColor:t})=>Re("background:",e?oe.ui.backgroundDisabled:t||oe.theme.gray[300],";@media ( forced-colors: active ){background:GrayText;}",""),yM=q("span",{target:"e1epgpqk10"})("left:0;pointer-events:none;right:0;display:block;height:",S0,"px;position:absolute;margin-top:",(fx-S0)/2,"px;top:0;border-radius:",de.radiusFull,";",DZe,";"),_Ze=({disabled:e,trackColor:t})=>Re("background:",e?oe.theme.gray[400]:t||"currentColor",";@media ( forced-colors: active ){background:",e?"GrayText":"CanvasText",";}",""),WM=q("span",{target:"e1epgpqk9"})("border-radius:",de.radiusFull,";height:",S0,"px;pointer-events:none;display:block;position:absolute;margin-top:",(fx-S0)/2,"px;top:0;.is-marked &{@media not ( prefers-reduced-motion ){transition:width ease 0.1s;}}",_Ze,";"),hM=q("span",{target:"e1epgpqk8"})({name:"g5kg28",styles:"display:block;pointer-events:none;position:relative;width:100%;user-select:none;margin-top:17px"}),BM=q("span",{target:"e1epgpqk7"})("position:absolute;left:0;top:-4px;height:4px;width:2px;transform:translateX( -50% );background-color:",oe.ui.background,";z-index:1;"),jZe=({isFilled:e})=>Re({color:e?oe.theme.gray[700]:oe.theme.gray[300]},"",""),vM=q("span",{target:"e1epgpqk6"})("color:",oe.theme.gray[300],";font-size:11px;position:absolute;top:8px;white-space:nowrap;",yc({left:0}),";",yc({transform:"translateX( -50% )"},{transform:"translateX( 50% )"}),";",jZe,";"),VM=({disabled:e})=>Re("background:",e?oe.theme.gray[400]:oe.theme.accent,";@media ( forced-colors: active ){background:",e?"GrayText":"CanvasText",";}",""),CM=q("span",{target:"e1epgpqk5"})("align-items:center;display:flex;height:",Zb,"px;justify-content:center;margin-top:",(fx-Zb)/2,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",Zb,"px;border-radius:",de.radiusRound,";z-index:3;.is-marked &{@media not ( prefers-reduced-motion ){transition:left ease 0.1s;}}",VM,";",yc({marginLeft:-10}),";",yc({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),MZe=({isFocused:e})=>e?Re("&::before{content:' ';position:absolute;background-color:",oe.theme.accent,";opacity:0.4;border-radius:",de.radiusRound,";height:",Zb+8,"px;width:",Zb+8,"px;top:-4px;left:-4px;@media ( forced-colors: active ){background:GrayText;}}",""):"",FM=q("span",{target:"e1epgpqk4"})("align-items:center;border-radius:",de.radiusRound,";height:100%;outline:0;position:absolute;user-select:none;width:100%;box-shadow:",de.elevationXSmall,";",VM,";",MZe,";"),JM=q("input",{target:"e1epgpqk3"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",Zb/2,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",Zb,"px );"),PZe=({show:e})=>Re("display:",e?"inline-block":"none",";opacity:",e?1:0,";@media not ( prefers-reduced-motion ){transition:opacity 120ms ease,display 120ms ease allow-discrete;}@starting-style{opacity:0;}",""),KZe={name:"1cypxip",styles:"top:-80%"},qZe={name:"1lr98c4",styles:"bottom:-80%"},$Ze=({placement:e})=>e==="bottom"?qZe:KZe,YM=q("span",{target:"e1epgpqk2"})("background:rgba( 0, 0, 0, 0.8 );border-radius:",de.radiusSmall,";color:white;font-size:12px;min-width:32px;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;user-select:none;line-height:1.4;",PZe,";",$Ze,";",yc({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),NM=q($n,{target:"e1epgpqk1"})("display:inline-block;font-size:13px;margin-top:0;input[type='number']&{",nF,";}",yc({marginLeft:`${K(4)} !important`}),";"),SM=q("span",{target:"e1epgpqk0"})("display:block;margin-top:0;button,button.is-small{margin-left:0;",nF,";}",yc({marginLeft:8}),";");var kM=u(F(),1);function efe(e,t){let{describedBy:c,label:n,value:l,...o}=e;return(0,kM.jsx)(JM,{...o,"aria-describedby":c,"aria-label":n,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:l})}var tfe=(0,wM.forwardRef)(efe),zM=tfe;var AM=u(Ze(),1);var fb=u(F(),1);function TM(e){let{className:t,isFilled:c=!1,label:n,style:l={},...o}=e,d=w("components-range-control__mark",c&&"is-filled",t),i=w("components-range-control__mark-label",c&&"is-filled");return(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(BM,{...o,"aria-hidden":"true",className:d,style:l}),n&&(0,fb.jsx)(vM,{"aria-hidden":"true",className:i,isFilled:c,style:l,children:n})]})}var ha=u(F(),1),OM=u(E(),1);function QM(e){let{disabled:t=!1,marks:c=!1,min:n=0,max:l=100,step:o=1,value:d=0,...i}=e;return(0,ha.jsxs)(ha.Fragment,{children:[(0,ha.jsx)(yM,{disabled:t,...i}),c&&(0,ha.jsx)(cfe,{disabled:t,marks:c,min:n,max:l,step:o,value:d})]})}function cfe(e){let{disabled:t=!1,marks:c=!1,min:n=0,max:l=100,step:o=1,value:d=0}=e,r=nfe({marks:c,min:n,max:l,step:o==="any"?1:o,value:d});return(0,ha.jsx)(hM,{"aria-hidden":"true",className:"components-range-control__marks",children:r.map(a=>(0,OM.createElement)(TM,{...a,key:a.key,"aria-hidden":"true",disabled:t}))})}function nfe({marks:e,min:t=0,max:c=100,step:n=1,value:l=0}){if(!e)return[];let o=c-t;if(!Array.isArray(e)){e=[];let i=1+Math.round(o/n);for(;i>e.push({value:n*e.length+t}););}let d=[];return e.forEach((i,r)=>{if(i.value<t||i.value>c)return;let a=`mark-${r}`,s=i.value<=l,b=`${(i.value-t)/o*100}%`,m={[(0,AM.isRTL)()?"right":"left"]:b};d.push({...i,isFilled:s,key:a,style:m})}),d}var yb=u(T(),1);var UM=u(F(),1);function EM(e){let{className:t,inputRef:c,tooltipPlacement:n,show:l=!1,style:o={},value:d=0,renderTooltipContent:i=X=>X,zIndex:r=100,...a}=e,s=lfe({inputRef:c,tooltipPlacement:n}),b=w("components-simple-tooltip",t),m={...o,zIndex:r};return(0,UM.jsx)(YM,{...a,"aria-hidden":"false",className:b,placement:s,show:l,role:"tooltip",style:m,children:i(d)})}function lfe({inputRef:e,tooltipPlacement:t}){let[c,n]=(0,yb.useState)(),l=(0,yb.useCallback)(()=>{e&&e.current&&n(t)},[t,e]);return(0,yb.useEffect)(()=>{l()},[l]),(0,yb.useEffect)(()=>(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)})),c}var en=u(F(),1),yx=()=>{};function ofe({resetFallbackValue:e,initialPosition:t}){return e!==void 0?Number.isNaN(e)?null:e:t!==void 0?Number.isNaN(t)?null:t:null}function LM(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,afterIcon:l,allowReset:o=!1,beforeIcon:d,className:i,color:r=oe.theme.accent,currentInput:a,disabled:s=!1,help:b,hideLabelFromVision:m=!1,initialPosition:X,isShiftStepEnabled:G=!0,label:g,marks:x=!1,max:H=100,min:p=0,onBlur:R=yx,onChange:I=yx,onFocus:f=yx,onMouseLeave:y=yx,onMouseMove:Z=yx,railColor:W,renderTooltipContent:v=ft=>ft,resetFallbackValue:h,shiftStep:C=10,showTooltip:B,step:V=1,trackColor:S,value:Y,withInputField:J=!0,...k}=e,[N,A]=RM({min:p,max:H,value:Y??null,initial:X}),Q=(0,Ba.useRef)(!1),z=B,D=J;V==="any"&&(z=!1,D=!1);let[U,O]=(0,Ba.useState)(z),[L,M]=(0,Ba.useState)(!1),_=(0,Ba.useRef)(null),j=_.current?.matches(":focus"),ue=!s&&L,xe=N===null,P=xe?"":N!==void 0?N:a,ye=xe?(H-p)/2+p:N,Te=xe?50:(N-p)/(H-p)*100,ze=`${R0(Te,0,100)}%`,Ne=w("components-range-control",i),He=w("components-range-control__wrapper",!!x&&"is-marked"),we=(0,n5.useInstanceId)(LM,"inspector-range-control"),pe=b?`${we}__help`:void 0,ve=z!==!1&&Number.isFinite(N),Ve=ft=>{let Lt=parseFloat(ft.target.value);A(Lt),I(Lt)},qe=ft=>{let Lt=parseFloat(ft);A(Lt),isNaN(Lt)?o&&(Q.current=!0):((Lt<p||Lt>H)&&(Lt=Zx(Lt,p,H)),I(Lt),Q.current=!1)},Vt=()=>{Q.current&&(Ge(),Q.current=!1)},Ge=()=>{let ft=Number.isNaN(h)?null:h??null;A(ft),I(ft??void 0)},We=()=>O(!0),se=()=>O(!1),ee=ft=>{R(ft),M(!1),se()},Ae=ft=>{f(ft),M(!0),We()},ot={[(0,c5.isRTL)()?"right":"left"]:ze};return(0,en.jsx)(at,{className:Ne,label:g,hideLabelFromVision:m,id:`${we}`,help:b,children:(0,en.jsxs)(HM,{className:"components-range-control__root",children:[d&&(0,en.jsx)(ZM,{children:(0,en.jsx)(Ot,{icon:d})}),(0,en.jsxs)(IM,{className:He,color:r,marks:!!x,children:[(0,en.jsx)(zM,{...k,className:"components-range-control__slider",describedBy:pe,disabled:s,id:`${we}`,label:g,max:H,min:p,onBlur:ee,onChange:Ve,onFocus:Ae,onMouseMove:Z,onMouseLeave:y,ref:(0,n5.useMergeRefs)([_,t]),step:V,value:P??void 0}),(0,en.jsx)(QM,{"aria-hidden":!0,disabled:s,marks:x,max:H,min:p,railColor:W,step:V,value:ye}),(0,en.jsx)(WM,{"aria-hidden":!0,className:"components-range-control__track",disabled:s,style:{width:ze},trackColor:S}),(0,en.jsx)(CM,{className:"components-range-control__thumb-wrapper",style:ot,disabled:s,children:(0,en.jsx)(FM,{"aria-hidden":!0,isFocused:ue,disabled:s})}),ve&&(0,en.jsx)(EM,{className:"components-range-control__tooltip",inputRef:_,tooltipPlacement:"bottom",renderTooltipContent:v,show:j||U,style:ot,value:N})]}),l&&(0,en.jsx)(fM,{children:(0,en.jsx)(Ot,{icon:l})}),D&&(0,en.jsx)(NM,{"aria-label":g,className:"components-range-control__number",disabled:s,inputMode:"decimal",isShiftStepEnabled:G,max:H,min:p,onBlur:Vt,onChange:qe,shiftStep:C,__unstableInputWidth:K(20),step:V,value:P}),o&&(0,en.jsx)(SM,{children:(0,en.jsx)(be,{className:"components-range-control__reset",accessibleWhenDisabled:!s,disabled:s||N===ofe({resetFallbackValue:h,initialPosition:X}),variant:"secondary",size:"small",onClick:Ge,children:(0,c5.__)("Reset")})})]})})}var DM=(0,Ba.forwardRef)(LM);DM.displayName="RangeControl";var Al=DM;var _M=q($n,{target:"ez9hsf46"})("width:",K(24),";"),jM=q(ei,{target:"ez9hsf45"})("margin-left:",K(-2),";"),MM=q(Al,{target:"ez9hsf44"})("flex:1;margin-right:",K(2),";"),dfe=` | |
| 13 | 72 | .react-colorful__interactive { |
| 14 | - width: calc( 100% - ${D(2)} ); | |
| 15 | - margin-left: ${D(1)}; | |
| 16 | -}`,DT=S("div",{target:"ez9hsf43"})("padding-top:",D(2),";padding-right:0;padding-left:0;padding-bottom:0;"),LT=S(Ec,{target:"ez9hsf42"})("padding-left:",D(4),";padding-right:",D(4),";"),UT=S(Zl,{target:"ez9hsf41"})("padding-top:",D(4),";padding-left:",D(4),";padding-right:",D(3),";padding-bottom:",D(5),";"),jT=S("div",{target:"ez9hsf40"})(_e,";width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",D(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:",O.radiusFull,";margin-bottom:",D(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;@media not ( prefers-reduced-motion ){transition:transform ",O.transitionDurationFast," ease-in-out;}}.react-colorful__interactive:focus .react-colorful__pointer{box-shadow:0 0 0 ",O.borderWidthFocus," ",O.surfaceColor,";border:",O.borderWidthFocus," solid black;transform:translate( -50%, -50% ) scale( 1.5 );}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",O.borderWidthFocus," #fff;}",Dac,";");var ET=u(ec(),1),wu=u(F(),1);var BJ=u(Gc(),1);var yJ=u(J(),1),MT=c=>{let{color:l,colorType:t}=c,[e,b]=(0,wu.useState)(null),d=(0,wu.useRef)(void 0),o=(0,ET.useCopyToClipboard)(()=>{switch(t){case"hsl":return l.toHslString();case"rgb":return l.toRgbString();default:case"hex":return l.toHex()}},()=>{d.current&&clearTimeout(d.current),b(l.toHex()),d.current=setTimeout(()=>{b(null),d.current=void 0},3e3)});(0,wu.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]);let n=e===l.toHex(),X=n?(0,BJ.__)("Copied!"):(0,BJ.__)("Copy");return(0,yJ.jsx)(Se,{delay:0,hideOnClick:!1,text:X,children:(0,yJ.jsx)(pu,{size:"compact","aria-label":X,ref:o,icon:n?jt:j1,showTooltip:!1})})};var _G=u(J(),1),lo=({min:c,max:l,label:t,abbreviation:e,onChange:b,value:d})=>(0,_G.jsxs)(Ec,{spacing:4,children:[(0,_G.jsx)(QT,{__next40pxDefaultSize:!0,min:c,max:l,label:t,hideLabelFromVision:!0,value:d,onChange:n=>{if(!n){b(0);return}if(typeof n=="string"){b(parseInt(n,10));return}b(n)},prefix:(0,_G.jsx)(GX,{children:(0,_G.jsx)(Ge,{color:T.theme.accent,lineHeight:1,children:e})}),spinControls:"none"}),(0,_G.jsx)(TT,{__next40pxDefaultSize:!0,label:t,hideLabelFromVision:!0,min:c,max:l,value:d,onChange:b,withInputField:!1})]});var en=u(J(),1),PT=({color:c,onChange:l,enableAlpha:t})=>{let{r:e,g:b,b:d,a:o}=c.toRgb();return(0,en.jsxs)(en.Fragment,{children:[(0,en.jsx)(lo,{min:0,max:255,label:"Red",abbreviation:"R",value:e,onChange:n=>l(Rc({r:n,g:b,b:d,a:o}))}),(0,en.jsx)(lo,{min:0,max:255,label:"Green",abbreviation:"G",value:b,onChange:n=>l(Rc({r:e,g:n,b:d,a:o}))}),(0,en.jsx)(lo,{min:0,max:255,label:"Blue",abbreviation:"B",value:d,onChange:n=>l(Rc({r:e,g:b,b:n,a:o}))}),t&&(0,en.jsx)(lo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(o*100),onChange:n=>l(Rc({r:e,g:b,b:d,a:n/100}))})]})};var bn=u(J(),1),KT=({hsla:c,onChange:l,enableAlpha:t})=>{let e=b=>{l({...c,...b})};return(0,bn.jsxs)(bn.Fragment,{children:[(0,bn.jsx)(lo,{min:0,max:359,label:"Hue",abbreviation:"H",value:c.h,onChange:b=>{e({h:b})}}),(0,bn.jsx)(lo,{min:0,max:100,label:"Saturation",abbreviation:"S",value:c.s,onChange:b=>{e({s:b})}}),(0,bn.jsx)(lo,{min:0,max:100,label:"Lightness",abbreviation:"L",value:c.l,onChange:b=>{e({l:b})}}),t&&(0,bn.jsx)(lo,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c.a),onChange:b=>{e({a:b/100})}})]})};var _T=u(Gc(),1);var PI=u(J(),1),qT=({color:c,onChange:l,enableAlpha:t})=>{let e=d=>{if(d===void 0)return;let o=d.startsWith("#")?d:"#"+d;l(Rc(o))},b=(d,o)=>{if(o.payload?.event?.nativeEvent?.inputType!=="insertFromPaste")return{...d};let X=d.value?.startsWith("#")?d.value.slice(1).toUpperCase():d.value?.toUpperCase();return{...d,value:X}};return(0,PI.jsx)(Gx,{prefix:(0,PI.jsx)(GX,{children:(0,PI.jsx)(Ge,{color:T.theme.accent,lineHeight:1,children:"#"})}),value:c.toHex().slice(1).toUpperCase(),onChange:e,maxLength:t?9:7,label:(0,_T.__)("Hex color"),hideLabelFromVision:!0,size:"__unstable-large",__unstableStateReducer:b,__unstableInputWidth:"9em"})};var KI=u(J(),1),$T=({colorType:c,color:l,hsla:t,onChange:e,onHSLChange:b,enableAlpha:d})=>{switch(c){case"hsl":return(0,KI.jsx)(KT,{hsla:t,onChange:b,enableAlpha:d});case"rgb":return(0,KI.jsx)(PT,{color:l,onChange:e,enableAlpha:d});default:case"hex":return(0,KI.jsx)(qT,{color:l,onChange:e,enableAlpha:d})}};var yc=u(M(),1);function Du(){return(Du=Object.assign||function(c){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(c[e]=t[e])}return c}).apply(this,arguments)}function YJ(c,l){if(c==null)return{};var t,e,b={},d=Object.keys(c);for(e=0;e<d.length;e++)l.indexOf(t=d[e])>=0||(b[t]=c[t]);return b}function JJ(c){var l=(0,yc.useRef)(c),t=(0,yc.useRef)(function(e){l.current&&l.current(e)});return l.current=c,t.current}var Tu=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=1),c>t?t:c<l?l:c},Ix=function(c){return"touches"in c},hJ=function(c){return c&&c.ownerDocument.defaultView||self},cD=function(c,l,t){var e=c.getBoundingClientRect(),b=Ix(l)?(function(d,o){for(var n=0;n<d.length;n++)if(d[n].identifier===o)return d[n];return d[0]})(l.touches,t):l;return{left:Tu((b.pageX-(e.left+hJ(c).pageXOffset))/e.width),top:Tu((b.pageY-(e.top+hJ(c).pageYOffset))/e.height)}},lD=function(c){!Ix(c)&&c.preventDefault()},FJ=yc.default.memo(function(c){var l=c.onMove,t=c.onKey,e=YJ(c,["onMove","onKey"]),b=(0,yc.useRef)(null),d=JJ(l),o=JJ(t),n=(0,yc.useRef)(null),X=(0,yc.useRef)(!1),G=(0,yc.useMemo)(function(){var s=function(g){lD(g),(Ix(g)?g.touches.length>0:g.buttons>0)&&b.current?d(cD(b.current,g,n.current)):r(!1)},x=function(){return r(!1)};function r(g){var H=X.current,Z=hJ(b.current),R=g?Z.addEventListener:Z.removeEventListener;R(H?"touchmove":"mousemove",s),R(H?"touchend":"mouseup",x)}return[function(g){var H=g.nativeEvent,Z=b.current;if(Z&&(lD(H),!(function(W,I){return I&&!Ix(W)})(H,X.current)&&Z)){if(Ix(H)){X.current=!0;var R=H.changedTouches||[];R.length&&(n.current=R[0].identifier)}Z.focus(),d(cD(Z,H,n.current)),r(!0)}},function(g){var H=g.which||g.keyCode;H<37||H>40||(g.preventDefault(),o({left:H===39?.05:H===37?-.05:0,top:H===40?.05:H===38?-.05:0}))},r]},[o,d]),i=G[0],a=G[1],m=G[2];return(0,yc.useEffect)(function(){return m},[m]),yc.default.createElement("div",Du({},e,{onTouchStart:i,onMouseDown:i,className:"react-colorful__interactive",ref:b,onKeyDown:a,tabIndex:0,role:"slider"}))}),Wx=function(c){return c.filter(Boolean).join(" ")},vJ=function(c){var l=c.color,t=c.left,e=c.top,b=e===void 0?.5:e,d=Wx(["react-colorful__pointer",c.className]);return yc.default.createElement("div",{className:d,style:{top:100*b+"%",left:100*t+"%"}},yc.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},gX=function(c,l,t){return l===void 0&&(l=0),t===void 0&&(t=Math.pow(10,l)),Math.round(t*c)/t},i$c={grad:.9,turn:360,rad:360/(2*Math.PI)};var eD=function(c){var l=c.s,t=c.l;return{h:c.h,s:(l*=(t<50?t:100-t)/100)>0?2*l/(t+l)*100:0,v:t+l,a:c.a}};var _I=function(c){var l=c.s,t=c.v,e=c.a,b=(200-l)*t/100;return{h:gX(c.h),s:gX(b>0&&b<200?l*t/100/(b<=100?b:200-b)*100:0),l:gX(b/2),a:gX(e,2)}},CJ=function(c){var l=_I(c);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},VJ=function(c){var l=_I(c);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"};var bD=yc.default.memo(function(c){var l=c.hue,t=c.onChange,e=Wx(["react-colorful__hue",c.className]);return yc.default.createElement("div",{className:e},yc.default.createElement(FJ,{onMove:function(b){t({h:360*b.left})},onKey:function(b){t({h:Tu(l+360*b.left,0,360)})},"aria-label":"Hue","aria-valuenow":gX(l),"aria-valuemax":"360","aria-valuemin":"0"},yc.default.createElement(vJ,{className:"react-colorful__hue-pointer",left:l/360,color:CJ({h:l,s:100,v:100,a:1})})))}),dD=yc.default.memo(function(c){var l=c.hsva,t=c.onChange,e={backgroundColor:CJ({h:l.h,s:100,v:100,a:1})};return yc.default.createElement("div",{className:"react-colorful__saturation",style:e},yc.default.createElement(FJ,{onMove:function(b){t({s:100*b.left,v:100-100*b.top})},onKey:function(b){t({s:Tu(l.s+100*b.left,0,100),v:Tu(l.v-100*b.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+gX(l.s)+"%, Brightness "+gX(l.v)+"%"},yc.default.createElement(vJ,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:CJ(l)})))}),NJ=function(c,l){if(c===l)return!0;for(var t in c)if(c[t]!==l[t])return!1;return!0};function oD(c,l,t){var e=JJ(t),b=(0,yc.useState)(function(){return c.toHsva(l)}),d=b[0],o=b[1],n=(0,yc.useRef)({color:l,hsva:d});(0,yc.useEffect)(function(){if(!c.equal(l,n.current.color)){var G=c.toHsva(l);n.current={hsva:G,color:l},o(G)}},[l,c]),(0,yc.useEffect)(function(){var G;NJ(d,n.current.hsva)||c.equal(G=c.fromHsva(d),n.current.color)||(n.current={hsva:d,color:G},e(G))},[d,c,e]);var X=(0,yc.useCallback)(function(G){o(function(i){return Object.assign({},i,G)})},[]);return[d,X]}var Lac,Uac=typeof window<"u"?yc.useLayoutEffect:yc.useEffect,jac=function(){return Lac||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var tD=new Map,nD=function(c){Uac(function(){var l=c.current?c.current.ownerDocument:document;if(l!==void 0&&!tD.has(l)){var t=l.createElement("style");t.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,tD.set(l,t);var e=jac();e&&t.setAttribute("nonce",e),l.head.appendChild(t)}},[])},Eac=function(c){var l=c.className,t=c.colorModel,e=c.color,b=e===void 0?t.defaultColor:e,d=c.onChange,o=YJ(c,["className","colorModel","color","onChange"]),n=(0,yc.useRef)(null);nD(n);var X=oD(t,b,d),G=X[0],i=X[1],a=Wx(["react-colorful",l]);return yc.default.createElement("div",Du({},o,{ref:n,className:a}),yc.default.createElement(dD,{hsva:G,onChange:i}),yc.default.createElement(bD,{hue:G.h,onChange:i,className:"react-colorful__last-control"}))};var Mac=function(c){var l=c.className,t=c.hsva,e=c.onChange,b={backgroundImage:"linear-gradient(90deg, "+VJ(Object.assign({},t,{a:0}))+", "+VJ(Object.assign({},t,{a:1}))+")"},d=Wx(["react-colorful__alpha",l]),o=gX(100*t.a);return yc.default.createElement("div",{className:d},yc.default.createElement("div",{className:"react-colorful__alpha-gradient",style:b}),yc.default.createElement(FJ,{onMove:function(n){e({a:n.left})},onKey:function(n){e({a:Tu(t.a+n.left)})},"aria-label":"Alpha","aria-valuetext":o+"%","aria-valuenow":o,"aria-valuemin":"0","aria-valuemax":"100"},yc.default.createElement(vJ,{className:"react-colorful__alpha-pointer",left:t.a,color:VJ(t)})))},Pac=function(c){var l=c.className,t=c.colorModel,e=c.color,b=e===void 0?t.defaultColor:e,d=c.onChange,o=YJ(c,["className","colorModel","color","onChange"]),n=(0,yc.useRef)(null);nD(n);var X=oD(t,b,d),G=X[0],i=X[1],a=Wx(["react-colorful",l]);return yc.default.createElement("div",Du({},o,{ref:n,className:a}),yc.default.createElement(dD,{hsva:G,onChange:i}),yc.default.createElement(bD,{hue:G.h,onChange:i}),yc.default.createElement(Mac,{hsva:G,onChange:i,className:"react-colorful__last-control"}))};var Kac={defaultColor:{h:0,s:0,l:0,a:1},toHsva:eD,fromHsva:_I,equal:NJ},XD=function(c){return yc.default.createElement(Pac,Du({},c,{colorModel:Kac}))};var _ac={defaultColor:{h:0,s:0,l:0},toHsva:function(c){return eD({h:c.h,s:c.s,l:c.l,a:1})},fromHsva:function(c){return{h:(l=_I(c)).h,s:l.s,l:l.l};var l},equal:NJ},GD=function(c){return yc.default.createElement(Eac,Du({},c,{colorModel:_ac}))};var fJ=u(J(),1),iD={onPointerDown({currentTarget:c,pointerId:l}){c.setPointerCapture(l)},onPointerUp({currentTarget:c,pointerId:l}){c.releasePointerCapture(l)}},aD=({hsla:c,enableAlpha:l,onChange:t})=>l?(0,fJ.jsx)(XD,{color:c,onChange:t,...iD}):(0,fJ.jsx)(GD,{color:c,onChange:e=>{t({...e,a:c.a})},...iD});var to=u(J(),1);Ne([fe]);function uD(c,l){return c.s===0?c.l===0||c.l===100?{...c,h:l.h,s:l.s}:{...c,h:l.h}:c}var qac=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}],$ac=(c,l)=>{let{enableAlpha:t=!1,color:e,onChange:b,defaultValue:d="#fff",copyFormat:o,...n}=cc(c,"ColorPicker"),[X,G]=ee({onChange:b,value:e,defaultValue:d}),i=(0,cb.useMemo)(()=>Rc(X||""),[X]),a=(0,mD.useDebounce)(G),[m,s]=(0,cb.useState)(()=>({...i.toHsl()})),x=(0,cb.useRef)(i.toHex());(0,cb.useEffect)(()=>{let W=i.toHex();if(W===x.current)return;x.current=W;let I=i.toHsl();s(p=>uD(I,p))},[i]);let r=(0,cb.useCallback)(W=>{s(W);let I=x.current,p=Rc(W).toHex();p!==I&&(x.current=p,G(p))},[G]),g=(0,cb.useCallback)(W=>{let I=W.toHsl();s(B=>uD(I,B));let p=W.toHex();x.current=p,a(p)},[a]),[H,Z]=(0,cb.useState)(o||"hex"),R=(0,cb.useCallback)(W=>{let I=W.clipboardData?.getData("text")?.trim();if(!I)return;let p=Rc(I);if(!p.isValid())return;g(p);let B={hex:"hex",rgb:"rgb",hsl:"hsl"},y=String(Hz(I)),C=B[y];C&&Z(C),W.stopPropagation(),W.preventDefault()},[g,Z]);return(0,to.jsxs)(jT,{ref:l,...n,onPasteCapture:R,children:[(0,to.jsx)(aD,{onChange:r,hsla:m,enableAlpha:t}),(0,to.jsxs)(DT,{children:[(0,to.jsxs)(LT,{justify:"space-between",children:[(0,to.jsx)(wT,{size:"compact",options:qac,value:H,onChange:W=>Z(W),label:(0,sD.__)("Color format"),hideLabelFromVision:!0,variant:"minimal"}),(0,to.jsx)(MT,{color:i,colorType:o||H})]}),(0,to.jsx)(UT,{direction:"column",gap:2,children:(0,to.jsx)($T,{colorType:H,color:i,hsla:m,onChange:g,onHSLChange:r,enableAlpha:t})})]})]})},cuc=lc($ac,"ColorPicker"),xD=cuc;var rD=u(F(),1);function luc(c){return typeof c.onChangeComplete<"u"||typeof c.disableAlpha<"u"||typeof c.color?.hex=="string"}function tuc(c){if(c!==void 0){if(typeof c=="string")return c;if(c.hex)return c.hex}}var euc=lX(c=>{let l=Rc(c),t=l.toHex(),e=l.toRgb(),b=l.toHsv(),d=l.toHsl();return{hex:t,rgb:e,hsv:b,hsl:d,source:"hex",oldHue:d.h}});function gD(c){let{onChangeComplete:l}=c,t=(0,rD.useCallback)(e=>{l(euc(e))},[l]);return luc(c)?{color:tuc(c.color),enableAlpha:!c.disableAlpha,onChange:t}:{...c,color:c.color,enableAlpha:c.enableAlpha,onChange:c.onChange}}var ZD=u(J(),1),eo=c=>(0,ZD.jsx)(xD,{...gD(c)});var yD=u(ec(),1),VD=u(Gc(),1),px=u(F(),1);var HD=u(F(),1),qG=(0,HD.createContext)({});qG.displayName="CircularOptionPickerContext";var RD=u(ec(),1),ZX=u(F(),1);var dn=u(J(),1);function buc(c,l){let{isPressed:t,label:e,...b}=c;return(0,dn.jsx)(bc,{__next40pxDefaultSize:!0,...b,"aria-pressed":t,ref:l,label:e})}var duc=(0,ZX.forwardRef)(buc);function ouc(c,l){let{id:t,isSelected:e,label:b,...d}=c,{setActiveId:o,activeId:n}=(0,ZX.useContext)(qG);return(0,ZX.useEffect)(()=>{e&&!n&&window.setTimeout(()=>o?.(t),0)},[e,o,n,t]),(0,dn.jsx)(Qt.Item,{render:(0,dn.jsx)(bc,{__next40pxDefaultSize:!0,...d,role:"option","aria-selected":!!e,ref:l,label:b}),id:t})}var nuc=(0,ZX.forwardRef)(ouc);function SJ({className:c,isSelected:l,selectedIconProps:t={},tooltipText:e,...b}){let{baseId:d,setActiveId:o}=(0,ZX.useContext)(qG),X={id:(0,RD.useInstanceId)(SJ,d||"components-circular-option-picker__option"),className:"components-circular-option-picker__option",...b},i=o!==void 0?(0,dn.jsx)(nuc,{...X,label:e,isSelected:l}):(0,dn.jsx)(duc,{...X,label:e,isPressed:l});return(0,dn.jsxs)("div",{className:Q(c,"components-circular-option-picker__option-wrapper"),children:[i,l&&(0,dn.jsx)(mt,{icon:jt,...t})]})}var ID=u(J(),1);function WD({className:c,options:l,...t}){let e="aria-label"in t||"aria-labelledby"in t?"group":void 0;return(0,ID.jsx)("div",{...t,role:e,className:Q("components-circular-option-picker__option-group","components-circular-option-picker__swatches",c),children:l})}var qI=u(J(),1);function pD({buttonProps:c,className:l,dropdownProps:t,linkText:e}){return(0,qI.jsx)(co,{className:Q("components-circular-option-picker__dropdown-link-action",l),renderToggle:({isOpen:b,onToggle:d})=>(0,qI.jsx)(bc,{"aria-expanded":b,"aria-haspopup":"true",onClick:d,variant:"link",...c,children:e}),...t})}function BD({className:c,children:l,...t}){return(0,qI.jsx)(bc,{__next40pxDefaultSize:!0,className:Q("components-circular-option-picker__clear",c),variant:"tertiary",...t,children:l})}var bo=u(J(),1);function Xuc(c){let{actions:l,options:t,baseId:e,className:b,loop:d=!0,children:o,...n}=c,[X,G]=(0,px.useState)(void 0),i=(0,px.useMemo)(()=>({baseId:e,activeId:X,setActiveId:G}),[e,X,G]);return(0,bo.jsx)("div",{className:b,children:(0,bo.jsxs)(qG.Provider,{value:i,children:[(0,bo.jsx)(Qt,{...n,id:e,focusLoop:d,rtl:(0,VD.isRTL)(),role:"listbox",activeId:X,setActiveId:G,children:t}),o,l]})})}function Guc(c){let{actions:l,options:t,children:e,baseId:b,...d}=c,o=(0,px.useMemo)(()=>({baseId:b}),[b]);return(0,bo.jsx)("div",{...d,role:"group",id:b,children:(0,bo.jsxs)(qG.Provider,{value:o,children:[t,e,l]})})}function $G(c){let{asButtons:l,actions:t,options:e,children:b,className:d,...o}=c,n=(0,yD.useInstanceId)($G,"components-circular-option-picker",o.id),X=l?Guc:Xuc,G=t?(0,bo.jsx)("div",{className:"components-circular-option-picker__custom-clear-wrapper",children:t}):void 0,i=(0,bo.jsx)("div",{className:"components-circular-option-picker__swatches",children:e});return(0,bo.jsx)(X,{...o,baseId:n,className:Q("components-circular-option-picker",d),actions:G,options:i,children:b})}$G.Option=SJ;$G.OptionGroup=WD;$G.ButtonAction=BD;$G.DropdownLinkAction=pD;$G.displayName="CircularOptionPicker";var JD=$G;var hD=u(Gc(),1);function ci(c,l,t,e){let b=c?{asButtons:!0}:{asButtons:!1,loop:l},d={"aria-labelledby":e,"aria-label":e?void 0:t||(0,hD.__)("Custom color picker")};return{metaProps:b,labelProps:d}}var ue=JD;function CD(c){let{expanded:l=!1,alignment:t="stretch",...e}=cc(c,"VStack");return ax({direction:"column",expanded:l,alignment:t,...e})}var YD=u(J(),1);function iuc(c,l){let t=CD(c);return(0,YD.jsx)(ac,{...t,ref:l})}var auc=lc(iuc,"VStack"),Gl=auc;function FD(c){let{as:l,level:t=2,color:e=T.theme.foreground,isBlock:b=!0,weight:d=O.fontWeightHeading,...o}=cc(c,"Heading"),n=l||`h${t}`,X={};return typeof n=="string"&&n[0]!=="h"&&(X.role="heading",X["aria-level"]=typeof t=="string"?parseInt(t):t),{...tx({color:e,isBlock:b,weight:d,size:LA(t),...o}),...X,as:n}}var vD=u(J(),1);function uuc(c,l){let t=FD(c);return(0,vD.jsx)(ac,{...t,ref:l})}var muc=lc(uuc,"Heading"),bd=muc;var $I=S(bd,{target:"ev9wop70"})("text-transform:uppercase;line-height:24px;font-weight:",O.fontWeightMedium,";&&&{font-size:11px;margin-bottom:0;}");var suc=({paddingSize:c="small"})=>{if(c==="none")return;let l={small:D(2),medium:D(4)};return k("padding:",l[c]||l.small,";","")},ND=S("div",{target:"eovvns30"})("margin-left:",D(-2),";margin-right:",D(-2),";&:first-of-type{margin-top:",D(-2),";}&:last-of-type{margin-bottom:",D(-2),";}",suc,";");var fD=u(J(),1);function xuc(c,l){let{paddingSize:t="small",...e}=cc(c,"DropdownContentWrapper");return(0,fD.jsx)(ND,{...e,paddingSize:t,ref:l})}var ruc=lc(xuc,"DropdownContentWrapper"),on=ruc;var SD=u(Gc(),1);Ne([fe,Au]);var kD=c=>{let l=/var\(/.test(c??""),t=/color-mix\(/.test(c??"");return!l&&!t},zD=(c,l=[],t=!1,e)=>{if(!c)return"";let b=c?kD(c):!1,d=b?Rc(c).toHex():c,o=t?l:[{colors:l}];for(let{colors:n}of o)for(let{name:X,color:G,slug:i}of n){if(e){if(i===e)return X;continue}let a=b?Rc(G).toHex():G;if(d===a)return X}return(0,SD.__)("Custom")},guc=c=>Array.isArray(c.colors)&&!("color"in c),cW=c=>c.length>0&&c.every(l=>guc(l)),AD=(c,l)=>{if(!c||!l||kD(c))return c;let{ownerDocument:t}=l,{defaultView:e}=t,b=e?.getComputedStyle(l).backgroundColor;return b?Rc(b).toHex():c};var vl=u(J(),1);Ne([fe,Au]);function QD({className:c,clearColor:l,colors:t,onChange:e,value:b,selectedSlug:d,...o}){let n=(0,dd.useMemo)(()=>t.map(({color:X,name:G,slug:i},a)=>{let m=Rc(X),s=d?i===d:b===X;return(0,vl.jsx)(ue.Option,{isSelected:s,selectedIconProps:s?{fill:m.contrast()>m.contrast("#000")?"#fff":"#000"}:{},tooltipText:G||(0,nn.sprintf)((0,nn.__)("Color code: %s"),X),style:{backgroundColor:X,color:X},onClick:s?l:()=>e(X,a,i)},i??`${X}-${a}`)}),[t,b,d,e,l]);return(0,vl.jsx)(ue.OptionGroup,{className:c,options:n,...o})}function wD({className:c,clearColor:l,colors:t,onChange:e,value:b,selectedSlug:d,headingLevel:o}){let n=(0,OD.useInstanceId)(wD,"color-palette");return t.length===0?null:(0,vl.jsx)(Gl,{spacing:3,className:c,children:t.map(({name:X,colors:G},i)=>{let a=`${n}-${i}`;return(0,vl.jsxs)(Gl,{spacing:2,children:[(0,vl.jsx)($I,{id:a,level:o,children:X}),(0,vl.jsx)(QD,{clearColor:l,colors:G,onChange:(m,s,x)=>e(m,i,x),value:b,selectedSlug:d,"aria-labelledby":a})]},i)})})}function kJ({isRenderedInSidebar:c,popoverProps:l,...t}){let e=(0,dd.useMemo)(()=>({shift:!0,resize:!1,...c?{placement:"left-start",offset:34}:{placement:"bottom",offset:8},...l}),[c,l]);return(0,vl.jsx)(co,{contentClassName:"components-color-palette__custom-color-dropdown-content",popoverProps:e,...t})}function Zuc(c,l){let{asButtons:t,loop:e,clearable:b=!0,colors:d=[],disableCustomColors:o=!1,enableAlpha:n=!1,onChange:X,value:G,selectedSlug:i,__experimentalIsRenderedInSidebar:a=!1,headingLevel:m=2,"aria-label":s,"aria-labelledby":x,...r}=c,[g,H]=(0,dd.useState)(G),Z=(0,dd.useCallback)(()=>X(void 0),[X]),R=(0,dd.useCallback)(A=>{H(AD(G,A))},[G]),W=cW(d),I=(0,dd.useMemo)(()=>zD(G,d,W,i),[G,d,W,i]),p=()=>(0,vl.jsx)(on,{paddingSize:"none",children:(0,vl.jsx)(eo,{color:g,onChange:A=>X(A),enableAlpha:n})}),B=G?.startsWith("#"),y=G?.replace(/^var\((.+)\)$/,"$1"),C=y?(0,nn.sprintf)((0,nn.__)('Custom color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),I,y):(0,nn.__)("Custom color picker"),V={clearColor:Z,onChange:X,value:G,selectedSlug:i},h=!!b&&(0,vl.jsx)(ue.ButtonAction,{onClick:Z,accessibleWhenDisabled:!0,disabled:!G,children:(0,nn.__)("Clear")}),{metaProps:Y,labelProps:N}=ci(t,e,s,x);return o&&d.length===0&&!h?null:(0,vl.jsxs)(Gl,{spacing:3,ref:l,...r,children:[!o&&(0,vl.jsx)(kJ,{isRenderedInSidebar:a,renderContent:p,renderToggle:({isOpen:A,onToggle:w})=>(0,vl.jsxs)(Gl,{className:"components-color-palette__custom-color-wrapper",spacing:0,children:[(0,vl.jsx)("button",{ref:R,className:"components-color-palette__custom-color-button","aria-expanded":A,"aria-haspopup":"true",onClick:w,"aria-label":C,style:{background:G},type:"button"}),(0,vl.jsxs)(Gl,{className:"components-color-palette__custom-color-text-wrapper",spacing:.5,children:[(0,vl.jsx)(_o,{className:"components-color-palette__custom-color-name",children:G?I:(0,nn.__)("No color selected")}),(0,vl.jsx)(_o,{className:Q("components-color-palette__custom-color-value",{"components-color-palette__custom-color-value--is-hex":B}),children:y})]})]})}),(d.length>0||h)&&(0,vl.jsx)(ue,{...Y,...N,actions:h,options:W?(0,vl.jsx)(wD,{...V,headingLevel:m,colors:d,value:G}):(0,vl.jsx)(QD,{...V,colors:d,value:G})})]})}var TD=(0,dd.forwardRef)(Zuc);TD.displayName="ColorPalette";var HX=TD;var li=u(F(),1);var Bx=S(Ct,{target:"e1bagdl32"})("&&&{input{display:block;width:100%;}",Zb,"{transition:box-shadow 0.1s linear;}}"),DD=({selectSize:c})=>({small:k("box-sizing:border-box;padding:2px 1px;width:20px;font-size:8px;line-height:1;letter-spacing:-0.5px;text-transform:uppercase;text-align-last:center;&:not( :disabled ){color:",T.gray[800],";}",""),default:k("box-sizing:border-box;min-width:24px;max-width:48px;height:24px;margin-inline-end:",D(2),";padding:",D(1),";font-size:13px;line-height:1;text-align-last:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;field-sizing:content;&:not( :disabled ){color:",T.theme.accent,";}","")})[c],LD=S("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",DD,";color:",T.gray[900],";}"),Huc=({selectSize:c="default"})=>({small:k("height:100%;border:1px solid transparent;transition:box-shadow 0.1s linear,border 0.1s linear;",kc({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," &:not(:disabled):hover{background-color:",T.gray[100],";}&:focus{border:1px solid ",T.ui.borderFocus,";box-shadow:inset 0 0 0 ",O.borderWidth+" "+T.ui.borderFocus,";outline-offset:0;outline:2px solid transparent;z-index:1;}",""),default:k("display:flex;justify-content:center;align-items:center;&:where( :not( :disabled ) ):hover{box-shadow:0 0 0 ",O.borderWidth+" "+T.ui.borderFocus,";outline:",O.borderWidth," solid transparent;}&:focus{box-shadow:0 0 0 ",O.borderWidthFocus+" "+T.ui.borderFocus,";outline:",O.borderWidthFocus," solid transparent;}","")})[c],lW=S("select",{target:"e1bagdl30"})("&&&{appearance:none;background:transparent;border-radius:",O.radiusXSmall,";border:none;display:block;outline:none;margin:0;min-height:auto;font-family:inherit;",DD,";",Huc,";&:not( :disabled ){cursor:pointer;}}");var Ruc=k("box-shadow:inset ",O.controlBoxShadowFocus,";",""),UD=k("border:0;padding:0;margin:0;",_e,";",""),jD=()=>k(Bx,"{flex:1 1 40%;}&& ",lW,"{min-height:0;}",""),ED=k(Bx,"{flex:0 0 auto;}",""),MD=c=>k("height:",c==="__unstable-large"?"40px":"30px",";",""),PD=k("background:#fff;&&>button{aspect-ratio:1;padding:0;display:flex;align-items:center;justify-content:center;",kc({borderRadius:"2px 0 0 2px"},{borderRadius:"0 2px 2px 0"})()," border:",O.borderWidth," solid ",T.ui.border,";&:focus,&:hover:not( :disabled ){",Ruc," border-color:",T.ui.borderFocus,";z-index:1;position:relative;}}",""),Iuc=c=>{let{color:l,style:t}=c||{},e=t&&t!=="none"?T.gray[300]:void 0;return k("border-style:",t==="none"?"solid":t,";border-color:",l||e,";","")},KD=(c,l)=>{let{style:t}=c||{};return k("border-radius:",O.radiusFull,";border:2px solid transparent;",t?Iuc(c):void 0," width:",l==="__unstable-large"?"24px":"22px",";height:",l==="__unstable-large"?"24px":"22px",";padding:",l==="__unstable-large"?"2px":"1px",";&>span{height:",D(4),";width:",D(4),`;background:linear-gradient( | |
| 17 | - -45deg, | |
| 18 | - transparent 48%, | |
| 19 | - rgb( 0 0 0 / 20% ) 48%, | |
| 20 | - rgb( 0 0 0 / 20% ) 52%, | |
| 21 | - transparent 52% | |
| 22 | - );}`,"")},Wuc=28,puc=12,_D=k("width:",Wuc*6+puc*5,"px;>div:first-of-type>",$e,"{margin-bottom:0;}&& ",$e,"+button:not( .has-text ){min-width:24px;padding:0;}",""),qD=k("",""),$D=k("",""),cL={name:"1ghe26v",styles:"display:flex;justify-content:flex-end;margin-top:12px"},lL=()=>k("flex:1 1 60%;",kc({marginRight:D(3)})(),";","");var Tc=u(Gc(),1),oo={px:{value:"px",label:"px",a11yLabel:(0,Tc.__)("Pixels (px)"),step:1},"%":{value:"%",label:"%",a11yLabel:(0,Tc.__)("Percent (%)"),step:.1},em:{value:"em",label:"em",a11yLabel:(0,Tc._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:"rem",a11yLabel:(0,Tc._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:"vw",a11yLabel:(0,Tc.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:"vh",a11yLabel:(0,Tc.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:"vmin",a11yLabel:(0,Tc.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:"vmax",a11yLabel:(0,Tc.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:"ch",a11yLabel:(0,Tc.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:"ex",a11yLabel:(0,Tc.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:"cm",a11yLabel:(0,Tc.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:"mm",a11yLabel:(0,Tc.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:"in",a11yLabel:(0,Tc.__)("Inches (in)"),step:.001},pc:{value:"pc",label:"pc",a11yLabel:(0,Tc.__)("Picas (pc)"),step:1},pt:{value:"pt",label:"pt",a11yLabel:(0,Tc.__)("Points (pt)"),step:1},svw:{value:"svw",label:"svw",a11yLabel:(0,Tc.__)("Small viewport width (svw)"),step:.1},svh:{value:"svh",label:"svh",a11yLabel:(0,Tc.__)("Small viewport height (svh)"),step:.1},svi:{value:"svi",label:"svi",a11yLabel:(0,Tc.__)("Small viewport width or height (svi)"),step:.1},svb:{value:"svb",label:"svb",a11yLabel:(0,Tc.__)("Small viewport width or height (svb)"),step:.1},svmin:{value:"svmin",label:"svmin",a11yLabel:(0,Tc.__)("Small viewport smallest dimension (svmin)"),step:.1},lvw:{value:"lvw",label:"lvw",a11yLabel:(0,Tc.__)("Large viewport width (lvw)"),step:.1},lvh:{value:"lvh",label:"lvh",a11yLabel:(0,Tc.__)("Large viewport height (lvh)"),step:.1},lvi:{value:"lvi",label:"lvi",a11yLabel:(0,Tc.__)("Large viewport width or height (lvi)"),step:.1},lvb:{value:"lvb",label:"lvb",a11yLabel:(0,Tc.__)("Large viewport width or height (lvb)"),step:.1},lvmin:{value:"lvmin",label:"lvmin",a11yLabel:(0,Tc.__)("Large viewport smallest dimension (lvmin)"),step:.1},dvw:{value:"dvw",label:"dvw",a11yLabel:(0,Tc.__)("Dynamic viewport width (dvw)"),step:.1},dvh:{value:"dvh",label:"dvh",a11yLabel:(0,Tc.__)("Dynamic viewport height (dvh)"),step:.1},dvi:{value:"dvi",label:"dvi",a11yLabel:(0,Tc.__)("Dynamic viewport width or height (dvi)"),step:.1},dvb:{value:"dvb",label:"dvb",a11yLabel:(0,Tc.__)("Dynamic viewport width or height (dvb)"),step:.1},dvmin:{value:"dvmin",label:"dvmin",a11yLabel:(0,Tc.__)("Dynamic viewport smallest dimension (dvmin)"),step:.1},dvmax:{value:"dvmax",label:"dvmax",a11yLabel:(0,Tc.__)("Dynamic viewport largest dimension (dvmax)"),step:.1},svmax:{value:"svmax",label:"svmax",a11yLabel:(0,Tc.__)("Small viewport largest dimension (svmax)"),step:.1},lvmax:{value:"lvmax",label:"lvmax",a11yLabel:(0,Tc.__)("Large viewport largest dimension (lvmax)"),step:.1}},tW=Object.values(oo),eW=[oo.px,oo["%"],oo.em,oo.rem,oo.vw,oo.vh],Buc=oo.px;function zJ(c,l,t){let e=l?`${c??""}${l}`:c;return El(e,t)}function bW(c){return Array.isArray(c)&&!!c.length}function El(c,l=tW){let t,e;if(typeof c<"u"||c===null){t=`${c}`.trim();let n=parseFloat(t);e=isFinite(n)?n:void 0}let d=t?.match(/[\d.\-\+]*\s*(.*)/)?.[1]?.toLowerCase(),o;return bW(l)?o=l.find(X=>X.value===d)?.value:o=Buc.value,[e,o]}function eL(c,l,t,e){let[b,d]=El(c,l),o=b??t,n=d||e;return!n&&bW(l)&&(n=l[0].value),[o,n]}function yuc(c=[],l){return Array.isArray(l)?l.filter(t=>c.includes(t.value)):[]}var yx=({units:c=tW,availableUnits:l=[],defaultValues:t})=>{let e=yuc(l,c);return t?e.map(b=>{let[d]=t[b.value]?El(t[b.value]):[];return{...b,default:d}}):e};function bL(c,l,t=tW){let e=Array.isArray(t)?[...t]:[],[,b]=zJ(c,l,tW);return b&&!e.some(d=>d.value===b)&&oo[b]&&e.unshift(oo[b]),e}function dL(c){let{border:l,className:t,colors:e=[],enableAlpha:b=!1,enableStyle:d=!0,onChange:o,previousStyleSelection:n,size:X="default",__experimentalIsRenderedInSidebar:G=!1,...i}=cc(c,"BorderControlDropdown"),[a]=El(l?.width),m=a===0,s=B=>{let y=l?.style==="none"?n:l?.style,C=m&&B?"1px":l?.width;o({color:B,style:y,width:C})},x=B=>{let y=m&&B?"1px":l?.width;o({...l,style:B,width:y})},r=()=>{o({...l,color:void 0,style:void 0})},g=ic(),H=(0,li.useMemo)(()=>g(PD,t),[t,g]),Z=(0,li.useMemo)(()=>g($D),[g]),R=(0,li.useMemo)(()=>g(KD(l,X)),[l,g,X]),W=(0,li.useMemo)(()=>g(_D),[g]),I=(0,li.useMemo)(()=>g(qD),[g]),p=(0,li.useMemo)(()=>g(cL),[g]);return{...i,border:l,className:H,colors:e,enableAlpha:b,enableStyle:d,indicatorClassName:Z,indicatorWrapperClassName:R,onColorChange:s,onStyleChange:x,onReset:r,popoverContentClassName:I,popoverControlsClassName:W,resetButtonWrapperClassName:p,size:X,__experimentalIsRenderedInSidebar:G}}var me=u(J(),1),dW=c=>c.replace(/^var\((.+)\)$/,"$1"),Vuc=(c,l)=>{if(!(!c||!l)){if(cW(l)){let t;return l.some(e=>e.colors.some(b=>b.color===c?(t=b,!0):!1)),t}return l.find(t=>t.color===c)}},Juc=(c,l,t,e)=>{if(e){if(l){let b=dW(l.color);return t?(0,ct.sprintf)((0,ct.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s". The currently selected style is "%3$s".'),l.name,b,t):(0,ct.sprintf)((0,ct.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),l.name,b)}if(c){let b=dW(c);return t?(0,ct.sprintf)((0,ct.__)('Border color and style picker. The currently selected color has a value of "%1$s". The currently selected style is "%2$s".'),b,t):(0,ct.sprintf)((0,ct.__)('Border color and style picker. The currently selected color has a value of "%s".'),b)}return(0,ct.__)("Border color and style picker.")}return l?(0,ct.sprintf)((0,ct.__)('Border color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),l.name,dW(l.color)):c?(0,ct.sprintf)((0,ct.__)('Border color picker. The currently selected color has a value of "%s".'),dW(c)):(0,ct.__)("Border color picker.")},huc=(c,l)=>{let{__experimentalIsRenderedInSidebar:t,border:e,colors:b,disableCustomColors:d,enableAlpha:o,enableStyle:n,indicatorClassName:X,indicatorWrapperClassName:G,isStyleSettable:i,onReset:a,onColorChange:m,onStyleChange:s,popoverContentClassName:x,popoverControlsClassName:r,resetButtonWrapperClassName:g,size:H,__unstablePopoverProps:Z,...R}=dL(c),{color:W,style:I}=e||{},p=Vuc(W,b),B=Juc(W,p,I,n),y=W||I&&I!=="none",C=t?"bottom left":void 0;return(0,me.jsx)(co,{renderToggle:({onToggle:Y})=>(0,me.jsx)(bc,{onClick:Y,variant:"tertiary","aria-label":B,tooltipPosition:C,label:(0,ct.__)("Border color and style picker"),showTooltip:!0,__next40pxDefaultSize:H==="__unstable-large",children:(0,me.jsx)("span",{className:G,children:(0,me.jsx)($d,{className:X,colorValue:W})})}),renderContent:()=>(0,me.jsx)(me.Fragment,{children:(0,me.jsxs)(on,{paddingSize:"medium",children:[(0,me.jsxs)(Gl,{className:r,spacing:6,children:[(0,me.jsx)(HX,{className:x,value:W,onChange:m,colors:b,disableCustomColors:d,__experimentalIsRenderedInSidebar:t,clearable:!1,enableAlpha:o}),n&&i&&(0,me.jsx)(RJ,{label:(0,ct.__)("Style"),value:I,onChange:s})]}),(0,me.jsx)("div",{className:g,children:(0,me.jsx)(bc,{variant:"tertiary",onClick:()=>{a()},disabled:!y,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,ct.__)("Reset")})})]})}),popoverProps:{...Z},...R,ref:l})},Cuc=lc(huc,"BorderControlDropdown"),AJ=Cuc;var XL=u(ml(),1),RX=u(F(),1),GL=u(Gc(),1);var oL=u(F(),1);var oW=u(J(),1);function Yuc({className:c,isUnitSelectTabbable:l=!0,onChange:t,size:e="default",unit:b="px",units:d=eW,...o},n){if(!bW(d)||d?.length===1)return(0,oW.jsx)(LD,{className:"components-unit-control__unit-label",selectSize:e,children:b});let X=i=>{let{value:a}=i.target,m=d.find(s=>s.value===a);t?.(a,{event:i,data:m})},G=Q("components-unit-control__select",c);return(0,oW.jsx)(lW,{ref:n,className:G,onChange:X,selectSize:e,tabIndex:l?void 0:-1,value:b,...o,children:d.map(i=>(0,oW.jsx)("option",{value:i.value,children:i.label},i.value))})}var nL=(0,oL.forwardRef)(Yuc);var OJ=u(J(),1);function Fuc(c,l){let{__unstableStateReducer:t,autoComplete:e="off",children:b,className:d,disabled:o=!1,disableUnits:n=!1,isPressEnterToChange:X=!1,isResetValueOnUnitChange:G=!1,isUnitSelectTabbable:i=!0,label:a,onChange:m,onUnitChange:s,size:x="default",unit:r,units:g=eW,value:H,onFocus:Z,__shouldNotWarnDeprecated36pxSize:R,...W}=Et(c);dl({componentName:"UnitControl",__next40pxDefaultSize:W.__next40pxDefaultSize,size:x,__shouldNotWarnDeprecated36pxSize:R}),"unit"in c&&(0,XL.default)("UnitControl unit prop",{since:"5.6",hint:"The unit should be provided within the `value` prop.",version:"6.2"});let I=H??void 0,[p,B]=(0,RX.useMemo)(()=>{let v=bL(I,r,g),[{value:K=""}={},...P]=v,oc=P.reduce((E,{value:dc})=>{let j=TG(dc?.substring(0,1)||"");return E.includes(j)?E:`${E}|${j}`},TG(K.substring(0,1)));return[v,new RegExp(`^(?:${oc})$`,"i")]},[I,r,g]),[y,C]=zJ(I,r,p),[V,h]=jo(p.length===1?p[0].value:r,{initial:C,fallback:""});(0,RX.useEffect)(()=>{C!==void 0&&h(C)},[C,h]);let Y=Q("components-unit-control","components-unit-control-wrapper",d),N=(v,K)=>{if(v===""||typeof v>"u"||v===null){m?.("",K);return}let P=eL(v,p,y,V).join("");m?.(P,K)},A=(v,K)=>{let{data:P}=K,oc=`${y??""}${v}`;G&&P?.default!==void 0&&(oc=`${P.default}${v}`),m?.(oc,K),s?.(v,K),h(v)},w;!n&&i&&p.length&&(w=v=>{W.onKeyDown?.(v),!v.metaKey&&!v.ctrlKey&&B.test(v.key)&&z.current?.focus()});let z=(0,RX.useRef)(null),f=n?null:(0,OJ.jsx)(nL,{ref:z,"aria-label":(0,GL.__)("Select unit"),disabled:o,isUnitSelectTabbable:i,onChange:A,size:["small","compact"].includes(x)||x==="default"&&!W.__next40pxDefaultSize?"small":"default",unit:V,units:p,onFocus:Z,onBlur:c.onBlur}),L=W.step;return!L&&p&&(L=p.find(K=>K.value===V)?.step??1),(0,OJ.jsx)(Bx,{...W,__shouldNotWarnDeprecated36pxSize:!0,autoComplete:e,className:Y,disabled:o,spinControls:"none",isPressEnterToChange:X,label:a,onKeyDown:w,onChange:N,ref:l,size:x,suffix:f,type:X?"text":"number",value:y??"",step:L,onFocus:Z,__unstableStateReducer:t})}var iL=(0,RX.forwardRef)(Fuc);iL.displayName="UnitControl";var no=iL;var od=u(F(),1);var aL=c=>{let l=c?.width!==void 0&&c.width!=="",t=c?.color!==void 0;return l||t};function uL(c){let{className:l,colors:t=[],isCompact:e,onChange:b,enableAlpha:d=!0,enableStyle:o=!0,shouldSanitizeBorder:n=!0,size:X="default",value:G,width:i,__experimentalIsRenderedInSidebar:a=!1,__next40pxDefaultSize:m,__shouldNotWarnDeprecated36pxSize:s,...x}=cc(c,"BorderControl");dl({componentName:"BorderControl",__next40pxDefaultSize:m,size:X,__shouldNotWarnDeprecated36pxSize:s});let r=X==="default"&&m?"__unstable-large":X,[g,H]=El(G?.width),Z=H||"px",R=g===0,[W,I]=(0,od.useState)(),[p,B]=(0,od.useState)(),y=n?aL(G):!0,C=(0,od.useCallback)(f=>{if(n&&!aL(f)){b(void 0);return}b(f)},[b,n]),V=(0,od.useCallback)(f=>{let L=f===""?void 0:f,[v]=El(f),K=v===0,P={...G,width:L};K&&!R&&(I(G?.color),B(G?.style),P.color=void 0,P.style="none"),!K&&R&&(P.color===void 0&&(P.color=W),P.style==="none"&&(P.style=p)),C(P)},[G,R,W,p,C]),h=(0,od.useCallback)(f=>{V(`${f}${Z}`)},[V,Z]),Y=ic(),N=(0,od.useMemo)(()=>Y(UD,l),[l,Y]),A=i;e&&(A=X==="__unstable-large"?"116px":"90px");let w=(0,od.useMemo)(()=>{let f=!!A&&ED,L=MD(r);return Y(jD(),f,L)},[A,Y,r]),z=(0,od.useMemo)(()=>Y(lL()),[Y]);return{...x,className:N,colors:t,enableAlpha:d,enableStyle:o,innerWrapperClassName:w,inputWidth:A,isStyleSettable:y,onBorderChange:C,onSliderChange:h,onWidthChange:V,previousStyleSelection:p,sliderClassName:z,value:G,widthUnit:Z,widthValue:g,size:r,__experimentalIsRenderedInSidebar:a,__next40pxDefaultSize:m}}var nd=u(J(),1),vuc=c=>{let{label:l,hideLabelFromVision:t}=c;return l?t?(0,nd.jsx)(wc,{as:"legend",children:l}):(0,nd.jsx)($e,{as:"legend",children:l}):null},Nuc=(c,l)=>{let{__next40pxDefaultSize:t=!1,colors:e,disableCustomColors:b,disableUnits:d,enableAlpha:o,enableStyle:n,hideLabelFromVision:X,innerWrapperClassName:G,inputWidth:i,isStyleSettable:a,label:m,onBorderChange:s,onSliderChange:x,onWidthChange:r,placeholder:g,__unstablePopoverProps:H,previousStyleSelection:Z,showDropdownHeader:R,size:W,sliderClassName:I,value:p,widthUnit:B,widthValue:y,withSlider:C,__experimentalIsRenderedInSidebar:V,...h}=uL(c);return(0,nd.jsxs)(ac,{as:"fieldset",...h,ref:l,children:[(0,nd.jsx)(vuc,{label:m,hideLabelFromVision:X}),(0,nd.jsxs)(Ec,{spacing:4,className:G,children:[(0,nd.jsx)(no,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,prefix:(0,nd.jsx)(ut,{marginRight:1,marginBottom:0,children:(0,nd.jsx)(AJ,{border:p,colors:e,__unstablePopoverProps:H,disableCustomColors:b,enableAlpha:o,enableStyle:n,isStyleSettable:a,onChange:s,previousStyleSelection:Z,__experimentalIsRenderedInSidebar:V,size:W})}),label:(0,QJ.__)("Border width"),hideLabelFromVision:!0,min:0,onChange:r,value:p?.width||"",placeholder:g,disableUnits:d,__unstableInputWidth:i,size:W}),C&&(0,nd.jsx)(yb,{label:(0,QJ.__)("Border width"),hideLabelFromVision:!0,className:I,initialPosition:0,max:100,min:0,onChange:x,step:["px","%"].includes(B)?1:.1,value:y||void 0,withInputField:!1,__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0})]})]})},fuc=lc(Nuc,"BorderControl"),Xd=fuc;var sL=u(F(),1);var Suc={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function mL(c){return c?Suc[c]:{}}function xL(c){let{align:l,alignment:t,className:e,columnGap:b,columns:d=2,gap:o=3,isInline:n=!1,justify:X,rowGap:G,rows:i,templateColumns:a,templateRows:m,...s}=cc(c,"Grid"),x=Array.isArray(d)?d:[d],r=ws(x),g=Array.isArray(i)?i:[i],H=ws(g),Z=a||!!d&&`repeat( ${r}, 1fr )`,R=m||!!i&&`repeat( ${H}, 1fr )`,W=ic(),I=(0,sL.useMemo)(()=>{let p=mL(t),B=k({alignItems:l,display:n?"inline-grid":"grid",gap:`calc( ${O.gridBase} * ${o} )`,gridTemplateColumns:Z||void 0,gridTemplateRows:R||void 0,gridRowGap:G,gridColumnGap:b,justifyContent:X,verticalAlign:n?"middle":void 0,...p},"","");return W(B,e)},[l,t,e,b,W,o,Z,R,n,X,G]);return{...s,className:I}}var rL=u(J(),1);function kuc(c,l){let t=xL(c);return(0,rL.jsx)(ac,{...t,ref:l})}var zuc=lc(kuc,"Grid"),Xn=zuc;var nW=u(F(),1);function gL(c){let{className:l,colors:t=[],enableAlpha:e=!1,enableStyle:b=!0,size:d="default",__experimentalIsRenderedInSidebar:o=!1,...n}=cc(c,"BorderBoxControlSplitControls"),X=ic(),G=(0,nW.useMemo)(()=>X(Vw(d),l),[X,l,d]),i=(0,nW.useMemo)(()=>X(Jw,l),[X,l]),a=(0,nW.useMemo)(()=>X(hw(),l),[X,l]);return{...n,centeredClassName:i,className:G,colors:t,enableAlpha:e,enableStyle:b,rightAlignedClassName:a,size:d,__experimentalIsRenderedInSidebar:o}}var IX=u(J(),1),Auc=(c,l)=>{let{centeredClassName:t,colors:e,disableCustomColors:b,enableAlpha:d,enableStyle:o,onChange:n,popoverPlacement:X,popoverOffset:G,rightAlignedClassName:i,size:a="default",value:m,__experimentalIsRenderedInSidebar:s,...x}=gL(c),[r,g]=(0,XW.useState)(null),H=(0,XW.useMemo)(()=>X?{placement:X,offset:G,anchor:r,shift:!0}:void 0,[X,G,r]),Z={colors:e,disableCustomColors:b,enableAlpha:d,enableStyle:o,isCompact:!0,__experimentalIsRenderedInSidebar:s,size:a,__shouldNotWarnDeprecated36pxSize:!0},R=(0,ZL.useMergeRefs)([g,l]);return(0,IX.jsxs)(Xn,{...x,ref:R,gap:3,children:[(0,IX.jsx)(GJ,{value:m,size:a}),(0,IX.jsx)(Xd,{className:t,hideLabelFromVision:!0,label:(0,Vx.__)("Top border"),onChange:W=>n(W,"top"),__unstablePopoverProps:H,value:m?.top,...Z}),(0,IX.jsx)(Xd,{hideLabelFromVision:!0,label:(0,Vx.__)("Left border"),onChange:W=>n(W,"left"),__unstablePopoverProps:H,value:m?.left,...Z}),(0,IX.jsx)(Xd,{className:i,hideLabelFromVision:!0,label:(0,Vx.__)("Right border"),onChange:W=>n(W,"right"),__unstablePopoverProps:H,value:m?.right,...Z}),(0,IX.jsx)(Xd,{className:t,hideLabelFromVision:!0,label:(0,Vx.__)("Bottom border"),onChange:W=>n(W,"bottom"),__unstablePopoverProps:H,value:m?.bottom,...Z})]})},Ouc=lc(Auc,"BorderBoxControlSplitControls"),wJ=Ouc;var Lu=u(F(),1);var Quc=/^([\d.\-+]*)\s*(fr|cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax|%|cap|ic|rlh|vi|vb|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx|svw|lvw|dvw|svh|lvh|dvh|svi|lvi|dvi|svb|lvb|dvb|svmin|lvmin|dvmin|svmax|lvmax|dvmax)?$/;function HL(c){let t=c.trim().match(Quc);if(!t)return[void 0,void 0];let[,e,b]=t,d=parseFloat(e);return d=Number.isNaN(d)?void 0:d,[d,b]}var GW=["top","right","bottom","left"],RL=["color","style","width"],Xo=c=>c?!RL.some(l=>c[l]!==void 0):!0,TJ=c=>c?ti(c)?!GW.every(t=>Xo(c[t])):!Xo(c):!1,IL=c=>c?RL.every(l=>c[l]!==void 0):!1,ti=(c={})=>Object.keys(c).some(l=>GW.indexOf(l)!==-1),iW=c=>{if(!ti(c))return!1;let l=GW.map(t=>wuc(c?.[t]));return!l.every(t=>t===l[0])},WL=c=>{if(!(!c||Xo(c)))return{top:c,right:c,bottom:c,left:c}},pL=(c,l)=>{let t={};return c.color!==l.color&&(t.color=l.color),c.style!==l.style&&(t.style=l.style),c.width!==l.width&&(t.width=l.width),t},BL=c=>{if(!c)return;let l=[],t=[],e=[];GW.forEach(n=>{l.push(c[n]?.color),t.push(c[n]?.style),e.push(c[n]?.width)});let b=l.every(n=>n===l[0]),d=t.every(n=>n===t[0]),o=e.every(n=>n===e[0]);return{color:b?l[0]:void 0,style:d?t[0]:void 0,width:o?e[0]:Tuc(e)}},wuc=(c,l)=>{if(Xo(c))return l;let{color:t,style:e,width:b}=l||{},{color:d=t,style:o=e,width:n=b}=c;return[n,!!n&&n!=="0"||!!d?o||"solid":o,d].filter(Boolean).join(" ")},Tuc=c=>{let t=c.map(e=>e===void 0?void 0:HL(`${e}`)[1]).filter(e=>e!==void 0);return Duc(t)};function Duc(c){if(c.length===0)return;let l={},t=0,e;return c.forEach(b=>{l[b]=l[b]===void 0?1:l[b]+1,l[b]>t&&(e=b,t=l[b])}),e}function yL(c){let{className:l,colors:t=[],onChange:e,enableAlpha:b=!1,enableStyle:d=!0,size:o="default",value:n,__experimentalIsRenderedInSidebar:X=!1,__next40pxDefaultSize:G,...i}=cc(c,"BorderBoxControl");dl({componentName:"BorderBoxControl",__next40pxDefaultSize:G,size:o});let a=o==="default"&&G?"__unstable-large":o,m=iW(n),s=ti(n),x=s?BL(n):n,r=s?n:WL(n),g=!isNaN(parseFloat(`${x?.width}`)),[H,Z]=(0,Lu.useState)(!m),R=()=>Z(!H),W=V=>{if(!V)return e(void 0);if(!m||IL(V))return e(Xo(V)?void 0:V);let h=pL(x,V),Y={top:{...n?.top,...h},right:{...n?.right,...h},bottom:{...n?.bottom,...h},left:{...n?.left,...h}};if(iW(Y))return e(Y);let N=Xo(Y.top)?void 0:Y.top;e(N)},I=(V,h)=>{let Y={...r,[h]:V};iW(Y)?e(Y):e(V)},p=ic(),B=(0,Lu.useMemo)(()=>p(Iw,l),[p,l]),y=(0,Lu.useMemo)(()=>p(Ww()),[p]),C=(0,Lu.useMemo)(()=>p(pw),[p]);return{...i,className:B,colors:t,disableUnits:m&&!g,enableAlpha:b,enableStyle:d,hasMixedBorders:m,isLinked:H,linkedControlClassName:y,onLinkedChange:W,onSplitChange:I,toggleLinked:R,linkedValue:x,size:a,splitValue:r,wrapperClassName:C,__experimentalIsRenderedInSidebar:X}}var Go=u(J(),1),Luc=c=>{let{label:l,hideLabelFromVision:t}=c;return l?t?(0,Go.jsx)(wc,{as:"label",children:l}):(0,Go.jsx)($e,{children:l}):null},Uuc=(c,l)=>{let{className:t,colors:e,disableCustomColors:b,disableUnits:d,enableAlpha:o,enableStyle:n,hasMixedBorders:X,hideLabelFromVision:G,isLinked:i,label:a,linkedControlClassName:m,linkedValue:s,onLinkedChange:x,onSplitChange:r,popoverPlacement:g,popoverOffset:H,size:Z,splitValue:R,toggleLinked:W,wrapperClassName:I,__experimentalIsRenderedInSidebar:p,...B}=yL(c),[y,C]=(0,aW.useState)(null),V=(0,aW.useMemo)(()=>g?{placement:g,offset:H,anchor:y,shift:!0}:void 0,[g,H,y]),h=(0,JL.useMergeRefs)([C,l]);return(0,Go.jsxs)(ac,{className:t,...B,ref:h,children:[(0,Go.jsx)(Luc,{label:a,hideLabelFromVision:G}),(0,Go.jsxs)(ac,{className:I,children:[i?(0,Go.jsx)(Xd,{className:m,colors:e,disableUnits:d,disableCustomColors:b,enableAlpha:o,enableStyle:n,onChange:x,placeholder:X?(0,VL.__)("Mixed"):void 0,__unstablePopoverProps:V,shouldSanitizeBorder:!1,value:s,withSlider:!0,width:Z==="__unstable-large"?"116px":"110px",__experimentalIsRenderedInSidebar:p,__shouldNotWarnDeprecated36pxSize:!0,size:Z}):(0,Go.jsx)(wJ,{colors:e,disableCustomColors:b,enableAlpha:o,enableStyle:n,onChange:r,popoverPlacement:g,popoverOffset:H,value:R,__experimentalIsRenderedInSidebar:p,size:Z}),(0,Go.jsx)(XJ,{onClick:W,isLinked:i,size:Z})]})]})},juc=lc(Uuc,"BorderBoxControl"),uW=juc;var qL=u(ec(),1),ZW=u(F(),1),EJ=u(Gc(),1),Zel=u(ne(),1);var ML=u(ec(),1),Cx=u(Gc(),1),PL=u(F(),1);var WX=u(Gc(),1),DJ={px:{max:300,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:10,step:.1},rm:{max:10,step:.1},svw:{max:100,step:1},lvw:{max:100,step:1},dvw:{max:100,step:1},svh:{max:100,step:1},lvh:{max:100,step:1},dvh:{max:100,step:1},vi:{max:100,step:1},svi:{max:100,step:1},lvi:{max:100,step:1},dvi:{max:100,step:1},vb:{max:100,step:1},svb:{max:100,step:1},lvb:{max:100,step:1},dvb:{max:100,step:1},vmin:{max:100,step:1},svmin:{max:100,step:1},lvmin:{max:100,step:1},dvmin:{max:100,step:1},vmax:{max:100,step:1},svmax:{max:100,step:1},lvmax:{max:100,step:1},dvmax:{max:100,step:1}},hx={all:(0,WX.__)("All sides"),top:(0,WX.__)("Top side"),bottom:(0,WX.__)("Bottom side"),left:(0,WX.__)("Left side"),right:(0,WX.__)("Right side"),vertical:(0,WX.__)("Top and bottom sides"),horizontal:(0,WX.__)("Left and right sides")},mW={top:void 0,right:void 0,bottom:void 0,left:void 0},Jx=["top","right","bottom","left"];function hL(c={},l=Jx){let t=CL(l);if(t.every(e=>c[e]===c[t[0]]))return c[t[0]]}function sW(c={},l=Jx){let t=CL(l);return t.some(e=>c[e]!==c[t[0]])}function xW(c){return c&&Object.values(c).filter(l=>!!l&&/\d/.test(l)).length>0}function CL(c){let l=[];if(!c?.length)return Jx;if(c.includes("vertical"))l.push("top","bottom");else if(c.includes("horizontal"))l.push("left","right");else{let t=Jx.filter(e=>c.includes(e));l.push(...t)}return l}function rW(c){let l=new Set(c?[]:Jx);return c?.forEach(t=>{t==="vertical"?(l.add("top"),l.add("bottom")):t==="horizontal"?(l.add("right"),l.add("left")):l.add(t)}),l}function LJ(c,l){return c.startsWith(`var:preset|${l}|`)}function YL(c,l,t){if(!LJ(c,l))return;let e=c.match(new RegExp(`^var:preset\\|${l}\\|(.+)$`));if(!e)return;let b=e[1],d=t.findIndex(o=>o.slug===b);return d!==-1?d:void 0}function FL(c,l,t){let e=t[c];return`var:preset|${l}|${e.slug}`}var vL=S("span",{target:"e1j5nr4z8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),NL=S("span",{target:"e1j5nr4z7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),Euc=({isFocused:c})=>k({backgroundColor:"currentColor",opacity:c?1:.3},"",""),fL=S("span",{target:"e1j5nr4z6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",Euc,";"),SL=S(fL,{target:"e1j5nr4z5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),kL=S(fL,{target:"e1j5nr4z4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),zL=S(kL,{target:"e1j5nr4z3"})({name:"abcix4",styles:"top:0"}),AL=S(SL,{target:"e1j5nr4z2"})({name:"1wf8jf",styles:"right:0"}),OL=S(kL,{target:"e1j5nr4z1"})({name:"8tapst",styles:"bottom:0"}),QL=S(SL,{target:"e1j5nr4z0"})({name:"1ode3cm",styles:"left:0"});var pX=u(J(),1),Muc=24;function wL({size:c=24,side:l="all",sides:t,...e}){let b=a=>t?.length&&!t.includes(a),d=a=>b(a)?!1:l==="all"||l===a,o=d("top")||d("vertical"),n=d("right")||d("horizontal"),X=d("bottom")||d("vertical"),G=d("left")||d("horizontal"),i=c/Muc;return(0,pX.jsx)(vL,{style:{transform:`scale(${i})`},...e,children:(0,pX.jsxs)(NL,{children:[(0,pX.jsx)(zL,{isFocused:o}),(0,pX.jsx)(AL,{isFocused:n}),(0,pX.jsx)(OL,{isFocused:X}),(0,pX.jsx)(QL,{isFocused:G})]})})}var TL=S(no,{target:"e1jovhle5"})({name:"1ejyr19",styles:"max-width:90px"}),gW=S(Ec,{target:"e1jovhle4"})({name:"1j1lmoi",styles:"grid-column:1/span 3"}),DL=S(bc,{target:"e1jovhle3"})({name:"tkya7b",styles:"grid-area:1/2;justify-self:end"}),LL=S("div",{target:"e1jovhle2"})({name:"1dfa8al",styles:"grid-area:1/3;justify-self:end"}),UL=S(wL,{target:"e1jovhle1"})({name:"ou8xsw",styles:"flex:0 0 auto"}),UJ=S(yb,{target:"e1jovhle0"})("width:100%;margin-inline-end:",D(2),";");var Vb=u(J(),1),jL=()=>{};function EL(c,l,t){let e=rW(l),b=[];switch(c){case"all":b=["top","bottom","left","right"];break;case"horizontal":b=["left","right"];break;case"vertical":b=["top","bottom"];break;default:b=[c]}if(t)switch(c){case"top":b.push("bottom");break;case"bottom":b.push("top");break;case"left":b.push("left");break;case"right":b.push("right");break}return b.filter(d=>e.has(d))}function Yx({onChange:c=jL,onFocus:l=jL,values:t,selectedUnits:e,setSelectedUnits:b,sides:d,side:o,min:n=0,presets:X,presetKey:G,placeholder:i,...a}){let m=EL(o,d),s=v=>{l(v,{side:o})},x=v=>{c(v)},r=v=>{let K={...t};m.forEach(P=>{K[P]=v}),x(K)},g=(v,K)=>{let P={...t},E=v!==void 0&&!isNaN(parseFloat(v))?v:void 0;EL(o,d,!!K?.event.altKey).forEach(j=>{P[j]=E}),x(P)},H=v=>{let K={...e};m.forEach(P=>{K[P]=v}),b(K)},Z=hL(t,m),R=xW(t),W=R&&m.length>1&&sW(t,m),[I,p]=El(Z),B=R?p:e[m[0]],C=[(0,ML.useInstanceId)(Yx,"box-control-input"),o].join("-"),V=m.length>1&&Z===void 0&&m.some(v=>e[v]!==B),h=Z===void 0&&B?B:Z,Y=W||V?(0,Cx.__)("Mixed"):void 0,N=X&&X.length>0&&G,A=N&&Z!==void 0&&!W&&LJ(Z,G),[w,z]=(0,PL.useState)(!N||!A&&!W&&Z!==void 0),f=A?YL(Z,G,X):void 0,L=N?[{value:0,label:"",tooltip:(0,Cx.__)("None")},...X.map((v,K)=>({value:K+1,label:"",tooltip:v.name??v.slug}))]:[];return(0,Vb.jsxs)(gW,{expanded:!0,children:[(0,Vb.jsx)(UL,{side:o,sides:d}),w&&(0,Vb.jsxs)(Vb.Fragment,{children:[(0,Vb.jsx)(Se,{placement:"top-end",text:hx[o],children:(0,Vb.jsx)(TL,{...a,min:n,__shouldNotWarnDeprecated36pxSize:!0,__next40pxDefaultSize:!0,className:"component-box-control__unit-control",id:C,isPressEnterToChange:!0,disableUnits:W||V,value:h,onChange:g,onUnitChange:H,onFocus:s,label:hx[o],placeholder:Y??i,hideLabelFromVision:!0})}),(0,Vb.jsx)(UJ,{__next40pxDefaultSize:!0,__shouldNotWarnDeprecated36pxSize:!0,"aria-controls":C,label:hx[o],hideLabelFromVision:!0,onChange:v=>{g(v!==void 0?[v,B].join(""):void 0)},min:isFinite(n)?n:0,max:DJ[B??"px"]?.max??10,step:DJ[B??"px"]?.step??.1,value:I??0,withInputField:!1})]}),N&&!w&&(0,Vb.jsx)(UJ,{__next40pxDefaultSize:!0,className:"spacing-sizes-control__range-control",value:f!==void 0?f+1:0,onChange:v=>{let K=v===0||v===void 0?void 0:FL(v-1,G,X);r(K)},withInputField:!1,"aria-valuenow":f!==void 0?f+1:0,"aria-valuetext":L[f!==void 0?f+1:0].tooltip,renderTooltipContent:v=>L[v||0].tooltip,min:0,max:L.length-1,marks:L,label:hx[o],hideLabelFromVision:!0}),N&&(0,Vb.jsx)(bc,{label:w?(0,Cx.__)("Use size preset"):(0,Cx.__)("Set custom size"),icon:$s,onClick:()=>{z(!w)},isPressed:w,size:"small",iconSize:24})]},`box-control-${o}`)}var jJ=u(Gc(),1);var KL=u(J(),1);function _L({isLinked:c,...l}){let t=c?(0,jJ.__)("Unlink sides"):(0,jJ.__)("Link sides");return(0,KL.jsx)(bc,{...l,className:"component-box-control__linked-button",size:"small",icon:c?Es:js,iconSize:24,label:t})}var Gd=u(J(),1),Puc={min:0},Kuc=()=>{};function _uc(c){let l=(0,qL.useInstanceId)($L,"inspector-box-control");return c||l}function $L({id:c,inputProps:l=Puc,onChange:t=Kuc,label:e=(0,EJ.__)("Box Control"),values:b,units:d,sides:o,splitOnAxis:n=!1,allowReset:X=!0,resetValues:G=mW,presets:i,presetKey:a,onMouseOver:m,onMouseOut:s}){let[x,r]=jo(b,{fallback:mW}),g=x||mW,H=xW(b),Z=o?.length===1,[R,W]=(0,ZW.useState)(H),[I,p]=(0,ZW.useState)(!H||!sW(g)||Z),[B,y]=(0,ZW.useState)({top:El(b?.top)[1],right:El(b?.right)[1],bottom:El(b?.bottom)[1],left:El(b?.left)[1]}),C=_uc(c),V=`${C}-heading`,h=()=>{p(!I)},Y=z=>{t(z),r(z),W(!0)},N=()=>{t(G),r(G),y(G),W(!1)},A={onMouseOver:m,onMouseOut:s,...l,onChange:Y,isLinked:I,units:d,selectedUnits:B,setSelectedUnits:y,sides:o,values:g,presets:i,presetKey:a},w=rW(o);if(i&&!a||!i&&a){let z=i?"presets":"presetKey",f=i?"presetKey":"presets"}return(0,Gd.jsxs)(Xn,{id:C,columns:3,templateColumns:"1fr min-content min-content",role:"group","aria-labelledby":V,children:[(0,Gd.jsx)(O2.VisualLabel,{id:V,children:e}),I&&(0,Gd.jsx)(gW,{children:(0,Gd.jsx)(Yx,{side:"all",...A})}),!Z&&(0,Gd.jsx)(LL,{children:(0,Gd.jsx)(_L,{onClick:h,isLinked:I})}),!I&&n&&["vertical","horizontal"].map(z=>(0,Gd.jsx)(Yx,{side:z,...A},z)),!I&&!n&&Array.from(w).map(z=>(0,Gd.jsx)(Yx,{side:z,...A},z)),X&&(0,Gd.jsx)(DL,{className:"component-box-control__reset-button",variant:"secondary",size:"small",onClick:N,disabled:!R,children:(0,EJ.__)("Reset")})]})}var MJ=$L;var cU=u(F(),1),lU=u(ml(),1),tU=u(J(),1);function quc(c,l){let{className:t,__shouldNotWarnDeprecated:e,...b}=c,d=Q("components-button-group",t);return e||(0,lU.default)("wp.components.ButtonGroup",{since:"6.8",alternative:"wp.components.__experimentalToggleGroupControl"}),(0,tU.jsx)("div",{ref:l,role:"group",className:d,...b})}var eU=(0,cU.forwardRef)(quc);eU.displayName="ButtonGroup";var HW=eU;var _J=u(F(),1);var dU=u(F(),1);var bU={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function RW(c){let l=`rgba(0, 0, 0, ${c/20})`;return`0 ${c}px ${c*2}px 0 | |
| 23 | - ${l}`}function oU(c){let{active:l,borderRadius:t="inherit",className:e,focus:b,hover:d,isInteractive:o=!1,offset:n=0,value:X=0,...G}=cc(c,"Elevation"),i=ic(),a=(0,dU.useMemo)(()=>{let m=Dt(d)?d:X*2,s=Dt(l)?l:X/2;o||(m=Dt(d)?d:void 0,s=Dt(l)?l:void 0);let x=`box-shadow ${O.transitionDuration} ${O.transitionTimingFunction}`,r={};return r.Base=k({borderRadius:t,bottom:n,boxShadow:RW(X),opacity:O.elevationIntensity,left:n,right:n,top:n},k("@media not ( prefers-reduced-motion ){transition:",x,";}",""),"",""),Dt(m)&&(r.hover=k("*:hover>&{box-shadow:",RW(m),";}","")),Dt(s)&&(r.active=k("*:active>&{box-shadow:",RW(s),";}","")),Dt(b)&&(r.focus=k("*:focus>&{box-shadow:",RW(b),";}","")),i(bU,r.Base,r.hover,r.focus,r.active,e)},[l,t,e,i,b,d,o,n,X]);return{...G,className:a,"aria-hidden":!0}}var nU=u(J(),1);function c0c(c,l){let t=oU(c);return(0,nU.jsx)(ac,{...t,ref:l})}var l0c=lc(c0c,"Elevation"),Uu=l0c;var Fx=`calc(${O.radiusLarge} - 1px)`,XU=k("box-shadow:0 0 0 1px ",O.surfaceBorderColor,";outline:none;",""),GU={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},iU={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},aU={name:"13udsys",styles:"height:100%"},uU={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},mU={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},sU={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},BX=k("&:first-of-type{border-top-left-radius:",Fx,";border-top-right-radius:",Fx,";}&:last-of-type{border-bottom-left-radius:",Fx,";border-bottom-right-radius:",Fx,";}",""),ju=k("border-color:",O.colorDivider,";",""),xU={name:"1t90u8d",styles:"box-shadow:none"},IW={name:"1e1ncky",styles:"border:none"},rU=k("border-radius:",Fx,";",""),Eu=k("background-color:",T.ui.backgroundDisabled,";","");var pU=u(ml(),1),BU=u(F(),1);var IU=u(F(),1);var gU=k("background-color:",O.surfaceColor,";color:",T.gray[900],";position:relative;",""),Mel=k("background-color:",O.surfaceBackgroundColor,";","");function ZU({borderBottom:c,borderLeft:l,borderRight:t,borderTop:e}){let b=`1px solid ${O.surfaceBorderColor}`;return k({borderBottom:c?b:void 0,borderLeft:l?b:void 0,borderRight:t?b:void 0,borderTop:e?b:void 0},"","")}var t0c=k("",""),e0c=k("background:",O.surfaceBackgroundTintColor,";",""),b0c=k("background:",O.surfaceBackgroundTertiaryColor,";",""),HU=c=>[c,c].join(" "),d0c=c=>["90deg",[O.surfaceBackgroundColor,c].join(" "),"transparent 1%"].join(","),o0c=c=>[[O.surfaceBackgroundColor,c].join(" "),"transparent 1%"].join(","),n0c=c=>[`linear-gradient( ${d0c(c)} ) center`,`linear-gradient( ${o0c(c)} ) center`,O.surfaceBorderBoldColor].join(","),X0c=(c,l)=>k("background:",n0c(l),";background-size:",HU(c),";",""),G0c=[`${O.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(","),i0c=["90deg",`${O.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(","),a0c=[`linear-gradient( ${G0c} )`,`linear-gradient( ${i0c} )`].join(","),u0c=c=>k("background:",O.surfaceBackgroundColor,";background-image:",a0c,";background-size:",HU(c),";",""),RU=(c,l,t)=>{switch(c){case"dotted":return X0c(l,t);case"grid":return u0c(l);case"primary":return t0c;case"secondary":return e0c;case"tertiary":return b0c}};function WW(c){let{backgroundSize:l=12,borderBottom:t=!1,borderLeft:e=!1,borderRight:b=!1,borderTop:d=!1,className:o,variant:n="primary",...X}=cc(c,"Surface"),G=ic(),i=(0,IU.useMemo)(()=>{let a={borders:ZU({borderBottom:t,borderLeft:e,borderRight:b,borderTop:d})};return G(gU,a.borders,RU(n,`${l}px`,`${l-1}px`),o)},[l,t,e,b,d,o,G,n]);return{...X,className:i}}var WU=u(J(),1);function s0c(c,l){let t=WW(c);return(0,WU.jsx)(ac,{...t,ref:l})}var x0c=lc(s0c,"Surface"),PJ=x0c;function r0c({elevation:c,isElevated:l,...t}){let e={...t},b=c;return l&&((0,pU.default)("Card isElevated prop",{since:"5.9",alternative:"elevation"}),b??=2),typeof b<"u"&&(e.elevation=b),e}function KJ(c){let{className:l,elevation:t=0,isBorderless:e=!1,isRounded:b=!0,size:d="medium",...o}=cc(r0c(c),"Card"),n=ic(),X=(0,BU.useMemo)(()=>n(XU,e&&xU,b&&rU,l),[l,n,e,b]);return{...WW({...o,className:X}),elevation:t,isBorderless:e,isRounded:b,size:d}}var bi=u(J(),1);function g0c(c,l){let{children:t,elevation:e,isBorderless:b,isRounded:d,size:o,...n}=KJ(c),X=d?O.radiusLarge:0,G=ic(),i=(0,_J.useMemo)(()=>G(k({borderRadius:X},"","")),[G,X]),a=(0,_J.useMemo)(()=>{let m={size:o,isBorderless:b};return{CardBody:m,CardHeader:m,CardFooter:m}},[b,o]);return(0,bi.jsx)(fG,{value:a,children:(0,bi.jsxs)(ac,{...n,ref:l,children:[(0,bi.jsx)(ac,{className:G(aU),children:t}),(0,bi.jsx)(Uu,{className:i,isInteractive:!1,value:e?1:0}),(0,bi.jsx)(Uu,{className:i,isInteractive:!1,value:e})]})})}var Z0c=lc(g0c,"Card"),pW=Z0c;var FU=u(F(),1);var yU=k("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",O.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",O.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",O.colorScrollbarThumbHover,";}}",""),VU={name:"13udsys",styles:"height:100%"};var JU={name:"7zq9w",styles:"scroll-behavior:smooth"},hU={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},CU={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},YU={name:"umwchj",styles:"overflow-y:auto"};function vU(c){let{className:l,scrollDirection:t="y",smoothScroll:e=!1,...b}=cc(c,"Scrollable"),d=ic(),o=(0,FU.useMemo)(()=>d(VU,yU,e&&JU,t==="x"&&hU,t==="y"&&CU,t==="auto"&&YU,l),[l,d,t,e]);return{...b,className:o}}var NU=u(J(),1);function R0c(c,l){let t=vU(c);return(0,NU.jsx)(ac,{...t,ref:l})}var I0c=lc(R0c,"Scrollable"),vx=I0c;var kU=u(F(),1);var fU=k("padding:",D(2),";",""),SU={none:{name:"1hcx8jb",styles:"padding:0"},large:k("padding:",D(6)," ",D(8),";",""),medium:k("padding:",D(4)," ",D(6),";",""),small:k("padding:",D(4),";",""),xSmall:fU,extraSmall:fU},BW=c=>{switch(c){case"xSmall":return D(2);case"small":return D(4);case"medium":return D(6);case"large":return D(8);case"none":return"0";default:return D(6)}},Mu=c=>{if(typeof c=="string")return SU[c];if(c){let{blockStart:l,blockEnd:t,inlineStart:e,inlineEnd:b}=c;return k("padding-block-start:",BW(l),";padding-block-end:",BW(t),";padding-inline-start:",BW(e),";padding-inline-end:",BW(b),";","")}return SU.medium};function qJ(c){let{className:l,isScrollable:t=!1,isShady:e=!1,size:b="medium",...d}=cc(c,"CardBody"),o=ic(),n=(0,kU.useMemo)(()=>o(uU,BX,Mu(b),e&&Eu,"components-card__body",l),[l,o,e,b]);return{...d,className:n,isScrollable:t}}var $J=u(J(),1);function W0c(c,l){let{isScrollable:t,...e}=qJ(c);return t?(0,$J.jsx)(vx,{...e,ref:l}):(0,$J.jsx)(ac,{...e,ref:l})}var p0c=lc(W0c,"CardBody"),yW=p0c;var AU=u(J(),1),ch="data-wp-hash";function lh(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&y0c(document)),c.__wpStyleRuntime}function B0c(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${ch}]`))if(t.getAttribute(ch)===l)return!0;return!1}function zU(c,l,t){if(!c.head)return;let e=lh(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(B0c(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(ch,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function y0c(c){let l=lh();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)zU(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function V0c(c,l){let t=lh();t.styles.set(c,l);for(let e of t.documents.keys())zU(e,c,l)}typeof process>"u",V0c("f2c8d759d8",".e10c29fc10c181dc__divider{border:0;margin:0}.e10c29fc10c181dc__divider[aria-orientation=horizontal]{block-size:0;border-block-end:1px solid currentColor;inline-size:auto;margin-block-end:var(--wp-components-divider-margin-end,0);margin-block-start:var(--wp-components-divider-margin-start,0)}.e10c29fc10c181dc__divider[aria-orientation=vertical]{block-size:auto;border-inline-end:1px solid currentColor;display:inline;inline-size:0;margin-inline-end:var(--wp-components-divider-margin-end,0);margin-inline-start:var(--wp-components-divider-margin-start,0)}");var J0c={divider:"e10c29fc10c181dc__divider"};function h0c(c,l){let{className:t,margin:e,marginEnd:b,marginStart:d,style:o,...n}=cc(c,"Divider"),X={...o},G=D(d??e),i=D(b??e);return G&&(X["--wp-components-divider-margin-start"]=G),i&&(X["--wp-components-divider-margin-end"]=i),(0,AU.jsx)(ng,{className:Q(J0c.divider,t),style:X,...n,ref:l})}var C0c=lc(h0c,"Divider"),Nx=C0c;var OU=u(F(),1);function th(c){let{className:l,...t}=cc(c,"CardDivider"),e=ic(),b=(0,OU.useMemo)(()=>e(sU,ju,"components-card__divider",l),[l,e]);return{...t,className:b}}var QU=u(J(),1);function Y0c(c,l){let t=th(c);return(0,QU.jsx)(Nx,{...t,ref:l})}var F0c=lc(Y0c,"CardDivider"),VW=F0c;var wU=u(F(),1);function eh(c){let{className:l,justify:t,isBorderless:e=!1,isShady:b=!1,size:d="medium",...o}=cc(c,"CardFooter"),n=ic(),X=(0,wU.useMemo)(()=>n(iU,BX,ju,Mu(d),e&&IW,b&&Eu,"components-card__footer",l),[l,n,e,b,d]);return{...o,className:X,justify:t}}var TU=u(J(),1);function v0c(c,l){let t=eh(c);return(0,TU.jsx)(Zl,{...t,ref:l})}var N0c=lc(v0c,"CardFooter"),JW=N0c;var DU=u(F(),1);function bh(c){let{className:l,isBorderless:t=!1,isShady:e=!1,size:b="medium",...d}=cc(c,"CardHeader"),o=ic(),n=(0,DU.useMemo)(()=>o(GU,BX,ju,Mu(b),t&&IW,e&&Eu,"components-card__header",l),[l,o,t,e,b]);return{...d,className:n}}var LU=u(J(),1);function f0c(c,l){let t=bh(c);return(0,LU.jsx)(Zl,{...t,ref:l})}var S0c=lc(f0c,"CardHeader"),hW=S0c;var UU=u(F(),1);function dh(c){let{className:l,...t}=cc(c,"CardMedia"),e=ic(),b=(0,UU.useMemo)(()=>e(mU,BX,"components-card__media",l),[l,e]);return{...t,className:b}}var jU=u(J(),1);function k0c(c,l){let t=dh(c);return(0,jU.jsx)(ac,{...t,ref:l})}var z0c=lc(k0c,"CardMedia"),CW=z0c;var oh=u(F(),1),YW=u(ec(),1),EU=u(ml(),1);var io=u(J(),1);function MU(c){let{__nextHasNoMarginBottom:l,label:t,className:e,heading:b,checked:d,indeterminate:o,help:n,id:X,onChange:G,onClick:i,...a}=c;b&&(0,EU.default)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});let[m,s]=(0,oh.useState)(!1),[x,r]=(0,oh.useState)(!1),g=(0,YW.useRefEffect)(R=>{R&&(R.indeterminate=!!o,s(R.matches(":checked")),r(R.matches(":indeterminate")))},[d,o]),H=(0,YW.useInstanceId)(MU,"inspector-checkbox-control",X),Z=R=>G(R.target.checked);return(0,io.jsx)(jc,{label:b,id:H,help:n&&(0,io.jsx)("span",{className:"components-checkbox-control__help",children:n}),className:Q("components-checkbox-control",e),children:(0,io.jsxs)(Ec,{spacing:0,justify:"start",alignment:"top",children:[(0,io.jsxs)("span",{className:"components-checkbox-control__input-container",children:[(0,io.jsx)("input",{ref:g,id:H,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:Z,checked:d,"aria-describedby":n?H+"__help":void 0,onClick:R=>{R.currentTarget.focus(),i?.(R)},...a}),x?(0,io.jsx)(mt,{icon:Ks,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,m?(0,io.jsx)(mt,{icon:jt,className:"components-checkbox-control__checked",role:"presentation"}):null]}),t&&(0,io.jsx)("label",{className:"components-checkbox-control__label",htmlFor:H,children:t})]})})}var FW=MU;var vW=u(F(),1),PU=u(ec(),1),KU=u(ml(),1);var _U=u(J(),1),A0c=4e3;function qU({className:c,children:l,onCopy:t,onFinishCopy:e,text:b,...d}){(0,KU.default)("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});let o=(0,vW.useRef)(void 0),n=(0,PU.useCopyToClipboard)(b,()=>{t(),o.current&&clearTimeout(o.current),e&&(o.current=setTimeout(()=>e(),A0c))});(0,vW.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]);let X=Q("components-clipboard-button",c);return(0,_U.jsx)(bc,{...d,className:X,ref:n,onCopy:i=>{i.target.focus()},children:l})}var xe=u(F(),1),Pl=u(Gc(),1);var Wh=u(ec(),1);var nj=u(F(),1);var $U=c=>k("font-size:",Cl("default.fontSize"),";font-family:inherit;appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:start;text-decoration:",c==="a"?"none":void 0,";svg,path{fill:currentColor;}&:hover{color:",T.theme.accent,";}&:focus{box-shadow:none;outline:none;}&:focus-visible{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",T.theme.accent,";outline:2px solid transparent;outline-offset:0;}",""),cj={name:"1bcj5ek",styles:"width:100%;display:block"},lj={name:"150ruhm",styles:"box-sizing:border-box;width:100%;display:block;margin:0;color:inherit"},tj=k("border:1px solid ",O.surfaceBorderColor,";",""),ej=k(">*:not( marquee )>*{border-bottom:1px solid ",O.surfaceBorderColor,";}>*:last-of-type>*{border-bottom-color:transparent;}",""),Pu=O.radiusSmall,bj=k("border-radius:",Pu,";",""),dj=k("border-radius:",Pu,";>*:first-of-type>*{border-top-left-radius:",Pu,";border-top-right-radius:",Pu,";}>*:last-of-type>*{border-bottom-left-radius:",Pu,";border-bottom-right-radius:",Pu,";}",""),nh=`calc(${O.fontSize} * ${O.fontLineHeightBase})`,O0c=`calc((${O.controlHeight} - ${nh} - 2px) / 2)`,Q0c=`calc((${O.controlHeightSmall} - ${nh} - 2px) / 2)`,w0c=`calc((${O.controlHeightLarge} - ${nh} - 2px) / 2)`,Xh={small:k("padding:",Q0c," ",O.controlPaddingXSmall,"px;",""),medium:k("padding:",O0c," ",O.controlPaddingX,"px;",""),large:k("padding:",w0c," ",O.controlPaddingXLarge,"px;","")};var NW=u(F(),1),fW=(0,NW.createContext)({size:"medium"});fW.displayName="ItemGroupContext";var SW=()=>(0,NW.useContext)(fW);function Xj(c){let{as:l,className:t,onClick:e,role:b="listitem",size:d,...o}=cc(c,"Item"),{spacedAround:n,size:X}=SW(),G=d||X,i=l||(typeof e<"u"?"button":"div"),a=ic(),m=(0,nj.useMemo)(()=>a((i==="button"||i==="a")&&$U(i),Xh[G]||Xh.medium,lj,n&&bj,t),[i,t,a,G,n]),s=a(cj);return{as:i,className:m,onClick:e,wrapperClassName:s,role:b,...o}}var Gh=u(J(),1);function T0c(c,l){let{role:t,wrapperClassName:e,...b}=Xj(c);return(0,Gh.jsx)("div",{role:t,className:e,children:(0,Gh.jsx)(ac,{...b,ref:l})})}var D0c=lc(T0c,"Item"),Ku=D0c;function Gj(c){let{className:l,isBordered:t=!1,isRounded:e=!0,isSeparated:b=!1,role:d="list",...o}=cc(c,"ItemGroup"),X=ic()(t&&tj,b&&ej,e&&dj,l);return{isBordered:t,className:X,role:d,isSeparated:b,...o}}var ih=u(J(),1);function L0c(c,l){let{isBordered:t,isSeparated:e,size:b,...d}=Gj(c),{size:o}=SW(),G={spacedAround:!t&&!e,size:b||o};return(0,ih.jsx)(fW.Provider,{value:G,children:(0,ih.jsx)(ac,{...d,ref:l})})}var U0c=lc(L0c,"ItemGroup"),_u=U0c;var an=u(Gc(),1),vj=u(ec(),1),TW=u(F(),1);var Yj=u(Gc(),1),Fj=u(F(),1);var OW=u(F(),1);var rj=u(ec(),1),Gn=u(F(),1),qu=u(Gc(),1);var j0c=16,E0c=16,ah=10,ij=0,aj=5,uh=ah,Wol=(E0c+j0c)/2;function kW(c){return Math.max(0,Math.min(100,c))}function M0c(c,l,t,e=ij){let b=c[l].position,d=Math.min(b,t),o=Math.max(b,t);return c.some(({position:n},X)=>X!==l&&(Math.abs(n-t)<e||d<n&&n<o))}function uj(c,l,t){let e=c.findIndex(o=>o.position>l),b={color:t,position:l},d=c.slice();return d.splice(e-1,0,b),d}function mj(c,l){return c.filter((t,e)=>e!==l)}function sj(c,l,t){let e=c.slice();return e[l]=t,e}function zW(c,l,t){if(M0c(c,l,t))return c;let e={...c[l],position:t};return sj(c,l,e)}function mh(c,l,t){let e={...c[l],color:t};return sj(c,l,e)}function xj(c,l,t){let e=c.findIndex(b=>b.position===l);return mh(c,e,t)}function AW(c,l){if(!l)return;let{x:t,width:e}=l.getBoundingClientRect(),b=c-t;return Math.round(kW(b*100/e))}var Ml=u(J(),1);function gj({isOpen:c,position:l,color:t,...e}){let d=`components-custom-gradient-picker__control-point-button-description-${(0,rj.useInstanceId)(gj)}`;return(0,Ml.jsxs)(Ml.Fragment,{children:[(0,Ml.jsx)(bc,{"aria-label":(0,qu.sprintf)((0,qu.__)("Gradient control point at position %1$d%% with color code %2$s."),l,t),"aria-describedby":d,"aria-haspopup":"true","aria-expanded":c,__next40pxDefaultSize:!0,className:Q("components-custom-gradient-picker__control-point-button",{"is-active":c}),...e}),(0,Ml.jsx)(wc,{id:d,children:(0,qu.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")})]})}function Zj({isRenderedInSidebar:c,className:l,...t}){let e=(0,Gn.useMemo)(()=>({placement:"bottom",offset:8,resize:!1}),[]),b=Q("components-custom-gradient-picker__control-point-dropdown",l);return(0,Ml.jsx)(kJ,{isRenderedInSidebar:c,popoverProps:e,className:b,...t})}function Hj({disableRemove:c,disableAlpha:l,gradientPickerDomRef:t,ignoreMarkerPosition:e,value:b,onChange:d,onStartControlPointChange:o,onStopControlPointChange:n,__experimentalIsRenderedInSidebar:X}){let G=(0,Gn.useRef)(void 0),i=s=>{if(G.current===void 0||t.current===null)return;let x=AW(s.clientX,t.current),{initialPosition:r,index:g,significantMoveHappened:H}=G.current;!H&&Math.abs(r-x)>=aj&&(G.current.significantMoveHappened=!0),d(zW(b,g,x))},a=()=>{window&&window.removeEventListener&&G.current&&G.current.listenersActivated&&(window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a),n(),G.current.listenersActivated=!1)},m=(0,Gn.useRef)(void 0);return m.current=a,(0,Gn.useEffect)(()=>()=>{m.current?.()},[]),(0,Ml.jsx)(Ml.Fragment,{children:b.map((s,x)=>{let r=s?.position;return e!==r&&(0,Ml.jsx)(Zj,{isRenderedInSidebar:X,onClose:n,renderToggle:({isOpen:g,onToggle:H})=>(0,Ml.jsx)(gj,{onClick:()=>{G.current&&G.current.significantMoveHappened||(g?n():o(),H())},onMouseDown:()=>{window&&window.addEventListener&&(G.current={initialPosition:r,index:x,significantMoveHappened:!1,listenersActivated:!0},o(),window.addEventListener("mousemove",i),window.addEventListener("mouseup",a))},onKeyDown:Z=>{Z.code==="ArrowLeft"?(Z.stopPropagation(),d(zW(b,x,kW(s.position-uh)))):Z.code==="ArrowRight"&&(Z.stopPropagation(),d(zW(b,x,kW(s.position+uh))))},isOpen:g,position:s.position,color:s.color},x),renderContent:({onClose:g})=>(0,Ml.jsxs)(on,{paddingSize:"none",children:[(0,Ml.jsx)(eo,{enableAlpha:!l,color:s.color,onChange:H=>{d(mh(b,x,Rc(H).toRgbString()))}}),!c&&b.length>2&&(0,Ml.jsx)(Ec,{className:"components-custom-gradient-picker__remove-control-point-wrapper",alignment:"center",children:(0,Ml.jsx)(bc,{onClick:()=>{d(mj(b,x)),g()},variant:"link",children:(0,qu.__)("Remove Control Point")})})]}),style:{left:`${s.position}%`,transform:"translateX( -50% )"}},x)})})}function P0c({value:c,onChange:l,onOpenInserter:t,onCloseInserter:e,insertPosition:b,disableAlpha:d,__experimentalIsRenderedInSidebar:o}){let[n,X]=(0,Gn.useState)(!1);return(0,Ml.jsx)(Zj,{isRenderedInSidebar:o,className:"components-custom-gradient-picker__inserter",onClose:()=>{e()},renderToggle:({isOpen:G,onToggle:i})=>(0,Ml.jsx)(bc,{__next40pxDefaultSize:!0,"aria-expanded":G,"aria-haspopup":"true",onClick:()=>{G?e():(X(!1),t()),i()},className:"components-custom-gradient-picker__insert-point-dropdown",icon:Ko}),renderContent:()=>(0,Ml.jsx)(on,{paddingSize:"none",children:(0,Ml.jsx)(eo,{enableAlpha:!d,onChange:G=>{n?l(xj(c,b,Rc(G).toRgbString())):(l(uj(c,b,Rc(G).toRgbString())),X(!0))}})}),style:b!==null?{left:`${b}%`,transform:"translateX( -50% )"}:void 0})}Hj.InsertPoint=P0c;var sh=Hj;var di=u(J(),1),K0c=(c,l)=>{switch(l.type){case"MOVE_INSERTER":if(c.id==="IDLE"||c.id==="MOVING_INSERTER")return{id:"MOVING_INSERTER",insertPosition:l.insertPosition};break;case"STOP_INSERTER_MOVE":if(c.id==="MOVING_INSERTER")return{id:"IDLE"};break;case"OPEN_INSERTER":if(c.id==="MOVING_INSERTER")return{id:"INSERTING_CONTROL_POINT",insertPosition:c.insertPosition};break;case"CLOSE_INSERTER":if(c.id==="INSERTING_CONTROL_POINT")return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if(c.id==="IDLE")return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if(c.id==="MOVING_CONTROL_POINT")return{id:"IDLE"};break}return c},_0c={id:"IDLE"};function QW({background:c,hasGradient:l,value:t,onChange:e,disableInserter:b=!1,disableAlpha:d=!1,__experimentalIsRenderedInSidebar:o=!1}){let n=(0,OW.useRef)(null),[X,G]=(0,OW.useReducer)(K0c,_0c),i=x=>{if(!n.current)return;let r=AW(x.clientX,n.current);if(t.some(({position:g})=>Math.abs(r-g)<ah)){X.id==="MOVING_INSERTER"&&G({type:"STOP_INSERTER_MOVE"});return}G({type:"MOVE_INSERTER",insertPosition:r})},a=()=>{G({type:"STOP_INSERTER_MOVE"})},m=X.id==="MOVING_INSERTER",s=X.id==="INSERTING_CONTROL_POINT";return(0,di.jsxs)("div",{className:Q("components-custom-gradient-picker__gradient-bar",{"has-gradient":l}),onMouseEnter:i,onMouseMove:i,onMouseLeave:a,children:[(0,di.jsx)("div",{className:"components-custom-gradient-picker__gradient-bar-background",style:{background:c,opacity:l?1:.4}}),(0,di.jsxs)("div",{ref:n,className:"components-custom-gradient-picker__markers-container",children:[!b&&(m||s)&&(0,di.jsx)(sh.InsertPoint,{__experimentalIsRenderedInSidebar:o,disableAlpha:d,insertPosition:X.insertPosition,value:t,onChange:e,onOpenInserter:()=>{G({type:"OPEN_INSERTER"})},onCloseInserter:()=>{G({type:"CLOSE_INSERTER"})}}),(0,di.jsx)(sh,{__experimentalIsRenderedInSidebar:o,disableAlpha:d,disableRemove:b,gradientPickerDomRef:n,ignoreMarkerPosition:s?X.insertPosition:void 0,value:t,onChange:e,onStartControlPointChange:()=>{G({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{G({type:"STOP_CONTROL_CHANGE"})}})]})]})}var gh=u(Rj(),1);var rh=u(Gc(),1),fx="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",Ij=180,wW={type:"angular",value:"90"},Wj=[{value:"linear-gradient",label:(0,rh.__)("Linear")},{value:"radial-gradient",label:(0,rh.__)("Radial")}],pj={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function q0c({type:c,value:l}){if(c==="literal")return l;if(c==="hex")return`#${l}`;if(c==="var")return`var(${l})`;if(c==="hsl"){let[t,e,b]=l;return`hsl(${t},${e}%,${b}%)`}if(c==="hsla"){let[t,e,b,d]=l;return`hsla(${t},${e}%,${b}%,${d})`}return`${c}(${l.join(",")})`}function $0c(c){if(!c)return"";let{value:l,type:t}=c;return t==="calc"?`calc(${l})`:`${l}${t}`}function cmc({type:c,value:l,length:t}){return`${q0c({type:c,value:l})} ${$0c(t)}`}function lmc(c){if(!(Array.isArray(c)||!c||c.type!=="angular"))return`${c.value}deg`}function ni({type:c,orientation:l,colorStops:t}){let e=lmc(l),b=t.sort((d,o)=>{let n=X=>X?.length?.value===void 0?0:parseInt(X.length.value);return n(d)-n(o)}).map(cmc);return`${c}(${[e,...b].filter(Boolean).join(",")})`}Ne([fe]);function Bj(c){return ni({type:"linear-gradient",orientation:wW,colorStops:c.colorStops})}function tmc(c){return c.length===void 0||c.length.type!=="%"}function yj(c){let l,t=!!c,e=c??fx;try{l=gh.default.parse(e)[0]}catch(b){console.warn("wp.components.CustomGradientPicker failed to parse the gradient with error",b),l=gh.default.parse(fx)[0],t=!1}if(!Array.isArray(l.orientation)&&l.orientation?.type==="directional"&&(l.orientation={type:"angular",value:pj[l.orientation.value].toString()}),l.colorStops.some(tmc)){let{colorStops:b}=l,d=100/(b.length-1);b.forEach((o,n)=>{o.length={value:`${d*n}`,type:"%"}})}return{gradientAST:l,hasGradient:t}}function Vj(c,l){return{...c,colorStops:l.map(({position:t,color:e})=>{let{r:b,g:d,b:o,a:n}=Rc(e).toRgb();return{length:{type:"%",value:t?.toString()},type:n<1?"rgba":"rgb",value:n<1?[`${b}`,`${d}`,`${o}`,`${n}`]:[`${b}`,`${d}`,`${o}`]}})}}function Jj(c){switch(c.type){case"hex":return`#${c.value}`;case"literal":return c.value;case"var":return`${c.type}(${c.value})`;case"rgb":case"rgba":return`${c.type}(${c.value.join(",")})`;case"hsl":{let[l,t,e]=c.value;return`hsl(${l},${t}%,${e}%)`}case"hsla":{let[l,t,e,b]=c.value;return`hsla(${l},${t}%,${e}%,${b})`}default:return"transparent"}}var hj=S(Xe,{target:"e10bzpgi1"})({name:"1gvx10y",styles:"flex-grow:5"}),Cj=S(Xe,{target:"e10bzpgi0"})({name:"1gvx10y",styles:"flex-grow:5"});var id=u(J(),1),emc=({gradientAST:c,hasGradient:l,onChange:t})=>{let e=c?.orientation?.value??Ij;return(0,id.jsx)(xI,{onChange:d=>{t(ni({...c,orientation:{type:"angular",value:`${d}`}}))},value:l?e:""})},bmc=({gradientAST:c,hasGradient:l,onChange:t})=>{let{type:e}=c,b=(0,Fj.useRef)(Number(wW.value));e==="linear-gradient"&&c.orientation&&(b.current=Number(c.orientation.value));let d=()=>{t(ni({...c,orientation:{type:"angular",value:`${b.current}`},type:"linear-gradient"}))},o=()=>{let{orientation:X,...G}=c;t(ni({...G,type:"radial-gradient"}))},n=X=>{X==="linear-gradient"&&d(),X==="radial-gradient"&&o()};return(0,id.jsx)(Bb,{className:"components-custom-gradient-picker__type-picker",label:(0,Yj.__)("Type"),labelPosition:"top",onChange:n,options:Wj,size:"__unstable-large",value:l?e:void 0})};function dmc({value:c,onChange:l,enableAlpha:t=!0,__experimentalIsRenderedInSidebar:e=!1}){let{gradientAST:b,hasGradient:d}=yj(c),o=Bj(b),n=b.colorStops.map(X=>({color:Jj(X),position:parseInt(X.length.value)}));return(0,id.jsxs)(Gl,{spacing:4,className:"components-custom-gradient-picker",children:[(0,id.jsx)(QW,{__experimentalIsRenderedInSidebar:e,disableAlpha:!t,background:o,hasGradient:d,value:n,onChange:X=>{l(ni(Vj(b,X)))}}),(0,id.jsxs)(Zl,{gap:3,className:"components-custom-gradient-picker__ui-line",children:[(0,id.jsx)(hj,{children:(0,id.jsx)(bmc,{gradientAST:b,hasGradient:d,onChange:l})}),(0,id.jsx)(Cj,{children:b.type==="linear-gradient"&&(0,id.jsx)(emc,{gradientAST:b,hasGradient:d,onChange:l})})]})]})}var $u=dmc;var se=u(J(),1),omc=c=>Array.isArray(c.gradients)&&!("gradient"in c),nmc=c=>c.length>0&&c.every(l=>omc(l));function Nj({className:c,clearGradient:l,gradients:t,onChange:e,value:b,...d}){let o=(0,TW.useMemo)(()=>t.map(({gradient:n,name:X,slug:G},i)=>(0,se.jsx)(ue.Option,{value:n,isSelected:b===n,tooltipText:X||(0,an.sprintf)((0,an.__)("Gradient code: %s"),n),style:{color:"rgba( 0,0,0,0 )",background:n},onClick:b===n?l:()=>e(n,i),"aria-label":X?(0,an.sprintf)((0,an.__)("Gradient: %s"),X):(0,an.sprintf)((0,an.__)("Gradient code: %s"),n)},G)),[t,b,e,l]);return(0,se.jsx)(ue.OptionGroup,{className:c,options:o,...d})}function fj({className:c,clearGradient:l,gradients:t,onChange:e,value:b,headingLevel:d}){let o=(0,vj.useInstanceId)(fj);return(0,se.jsx)(Gl,{spacing:3,className:c,children:t.map(({name:n,gradients:X},G)=>{let i=`color-palette-${o}-${G}`;return(0,se.jsxs)(Gl,{spacing:2,children:[(0,se.jsx)($I,{level:d,id:i,children:n}),(0,se.jsx)(Nj,{clearGradient:l,gradients:X,onChange:a=>e(a,G),value:b,"aria-labelledby":i})]},G)})})}function Xmc(c){let{asButtons:l,loop:t,actions:e,headingLevel:b,"aria-label":d,"aria-labelledby":o,...n}=c,X=nmc(c.gradients)?(0,se.jsx)(fj,{headingLevel:b,...n}):(0,se.jsx)(Nj,{...n}),{metaProps:G,labelProps:i}=ci(l,t,d,o);return(0,se.jsx)(ue,{...G,...i,actions:e,options:X})}function Gmc({className:c,gradients:l=[],onChange:t,value:e,clearable:b=!0,enableAlpha:d=!0,disableCustomGradients:o=!1,__experimentalIsRenderedInSidebar:n,headingLevel:X=2,...G}){let i=(0,TW.useCallback)(()=>t(void 0),[t]);return(0,se.jsxs)(Gl,{spacing:l.length?4:0,children:[!o&&(0,se.jsx)($u,{__experimentalIsRenderedInSidebar:n,enableAlpha:d,value:e,onChange:t}),(l.length>0||b)&&(0,se.jsx)(Xmc,{...G,className:c,clearGradient:i,gradients:l,onChange:t,value:e,actions:b&&!o&&(0,se.jsx)(ue.ButtonAction,{onClick:i,accessibleWhenDisabled:!0,disabled:!e,children:(0,an.__)("Clear")}),headingLevel:X})]})}var DW=Gmc;var Oj=u(F(),1);var l0=u(F(),1),kj=u(ec(),1),Zh=u(c0(),1),zj=u(J(),1),imc=()=>{},amc=["menuitem","menuitemradio","menuitemcheckbox"];function umc(c,l,t){let e=c+t;return e<0?l+e:e>=l?e-l:e}function mmc(c,l,t){let b=(t?Zh.focus.tabbable:Zh.focus.focusable).find(c),d=b.indexOf(l);return d>-1?{index:d,target:l,focusables:b}:null}function smc({children:c,stopNavigationEvents:l,eventToOffset:t,onNavigate:e=imc,onKeyDown:b,cycle:d=!0,onlyBrowserTabstops:o,...n},X){let G=(0,l0.useRef)(null);(0,l0.useEffect)(()=>{let a=G.current;if(!a)return;function m(s){b&&b(s);let x=t(s);if(x!==void 0&&l){s.stopImmediatePropagation();let W=s.target?.getAttribute("role");W&&amc.includes(W)&&s.preventDefault()}if(!x)return;let r=s.target?.ownerDocument?.activeElement;if(!r)return;let g=mmc(a,r,!!o);if(!g)return;let{index:H,focusables:Z}=g,R=d?umc(H,Z.length,x):H+x;R>=0&&R<Z.length&&(Z[R].focus(),e(R,Z[R]),s.code==="Tab"&&s.preventDefault())}return a.addEventListener("keydown",m),()=>{a.removeEventListener("keydown",m)}},[b,t,l,d,e,o]);let i=(0,kj.useMergeRefs)([G,X]);return(0,zj.jsx)("div",{ref:i,...n,children:c})}var Aj=(0,l0.forwardRef)(smc);Aj.displayName="NavigableContainer";var LW=Aj;var Qj=u(J(),1);function xmc({role:c="menu",orientation:l="vertical",...t},e){return(0,Qj.jsx)(LW,{ref:e,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:c,"aria-orientation":c!=="presentation"&&(l==="vertical"||l==="horizontal")?l:void 0,eventToOffset:d=>{let{code:o}=d,n=["ArrowDown"],X=["ArrowUp"];if(l==="horizontal"&&(n=["ArrowRight"],X=["ArrowLeft"]),l==="both"&&(n=["ArrowRight","ArrowDown"],X=["ArrowLeft","ArrowUp"]),n.includes(o))return 1;if(X.includes(o))return-1;if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(o))return 0},...t})}var wj=(0,Oj.forwardRef)(xmc);wj.displayName="NavigableMenu";var Xi=wj;var Tj=u(F(),1);var Dj=u(J(),1);function rmc({eventToOffset:c,...l},t){return(0,Dj.jsx)(LW,{ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:b=>{let{code:d,shiftKey:o}=b;if(d==="Tab")return o?-1:1;if(c)return c(b)},...l})}var Lj=(0,Tj.forwardRef)(rmc);Lj.displayName="TabbableContainer";var Hh=Lj;var t0=u(J(),1);function Rh(c={},l={}){let t={...c,...l};return l.className&&c.className&&(t.className=Q(l.className,c.className)),t}function Uj(c){return typeof c=="function"}function gmc(c){let{children:l,className:t,controls:e,icon:b=b2,label:d,popoverProps:o,toggleProps:n,menuProps:X,disableOpenOnArrowDown:G=!1,text:i,noIcons:a,open:m,defaultOpen:s,onToggle:x,variant:r}=cc(c,"DropdownMenu");if(!e?.length&&!Uj(l))return null;let g;e?.length&&(g=e,Array.isArray(g[0])||(g=[e]));let H=Rh({className:"components-dropdown-menu__popover",variant:r},o);return(0,t0.jsx)(co,{className:t,popoverProps:H,renderToggle:({isOpen:Z,onToggle:R})=>{let W=y=>{G||!Z&&y.code==="ArrowDown"&&(y.preventDefault(),R())},{as:I=bc,...p}=n??{},B=Rh({className:Q("components-dropdown-menu__toggle",{"is-opened":Z})},p);return(0,t0.jsx)(I,{...B,icon:b,onClick:y=>{R(),B.onClick&&B.onClick(y)},onKeyDown:y=>{W(y),B.onKeyDown&&B.onKeyDown(y)},"aria-haspopup":"true","aria-expanded":Z,label:d,text:i,showTooltip:n?.showTooltip??!0,children:B.children})},renderContent:Z=>{let R=Rh({"aria-label":d,className:Q("components-dropdown-menu__menu",{"no-icons":a})},X);return(0,t0.jsxs)(Xi,{...R,role:"menu",children:[Uj(l)?l(Z):null,g?.flatMap((W,I)=>W.map((p,B)=>(0,t0.jsx)(bc,{size:"compact",onClick:y=>{y.stopPropagation(),Z.onClose(),p.onClick&&p.onClick()},className:Q("components-dropdown-menu__menu-item",{"has-separator":I>0&&B===0,"is-active":p.isActive,"is-icon-only":!p.title}),icon:p.icon,label:p.label,"aria-checked":p.role==="menuitemcheckbox"||p.role==="menuitemradio"?p.isActive:void 0,role:p.role==="menuitemcheckbox"||p.role==="menuitemradio"?p.role:"menuitem",accessibleWhenDisabled:!0,disabled:p.isDisabled,children:p.title},[I,B].join())))]})},open:m,defaultOpen:s,onToggle:x})}var Zmc=kG(gmc,"DropdownMenu"),ad=Zmc;var jj=S($d,{target:"e1lpqc908"})("&&{flex-shrink:0;width:",D(6),";height:",D(6),";}"),Ej=S(Pd,{target:"e1lpqc907"})(ER,"{background:",T.gray[100],";border-radius:",O.radiusXSmall,";",ld,ld,ld,ld,"{height:",D(8),";}",Zb,Zb,Zb,"{border-color:transparent;box-shadow:none;}}"),Mj=S("div",{target:"e1lpqc906"})("line-height:",D(8),";margin-left:",D(2),";margin-right:",D(2),";white-space:nowrap;overflow:hidden;"),Pj=S(bd,{target:"e1lpqc905"})("text-transform:uppercase;line-height:",D(6),";font-weight:",O.fontWeightMedium,";&&&{font-size:11px;margin-bottom:0;}"),Kj=S(ac,{target:"e1lpqc904"})("height:",D(6),";display:flex;"),Ih=S(ac,{target:"e1lpqc903"})("margin-top:",D(2),";"),_j=S(ac,{target:"e1lpqc902"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),qj=S(bc,{target:"e1lpqc901"})("&&{color:",T.theme.accent,";}"),$j=S(bc,{target:"e1lpqc900"})("&&{margin-top:",D(1),";}");var Fc=u(J(),1),Hmc="#000";function Rmc({value:c,onChange:l,label:t}){return(0,Fc.jsx)(Ej,{size:"compact",label:t,hideLabelFromVision:!0,value:c,onChange:l})}function Imc(c){let l={};return c.map(t=>{let e,{slug:b}=t;return l[b]=(l[b]||0)+1,l[b]>1&&(e=`${b}-${l[b]-1}`),{...t,slug:e??b}})}function Wmc(c,l){let t=new RegExp(`^${l}color-([\\d]+)$`),e=c.reduce((b,d)=>{if(typeof d?.slug=="string"){let o=d?.slug.match(t);if(o){let n=parseInt(o[1],10);if(n>=b)return n+1}}return b},1);return{name:(0,Pl.sprintf)((0,Pl.__)("Color %d"),e),slug:`${l}color-${e}`}}function cE({isGradient:c,element:l,onChange:t,popoverProps:e,onClose:b=()=>{}}){let d=(0,xe.useMemo)(()=>({shift:!0,offset:20,resize:!1,placement:"left-start",...e,className:Q("components-palette-edit__popover",e?.className)}),[e]);return(0,Fc.jsxs)(aX,{...d,onClose:b,children:[!c&&(0,Fc.jsx)(eo,{color:l.color,enableAlpha:!0,onChange:o=>{t({...l,color:o})}}),c&&(0,Fc.jsx)("div",{className:"components-palette-edit__popover-gradient-picker",children:(0,Fc.jsx)($u,{__experimentalIsRenderedInSidebar:!0,value:l.gradient,onChange:o=>{t({...l,gradient:o})}})})]})}function pmc({canOnlyChangeValues:c,element:l,onChange:t,onRemove:e,popoverProps:b,slugPrefix:d,isGradient:o}){let n=o?l.gradient:l.color,[X,G]=(0,xe.useState)(!1),[i,a]=(0,xe.useState)(null),m=(0,xe.useMemo)(()=>({...b,anchor:i}),[i,b]);return(0,Fc.jsxs)(Ku,{ref:a,size:"small",children:[(0,Fc.jsxs)(Ec,{justify:"flex-start",children:[(0,Fc.jsx)(bc,{size:"small",onClick:()=>{G(!0)},"aria-label":(0,Pl.sprintf)((0,Pl.__)("Edit: %s"),l.name.trim().length?l.name:n||""),style:{padding:0},children:(0,Fc.jsx)(jj,{colorValue:n})}),(0,Fc.jsx)(Xe,{children:c?(0,Fc.jsx)(Mj,{children:l.name.trim().length?l.name:"\xA0"}):(0,Fc.jsx)(Rmc,{label:o?(0,Pl.__)("Gradient name"):(0,Pl.__)("Color name"),value:l.name,onChange:s=>t({...l,name:s,slug:d+HI(s??"")})})}),!c&&(0,Fc.jsx)(Ut,{children:(0,Fc.jsx)($j,{size:"small",icon:Us,label:(0,Pl.sprintf)((0,Pl.__)("Remove color: %s"),l.name.trim().length?l.name:n||""),onClick:e})})]}),X&&(0,Fc.jsx)(cE,{isGradient:o,onChange:t,element:l,popoverProps:m,onClose:()=>G(!1)})]})}function Bmc({elements:c,onChange:l,canOnlyChangeValues:t,slugPrefix:e,isGradient:b,popoverProps:d,addColorRef:o}){let n=(0,xe.useRef)(void 0);(0,xe.useEffect)(()=>{n.current=c},[c]);let X=(0,Wh.useDebounce)(G=>l(Imc(G)),100);return(0,Fc.jsx)(Gl,{spacing:3,children:(0,Fc.jsx)(_u,{isRounded:!0,isBordered:!0,isSeparated:!0,children:c.map((G,i)=>(0,Fc.jsx)(pmc,{isGradient:b,canOnlyChangeValues:t,element:G,onChange:a=>{X(c.map((m,s)=>s===i?a:m))},onRemove:()=>{let a=c.filter((m,s)=>s!==i);l(a.length?a:void 0),o.current?.focus()},slugPrefix:e,popoverProps:d},i))})})}var ymc=[];function Vmc({gradients:c,colors:l=ymc,onChange:t,paletteLabel:e,paletteLabelHeadingLevel:b=2,emptyMessage:d,canOnlyChangeValues:o,canReset:n,slugPrefix:X="",popoverProps:G}){let i=!!c,a=i?c:l,[m,s]=(0,xe.useState)(!1),[x,r]=(0,xe.useState)(null),g=m&&!!x&&a[x]&&!a[x].slug,Z=a.length>0,R=(0,Wh.useDebounce)(t,100),W=(0,xe.useCallback)((p,B)=>{let y=B===void 0?void 0:a[B];y&&y[i?"gradient":"color"]===p?r(B):s(!0)},[i,a]),I=(0,xe.useRef)(null);return(0,Fc.jsxs)(_j,{children:[(0,Fc.jsxs)(Ec,{children:[(0,Fc.jsx)(Pj,{level:b,children:e}),(0,Fc.jsxs)(Kj,{children:[Z&&m&&(0,Fc.jsx)(qj,{size:"small",onClick:()=>{s(!1),r(null)},children:(0,Pl.__)("Done")}),!o&&(0,Fc.jsx)(bc,{ref:I,size:"small",isPressed:g,icon:Ko,label:i?(0,Pl.__)("Add gradient"):(0,Pl.__)("Add color"),onClick:()=>{let{name:p,slug:B}=Wmc(a,X);t(c?[...c,{gradient:fx,name:p,slug:B}]:[...l,{color:Hmc,name:p,slug:B}]),s(!0),r(a.length)}}),Z&&(!m||!o||n)&&(0,Fc.jsx)(ad,{icon:Ms,label:i?(0,Pl.__)("Gradient options"):(0,Pl.__)("Color options"),toggleProps:{size:"small"},children:({onClose:p})=>(0,Fc.jsx)(Fc.Fragment,{children:(0,Fc.jsxs)(Xi,{role:"menu",children:[!m&&(0,Fc.jsx)(bc,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>{s(!0),p()},className:"components-palette-edit__menu-button",children:(0,Pl.__)("Show details")}),!o&&(0,Fc.jsx)(bc,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>{r(null),s(!1),t(),p()},className:"components-palette-edit__menu-button",children:i?(0,Pl.__)("Remove all gradients"):(0,Pl.__)("Remove all colors")}),n&&(0,Fc.jsx)(bc,{__next40pxDefaultSize:!0,className:"components-palette-edit__menu-button",variant:"tertiary",onClick:()=>{r(null),t(),p()},children:i?(0,Pl.__)("Reset gradient"):(0,Pl.__)("Reset colors")})]})})})]})]}),Z&&(0,Fc.jsxs)(Ih,{children:[m&&(0,Fc.jsx)(Bmc,{canOnlyChangeValues:o,elements:a,onChange:t,slugPrefix:X,isGradient:i,popoverProps:G,addColorRef:I}),!m&&x!==null&&(0,Fc.jsx)(cE,{isGradient:i,onClose:()=>r(null),onChange:p=>{R(a.map((B,y)=>y===x?p:B))},element:a[x??-1],popoverProps:G}),!m&&(i?(0,Fc.jsx)(DW,{gradients:c,onChange:W,clearable:!1,disableCustomGradients:!0}):(0,Fc.jsx)(HX,{colors:l,onChange:W,clearable:!1,disableCustomColors:!0}))]}),!Z&&d&&(0,Fc.jsx)(Ih,{children:d})]})}var lE=Vmc;var yX=u(Gc(),1),Oe=u(F(),1),mE=u(ec(),1),Bh=u(_d(),1);var Jmc=({__next40pxDefaultSize:c})=>!c&&k("height:28px;padding-left:",D(1),";padding-right:",D(1),";",""),tE=S(Zl,{target:"evuatpg0"})("height:38px;padding-left:",D(2),";padding-right:",D(2),";",Jmc,";");var UW=u(F(),1),eE=u(J(),1);function hmc(c,l){let{value:t,isExpanded:e,instanceId:b,selectedSuggestionIndex:d,className:o,onChange:n,onFocus:X,onBlur:G,"aria-describedby":i,...a}=c,[m,s]=(0,UW.useState)(!1),x=t?t.length+1:0,r=Z=>{n&&n({value:Z.target.value})},g=Z=>{s(!0),X?.(Z)},H=Z=>{s(!1),G?.(Z)};return(0,eE.jsx)("input",{ref:l,id:`components-form-token-input-${b}`,type:"text",...a,value:t||"",onChange:r,onFocus:g,onBlur:H,size:x,className:Q(o,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":e,"aria-autocomplete":"list","aria-owns":e?`components-form-token-suggestions-${b}`:void 0,"aria-activedescendant":m&&d!==-1&&e?`components-form-token-suggestions-${b}-${d}`:void 0,"aria-describedby":i})}var bE=(0,UW.forwardRef)(hmc);bE.displayName="TokenInput";var jW=bE;var dE=u(ec(),1),oE=u(Gc(),1),Gi=u(J(),1),Cmc=c=>{c.preventDefault()};function Ymc({selectedIndex:c,scrollIntoView:l,match:t,onHover:e,onSelect:b,suggestions:d=[],displayTransform:o,instanceId:n,__experimentalRenderItem:X}){let G=(0,dE.useRefEffect)(s=>{c>-1&&l&&s.children[c]&&s.children[c].scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})},[c,l]),i=s=>()=>{e?.(s)},a=s=>()=>{b?.(s)},m=s=>{let x=o(t).normalize("NFKC").toLocaleLowerCase();if(x.length===0)return null;let r=o(s),g=r.normalize("NFKC").toLocaleLowerCase().indexOf(x);return{suggestionBeforeMatch:r.substring(0,g),suggestionMatch:r.substring(g,g+x.length),suggestionAfterMatch:r.substring(g+x.length)}};return(0,Gi.jsxs)("ul",{ref:G,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${n}`,role:"listbox",children:[d.map((s,x)=>{let r=m(s),g=x===c,H=typeof s=="object"&&s?.disabled,Z=typeof s=="object"&&"value"in s?s?.value:o(s),R=Q("components-form-token-field__suggestion",{"is-selected":g}),W;return typeof X=="function"?W=X({item:s}):r?W=(0,Gi.jsxs)("span",{"aria-label":o(s),children:[r.suggestionBeforeMatch,(0,Gi.jsx)("strong",{className:"components-form-token-field__suggestion-match",children:r.suggestionMatch}),r.suggestionAfterMatch]}):W=o(s),(0,Gi.jsx)("li",{id:`components-form-token-suggestions-${n}-${x}`,role:"option",className:R,onMouseDown:Cmc,onClick:a(s),onMouseEnter:i(s),"aria-selected":x===c,"aria-disabled":H,children:W},Z)}),d.length===0&&(0,Gi.jsx)("li",{className:"components-form-token-field__suggestion is-empty",children:(0,oE.__)("No items found")})]})}var EW=Ymc;var MW=u(F(),1),PW=u(ec(),1),ph=u(J(),1),KW=(0,PW.createHigherOrderComponent)(c=>function(t){let[e,b]=(0,MW.useState)(void 0),d=(0,MW.useCallback)(o=>b(()=>o?.handleFocusOutside?o.handleFocusOutside.bind(o):void 0),[]);return(0,ph.jsx)("div",{...(0,PW.__experimentalUseFocusOutside)(e),children:(0,ph.jsx)(c,{ref:d,...t})})},"withFocusOutside");var Fmc=ve` | |
| 24 | - from { | |
| 25 | - transform: rotate(0deg); | |
| 26 | - } | |
| 27 | - to { | |
| 28 | - transform: rotate(360deg); | |
| 29 | - } | |
| 30 | - `,nE=S("svg",{target:"ea4tfvq2"})("width:",O.spinnerSize,"px;height:",O.spinnerSize,"px;display:inline-block;margin:5px 11px 0;position:relative;color:",T.theme.accent,";overflow:visible;opacity:1;background-color:transparent;"),XE={name:"9s4963",styles:"fill:transparent;stroke-width:1.5px"},GE=S("circle",{target:"ea4tfvq1"})(XE,";stroke:",T.gray[300],";"),iE=S("path",{target:"ea4tfvq0"})(XE,";stroke:currentColor;stroke-linecap:round;transform-origin:50% 50%;animation:1.4s linear infinite both ",Fmc,";");var aE=u(F(),1),Sx=u(J(),1);function vmc({className:c,...l},t){return(0,Sx.jsxs)(nE,{className:Q("components-spinner",c),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...l,ref:t,children:[(0,Sx.jsx)(GE,{cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,Sx.jsx)(iE,{d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})}var uE=(0,aE.forwardRef)(vmc);uE.displayName="Spinner";var e0=uE;var ud=u(J(),1),Nmc=()=>{},fmc=KW(class extends Oe.Component{handleFocusOutside(l){this.props.onFocusOutside(l)}render(){return this.props.children}}),_W=(c,l)=>c===null?-1:l.indexOf(c);function sE(c){let{__next40pxDefaultSize:l=!1,value:t,label:e,options:b,onChange:d,onFilterValueChange:o=Nmc,hideLabelFromVision:n,help:X,allowReset:G=!0,className:i,isLoading:a=!1,messages:m={selected:(0,yX.__)("Item selected.")},__experimentalRenderItem:s,expandOnFocus:x=!0,placeholder:r}=Et(c),[g,H]=ee({value:t,onChange:d}),Z=b.find(j=>j.value===g),R=Z?.label??"",W=(0,mE.useInstanceId)(sE,"combobox-control"),[I,p]=(0,Oe.useState)(Z||null),[B,y]=(0,Oe.useState)(!1),[C,V]=(0,Oe.useState)(!1),[h,Y]=(0,Oe.useState)(""),N=(0,Oe.useRef)(null),A=(0,Oe.useMemo)(()=>{let j=[],nc=[],Ic=ux(h);return b.forEach(Jc=>{let vc=ux(Jc.label).indexOf(Ic);vc===0?j.push(Jc):vc>0&&nc.push(Jc)}),j.concat(nc)},[h,b]),w=j=>{j.disabled||(H(j.value),(0,Bh.speak)(m.selected,"assertive"),p(j),Y(""),y(!1))},z=(j=1)=>{let Ic=_W(I,A)+j;Ic<0?Ic=A.length-1:Ic>=A.length&&(Ic=0),p(A[Ic]),y(!0)},f=Hb(j=>{let nc=!1;if(!j.defaultPrevented){switch(j.code){case"Enter":I&&(w(I),nc=!0);break;case"ArrowUp":z(-1),nc=!0;break;case"ArrowDown":z(1),nc=!0;break;case"Escape":y(!1),p(null),nc=!0;break;default:break}nc&&j.preventDefault()}}),L=()=>{V(!1)},v=()=>{V(!0),x&&y(!0),o(""),Y("")},K=()=>{y(!0)},P=()=>{y(!1)},oc=j=>{let nc=j.value;Y(nc),o(nc),C&&y(!0)},E=()=>{H(null),N.current?.focus()},dc=j=>{j.stopPropagation()};return(0,Oe.useEffect)(()=>{let j=A.length>0,nc=_W(I,A)>0;j&&!nc&&p(A[0])},[A,I]),(0,Oe.useEffect)(()=>{let j=A.length>0;if(B){let nc=j?(0,yX.sprintf)((0,yX._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",A.length),A.length):(0,yX.__)("No results.");(0,Bh.speak)(nc,"polite")}},[A,B]),dl({componentName:"ComboboxControl",__next40pxDefaultSize:l,size:void 0}),(0,ud.jsx)(fmc,{onFocusOutside:P,children:(0,ud.jsx)(jc,{className:Q(i,"components-combobox-control"),label:e,id:`components-form-token-input-${W}`,hideLabelFromVision:n,help:X,children:(0,ud.jsxs)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:f,children:[(0,ud.jsxs)(tE,{__next40pxDefaultSize:l,children:[(0,ud.jsx)(Xe,{children:(0,ud.jsx)(jW,{className:"components-combobox-control__input",instanceId:W,ref:N,placeholder:r,value:B?h:R,onFocus:v,onBlur:L,onClick:K,isExpanded:B,selectedSuggestionIndex:_W(I,A),onChange:oc,"aria-describedby":X?`components-form-token-input-${W}__help`:void 0})}),a&&(0,ud.jsx)(e0,{}),G&&!!g&&!B&&(0,ud.jsx)(bc,{size:"small",icon:Po,onClick:E,onKeyDown:dc,label:(0,yX.__)("Reset")})]}),B&&!a&&(0,ud.jsx)(EW,{instanceId:W,match:{label:h,value:""},displayTransform:j=>j.label,suggestions:A,selectedIndex:_W(I,A),onHover:p,onSelect:w,scrollIntoView:!0,__experimentalRenderItem:s})]})})})}var qW=sE;var xE=u(F(),1),Vh=u(ec(),1),Jh=u(ml(),1);var hh=u(J(),1);function rE(c){if(c.state){let{state:l,...t}=c,{store:e,...b}=rE(l);return{...t,...b,store:e}}return c}var yh={__unstableComposite:"Composite",__unstableCompositeGroup:"Composite.Group or Composite.Row",__unstableCompositeItem:"Composite.Item",__unstableUseCompositeState:"Composite"};function Ch(c,l={}){let t=c.displayName??"",e=b=>{(0,Jh.default)(`wp.components.${t}`,{since:"6.7",alternative:yh.hasOwnProperty(t)?yh[t]:void 0});let{store:d,...o}=rE(b),n=o;return n={...n,id:(0,Vh.useInstanceId)(d,n.baseId,n.id)},Object.entries(l).forEach(([X,G])=>{n.hasOwnProperty(X)&&(Object.assign(n,{[G]:n[X]}),delete n[X])}),delete n.baseId,(0,hh.jsx)(c,{...n,store:d})};return e.displayName=t,e}var Smc=(0,xE.forwardRef)(({role:c,...l},t)=>{let e=c==="row"?Qt.Row:Qt.Group;return(0,hh.jsx)(e,{ref:t,role:c,...l})}),Yh=Ch(Object.assign(Qt,{displayName:"__unstableComposite"}),{baseId:"id"}),gE=Ch(Object.assign(Smc,{displayName:"__unstableCompositeGroup"})),ZE=Ch(Object.assign(Qt.Item,{displayName:"__unstableCompositeItem"}),{focusable:"accessibleWhenDisabled"});function HE(c={}){(0,Jh.default)("wp.components.__unstableUseCompositeState",{since:"6.7",alternative:yh.__unstableUseCompositeState});let{baseId:l,currentId:t,orientation:e,rtl:b=!1,loop:d=!1,wrap:o=!1,shift:n=!1,unstable_virtual:X}=c;return{baseId:(0,Vh.useInstanceId)(Yh,"composite",l),store:Ki({defaultActiveId:t,rtl:b,orientation:e,focusLoop:d,focusShift:n,focusWrap:o,virtualFocus:X})}}var Nh=u(Gc(),1),sd=u(F(),1);var Wl=u(F(),1),Jb=u(ec(),1),Fh=u(Gc(),1);var VE=u(c0(),1);var kmc=new Set(["alert","status","log","marquee","timer"]),RE=[];function IE(c){let l=Array.from(document.body.children),t=[];RE.push(t);for(let e of l)e!==c&&zmc(e)&&(e.setAttribute("aria-hidden","true"),t.push(e))}function zmc(c){let l=c.getAttribute("role");return!(c.tagName==="SCRIPT"||c.hasAttribute("hidden")||c.hasAttribute("aria-hidden")||c.hasAttribute("aria-live")||l&&kmc.has(l))}function WE(){let c=RE.pop();if(c)for(let l of c)l.removeAttribute("aria-hidden")}var pE=u(ec(),1),b0=u(F(),1),TXl=u(ne(),1);var Omc=Number.parseInt(O.transitionDuration),Qmc="components-modal__disappear-animation";function BE(){let c=(0,b0.useRef)(null),[l,t]=(0,b0.useState)(!1),e=(0,pE.useReducedMotion)(),b=(0,b0.useCallback)(()=>new Promise(d=>{let o=c.current;if(e){d();return}if(!o){d();return}let n,X=()=>new Promise(i=>{n=a=>{a.animationName===Qmc&&i()},o.addEventListener("animationend",n),t(!0)}),G=()=>new Promise(i=>{setTimeout(()=>i(),Omc*1.2)});Promise.race([X(),G()]).then(()=>{n&&o.removeEventListener("animationend",n),t(!1),d()})}),[e]);return{overlayClassname:l?"is-animating-out":void 0,frameRef:c,closeModal:b}}var yE=u(F(),1),$W=(0,yE.createContext)(new Set);$W.displayName="ModalContext";var Ft=u(J(),1),kx=new Map;function wmc(c,l){let{bodyOpenClassName:t="modal-open",role:e="dialog",title:b=null,focusOnMount:d=!0,shouldCloseOnEsc:o=!0,shouldCloseOnClickOutside:n=!0,isDismissible:X=!0,aria:G={labelledby:void 0,describedby:void 0},onRequestClose:i,icon:a,closeButtonLabel:m,children:s,style:x,overlayClassName:r,className:g,contentLabel:H,onKeyDown:Z,isFullScreen:R=!1,size:W,headerActions:I=null,__experimentalHideHeader:p=!1}=c,B=(0,Wl.useRef)(null),y=(0,Jb.useInstanceId)(vh),C=b?`components-modal-header-${y}`:G.labelledby,V=(0,Jb.useFocusOnMount)(d==="firstContentElement"?"firstElement":d),h=(0,Jb.useConstrainedTabbing)(),Y=(0,Jb.useFocusReturn)(),N=(0,Wl.useRef)(null),A=(0,Wl.useRef)(null),[w,z]=(0,Wl.useState)(!1),[f,L]=(0,Wl.useState)(!1),v;R||W==="fill"?v="is-full-screen":W&&(v=`has-size-${W}`);let K=(0,Wl.useCallback)(()=>{if(!N.current)return;let gc=(0,VE.getScrollContainer)(N.current);N.current===gc?L(!0):L(!1)},[N]);(0,Wl.useEffect)(()=>(IE(B.current),()=>WE()),[]);let P=(0,Wl.useRef)(void 0);(0,Wl.useEffect)(()=>{P.current=i},[i]);let oc=(0,Wl.useContext)($W),[E]=(0,Wl.useState)(()=>new Set);(0,Wl.useEffect)(()=>{oc.add(P);for(let gc of oc)gc!==P&&gc.current?.();return()=>{for(let gc of E)gc.current?.();oc.delete(P)}},[oc,E]),(0,Wl.useEffect)(()=>{let gc=t,zc=1+(kx.get(gc)??0);return kx.set(gc,zc),document.body.classList.add(t),()=>{let Fl=kx.get(gc)-1;Fl===0?(document.body.classList.remove(gc),kx.delete(gc)):kx.set(gc,Fl)}},[t]);let{closeModal:dc,frameRef:j,overlayClassname:nc}=BE();(0,Wl.useLayoutEffect)(()=>{if(!window.ResizeObserver||!A.current)return;let gc=new ResizeObserver(K);return gc.observe(A.current),K(),()=>{gc.disconnect()}},[K,A]);function Ic(gc){o&&(gc.code==="Escape"||gc.key==="Escape")&&!gc.defaultPrevented&&(gc.preventDefault(),dc().then(()=>i(gc)))}let Jc=(0,Wl.useCallback)(gc=>{let zc=gc?.currentTarget?.scrollTop??-1;!w&&zc>0?z(!0):w&&zc<=0&&z(!1)},[w]),vc=null,Ql={onPointerDown:gc=>{gc.target===gc.currentTarget&&(vc=gc.target,gc.preventDefault())},onPointerUp:({target:gc,button:zc})=>{let Fl=gc===vc;vc=null,zc===0&&Fl&&dc().then(()=>i())}},Hl=(0,Ft.jsx)("div",{ref:(0,Jb.useMergeRefs)([B,l]),className:Q("components-modal__screen-overlay",nc,r),onKeyDown:Hb(Ic),...n?Ql:{},children:(0,Ft.jsx)(Cu,{document,children:(0,Ft.jsx)("div",{className:Q("components-modal__frame",v,g),style:x,ref:(0,Jb.useMergeRefs)([j,h,Y,d!=="firstContentElement"?V:null]),role:e,"aria-label":H,"aria-labelledby":H?void 0:C,"aria-describedby":G.describedby,tabIndex:-1,onKeyDown:Z,children:(0,Ft.jsxs)("div",{className:Q("components-modal__content",{"hide-header":p,"is-scrollable":f,"has-scrolled-content":w}),role:"document",onScroll:Jc,ref:N,"aria-label":f?(0,Fh.__)("Scrollable section"):void 0,tabIndex:f?0:void 0,children:[!p&&(0,Ft.jsxs)("div",{className:"components-modal__header",children:[(0,Ft.jsxs)("div",{className:"components-modal__header-heading-container",children:[a&&(0,Ft.jsx)("span",{className:"components-modal__icon-container","aria-hidden":!0,children:a}),b&&(0,Ft.jsx)("h1",{id:C,className:"components-modal__header-heading",children:b})]}),I,X&&(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)(ut,{marginBottom:0,marginLeft:2}),(0,Ft.jsx)(bc,{size:"compact",onClick:gc=>dc().then(()=>i(gc)),icon:Ds,label:m||(0,Fh.__)("Close")})]})]}),(0,Ft.jsx)("div",{ref:(0,Jb.useMergeRefs)([A,d==="firstContentElement"?V:null]),className:"components-modal__children-container",children:s})]})})})});return(0,Wl.createPortal)((0,Ft.jsx)($W.Provider,{value:E,children:Hl}),document.body)}var vh=(0,Wl.forwardRef)(wmc);vh.displayName="Modal";var d0=vh;var JE={name:"7g5ii0",styles:"&&{z-index:1000001;}"};var md=u(J(),1),Dmc=(c,l)=>{let{isOpen:t,onConfirm:e,onCancel:b,children:d,confirmButtonText:o,cancelButtonText:n,isBusy:X,...G}=cc(c,"ConfirmDialog"),a=ic()(JE),m=(0,sd.useRef)(null),s=(0,sd.useRef)(null),[x,r]=(0,sd.useState)(),[g,H]=(0,sd.useState)();(0,sd.useEffect)(()=>{let p=typeof t<"u";r(p?t:!0),H(!p)},[t]);let Z=(0,sd.useCallback)(p=>B=>{p?.(B),g&&r(!1)},[g,r]),R=(0,sd.useCallback)(p=>{!(p.target===m.current||p.target===s.current)&&p.key==="Enter"&&Z(e)(p)},[Z,e]),W=n??(0,Nh.__)("Cancel"),I=o??(0,Nh.__)("OK");return(0,md.jsx)(md.Fragment,{children:x&&(0,md.jsx)(d0,{onRequestClose:Z(b),onKeyDown:R,closeButtonLabel:W,isDismissible:!0,ref:l,overlayClassName:a,__experimentalHideHeader:!0,...G,children:(0,md.jsxs)(Gl,{spacing:8,children:[(0,md.jsx)(Ge,{children:d}),(0,md.jsxs)(Zl,{direction:"row",justify:"flex-end",children:[(0,md.jsx)(bc,{__next40pxDefaultSize:!0,ref:m,variant:"tertiary",onClick:Z(b),accessibleWhenDisabled:!0,disabled:X,children:W}),(0,md.jsx)(bc,{__next40pxDefaultSize:!0,ref:s,variant:"primary",onClick:Z(e),accessibleWhenDisabled:!0,disabled:X,isBusy:X,children:I})]})]})})})},Lmc=lc(Dmc,"ConfirmDialog"),fh=Lmc;var wE=u(ec(),1),lp=u(Gc(),1);var ii=u(F(),1),o0=u(Gc(),1);var hb={compact:O.controlPaddingXSmall,small:O.controlPaddingXSmall,default:O.controlPaddingX},Umc=(c,l)=>{let t={compact:{[l]:32,paddingInlineStart:hb.compact,paddingInlineEnd:hb.compact+jG},default:{[l]:40,paddingInlineStart:hb.default,paddingInlineEnd:hb.default+jG},small:{[l]:24,paddingInlineStart:hb.small,paddingInlineEnd:hb.small+jG}};return t[c]||t.default},jmc=c=>{let t={compact:{paddingInlineStart:hb.compact,paddingInlineEnd:hb.compact-6},default:{paddingInlineStart:hb.default,paddingInlineEnd:hb.default-6},small:{paddingInlineStart:hb.small,paddingInlineEnd:hb.small-6}};return t[c]||t.default},hE=S(Ag,{shouldForwardProp:c=>c!=="hasCustomRenderProp",target:"e1p3eej77"})(({size:c,hasCustomRenderProp:l})=>k("display:block;background-color:",T.theme.background,";border:none;color:",T.theme.foreground,";cursor:pointer;font-family:inherit;text-align:start;user-select:none;width:100%;&[data-focus-visible]{outline:none;}",Umc(c,l?"minHeight":"height")," ",!l&&FE," ",ex({inputSize:c}),";",""),""),Emc=ve({"0%":{transform:`translateY(-${Lt.SLIDE_DISTANCE})`},"100%":{transform:"translateY(0)"}}),Mmc=ve({"0%":{opacity:0},"100%":{opacity:1}}),CE=S(Mg,{target:"e1p3eej76"})("display:flex;flex-direction:column;background-color:",T.theme.background,";border-radius:",O.radiusSmall,";border:1px solid ",T.theme.foreground,";box-shadow:",O.elevationMedium,";z-index:1000000;max-height:min( var( --popover-available-height, 400px ), 400px );overflow:auto;overscroll-behavior:contain;min-width:min-content;&[data-open]{@media not ( prefers-reduced-motion ){animation-name:",Emc,",",Mmc,";animation-duration:",Lt.SLIDE_DURATION,",",Lt.FADE_DURATION,";animation-timing-function:",Lt.SLIDE_EASING,",",Lt.FADE_EASING,";will-change:transform,opacity;}}&[data-focus-visible]{outline:none;}"),YE=S(Dg,{target:"e1p3eej75"})(({size:c})=>k("cursor:default;display:flex;align-items:center;justify-content:space-between;font-size:",O.fontSize,";line-height:28px;padding-block:",D(2),";scroll-margin:",D(1),";user-select:none;&[aria-disabled='true']{cursor:not-allowed;}&[data-active-item]{background-color:",T.theme.gray[300],";}",jmc(c),";",""),""),FE={name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},vE=S("div",{target:"e1p3eej74"})(FE,";"),NE=S("span",{target:"e1p3eej73"})("color:",T.theme.gray[600],";margin-inline-start:",D(2),";"),Sh=S("div",{target:"e1p3eej72"})("display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;flex:1;column-gap:",D(4),";"),fE=S("span",{target:"e1p3eej71"})("color:",T.theme.gray[600],";text-align:initial;line-height:",O.fontLineHeightBase,";padding-inline-end:",D(1),";margin-block:",D(1),";"),SE=S(Ug,{target:"e1p3eej70"})("display:flex;align-items:center;margin-inline-start:",D(2),";fill:currentColor;align-self:start;margin-block-start:2px;font-size:0;",Sh,"~&,&:not(:empty){font-size:24px;}");var Cb=u(J(),1),cp=(0,ii.createContext)(void 0);cp.displayName="CustomSelectContext";function Pmc(c){return(Array.isArray(c)?c.length===0:c==null)?(0,o0.__)("Select an item"):Array.isArray(c)?c.length===1?c[0]:(0,o0.sprintf)((0,o0._n)("%d item selected","%d items selected",c.length),c.length):c}var Kmc=({renderSelectedValue:c,size:l="default",store:t,...e})=>{let{value:b}=U(t),d=(0,ii.useMemo)(()=>c??Pmc,[c]);return(0,Cb.jsx)(hE,{...e,size:l,hasCustomRenderProp:!!c,store:t,children:d(b)})};function _mc(c){let{children:l,hideLabelFromVision:t=!1,label:e,size:b,store:d,className:o,isLegacy:n=!1,...X}=c,G=(0,ii.useCallback)(a=>{n&&a.stopPropagation()},[n]),i=(0,ii.useMemo)(()=>({store:d,size:b}),[d,b]);return(0,Cb.jsxs)("div",{className:o,children:[(0,Cb.jsx)(jg,{store:d,render:t?(0,Cb.jsx)(wc,{}):(0,Cb.jsx)(jc.VisualLabel,{as:"div"}),children:e}),(0,Cb.jsxs)(Iu,{__next40pxDefaultSize:!0,size:b,suffix:(0,Cb.jsx)(jI,{}),children:[(0,Cb.jsx)(Kmc,{...X,size:b,store:d,showOnKeyDown:!n}),(0,Cb.jsx)(CE,{gutter:12,store:d,sameWidth:!0,slide:!1,onKeyDown:G,flip:!n,children:(0,Cb.jsx)(cp.Provider,{value:i,children:l})})]})]})}var kE=_mc;var zE=u(F(),1);var zx=u(J(),1);function AE({children:c,...l}){let t=(0,zE.useContext)(cp);return(0,zx.jsxs)(YE,{store:t?.store,size:t?.size??"default",...l,children:[c??l.value,(0,zx.jsx)(SE,{children:(0,zx.jsx)(mt,{icon:jt})})]})}AE.displayName="CustomSelectControlV2.Item";var OE=AE;var Qe=u(J(),1);function qmc({__experimentalShowSelectedHint:c,...l}){return{showSelectedHint:c,...l}}function QE({__experimentalHint:c,...l}){return{hint:c,...l}}function $mc(c,l){return l||(0,lp.sprintf)((0,lp.__)("Currently selected: %s"),c)}function TE(c){let{__next40pxDefaultSize:l=!1,__shouldNotWarnDeprecated36pxSize:t,describedBy:e,options:b,onChange:d,size:o="default",value:n,className:X,showSelectedHint:G=!1,...i}=qmc(c);dl({componentName:"CustomSelectControl",__next40pxDefaultSize:l,size:o,__shouldNotWarnDeprecated36pxSize:t});let a=(0,wE.useInstanceId)(TE,"custom-select-control__description"),m=Pg({async setValue(Z){let R=b.find(p=>p.key===Z);if(!d||!R)return;await Promise.resolve();let W=m.getState(),I={highlightedIndex:W.renderedItems.findIndex(p=>p.value===Z),inputValue:"",isOpen:W.open,selectedItem:R,type:""};d(I)},value:n?.key,defaultValue:b[0]?.key}),s=b.map(QE).map(({name:Z,key:R,hint:W,style:I,className:p})=>(0,Qe.jsx)(OE,{value:R,children:W?(0,Qe.jsxs)(Sh,{children:[(0,Qe.jsx)("span",{children:Z}),(0,Qe.jsx)(fE,{className:"components-custom-select-control__item-hint",children:W})]}):Z,style:I,className:Q(p,"components-custom-select-control__item",{"has-hint":W})},R)),x=U(m,"value"),r=b?.map(QE)?.find(({key:Z})=>x===Z)??b[0];return(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)(kE,{"aria-describedby":a,renderSelectedValue:()=>!G||!r.hint?r?.name:(0,Qe.jsxs)(vE,{children:[r?.name,(0,Qe.jsx)(NE,{className:"components-custom-select-control__hint",children:r?.hint})]}),size:l&&o==="default"||o==="__unstable-large"?"default":!l&&o==="default"?"compact":o,store:m,className:Q("components-custom-select-control",X),isLegacy:!0,...i,children:s}),(0,Qe.jsx)(wc,{children:(0,Qe.jsx)("span",{id:a,children:$mc(r?.name,e)})})]})}var tp=TE;var csc=Math.pow(10,8)*24*60*60*1e3,NGl=-csc,ep=6048e5,DE=864e5;var lsc=3600;var LE=lsc*24,fGl=LE*7,tsc=LE*365.2425,esc=tsc/12,SGl=esc*3,zh=Symbol.for("constructDateFrom");function Nc(c,l){return typeof c=="function"?c(l):c&&typeof c=="object"&&zh in c?c[zh](l):c instanceof Date?new c.constructor(l):new Date(l)}function xc(c,l){return Nc(l||c,c)}function ao(c,l,t){let e=xc(c,t?.in);return isNaN(l)?Nc(t?.in||c,NaN):(l&&e.setDate(e.getDate()+l),e)}function lb(c,l,t){let e=xc(c,t?.in);if(isNaN(l))return Nc(t?.in||c,NaN);if(!l)return e;let b=e.getDate(),d=Nc(t?.in||c,e.getTime());d.setMonth(e.getMonth()+l+1,0);let o=d.getDate();return b>=o?d:(e.setFullYear(d.getFullYear(),d.getMonth(),b),e)}var bsc={};function uo(){return bsc}function rt(c,l){let t=uo(),e=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,b=xc(c,l?.in),d=b.getDay(),o=(d<e?7:0)+d-e;return b.setDate(b.getDate()-o),b.setHours(0,0,0,0),b}function un(c,l){return rt(c,{...l,weekStartsOn:1})}function bp(c,l){let t=xc(c,l?.in),e=t.getFullYear(),b=Nc(t,0);b.setFullYear(e+1,0,4),b.setHours(0,0,0,0);let d=un(b),o=Nc(t,0);o.setFullYear(e,0,4),o.setHours(0,0,0,0);let n=un(o);return t.getTime()>=d.getTime()?e+1:t.getTime()>=n.getTime()?e:e-1}function Ah(c){let l=xc(c),t=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds()));return t.setUTCFullYear(l.getFullYear()),+c-+t}function Yb(c,...l){let t=Nc.bind(null,c||l.find(e=>typeof e=="object"));return l.map(t)}function mo(c,l){let t=xc(c,l?.in);return t.setHours(0,0,0,0),t}function ai(c,l,t){let[e,b]=Yb(t?.in,c,l),d=mo(e),o=mo(b),n=+d-Ah(d),X=+o-Ah(o);return Math.round((n-X)/DE)}function UE(c,l){let t=bp(c,l),e=Nc(l?.in||c,0);return e.setFullYear(t,0,4),e.setHours(0,0,0,0),un(e)}function VX(c,l,t){return ao(c,l*7,t)}function n0(c,l,t){return lb(c,l*12,t)}function jE(c,l){let t,e=l?.in;return c.forEach(b=>{!e&&typeof b=="object"&&(e=Nc.bind(null,b));let d=xc(b,e);(!t||t<d||isNaN(+d))&&(t=d)}),Nc(e,t||NaN)}function EE(c,l){let t,e=l?.in;return c.forEach(b=>{!e&&typeof b=="object"&&(e=Nc.bind(null,b));let d=xc(b,e);(!t||t>d||isNaN(+d))&&(t=d)}),Nc(e,t||NaN)}function Ax(c,l,t){let[e,b]=Yb(t?.in,c,l);return+mo(e)==+mo(b)}function dp(c){return c instanceof Date||typeof c=="object"&&Object.prototype.toString.call(c)==="[object Date]"}function ME(c){return!(!dp(c)&&typeof c!="number"||isNaN(+xc(c)))}function PE(c,l,t){let[e,b]=Yb(t?.in,c,l),d=e.getFullYear()-b.getFullYear(),o=e.getMonth()-b.getMonth();return d*12+o}function Ox(c,l){let t=xc(c,l?.in),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}function X0(c,l){let[t,e]=Yb(c,l.start,l.end);return{start:t,end:e}}function Qx(c,l){let{start:t,end:e}=X0(l?.in,c),b=+t>+e,d=b?+t:+e,o=b?e:t;o.setHours(0,0,0,0);let n=l?.step??1;if(!n)return[];n<0&&(n=-n,b=!b);let X=[];for(;+o<=d;)X.push(Nc(t,o)),o.setDate(o.getDate()+n),o.setHours(0,0,0,0);return b?X.reverse():X}function op(c,l){let{start:t,end:e}=X0(l?.in,c),b=+t>+e,d=b?+t:+e,o=b?e:t;o.setHours(0,0,0,0),o.setDate(1);let n=l?.step??1;if(!n)return[];n<0&&(n=-n,b=!b);let X=[];for(;+o<=d;)X.push(Nc(t,o)),o.setMonth(o.getMonth()+n);return b?X.reverse():X}function KE(c,l){let{start:t,end:e}=X0(l?.in,c),b=+t>+e,d=b?rt(e,l):rt(t,l),o=b?rt(t,l):rt(e,l);d.setHours(15),o.setHours(15);let n=+o.getTime(),X=d,G=l?.step??1;if(!G)return[];G<0&&(G=-G,b=!b);let i=[];for(;+X<=n;)X.setHours(0),i.push(Nc(t,X)),X=VX(X,G),X.setHours(15);return b?i.reverse():i}function wx(c,l){let t=xc(c,l?.in);return t.setDate(1),t.setHours(0,0,0,0),t}function _E(c,l){let t=xc(c,l?.in),e=t.getFullYear();return t.setFullYear(e+1,0,0),t.setHours(23,59,59,999),t}function np(c,l){let t=xc(c,l?.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function G0(c,l){let t=uo(),e=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,b=xc(c,l?.in),d=b.getDay(),o=(d<e?-7:0)+6-(d-e);return b.setDate(b.getDate()+o),b.setHours(23,59,59,999),b}function qE(c,l){return G0(c,{...l,weekStartsOn:1})}var dsc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},$E=(c,l,t)=>{let e,b=dsc[c];return typeof b=="string"?e=b:l===1?e=b.one:e=b.other.replace("{{count}}",l.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+e:e+" ago":e};function Xp(c){return(l={})=>{let t=l.width?String(l.width):c.defaultWidth;return c.formats[t]||c.formats[c.defaultWidth]}}var osc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},nsc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xsc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cM={date:Xp({formats:osc,defaultWidth:"full"}),time:Xp({formats:nsc,defaultWidth:"full"}),dateTime:Xp({formats:Xsc,defaultWidth:"full"})};var Gsc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},lM=(c,l,t,e)=>Gsc[c];function i0(c){return(l,t)=>{let e=t?.context?String(t.context):"standalone",b;if(e==="formatting"&&c.formattingValues){let o=c.defaultFormattingWidth||c.defaultWidth,n=t?.width?String(t.width):o;b=c.formattingValues[n]||c.formattingValues[o]}else{let o=c.defaultWidth,n=t?.width?String(t.width):c.defaultWidth;b=c.values[n]||c.values[o]}let d=c.argumentCallback?c.argumentCallback(l):l;return b[d]}}var isc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},asc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},usc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},msc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ssc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xsc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rsc=(c,l)=>{let t=Number(c),e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},tM={ordinalNumber:rsc,era:i0({values:isc,defaultWidth:"wide"}),quarter:i0({values:asc,defaultWidth:"wide",argumentCallback:c=>c-1}),month:i0({values:usc,defaultWidth:"wide"}),day:i0({values:msc,defaultWidth:"wide"}),dayPeriod:i0({values:ssc,defaultWidth:"wide",formattingValues:xsc,defaultFormattingWidth:"wide"})};function a0(c){return(l,t={})=>{let e=t.width,b=e&&c.matchPatterns[e]||c.matchPatterns[c.defaultMatchWidth],d=l.match(b);if(!d)return null;let o=d[0],n=e&&c.parsePatterns[e]||c.parsePatterns[c.defaultParseWidth],X=Array.isArray(n)?Zsc(n,a=>a.test(o)):gsc(n,a=>a.test(o)),G;G=c.valueCallback?c.valueCallback(X):X,G=t.valueCallback?t.valueCallback(G):G;let i=l.slice(o.length);return{value:G,rest:i}}}function gsc(c,l){for(let t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&l(c[t]))return t}function Zsc(c,l){for(let t=0;t<c.length;t++)if(l(c[t]))return t}function eM(c){return(l,t={})=>{let e=l.match(c.matchPattern);if(!e)return null;let b=e[0],d=l.match(c.parsePattern);if(!d)return null;let o=c.valueCallback?c.valueCallback(d[0]):d[0];o=t.valueCallback?t.valueCallback(o):o;let n=l.slice(b.length);return{value:o,rest:n}}}var Hsc=/^(\d+)(th|st|nd|rd)?/i,Rsc=/\d+/i,Isc={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Wsc={any:[/^b/i,/^(a|c)/i]},psc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Bsc={any:[/1/i,/2/i,/3/i,/4/i]},ysc={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Vsc={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Jsc={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},hsc={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Csc={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ysc={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},bM={ordinalNumber:eM({matchPattern:Hsc,parsePattern:Rsc,valueCallback:c=>parseInt(c,10)}),era:a0({matchPatterns:Isc,defaultMatchWidth:"wide",parsePatterns:Wsc,defaultParseWidth:"any"}),quarter:a0({matchPatterns:psc,defaultMatchWidth:"wide",parsePatterns:Bsc,defaultParseWidth:"any",valueCallback:c=>c+1}),month:a0({matchPatterns:ysc,defaultMatchWidth:"wide",parsePatterns:Vsc,defaultParseWidth:"any"}),day:a0({matchPatterns:Jsc,defaultMatchWidth:"wide",parsePatterns:hsc,defaultParseWidth:"any"}),dayPeriod:a0({matchPatterns:Csc,defaultMatchWidth:"any",parsePatterns:Ysc,defaultParseWidth:"any"})};var Fb={code:"en-US",formatDistance:$E,formatLong:cM,formatRelative:lM,localize:tM,match:bM,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dM(c,l){let t=xc(c,l?.in);return ai(t,np(t))+1}function Gp(c,l){let t=xc(c,l?.in),e=+un(t)-+UE(t);return Math.round(e/ep)+1}function ip(c,l){let t=xc(c,l?.in),e=t.getFullYear(),b=uo(),d=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??b.firstWeekContainsDate??b.locale?.options?.firstWeekContainsDate??1,o=Nc(l?.in||c,0);o.setFullYear(e+1,0,d),o.setHours(0,0,0,0);let n=rt(o,l),X=Nc(l?.in||c,0);X.setFullYear(e,0,d),X.setHours(0,0,0,0);let G=rt(X,l);return+t>=+n?e+1:+t>=+G?e:e-1}function oM(c,l){let t=uo(),e=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??t.firstWeekContainsDate??t.locale?.options?.firstWeekContainsDate??1,b=ip(c,l),d=Nc(l?.in||c,0);return d.setFullYear(b,0,e),d.setHours(0,0,0,0),rt(d,l)}function ap(c,l){let t=xc(c,l?.in),e=+rt(t,l)-+oM(t,l);return Math.round(e/ep)+1}function $c(c,l){let t=c<0?"-":"",e=Math.abs(c).toString().padStart(l,"0");return t+e}var mn={y(c,l){let t=c.getFullYear(),e=t>0?t:1-t;return $c(l==="yy"?e%100:e,l.length)},M(c,l){let t=c.getMonth();return l==="M"?String(t+1):$c(t+1,2)},d(c,l){return $c(c.getDate(),l.length)},a(c,l){let t=c.getHours()/12>=1?"pm":"am";switch(l){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];default:return t==="am"?"a.m.":"p.m."}},h(c,l){return $c(c.getHours()%12||12,l.length)},H(c,l){return $c(c.getHours(),l.length)},m(c,l){return $c(c.getMinutes(),l.length)},s(c,l){return $c(c.getSeconds(),l.length)},S(c,l){let t=l.length,e=c.getMilliseconds(),b=Math.trunc(e*Math.pow(10,t-3));return $c(b,l.length)}};var u0={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oh={G:function(c,l,t){let e=c.getFullYear()>0?1:0;switch(l){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"});case"GGGGG":return t.era(e,{width:"narrow"});default:return t.era(e,{width:"wide"})}},y:function(c,l,t){if(l==="yo"){let e=c.getFullYear(),b=e>0?e:1-e;return t.ordinalNumber(b,{unit:"year"})}return mn.y(c,l)},Y:function(c,l,t,e){let b=ip(c,e),d=b>0?b:1-b;if(l==="YY"){let o=d%100;return $c(o,2)}return l==="Yo"?t.ordinalNumber(d,{unit:"year"}):$c(d,l.length)},R:function(c,l){let t=bp(c);return $c(t,l.length)},u:function(c,l){let t=c.getFullYear();return $c(t,l.length)},Q:function(c,l,t){let e=Math.ceil((c.getMonth()+1)/3);switch(l){case"Q":return String(e);case"QQ":return $c(e,2);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});default:return t.quarter(e,{width:"wide",context:"formatting"})}},q:function(c,l,t){let e=Math.ceil((c.getMonth()+1)/3);switch(l){case"q":return String(e);case"qq":return $c(e,2);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});default:return t.quarter(e,{width:"wide",context:"standalone"})}},M:function(c,l,t){let e=c.getMonth();switch(l){case"M":case"MM":return mn.M(c,l);case"Mo":return t.ordinalNumber(e+1,{unit:"month"});case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});default:return t.month(e,{width:"wide",context:"formatting"})}},L:function(c,l,t){let e=c.getMonth();switch(l){case"L":return String(e+1);case"LL":return $c(e+1,2);case"Lo":return t.ordinalNumber(e+1,{unit:"month"});case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});default:return t.month(e,{width:"wide",context:"standalone"})}},w:function(c,l,t,e){let b=ap(c,e);return l==="wo"?t.ordinalNumber(b,{unit:"week"}):$c(b,l.length)},I:function(c,l,t){let e=Gp(c);return l==="Io"?t.ordinalNumber(e,{unit:"week"}):$c(e,l.length)},d:function(c,l,t){return l==="do"?t.ordinalNumber(c.getDate(),{unit:"date"}):mn.d(c,l)},D:function(c,l,t){let e=dM(c);return l==="Do"?t.ordinalNumber(e,{unit:"dayOfYear"}):$c(e,l.length)},E:function(c,l,t){let e=c.getDay();switch(l){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})}},e:function(c,l,t,e){let b=c.getDay(),d=(b-e.weekStartsOn+8)%7||7;switch(l){case"e":return String(d);case"ee":return $c(d,2);case"eo":return t.ordinalNumber(d,{unit:"day"});case"eee":return t.day(b,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(b,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(b,{width:"short",context:"formatting"});default:return t.day(b,{width:"wide",context:"formatting"})}},c:function(c,l,t,e){let b=c.getDay(),d=(b-e.weekStartsOn+8)%7||7;switch(l){case"c":return String(d);case"cc":return $c(d,l.length);case"co":return t.ordinalNumber(d,{unit:"day"});case"ccc":return t.day(b,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(b,{width:"narrow",context:"standalone"});case"cccccc":return t.day(b,{width:"short",context:"standalone"});default:return t.day(b,{width:"wide",context:"standalone"})}},i:function(c,l,t){let e=c.getDay(),b=e===0?7:e;switch(l){case"i":return String(b);case"ii":return $c(b,l.length);case"io":return t.ordinalNumber(b,{unit:"day"});case"iii":return t.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(e,{width:"short",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})}},a:function(c,l,t){let b=c.getHours()/12>=1?"pm":"am";switch(l){case"a":case"aa":return t.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(b,{width:"narrow",context:"formatting"});default:return t.dayPeriod(b,{width:"wide",context:"formatting"})}},b:function(c,l,t){let e=c.getHours(),b;switch(e===12?b=u0.noon:e===0?b=u0.midnight:b=e/12>=1?"pm":"am",l){case"b":case"bb":return t.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(b,{width:"narrow",context:"formatting"});default:return t.dayPeriod(b,{width:"wide",context:"formatting"})}},B:function(c,l,t){let e=c.getHours(),b;switch(e>=17?b=u0.evening:e>=12?b=u0.afternoon:e>=4?b=u0.morning:b=u0.night,l){case"B":case"BB":case"BBB":return t.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(b,{width:"narrow",context:"formatting"});default:return t.dayPeriod(b,{width:"wide",context:"formatting"})}},h:function(c,l,t){if(l==="ho"){let e=c.getHours()%12;return e===0&&(e=12),t.ordinalNumber(e,{unit:"hour"})}return mn.h(c,l)},H:function(c,l,t){return l==="Ho"?t.ordinalNumber(c.getHours(),{unit:"hour"}):mn.H(c,l)},K:function(c,l,t){let e=c.getHours()%12;return l==="Ko"?t.ordinalNumber(e,{unit:"hour"}):$c(e,l.length)},k:function(c,l,t){let e=c.getHours();return e===0&&(e=24),l==="ko"?t.ordinalNumber(e,{unit:"hour"}):$c(e,l.length)},m:function(c,l,t){return l==="mo"?t.ordinalNumber(c.getMinutes(),{unit:"minute"}):mn.m(c,l)},s:function(c,l,t){return l==="so"?t.ordinalNumber(c.getSeconds(),{unit:"second"}):mn.s(c,l)},S:function(c,l){return mn.S(c,l)},X:function(c,l,t){let e=c.getTimezoneOffset();if(e===0)return"Z";switch(l){case"X":return XM(e);case"XXXX":case"XX":return ui(e);default:return ui(e,":")}},x:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"x":return XM(e);case"xxxx":case"xx":return ui(e);default:return ui(e,":")}},O:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"O":case"OO":case"OOO":return"GMT"+nM(e,":");default:return"GMT"+ui(e,":")}},z:function(c,l,t){let e=c.getTimezoneOffset();switch(l){case"z":case"zz":case"zzz":return"GMT"+nM(e,":");default:return"GMT"+ui(e,":")}},t:function(c,l,t){let e=Math.trunc(+c/1e3);return $c(e,l.length)},T:function(c,l,t){return $c(+c,l.length)}};function nM(c,l=""){let t=c>0?"-":"+",e=Math.abs(c),b=Math.trunc(e/60),d=e%60;return d===0?t+String(b):t+String(b)+l+$c(d,2)}function XM(c,l){return c%60===0?(c>0?"-":"+")+$c(Math.abs(c)/60,2):ui(c,l)}function ui(c,l=""){let t=c>0?"-":"+",e=Math.abs(c),b=$c(Math.trunc(e/60),2),d=$c(e%60,2);return t+b+l+d}var GM=(c,l)=>{switch(c){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});default:return l.date({width:"full"})}},iM=(c,l)=>{switch(c){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});default:return l.time({width:"full"})}},Fsc=(c,l)=>{let t=c.match(/(P+)(p+)?/)||[],e=t[1],b=t[2];if(!b)return GM(c,l);let d;switch(e){case"P":d=l.dateTime({width:"short"});break;case"PP":d=l.dateTime({width:"medium"});break;case"PPP":d=l.dateTime({width:"long"});break;default:d=l.dateTime({width:"full"});break}return d.replace("{{date}}",GM(e,l)).replace("{{time}}",iM(b,l))},aM={p:iM,P:Fsc};var vsc=/^D+$/,Nsc=/^Y+$/,fsc=["D","DD","YY","YYYY"];function uM(c){return vsc.test(c)}function mM(c){return Nsc.test(c)}function sM(c,l,t){let e=Ssc(c,l,t);if(console.warn(e),fsc.includes(c))throw new RangeError(e)}function Ssc(c,l,t){let e=c[0]==="Y"?"years":"days of the month";return`Use \`${c.toLowerCase()}\` instead of \`${c}\` (in \`${l}\`) for formatting ${e} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var ksc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zsc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Asc=/^'([^]*?)'?$/,Osc=/''/g,Qsc=/[a-zA-Z]/;function xM(c,l,t){let e=uo(),b=t?.locale??e.locale??Fb,d=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,n=xc(c,t?.in);if(!ME(n))throw new RangeError("Invalid time value");let X=l.match(zsc).map(i=>{let a=i[0];if(a==="p"||a==="P"){let m=aM[a];return m(i,b.formatLong)}return i}).join("").match(ksc).map(i=>{if(i==="''")return{isToken:!1,value:"'"};let a=i[0];if(a==="'")return{isToken:!1,value:wsc(i)};if(Oh[a])return{isToken:!0,value:i};if(a.match(Qsc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return{isToken:!1,value:i}});b.localize.preprocessor&&(X=b.localize.preprocessor(n,X));let G={firstWeekContainsDate:d,weekStartsOn:o,locale:b};return X.map(i=>{if(!i.isToken)return i.value;let a=i.value;(!t?.useAdditionalWeekYearTokens&&mM(a)||!t?.useAdditionalDayOfYearTokens&&uM(a))&&sM(a,l,String(c));let m=Oh[a[0]];return m(n,a,b.localize,G)}).join("")}function wsc(c){let l=c.match(Asc);return l?l[1].replace(Osc,"'"):c}function rM(c,l){let t=xc(c,l?.in),e=t.getFullYear(),b=t.getMonth(),d=Nc(t,0);return d.setFullYear(e,b+1,0),d.setHours(0,0,0,0),d.getDate()}function gM(c,l){return xc(c,l?.in).getMonth()}function ZM(c,l){return xc(c,l?.in).getFullYear()}function up(c,l){return+xc(c)>+xc(l)}function mp(c,l){return+xc(c)<+xc(l)}function mi(c,l){return+xc(c)==+xc(l)}function Qh(c,l){let t=xc(c,l?.in);return t.setSeconds(0,0),t}function Tx(c,l,t){let[e,b]=Yb(t?.in,c,l);return e.getFullYear()===b.getFullYear()&&e.getMonth()===b.getMonth()}function HM(c,l,t){let[e,b]=Yb(t?.in,c,l);return e.getFullYear()===b.getFullYear()}function RM(c,l,t){return ao(c,-l,t)}function m0(c,l,t){let e=xc(c,t?.in),b=e.getFullYear(),d=e.getDate(),o=Nc(t?.in||c,0);o.setFullYear(b,l,15),o.setHours(0,0,0,0);let n=rM(o);return e.setMonth(l,Math.min(d,n)),e}function IM(c,l,t){let e=xc(c,t?.in);return isNaN(+e)?Nc(t?.in||c,NaN):(l.year!=null&&e.setFullYear(l.year),l.month!=null&&(e=m0(e,l.month)),l.date!=null&&e.setDate(l.date),l.hours!=null&&e.setHours(l.hours),l.minutes!=null&&e.setMinutes(l.minutes),l.seconds!=null&&e.setSeconds(l.seconds),l.milliseconds!=null&&e.setMilliseconds(l.milliseconds),e)}function sp(c,l,t){let e=xc(c,t?.in);return isNaN(+e)?Nc(t?.in||c,NaN):(e.setFullYear(l),e)}function WM(c){return mo(Date.now(),c)}function s0(c,l,t){return lb(c,-l,t)}function pM(c,l,t){return VX(c,-l,t)}function BM(c,l,t){return n0(c,-l,t)}var re=u(Gc(),1);var eb=u(Dx(),1),hX=u(F(),1);var lt=u(F(),1);var Tsc=(function(c){return c[c.SUNDAY=0]="SUNDAY",c[c.MONDAY=1]="MONDAY",c[c.TUESDAY=2]="TUESDAY",c[c.WEDNESDAY=3]="WEDNESDAY",c[c.THURSDAY=4]="THURSDAY",c[c.FRIDAY=5]="FRIDAY",c[c.SATURDAY=6]="SATURDAY",c})({}),Dsc=(c,l,t)=>(mi(c,l)||up(c,l))&&(mi(c,t)||mp(c,t)),VM=c=>IM(c,{hours:0,minutes:0,seconds:0,milliseconds:0}),JM=({weekStartsOn:c=Tsc.SUNDAY,viewing:l=new Date,selected:t=[],numberOfMonths:e=1}={})=>{let[b,d]=(0,lt.useState)(l),o=(0,lt.useCallback)(()=>d(WM()),[d]),n=(0,lt.useCallback)(B=>d(y=>m0(y,B)),[]),X=(0,lt.useCallback)(()=>d(B=>s0(B,1)),[]),G=(0,lt.useCallback)(()=>d(B=>lb(B,1)),[]),i=(0,lt.useCallback)(B=>d(y=>sp(y,B)),[]),a=(0,lt.useCallback)(()=>d(B=>BM(B,1)),[]),m=(0,lt.useCallback)(()=>d(B=>n0(B,1)),[]),[s,x]=(0,lt.useState)(t.map(VM)),r=()=>x([]),g=(0,lt.useCallback)(B=>s.findIndex(y=>mi(y,B))>-1,[s]),H=(0,lt.useCallback)((B,y)=>{x(y?Array.isArray(B)?B:[B]:C=>C.concat(Array.isArray(B)?B:[B]))},[]),Z=(0,lt.useCallback)(B=>x(y=>Array.isArray(B)?y.filter(C=>!B.map(V=>V.getTime()).includes(C.getTime())):y.filter(C=>!mi(C,B))),[]),R=(0,lt.useCallback)((B,y)=>g(B)?Z(B):H(B,y),[Z,g,H]),W=(0,lt.useCallback)((B,y,C)=>{x(C?Qx({start:B,end:y}):V=>V.concat(Qx({start:B,end:y})))},[]),I=(0,lt.useCallback)((B,y)=>{x(C=>C.filter(V=>!Qx({start:B,end:y}).map(h=>h.getTime()).includes(V.getTime())))},[]),p=(0,lt.useMemo)(()=>op({start:wx(b),end:Ox(lb(b,e-1))}).map(B=>KE({start:wx(B),end:Ox(B)},{weekStartsOn:c}).map(y=>Qx({start:rt(y,{weekStartsOn:c}),end:G0(y,{weekStartsOn:c})}))),[b,c,e]);return{clearTime:VM,inRange:Dsc,viewing:b,setViewing:d,viewToday:o,viewMonth:n,viewPreviousMonth:X,viewNextMonth:G,viewYear:i,viewPreviousYear:a,viewNextYear:m,selected:s,setSelected:x,clearSelected:r,isSelected:g,select:H,deselect:Z,toggle:R,selectRange:W,deselectRange:I,calendar:p}};var hM=S("div",{target:"e15s65uf7"})(_e,";"),CM=S(Ec,{target:"e15s65uf6"})("column-gap:",D(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;margin-bottom:",D(4),";"),YM=S(bc,{target:"e15s65uf5"})({name:"sarfoe",styles:"grid-column:1/2"}),FM=S(bc,{target:"e15s65uf4"})({name:"1v98r3z",styles:"grid-column:7/8"}),vM=S(bd,{target:"e15s65uf3"})("font-size:",O.fontSize,";font-weight:",O.fontWeight,";grid-column:2/7;strong{font-weight:",O.fontWeightHeading,";}"),NM=S("div",{target:"e15s65uf2"})("column-gap:",D(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:",D(2),";"),fM=S("div",{target:"e15s65uf1"})("color:",T.theme.gray[700],";font-size:",O.fontSize,";line-height:",O.fontLineHeightBase,";"),SM=S(bc,{shouldForwardProp:c=>!["column","isSelected","isToday","hasEvents"].includes(c),target:"e15s65uf0"})("grid-column:",c=>c.column,";position:relative;justify-content:center;padding:0;",c=>c.disabled&&` | |
| 73 | + width: calc( 100% - ${K(2)} ); | |
| 74 | + margin-left: ${K(1)}; | |
| 75 | +}`,PM=q("div",{target:"ez9hsf43"})("padding-top:",K(2),";padding-right:0;padding-left:0;padding-bottom:0;"),KM=q(xt,{target:"ez9hsf42"})("padding-left:",K(4),";padding-right:",K(4),";"),qM=q(Mt,{target:"ez9hsf41"})("padding-top:",K(4),";padding-left:",K(4),";padding-right:",K(3),";padding-bottom:",K(5),";"),$M=q("div",{target:"ez9hsf40"})(lb,";width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",K(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:",de.radiusFull,";margin-bottom:",K(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;@media not ( prefers-reduced-motion ){transition:transform ",de.transitionDurationFast," ease-in-out;}}.react-colorful__interactive:focus .react-colorful__pointer{box-shadow:0 0 0 ",de.borderWidthFocus," ",de.surfaceColor,";border:",de.borderWidthFocus," solid black;transform:translate( -50%, -50% ) scale( 1.5 );}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",de.borderWidthFocus," #fff;}",dfe,";");var e6=u(me(),1),w0=u(T(),1);var lF=u(Ze(),1);var oF=u(F(),1),t6=e=>{let{color:t,colorType:c}=e,[n,l]=(0,w0.useState)(null),o=(0,w0.useRef)(void 0),d=(0,e6.useCopyToClipboard)(()=>{switch(c){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}},()=>{o.current&&clearTimeout(o.current),l(t.toHex()),o.current=setTimeout(()=>{l(null),o.current=void 0},3e3)});(0,w0.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]);let i=n===t.toHex(),r=i?(0,lF.__)("Copied!"):(0,lF.__)("Copy");return(0,oF.jsx)(Hl,{delay:0,hideOnClick:!1,text:r,children:(0,oF.jsx)(p0,{size:"compact","aria-label":r,ref:d,icon:i?qc:gV,showTooltip:!1})})};var Wb=u(F(),1),ti=({min:e,max:t,label:c,abbreviation:n,onChange:l,value:o})=>(0,Wb.jsxs)(xt,{spacing:4,children:[(0,Wb.jsx)(_M,{min:e,max:t,label:c,hideLabelFromVision:!0,value:o,onChange:i=>{if(!i){l(0);return}if(typeof i=="string"){l(parseInt(i,10));return}l(i)},prefix:(0,Wb.jsx)(Ha,{children:(0,Wb.jsx)(Kn,{color:oe.theme.accent,lineHeight:1,children:n})}),spinControls:"none"}),(0,Wb.jsx)(MM,{label:c,hideLabelFromVision:!0,min:e,max:t,value:o,onChange:l,withInputField:!1})]});var nr=u(F(),1),c6=({color:e,onChange:t,enableAlpha:c})=>{let{r:n,g:l,b:o,a:d}=e.toRgb();return(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)(ti,{min:0,max:255,label:"Red",abbreviation:"R",value:n,onChange:i=>t(et({r:i,g:l,b:o,a:d}))}),(0,nr.jsx)(ti,{min:0,max:255,label:"Green",abbreviation:"G",value:l,onChange:i=>t(et({r:n,g:i,b:o,a:d}))}),(0,nr.jsx)(ti,{min:0,max:255,label:"Blue",abbreviation:"B",value:o,onChange:i=>t(et({r:n,g:l,b:i,a:d}))}),c&&(0,nr.jsx)(ti,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(d*100),onChange:i=>t(et({r:n,g:l,b:o,a:i/100}))})]})};var lr=u(F(),1),n6=({hsla:e,onChange:t,enableAlpha:c})=>{let n=l=>{t({...e,...l})};return(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(ti,{min:0,max:359,label:"Hue",abbreviation:"H",value:e.h,onChange:l=>{n({h:l})}}),(0,lr.jsx)(ti,{min:0,max:100,label:"Saturation",abbreviation:"S",value:e.s,onChange:l=>{n({s:l})}}),(0,lr.jsx)(ti,{min:0,max:100,label:"Lightness",abbreviation:"L",value:e.l,onChange:l=>{n({l})}}),c&&(0,lr.jsx)(ti,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*e.a),onChange:l=>{n({a:l/100})}})]})};var l6=u(Ze(),1);var l5=u(F(),1),o6=({color:e,onChange:t,enableAlpha:c})=>{let n=o=>{if(o===void 0)return;let d=o.startsWith("#")?o:"#"+o;t(et(d))},l=(o,d)=>{if(d.payload?.event?.nativeEvent?.inputType!=="insertFromPaste")return{...o};let r=o.value?.startsWith("#")?o.value.slice(1).toUpperCase():o.value?.toUpperCase();return{...o,value:r}};return(0,l5.jsx)(gy,{prefix:(0,l5.jsx)(Ha,{children:(0,l5.jsx)(Kn,{color:oe.theme.accent,lineHeight:1,children:"#"})}),value:e.toHex().slice(1).toUpperCase(),onChange:n,maxLength:c?9:7,label:(0,l6.__)("Hex color"),hideLabelFromVision:!0,__unstableStateReducer:l,__unstableInputWidth:"9em"})};var o5=u(F(),1),d6=({colorType:e,color:t,hsla:c,onChange:n,onHSLChange:l,enableAlpha:o})=>{switch(e){case"hsl":return(0,o5.jsx)(n6,{hsla:c,onChange:l,enableAlpha:o});case"rgb":return(0,o5.jsx)(c6,{color:t,onChange:n,enableAlpha:o});default:case"hex":return(0,o5.jsx)(o6,{color:t,onChange:n,enableAlpha:o})}};var va=u(T(),1);var De=u(E(),1);function z0(){return(z0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e}).apply(this,arguments)}function aF(e,t){if(e==null)return{};var c,n,l={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(c=o[n])>=0||(l[c]=e[c]);return l}function Wx(e){var t=(0,De.useRef)(e),c=(0,De.useRef)(function(n){t.current&&t.current(n)});return t.current=e,c.current}var k0=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=1),e>c?c:e<t?t:e},hx=function(e){return"touches"in e},iF=function(e){return e&&e.ownerDocument.defaultView||self},i6=function(e,t,c){var n=e.getBoundingClientRect(),l=hx(t)?(function(o,d){for(var i=0;i<o.length;i++)if(o[i].identifier===d)return o[i];return o[0]})(t.touches,c):t;return{left:k0((l.pageX-(n.left+iF(e).pageXOffset))/n.width),top:k0((l.pageY-(n.top+iF(e).pageYOffset))/n.height)}},r6=function(e){!hx(e)&&e.preventDefault()},sF=De.default.memo(function(e){var t=e.onMove,c=e.onKey,n=e.onEnd,l=aF(e,["onMove","onKey","onEnd"]),o=(0,De.useRef)(null),d=Wx(t),i=Wx(c),r=Wx(n),a=(0,De.useRef)(null),s=(0,De.useRef)(!1),b=(0,De.useMemo)(function(){var x=function(R){r6(R),(hx(R)?R.touches.length>0:R.buttons>0)&&o.current?d(i6(o.current,R,a.current)):(p(!1),r())},H=function(){p(!1),r()};function p(R){var I=s.current,f=iF(o.current),y=R?f.addEventListener:f.removeEventListener;y(I?"touchmove":"mousemove",x),y(I?"touchend":"mouseup",H)}return[function(R){var I=R.nativeEvent,f=o.current;if(f&&(r6(I),!(function(Z,W){return W&&!hx(Z)})(I,s.current)&&f)){if(hx(I)){s.current=!0;var y=I.changedTouches||[];y.length&&(a.current=y[0].identifier)}f.focus(),d(i6(f,I,a.current)),p(!0)}},function(R){var I=R.which||R.keyCode;I<37||I>40||(R.preventDefault(),i({left:I===39?.05:I===37?-.05:0,top:I===40?.05:I===38?-.05:0}))},function(R){var I=R.which||R.keyCode;I>=37&&I<=40&&r()},p]},[i,d,r]),m=b[0],X=b[1],G=b[2],g=b[3];return(0,De.useEffect)(function(){return g},[g]),De.default.createElement("div",z0({},l,{onTouchStart:m,onMouseDown:m,className:"react-colorful__interactive",ref:o,onKeyDown:X,onKeyUp:G,tabIndex:0,role:"slider"}))}),Bx=function(e){return e.filter(Boolean).join(" ")},bF=function(e){var t=e.color,c=e.left,n=e.top,l=n===void 0?.5:n,o=Bx(["react-colorful__pointer",e.className]);return De.default.createElement("div",{className:o,style:{top:100*l+"%",left:100*c+"%"}},De.default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},po=function(e,t,c){return t===void 0&&(t=0),c===void 0&&(c=Math.pow(10,t)),Math.round(c*e)/c},_Gt={grad:.9,turn:360,rad:360/(2*Math.PI)};var s6=function(e){var t=e.s,c=e.v,n=e.a,l=(200-t)*c/100;return{h:po(e.h),s:po(l>0&&l<200?t*c/100/(l<=100?l:200-l)*100:0),l:po(l/2),a:po(n,2)}},rF=function(e){var t=s6(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},dF=function(e){var t=s6(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"};var b6=function(e){return{h:po(e.h),s:po(e.s),v:po(e.v),a:po(e.a,2)}},u6=De.default.memo(function(e){var t=e.hue,c=e.onChange,n=e.onChangeEnd,l=Bx(["react-colorful__hue",e.className]);return De.default.createElement("div",{className:l},De.default.createElement(sF,{onMove:function(o){c({h:360*o.left})},onKey:function(o){c({h:k0(t+360*o.left,0,360)})},onEnd:n,"aria-label":"Hue","aria-valuenow":po(t),"aria-valuemax":"360","aria-valuemin":"0"},De.default.createElement(bF,{className:"react-colorful__hue-pointer",left:t/360,color:rF({h:t,s:100,v:100,a:1})})))}),m6=De.default.memo(function(e){var t=e.hsva,c=e.onChange,n=e.onChangeEnd,l={backgroundColor:rF({h:t.h,s:100,v:100,a:1})};return De.default.createElement("div",{className:"react-colorful__saturation",style:l},De.default.createElement(sF,{onMove:function(o){c({s:100*o.left,v:100-100*o.top})},onKey:function(o){c({s:k0(t.s+100*o.left,0,100),v:k0(t.v-100*o.top,0,100)})},onEnd:n,"aria-label":"Color","aria-valuetext":"Saturation "+po(t.s)+"%, Brightness "+po(t.v)+"%"},De.default.createElement(bF,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:rF(t)})))}),uF=function(e,t){if(e===t)return!0;for(var c in e)if(e[c]!==t[c])return!1;return!0};function X6(e,t,c,n){var l=Wx(c),o=Wx(n),d=(0,De.useState)(function(){return e.toHsva(t)}),i=d[0],r=d[1],a=(0,De.useRef)({color:t,hsva:i}),s=(0,De.useRef)(!1);(0,De.useEffect)(function(){if(!e.equal(t,a.current.color)){var X=e.toHsva(t);a.current={hsva:X,color:t},r(X),s.current=!1}},[t,e]),(0,De.useEffect)(function(){var X;uF(i,a.current.hsva)||e.equal(X=e.fromHsva(i),a.current.color)||(a.current={hsva:i,color:X},l(X),s.current=!0)},[i,e,l]);var b=(0,De.useCallback)(function(X){r(function(G){return Object.assign({},G,X)})},[]),m=(0,De.useCallback)(function(){s.current&&(s.current=!1,o(a.current.color))},[o]);return[i,b,m]}var ife,rfe=typeof window<"u"?De.useLayoutEffect:De.useEffect,afe=function(){return ife||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)};var a6=new WeakMap,G6=function(e){rfe(function(){var t=e.current;if(typeof document<"u"&&t){var c=t.getRootNode?t.getRootNode():t.ownerDocument,n=c&&("head"in c||"host"in c)?c:t.ownerDocument;if(!a6.has(n)){var l="head"in n?n.head:n,o=(l.ownerDocument||document).createElement("style");o.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`;var d=afe();d&&o.setAttribute("nonce",d),a6.set(n,o),l.appendChild(o)}}},[])},sfe=function(e){var t=e.className,c=e.colorModel,n=e.color,l=n===void 0?c.defaultColor:n,o=e.onChange,d=e.onChangeEnd,i=aF(e,["className","colorModel","color","onChange","onChangeEnd"]),r=(0,De.useRef)(null);G6(r);var a=X6(c,l,o,d),s=a[0],b=a[1],m=a[2],X=Bx(["react-colorful",t]);return De.default.createElement("div",z0({},i,{ref:r,className:X}),De.default.createElement(m6,{hsva:s,onChange:b,onChangeEnd:m}),De.default.createElement(u6,{hue:s.h,onChange:b,onChangeEnd:m,className:"react-colorful__last-control"}))};var bfe=function(e){var t=e.className,c=e.hsva,n=e.onChange,l=e.onChangeEnd,o={backgroundImage:"linear-gradient(90deg, "+dF(Object.assign({},c,{a:0}))+", "+dF(Object.assign({},c,{a:1}))+")"},d=Bx(["react-colorful__alpha",t]),i=po(100*c.a);return De.default.createElement("div",{className:d},De.default.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),De.default.createElement(sF,{onMove:function(r){n({a:r.left})},onKey:function(r){n({a:k0(c.a+r.left)})},onEnd:l,"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},De.default.createElement(bF,{className:"react-colorful__alpha-pointer",left:c.a,color:dF(c)})))},ufe=function(e){var t=e.className,c=e.colorModel,n=e.color,l=n===void 0?c.defaultColor:n,o=e.onChange,d=e.onChangeEnd,i=aF(e,["className","colorModel","color","onChange","onChangeEnd"]),r=(0,De.useRef)(null);G6(r);var a=X6(c,l,o,d),s=a[0],b=a[1],m=a[2],X=Bx(["react-colorful",t]);return De.default.createElement("div",z0({},i,{ref:r,className:X}),De.default.createElement(m6,{hsva:s,onChange:b,onChangeEnd:m}),De.default.createElement(u6,{hue:s.h,onChange:b,onChangeEnd:m}),De.default.createElement(bfe,{hsva:s,onChange:b,onChangeEnd:m,className:"react-colorful__last-control"}))};var mfe={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:b6,equal:uF},g6=function(e){return De.default.createElement(ufe,z0({},e,{colorModel:mfe}))};var Xfe={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var t=b6(e);return{h:t.h,s:t.s,v:t.v}},equal:uF},x6=function(e){return De.default.createElement(sfe,z0({},e,{colorModel:Xfe}))};var mF=u(F(),1);function p6(e){return{...et(e).toHsv(),h:e.h,a:e.a}}function Gfe(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}function gfe(e,t,c){let n=p6(e);if(e.l!==0)return n;let l=c!==null&&c.s!==e.s;return{h:e.h,s:l?e.s:t.s,v:0,a:e.a}}var R6=({hsla:e,enableAlpha:t,onChange:c,onInteractionStart:n,onInteractionEnd:l})=>{let[o,d]=(0,va.useState)(()=>p6(e)),i=(0,va.useRef)(null),r=(0,va.useRef)(e),a=(0,va.useRef)(!1);(0,va.useEffect)(()=>{if(a.current){r.current=e;return}if(i.current&&Gfe(i.current,e)){r.current=e;return}i.current=null,d(X=>gfe(e,X,r.current)),r.current=e},[e]);let s={onPointerDown({currentTarget:X,pointerId:G}){a.current=!0,n?.(),X.setPointerCapture(G)},onPointerUp({currentTarget:X,pointerId:G}){X.releasePointerCapture(G),a.current=!1,l?.()},onPointerCancel({currentTarget:X,pointerId:G}){X.releasePointerCapture(G),a.current=!1,l?.()}},b=X=>{d(X);let G={...et(X).toHsl(),a:X.a};i.current=G,c(G)};if(t)return(0,mF.jsx)(g6,{color:o,onChange:b,...s});let m={h:o.h,s:o.s,v:o.v};return(0,mF.jsx)(x6,{color:m,onChange:X=>{b({...X,a:o.a})},...s})};var ci=u(F(),1);pl([Rl]);function H6(e,t){return e.s===0?e.l===0||e.l===100?{...e,h:t.h,s:t.s}:{...e,h:t.h}:e}var xfe=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}],pfe=(e,t)=>{let{enableAlpha:c=!1,color:n,onChange:l,defaultValue:o="#fff",copyFormat:d,...i}=ae(e,"ColorPicker"),[r,a]=Do({onChange:l,value:n,defaultValue:o}),s=(0,yl.useMemo)(()=>et(r||""),[r]),b=(0,I6.useDebounce)(a),[m,X]=(0,yl.useState)(()=>({...s.toHsl()})),G=(0,yl.useRef)(s.toHex()),g=(0,yl.useRef)(!1);(0,yl.useEffect)(()=>{if(g.current||s.isEqual(G.current))return;G.current=s.toHex();let f=s.toHsl();X(y=>H6(f,y))},[s]);let x=(0,yl.useCallback)(f=>{X(f);let y=G.current,Z=et(f).toHex();et(Z).isEqual(y)||(G.current=Z,a(Z))},[a]),H=(0,yl.useCallback)(f=>{let y=f.toHsl();X(W=>H6(y,W));let Z=f.toHex();G.current=Z,b(Z)},[b]),[p,R]=(0,yl.useState)(d||"hex"),I=(0,yl.useCallback)(f=>{let y=f.clipboardData?.getData("text")?.trim();if(!y)return;let Z=et(y);if(!Z.isValid())return;H(Z);let W={hex:"hex",rgb:"rgb",hsl:"hsl"},v=String(TL(y)),h=W[v];h&&R(h),f.stopPropagation(),f.preventDefault()},[H,R]);return(0,ci.jsxs)($M,{ref:t,...i,onPasteCapture:I,children:[(0,ci.jsx)(R6,{onChange:x,hsla:m,enableAlpha:c,onInteractionStart:()=>{g.current=!0},onInteractionEnd:()=>{g.current=!1}}),(0,ci.jsxs)(PM,{children:[(0,ci.jsxs)(KM,{justify:"space-between",children:[(0,ci.jsx)(jM,{size:"compact",options:xfe,value:p,onChange:f=>R(f),label:(0,Z6.__)("Color format"),hideLabelFromVision:!0,variant:"minimal"}),(0,ci.jsx)(t6,{color:s,colorType:d||p})]}),(0,ci.jsx)(qM,{direction:"column",gap:2,children:(0,ci.jsx)(d6,{colorType:p,color:s,hsla:m,onChange:H,onHSLChange:x,enableAlpha:c})})]})]})},Rfe=ie(pfe,"ColorPicker"),f6=Rfe;var y6=u(T(),1);function Hfe(e){return typeof e.onChangeComplete<"u"||typeof e.disableAlpha<"u"||typeof e.color?.hex=="string"}function Ife(e){if(e!==void 0){if(typeof e=="string")return e;if(e.hex)return e.hex}}var Zfe=ra(e=>{let t=et(e),c=t.toHex(),n=t.toRgb(),l=t.toHsv(),o=t.toHsl();return{hex:c,rgb:n,hsv:l,hsl:o,source:"hex",oldHue:o.h}});function W6(e){let{onChangeComplete:t}=e,c=(0,y6.useCallback)(n=>{t(Zfe(n))},[t]);return Hfe(e)?{color:Ife(e.color),enableAlpha:!e.disableAlpha,onChange:c}:{...e,color:e.color,enableAlpha:e.enableAlpha,onChange:e.onChange}}var h6=u(F(),1),ni=e=>(0,h6.jsx)(f6,{...W6(e)});var S6=u(me(),1),w6=u(Ze(),1),vx=u(T(),1);var B6=u(T(),1),hb=(0,B6.createContext)({});hb.displayName="CircularOptionPickerContext";var v6=u(me(),1),Va=u(T(),1);var or=u(F(),1);function ffe(e,t){let{isPressed:c,label:n,...l}=e;return(0,or.jsx)(be,{__next40pxDefaultSize:!0,...l,"aria-pressed":c,ref:t,label:n})}var yfe=(0,Va.forwardRef)(ffe);function Wfe(e,t){let{id:c,isSelected:n,label:l,...o}=e,{setActiveId:d,activeId:i}=(0,Va.useContext)(hb);return(0,Va.useEffect)(()=>{n&&!i&&window.setTimeout(()=>d?.(c),0)},[n,d,i,c]),(0,or.jsx)(Bn.Item,{render:(0,or.jsx)(be,{__next40pxDefaultSize:!0,...o,role:"option","aria-selected":!!n,ref:t,label:l}),id:c})}var hfe=(0,Va.forwardRef)(Wfe);function XF({className:e,isSelected:t,selectedIconProps:c={},tooltipText:n,...l}){let{baseId:o,presentation:d="toggle-buttons"}=(0,Va.useContext)(hb),r={id:(0,v6.useInstanceId)(XF,o||"components-circular-option-picker__option"),className:"components-circular-option-picker__option",...l},a=d==="listbox"?(0,or.jsx)(hfe,{...r,label:n,isSelected:t}):(0,or.jsx)(yfe,{...r,label:n,isPressed:d==="toggle-buttons"?!!t:void 0});return(0,or.jsxs)("div",{className:w(e,"components-circular-option-picker__option-wrapper"),children:[a,d!=="command-buttons"&&t&&(0,or.jsx)(Kc,{icon:qc,...c})]})}var V6=u(F(),1);function C6({className:e,options:t,...c}){let n="aria-label"in c||"aria-labelledby"in c?"group":void 0;return(0,V6.jsx)("div",{...c,role:n,className:w("components-circular-option-picker__option-group","components-circular-option-picker__swatches",e),children:t})}var d5=u(F(),1);function F6({buttonProps:e,className:t,dropdownProps:c,linkText:n}){return(0,d5.jsx)($d,{className:w("components-circular-option-picker__dropdown-link-action",t),renderToggle:({isOpen:l,onToggle:o})=>(0,d5.jsx)(be,{"aria-expanded":l,"aria-haspopup":"true",onClick:o,variant:"link",...e,children:n}),...c})}function J6({className:e,children:t,...c}){return(0,d5.jsx)(be,{__next40pxDefaultSize:!0,className:w("components-circular-option-picker__clear",e),variant:"tertiary",...c,children:t})}var Y6=u(Ze(),1),N6=u(Xt(),1);function dr(e,t){t!==void 0&&(0,N6.default)(`\`asButtons\` prop in wp.components.${e}`,{since:"7.2",alternative:"`presentation`",hint:'`asButtons={ true }` maps to `presentation="toggle-buttons"`. Explicit `presentation` takes precedence.'})}function i5(e,t){return e??(t?"toggle-buttons":"listbox")}function Bb(e,t,c,n,l){let o=i5(l,e),d=o==="listbox"?{presentation:"listbox",loop:t}:{presentation:o},i={"aria-labelledby":n,"aria-label":n?void 0:c||(0,Y6.__)("Custom color picker")};return{metaProps:d,labelProps:i,resolvedPresentation:o}}var qo=u(F(),1);function Bfe(e){let{actions:t,options:c,baseId:n,className:l,loop:o=!0,children:d,...i}=e,[r,a]=(0,vx.useState)(void 0),s=(0,vx.useMemo)(()=>({baseId:n,activeId:r,setActiveId:a,presentation:"listbox"}),[n,r,a]);return(0,qo.jsx)("div",{className:l,children:(0,qo.jsxs)(hb.Provider,{value:s,children:[(0,qo.jsx)(Bn,{...i,id:n,focusLoop:o,rtl:(0,w6.isRTL)(),role:"listbox",activeId:r,setActiveId:a,children:c}),d,t]})})}function vfe(e){let{actions:t,options:c,children:n,baseId:l,presentation:o,...d}=e,i=(0,vx.useMemo)(()=>({baseId:l,presentation:o}),[l,o]);return(0,qo.jsx)("div",{...d,role:"group",id:l,children:(0,qo.jsxs)(hb.Provider,{value:i,children:[c,n,t]})})}function vb(e){let{asButtons:t,presentation:c,loop:n,actions:l,options:o,children:d,className:i,...r}=e;dr("CircularOptionPicker",t);let a=i5(c,t),s=(0,S6.useInstanceId)(vb,"components-circular-option-picker",r.id),b=l?(0,qo.jsx)("div",{className:"components-circular-option-picker__custom-clear-wrapper",children:l}):void 0,m=(0,qo.jsx)("div",{className:"components-circular-option-picker__swatches",children:o}),X={baseId:s,className:w("components-circular-option-picker",i),actions:b,options:m,children:d};return a==="listbox"?(0,qo.jsx)(Bfe,{...r,...X,loop:n}):(0,qo.jsx)(vfe,{...r,...X,presentation:a})}vb.Option=XF;vb.OptionGroup=C6;vb.ButtonAction=J6;vb.DropdownLinkAction=F6;vb.displayName="CircularOptionPicker";var k6=vb;var tl=k6;function z6(e){let{expanded:t=!1,alignment:c="stretch",...n}=ae(e,"VStack");return ux({direction:"column",expanded:t,alignment:c,...n})}var T6=u(F(),1);function Vfe(e,t){let c=z6(e);return(0,T6.jsx)(Ce,{...c,ref:t})}var Cfe=ie(Vfe,"VStack"),Nt=Cfe;function A6(e){let{as:t,level:c=2,color:n=oe.theme.foreground,isBlock:l=!0,weight:o=de.fontWeightEmphasis,...d}=ae(e,"Heading"),i=t||`h${c}`,r={};return typeof i=="string"&&i[0]!=="h"&&(r.role="heading",r["aria-level"]=typeof c=="string"?parseInt(c):c),{...lx({color:n,isBlock:l,weight:o,size:d7(c),...d}),...r,as:i}}var O6=u(F(),1);function Ffe(e,t){let c=A6(e);return(0,O6.jsx)(Ce,{...c,ref:t})}var Jfe=ie(Ffe,"Heading"),Ol=Jfe;var U6=u(F(),1),gF="data-wp-hash";function xF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Nfe(document)),e.__wpStyleRuntime}function Yfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${gF}]`))if(c.getAttribute(gF)===t)return!0;return!1}function Q6(e,t,c){if(!e.head)return;let n=xF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Yfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(gF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Nfe(e){let t=xF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Q6(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Sfe(e,t){let c=xF();c.styles.set(e,t);for(let n of c.documents.keys())Q6(n,e,t)}typeof process>"u",Sfe("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 GF={"content-wrapper":"ab61d20c737fa550__content-wrapper","padding-small":"f0a033fae417d720__padding-small","padding-medium":"d83816967399484e__padding-medium"};function wfe(e,t){let{paddingSize:c="small",className:n,...l}=ae(e,"DropdownContentWrapper");return(0,U6.jsx)("div",{...l,className:w(GF["content-wrapper"],{[GF["padding-small"]]:c!=="none"&&c!=="medium",[GF["padding-medium"]]:c==="medium"},n),ref:t})}var kfe=ie(wfe,"DropdownContentWrapper"),ir=kfe;var E6=u(Ze(),1);pl([Rl,Ky]);var L6=e=>{let t=/var\(/.test(e??""),c=/color-mix\(/.test(e??"");return!t&&!c},D6=(e,t=[],c=!1,n)=>{if(!e)return"";let l=e?L6(e):!1,o=l?et(e).toHex():e,d=c?t:[{colors:t}];for(let{colors:i}of d)for(let{name:r,color:a,slug:s}of i){if(n){if(s===n)return r;continue}let b=l?et(a).toHex():a;if(o===b)return r}return(0,E6.__)("Custom")},zfe=e=>Array.isArray(e.colors)&&!("color"in e),r5=e=>e.length>0&&e.every(t=>zfe(t)),_6=(e,t)=>{if(!e||!t||L6(e))return e;let{ownerDocument:c}=t,{defaultView:n}=c,l=n?.getComputedStyle(t).backgroundColor;return l?et(l).toHex():e};var Gc=u(F(),1),pF="data-wp-hash";function RF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Afe(document)),e.__wpStyleRuntime}function Tfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pF}]`))if(c.getAttribute(pF)===t)return!0;return!1}function M6(e,t,c){if(!e.head)return;let n=RF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Tfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Afe(e){let t=RF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)M6(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Ofe(e,t){let c=RF();c.styles.set(e,t);for(let n of c.documents.keys())M6(n,e,t)}typeof process>"u",Ofe("a7b05d56c7",".cf6db1948d5273a8__color-heading{text-transform:uppercase}.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading{font-size:11px;line-height:24px;margin-bottom:0}");var Qfe={"color-heading":"cf6db1948d5273a8__color-heading"};pl([Rl,Ky]);function P6({className:e,clearColor:t,colors:c,onChange:n,value:l,selectedSlug:o,presentation:d,...i}){let r=(0,$o.useMemo)(()=>c.map(({color:a,name:s,slug:b},m)=>{let X=et(a),G=d!=="command-buttons"&&(o?b===o:l===a);return(0,Gc.jsx)(tl.Option,{isSelected:G,selectedIconProps:G?{color:X.contrast()>X.contrast("#000")?"#fff":"#000"}:{},tooltipText:s||(0,rr.sprintf)((0,rr.__)("Color code: %s"),a),style:{backgroundColor:a,color:a},onClick:G?t:()=>n(a,m,b)},b??`${a}-${m}`)}),[c,l,o,n,t,d]);return(0,Gc.jsx)(tl.OptionGroup,{className:e,options:r,...i})}function K6({className:e,clearColor:t,colors:c,onChange:n,value:l,selectedSlug:o,headingLevel:d,presentation:i}){let r=(0,j6.useInstanceId)(K6,"color-palette");return c.length===0?null:(0,Gc.jsx)(Nt,{spacing:3,className:e,children:c.map(({name:a,colors:s},b)=>{let m=`${r}-${b}`;return(0,Gc.jsxs)(Nt,{spacing:2,children:[(0,Gc.jsx)(Ol,{className:Qfe["color-heading"],id:m,level:d,children:a}),(0,Gc.jsx)(P6,{clearColor:t,colors:s,onChange:(X,G,g)=>n(X,b,g),value:l,selectedSlug:o,presentation:i,"aria-labelledby":m})]},b)})})}function HF({isRenderedInSidebar:e,popoverProps:t,...c}){let n=(0,$o.useMemo)(()=>({shift:!0,resize:!1,...e?{placement:"left-start",offset:34}:{placement:"bottom",offset:8},...t}),[e,t]);return(0,Gc.jsx)($d,{contentClassName:"components-color-palette__custom-color-dropdown-content",popoverProps:n,...c})}function Ufe(e,t){let{asButtons:c,presentation:n,loop:l,clearable:o=!0,colors:d=[],disableCustomColors:i=!1,enableAlpha:r=!1,onChange:a,value:s,selectedSlug:b,__experimentalIsRenderedInSidebar:m=!1,headingLevel:X=2,"aria-label":G,"aria-labelledby":g,...x}=e;dr("ColorPalette",c);let[H,p]=(0,$o.useState)(s),R=(0,$o.useCallback)(()=>a(void 0),[a]),I=(0,$o.useCallback)(J=>{p(_6(s,J))},[s]),f=r5(d),y=(0,$o.useMemo)(()=>D6(s,d,f,b),[s,d,f,b]),Z=()=>(0,Gc.jsx)(ir,{paddingSize:"none",children:(0,Gc.jsx)(ni,{color:H,onChange:J=>a(J),enableAlpha:r})}),W=s?.startsWith("#"),v=s?.replace(/^var\((.+)\)$/,"$1"),h=v?(0,rr.sprintf)((0,rr.__)('Custom color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),y,v):(0,rr.__)("Custom color picker"),{metaProps:C,labelProps:B,resolvedPresentation:V}=Bb(c,l,G,g,n),S={clearColor:R,onChange:a,value:s,selectedSlug:b,presentation:V},Y=!!o&&(0,Gc.jsx)(tl.ButtonAction,{onClick:R,accessibleWhenDisabled:!0,disabled:!s,children:(0,rr.__)("Clear")});return i&&d.length===0&&!Y?null:(0,Gc.jsxs)(Nt,{spacing:3,ref:t,...x,children:[!i&&(0,Gc.jsx)(HF,{isRenderedInSidebar:m,renderContent:Z,renderToggle:({isOpen:J,onToggle:k})=>(0,Gc.jsxs)(Nt,{className:"components-color-palette__custom-color-wrapper",spacing:0,children:[(0,Gc.jsx)("button",{ref:I,className:"components-color-palette__custom-color-button","aria-expanded":J,"aria-haspopup":"true",onClick:k,"aria-label":h,style:{background:s},type:"button"}),(0,Gc.jsxs)(Nt,{className:"components-color-palette__custom-color-text-wrapper",spacing:.5,children:[(0,Gc.jsx)(Pi,{className:"components-color-palette__custom-color-name",children:s?y:(0,rr.__)("No color selected")}),(0,Gc.jsx)(Pi,{className:w("components-color-palette__custom-color-value",{"components-color-palette__custom-color-value--is-hex":W}),children:v})]})]})}),(d.length>0||Y)&&(0,Gc.jsx)(tl,{...C,...B,actions:Y,options:f?(0,Gc.jsx)(K6,{...S,headingLevel:X,colors:d,value:s}):(0,Gc.jsx)(P6,{...S,colors:d,value:s})})]})}var q6=(0,$o.forwardRef)(Ufe);q6.displayName="ColorPalette";var Ca=q6;var pt=u(Ze(),1),li={px:{value:"px",label:"px",a11yLabel:(0,pt.__)("Pixels (px)"),step:1},"%":{value:"%",label:"%",a11yLabel:(0,pt.__)("Percent (%)"),step:.1},em:{value:"em",label:"em",a11yLabel:(0,pt._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:"rem",a11yLabel:(0,pt._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:"vw",a11yLabel:(0,pt.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:"vh",a11yLabel:(0,pt.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:"vmin",a11yLabel:(0,pt.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:"vmax",a11yLabel:(0,pt.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:"ch",a11yLabel:(0,pt.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:"ex",a11yLabel:(0,pt.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:"cm",a11yLabel:(0,pt.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:"mm",a11yLabel:(0,pt.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:"in",a11yLabel:(0,pt.__)("Inches (in)"),step:.001},pc:{value:"pc",label:"pc",a11yLabel:(0,pt.__)("Picas (pc)"),step:1},pt:{value:"pt",label:"pt",a11yLabel:(0,pt.__)("Points (pt)"),step:1},svw:{value:"svw",label:"svw",a11yLabel:(0,pt.__)("Small viewport width (svw)"),step:.1},svh:{value:"svh",label:"svh",a11yLabel:(0,pt.__)("Small viewport height (svh)"),step:.1},svi:{value:"svi",label:"svi",a11yLabel:(0,pt.__)("Small viewport width or height (svi)"),step:.1},svb:{value:"svb",label:"svb",a11yLabel:(0,pt.__)("Small viewport width or height (svb)"),step:.1},svmin:{value:"svmin",label:"svmin",a11yLabel:(0,pt.__)("Small viewport smallest dimension (svmin)"),step:.1},lvw:{value:"lvw",label:"lvw",a11yLabel:(0,pt.__)("Large viewport width (lvw)"),step:.1},lvh:{value:"lvh",label:"lvh",a11yLabel:(0,pt.__)("Large viewport height (lvh)"),step:.1},lvi:{value:"lvi",label:"lvi",a11yLabel:(0,pt.__)("Large viewport width or height (lvi)"),step:.1},lvb:{value:"lvb",label:"lvb",a11yLabel:(0,pt.__)("Large viewport width or height (lvb)"),step:.1},lvmin:{value:"lvmin",label:"lvmin",a11yLabel:(0,pt.__)("Large viewport smallest dimension (lvmin)"),step:.1},dvw:{value:"dvw",label:"dvw",a11yLabel:(0,pt.__)("Dynamic viewport width (dvw)"),step:.1},dvh:{value:"dvh",label:"dvh",a11yLabel:(0,pt.__)("Dynamic viewport height (dvh)"),step:.1},dvi:{value:"dvi",label:"dvi",a11yLabel:(0,pt.__)("Dynamic viewport width or height (dvi)"),step:.1},dvb:{value:"dvb",label:"dvb",a11yLabel:(0,pt.__)("Dynamic viewport width or height (dvb)"),step:.1},dvmin:{value:"dvmin",label:"dvmin",a11yLabel:(0,pt.__)("Dynamic viewport smallest dimension (dvmin)"),step:.1},dvmax:{value:"dvmax",label:"dvmax",a11yLabel:(0,pt.__)("Dynamic viewport largest dimension (dvmax)"),step:.1},svmax:{value:"svmax",label:"svmax",a11yLabel:(0,pt.__)("Small viewport largest dimension (svmax)"),step:.1},lvmax:{value:"lvmax",label:"lvmax",a11yLabel:(0,pt.__)("Large viewport largest dimension (lvmax)"),step:.1}},a5=Object.values(li),s5=[li.px,li["%"],li.em,li.rem,li.vw,li.vh],Efe=li.px;function IF(e,t,c){let n=t?`${e??""}${t}`:e;return Yc(n,c)}function b5(e){return Array.isArray(e)&&!!e.length}function Yc(e,t=a5){let c,n;if(typeof e<"u"||e===null){c=`${e}`.trim();let i=parseFloat(c);n=isFinite(i)?i:void 0}let o=c?.match(/[\d.\-\+]*\s*(.*)/)?.[1]?.toLowerCase(),d;return b5(t)?d=t.find(r=>r.value===o)?.value:d=Efe.value,[n,d]}function $6(e,t,c,n){let[l,o]=Yc(e,t),d=l??c,i=o||n;return!i&&b5(t)&&(i=t[0].value),[d,i]}function Lfe(e=[],t){return Array.isArray(t)?t.filter(c=>e.includes(c.value)):[]}var Vx=({units:e=a5,availableUnits:t=[],defaultValues:c})=>{let n=Lfe(t,e);return c?n.map(l=>{let[o]=c[l.value]?Yc(c[l.value]):[];return{...l,default:o}}):n};function e4(e,t,c=a5){let n=Array.isArray(c)?[...c]:[],[,l]=IF(e,t,a5);return l&&!n.some(o=>o.value===l)&&li[l]&&n.unshift(li[l]),n}var ZF="data-wp-hash";function fF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_fe(document)),e.__wpStyleRuntime}function Dfe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ZF}]`))if(c.getAttribute(ZF)===t)return!0;return!1}function t4(e,t,c){if(!e.head)return;let n=fF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Dfe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ZF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function _fe(e){let t=fF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)t4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function jfe(e,t){let c=fF();c.styles.set(e,t);for(let n of c.documents.keys())t4(n,e,t)}typeof process>"u",jfe("749bb52757",".a8578c10ef7219f5__border-control{border:0;box-sizing:border-box;margin:0;padding:0}.a8578c10ef7219f5__border-control *,.a8578c10ef7219f5__border-control :after,.a8578c10ef7219f5__border-control :before{box-sizing:inherit}._89d98624def50ba2__inner-wrapper{height:40px}._89d98624def50ba2__inner-wrapper .components-unit-control{flex:1 1 40%}._89d98624def50ba2__inner-wrapper._89d98624def50ba2__inner-wrapper .components-unit-control__select.components-unit-control__select{min-height:0}._43dbe0f5c56003a8__inner-wrapper-has-width .components-unit-control{flex:0 0 auto}._25a20fddf2bf261f__dropdown{background:#fff}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button{align-items:center;aspect-ratio:1;border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-end-end-radius:0;border-end-start-radius:2px;border-start-end-radius:0;border-start-start-radius:2px;display:flex;justify-content:center;padding:0}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:focus,._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:hover:not(:disabled){border-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));box-shadow:inset 0 0 0 .5px var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));position:relative;z-index:1}._956b765a9ec7feba__color-indicator-wrapper{border:2px solid transparent;border-radius:9999px;height:24px;padding:2px;width:24px}._956b765a9ec7feba__color-indicator-wrapper>span{background:linear-gradient(-45deg,transparent 48%,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 52%,transparent 0);height:16px;width:16px}.a0c5666db3f5f599__popover-controls{width:228px}._115e648628de896b__reset-button-wrapper{display:flex;justify-content:flex-end;margin-block-start:12px}.e9089c561edcd13a__slider{flex:1 1 60%;margin-inline-end:12px}");var u5={"border-control":"a8578c10ef7219f5__border-control","inner-wrapper":"_89d98624def50ba2__inner-wrapper","inner-wrapper-has-width":"_43dbe0f5c56003a8__inner-wrapper-has-width",dropdown:"_25a20fddf2bf261f__dropdown","color-indicator-wrapper":"_956b765a9ec7feba__color-indicator-wrapper","popover-controls":"a0c5666db3f5f599__popover-controls","reset-button-wrapper":"_115e648628de896b__reset-button-wrapper",slider:"e9089c561edcd13a__slider"};function c4(e){let{border:t,className:c,colors:n=[],enableAlpha:l=!1,enableStyle:o=!0,onChange:d,previousStyleSelection:i,__experimentalIsRenderedInSidebar:r=!1,...a}=ae(e,"BorderControlDropdown"),[s]=Yc(t?.width),b=s===0,m=p=>{let R=t?.style==="none"?i:t?.style,I=b&&p?"1px":t?.width;d({color:p,style:R,width:I})},X=p=>{let R=b&&p?"1px":t?.width;d({...t,style:p,width:R})},G=()=>{d({...t,color:void 0,style:void 0})},g=w(u5.dropdown,c),{color:x,style:H}=t||{};return{...a,border:t,className:g,colors:n,enableAlpha:l,enableStyle:o,indicatorWrapperClassName:u5["color-indicator-wrapper"],indicatorWrapperStyle:H?{borderStyle:H==="none"?"solid":H,borderColor:x||(H!=="none"?oe.gray[300]:void 0)}:void 0,onColorChange:m,onStyleChange:X,onReset:G,popoverControlsClassName:u5["popover-controls"],resetButtonWrapperClassName:u5["reset-button-wrapper"],__experimentalIsRenderedInSidebar:r}}var cl=u(F(),1),m5=e=>e.replace(/^var\((.+)\)$/,"$1"),Mfe=(e,t)=>{if(!(!e||!t)){if(r5(t)){let c;return t.some(n=>n.colors.some(l=>l.color===e?(c=l,!0):!1)),c}return t.find(c=>c.color===e)}},Pfe=(e,t,c,n)=>{if(n){if(t){let l=m5(t.color);return c?(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s". The currently selected style is "%3$s".'),t.name,l,c):(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),t.name,l)}if(e){let l=m5(e);return c?(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color has a value of "%1$s". The currently selected style is "%2$s".'),l,c):(0,Qc.sprintf)((0,Qc.__)('Border color and style picker. The currently selected color has a value of "%s".'),l)}return(0,Qc.__)("Border color and style picker.")}return t?(0,Qc.sprintf)((0,Qc.__)('Border color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),t.name,m5(t.color)):e?(0,Qc.sprintf)((0,Qc.__)('Border color picker. The currently selected color has a value of "%s".'),m5(e)):(0,Qc.__)("Border color picker.")},Kfe=(e,t)=>{let{__experimentalIsRenderedInSidebar:c,border:n,colors:l,disableCustomColors:o,enableAlpha:d,enableStyle:i,indicatorWrapperClassName:r,indicatorWrapperStyle:a,isStyleSettable:s,onReset:b,onColorChange:m,onStyleChange:X,popoverControlsClassName:G,resetButtonWrapperClassName:g,__unstablePopoverProps:x,...H}=c4(e),{color:p,style:R}=n||{},I=Mfe(p,l),f=Pfe(p,I,R,i),y=p||R&&R!=="none",Z=c?"bottom left":void 0;return(0,cl.jsx)($d,{renderToggle:({onToggle:h})=>(0,cl.jsx)(be,{onClick:h,variant:"tertiary","aria-label":f,tooltipPosition:Z,label:(0,Qc.__)("Border color and style picker"),showTooltip:!0,__next40pxDefaultSize:!0,children:(0,cl.jsx)("span",{className:r,style:a,children:(0,cl.jsx)(qd,{colorValue:p})})}),renderContent:()=>(0,cl.jsx)(cl.Fragment,{children:(0,cl.jsxs)(ir,{paddingSize:"medium",children:[(0,cl.jsxs)(Nt,{className:G,spacing:6,children:[(0,cl.jsx)(Ca,{value:p,onChange:m,colors:l,disableCustomColors:o,__experimentalIsRenderedInSidebar:c,clearable:!1,enableAlpha:d}),i&&s&&(0,cl.jsx)(eF,{label:(0,Qc.__)("Style"),value:R,onChange:X})]}),(0,cl.jsx)("div",{className:g,children:(0,cl.jsx)(be,{variant:"tertiary",onClick:()=>{b()},disabled:!y,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,Qc.__)("Reset")})})]})}),popoverProps:{...x},...H,ref:t})},qfe=ie(Kfe,"BorderControlDropdown"),yF=qfe;var a4=u(Xt(),1),Fa=u(T(),1),s4=u(Ze(),1);var n4=q($n,{target:"e1bagdl32"})("&&&{input{display:block;width:100%;}",Mo,"{transition:box-shadow 0.1s linear;}}"),l4=({selectSize:e})=>({small:Re("box-sizing:border-box;padding:2px 1px;width:20px;font-size:8px;line-height:1;letter-spacing:-0.5px;text-transform:uppercase;text-align-last:center;&:not( :disabled ){color:",oe.gray[800],";}",""),default:Re("box-sizing:border-box;min-width:24px;max-width:48px;height:24px;margin-inline-end:",K(2),";padding:",K(1),";font-size:13px;line-height:1;text-align-last:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;field-sizing:content;&:not( :disabled ){color:",oe.theme.accent,";}","")})[e],o4=q("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",l4,";color:",oe.gray[900],";}"),$fe=({selectSize:e="default"})=>({small:Re("height:100%;border:1px solid transparent;transition:box-shadow 0.1s linear,border 0.1s linear;",yc({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," &:not(:disabled):hover{background-color:",oe.gray[100],";}&:focus{border:1px solid ",oe.ui.borderFocus,";box-shadow:inset 0 0 0 ",de.borderWidth+" "+oe.ui.borderFocus,";outline-offset:0;outline:2px solid transparent;z-index:1;}",""),default:Re("display:flex;justify-content:center;align-items:center;&:where( :not( :disabled ) ):hover{box-shadow:0 0 0 ",de.borderWidth+" "+oe.ui.borderFocus,";outline:",de.borderWidth," solid transparent;}&:focus{box-shadow:0 0 0 ",de.borderWidthFocus+" "+oe.ui.borderFocus,";outline:",de.borderWidthFocus," solid transparent;}","")})[e],d4=q("select",{target:"e1bagdl30"})("&&&{appearance:none;background:transparent;border-radius:",de.radiusXSmall,";border:none;display:block;outline:none;margin:0;min-height:auto;font-family:inherit;",l4,";",$fe,";&:not( :disabled ){cursor:pointer;}}");var i4=u(T(),1);var X5=u(F(),1);function eye({className:e,isUnitSelectTabbable:t=!0,onChange:c,size:n="default",unit:l="px",units:o=s5,...d},i){if(!b5(o)||o?.length===1)return(0,X5.jsx)(o4,{className:"components-unit-control__unit-label",selectSize:n,children:l});let r=s=>{let{value:b}=s.target,m=o.find(X=>X.value===b);c?.(b,{event:s,data:m})},a=w("components-unit-control__select",e);return(0,X5.jsx)(d4,{ref:i,className:a,onChange:r,selectSize:n,tabIndex:t?void 0:-1,value:l,...d,children:o.map(s=>(0,X5.jsx)("option",{value:s.value,children:s.label},s.value))})}var r4=(0,i4.forwardRef)(eye);var WF=u(F(),1);function tye(e,t){let{__unstableStateReducer:c,autoComplete:n="off",children:l,className:o,disabled:d=!1,disableUnits:i=!1,isPressEnterToChange:r=!1,isResetValueOnUnitChange:a=!1,isUnitSelectTabbable:s=!0,label:b,onChange:m,onUnitChange:X,size:G="default",unit:g,units:x=s5,value:H,onFocus:p,...R}=e;"unit"in e&&(0,a4.default)("UnitControl unit prop",{since:"5.6",hint:"The unit should be provided within the `value` prop.",version:"6.2"});let I=H??void 0,[f,y]=(0,Fa.useMemo)(()=>{let N=e4(I,g,x),[{value:A=""}={},...Q]=N,z=Q.reduce((D,{value:U})=>{let O=gb(U?.substring(0,1)||"");return D.includes(O)?D:`${D}|${O}`},gb(A.substring(0,1)));return[N,new RegExp(`^(?:${z})$`,"i")]},[I,g,x]),[Z,W]=IF(I,g,f),[v,h]=Ei(f.length===1?f[0].value:g,{initial:W,fallback:""});(0,Fa.useEffect)(()=>{W!==void 0&&h(W)},[W,h]);let C=w("components-unit-control","components-unit-control-wrapper",o),B=(N,A)=>{if(N===""||typeof N>"u"||N===null){m?.("",A);return}let Q=$6(N,f,Z,v).join("");m?.(Q,A)},V=(N,A)=>{let{data:Q}=A,z=`${Z??""}${N}`;a&&Q?.default!==void 0&&(z=`${Q.default}${N}`),m?.(z,A),X?.(N,A),h(N)},S;!i&&s&&f.length&&(S=N=>{R.onKeyDown?.(N),!N.metaKey&&!N.ctrlKey&&y.test(N.key)&&Y.current?.focus()});let Y=(0,Fa.useRef)(null),J=i?null:(0,WF.jsx)(r4,{ref:Y,"aria-label":(0,s4.__)("Select unit"),disabled:d,isUnitSelectTabbable:s,onChange:V,size:["small","compact"].includes(G)?"small":"default",unit:v,units:f,onFocus:p,onBlur:e.onBlur}),k=R.step;return!k&&f&&(k=f.find(A=>A.value===v)?.step??1),(0,WF.jsx)(n4,{...R,autoComplete:n,className:C,disabled:d,spinControls:"none",isPressEnterToChange:r,label:b,onKeyDown:S,onChange:B,ref:t,size:G,suffix:J,type:r?"text":"number",value:Z??"",step:k,onFocus:p,__unstableStateReducer:c})}var b4=(0,Fa.forwardRef)(tye);b4.displayName="UnitControl";var oi=b4;var Vb=u(T(),1);var hF="data-wp-hash";function BF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&nye(document)),e.__wpStyleRuntime}function cye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${hF}]`))if(c.getAttribute(hF)===t)return!0;return!1}function m4(e,t,c){if(!e.head)return;let n=BF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(cye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(hF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function nye(e){let t=BF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)m4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function lye(e,t){let c=BF();c.styles.set(e,t);for(let n of c.documents.keys())m4(n,e,t)}typeof process>"u",lye("749bb52757",".a8578c10ef7219f5__border-control{border:0;box-sizing:border-box;margin:0;padding:0}.a8578c10ef7219f5__border-control *,.a8578c10ef7219f5__border-control :after,.a8578c10ef7219f5__border-control :before{box-sizing:inherit}._89d98624def50ba2__inner-wrapper{height:40px}._89d98624def50ba2__inner-wrapper .components-unit-control{flex:1 1 40%}._89d98624def50ba2__inner-wrapper._89d98624def50ba2__inner-wrapper .components-unit-control__select.components-unit-control__select{min-height:0}._43dbe0f5c56003a8__inner-wrapper-has-width .components-unit-control{flex:0 0 auto}._25a20fddf2bf261f__dropdown{background:#fff}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button{align-items:center;aspect-ratio:1;border:1px solid var(--wp-components-color-gray-600,var(--wpds-color-stroke-interactive-neutral,#8d8d8d));border-end-end-radius:0;border-end-start-radius:2px;border-start-end-radius:0;border-start-start-radius:2px;display:flex;justify-content:center;padding:0}._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:focus,._25a20fddf2bf261f__dropdown._25a20fddf2bf261f__dropdown>button:hover:not(:disabled){border-color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));box-shadow:inset 0 0 0 .5px var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9));position:relative;z-index:1}._956b765a9ec7feba__color-indicator-wrapper{border:2px solid transparent;border-radius:9999px;height:24px;padding:2px;width:24px}._956b765a9ec7feba__color-indicator-wrapper>span{background:linear-gradient(-45deg,transparent 48%,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 52%,transparent 0);height:16px;width:16px}.a0c5666db3f5f599__popover-controls{width:228px}._115e648628de896b__reset-button-wrapper{display:flex;justify-content:flex-end;margin-block-start:12px}.e9089c561edcd13a__slider{flex:1 1 60%;margin-inline-end:12px}");var G5={"border-control":"a8578c10ef7219f5__border-control","inner-wrapper":"_89d98624def50ba2__inner-wrapper","inner-wrapper-has-width":"_43dbe0f5c56003a8__inner-wrapper-has-width",dropdown:"_25a20fddf2bf261f__dropdown","color-indicator-wrapper":"_956b765a9ec7feba__color-indicator-wrapper","popover-controls":"a0c5666db3f5f599__popover-controls","reset-button-wrapper":"_115e648628de896b__reset-button-wrapper",slider:"e9089c561edcd13a__slider"},u4=e=>{let t=e?.width!==void 0&&e.width!=="",c=e?.color!==void 0;return t||c};function X4(e){let{className:t,colors:c=[],isCompact:n,onChange:l,enableAlpha:o=!0,enableStyle:d=!0,shouldSanitizeBorder:i=!0,value:r,width:a,__experimentalIsRenderedInSidebar:s=!1,size:b,__next40pxDefaultSize:m,...X}=ae(e,"BorderControl"),[G,g]=Yc(r?.width),x=g||"px",H=G===0,[p,R]=(0,Vb.useState)(),[I,f]=(0,Vb.useState)(),y=i?u4(r):!0,Z=(0,Vb.useCallback)(S=>{if(i&&!u4(S)){l(void 0);return}l(S)},[l,i]),W=(0,Vb.useCallback)(S=>{let Y=S===""?void 0:S,[J]=Yc(S),k=J===0,N={...r,width:Y};k&&!H&&(R(r?.color),f(r?.style),N.color=void 0,N.style="none"),!k&&H&&(N.color===void 0&&(N.color=p),N.style==="none"&&(N.style=I)),Z(N)},[r,H,p,I,Z]),v=(0,Vb.useCallback)(S=>{W(`${S}${x}`)},[W,x]),h=w(G5["border-control"],t),C=a;n&&(C="116px");let B=w(G5["inner-wrapper"],!!C&&G5["inner-wrapper-has-width"]),V=G5.slider;return{...X,className:h,colors:c,enableAlpha:o,enableStyle:d,innerWrapperClassName:B,inputWidth:C,isStyleSettable:y,onBorderChange:Z,onSliderChange:v,onWidthChange:W,previousStyleSelection:I,sliderClassName:V,value:r,widthUnit:x,widthValue:G,__experimentalIsRenderedInSidebar:s}}var ed=u(F(),1),oye=e=>{let{label:t,hideLabelFromVision:c}=e;return t?c?(0,ed.jsx)(bt,{as:"legend",children:t}):(0,ed.jsx)(xa,{as:"legend",children:t}):null},dye=(e,t)=>{let{colors:c,disableCustomColors:n,disableUnits:l,enableAlpha:o,enableStyle:d,hideLabelFromVision:i,innerWrapperClassName:r,inputWidth:a,isStyleSettable:s,label:b,onBorderChange:m,onSliderChange:X,onWidthChange:G,placeholder:g,__unstablePopoverProps:x,previousStyleSelection:H,showDropdownHeader:p,sliderClassName:R,value:I,widthUnit:f,widthValue:y,withSlider:Z,__experimentalIsRenderedInSidebar:W,...v}=X4(e);return(0,ed.jsxs)(Ce,{as:"fieldset",...v,ref:t,children:[(0,ed.jsx)(oye,{label:b,hideLabelFromVision:i}),(0,ed.jsxs)(xt,{spacing:4,className:r,children:[(0,ed.jsx)(oi,{prefix:(0,ed.jsx)(Pc,{marginRight:1,marginBottom:0,children:(0,ed.jsx)(yF,{border:I,colors:c,__unstablePopoverProps:x,disableCustomColors:n,enableAlpha:o,enableStyle:d,isStyleSettable:s,onChange:m,previousStyleSelection:H,__experimentalIsRenderedInSidebar:W})}),label:(0,vF.__)("Border width"),hideLabelFromVision:!0,min:0,onChange:G,value:I?.width||"",placeholder:g,disableUnits:l,__unstableInputWidth:a}),Z&&(0,ed.jsx)(Al,{label:(0,vF.__)("Border width"),hideLabelFromVision:!0,className:R,initialPosition:0,max:100,min:0,onChange:X,step:["px","%"].includes(f)?1:.1,value:y||void 0,withInputField:!1})]})]})},iye=ie(dye,"BorderControl"),td=iye;var rye={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function G4(e){return e?rye[e]??{}:{}}var VF="data-wp-hash";function CF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&sye(document)),e.__wpStyleRuntime}function aye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VF}]`))if(c.getAttribute(VF)===t)return!0;return!1}function g4(e,t,c){if(!e.head)return;let n=CF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(aye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function sye(e){let t=CF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)g4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function bye(e,t){let c=CF();c.styles.set(e,t);for(let n of c.documents.keys())g4(n,e,t)}typeof process>"u",bye("79bac25858","._631b7063b4047c89__grid{--wp-components-grid-align:initial;--wp-components-grid-justify:initial;--wp-components-grid-gap:initial;--wp-components-grid-template-columns:initial;--wp-components-grid-template-rows:initial;--wp-components-grid-row-gap:initial;--wp-components-grid-column-gap:initial;display:grid}._631b7063b4047c89__grid:not(:where(._51fa5e5688d538e7__row-gap-inherit,._3940112538797bb2__row-gap-initial,._9dc0e80dad95eb11__row-gap-unset,._964ec4132d3d0776__row-gap-revert,._9219888d7c4749d5__row-gap-revert-layer)){row-gap:var(--wp-components-grid-row-gap,calc(4px*var(--wp-components-grid-gap)))}._631b7063b4047c89__grid:not(:where(._149fd947497e8690__column-gap-inherit,.a018e74b0f04c517__column-gap-initial,.b1e45f9587eb70e5__column-gap-unset,._4da312511f64af94__column-gap-revert,.b51ead67217c210a__column-gap-revert-layer)){column-gap:var(--wp-components-grid-column-gap,calc(4px*var(--wp-components-grid-gap)))}._4cae76607d36422b__has-align:not(:where(._2c693b642b24e0d9__align-inherit,.fd4c5676ad7e83d4__align-initial,.c4c0cde44ab0ed21__align-unset,._8c23efb61db2f04e__align-revert,.c3adc4c41efa56d1__align-revert-layer)){align-items:var(--wp-components-grid-align)}._9bcd99517d001b4b__has-justify:not(:where(.a72d35ee0eda5e6b__justify-inherit,.d386403fd02ebc45__justify-initial,._7d60510a69e8ddf9__justify-unset,._857dfb6521d0cae3__justify-revert,._1537fff8402f1ca1__justify-revert-layer)){justify-content:var(--wp-components-grid-justify)}._983f7df07cd35a72__has-template-columns:not(:where(.df2216db1a717825__template-columns-inherit,._9016934ed273a0b8__template-columns-initial,._74966333f352d829__template-columns-unset,.b3ce45d005011688__template-columns-revert,._9ff0250b9bed5764__template-columns-revert-layer)){grid-template-columns:var(--wp-components-grid-template-columns)}._7e0fa0c081c20f6e__has-template-rows:not(:where(._10cfd24f62672d27__template-rows-inherit,.da1333be6b2af8c3__template-rows-initial,._919938d55c0cf234__template-rows-unset,.db40efe5796b7ffb__template-rows-revert,._1080cc5b99823c58__template-rows-revert-layer)){grid-template-rows:var(--wp-components-grid-template-rows)}.f4729d54fca65af1__is-inline{display:inline-grid;vertical-align:middle}._2c693b642b24e0d9__align-inherit{align-items:inherit}.fd4c5676ad7e83d4__align-initial{align-items:normal}.c4c0cde44ab0ed21__align-unset{align-items:unset}._8c23efb61db2f04e__align-revert{align-items:revert}.c3adc4c41efa56d1__align-revert-layer{align-items:revert-layer}.a72d35ee0eda5e6b__justify-inherit{justify-content:inherit}.d386403fd02ebc45__justify-initial{justify-content:normal}._7d60510a69e8ddf9__justify-unset{justify-content:unset}._857dfb6521d0cae3__justify-revert{justify-content:revert}._1537fff8402f1ca1__justify-revert-layer{justify-content:revert-layer}.df2216db1a717825__template-columns-inherit{grid-template-columns:inherit}._9016934ed273a0b8__template-columns-initial{grid-template-columns:none}._74966333f352d829__template-columns-unset{grid-template-columns:unset}.b3ce45d005011688__template-columns-revert{grid-template-columns:revert}._9ff0250b9bed5764__template-columns-revert-layer{grid-template-columns:revert-layer}._10cfd24f62672d27__template-rows-inherit{grid-template-rows:inherit}.da1333be6b2af8c3__template-rows-initial{grid-template-rows:none}._919938d55c0cf234__template-rows-unset{grid-template-rows:unset}.db40efe5796b7ffb__template-rows-revert{grid-template-rows:revert}._1080cc5b99823c58__template-rows-revert-layer{grid-template-rows:revert-layer}._51fa5e5688d538e7__row-gap-inherit{row-gap:inherit}._3940112538797bb2__row-gap-initial{row-gap:normal}._9dc0e80dad95eb11__row-gap-unset{row-gap:unset}._964ec4132d3d0776__row-gap-revert{row-gap:revert}._9219888d7c4749d5__row-gap-revert-layer{row-gap:revert-layer}._149fd947497e8690__column-gap-inherit{column-gap:inherit}.a018e74b0f04c517__column-gap-initial{column-gap:normal}.b1e45f9587eb70e5__column-gap-unset{column-gap:unset}._4da312511f64af94__column-gap-revert{column-gap:revert}.b51ead67217c210a__column-gap-revert-layer{column-gap:revert-layer}");var Cb={grid:"_631b7063b4047c89__grid","row-gap-inherit":"_51fa5e5688d538e7__row-gap-inherit","row-gap-initial":"_3940112538797bb2__row-gap-initial","row-gap-unset":"_9dc0e80dad95eb11__row-gap-unset","row-gap-revert":"_964ec4132d3d0776__row-gap-revert","row-gap-revert-layer":"_9219888d7c4749d5__row-gap-revert-layer","column-gap-inherit":"_149fd947497e8690__column-gap-inherit","column-gap-initial":"a018e74b0f04c517__column-gap-initial","column-gap-unset":"b1e45f9587eb70e5__column-gap-unset","column-gap-revert":"_4da312511f64af94__column-gap-revert","column-gap-revert-layer":"b51ead67217c210a__column-gap-revert-layer","has-align":"_4cae76607d36422b__has-align","align-inherit":"_2c693b642b24e0d9__align-inherit","align-initial":"fd4c5676ad7e83d4__align-initial","align-unset":"c4c0cde44ab0ed21__align-unset","align-revert":"_8c23efb61db2f04e__align-revert","align-revert-layer":"c3adc4c41efa56d1__align-revert-layer","has-justify":"_9bcd99517d001b4b__has-justify","justify-inherit":"a72d35ee0eda5e6b__justify-inherit","justify-initial":"d386403fd02ebc45__justify-initial","justify-unset":"_7d60510a69e8ddf9__justify-unset","justify-revert":"_857dfb6521d0cae3__justify-revert","justify-revert-layer":"_1537fff8402f1ca1__justify-revert-layer","has-template-columns":"_983f7df07cd35a72__has-template-columns","template-columns-inherit":"df2216db1a717825__template-columns-inherit","template-columns-initial":"_9016934ed273a0b8__template-columns-initial","template-columns-unset":"_74966333f352d829__template-columns-unset","template-columns-revert":"b3ce45d005011688__template-columns-revert","template-columns-revert-layer":"_9ff0250b9bed5764__template-columns-revert-layer","has-template-rows":"_7e0fa0c081c20f6e__has-template-rows","template-rows-inherit":"_10cfd24f62672d27__template-rows-inherit","template-rows-initial":"da1333be6b2af8c3__template-rows-initial","template-rows-unset":"_919938d55c0cf234__template-rows-unset","template-rows-revert":"db40efe5796b7ffb__template-rows-revert","template-rows-revert-layer":"_1080cc5b99823c58__template-rows-revert-layer","is-inline":"f4729d54fca65af1__is-inline"},uye=new Set(["inherit","initial","unset","revert","revert-layer"]);function T0(e){return typeof e=="number"?`${e}px`:e?.trim()||void 0}function x4(e){let{align:t,alignment:c,className:n,columnGap:l,columns:o=2,gap:d=3,isInline:i=!1,justify:r,rowGap:a,rows:s,style:b,templateColumns:m,templateRows:X,...G}=ae(e,"Grid"),g=Array.isArray(o)?o:[o],x=Tg(g),H=Array.isArray(s)?s:[s],p=Tg(H),R=m||!!x&&`repeat( ${x}, 1fr )`,I=X||!!p&&`repeat( ${p}, 1fr )`,f=G4(c),y={align:f.alignItems??t,justify:f.justifyContent??r,"template-columns":R||void 0,"template-rows":I||void 0,"row-gap":a,"column-gap":l};return{...G,className:w(Cb.grid,{[Cb["is-inline"]]:i,[Cb["has-align"]]:!!y.align?.trim(),[Cb["has-justify"]]:!!y.justify?.trim(),[Cb["has-template-columns"]]:!!T0(y["template-columns"]),[Cb["has-template-rows"]]:!!T0(y["template-rows"])},Object.entries(y).map(([Z,W])=>{let v=typeof W=="string"?W.trim().toLowerCase():"";return uye.has(v)&&Cb[`${Z}-${v}`]}),n),style:{"--wp-components-grid-align":y.align,"--wp-components-grid-justify":y.justify,"--wp-components-grid-gap":d,"--wp-components-grid-template-columns":T0(y["template-columns"]),"--wp-components-grid-template-rows":T0(y["template-rows"]),"--wp-components-grid-row-gap":T0(a),"--wp-components-grid-column-gap":T0(l),...b}}}var p4=u(F(),1);function mye(e,t){let c=x4(e);return(0,p4.jsx)(Ce,{...c,ref:t})}var Xye=ie(mye,"Grid"),cd=Xye;var JF="data-wp-hash";function YF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gye(document)),e.__wpStyleRuntime}function Gye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${JF}]`))if(c.getAttribute(JF)===t)return!0;return!1}function R4(e,t,c){if(!e.head)return;let n=YF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Gye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(JF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gye(e){let t=YF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)R4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xye(e,t){let c=YF();c.styles.set(e,t);for(let n of c.documents.keys())R4(n,e,t)}typeof process>"u",xye("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var FF={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function H4(e){let{className:t,colors:c=[],enableAlpha:n=!1,enableStyle:l=!0,__experimentalIsRenderedInSidebar:o=!1,...d}=ae(e,"BorderBoxControlSplitControls");return{...d,centeredClassName:w(FF["centered-border-control"],t),className:w(FF["split-controls"],t),colors:c,enableAlpha:n,enableStyle:l,rightAlignedClassName:w(FF["right-border-control"],t),__experimentalIsRenderedInSidebar:o}}var Ja=u(F(),1),pye=(e,t)=>{let{centeredClassName:c,colors:n,disableCustomColors:l,enableAlpha:o,enableStyle:d,onChange:i,popoverPlacement:r,popoverOffset:a,rightAlignedClassName:s,value:b,__experimentalIsRenderedInSidebar:m,...X}=H4(e),[G,g]=(0,g5.useState)(null),x=(0,g5.useMemo)(()=>r?{placement:r,offset:a,anchor:G,shift:!0}:void 0,[r,a,G]),H={colors:n,disableCustomColors:l,enableAlpha:o,enableStyle:d,isCompact:!0,__experimentalIsRenderedInSidebar:m},p=(0,I4.useMergeRefs)([g,t]);return(0,Ja.jsxs)(cd,{...X,ref:p,gap:3,children:[(0,Ja.jsx)(OC,{value:b}),(0,Ja.jsx)(td,{className:c,hideLabelFromVision:!0,label:(0,Cx.__)("Top border"),onChange:R=>i(R,"top"),__unstablePopoverProps:x,value:b?.top,...H}),(0,Ja.jsx)(td,{hideLabelFromVision:!0,label:(0,Cx.__)("Left border"),onChange:R=>i(R,"left"),__unstablePopoverProps:x,value:b?.left,...H}),(0,Ja.jsx)(td,{className:s,hideLabelFromVision:!0,label:(0,Cx.__)("Right border"),onChange:R=>i(R,"right"),__unstablePopoverProps:x,value:b?.right,...H}),(0,Ja.jsx)(td,{className:c,hideLabelFromVision:!0,label:(0,Cx.__)("Bottom border"),onChange:R=>i(R,"bottom"),__unstablePopoverProps:x,value:b?.bottom,...H})]})},Rye=ie(pye,"BorderBoxControlSplitControls"),NF=Rye;var v4=u(T(),1);var Hye=/^([\d.\-+]*)\s*(fr|cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|vw|vh|vmin|vmax|%|cap|ic|rlh|vi|vb|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx|svw|lvw|dvw|svh|lvh|dvh|svi|lvi|dvi|svb|lvb|dvb|svmin|lvmin|dvmin|svmax|lvmax|dvmax)?$/;function Z4(e){let c=e.trim().match(Hye);if(!c)return[void 0,void 0];let[,n,l]=c,o=parseFloat(n);return o=Number.isNaN(o)?void 0:o,[o,l]}var x5=["top","right","bottom","left"],f4=["color","style","width"],di=e=>e?!f4.some(t=>e[t]!==void 0):!0,SF=e=>e?Fb(e)?!x5.every(c=>di(e[c])):!di(e):!1,y4=e=>e?f4.every(t=>e[t]!==void 0):!1,Fb=(e={})=>Object.keys(e).some(t=>x5.indexOf(t)!==-1),p5=e=>{if(!Fb(e))return!1;let t=x5.map(c=>Iye(e?.[c]));return!t.every(c=>c===t[0])},W4=e=>{if(!(!e||di(e)))return{top:e,right:e,bottom:e,left:e}},h4=(e,t)=>{let c={};return e.color!==t.color&&(c.color=t.color),e.style!==t.style&&(c.style=t.style),e.width!==t.width&&(c.width=t.width),c},B4=e=>{if(!e)return;let t=[],c=[],n=[];x5.forEach(i=>{t.push(e[i]?.color),c.push(e[i]?.style),n.push(e[i]?.width)});let l=t.every(i=>i===t[0]),o=c.every(i=>i===c[0]),d=n.every(i=>i===n[0]);return{color:l?t[0]:void 0,style:o?c[0]:void 0,width:d?n[0]:Zye(n)}},Iye=(e,t)=>{if(di(e))return t;let{color:c,style:n,width:l}=t||{},{color:o=c,style:d=n,width:i=l}=e;return[i,!!i&&i!=="0"||!!o?d||"solid":d,o].filter(Boolean).join(" ")},Zye=e=>{let c=e.map(n=>n===void 0?void 0:Z4(`${n}`)[1]).filter(n=>n!==void 0);return fye(c)};function fye(e){if(e.length===0)return;let t={},c=0,n;return e.forEach(l=>{t[l]=t[l]===void 0?1:t[l]+1,t[l]>c&&(n=l,c=t[l])}),n}var wF="data-wp-hash";function kF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Wye(document)),e.__wpStyleRuntime}function yye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${wF}]`))if(c.getAttribute(wF)===t)return!0;return!1}function V4(e,t,c){if(!e.head)return;let n=kF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(yye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(wF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Wye(e){let t=kF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)V4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function hye(e,t){let c=kF();c.styles.set(e,t);for(let n of c.documents.keys())V4(n,e,t)}typeof process>"u",hye("aabfd0c968",".fa6e6c2331986855__linked-border-control.fa6e6c2331986855__linked-border-control{flex:1;margin-inline-end:24px}._6a6edeeb175d724f__linked-border-control-full-width._6a6edeeb175d724f__linked-border-control-full-width{margin-inline-end:0}.f5104488f80fa50f__header{margin-bottom:4px}.f5104488f80fa50f__header>span{margin-bottom:0}._48f63719b9dc7e1a__wrapper{position:relative}._48f63719b9dc7e1a__wrapper ._902e774d37b6698b__linked-button{inset-inline-end:0;position:absolute;top:8px}._902e774d37b6698b__linked-button{line-height:0}._5978f65e1d08de6c__visualizer{border-bottom:var(--wp-components-border-box-visualizer-bottom);border-inline-end:var(--wp-components-border-box-visualizer-end);border-inline-start:var(--wp-components-border-box-visualizer-start);border-top:var(--wp-components-border-box-visualizer-top);bottom:20px;position:absolute;top:20px;inset-inline:39px}.afa8e78cec6a9f62__split-controls{flex:1;position:relative}.ec002fcdf4036950__centered-border-control{grid-column:span 2}.ec002fcdf4036950__centered-border-control.ec002fcdf4036950__centered-border-control{margin:0 auto}.f9ea07d7127ab067__right-border-control.f9ea07d7127ab067__right-border-control{margin-inline-start:auto}");var R5={"linked-border-control":"fa6e6c2331986855__linked-border-control","linked-border-control-full-width":"_6a6edeeb175d724f__linked-border-control-full-width",header:"f5104488f80fa50f__header",wrapper:"_48f63719b9dc7e1a__wrapper","linked-button":"_902e774d37b6698b__linked-button",visualizer:"_5978f65e1d08de6c__visualizer","split-controls":"afa8e78cec6a9f62__split-controls","centered-border-control":"ec002fcdf4036950__centered-border-control","right-border-control":"f9ea07d7127ab067__right-border-control"};function C4(e){let{className:t,colors:c=[],onChange:n,enableAlpha:l=!1,enableStyle:o=!0,hideLabelFromVision:d,label:i,value:r,__experimentalIsRenderedInSidebar:a=!1,size:s,__next40pxDefaultSize:b,...m}=ae(e,"BorderBoxControl"),X=!!i&&!d,G=p5(r),g=Fb(r),x=g?B4(r):r,H=g?r:W4(r),p=!isNaN(parseFloat(`${x?.width}`)),[R,I]=(0,v4.useState)(!G),f=()=>I(!R),y=C=>{if(!C)return n(void 0);if(!G||y4(C))return n(di(C)?void 0:C);let B=h4(x,C),V={top:{...r?.top,...B},right:{...r?.right,...B},bottom:{...r?.bottom,...B},left:{...r?.left,...B}};if(p5(V))return n(V);let S=di(V.top)?void 0:V.top;n(S)},Z=(C,B)=>{let V={...H,[B]:C};p5(V)?n(V):n(C)},W=w(R5["linked-border-control"],{[R5["linked-border-control-full-width"]]:X}),v=R5.wrapper,h=R5.header;return{...m,className:t,colors:c,hasVisibleLabel:X,headerClassName:h,hideLabelFromVision:d,label:i,disableUnits:G&&!p,enableAlpha:l,enableStyle:o,hasMixedBorders:G,isLinked:R,linkedControlClassName:W,onLinkedChange:y,onSplitChange:Z,toggleLinked:f,linkedValue:x,splitValue:H,wrapperClassName:v,__experimentalIsRenderedInSidebar:a}}var Ql=u(F(),1),F4=e=>{let{id:t,label:c,hideLabelFromVision:n}=e;return c?n?(0,Ql.jsx)(bt,{as:"span",id:t,children:c}):(0,Ql.jsx)(at.VisualLabel,{id:t,children:c}):null},Bye=(e,t)=>{let{className:c,colors:n,disableCustomColors:l,disableUnits:o,enableAlpha:d,enableStyle:i,hasMixedBorders:r,hasVisibleLabel:a,headerClassName:s,hideLabelFromVision:b,isLinked:m,label:X,linkedControlClassName:G,linkedValue:g,onLinkedChange:x,onSplitChange:H,popoverPlacement:p,popoverOffset:R,splitValue:I,toggleLinked:f,wrapperClassName:y,__experimentalIsRenderedInSidebar:Z,"aria-label":W,"aria-labelledby":v,...h}=C4(e),C=(0,I5.useInstanceId)(Y4,"border-box-control-label"),B=X&&!W&&!v?C:void 0,[V,S]=(0,H5.useState)(null),Y=(0,H5.useMemo)(()=>p?{placement:p,offset:R,anchor:V,shift:!0}:void 0,[p,R,V]),J=(0,I5.useMergeRefs)([S,t]);return(0,Ql.jsxs)(Ce,{className:c,role:X||W||v?"group":void 0,"aria-label":W,"aria-labelledby":v??B,...h,ref:J,children:[a?(0,Ql.jsxs)(cd,{className:s,columns:2,templateColumns:"1fr min-content",alignment:"center",children:[(0,Ql.jsx)(F4,{id:B,label:X,hideLabelFromVision:b}),(0,Ql.jsx)(Sy,{onClick:f,isLinked:m})]}):(0,Ql.jsx)(F4,{id:B,label:X,hideLabelFromVision:b}),(0,Ql.jsxs)(Ce,{className:y,children:[m?(0,Ql.jsx)(td,{className:G,colors:n,disableUnits:o,disableCustomColors:l,enableAlpha:d,enableStyle:i,onChange:x,placeholder:r?(0,J4.__)("Mixed"):void 0,__unstablePopoverProps:Y,shouldSanitizeBorder:!1,value:g,withSlider:!0,width:"116px",__experimentalIsRenderedInSidebar:Z}):(0,Ql.jsx)(NF,{colors:n,disableCustomColors:l,enableAlpha:d,enableStyle:i,onChange:H,popoverPlacement:p,popoverOffset:R,value:I,__experimentalIsRenderedInSidebar:Z}),!a&&(0,Ql.jsx)(Sy,{onClick:f,isLinked:m})]})]})},Y4=ie(Bye,"BorderBoxControl"),Z5=Y4;var _4=u(me(),1),B5=u(T(),1),DF=u(Ze(),1),SRt=u(En(),1);var Q4=u(me(),1),Nx=u(Ze(),1),U4=u(T(),1);var Ya=u(Ze(),1),zF={px:{max:300,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:10,step:.1},rm:{max:10,step:.1},svw:{max:100,step:1},lvw:{max:100,step:1},dvw:{max:100,step:1},svh:{max:100,step:1},lvh:{max:100,step:1},dvh:{max:100,step:1},vi:{max:100,step:1},svi:{max:100,step:1},lvi:{max:100,step:1},dvi:{max:100,step:1},vb:{max:100,step:1},svb:{max:100,step:1},lvb:{max:100,step:1},dvb:{max:100,step:1},vmin:{max:100,step:1},svmin:{max:100,step:1},lvmin:{max:100,step:1},dvmin:{max:100,step:1},vmax:{max:100,step:1},svmax:{max:100,step:1},lvmax:{max:100,step:1},dvmax:{max:100,step:1}},Jx={all:(0,Ya.__)("All sides"),top:(0,Ya.__)("Top side"),bottom:(0,Ya.__)("Bottom side"),left:(0,Ya.__)("Left side"),right:(0,Ya.__)("Right side"),vertical:(0,Ya.__)("Top and bottom sides"),horizontal:(0,Ya.__)("Left and right sides")},f5={top:void 0,right:void 0,bottom:void 0,left:void 0},Fx=["top","right","bottom","left"];function N4(e={},t=Fx){let c=S4(t);if(c.every(n=>e[n]===e[c[0]]))return e[c[0]]}function y5(e={},t=Fx){let c=S4(t);return c.some(n=>e[n]!==e[c[0]])}function W5(e){return e&&Object.values(e).filter(t=>!!t&&/\d/.test(t)).length>0}function S4(e){let t=[];if(!e?.length)return Fx;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{let c=Fx.filter(n=>e.includes(n));t.push(...c)}return t}function h5(e){let t=new Set(e?[]:Fx);return e?.forEach(c=>{c==="vertical"?(t.add("top"),t.add("bottom")):c==="horizontal"?(t.add("right"),t.add("left")):t.add(c)}),t}function TF(e,t){return e.startsWith(`var:preset|${t}|`)}function w4(e,t,c){if(!TF(e,t))return;let n=e.match(new RegExp(`^var:preset\\|${t}\\|(.+)$`));if(!n)return;let l=n[1],o=c.findIndex(d=>d.slug===l);return o!==-1?o:void 0}function k4(e,t,c){let n=c[e];return`var:preset|${t}|${n.slug}`}var Na=u(F(),1),AF="data-wp-hash";function OF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Vye(document)),e.__wpStyleRuntime}function vye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${AF}]`))if(c.getAttribute(AF)===t)return!0;return!1}function z4(e,t,c){if(!e.head)return;let n=OF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(vye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(AF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Vye(e){let t=OF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)z4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Cye(e,t){let c=OF();c.styles.set(e,t);for(let n of c.documents.keys())z4(n,e,t)}typeof process>"u",Cye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var Wl={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},Fye=24;function T4({as:e="span",size:t=24,side:c="all",sides:n,className:l,...o}){let d=X=>n?.length&&!n.includes(X),i=X=>d(X)?!1:c==="all"||c===X,r=i("top")||i("vertical"),a=i("right")||i("horizontal"),s=i("bottom")||i("vertical"),b=i("left")||i("horizontal"),m=t/Fye;return(0,Na.jsx)(Il,{as:e,style:{transform:`scale(${m})`},...o,className:w(Wl["icon-root"],l),children:(0,Na.jsxs)("span",{className:Wl["icon-viewbox"],children:[(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-top"],{[Wl["is-highlighted"]]:r})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-right"],{[Wl["is-highlighted"]]:a})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-bottom"],{[Wl["is-highlighted"]]:s})}),(0,Na.jsx)("span",{className:w(Wl["icon-stroke"],Wl["icon-left"],{[Wl["is-highlighted"]]:b})})]})})}var Ro=u(F(),1),QF="data-wp-hash";function UF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Yye(document)),e.__wpStyleRuntime}function Jye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${QF}]`))if(c.getAttribute(QF)===t)return!0;return!1}function E4(e,t,c){if(!e.head)return;let n=UF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Jye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(QF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Yye(e){let t=UF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)E4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Nye(e,t){let c=UF();c.styles.set(e,t);for(let n of c.documents.keys())E4(n,e,t)}typeof process>"u",Nye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var Yx={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},A4=()=>{};function O4(e,t,c){let n=h5(t),l=[];switch(e){case"all":l=["top","bottom","left","right"];break;case"horizontal":l=["left","right"];break;case"vertical":l=["top","bottom"];break;default:l=[e]}if(c)switch(e){case"top":l.push("bottom");break;case"bottom":l.push("top");break;case"left":l.push("right");break;case"right":l.push("left");break}return l.filter(o=>n.has(o))}function Sx({onChange:e=A4,onFocus:t=A4,values:c,selectedUnits:n,setSelectedUnits:l,sides:o,side:d,min:i=0,presets:r,presetKey:a,placeholder:s,...b}){let m=O4(d,o),X=A=>{t(A,{side:d})},G=A=>{e(A)},g=A=>{let Q={...c};m.forEach(z=>{Q[z]=A}),G(Q)},x=(A,Q)=>{let z={...c},U=A!==void 0&&!isNaN(parseFloat(A))?A:void 0;O4(d,o,!!Q?.event.altKey).forEach(L=>{z[L]=U}),G(z)},H=A=>{let Q={...n};m.forEach(z=>{Q[z]=A}),l(Q)},p=N4(c,m),R=W5(c),I=R&&m.length>1&&y5(c,m),[f,y]=Yc(p),Z=R?y:n[m[0]],v=[(0,Q4.useInstanceId)(Sx,"box-control-input"),d].join("-"),h=m.length>1&&p===void 0&&m.some(A=>n[A]!==Z),C=p===void 0&&Z?Z:p,B=I||h?(0,Nx.__)("Mixed"):void 0,V=r&&r.length>0&&a,S=V&&p!==void 0&&!I&&TF(p,a),[Y,J]=(0,U4.useState)(!V||!S&&!I&&p!==void 0),k=S?w4(p,a,r):void 0,N=V?[{value:0,label:"",tooltip:(0,Nx.__)("None")},...r.map((A,Q)=>({value:Q+1,label:"",tooltip:A.name??A.slug}))]:[];return(0,Ro.jsxs)(xt,{className:Yx["input-wrapper"],expanded:!0,children:[(0,Ro.jsx)(T4,{className:Yx.icon,side:d,sides:o}),Y&&(0,Ro.jsxs)(Ro.Fragment,{children:[(0,Ro.jsx)(Hl,{placement:"top-end",text:Jx[d],children:(0,Ro.jsx)(oi,{...b,min:i,className:w(Yx["unit-control"],"component-box-control__unit-control"),id:v,isPressEnterToChange:!0,disableUnits:I||h,value:C,onChange:x,onUnitChange:H,onFocus:X,label:Jx[d],placeholder:B??s,hideLabelFromVision:!0})}),(0,Ro.jsx)(Al,{className:Yx["range-control"],"aria-controls":v,label:Jx[d],hideLabelFromVision:!0,onChange:A=>{x(A!==void 0?[A,Z].join(""):void 0)},min:isFinite(i)?i:0,max:zF[Z??"px"]?.max??10,step:zF[Z??"px"]?.step??.1,value:f??0,withInputField:!1})]}),V&&!Y&&(0,Ro.jsx)(Al,{className:w(Yx["range-control"],"spacing-sizes-control__range-control"),value:k!==void 0?k+1:0,onChange:A=>{let Q=A===0||A===void 0?void 0:k4(A-1,a,r);g(Q)},withInputField:!1,"aria-valuenow":k!==void 0?k+1:0,"aria-valuetext":N[k!==void 0?k+1:0].tooltip,renderTooltipContent:A=>N[A||0].tooltip,min:0,max:N.length-1,marks:N,label:Jx[d],hideLabelFromVision:!0}),V&&(0,Ro.jsx)(be,{label:Y?(0,Nx.__)("Use size preset"):(0,Nx.__)("Set custom size"),icon:tx,onClick:()=>{J(!Y)},isPressed:Y,size:"small",iconSize:24})]},`box-control-${d}`)}var EF=u(Ze(),1);var L4=u(F(),1);function D4({isLinked:e,...t}){let c=e?(0,EF.__)("Unlink sides"):(0,EF.__)("Link sides");return(0,L4.jsx)(be,{...t,className:"component-box-control__linked-button",size:"small",icon:e?Mg:jg,iconSize:24,label:c})}var nd=u(F(),1),_F="data-wp-hash";function jF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&wye(document)),e.__wpStyleRuntime}function Sye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_F}]`))if(c.getAttribute(_F)===t)return!0;return!1}function j4(e,t,c){if(!e.head)return;let n=jF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Sye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_F,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function wye(e){let t=jF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)j4(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function kye(e,t){let c=jF();c.styles.set(e,t);for(let n of c.documents.keys())j4(n,e,t)}typeof process>"u",kye("92b287e16a",".d5a55650545c8e59__unit-control{max-width:90px}.ea5687e40d8b3401__input-wrapper{grid-column:1/span 3}._33fca83ebb9a56db__reset-button{grid-area:1/2;justify-self:end}._80f02f0884ee052b__linked-button-wrapper{grid-area:1/3;justify-self:end}._432c155702d177a9__icon{flex:0 0 auto}._4c5932d5023e1609__range-control{margin-inline-end:8px;width:100%}.f6b3cb50c11eeefd__icon-root{box-sizing:border-box;display:block;height:24px;padding:4px;position:relative;width:24px}._165111a2812ec757__icon-viewbox{box-sizing:border-box;display:block;height:100%;position:relative;width:100%}._96e1dc84980225de__icon-stroke{background-color:currentColor;box-sizing:border-box;display:block;opacity:.3;pointer-events:none;position:absolute}.ae4cb7d643590907__is-highlighted{opacity:1}._0e353501165ff99d__icon-right,._79ee6c4e8e5d2e63__icon-left{bottom:3px;top:3px;width:2px}._286ce95a0c988af5__icon-bottom,._742ba047912baed5__icon-top{height:2px;left:3px;right:3px}._742ba047912baed5__icon-top{top:0}._0e353501165ff99d__icon-right{right:0}._286ce95a0c988af5__icon-bottom{bottom:0}._79ee6c4e8e5d2e63__icon-left{left:0}");var LF={"unit-control":"d5a55650545c8e59__unit-control","input-wrapper":"ea5687e40d8b3401__input-wrapper","reset-button":"_33fca83ebb9a56db__reset-button","linked-button-wrapper":"_80f02f0884ee052b__linked-button-wrapper",icon:"_432c155702d177a9__icon","range-control":"_4c5932d5023e1609__range-control","icon-root":"f6b3cb50c11eeefd__icon-root","icon-viewbox":"_165111a2812ec757__icon-viewbox","icon-stroke":"_96e1dc84980225de__icon-stroke","is-highlighted":"ae4cb7d643590907__is-highlighted","icon-left":"_79ee6c4e8e5d2e63__icon-left","icon-right":"_0e353501165ff99d__icon-right","icon-top":"_742ba047912baed5__icon-top","icon-bottom":"_286ce95a0c988af5__icon-bottom"},zye={min:0},Tye=()=>{};function Aye(e){let t=(0,_4.useInstanceId)(M4,"inspector-box-control");return e||t}function M4({id:e,inputProps:t=zye,onChange:c=Tye,label:n=(0,DF.__)("Box Control"),values:l,units:o,sides:d,splitOnAxis:i=!1,allowReset:r=!0,resetValues:a=f5,presets:s,presetKey:b,onMouseOver:m,onMouseOut:X}){let[G,g]=Ei(l,{fallback:f5}),x=G||f5,H=W5(l),p=d?.length===1,[R,I]=(0,B5.useState)(H),[f,y]=(0,B5.useState)(!H||!y5(x)||p),[Z,W]=(0,B5.useState)({top:Yc(l?.top)[1],right:Yc(l?.right)[1],bottom:Yc(l?.bottom)[1],left:Yc(l?.left)[1]}),v=Aye(e),h=`${v}-heading`,C=()=>{y(!f)},B=J=>{c(J),g(J),I(!0)},V=()=>{c(a),g(a),W(a),I(!1)},S={onMouseOver:m,onMouseOut:X,...t,onChange:B,isLinked:f,units:o,selectedUnits:Z,setSelectedUnits:W,sides:d,values:x,presets:s,presetKey:b},Y=h5(d);if(s&&!b||!s&&b){let J=s?"presets":"presetKey",k=s?"presetKey":"presets"}return(0,nd.jsxs)(cd,{id:v,columns:3,templateColumns:"1fr min-content min-content",role:"group","aria-labelledby":h,children:[(0,nd.jsx)(bC.VisualLabel,{id:h,children:n}),f&&(0,nd.jsx)(xt,{className:LF["input-wrapper"],children:(0,nd.jsx)(Sx,{side:"all",...S})}),!p&&(0,nd.jsx)("div",{className:LF["linked-button-wrapper"],children:(0,nd.jsx)(D4,{onClick:C,isLinked:f})}),!f&&i&&["vertical","horizontal"].map(J=>(0,nd.jsx)(Sx,{side:J,...S},J)),!f&&!i&&Array.from(Y).map(J=>(0,nd.jsx)(Sx,{side:J,...S},J)),r&&(0,nd.jsx)(be,{className:w(LF["reset-button"],"component-box-control__reset-button"),variant:"secondary",size:"small",onClick:V,disabled:!R,accessibleWhenDisabled:!0,children:(0,DF.__)("Reset")})]})}var MF=M4;var P4=u(T(),1),K4=u(Xt(),1),q4=u(F(),1);function Oye(e,t){let{className:c,__shouldNotWarnDeprecated:n,...l}=e,o=w("components-button-group",c);return n||(0,K4.default)("wp.components.ButtonGroup",{since:"6.8",alternative:"wp.components.__experimentalToggleGroupControl"}),(0,q4.jsx)("div",{ref:t,role:"group",className:o,...l})}var $4=(0,P4.forwardRef)(Oye);$4.displayName="ButtonGroup";var v5=$4;var RP=u(T(),1);var PF="data-wp-hash";function KF(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Uye(document)),e.__wpStyleRuntime}function Qye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PF}]`))if(c.getAttribute(PF)===t)return!0;return!1}function eP(e,t,c){if(!e.head)return;let n=KF(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(Qye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PF,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Uye(e){let t=KF();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)eP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Eye(e,t){let c=KF();c.styles.set(e,t);for(let n of c.documents.keys())eP(n,e,t)}typeof process>"u",Eye("14f3fdb673",".b9b8496e1cc381ae__elevation{--wp-components-elevation-border-radius:initial;background:transparent;border-radius:var(--wp-components-elevation-border-radius);display:block;inset:var(--wp-components-elevation-offset);margin:0!important;opacity:1;pointer-events:none;position:absolute;will-change:box-shadow}@media not (prefers-reduced-motion){.b9b8496e1cc381ae__elevation{transition:box-shadow .2s cubic-bezier(.08,.52,.52,1)}}._866e70312757c6a4__has-shadow{box-shadow:var(--wp-components-elevation-shadow)}.f52248b961a3f08d__border-radius-inherit{border-radius:inherit}._0eeaf64d5d7d940c__border-radius-initial{border-radius:initial}.bdb0f4b23c5a3070__border-radius-unset{border-radius:unset}._00f4e8c5b11279d9__border-radius-revert{border-radius:revert}.a9934763e709422a__border-radius-revert-layer{border-radius:revert-layer}:hover>.b45293cc9a89397d__has-hover{box-shadow:var(--wp-components-elevation-hover-shadow)}:focus>._4b23488fcec539f9__has-focus{box-shadow:var(--wp-components-elevation-focus-shadow)}:active>.feda92b96016571c__has-active{box-shadow:var(--wp-components-elevation-active-shadow)}");var A0={elevation:"b9b8496e1cc381ae__elevation","has-shadow":"_866e70312757c6a4__has-shadow","border-radius-inherit":"f52248b961a3f08d__border-radius-inherit","border-radius-initial":"_0eeaf64d5d7d940c__border-radius-initial","border-radius-unset":"bdb0f4b23c5a3070__border-radius-unset","border-radius-revert":"_00f4e8c5b11279d9__border-radius-revert","border-radius-revert-layer":"a9934763e709422a__border-radius-revert-layer","has-hover":"b45293cc9a89397d__has-hover","has-focus":"_4b23488fcec539f9__has-focus","has-active":"feda92b96016571c__has-active"},Lye=new Set(["inherit","initial","unset","revert","revert-layer"]);function V5(e){let t=`rgba(0, 0, 0, ${e/20})`;return`0 ${e}px ${e*2}px 0 | |
| 76 | + ${t}`}function Sa(e){return Td(e)&&Number.isFinite(e)&&e>=0}function tP(e){let{active:t,borderRadius:c="inherit",className:n,focus:l,hover:o,isInteractive:d=!1,offset:i=0,style:r,value:a=0,...s}=ae(e,"Elevation"),b=o??(d?a*2:void 0),m=t??(d?a/2:void 0),X=typeof c=="number"?`${c}px`:c,G=typeof c=="string"&&Lye.has(c.trim().toLowerCase())?c.trim().toLowerCase():void 0,g={"--wp-components-elevation-border-radius":G?void 0:X,"--wp-components-elevation-offset":`${i}px`,"--wp-components-elevation-shadow":Sa(a)?V5(a):void 0,"--wp-components-elevation-hover-shadow":Sa(b)?V5(b):void 0,"--wp-components-elevation-focus-shadow":Sa(l)?V5(l):void 0,"--wp-components-elevation-active-shadow":Sa(m)?V5(m):void 0,...r};return{...s,className:w(A0.elevation,{[A0["has-shadow"]]:Sa(a),[A0["has-hover"]]:Sa(b),[A0["has-focus"]]:Sa(l),[A0["has-active"]]:Sa(m)},G&&A0[`border-radius-${G}`],n),style:g,"aria-hidden":!0}}var cP=u(F(),1);function qF(e,t){let c=tP(e);return(0,cP.jsx)(Ce,{...c,ref:t})}var Dye=ie(qF,"Elevation"),C5=Dye;var nP=Re("padding:",K(2),";",""),lP={none:{name:"1hcx8jb",styles:"padding:0"},large:Re("padding:",K(6)," ",K(8),";",""),medium:Re("padding:",K(4)," ",K(6),";",""),small:Re("padding:",K(4),";",""),xSmall:nP,extraSmall:nP},F5=e=>{switch(e){case"xSmall":return K(2);case"small":return K(4);case"medium":return K(6);case"large":return K(8);case"none":return"0";default:return K(6)}},wx=e=>{if(typeof e=="string")return lP[e];if(e){let{blockStart:t,blockEnd:c,inlineStart:n,inlineEnd:l}=e;return Re("padding-block-start:",F5(t),";padding-block-end:",F5(c),";padding-inline-start:",F5(n),";padding-inline-end:",F5(l),";","")}return lP.medium};var kx=`calc(${de.radiusLarge} - 1px)`,_ye=Re("box-shadow:0 0 0 1px ",de.surfaceBorderColor,";outline:none;",""),jye={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Mye={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},dP={name:"13udsys",styles:"height:100%"},oP={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},Pye={name:"13udsys",styles:"height:100%"};function iP({isScrollable:e}){return e?Re(oP,Pye,"",""):oP}var rP={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},aP={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},O0=Re("&:first-of-type{border-top-left-radius:",kx,";border-top-right-radius:",kx,";}&:last-of-type{border-bottom-left-radius:",kx,";border-bottom-right-radius:",kx,";}",""),J5=Re("border-color:",de.colorDivider,";",""),Kye={name:"1t90u8d",styles:"box-shadow:none"},sP={name:"1e1ncky",styles:"border:none"},qye=Re("border-radius:",kx,";",""),Y5=Re("background-color:",oe.ui.backgroundDisabled,";","");function bP({isBorderless:e,isRounded:t}){return Re(_ye,e&&Kye,t&&qye,"","")}function uP({isBorderless:e,isShady:t,size:c}){return Re(jye,O0,J5,wx(c),e&&sP,t&&Y5,"","")}function mP({isBorderless:e,isShady:t,size:c}){return Re(Mye,O0,J5,wx(c),e&&sP,t&&Y5,"","")}var xP=u(Xt(),1),pP=u(T(),1);var GP=u(Xt(),1);var $F="data-wp-hash";function eJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&e5e(document)),e.__wpStyleRuntime}function $ye(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${$F}]`))if(c.getAttribute($F)===t)return!0;return!1}function XP(e,t,c){if(!e.head)return;let n=eJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if($ye(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute($F,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function e5e(e){let t=eJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)XP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function t5e(e,t){let c=eJ();c.styles.set(e,t);for(let n of c.documents.keys())XP(n,e,t)}typeof process>"u",t5e("afa72ffb80","._074d7c69bf27b61f__surface{background-color:var(--wpds-color-background-surface-neutral-strong,#fff);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);position:relative}.c8e7f206d344f0be__border-bottom{border-bottom:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._64aa30939d5e500b__border-left{border-left:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._543f465ff38d9d77__border-right{border-right:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._8aca9849530b97b1__border-top{border-top:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}._67628eb2296cfec7__secondary{background:var(--wpds-color-background-surface-neutral-weak,#f4f4f4)}._0efc0a4250262223__dotted{background:linear-gradient(90deg,var(--wpds-color-background-surface-neutral-strong,#fff) var(--wp-components-surface-background-size-dotted),transparent 1%) 50%,linear-gradient(var(--wpds-color-background-surface-neutral-strong,#fff) var(--wp-components-surface-background-size-dotted),transparent 1%) 50%,var(--wpds-color-stroke-surface-neutral,#dbdbdb);background-size:var(--wp-components-surface-background-size) var(--wp-components-surface-background-size)}._5e99093161bb409c__grid{background:var(--wpds-color-background-surface-neutral-strong,#fff);background-image:linear-gradient(var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0) var(--wpds-border-width-xs,1px),transparent var(--wpds-border-width-xs,1px)),linear-gradient(90deg,var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0) var(--wpds-border-width-xs,1px),transparent var(--wpds-border-width-xs,1px));background-size:var(--wp-components-surface-background-size) var(--wp-components-surface-background-size)}");var wa={surface:"_074d7c69bf27b61f__surface","border-bottom":"c8e7f206d344f0be__border-bottom","border-left":"_64aa30939d5e500b__border-left","border-right":"_543f465ff38d9d77__border-right","border-top":"_8aca9849530b97b1__border-top",secondary:"_67628eb2296cfec7__secondary",dotted:"_0efc0a4250262223__dotted",grid:"_5e99093161bb409c__grid"};function N5(e){let{backgroundSize:t=12,borderBottom:c=!1,borderLeft:n=!1,borderRight:l=!1,borderTop:o=!1,className:d,style:i,variant:r="primary",...a}=ae(e,"Surface"),b=r==="dotted"||r==="grid"?{...i,"--wp-components-surface-background-size":`${t}px`,"--wp-components-surface-background-size-dotted":`${t-1}px`}:i;return{...a,className:w(wa.surface,{[wa["border-bottom"]]:c,[wa["border-left"]]:n,[wa["border-right"]]:l,[wa["border-top"]]:o,[wa.secondary]:r==="secondary",[wa.dotted]:r==="dotted",[wa.grid]:r==="grid"},d),style:b}}var gP=u(F(),1);function c5e(e,t){(0,GP.default)("wp.components.__experimentalSurface",{since:"7.2",version:"7.4"});let c=N5(e);return(0,gP.jsx)(Ce,{...c,ref:t})}var n5e=ie(c5e,"Surface"),tJ=n5e;function l5e({elevation:e,isElevated:t,...c}){let n={...c},l=e;return t&&((0,xP.default)("Card isElevated prop",{since:"5.9",alternative:"elevation"}),l??=2),typeof l<"u"&&(n.elevation=l),n}function cJ(e){let{className:t,elevation:c=0,isBorderless:n=!1,isRounded:l=!0,size:o="medium",...d}=ae(l5e(e),"Card"),i=ec(),r=(0,pP.useMemo)(()=>i(bP({isBorderless:n,isRounded:l}),t),[t,i,n,l]);return{...N5({...d,className:r}),elevation:c,isBorderless:n,isRounded:l,size:o}}var Yb=u(F(),1);function o5e(e,t){let{children:c,elevation:n,isBorderless:l,isRounded:o,size:d,...i}=cJ(e),r=ec(),a=(0,RP.useMemo)(()=>{let s={size:d,isBorderless:l};return{CardBody:s,CardHeader:s,CardFooter:s}},[l,d]);return(0,Yb.jsx)(ib,{value:a,children:(0,Yb.jsxs)(Ce,{...i,ref:t,children:[(0,Yb.jsx)(Ce,{className:r(dP),children:c}),(0,Yb.jsx)(C5,{isInteractive:!1,value:n?1:0}),(0,Yb.jsx)(C5,{isInteractive:!1,value:n})]})})}var d5e=ie(o5e,"Card"),S5=d5e;var nJ="data-wp-hash";function lJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&r5e(document)),e.__wpStyleRuntime}function i5e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${nJ}]`))if(c.getAttribute(nJ)===t)return!0;return!1}function HP(e,t,c){if(!e.head)return;let n=lJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(i5e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(nJ,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function r5e(e){let t=lJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)HP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function a5e(e,t){let c=lJ();c.styles.set(e,t);for(let n of c.documents.keys())HP(n,e,t)}typeof process>"u",a5e("667cbbe993",".c8c574e84747ff1d__scrollable{height:100%}@media only screen and (min-device-width:40em){.c8c574e84747ff1d__scrollable::-webkit-scrollbar{height:12px;width:12px}.c8c574e84747ff1d__scrollable::-webkit-scrollbar-track{background:rgba(0,0,0,.04);border-radius:8px}.c8c574e84747ff1d__scrollable::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:rgba(0,0,0,.2);border:2px solid transparent;border-radius:7px}.c8c574e84747ff1d__scrollable:hover::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}}._266d253504ce997a__smooth-scroll{scroll-behavior:smooth}.e000fb9481918254__scroll-x{overflow-x:auto;overflow-y:hidden}._71594f0091995597__scroll-y{overflow-x:hidden;overflow-y:auto}.f5191978d7129fe7__scroll-auto{overflow-y:auto}");var zx={scrollable:"c8c574e84747ff1d__scrollable","smooth-scroll":"_266d253504ce997a__smooth-scroll","scroll-x":"e000fb9481918254__scroll-x","scroll-y":"_71594f0091995597__scroll-y","scroll-auto":"f5191978d7129fe7__scroll-auto"};function IP(e){let{className:t,scrollDirection:c="y",smoothScroll:n=!1,...l}=ae(e,"Scrollable"),o=w(zx.scrollable,{[zx["smooth-scroll"]]:n,[zx["scroll-x"]]:c==="x",[zx["scroll-y"]]:c==="y",[zx["scroll-auto"]]:c==="auto"},t);return{...l,className:o}}var ZP=u(F(),1);function oJ(e,t){let c=IP(e);return(0,ZP.jsx)(Ce,{...c,ref:t})}var s5e=ie(oJ,"Scrollable"),dJ=s5e;var fP=u(T(),1);function iJ(e){let{className:t,isScrollable:c=!1,isShady:n=!1,size:l="medium",...o}=ae(e,"CardBody"),d=ec(),i=(0,fP.useMemo)(()=>d(iP({isScrollable:c}),O0,wx(l),n&&Y5,"components-card__body",t),[t,d,c,n,l]);return{...o,className:i,isScrollable:c}}var rJ=u(F(),1);function b5e(e,t){let{isScrollable:c,...n}=iJ(e);return c?(0,rJ.jsx)(dJ,{...n,ref:t}):(0,rJ.jsx)(Ce,{...n,ref:t})}var u5e=ie(b5e,"CardBody"),w5=u5e;var WP=u(F(),1),aJ="data-wp-hash";function sJ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&X5e(document)),e.__wpStyleRuntime}function m5e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${aJ}]`))if(c.getAttribute(aJ)===t)return!0;return!1}function yP(e,t,c){if(!e.head)return;let n=sJ(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(m5e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(aJ,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function X5e(e){let t=sJ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)yP(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function G5e(e,t){let c=sJ();c.styles.set(e,t);for(let n of c.documents.keys())yP(n,e,t)}typeof process>"u",G5e("b6ebee9322",".e10c29fc10c181dc__divider{border:0;margin:0}.e10c29fc10c181dc__divider:where([aria-orientation=horizontal]){block-size:0;border-block-end:1px solid currentColor;inline-size:auto;margin-block-end:var(--wp-components-divider-margin-end,0);margin-block-start:var(--wp-components-divider-margin-start,0)}.e10c29fc10c181dc__divider:where([aria-orientation=vertical]){block-size:auto;border-inline-end:1px solid currentColor;display:inline;inline-size:0;margin-inline-end:var(--wp-components-divider-margin-end,0);margin-inline-start:var(--wp-components-divider-margin-start,0)}");var g5e={divider:"e10c29fc10c181dc__divider"};function bJ(e,t){let{className:c,margin:n,marginEnd:l,marginStart:o,style:d,...i}=ae(e,"Divider"),r={...d},a=K(o??n),s=K(l??n);return a&&(r["--wp-components-divider-margin-start"]=a),s&&(r["--wp-components-divider-margin-end"]=s),(0,WP.jsx)(oH,{className:w(g5e.divider,c),style:r,...i,ref:t})}var x5e=ie(bJ,"Divider"),uJ=x5e;var hP=u(T(),1);function mJ(e){let{className:t,...c}=ae(e,"CardDivider"),n=ec(),l=(0,hP.useMemo)(()=>n(aP,J5,"components-card__divider",t),[t,n]);return{...c,className:l}}var BP=u(F(),1);function p5e(e,t){let c=mJ(e);return(0,BP.jsx)(uJ,{...c,ref:t})}var R5e=ie(p5e,"CardDivider"),k5=R5e;var vP=u(T(),1);function XJ(e){let{className:t,justify:c,isBorderless:n=!1,isShady:l=!1,size:o="medium",...d}=ae(e,"CardFooter"),i=ec(),r=(0,vP.useMemo)(()=>i(mP({isBorderless:n,isShady:l,size:o}),"components-card__footer",t),[t,i,n,l,o]);return{...d,className:r,justify:c}}var VP=u(F(),1);function H5e(e,t){let c=XJ(e);return(0,VP.jsx)(Mt,{...c,ref:t})}var I5e=ie(H5e,"CardFooter"),z5=I5e;var CP=u(T(),1);function GJ(e){let{className:t,isBorderless:c=!1,isShady:n=!1,size:l="medium",...o}=ae(e,"CardHeader"),d=ec(),i=(0,CP.useMemo)(()=>d(uP({isBorderless:c,isShady:n,size:l}),"components-card__header",t),[t,d,c,n,l]);return{...o,className:i}}var FP=u(F(),1);function Z5e(e,t){let c=GJ(e);return(0,FP.jsx)(Mt,{...c,ref:t})}var f5e=ie(Z5e,"CardHeader"),T5=f5e;var JP=u(T(),1);function gJ(e){let{className:t,...c}=ae(e,"CardMedia"),n=ec(),l=(0,JP.useMemo)(()=>n(rP,O0,"components-card__media",t),[t,n]);return{...c,className:l}}var YP=u(F(),1);function y5e(e,t){let c=gJ(e);return(0,YP.jsx)(Ce,{...c,ref:t})}var W5e=ie(y5e,"CardMedia"),A5=W5e;var xJ=u(T(),1),O5=u(me(),1),NP=u(Xt(),1);var ii=u(F(),1);function SP(e){let{__nextHasNoMarginBottom:t,label:c,className:n,heading:l,checked:o,indeterminate:d,help:i,id:r,onChange:a,onClick:s,...b}=e;l&&(0,NP.default)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});let[m,X]=(0,xJ.useState)(!1),[G,g]=(0,xJ.useState)(!1),x=(0,O5.useRefEffect)(R=>{R&&(R.indeterminate=!!d,X(R.matches(":checked")),g(R.matches(":indeterminate")))},[o,d]),H=(0,O5.useInstanceId)(SP,"inspector-checkbox-control",r),p=R=>a(R.target.checked);return(0,ii.jsx)(at,{label:l,id:H,help:i&&(0,ii.jsx)("span",{className:"components-checkbox-control__help",children:i}),className:w("components-checkbox-control",n),children:(0,ii.jsxs)(xt,{spacing:0,justify:"start",alignment:"top",children:[(0,ii.jsxs)("span",{className:"components-checkbox-control__input-container",children:[(0,ii.jsx)("input",{ref:x,id:H,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:p,checked:o,"aria-describedby":i?H+"__help":void 0,onClick:R=>{R.currentTarget.focus(),s?.(R)},...b}),G?(0,ii.jsx)(Kc,{icon:ex,className:"components-checkbox-control__indeterminate",role:"presentation",size:16,viewBox:"4 4 16 16"}):null,m?(0,ii.jsx)(Kc,{icon:qc,className:"components-checkbox-control__checked",role:"presentation",size:16,viewBox:"4 4 16 16"}):null]}),c&&(0,ii.jsx)("label",{className:"components-checkbox-control__label",htmlFor:H,children:c})]})})}var wP=SP;var Q5=u(T(),1),kP=u(me(),1),zP=u(Xt(),1);var TP=u(F(),1),h5e=4e3;function AP({className:e,children:t,onCopy:c,onFinishCopy:n,text:l,...o}){(0,zP.default)("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});let d=(0,Q5.useRef)(void 0),i=(0,kP.useCopyToClipboard)(l,()=>{c(),d.current&&clearTimeout(d.current),n&&(d.current=setTimeout(()=>n(),h5e))});(0,Q5.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]);let r=w("components-clipboard-button",e);return(0,TP.jsx)(be,{...o,className:r,ref:i,onCopy:s=>{s.target.focus()},children:t})}var xn=u(T(),1),wt=u(Ze(),1);var Vp=u(me(),1);function OP(e){let t=e?.toString?.()??"";return t=t.replace(/['\u2019]/,""),xf(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]})}var Nb=u(E(),1);function U5({controlled:e,default:t,name:c,state:n="value"}){let{current:l}=Nb.useRef(e!==void 0),[o,d]=Nb.useState(t),i=l&&e!==void 0?e:o,r=Nb.useCallback(a=>{l||d(a)},[]);return[i,r]}var B5e=u(E(),1),Tx={...B5e};var UP=u(E(),1),QP={};function oc(e,t){let c=UP.useRef(QP);return c.current===QP&&(c.current=e(t)),c}var pJ=Tx.useInsertionEffect,v5e=pJ&&pJ!==Tx.useLayoutEffect?pJ:e=>e();function Ie(e){let t=oc(V5e).current;return t.next=e,v5e(t.effect),t.trampoline}function V5e(){let e={next:void 0,callback:C5e,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function C5e(){}function tn(){}var ar=Object.freeze([]),Gt=Object.freeze({});var sr=u(E(),1);var EP=u(E(),1),F5e=()=>{},Xe=typeof document<"u"?EP.useLayoutEffect:F5e;var E5=u(E(),1),RJ=E5.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function LP(){return E5.useContext(RJ)}var DP=u(F(),1);function _P(e){let{children:t,elementsRef:c,labelsRef:n,onMapChange:l}=e,o=Ie(l),[,d]=sr.useState(!1),i=oc(Y5e).current,r=oc(J5e).current,a=sr.useRef(0),s=sr.useRef(!0),b=sr.useRef(null),m=sr.useRef(null),X=Ie(()=>{s.current||(s.current=!0,d(f=>!f))}),G=Ie((f,y)=>{r.set(f,y),X()}),g=Ie(f=>{r.delete(f),X()}),x=Ie(f=>{let y=new Map;return c.current.length=0,n&&(n.current.length=0),f.forEach(Z=>{y.set(Z.element,{...Z.registration.metadata??{},index:Z.index}),c.current[Z.index]=Z.element,n&&(n.current[Z.index]=Z.registration.label!==void 0?Z.registration.label:Z.registration.textRef?.current?.textContent??Z.element.textContent)}),a.current=c.current.length,y});function H(f){if(m.current?.disconnect(),m.current=null,typeof MutationObserver!="function"||f.length<2)return;let y=new MutationObserver(W=>{if(!w5e(W))return;let v=null;for(let h of f)if(h.isConnected){if(v&&jP(v,h)>0){y.disconnect(),X();return}v=h}});m.current=y;let Z=new Set;for(let W=1;W<f.length;W+=1){let v=S5e(f[W-1],f[W]);v&&Z.add(v)}Z.forEach(W=>y.observe(W,{childList:!0}))}let p=Ie(()=>{let[f,y]=N5e(r),Z=x(f),W=b.current,v=!W||W.length!==f.length||f.some((h,C)=>{let B=W[C];return h.index!==B.index||h.element!==B.element||h.registration.index!==B.registration.index||h.registration.metadata!==B.registration.metadata});H(y),b.current=f,s.current=!1,v&&(i.forEach(h=>h(Z)),o(Z))});Xe(()=>(!s.current&&b.current&&x(b.current),()=>{c.current=[],n&&(n.current=[])}),[c,n,x]),Xe(()=>{s.current&&p()}),Xe(()=>()=>{m.current?.disconnect(),s.current=!0},[]);let R=Ie(f=>(i.add(f),()=>{i.delete(f)})),I=sr.useMemo(()=>({register:G,unregister:g,subscribeMapChange:R,nextIndexRef:a}),[G,g,R,a]);return(0,DP.jsx)(RJ.Provider,{value:I,children:t})}function J5e(){return new Map}function Y5e(){return new Set}function N5e(e){let t=new Set,c=[],n=[];e.forEach((o,d)=>{if(!d.isConnected)return;let i=o.index,r={index:i??-1,element:d,registration:o};i===null?n.push(r):i>=0&&(t.add(i),c.push(r))});let l=0;return n.sort((o,d)=>jP(o.element,d.element)),n.forEach(o=>{for(;t.has(l);)l+=1;o.index=l,c.push(o),l+=1}),t.size>0&&c.sort((o,d)=>o.index-d.index),[c,n.map(o=>o.element)]}function S5e(e,t){let c=e.parentElement;for(;c&&!c.contains(t);)c=c.parentElement;return c}function w5e(e){for(let t of e)for(let c=0;c<t.removedNodes.length;c+=1)if(t.removedNodes[c].isConnected)return!0;return!1}function jP(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function k5e(e,t){return function(n,...l){let o=new URL(e);return o.searchParams.set("code",n.toString()),l.forEach(d=>o.searchParams.append("args[]",d)),`${t} error #${n}; visit ${o} for the full message.`}}var z5e=k5e("https://base-ui.com/production-error","Base UI"),St=z5e;var ka=u(E(),1);function ri(e,t,c,n){let l=oc(PP).current;return T5e(l,e,t,c,n)&&KP(l,[e,t,c,n]),l.callback}function MP(e){let t=oc(PP).current;return A5e(t,e)&&KP(t,e),t.callback}function PP(){return{callback:null,cleanup:null,refs:[]}}function T5e(e,t,c,n,l){return e.refs[0]!==t||e.refs[1]!==c||e.refs[2]!==n||e.refs[3]!==l}function A5e(e,t){return e.refs.length!==t.length||e.refs.some((c,n)=>c!==t[n])}function KP(e,t){if(e.refs=t,t.every(c=>c==null)){e.callback=null;return}e.callback=c=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),c!=null){let n=Array(t.length).fill(null);for(let l=0;l<t.length;l+=1){let o=t[l];if(o!=null)switch(typeof o){case"function":{let d=o(c);typeof d=="function"&&(n[l]=d);break}case"object":{o.current=c;break}default:}}e.cleanup=()=>{for(let l=0;l<t.length;l+=1){let o=t[l];if(o!=null)switch(typeof o){case"function":{let d=n[l];typeof d=="function"?d():o(null);break}case"object":{o.current=null;break}default:}}}}}}var $P=u(E(),1);var qP=u(E(),1),O5e=parseInt(qP.version,10);function Q0(e){return O5e>=e}function HJ(e){if(!$P.isValidElement(e))return null;let t=e,c=t.props;return(Q0(19)?c?.ref:t.ref)??null}function Ax(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function e8(e,t){let c={};for(let n in e){let l=e[n];if(t?.hasOwnProperty(n)){let o=t[n](l);o!=null&&Object.assign(c,o);continue}l===!0?c[`data-${n.toLowerCase()}`]="":l&&(c[`data-${n.toLowerCase()}`]=l.toString())}return c}function t8(e,t){return typeof e=="function"?e(t):e}function c8(e,t){return typeof e=="function"?e(t):e}var IJ={};function rc(e,t,c,n,l){if(!c&&!n&&!l&&!e)return L5(t);let o=L5(e);return t&&(o=Ox(o,t)),c&&(o=Ox(o,c)),n&&(o=Ox(o,n)),l&&(o=Ox(o,l)),o}function n8(e){if(e.length===0)return IJ;if(e.length===1)return L5(e[0]);let t=L5(e[0]);for(let c=1;c<e.length;c+=1)t=Ox(t,e[c]);return t}function L5(e){return ZJ(e)?{...o8(e,IJ)}:Q5e(e)}function Ox(e,t){return ZJ(t)?o8(t,e):U5e(e,t)}function Q5e(e){let t={...e};for(let c in t){let n=t[c];l8(c,n)&&(t[c]=d8(n))}return t}function U5e(e,t){if(!t)return e;for(let c in t){let n=t[c];switch(c){case"style":{e[c]=Ax(e.style,n);break}case"className":{e[c]=fJ(e.className,n);break}default:l8(c,n)?e[c]=E5e(e[c],n):e[c]=n}}return e}function l8(e,t){let c=e.charCodeAt(0),n=e.charCodeAt(1),l=e.charCodeAt(2);return c===111&&n===110&&l>=65&&l<=90&&(typeof t=="function"||typeof t>"u")}function ZJ(e){return typeof e=="function"}function o8(e,t){return ZJ(e)?e(t):e??IJ}function E5e(e,t){return t?e?(...c)=>{let n=c[0];if(i8(n)){let o=n;Qx(o);let d=t(...c);return o.baseUIHandlerPrevented||e?.(...c),d}let l=t(...c);return e?.(...c),l}:d8(t):e}function d8(e){return e&&((...t)=>{let c=t[0];return i8(c)&&Qx(c),e(...t)})}function Qx(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function fJ(e,t){return t?e?t+" "+e:t:e}function i8(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var yJ=u(E(),1);function it(e,t,c={}){let n=t.render;c.enabled!==!1&&(n=j5e(n));let l=L5e(t,c,n);if(c.enabled===!1)return null;let o=c.state??Gt;return M5e(e,n,l,o)}function L5e(e,t,c){let{className:n,style:l}=e,{state:o=Gt,ref:d,props:i,stateAttributesMapping:r,enabled:a=!0}=t,s=a?t8(n,o):void 0,b=a?c8(l,o):void 0,m=a?e8(o,r):Gt,X=a&&i?D5e(i):void 0,G=a?Ax(m,X)??{}:Gt;return typeof document<"u"&&(a?Array.isArray(d)?G.ref=MP([G.ref,HJ(c),...d]):G.ref=ri(G.ref,HJ(c),d):ri(null,null)),a?(s!==void 0&&(G.className=fJ(G.className,s)),b!==void 0&&(G.style=Ax(G.style,b)),G):Gt}function D5e(e){return Array.isArray(e)?n8(e):rc(void 0,e)}var _5e=Symbol.for("react.lazy");function j5e(e){if(e?.$$typeof!==_5e)return e;let t=ka.Children.toArray(e)[0];return ka.isValidElement(t)?t:e}function M5e(e,t,c,n){if(t){if(typeof t=="function")return t(c,n);let l=rc(c,t.props);return l.ref=c.ref,ka.cloneElement(t,l)}if(e&&typeof e=="string")return P5e(e,c);throw new Error(St(8))}function P5e(e,t){return e==="button"?(0,yJ.createElement)("button",{type:"button",...t,key:t.key}):e==="img"?(0,yJ.createElement)("img",{alt:"",...t,key:t.key}):ka.createElement(e,t)}var D5=u(E(),1);var r8=0;function K5e(e,t="mui"){let[c,n]=D5.useState(e),l=e||c;return D5.useEffect(()=>{c==null&&(r8+=1,n(`${t}-${r8}`))},[c,t]),l}var a8=Tx.useId;function br(e,t){if(a8!==void 0){let c=a8();return e??(t?`${t}-${c}`:c)}return K5e(e,t)}function hl(e){return br(e,"base-ui")}var fe={};Fl(fe,{cancelOpen:()=>WWe,chipRemovePress:()=>iWe,clearPress:()=>dWe,closePress:()=>lWe,closeWatcher:()=>pWe,decrementPress:()=>sWe,disabled:()=>BWe,drag:()=>ZWe,escapeKey:()=>xWe,focusOut:()=>gWe,imperativeAction:()=>CWe,incrementPress:()=>aWe,initial:()=>VWe,inputBlur:()=>mWe,inputChange:()=>bWe,inputClear:()=>uWe,inputPaste:()=>XWe,inputPress:()=>GWe,itemPress:()=>nWe,keyboard:()=>HWe,linkPress:()=>oWe,listNavigation:()=>RWe,missing:()=>vWe,none:()=>q5e,outsidePress:()=>cWe,pointer:()=>IWe,scrub:()=>yWe,siblingOpen:()=>hWe,swipe:()=>FWe,trackPress:()=>rWe,triggerFocus:()=>tWe,triggerHover:()=>eWe,triggerPress:()=>$5e,wheel:()=>fWe,windowResize:()=>JWe});var q5e="none",$5e="trigger-press",eWe="trigger-hover",tWe="trigger-focus",cWe="outside-press",nWe="item-press",lWe="close-press",oWe="link-press",dWe="clear-press",iWe="chip-remove-press",rWe="track-press",aWe="increment-press",sWe="decrement-press",bWe="input-change",uWe="input-clear",mWe="input-blur",XWe="input-paste",GWe="input-press",gWe="focus-out",xWe="escape-key",pWe="close-watcher",RWe="list-navigation",HWe="keyboard",IWe="pointer",ZWe="drag",fWe="wheel",yWe="scrub",WWe="cancel-open",hWe="sibling-open",BWe="disabled",vWe="missing",VWe="initial",CWe="imperative-action",FWe="swipe",JWe="window-resize";function _e(e,t,c,n){let l=!1,o=!1,d=n??Gt;return{reason:e,event:t??new Event("base-ui"),cancel(){l=!0},allowPropagation(){o=!0},get isCanceled(){return l},get isPropagationAllowed(){return o},trigger:c,...d}}var hJ=u(E(),1);var s8=u(E(),1);function U0(e){s8.useEffect(e,ar)}var _5=null,$Zt=globalThis.requestAnimationFrame,WJ=class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;let c=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let l=0;l<c.length;l+=1)c[l]?.(t)};request(t){let c=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),c}cancel(t){let c=t-this.startId;c<0||c>=this.callbacks.length||this.callbacks[c]!==null&&(this.callbacks[c]=null,this.callbacksCount-=1)}},j5=new WJ;var Ho=class e{static create(){return new e}static request(t){return j5.request(t)}static cancel(t){return j5.cancel(t)}currentId=_5;request(t){this.cancel(),this.currentId=j5.request(()=>{this.currentId=_5,t()})}cancel=()=>{this.currentId!==_5&&(j5.cancel(this.currentId),this.currentId=_5)};disposeEffect=()=>this.cancel};function Ul(){let e=oc(Ho.create).current;return U0(e.disposeEffect),e}function E0(e,t=!1,c=!1,n=!1){let[l,o]=hJ.useState(e&&t?"idle":void 0),[d,i]=hJ.useState(e&&!n);return e&&!d&&(i(!0),o("starting")),!e&&d&&l!=="ending"&&!c&&o("ending"),!e&&!d&&l==="ending"&&o(void 0),Xe(()=>{if(!e&&d&&l!=="ending"&&c){let r=Ho.request(()=>{o("ending")});return()=>{Ho.cancel(r)}}},[e,d,l,c]),Xe(()=>{if(!e||t)return;let r=Ho.request(()=>{o(void 0)});return()=>{Ho.cancel(r)}},[t,e]),Xe(()=>{if(!e||!t)return;e&&d&&l!=="idle"&&o("starting");let r=Ho.request(()=>{o("idle")});return()=>{Ho.cancel(r)}},[t,e,d,l]),{mounted:d,setMounted:i,transitionStatus:l}}var Sb=u(E(),1);function Io(e={}){let{guess:t,label:c,metadata:n,textRef:l,index:o}=e,{register:d,unregister:i,subscribeMapChange:r,nextIndexRef:a}=LP(),s=Sb.useRef(-1),[b,m]=Sb.useState(o==null&&t?()=>{if(s.current===-1){let x=a.current;a.current+=1,s.current=x}return s.current}:-1),X=o??b,G=Sb.useRef(null),g=Sb.useCallback(x=>{let H=G.current;H&&i(H),G.current=x,x&&d(x,{metadata:n??null,index:o??null,label:c,textRef:l})},[o,d,i,n,c,l]);return Xe(()=>{if(o==null)return r(x=>{let H=G.current?x.get(G.current)?.index:null;H!=null&&m(H)})},[o,r]),{ref:g,index:X}}var M5="data-starting-style",b8="data-ending-style";var YWe={[M5]:""},NWe={[b8]:""},P5={transitionStatus(e){return e==="starting"?YWe:e==="ending"?NWe:null}};var _0=u(E(),1);var K5=u(E(),1),SWe=K5.createContext(void 0);function L0(e=!1){let t=K5.useContext(SWe);if(t===void 0&&!e)throw new Error(St(16));return t}var m8=u(E(),1);function X8(e){let{focusableWhenDisabled:t,disabled:c,composite:n=!1,tabIndex:l=0,isNativeButton:o}=e,d=n&&t!==!1,i=n&&t===!1;return{props:m8.useMemo(()=>{let a={onKeyDown(s){c&&t&&s.key!=="Tab"&&s.preventDefault()}};return n||(a.tabIndex=l,!o&&c&&(a.tabIndex=t?l:-1)),(o&&(t||d)||!o&&c)&&(a["aria-disabled"]=c),o&&(!t||i)&&(a.disabled=c),a},[n,c,t,d,i,o,l])}}function je(e){return e?.ownerDocument||document}function D0(e,t,{detail:c=0}={}){e.dispatchEvent(new(ht(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:c,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function wb(e={}){let{disabled:t=!1,focusableWhenDisabled:c,tabIndex:n=0,native:l=!0,composite:o}=e,d=_0.useRef(null),i=L0(!0),r=o??i!==void 0,{props:a}=X8({focusableWhenDisabled:c,disabled:t,composite:r,tabIndex:n,isNativeButton:l}),s=_0.useCallback(()=>{let X=d.current;BJ(X)&&r&&t&&a.disabled===void 0&&X.disabled&&(X.disabled=!1)},[t,a.disabled,r]);Xe(s,[s]);let b=_0.useCallback((X={})=>{let{onClick:G,onMouseDown:g,onKeyUp:x,onKeyDown:H,onPointerDown:p,...R}=X;return rc({onClick(I){if(t){I.preventDefault();return}G?.(I)},onMouseDown(I){t||g?.(I)},onKeyDown(I){if(t||(Qx(I),H?.(I),I.baseUIHandlerPrevented))return;let f=I.target===I.currentTarget,y=I.currentTarget,Z=BJ(y),W=!l&&wWe(y),v=f&&(l?Z:!W),h=I.key==="Enter",C=I.key===" ",B=y.getAttribute("role"),V=B?.startsWith("menuitem")||B==="option"||B==="gridcell";if(f&&r&&C){if(I.defaultPrevented&&V)return;I.preventDefault(),(!l||Z)&&(I.preventBaseUIHandler(),D0(y,I));return}if(!v||l||!C&&!h){f&&W&&C&&I.preventDefault();return}I.defaultPrevented||(I.preventDefault(),h&&(I.preventBaseUIHandler(),D0(y,I)))},onKeyUp(I){if(!t){if(Qx(I),x?.(I),I.target===I.currentTarget&&l&&r&&BJ(I.currentTarget)&&I.key===" "){I.preventDefault();return}I.baseUIHandlerPrevented||I.target===I.currentTarget&&!l&&!r&&!I.defaultPrevented&&I.key===" "&&(I.preventBaseUIHandler(),D0(I.currentTarget,I))}},onPointerDown(I){if(t){I.preventDefault();return}p?.(I)}},l?{type:"button"}:{role:"button"},a,R)},[t,a,r,l]),m=Ie(X=>{d.current=X,s()});return{getButtonProps:b,buttonRef:m}}function BJ(e){return st(e)&&e.tagName==="BUTTON"}function wWe(e){return st(e)&&e.tagName==="A"&&!!e.href}function tt(e,t,c,n){return e.addEventListener(t,c,n),()=>{e.removeEventListener(t,c,n)}}function ac(e){let t=oc(kWe,e).current;return t.next=e,Xe(t.effect),t}function kWe(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var G8=u(E(),1);var vJ=u(io(),1);function ld(e){return e==null?e:"current"in e?e.current:e}var q5=null;function zWe(e){if(!q5){let t=[];q5=t,queueMicrotask(()=>{q5=null,vJ.flushSync(()=>{for(let c of t)c()})})}q5.push(e)}function ai(e,t=!1,c=!1){let n=Ul();return Ie((l,o=null)=>{n.cancel();let d=ld(e);if(d==null)return;let i=d,r=()=>{if(!c){vJ.flushSync(l);return}zWe(()=>{o?.aborted||l()})};if(typeof i.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){l();return}function a(){Promise.all(i.getAnimations().map(s=>s.finished)).then(()=>{o?.aborted||r()},()=>{if(o?.aborted)return;if(i.getAnimations().some(b=>b.pending||b.playState!=="finished")){a();return}r()})}if(t){let s=M5;if(!i.hasAttribute(s)){n.request(a);return}let b=new MutationObserver(()=>{i.hasAttribute(s)||(b.disconnect(),a())});b.observe(i,{attributes:!0,attributeFilter:[s]}),o?.addEventListener("abort",()=>b.disconnect(),{once:!0});return}n.request(a)})}function za(e){let{enabled:t=!0,open:c,ref:n,batch:l=!1,onComplete:o}=e,d=Ie(o),i=ai(n,c,l);G8.useEffect(()=>{if(!t)return;let r=new AbortController;return i(d,r.signal),()=>{r.abort()}},[t,c,d,i])}var vt={};Fl(vt,{engine:()=>YJ,env:()=>SJ,mediaQuery:()=>wJ,os:()=>FJ,screenReader:()=>NJ});var FJ={};Fl(FJ,{android:()=>p8,apple:()=>CJ,ios:()=>VJ,linux:()=>UWe,mac:()=>R8,windows:()=>QWe});function TWe(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:AWe,platform:OWe,maxTouchPoints:g8}=TWe(),kb=AWe.toLowerCase(),zb=OWe.toLowerCase();var VJ=/^i(os$|p)/.test(zb)||zb==="macintel"&&g8>1,x8="android",p8=zb===x8||kb.includes(x8),R8=!VJ&&zb.startsWith("mac"),QWe=zb.startsWith("win"),UWe=!p8&&/^(linux|chrome os)/.test(zb),CJ=R8||VJ;var YJ={};Fl(YJ,{blink:()=>LWe,gecko:()=>EWe,webkit:()=>JJ});var JJ=typeof CSS<"u"&&!!CSS.supports?.("-webkit-backdrop-filter:none"),EWe=!JJ&&kb.includes("firefox"),LWe=!JJ&&kb.includes("chrom");var NJ={};Fl(NJ,{voiceOver:()=>DWe});var DWe=CJ;var SJ={};Fl(SJ,{jsdom:()=>_We});var _We=/jsdom|happydom/.test(kb);var wJ={};Fl(wJ,{iOS:()=>jWe});var jWe="@supports (-webkit-touch-callout: none)";var Ux=0,Bl=class e{static create(){return new e}currentId=Ux;start(t,c){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Ux,c()},t)}isStarted(){return this.currentId!==Ux}clear=()=>{this.currentId!==Ux&&(clearTimeout(this.currentId),this.currentId=Ux)};disposeEffect=()=>this.clear};function gc(){let e=oc(Bl.create).current;return U0(e.disposeEffect),e}var H8={},I8={},Z8="";function $5(e,t){return ks(e)?e:t}function f8(e,t,c){return/hidden|clip/.test(e.getComputedStyle($5(t,c)).overflowY)}function MWe(e){if(typeof document>"u")return!1;let t=je(e);return ht(t).innerWidth-t.documentElement.clientWidth>0}function PWe(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;let c=je(e),n=c.documentElement,l=c.body,o=$5(n,l),d=o.style.overflowY,i=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",o.style.overflowY="scroll";let r=o.offsetWidth;o.style.overflowY="hidden";let a=o.offsetWidth;return o.style.overflowY=d,n.style.scrollbarGutter=i,r===a}function KWe(e){let t=je(e),c=t.documentElement,n=t.body,l=$5(c,n),o={overflowY:l.style.overflowY,overflowX:l.style.overflowX};return Object.assign(l.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(l.style,o)}}function qWe(e){let t=je(e),c=t.documentElement,n=t.body,l=ht(c),o=0,d=0,i=!1,r=Ho.create();if(vt.engine.webkit&&(l.visualViewport?.scale??1)!==1)return()=>{};function a(){let X=l.getComputedStyle(c),G=l.getComputedStyle(n),H=(X.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";o=c.scrollTop,d=c.scrollLeft,H8={scrollbarGutter:c.style.scrollbarGutter,overflowY:c.style.overflowY,overflowX:c.style.overflowX},Z8=c.style.scrollBehavior,I8={position:n.style.position,height:n.style.height,width:n.style.width,boxSizing:n.style.boxSizing,overflowY:n.style.overflowY,overflowX:n.style.overflowX,scrollBehavior:n.style.scrollBehavior};let p=c.scrollHeight>c.clientHeight,R=c.scrollWidth>c.clientWidth,I=X.overflowY==="scroll"||G.overflowY==="scroll",f=X.overflowX==="scroll"||G.overflowX==="scroll",y=Math.max(0,l.innerWidth-n.clientWidth),Z=Math.max(0,l.innerHeight-n.clientHeight),W=parseFloat(G.marginTop)+parseFloat(G.marginBottom),v=parseFloat(G.marginLeft)+parseFloat(G.marginRight),h=$5(c,n);if(i=PWe(e),i){c.style.scrollbarGutter=H,h.style.overflowY="hidden",h.style.overflowX="hidden";return}Object.assign(c.style,{scrollbarGutter:H,overflowY:"hidden",overflowX:"hidden"}),(p||I)&&(c.style.overflowY="scroll"),(R||f)&&(c.style.overflowX="scroll"),Object.assign(n.style,{position:"relative",height:W||Z?`calc(100dvh - ${W+Z}px)`:"100dvh",width:v||y?`calc(100vw - ${v+y}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),n.scrollTop=o,n.scrollLeft=d,c.setAttribute("data-base-ui-scroll-locked",""),c.style.scrollBehavior="unset"}function s(){Object.assign(c.style,H8),Object.assign(n.style,I8),i||(c.scrollTop=o,c.scrollLeft=d,c.removeAttribute("data-base-ui-scroll-locked"),c.style.scrollBehavior=Z8)}function b(){s(),r.request(a)}a();let m=tt(l,"resize",b);return()=>{r.cancel(),s(),typeof l.removeEventListener=="function"&&m()}}var kJ=class{lockCount=0;restore=null;timeoutLock=Bl.create();timeoutUnlock=Bl.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;let c=je(t),n=c.documentElement,l=c.body,o=ht(n);if(f8(o,n,l)){let i=new o.MutationObserver(()=>{f8(o,n,l)||(i.disconnect(),this.restore=null,this.lock(t))}),r={attributes:!0};i.observe(n,r),i.observe(l,r),this.restore=()=>i.disconnect();return}let d=vt.os.ios||!MWe(t);this.restore=d?KWe(t):qWe(t)}},$We=new kJ;function y8(e=!0,t=null){Xe(()=>{if(e)return $We.acquire(t)},[e,t])}function El(e){e.preventDefault(),e.stopPropagation()}function W8(e){return"nativeEvent"in e}function j0(e){return e.pointerType===""&&e.isTrusted?!0:vt.os.android&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function M0(e){return vt.env.jsdom?!1:!vt.os.android&&e.width===0&&e.height===0||vt.os.android&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function ur(e,t){let c=["mouse","pen"];return t||c.push("",void 0),c.includes(e)}function h8(e){let t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}function Uc(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Se(e,t){if(!e||!t)return!1;let c=t.getRootNode?.();if(e.contains(t))return!0;if(c&&Fd(c)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function xc(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}var Ex="data-base-ui-focusable";var zJ="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",Lx="ArrowLeft",Dx="ArrowRight",TJ="ArrowUp",eW="ArrowDown";var B8="data-open",v8="data-closed";var V8="data-anchor-hidden";var cW={};Fl(cW,{popupOpen:()=>tW,pressed:()=>AJ});var tW="data-popup-open",AJ="data-pressed";var the={[tW]:""},che={[tW]:"",[AJ]:""},nhe={[B8]:""},lhe={[v8]:""},ohe={[V8]:""},C8={open(e){return e?the:null}},OJ={open(e){return e?che:null}},_x={open(e){return e?nhe:lhe},anchorHidden(e){return e?ohe:null}},nW={..._x,...P5};var ryt=cW.popupOpen,QJ="data-trigger-disabled";function Ta(e,t){if(!ct(e))return!1;let c=e;if(t.hasElement(c))return!c.hasAttribute(QJ);for(let[,n]of t.entries())if(Se(n,c))return!n.hasAttribute(QJ);return!1}function lW(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);let c=e;return c.target!=null&&t.contains(c.target)}function F8(e){return e.matches("html,body")}function Tb(e){return st(e)&&e.matches(zJ)}function UJ(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${zJ}`)!=null}function jx(e){return e?e.getAttribute("role")==="combobox"&&Tb(e):!1}function J8(e){if(!e||vt.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function Mx(e){return e?e.hasAttribute(Ex)?e:e.querySelector(`[${Ex}]`)||e:null}function ihe(e,t){return t!=null&&!ur(t)?0:typeof e=="function"?e():e}function Px(e,t,c){let n=ihe(e,c);return typeof n=="number"?n:n?.[t]}function EJ(e){return typeof e=="function"?e():e}function oW(e,t){return t||e==="click"||e==="mousedown"}function Y8(e){return e?.includes("mouse")&&e!=="mousedown"}var Sn=u(E(),1);function Yn(...e){return()=>{for(let t=0;t<e.length;t+=1){let c=e[t];c&&c()}}}var dW=u(E(),1);var N8={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},S8={...N8,position:"fixed",top:0,left:0},pyt={...N8,position:"absolute"};var w8=u(F(),1),mr=dW.forwardRef(function(t,c){let[n,l]=dW.useState();return Xe(()=>{vt.screenReader.voiceOver&&vt.engine.webkit&&l("button")},[]),(0,w8.jsx)("span",{...t,ref:c,style:S8,"aria-hidden":n?void 0:!0,...{tabIndex:0,role:n},"data-base-ui-focus-guard":""})});function LJ(e,t){return t<0||t>=e.length}function iW(e,t){return Ab(e.current,{disabledIndices:t})}function DJ(e,t){return Ab(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Ab(e,{startingIndex:t=-1,decrement:c=!1,disabledIndices:n,amount:l=1}={}){let o=t;do o+=c?-l:l;while(o>=0&&o<=e.length-1&&_J(e,o,n));return o}function _J(e,t,c){if(typeof c=="function"?c(t):c?.includes(t)??!1)return!0;let l=e[t];return l?!Ob(l)||l.matches(":disabled")?!0:!c&&(l.hasAttribute("disabled")||l.getAttribute("aria-disabled")==="true"):!1}function rhe(e){return e.visibility==="hidden"||e.visibility==="collapse"}function Ob(e,t=e?Oc(e):null){return!e||!e.isConnected||!t||rhe(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}var ahe='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function she(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let c=e.getRootNode();return Fd(c)?c.host:null}function MJ(e){for(let t of Array.from(e.children))if(Hc(t)==="summary")return t;return null}function bhe(e,t){let c=MJ(t);return!!c&&(e===c||Se(c,e))}function k8(e){let t=e?Hc(e):"";return e!=null&&e.matches(ahe)&&(t!=="summary"||e.parentElement!=null&&Hc(e.parentElement)==="details"&&MJ(e.parentElement)===e)&&(t!=="details"||MJ(e)==null)&&(t!=="input"||e.type!=="hidden")}function z8(e){if(!k8(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=she(t)){let c=t!==e,n=Hc(t)==="slot";if(t.hasAttribute("inert")||c&&Hc(t)==="details"&&!t.open&&!bhe(e,t)||t.hasAttribute("hidden")||!n&&!uhe(t,c))return!1}return!0}function uhe(e,t){let c=Oc(e);return t?c.display!=="none":Ob(e,c)}function T8(e){let t=e.tabIndex;if(t<0){let c=Hc(e);if(c==="details"||c==="audio"||c==="video"||st(e)&&e.isContentEditable)return 0}return t}function jJ(e){if(Hc(e)!=="input")return null;let t=e;return t.type==="radio"&&t.name!==""?t:null}function mhe(e,t){let c=jJ(e);if(!c)return!0;let n=t.find(l=>{let o=jJ(l);return o?.name===c.name&&o.form===c.form&&o.checked});return n?n===c:t.find(l=>{let o=jJ(l);return o?.name===c.name&&o.form===c.form})===c}function A8(e){if(st(e)&&Hc(e)==="slot"){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return st(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function O8(e,t){A8(e).forEach(c=>{k8(c)&&t.push(c),O8(c,t)})}function Q8(e,t,c){A8(e).forEach(n=>{st(n)&&n.matches(t)&&c.push(n),Q8(n,t,c)})}function rW(e){return z8(e)&&T8(e)>=0}function PJ(e){let t=[];return O8(e,t),t.filter(z8)}function P0(e){let t=PJ(e);return t.filter(c=>T8(c)>=0&&mhe(c,t))}function U8(e,t){let c=P0(e),n=c.length;if(n===0)return;let l=Uc(je(e)),o=c.indexOf(l),d=o===-1?t===1?0:n-1:o+t;return c[d]}function K0(e){return U8(je(e).body,1)||e}function aW(e){return U8(je(e).body,-1)||e}function E8(e,t){if(!e)return null;let c=P0(je(e).body),n=c.length;if(n===0)return null;let l=c.indexOf(e);if(l===-1)return null;let o=(l+t+n)%n;return c[o]}function L8(e){return E8(e,1)}function D8(e){return E8(e,-1)}function Xr(e,t){let c=t||e.currentTarget,n=e.relatedTarget;return!n||!Se(c,n)}function _8(e){P0(e).forEach(c=>{c.dataset.tabindex=c.getAttribute("tabindex")||"",c.setAttribute("tabindex","-1")})}function KJ(e){let t=[];Q8(e,"[data-tabindex]",t),t.forEach(c=>{let n=c.dataset.tabindex;delete c.dataset.tabindex,n?c.setAttribute("tabindex",n):c.removeAttribute("tabindex")})}function Zo(e,t,c=!0){return e.filter(l=>l.parentId===t).flatMap(l=>[...!c||l.context?.open?[l]:[],...Zo(e,l.id,c)])}function qJ(e,t){let c=[],n=e.find(l=>l.id===t)?.parentId;for(;n;){let l=e.find(o=>o.id===n);n=l?.parentId,l&&(c=c.concat(l))}return c}function Gr(e){return`data-base-ui-${e}`}var sW=0;function q0(e,t={}){let{preventScroll:c=!1,sync:n=!1,shouldFocus:l}=t;cancelAnimationFrame(sW);function o(){l&&!l()||e?.focus({preventScroll:c})}if(n)return o(),tn;let d=requestAnimationFrame(o);return sW=d,()=>{sW===d&&(cancelAnimationFrame(d),sW=0)}}var $J={inert:new WeakMap,"aria-hidden":new WeakMap},j8="data-base-ui-inert",tY={inert:new WeakSet,"aria-hidden":new WeakSet},Kx=new WeakMap,eY=0;function Xhe(e){return tY[e]}function q8(e){return e?Fd(e)?e.host:q8(e.parentNode):null}var M8=(e,t)=>t.map(c=>{if(e.contains(c))return c;let n=q8(c);return e.contains(n)?n:null}).filter(c=>c!=null),P8=e=>{let t=new Set;return e.forEach(c=>{let n=c;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},K8=(e,t,c)=>{let n=[],l=o=>{!o||c.has(o)||Array.from(o.children).forEach(d=>{Hc(d)!=="script"&&(t.has(d)?l(d):n.push(d))})};return l(e),n};function Ghe(e,t,c,n,{mark:l=!0}){let o=null;n?o="inert":c&&(o="aria-hidden");let d=null,i=null,r=M8(t,e),a=l?K8(t,P8(r),new Set(r)):[],s=[],b=[];if(o){let m=$J[o],X=Xhe(o);i=X,d=m;let G=M8(t,Array.from(t.querySelectorAll("[aria-live]"))),g=r.concat(G);K8(t,P8(g),new Set(g)).forEach(H=>{let p=H.getAttribute(o),R=p!==null&&p!=="false",I=(m.get(H)||0)+1;m.set(H,I),s.push(H),I===1&&R&&X.add(H),R||H.setAttribute(o,o==="inert"?"":"true")})}return l&&a.forEach(m=>{let X=(Kx.get(m)||0)+1;Kx.set(m,X),b.push(m),X===1&&m.setAttribute(j8,"")}),eY+=1,()=>{d&&s.forEach(m=>{let G=(d.get(m)||0)-1;d.set(m,G),G||(!i?.has(m)&&o&&m.removeAttribute(o),i?.delete(m))}),l&&b.forEach(m=>{let X=(Kx.get(m)||0)-1;Kx.set(m,X),X||m.removeAttribute(j8)}),eY-=1,eY||($J.inert=new WeakMap,$J["aria-hidden"]=new WeakMap,tY.inert=new WeakSet,tY["aria-hidden"]=new WeakSet,Kx=new WeakMap)}}function cY(e,t={}){let{ariaHidden:c=!1,inert:n=!1,mark:l=!0}=t,o=je(e[0]).body;return Ghe(e,o,c,n,{mark:l})}var tc=u(E(),1),nY=u(io(),1);var $8={style:{transition:"none"}},eK="data-base-ui-click-trigger",ghe="data-base-ui-swipe-ignore",xhe="data-swipe-ignore",zyt=`[${ghe}]`,Tyt=`[${xhe}]`,tK={fallbackAxisSide:"none"},cK={fallbackAxisSide:"end"},nK={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var Qb=u(F(),1),lK=tc.createContext(null),lY=()=>tc.useContext(lK),phe=Gr("portal");function oK(e={}){let{ref:t,container:c,componentProps:n=Gt,elementProps:l}=e,o=br(),i=lY()?.portalNode,[r,a]=tc.useState(null),[s,b]=tc.useState(null),m=Ie(x=>{x!==null&&b(x)}),X=tc.useRef(null);Xe(()=>{if(c===null){X.current&&(X.current=null,b(null),a(null));return}let x=(c&&(IH(c)?c:c.current))??i??document.body;if(x==null){X.current&&(X.current=null,b(null),a(null));return}X.current!==x&&(X.current=x,b(null),a(x))},[c,i]);let G=it("div",n,{ref:[t,m],props:[{id:o,[phe]:""},l]}),g=r&&G?nY.createPortal(G,r):null;return{node:s,nodeId:tc.isValidElement(G)?G.props.id:void 0,subtree:g}}var oY=tc.forwardRef(function(t,c){let{render:n,className:l,style:o,children:d,container:i,portalOwnerRole:r,...a}=t,{node:s,nodeId:b,subtree:m}=oK({container:i,ref:c,componentProps:t,elementProps:a}),X=tc.useRef(null),G=tc.useRef(null),g=tc.useRef(null),x=tc.useRef(null),[H,p]=tc.useState(null),R=tc.useRef(!1),I=H?.modal,f=H?.open,y=!!H&&!H.modal&&H.open&&!!s;tc.useEffect(()=>{if(!s||I)return;function W(v){s&&v.relatedTarget&&Xr(v)&&(v.type==="focusin"?R.current&&(KJ(s),R.current=!1):(_8(s),R.current=!0))}return Yn(tt(s,"focusin",W,!0),tt(s,"focusout",W,!0))},[s,I]),Xe(()=>{!s||f!==!0||!R.current||(KJ(s),R.current=!1)},[f,s]);let Z=tc.useMemo(()=>({beforeOutsideRef:X,afterOutsideRef:G,beforeInsideRef:g,afterInsideRef:x,portalNode:s,setFocusManagerState:p}),[s]);return(0,Qb.jsxs)(tc.Fragment,{children:[m,(0,Qb.jsxs)(lK.Provider,{value:Z,children:[y&&s&&(0,Qb.jsx)(mr,{"data-type":"outside",ref:X,onFocus:W=>{if(Xr(W,s))g.current?.focus();else{let v=H?H.domReference:null;aW(v)?.focus()}}}),y&&s&&(0,Qb.jsx)("span",{role:r,"aria-owns":b,style:nK}),s&&nY.createPortal(d,s),y&&s&&(0,Qb.jsx)(mr,{"data-type":"outside",ref:G,onFocus:W=>{if(Xr(W,s))x.current?.focus();else{let v=H?H.domReference:null;K0(v)?.focus(),H?.closeOnFocusOut&&H?.onOpenChange(!1,_e(fe.focusOut,W.nativeEvent))}}})]})]})});var Oa=u(E(),1);function bW(){let e=new Map;return{emit(t,c){e.get(t)?.forEach(n=>n(c))},on(t,c){e.has(t)||e.set(t,new Set),e.get(t).add(c)},off(t,c){e.get(t)?.delete(c)}}}var Aa=class{nodesRef={current:[]};events=bW();addNode(t){this.nodesRef.current.push(t)}removeNode(t){let c=this.nodesRef.current.findIndex(n=>n===t);c!==-1&&this.nodesRef.current.splice(c,1)}};var dY=u(F(),1),dK=Oa.createContext(null),iK=Oa.createContext(null),od=()=>Oa.useContext(dK)?.id||null,Nn=e=>{let t=Oa.useContext(iK);return e??t};function qx(e){let t=br(),c=Nn(e),n=od();return Xe(()=>{if(!t)return;let l={id:t,parentId:n};return c?.addNode(l),()=>{c?.removeNode(l)}},[c,t,n]),t}function iY(e){let{children:t,id:c}=e,n=od();return(0,dY.jsx)(dK.Provider,{value:Oa.useMemo(()=>({id:c,parentId:n}),[c,n]),children:t})}function rY(e){let{children:t,externalTree:c}=e,n=oc(()=>c??new Aa).current;return(0,dY.jsx)(iK.Provider,{value:n,children:t})}var $x=u(F(),1);function Rhe(e,t){let c=ht(xc(e));return e instanceof c.KeyboardEvent?"keyboard":e instanceof c.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof c.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}var rK=20,Qa=[];function aY(){Qa=Qa.filter(e=>e.deref()?.isConnected)}function aK(e){aY(),e&&Hc(e)!=="body"&&(Qa.push(new WeakRef(e)),Qa.length>rK&&(Qa=Qa.slice(-rK)))}function sK(){return aY(),Qa[Qa.length-1]?.deref()}function Hhe(e){return e?rW(e)?e:P0(e)[0]||e:null}function bK(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let c=PJ(e).filter(l=>{let o=l.getAttribute("data-tabindex")||"";return rW(l)||l.hasAttribute("data-tabindex")&&!o.startsWith("-")}),n=e.getAttribute("tabindex");c.length===0?n!=="0"&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):(n!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function sY(e){let{context:t,children:c,disabled:n=!1,initialFocus:l=!0,returnFocus:o=!0,restoreFocus:d=!1,modal:i=!0,closeOnFocusOut:r=!0,openInteractionType:a="",nextFocusableElement:s,previousFocusableElement:b,beforeContentFocusGuardRef:m,externalTree:X,getInsideElements:G}=e,g="rootStore"in t?t.rootStore:t,x=g.useState("open"),H=g.useState("domReferenceElement"),p=g.useState("floatingElement"),{events:R,dataRef:I}=g.context,f=Ie(()=>I.current.floatingContext?.nodeId),y=l===!1,Z=jx(H)&&y,W=ac(l),v=ac(o),h=ac(a),C=ac(x),B=Nn(X),V=lY(),S=Sn.useRef(!1),Y=Sn.useRef(!1),J=Sn.useRef(!1),k=Sn.useRef(null),N=Sn.useRef(""),A=Sn.useRef(""),Q=Sn.useRef(null),z=Sn.useRef(null),D=ri(Q,m,V?.beforeInsideRef),U=ri(z,V?.afterInsideRef),O=gc(),L=gc(),M=Ul(),_=V!=null,j=Mx(p),ue=Ie((P=j)=>P?P0(P):[]),xe=Ie(()=>G?.().filter(P=>P!=null)??[]);Sn.useEffect(()=>{if(n||!i)return;function P(Te){Te.key==="Tab"&&Se(j,Uc(je(j)))&&ue().length===0&&!Z&&El(Te)}let ye=je(j);return tt(ye,"keydown",P)},[n,j,i,Z,ue]),Sn.useEffect(()=>{if(n||!x)return;let P=je(j);function ye(){J.current=!1}function Te(Ne){let He=xc(Ne),we=xe(),pe=Se(p,He)||Se(H,He)||Se(V?.portalNode,He)||we.some(ve=>ve===He||Se(ve,He));J.current=!pe,A.current=Ne.pointerType||"keyboard",He?.closest(`[${eK}]`)&&(Y.current=!0,L.start(0,()=>{Y.current=!1}))}function ze(){A.current="keyboard"}return Yn(tt(P,"pointerdown",Te,!0),tt(P,"pointerup",ye,!0),tt(P,"pointercancel",ye,!0),tt(P,"keydown",ze,!0),ye)},[n,p,H,j,x,V,L,xe]),Sn.useEffect(()=>{if(n||!r)return;let P=je(j);function ye(){Y.current=!0,L.start(0,()=>{Y.current=!1})}function Te(we){let pe=xc(we);rW(pe)&&(k.current=pe)}function ze(we){let pe=we.relatedTarget,ve=we.currentTarget,Ve=xc(we);i&&pe==null&&Ve!=null&&Se(p,Ve)&&aK(Ve),queueMicrotask(()=>{let qe=f(),Vt=g.context.triggerElements,Ge=xe(),We=pe?.hasAttribute(Gr("focus-guard"))&&[Q.current,z.current,V?.beforeInsideRef.current,V?.afterInsideRef.current,V?.beforeOutsideRef.current,V?.afterOutsideRef.current,ld(b),ld(s)].includes(pe),se=!(Se(H,pe)||Se(p,pe)||Se(pe,p)||Se(V?.portalNode,pe)||Ge.some(ee=>ee===pe||Se(ee,pe))||Vt.hasMatchingElement(ee=>Se(ee,pe))||We||B&&(Zo(B.nodesRef.current,qe).find(ee=>Se(ee.context?.elements.floating,pe)||Se(ee.context?.elements.domReference,pe))||qJ(B.nodesRef.current,qe).find(ee=>[ee.context?.elements.floating,Mx(ee.context?.elements.floating)].includes(pe)||ee.context?.elements.domReference===pe)));if(ve===H&&j&&bK(j),d&&ve!==H&&!Ob(Ve)&&Uc(P)===P.body){if(st(j)&&(j.focus(),d==="popup")){M.request(()=>{j.focus()});return}let ee=ue(),Ae=k.current,ot=(Ae&&ee.includes(Ae)?Ae:null)||ee[ee.length-1]||j;st(ot)&&ot.focus()}if(I.current.insideReactTree){I.current.insideReactTree=!1;return}(Z||!i)&&pe&&se&&!Y.current&&(Z||pe!==sK())&&(S.current=!0,g.setOpen(!1,_e(fe.focusOut,we)))})}function Ne(){J.current||(I.current.insideReactTree=!0,O.start(0,()=>{I.current.insideReactTree=!1}))}let He=st(H)?H:null;if(!(!p&&!He))return Yn(He&&tt(He,"focusout",ze),He&&tt(He,"pointerdown",ye),p&&tt(p,"focusin",Te),p&&tt(p,"focusout",ze),p&&V&&tt(p,"focusout",Ne,!0))},[n,H,p,j,i,B,V,g,r,d,ue,Z,f,I,O,L,M,s,b,xe]),Sn.useEffect(()=>{if(n||!p||!x)return;let P=Array.from(V?.portalNode?.querySelectorAll(`[${Gr("portal")}]`)||[]),Te=(B?qJ(B.nodesRef.current,f()):[]).find(ve=>jx(ve.context?.elements.domReference||null))?.context?.elements.domReference,Ne=[...[p,...P,Q.current,z.current,V?.beforeOutsideRef.current,V?.afterOutsideRef.current,...xe()],Te,ld(b),ld(s),Z?H:null].filter(ve=>ve!=null),He=cY(Ne,{ariaHidden:i||Z,mark:!1}),we=[p,...P].filter(ve=>ve!=null),pe=cY(we);return()=>{pe(),He()}},[x,n,H,p,i,V,Z,B,f,s,b,xe]),Xe(()=>{if(!x||n||!st(j))return;N.current="",A.current="";let P=je(j),ye=Uc(P);queueMicrotask(()=>{let Te=W.current,ze=typeof Te=="function"?Te(h.current||""):Te;if(ze===void 0||ze===!1||Se(j,ye))return;let He=null,we=()=>(He==null&&(He=ue(j)),He[0]||j),pe;ze===!0||ze===null?pe=we():pe=ld(ze),pe=pe||we();let ve=Se(j,Uc(P));q0(pe,{preventScroll:pe===j,shouldFocus(){if(!C.current)return!1;if(ve)return!0;let Ve=Uc(P);return!(Ve!==pe&&Se(j,Ve))}})})},[n,x,j,ue,W,h,C]),Xe(()=>{if(n||!j)return;let P=je(j),ye=Uc(P),Te=h.current==null;aK(ye);function ze(He){if(He.open||(N.current=Rhe(He.nativeEvent,A.current)),He.reason===fe.triggerHover&&He.nativeEvent.type==="mouseleave"&&(S.current=!0),He.reason===fe.outsidePress)if(He.nested)S.current=!1;else if(j0(He.nativeEvent)||M0(He.nativeEvent))S.current=!1;else{let we=!1;je(j).createElement("div").focus({get preventScroll(){return we=!0,!1}}),we?S.current=!1:S.current=!0}}R.on("openchange",ze);function Ne(He){let we=v.current,pe=typeof we=="function"?we(He):we;if(pe===void 0||pe===!1)return null;pe===null&&(pe=!0);let ve=H?.isConnected?H:null,Ve=ye?.isConnected&&Hc(ye)!=="body"?ye:null,qe=Te?Ve||ve:ve||Ve;return qe||(qe=sK()||null),typeof pe=="boolean"?qe:ld(pe)||qe||null}return()=>{R.off("openchange",ze);let He=Uc(P),we=xe(),pe=Se(p,He)||we.some(Vt=>Vt===He||Se(Vt,He))||B&&Zo(B.nodesRef.current,f(),!1).some(Vt=>Se(Vt.context?.elements.floating,He)),ve=v.current,Ve=N.current,qe=Ne(Ve);queueMicrotask(()=>{let Vt=Hhe(qe),Ge=typeof ve!="boolean";if(ve&&!S.current&&st(Vt)&&(!(!Ge&&Vt!==He&&He!==P.body)||pe)){let We={preventScroll:!0};Ve==="keyboard"&&(We.focusVisible=!0),Vt.focus(We)}S.current=!1})}},[n,p,j,v,h,R,B,H,f,xe]),Xe(()=>{if(!vt.engine.webkit||x||!p)return;let P=Uc(je(p));!st(P)||!Tb(P)||Se(p,P)&&P.blur()},[x,p]),Xe(()=>{if(!(n||!V))return V.setFocusManagerState({modal:i,closeOnFocusOut:r,open:x,onOpenChange:g.setOpen,domReference:H}),()=>{V.setFocusManagerState(null)}},[n,V,i,x,g,r,H]),Xe(()=>{if(!(n||!j))return bK(j),()=>{queueMicrotask(aY)}},[n,j]);let Be=!n&&(i?!Z:!0)&&(_||i);return(0,$x.jsxs)(Sn.Fragment,{children:[Be&&(0,$x.jsx)(mr,{"data-type":"inside",ref:D,onFocus:P=>{if(i){let ye=ue();q0(ye[ye.length-1])}else V?.portalNode&&(S.current=!1,Xr(P,V.portalNode)?K0(H)?.focus():ld(b??V.beforeOutsideRef)?.focus())}}),c,Be&&(0,$x.jsx)(mr,{"data-type":"inside",ref:U,onFocus:P=>{i?q0(ue()[0]):V?.portalNode&&(r&&(S.current=!0),Xr(P,V.portalNode)?aW(H)?.focus():ld(s??V.afterOutsideRef)?.focus())}})]})}var ep=u(E(),1);function tp(e,t={}){let{enabled:c=!0,event:n="click",toggle:l=!0,ignoreMouse:o=!1,stickIfOpen:d=!0,touchOpenDelay:i=0,reason:r=fe.triggerPress}=t,a="rootStore"in e?e.rootStore:e,s=a.context.dataRef,b=ep.useRef(void 0),m=Ul(),X=gc(),G=ep.useMemo(()=>{function g(H,p,R,I){let f=_e(r,p,R);H&&I==="touch"&&i>0?X.start(i,()=>{a.setOpen(!0,f)}):a.setOpen(H,f)}function x(H,p,R){let I=s.current.openEvent,f=a.select("domReferenceElement")!==p;return H&&f||!H||!l?!0:I&&d?!R(I.type):!1}return{onPointerDown(H){b.current=ur(H.pointerType,!0)&&M0(H.nativeEvent)?"virtual":H.pointerType},onMouseDown(H){let p=b.current,R=H.nativeEvent,I=a.select("open");if(H.button!==0||n==="click"||ur(p,!0)&&o)return;let f=x(I,H.currentTarget,W=>W==="click"||W==="mousedown"),y=xc(R);if(Tb(y)){g(f,R,y,p);return}let Z=H.currentTarget;m.request(()=>{g(f,R,Z,p)})},onClick(H){if(n==="mousedown-only")return;let p=b.current;if(n==="mousedown"&&p){b.current=void 0;return}if(ur(p,!0)&&o)return;let R=a.select("open"),I=x(R,H.currentTarget,f=>f==="click"||f==="mousedown"||f==="keydown"||f==="keyup");g(I,H.nativeEvent,H.currentTarget,p)},onKeyDown(){b.current=void 0}}},[s,n,o,r,a,d,l,m,X,i]);return ep.useMemo(()=>c?{reference:G}:Gt,[c,G])}var nl=u(E(),1);function Ihe(){return!1}function Zhe(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function bY(e,t={}){let{enabled:c=!0,escapeKey:n=!0,outsidePress:l=!0,outsidePressEvent:o="sloppy",referencePress:d=Ihe,bubbles:i,externalTree:r}=t,a="rootStore"in e?e.rootStore:e,s=a.useState("open"),b=a.useState("floatingElement"),{dataRef:m,events:X}=a.context,G=Nn(r),g=Ie(typeof l=="function"?l:()=>!1),x=typeof l=="function"?g:l,H=x!==!1,p=Ie(()=>o),{escapeKey:R,outsidePress:I}=Zhe(i),f=nl.useRef(!1),y=nl.useRef(!1),Z=nl.useRef(!1),W=nl.useRef(!1),v=nl.useRef(!1),h=nl.useRef(""),C=nl.useRef(null),B=gc(),V=gc(),S=Ie(()=>{V.clear(),m.current.insideReactTree=!1}),Y=Ie(O=>{let L=m.current.floatingContext?.nodeId;return(G?Zo(G.nodesRef.current,L):[]).some(_=>_.context?.open&&!_.context.dataRef.current[O])}),J=Ie(O=>lW(O,a.select("floatingElement"))||lW(O,a.select("domReferenceElement"))),k=Ie(O=>{d()&&a.setOpen(!1,_e(fe.triggerPress,O.nativeEvent))}),N=Ie(O=>{if(!s||!c||!n||O.key!=="Escape"||v.current||!R&&Y("__escapeKeyBubbles"))return;let L=W8(O)?O.nativeEvent:O,M=_e(fe.escapeKey,L);a.setOpen(!1,M),M.isCanceled||O.preventDefault(),!R&&!M.isPropagationAllowed&&O.stopPropagation()}),A=Ie(()=>{m.current.insideReactTree=!0,V.start(0,S)}),Q=Ie(O=>{if(!s||!c||O.button!==0)return;let L=xc(O.nativeEvent);Se(a.select("floatingElement"),L)&&(f.current||(f.current=!0,y.current=!1))}),z=Ie(O=>{!s||!c||(O.defaultPrevented||O.nativeEvent.defaultPrevented)&&f.current&&(y.current=!0)});nl.useEffect(()=>{function O(L){L.open||(W.current=!1)}return X.on("openchange",O),()=>{X.off("openchange",O)}},[X]),nl.useEffect(()=>{if(!s||!c)return s||(W.current=!1),S;m.current.__escapeKeyBubbles=R,m.current.__outsidePressBubbles=I;let O=new Bl,L=new Bl,M=je(b);function _(){O.clear(),v.current=!0}function j(){O.start(vt.engine.webkit?5:0,()=>{v.current=!1})}function ue(){Z.current=!0,L.start(0,()=>{Z.current=!1})}function xe(){f.current=!1,y.current=!1}function Be(){let se=h.current,ee=se==="pen"||!se?"mouse":se,Ae=p(),ot=typeof Ae=="function"?Ae():Ae;return typeof ot=="string"?ot:ot[ee]}function P(se){let ee=Be();return ee==="intentional"&&se.type!=="click"||ee==="sloppy"&&se.type==="click"}function ye(se){let ee=m.current.floatingContext?.nodeId,Ae=G&&Zo(G.nodesRef.current,ee).some(ot=>lW(se,ot.context?.elements.floating));return J(se)||Ae}function Te(se){if(P(se)){se.type!=="click"&&!J(se)&&(L.clear(),Z.current=!1),S();return}if(m.current.insideReactTree){S();return}let ee=xc(se),Ae=`[${Gr("inert")}]`,ot=ct(ee)?ee.getRootNode():null,ft=Array.from((Fd(ot)?ot:je(a.select("floatingElement"))).querySelectorAll(Ae)),Lt=a.context.triggerElements;if(ee&&(Lt.hasElement(ee)||Lt.hasMatchingElement(Ye=>Se(Ye,ee))))return;let kc=ct(ee)?ee:null;for(;kc&&!ao(kc);){let Ye=ro(kc);if(ao(Ye)||!ct(Ye))break;kc=Ye}if(!(ft.length&&ct(ee)&&!F8(ee)&&!Se(ee,a.select("floatingElement"))&&ft.every(Ye=>!Se(kc,Ye)))){if(st(ee)&&!("touches"in se)){let Ye=ao(ee),le=Oc(ee),Fe=/auto|scroll/,Qe=Ye||Fe.test(le.overflowX),he=Ye||Fe.test(le.overflowY),Ke=Qe&&ee.clientWidth>0&&ee.scrollWidth>ee.clientWidth,ut=he&&ee.clientHeight>0&&ee.scrollHeight>ee.clientHeight,kt=le.direction==="rtl",al=ut&&(kt?se.offsetX<=ee.offsetWidth-ee.clientWidth:se.offsetX>ee.clientWidth),$e=Ke&&se.offsetY>ee.clientHeight;if(al||$e)return}if(!ye(se)){if(Be()==="intentional"){if(se.detail!==0&&!j0(se)&&!W.current)return;if(Z.current){L.clear(),Z.current=!1;return}}typeof x=="function"&&!x(se)||Y("__outsidePressBubbles")||(a.setOpen(!1,_e(fe.outsidePress,se)),S())}}}function ze(se){Be()!=="sloppy"||se.pointerType==="touch"||!a.select("open")||!c||J(se)||Te(se)}function Ne(se){if(Be()!=="sloppy"||!a.select("open")||!c||J(se))return;let ee=se.touches[0];ee&&(C.current={startTime:Date.now(),startX:ee.clientX,startY:ee.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},B.start(1e3,()=>{C.current&&(C.current.dismissOnTouchEnd=!1,C.current.dismissOnMouseDown=!1)}))}function He(se,ee){let Ae=xc(se);if(!Ae)return;let ot=tt(Ae,se.type,()=>{ee(se),ot()})}function we(se){h.current="touch",He(se,Ne)}function pe(se){B.clear(),se.type==="pointerdown"&&(se.button===0&&(W.current=!0),h.current=se.pointerType),!(se.type==="mousedown"&&C.current&&!C.current.dismissOnMouseDown)&&He(se,ee=>{ee.type==="pointerdown"?ze(ee):Te(ee)})}function ve(se){if(se.type==="pointercancel"&&(W.current=!1),!f.current)return;let ee=y.current;if(xe(),Be()==="intentional"){if(se.type==="pointercancel"){ee&&ue();return}if(!ye(se)){if(ee){ue();return}typeof x=="function"&&!x(se)||(L.clear(),Z.current=!0,S())}}}function Ve(se){if(Be()!=="sloppy"||!C.current||J(se))return;let ee=se.touches[0];if(!ee)return;let Ae=Math.abs(ee.clientX-C.current.startX),ot=Math.abs(ee.clientY-C.current.startY),ft=Math.sqrt(Ae*Ae+ot*ot);ft>5&&(C.current.dismissOnTouchEnd=!0),ft>10&&(Te(se),B.clear(),C.current=null)}function qe(se){He(se,Ve)}function Vt(se){Be()!=="sloppy"||!C.current||J(se)||(C.current.dismissOnTouchEnd&&Te(se),B.clear(),C.current=null)}function Ge(se){He(se,Vt)}let We=Yn(n&&Yn(tt(M,"keydown",N),tt(M,"compositionstart",_),tt(M,"compositionend",j)),H&&Yn(tt(M,"click",pe,!0),tt(M,"pointerdown",pe,!0),tt(M,"pointerup",ve,!0),tt(M,"pointercancel",ve,!0),tt(M,"mousedown",pe,!0),tt(M,"mouseup",ve,!0),tt(M,"touchstart",we,{capture:!0,passive:!0}),tt(M,"touchmove",qe,{capture:!0,passive:!0}),tt(M,"touchend",Ge,{capture:!0,passive:!0})));return()=>{We(),O.clear(),L.clear(),xe(),Z.current=!1,S()}},[m,b,n,H,x,s,c,R,I,N,S,p,Y,J,G,a,B]);let D=nl.useMemo(()=>({onKeyDown:N,onPointerDown:k,onClick:k}),[N,k]),U=nl.useMemo(()=>({onKeyDown:N,onPointerDown:z,onMouseDown:z,onClickCapture:A,onMouseDownCapture(O){A(),Q(O)},onPointerDownCapture(O){A(),Q(O)},onMouseUpCapture:A,onTouchEndCapture:A,onTouchMoveCapture:A}),[N,A,Q,z]);return nl.useMemo(()=>c?{reference:D,floating:U,trigger:D}:{},[c,D,U])}var wn=u(E(),1);var uW=class{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(t,c,n=!0){this.fallbackStore=t,this.componentName=c,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(t){return this.storeListeners.add(t),()=>{this.storeListeners.delete(t)}}attachStore(t){return this.attachedStores.push(t),this.setActiveStore(t),()=>{let c=this.attachedStores.lastIndexOf(t);c!==-1&&this.attachedStores.splice(c,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(t){this.attachedStoreValue!==t&&(this.attachedStoreValue=t,this.storeListeners.forEach(c=>{c()}))}openByTrigger(t){let c=this.attachedStore;if(c===null)return;let n;if(t){for(let l=this.attachedStores.length-1;l>=0&&!n;l-=1)n=this.attachedStores[l].context.triggerElements.getById(t);n??=this.fallbackStore.context.triggerElements.getById(t)}if(t&&!n&&this.throwOnMissingTrigger)throw new Error(St(99,this.componentName,t,this.componentName));c.setOpen(!0,_e(fe.imperativeAction,void 0,n))}closePopup(){let t=this.attachedStore;t!==null&&t.setOpen(!1,_e(fe.imperativeAction))}};var xY=u(E(),1),zhe=u(io(),1);var ZK=u(E(),1);var HK=u(E(),1),GY=u(iG(),1),IK=u(GK(),1);var gK=u(E(),1);var uY=[],mY;function xK(){return mY}function pK(e){uY.push(e)}function XY(e){let t=(c,n)=>{let l=oc(Fhe).current,o;try{mY=l;for(let d of uY)d.before(l);o=e(c,n);for(let d of uY)d.after(l);l.didInitialize=!0}finally{mY=void 0}return o};return t.displayName=e.displayName||e.name,t}function RK(e){return gK.forwardRef(XY(e))}function Fhe(){return{didInitialize:!1}}var Jhe=Q0(19),Yhe=Jhe?She:whe;function XW(e,t,c,n,l){return Yhe(e,t,c,n,l)}function Nhe(e,t,c,n,l){let o=HK.useCallback(()=>t(e.getSnapshot(),c,n,l),[e,t,c,n,l]);return(0,GY.useSyncExternalStore)(e.subscribe,o,o)}pK({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let c=0;c<e.syncHooks.length;c+=1){let n=e.syncHooks[c],l=n.selector(n.store.state,n.a1,n.a2,n.a3);Object.is(n.value,l)||(t=!0,n.value=l)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let c=new Set;for(let l of e.syncHooks)c.add(l.store);let n=[];for(let l of c)n.push(l.subscribe(t));return()=>{for(let l of n)l()}}),(0,GY.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function She(e,t,c,n,l){let o=xK();if(!o)return Nhe(e,t,c,n,l);let d=o.syncIndex;o.syncIndex+=1;let i;return o.didInitialize?(i=o.syncHooks[d],(i.store!==e||i.selector!==t||!Object.is(i.a1,c)||!Object.is(i.a2,n)||!Object.is(i.a3,l))&&(i.store!==e&&(o.didChangeStore=!0),i.store=e,i.selector=t,i.a1=c,i.a2=n,i.a3=l,i.value=t(e.getSnapshot(),c,n,l))):(i={store:e,selector:t,a1:c,a2:n,a3:l,value:t(e.getSnapshot(),c,n,l)},o.syncHooks.push(i)),i.value}function whe(e,t,c,n,l){return(0,IK.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,o=>t(o,c,n,l))}var GW=class{static create(t){return new this(t)}constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;let c=this.updateTick;for(let n of this.listeners){if(c!==this.updateTick)return;n(t)}}update(t){for(let c in t)if(!Object.is(this.state[c],t[c])){this.setState({...this.state,...t});return}}set(t,c){Object.is(this.state[t],c)||this.setState({...this.state,[t]:c})}notifyAll(){let t={...this.state};this.setState(t)}use(t,c,n,l){return XW(this,t,c,n,l)}};var Ub=u(E(),1);var Ua=class extends GW{constructor(t,c={},n){super(t),this.context=c,this.selectors=n}useSyncedValue(t,c){Ub.useDebugValue(t);let n=this;Xe(()=>{n.state[t]!==c&&n.set(t,c)},[n,t,c])}useSyncedValueWithCleanup(t,c){let n=this;Xe(()=>(n.state[t]!==c&&n.set(t,c),()=>{n.set(t,void 0)}),[n,t,c])}useSyncedValues(t){let c=this,n=Object.values(t);Xe(()=>{c.update(t)},[c,...n])}useControlledProp(t,c){Ub.useDebugValue(t);let n=this,l=c!==void 0;Xe(()=>{l&&!Object.is(n.state[t],c)&&n.setState({...n.state,[t]:c})},[n,t,c,l])}select(t,c,n,l){let o=this.selectors[t];return o(this.state,c,n,l)}useState(t,c,n,l){return Ub.useDebugValue(t),XW(this,this.selectors[t],c,n,l)}useContextCallback(t,c){Ub.useDebugValue(t);let n=Ie(c??tn);this.context[t]=n}useStateSetter(t){let c=Ub.useRef(void 0);return c.current===void 0&&(c.current=n=>{this.set(t,n)}),c.current}observe(t,c){let n;typeof t=="function"?n=t:n=this.selectors[t];let l=n(this.state);return c(l,l,this),this.subscribe(o=>{let d=n(o);if(!Object.is(l,d)){let i=l;l=d,c(d,i,this)}})}};var khe={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},$0=class extends Ua{constructor(t){let{syncOnly:c,nested:n,onOpenChange:l,triggerElements:o,...d}=t;super({...d,positionReference:d.referenceElement,domReferenceElement:d.referenceElement},{onOpenChange:l,dataRef:{current:{}},events:bW(),nested:n,triggerElements:o},khe),this.syncOnly=c}syncOpenEvent=(t,c)=>{(!t||!this.state.open||c!=null&&h8(c))&&(this.context.dataRef.current.openEvent=t?c:void 0)};dispatchOpenChange=(t,c)=>{this.syncOpenEvent(t,c.event);let n={open:t,reason:c.reason,nativeEvent:c.event,nested:this.context.nested,triggerElement:c.trigger};this.context.events.emit("openchange",n)};setOpen=(t,c)=>{if(this.syncOnly){this.context.onOpenChange?.(t,c);return}this.dispatchOpenChange(t,c),this.context.onOpenChange?.(t,c)}};function gY(e){let{popupStore:t,treatPopupAsFloatingElement:c=!1,floatingRootContext:n,floatingId:l,nested:o,onOpenChange:d}=e,i=t.useState("open"),r=t.useState("activeTriggerElement"),a=t.useState(c?"popupElement":"positionerElement"),s=t.context.triggerElements,b=d,m=ZK.useRef(null);n===void 0&&m.current===null&&(m.current=new $0({open:i,transitionStatus:void 0,referenceElement:r,floatingElement:a,triggerElements:s,onOpenChange:b,floatingId:l,syncOnly:!0,nested:o}));let X=n??m.current;return t.useSyncedValue("floatingId",l),Xe(()=>{let G={open:i,floatingId:l,referenceElement:r,floatingElement:a};ct(r)&&(G.domReferenceElement=r),X.state.positionReference===X.state.referenceElement&&(G.positionReference=r),X.update(G)},[i,l,r,a,X]),X.context.onOpenChange=b,X.context.nested=o,X}var yK={tabIndex:-1,[Ex]:""};function WK({handle:e,store:t}){return Xe(()=>e.attachStore(t),[e,t]),null}function fK(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function pY(e,t){let c=xY.useRef(null);return Ie(n=>{let l=c.current;if(l!==null){if(l.element===n&&l.store===t&&l.id===e)return;c.current=null;let o=l.store;o.context.triggerElements.getById(l.id)===l.element&&(o.context.triggerElements.delete(l.id),fK(o))}n!==null&&e!==void 0&&(c.current={store:t,id:e,element:n},t.context.triggerElements.add(e,n),fK(t))})}function hK(e,t,c,n=!1){let l=e.preventUnmountingOnClose;t?l=!1:n&&(l=!0);let o=c?.id??null,d=e.activeTriggerId,i=e.activeTriggerElement;return(o||t)&&(d=o,i=c??null),{open:t,preventUnmountingOnClose:l,activeTriggerId:d,activeTriggerElement:i}}function BK(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function vK(e,t,c,n){let l=c.useState("isMountedByTrigger",e),o=pY(e,c),d=Ie(r=>{let a=c.select("open"),s=c.select("activeTriggerId");if(s===e){let b={activeTriggerElement:r,...a?n:null};c.update(b);return}if(s==null&&a){let b={activeTriggerId:e??null,activeTriggerElement:r,...n};c.update(b)}}),i=Ie(r=>{o(r),r&&d(r)});return Xe(()=>(i(t.current),()=>i(null)),[i,t,c,e]),Xe(()=>{if(l){let r={activeTriggerElement:t.current,...n};c.update(r)}},[l,c,t,...Object.values(n)]),{registerTrigger:i,isMountedByThisTrigger:l}}function VK(e,t={}){let{closeOnActiveTriggerUnmount:c=!1}=t,n=xY.useRef(null),l=e.useState("open"),o=e.useState("triggerCount"),d=e.useState("activeTriggerId"),i=e.useState("activeTriggerElement");Xe(()=>{if(!l){n.current=null,e.state.triggerCount!==0&&e.set("triggerCount",0);return}let r=e.context.triggerElements.size,a={};e.state.triggerCount!==r&&(a.triggerCount=r);let s=e.select("activeTriggerId"),b=null;if(s){let m=e.context.triggerElements.getById(s);if(m)n.current=s,m!==e.state.activeTriggerElement&&(a.activeTriggerElement=m);else{for(let[X,G]of e.context.triggerElements.entries())if(G===e.state.activeTriggerElement){a.activeTriggerId=X,a.activeTriggerElement=G,n.current=X;break}a.activeTriggerId===void 0&&(n.current===s?b=s:n.current=null)}}else n.current=null;if(!b&&!s&&r===1){let m=e.context.triggerElements.entries().next();if(!m.done){let[X,G]=m.value;a.activeTriggerId=X,a.activeTriggerElement=G,n.current=X}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),b&&c&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===b&&!e.context.triggerElements.getById(b)){let m=_e(fe.none);e.setOpen(!1,m),m.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[l,e,o,d,i,c])}function CK(e,t,c,n){let{mounted:l,setMounted:o,transitionStatus:d}=E0(e,!1,!1,n),i=t.useState("preventUnmountingOnClose"),r=e?!1:i;t.useSyncedValues({mounted:l,transitionStatus:d,preventUnmountingOnClose:r});let a=Ie(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),c?.(),t.context.onOpenChangeComplete?.(!1)});return za({enabled:l&&!e&&!r,open:e,ref:t.context.popupRef,onComplete(){e||a()}}),{forceUnmount:a,transitionStatus:d}}function FK(e,t){e.useSyncedValues(t),Xe(()=>()=>{e.update({activeTriggerProps:Gt,inactiveTriggerProps:Gt,popupProps:Gt})},[e])}var cp=class{constructor(){this.idMap=new Map}add(t,c){this.idMap.set(t,c)}delete(t){this.idMap.delete(t)}hasElement(t){for(let c of this.idMap.values())if(c===t)return!0;return!1}hasMatchingElement(t){for(let c of this.idMap.values())if(t(c))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}};function YK(e,t,c=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new $0({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:c,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Gt,inactiveTriggerProps:Gt,popupProps:Gt}}var np=e=>e.triggerIdProp??e.activeTriggerId,RY=e=>e.openProp??e.open,JK=e=>(e.popupElement?.id??e.floatingId)||void 0;function NK(e,t){return t!==void 0&&RY(e)&&np(e)===t}function The(e,t){return NK(e,t)?!0:t!==void 0&&RY(e)&&np(e)==null&&e.triggerCount===1}var SK={open:RY,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:np,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:JK,isTriggerActive:(e,t)=>t!==void 0&&np(e)===t,isOpenedByTrigger:(e,t)=>NK(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&np(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>The(e,t)?JK(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};var HY=u(E(),1),wK=u(iG(),1);function kK(e){let t=HY.useCallback(n=>e===void 0?tn:e.subscribeStore(n),[e]),c=HY.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,wK.useSyncExternalStore)(t,c,()=>e?.serverStore)}function zK(e){return Ahe(e,e.rootContext)}function Ahe(e,t){let{nodeId:c,externalTree:n}=e,l=t.useState("referenceElement"),o=t.useState("floatingElement"),d=t.useState("domReferenceElement"),i=t.useState("open"),r=t.useState("floatingId"),[a,s]=wn.useState(null),[b,m]=wn.useState(void 0),[X,G]=wn.useState(void 0),g=wn.useRef(null),x=Nn(n),H=wn.useMemo(()=>({reference:l,floating:o,domReference:d}),[l,o,d]),p=vy({...e,elements:{...H,...a&&{reference:a}}}),R=ct(b)?b:null,I=X===void 0?t.state.floatingElement:X;t.useSyncedValue("referenceElement",b??null),t.useSyncedValue("domReferenceElement",b===void 0?d:R),t.useSyncedValue("floatingElement",I);let f=wn.useCallback(C=>{let B=ct(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),getClientRects:()=>C.getClientRects(),contextElement:C}:C;s(B),p.refs.setReference(B)},[p.refs]),y=wn.useCallback(C=>{(ct(C)||C===null)&&(g.current=C,m(C)),(ct(p.refs.reference.current)||p.refs.reference.current===null||C!==null&&!ct(C))&&p.refs.setReference(C)},[p.refs,m]),Z=wn.useCallback(C=>{G(C),p.refs.setFloating(C)},[p.refs]),W=wn.useMemo(()=>({...p.refs,setReference:y,setFloating:Z,setPositionReference:f,domReference:g}),[p.refs,y,Z,f]),v=wn.useMemo(()=>({...p.elements,domReference:d}),[p.elements,d]),h=wn.useMemo(()=>({...p,dataRef:t.context.dataRef,open:i,onOpenChange:t.setOpen,events:t.context.events,floatingId:r,refs:W,elements:v,nodeId:c,rootStore:t}),[p,W,v,c,t,i,r]);return Xe(()=>{d&&(g.current=d)},[d]),Xe(()=>{t.context.dataRef.current.floatingContext=h;let C=x?.nodesRef.current.find(B=>B.id===c);C&&(C.context=h)}),wn.useMemo(()=>({...p,context:h,refs:W,elements:v,rootStore:t}),[p,W,v,h,t])}var si=u(E(),1);var IY=vt.os.mac&&vt.engine.webkit;function ZY(e,t={}){let{enabled:c=!0,delay:n}=t,l="rootStore"in e?e.rootStore:e,{events:o,dataRef:d}=l.context,i=si.useRef(!1),r=si.useRef(null),a=si.useRef(!0),s=gc();si.useEffect(()=>{let m=l.select("domReferenceElement");if(!c)return;let X=ht(m);function G(){let H=l.select("domReferenceElement");!l.select("open")&&st(H)&&H===Uc(je(H))&&(i.current=!0,r.current=H)}function g(){a.current=!0}function x(){a.current=!1}return Yn(tt(X,"blur",G),IY&&tt(X,"keydown",g,!0),IY&&tt(X,"pointerdown",x,!0))},[l,c]),si.useEffect(()=>{if(!c)return;function m(X){if(X.reason===fe.triggerPress||X.reason===fe.escapeKey){let G=l.select("domReferenceElement");ct(G)&&(r.current=G,i.current=!0)}}return o.on("openchange",m),()=>{o.off("openchange",m)}},[o,c,l]);let b=si.useMemo(()=>{function m(){i.current=!1,r.current=null}return{onMouseLeave(){m()},onFocus(X){let G=X.currentTarget;if(i.current){if(r.current===G)return;m()}let g=xc(X.nativeEvent);if(ct(g)){if(IY&&!X.relatedTarget){if(!a.current&&!Tb(g))return}else if(!J8(g))return}let x=Ta(X.relatedTarget,l.context.triggerElements),{nativeEvent:H,currentTarget:p}=X,R=typeof n=="function"?n():n;if(l.select("open")&&x||R===0||R===void 0){l.setOpen(!0,_e(fe.triggerFocus,H,p));return}s.start(R,()=>{i.current||l.setOpen(!0,_e(fe.triggerFocus,H,p))})},onBlur(X){m();let G=X.relatedTarget,g=X.nativeEvent,x=ct(G)&&G.hasAttribute(Gr("focus-guard"))&&G.getAttribute("data-type")==="outside";s.start(0,()=>{let H=l.select("domReferenceElement"),p=Uc(je(H));!G&&p===H||Se(d.current.floatingContext?.refs.floating.current,p)||Se(H,p)||x||Ta(G??p,l.context.triggerElements)||l.setOpen(!1,_e(fe.triggerFocus,g))})}}},[d,n,l,s]);return si.useMemo(()=>c?{reference:b,trigger:b}:{},[c,b])}var yY=u(E(),1);var fY=class e{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 Bl,this.restTimeout=new Bl,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},gW=new WeakMap;function eX(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&gW.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),gW.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function xW(e,t){let{scopeElement:c,referenceElement:n,floatingElement:l}=t,o=gW.get(c);o&&o!==e&&eX(o),eX(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=c,e.pointerEventsReferenceElement=n,e.pointerEventsFloatingElement=l,gW.set(c,e),c.style.pointerEvents="none",n.style.pointerEvents="auto",l.style.pointerEvents="auto"}function pW(e){let t=e.context.dataRef.current,c=oc(()=>t.hoverInteractionState??fY.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=c),U0(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function WY(e,t={}){let{enabled:c=!0,closeDelay:n=0,nodeId:l}=t,o="rootStore"in e?e.rootStore:e,d=o.useState("open"),i=o.useState("floatingElement"),r=o.useState("domReferenceElement"),{dataRef:a}=o.context,s=Nn(),b=od(),m=pW(o),X=gc(),G=Ie(()=>oW(a.current.openEvent?.type,m.interactedInside)),g=Ie(()=>Y8(a.current.openEvent?.type)),x=Ie(()=>{eX(m)});Xe(()=>{d||(m.pointerType=void 0,m.restTimeoutPending=!1,m.interactedInside=!1,x())},[d,m,x]),yY.useEffect(()=>x,[x]),Xe(()=>{if(c&&d&&m.handleCloseOptions?.blockPointerEvents&&g()&&ct(r)&&i){let H=r,p=i,R=je(i),I=s?.nodesRef.current.find(W=>W.id===b)?.context?.elements.floating;I&&(I.style.pointerEvents="");let f=m.pointerEventsScopeElement!==p?m.pointerEventsScopeElement:null,y=I!==p?I:null,Z=m.handleCloseOptions?.getScope?.()??f??y??H.closest("[data-rootownerid]")??R.body;return xW(m,{scopeElement:Z,referenceElement:H,floatingElement:p}),()=>{x()}}},[c,d,r,i,m,g,s,b,x]),yY.useEffect(()=>{if(!c)return;function H(){return!!(s&&b&&Zo(s.nodesRef.current,b).length>0)}function p(W){let v=Px(n,"close",m.pointerType),h=()=>{o.setOpen(!1,_e(fe.triggerHover,W)),s?.events.emit("floating.closed",W)};v?m.openChangeTimeout.start(v,h):(m.openChangeTimeout.clear(),h())}function R(W){let v=xc(W);if(!UJ(v)){m.interactedInside=!1;return}m.interactedInside=v?.closest("[aria-haspopup]")!=null}function I(){m.openChangeTimeout.clear(),X.clear(),s?.events.off("floating.closed",y),x()}function f(W){if(H()&&s){s.events.on("floating.closed",y);return}if(Ta(W.relatedTarget,o.context.triggerElements))return;let v=a.current.floatingContext?.nodeId??l,h=W.relatedTarget;if(!(s&&v&&ct(h)&&Zo(s.nodesRef.current,v,!1).some(B=>Se(B.context?.elements.floating,h)))){if(m.handler){m.handler(W);return}x(),g()&&!G()&&p(W)}}function y(W){!s||!b||H()||X.start(0,()=>{s.events.off("floating.closed",y),o.setOpen(!1,_e(fe.triggerHover,W)),s.events.emit("floating.closed",W)})}let Z=i;return Yn(Z&&tt(Z,"mouseenter",I),Z&&tt(Z,"mouseleave",f),Z&&tt(Z,"pointerdown",R,!0),()=>{s?.events.off("floating.closed",y)})},[c,i,o,a,n,l,g,G,x,m,s,b,X])}var Ea=u(E(),1),TK=u(io(),1);var Ohe={current:null};function lp(e,t={}){let{enabled:c=!0,delay:n=0,handleClose:l=null,mouseOnly:o=!1,restMs:d=0,move:i=!0,triggerElementRef:r=Ohe,externalTree:a,isActiveTrigger:s=!0,getHandleCloseContext:b,isClosing:m,shouldOpen:X,guardStaleOpen:G=!1}=t,g="rootStore"in e?e.rootStore:e,{dataRef:x,events:H}=g.context,p=Nn(a),R=pW(g),I=Ea.useRef(!1),f=ac(l),y=ac(n),Z=ac(d),W=ac(c),v=ac(X),h=ac(m),C=Ie(()=>oW(x.current.openEvent?.type,R.interactedInside)),B=Ie(()=>v.current?.()!==!1),V=Ie((J,k,N)=>{let A=g.context.triggerElements;if(A.hasElement(k))return!J||!Se(J,k);if(!ct(N))return!1;let Q=N;return A.hasMatchingElement(z=>Se(z,Q))&&(!J||!Se(J,Q))}),S=Ie(()=>{if(!R.handler)return;je(g.select("domReferenceElement")).removeEventListener("mousemove",R.handler),R.handler=void 0}),Y=Ie(()=>{eX(R)});return s&&(R.handleCloseOptions=l?.__options),Ea.useEffect(()=>S,[S]),Ea.useEffect(()=>{if(!c)return;function J(k){k.open?I.current=!1:(I.current=k.reason===fe.triggerHover,S(),R.openChangeTimeout.clear(),R.restTimeout.clear(),R.blockMouseMove=!0,R.restTimeoutPending=!1)}return H.on("openchange",J),()=>{H.off("openchange",J)}},[c,H,R,S]),Ea.useEffect(()=>{if(!c)return;function J(D,U=!0){let O=Px(y.current,"close",R.pointerType);O?R.openChangeTimeout.start(O,()=>{g.setOpen(!1,_e(fe.triggerHover,D)),p?.events.emit("floating.closed",D)}):U&&(R.openChangeTimeout.clear(),g.setOpen(!1,_e(fe.triggerHover,D)),p?.events.emit("floating.closed",D))}let k=r.current??(s?g.select("domReferenceElement"):null);if(!ct(k))return;function N(D){if(R.openChangeTimeout.clear(),R.blockMouseMove=!1,o&&!ur(R.pointerType))return;let U=EJ(Z.current),O=Px(y.current,"open",R.pointerType),L=xc(D),M=D.currentTarget??null,_=g.select("domReferenceElement"),j=M;if(ct(L)&&!g.context.triggerElements.hasElement(L)){for(let He of g.context.triggerElements.elements())if(Se(He,L)){j=He;break}}ct(M)&&ct(_)&&!g.context.triggerElements.hasElement(M)&&Se(M,_)&&(j=_);let ue=j==null?!1:V(_,j,L),xe=g.select("open"),Be=h.current?.()??g.select("transitionStatus")==="ending",P=!xe&&Be&&I.current,ye=!ue&&ct(j)&&ct(_)&&Se(_,j)&&P,Te=U>0&&!O,ze=ue&&(xe||P)||ye,Ne=!xe||ue;if(ze){B()&&g.setOpen(!0,_e(fe.triggerHover,D,j));return}Te||(O?R.openChangeTimeout.start(O,()=>{Ne&&B()&&g.setOpen(!0,_e(fe.triggerHover,D,j))}):Ne&&B()&&g.setOpen(!0,_e(fe.triggerHover,D,j)))}function A(D){if(C()){Y();return}S();let U=g.select("domReferenceElement"),O=je(U);R.restTimeout.clear(),R.restTimeoutPending=!1;let L=x.current.floatingContext??b?.();if(Ta(D.relatedTarget,g.context.triggerElements))return;if(f.current&&L){g.select("open")||R.openChangeTimeout.clear();let _=r.current;R.handler=f.current({...L,tree:p,x:D.clientX,y:D.clientY,onClose(){Y(),S(),W.current&&!C()&&_===g.select("domReferenceElement")&&J(D,!0)}}),O.addEventListener("mousemove",R.handler),R.handler(D);return}(R.pointerType!=="touch"||!Se(g.select("floatingElement"),D.relatedTarget))&&J(D)}function Q(D){Se(k,D.relatedTarget)||(R.openChangeTimeout.clear(),R.restTimeout.clear(),R.restTimeoutPending=!1)}let z=G?tt(k,"mouseout",Q):void 0;return i?Yn(tt(k,"mousemove",N,{once:!0}),tt(k,"mouseenter",N),tt(k,"mouseleave",A),z):Yn(tt(k,"mouseenter",N),tt(k,"mouseleave",A),z)},[S,Y,x,y,g,c,f,R,s,V,C,o,i,Z,r,p,W,b,h,B,G]),Ea.useMemo(()=>{if(!c)return;function J(k){R.pointerType=k.pointerType}return{onPointerDown:J,onPointerEnter:J,onMouseMove(k){let{nativeEvent:N}=k,A=k.currentTarget,Q=g.select("domReferenceElement"),z=g.select("open"),D=V(Q,A,k.target);if(o&&!ur(R.pointerType))return;if(z&&D&&R.handleCloseOptions?.blockPointerEvents){let L=g.select("floatingElement");if(L){let M=R.handleCloseOptions?.getScope?.()??A.ownerDocument.body;xW(R,{scopeElement:M,referenceElement:A,floatingElement:L})}}let U=EJ(Z.current);if(z&&!D||U===0||!D&&R.restTimeoutPending&&k.movementX**2+k.movementY**2<2)return;R.restTimeout.clear();function O(){if(R.restTimeoutPending=!1,C())return;let L=g.select("open");!R.blockMouseMove&&(!L||D)&&B()&&g.setOpen(!0,_e(fe.triggerHover,N,A))}R.pointerType==="touch"?TK.flushSync(()=>{O()}):D&&z?O():(R.restTimeoutPending=!0,R.restTimeout.start(U,O))}}},[c,R,C,V,o,g,Z,B])}var Gn=u(E(),1);var Qhe="Escape";function AK(e){return vt.engine.webkit&&e.movementX===0&&e.movementY===0}function HW(e,t,c){switch(e){case"vertical":return t;case"horizontal":return c;default:return t||c}}function RW(e,t){return HW(t,e===TJ||e===eW,e===Lx||e===Dx)}function hY(e,t,c){return HW(t,e===eW,c?e===Lx:e===Dx)||e==="Enter"||e===" "||e===""}function Uhe(e,t,c){return HW(t,c?e===Lx:e===Dx,e===eW)}function Ehe(e,t,c,n){let l=c?e===Dx:e===Lx,o=e===TJ;return t==="both"||t==="horizontal"&&n?e===Qhe:HW(t,l,o)}function BY(e,t){let{listRef:c,activeIndex:n,onNavigate:l=()=>{},enabled:o=!0,selectedIndex:d=null,allowEscape:i=!1,loopFocus:r=!1,nested:a=!1,rtl:s=!1,virtual:b=!1,focusItemOnOpen:m="auto",focusItemOnHover:X=!0,openOnArrowKeyDown:G=!0,disabledIndices:g=void 0,orientation:x="vertical",parentOrientation:H,id:p,resetOnPointerLeave:R=!0,externalTree:I,grid:f}=t,y=f!=null,Z="rootStore"in e?e.rootStore:e,W=Z.useState("open"),v=Z.useState("floatingElement"),h=Z.useState("domReferenceElement"),C=Z.context.dataRef,B=Mx(v),V=jx(h),S=ac(B),Y=od(),J=Nn(I),k=Gn.useRef(m),N=Gn.useRef(d??-1),A=Gn.useRef(null),Q=Gn.useRef(!0),z=Ie(Ge=>{l(N.current===-1?null:N.current,Ge)}),D=Gn.useRef(!!v),U=Gn.useRef(W),O=Gn.useRef(!1),L=Gn.useRef(!1),M=Gn.useRef(null),_=ac(g),j=ac(W),ue=ac(d),xe=ac(R),Be=Ul(),P=Ul(),ye=Ie(()=>{function Ge(Ae){b?J?.events.emit("virtualfocus",Ae):M.current=q0(Ae,{sync:O.current,preventScroll:!0})}let We=c.current[N.current],se=L.current;We&&Ge(We),(O.current?Ae=>Ae():Ae=>Be.request(Ae))(()=>{let Ae=c.current[N.current]||We;if(!Ae)return;We||Ge(Ae),pe&&(se||!Q.current)&&Ae.scrollIntoView?.({block:"nearest",inline:"nearest"})})});Xe(()=>{C.current.orientation=x},[C,x]),Xe(()=>{o&&(W&&v?(N.current=d??-1,k.current&&d!=null&&(L.current=!0,z())):D.current&&(N.current=-1,z()))},[o,W,v,d,z]),Xe(()=>{if(o){if(!W){O.current=!1;return}if(v)if(n==null){if(O.current=!1,ue.current!=null)return;if(D.current&&(N.current=-1,ye()),(!U.current||!D.current)&&k.current&&(A.current!=null||k.current===!0&&A.current==null)){let Ge=0,We=()=>{c.current[0]==null?(Ge<2&&(Ge?ee=>P.request(ee):queueMicrotask)(We),Ge+=1):(N.current=A.current==null||hY(A.current,x,s)||a?iW(c):DJ(c),A.current=null,z())};We()}}else LJ(c.current,n)||(N.current=n,ye(),L.current=!1)}},[o,W,v,n,ue,a,c,x,s,z,ye,P]),Xe(()=>{if(!o||v||!J||b||!D.current)return;let Ge=J.nodesRef.current,We=Ge.find(Ae=>Ae.id===Y)?.context?.elements.floating,se=Uc(je(h??We??null)),ee=Ge.some(Ae=>Ae.context&&Se(Ae.context.elements.floating,se));We&&!ee&&Q.current&&We.focus({preventScroll:!0})},[o,v,h,J,Y,b]),Xe(()=>{U.current=W,D.current=!!v}),Xe(()=>{W||(A.current=null,k.current=m)},[W,m]);let Te=n!=null,ze=Ie(Ge=>{if(!j.current)return;let We=c.current.indexOf(Ge.currentTarget);We!==-1&&(N.current!==We||n!==We)&&(N.current=We,z(Ge))}),Ne=Ie(()=>H??J?.nodesRef.current.find(Ge=>Ge.id===Y)?.context?.dataRef?.current.orientation),He=Ie(()=>iW(c,_.current)),we=Ie(Ge=>{if(Q.current=!1,O.current=!0,Ge.which===229||!j.current&&Ge.currentTarget===S.current)return;if(a&&Ehe(Ge.key,x,s,y)){RW(Ge.key,Ne())||El(Ge),Z.setOpen(!1,_e(fe.listNavigation,Ge.nativeEvent)),st(h)&&(b?J?.events.emit("virtualfocus",h):h.focus());return}let We=N.current,se=iW(c,g),ee=DJ(c,g);if(V||(Ge.key==="Home"&&(El(Ge),N.current=se,z(Ge)),Ge.key==="End"&&(El(Ge),N.current=ee,z(Ge))),f!=null){let Ae=f(Ge,N.current,c,x,r,s,g,se,ee);if(Ae!=null&&(N.current=Ae,z(Ge)),x==="both")return}if(RW(Ge.key,x)){if(El(Ge),W&&!b&&Uc(Ge.currentTarget.ownerDocument)===Ge.currentTarget){N.current=hY(Ge.key,x,s)?se:ee,z(Ge);return}hY(Ge.key,x,s)?r?We>=ee?i&&We!==c.current.length?N.current=-1:(O.current=!1,N.current=se):N.current=Ab(c.current,{startingIndex:We,disabledIndices:g}):N.current=Math.min(ee,Ab(c.current,{startingIndex:We,disabledIndices:g})):r?We<=se?i&&We!==-1?N.current=c.current.length:(O.current=!1,N.current=ee):N.current=Ab(c.current,{startingIndex:We,decrement:!0,disabledIndices:g}):N.current=Math.max(se,Ab(c.current,{startingIndex:We,decrement:!0,disabledIndices:g})),LJ(c.current,N.current)&&(N.current=-1),z(Ge)}}),pe=Gn.useMemo(()=>({onFocus(We){O.current=!0,ze(We)},onClick:({currentTarget:We})=>We.focus({preventScroll:!0}),onMouseMove(We){AK(We)||(O.current=!0,L.current=!1,X&&ze(We))},onPointerLeave(We){if(!j.current||!Q.current||We.pointerType==="touch")return;O.current=!0;let se=We.relatedTarget;if(!(!X||c.current.includes(se))&&xe.current&&(M.current?.(),M.current=null,N.current=-1,z(We),!b)){let ee=S.current,Ae=Uc(je(ee));ee&&Se(ee,Ae)&&ee.focus({preventScroll:!0})}}}),[ze,j,S,X,c,z,xe,b]),ve=Gn.useMemo(()=>b&&W&&Te&&{"aria-activedescendant":`${p}-${n}`},[b,W,Te,p,n]),Ve=Gn.useMemo(()=>({...V?{}:ve,onKeyDown(Ge){if(Ge.key==="Tab"&&Ge.shiftKey&&W&&!b){let We=xc(Ge.nativeEvent);if(We&&!Se(S.current,We))return;El(Ge),Z.setOpen(!1,_e(fe.focusOut,Ge.nativeEvent)),st(h)&&h.focus();return}we(Ge)},onPointerMove(Ge){AK(Ge)||(Q.current=!0)}}),[ve,we,S,V,Z,W,b,h]),qe=Gn.useMemo(()=>{function Ge(ee){Z.setOpen(!0,_e(fe.listNavigation,ee.nativeEvent,ee.currentTarget))}function We(ee){m==="auto"&&j0(ee.nativeEvent)&&(k.current=!b)}function se(ee){k.current=m,m==="auto"&&M0(ee.nativeEvent)&&(k.current=!0)}return{onKeyDown(ee){let Ae=Z.select("open");Q.current=!1;let ot=ee.key.startsWith("Arrow"),ft=Uhe(ee.key,Ne(),s),Lt=RW(ee.key,x),kc=(a?ft:Lt)||ee.key==="Enter"||ee.key.trim()==="";if(b&&Ae)return we(ee);if(!(!Ae&&!G&&ot)){if(kc){let Ye=RW(ee.key,Ne());A.current=a&&Ye?null:ee.key}if(a){ft&&(El(ee),Ae?(N.current=He(),z(ee)):Ge(ee));return}Lt&&(ue.current!=null&&(N.current=ue.current),El(ee),!Ae&&G?Ge(ee):we(ee),Ae&&z(ee))}},onFocus(ee){Z.select("open")&&!b&&(N.current=-1,z(ee))},onPointerDown:se,onPointerEnter:se,onMouseDown:We,onClick:We}},[we,m,He,a,z,Z,G,x,Ne,s,ue,b]),Vt=Gn.useMemo(()=>({...ve,...qe}),[ve,qe]);return Gn.useMemo(()=>o?{reference:Vt,floating:Ve,item:pe,trigger:qe}:{},[o,Vt,Ve,qe,pe])}var Eb=u(E(),1);function vY(e,t){let{listRef:c,elementsRef:n,activeIndex:l,onMatch:o,disabledIndices:d,onTyping:i,enabled:r=!0,resetMs:a=750,selectedIndex:s=null}=t,b="rootStore"in e?e.rootStore:e,m=b.useState("open"),X=gc(),G=Eb.useRef(""),g=Eb.useRef(s??l??-1),x=Eb.useRef(null),H=Ie(I=>{function f(S){return n?.current[S]}function y(S){let Y=f(S);return Y&&!Ob(Y)||Y?.matches(":disabled")?!1:d==null||!_J(ar,S,d)}function Z(S,Y,J=0){if(S.length===0)return-1;let k=(J%S.length+S.length)%S.length,N=Y.toLowerCase();for(let A=0;A<S.length;A+=1){let Q=(k+A)%S.length;if(!(!S[Q]?.toLowerCase().startsWith(N)||!y(Q)))return Q}return-1}let W=c.current;if(G.current.length>0&&I.key===" "&&(El(I),i?.(!0)),G.current.length>0&&G.current[0]!==" "&&Z(W,G.current)===-1&&I.key!==" "&&i?.(!1),W==null||I.key.length!==1||I.ctrlKey||I.metaKey||I.altKey)return;m&&I.key!==" "&&(El(I),i?.(!0));let v=G.current==="";v&&(g.current=s??l??-1),W.every((S,Y)=>S&&y(Y)?S[0]?.toLowerCase()!==S[1]?.toLowerCase():!0)&&G.current===I.key&&(G.current="",g.current=x.current),G.current+=I.key,X.start(a,()=>{G.current="",g.current=x.current,i?.(!1)});let B=((v?s??l??-1:g.current)??0)+1,V=Z(W,G.current,B);V!==-1?(o?.(V),x.current=V):I.key!==" "&&(G.current="",i?.(!1))}),p=Ie(I=>{let f=I.relatedTarget,y=b.select("domReferenceElement"),Z=b.select("floatingElement");Se(y,f)||Se(Z,f)||(X.clear(),G.current="",g.current=x.current,i?.(!1))});Xe(()=>{!m&&s!==null||(X.clear(),x.current=null,G.current!==""&&(G.current=""))},[m,s,X]);let R=Eb.useMemo(()=>({onKeyDown:H,onBlur:p}),[H,p]);return Eb.useMemo(()=>r?{reference:R,floating:R}:{},[r,R])}var OK=.1,Lhe=OK*OK,Ut=.5;function IW(e,t,c,n,l,o){return n>=t!=o>=t&&e<=(l-c)*(t-n)/(o-n)+c}function ZW(e,t,c,n,l,o,d,i,r,a){let s=!1;return IW(e,t,c,n,l,o)&&(s=!s),IW(e,t,l,o,d,i)&&(s=!s),IW(e,t,d,i,r,a)&&(s=!s),IW(e,t,r,a,c,n)&&(s=!s),s}function Dhe(e,t,c){return e>=c.x&&e<=c.x+c.width&&t>=c.y&&t<=c.y+c.height}function fW(e,t,c,n,l,o){let d=Math.min(c,l),i=Math.max(c,l),r=Math.min(n,o),a=Math.max(n,o);return e>=d&&e<=i&&t>=r&&t<=a}function op(e={}){let{blockPointerEvents:t=!1}=e,c=new Bl,n=({x:l,y:o,placement:d,elements:i,onClose:r,nodeId:a,tree:s})=>{let b=d?.split("-")[0],m=!1,X=null,G=null,g=typeof performance<"u"?performance.now():0;function x(p,R){let I=performance.now(),f=I-g;if(X===null||G===null||f===0)return X=p,G=R,g=I,!1;let y=p-X,Z=R-G,W=y*y+Z*Z,v=f*f*Lhe;return X=p,G=R,g=I,W<v}function H(){c.clear(),r()}return function(R){c.clear();let I=i.domReference,f=i.floating;if(!I||!f||b==null||l==null||o==null)return;let{clientX:y,clientY:Z}=R,W=xc(R),v=R.type==="mouseleave",h=Se(f,W),C=Se(I,W);if(h&&(m=!0,!v))return;if(C&&(m=!1,!v)){m=!0;return}if(v&&ct(R.relatedTarget)&&Se(f,R.relatedTarget))return;function B(){return!!(s&&Zo(s.nodesRef.current,a).length>0)}function V(){B()||H()}if(B())return;let S=I.getBoundingClientRect(),Y=f.getBoundingClientRect(),J=l>Y.right-Y.width/2,k=o>Y.bottom-Y.height/2,N=Y.width>S.width,A=Y.height>S.height,Q=(N?S:Y).left,z=(N?S:Y).right,D=(A?S:Y).top,U=(A?S:Y).bottom;if(b==="top"&&o>=S.bottom-1||b==="bottom"&&o<=S.top+1||b==="left"&&l>=S.right-1||b==="right"&&l<=S.left+1){V();return}let O=!1;switch(b){case"top":O=fW(y,Z,Q,S.top+1,z,Y.bottom-1);break;case"bottom":O=fW(y,Z,Q,Y.top+1,z,S.bottom-1);break;case"left":O=fW(y,Z,Y.right-1,U,S.left+1,D);break;case"right":O=fW(y,Z,S.right-1,U,Y.left+1,D);break;default:}if(O)return;if(m&&!Dhe(y,Z,S)){V();return}if(!v&&x(y,Z)){V();return}let L=!1;switch(b){case"top":{let M=N?Ut/2:Ut*4,_=N||J?l+M:l-M,j=N?l-M:J?l+M:l-M,ue=o+Ut+1,xe=J||N?Y.bottom-Ut:Y.top,Be=J?N?Y.bottom-Ut:Y.top:Y.bottom-Ut;L=ZW(y,Z,_,ue,j,ue,Y.left,xe,Y.right,Be);break}case"bottom":{let M=N?Ut/2:Ut*4,_=N||J?l+M:l-M,j=N?l-M:J?l+M:l-M,ue=o-Ut,xe=J||N?Y.top+Ut:Y.bottom,Be=J?N?Y.top+Ut:Y.bottom:Y.top+Ut;L=ZW(y,Z,_,ue,j,ue,Y.left,xe,Y.right,Be);break}case"left":{let M=A?Ut/2:Ut*4,_=A||k?o+M:o-M,j=A?o-M:k?o+M:o-M,ue=l+Ut+1,xe=k||A?Y.right-Ut:Y.left,Be=k?A?Y.right-Ut:Y.left:Y.right-Ut;L=ZW(y,Z,xe,Y.top,Be,Y.bottom,ue,_,ue,j);break}case"right":{let M=A?Ut/2:Ut*4,_=A||k?o+M:o-M,j=A?o-M:k?o+M:o-M,ue=l-Ut,xe=k||A?Y.left+Ut:Y.right,Be=k?A?Y.left+Ut:Y.right:Y.left+Ut;L=ZW(y,Z,ue,_,ue,j,xe,Y.top,Be,Y.bottom);break}default:}L?m||c.start(40,V):V()}};return n.__options={...e,blockPointerEvents:t},n}var yW=class extends Ua{setState(t){}update(t){}set(t,c){}notifyAll(){}};var _he="ArrowUp",jhe="ArrowDown",Mhe="ArrowLeft",Phe="ArrowRight",Khe="Home",qhe="End";var QK=new Set([_he,jhe,Mhe,Phe,Khe,qhe]);function WW(e){return Q0(19)?e:e?"true":void 0}var UK=u(E(),1),EK=u(F(),1),LK=UK.forwardRef(function(t,c){let{cutout:n,...l}=t,o;if(n){let d=n.getBoundingClientRect();o=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${d.left}px ${d.top}px,${d.left}px ${d.bottom}px,${d.right}px ${d.bottom}px,${d.right}px ${d.top}px,${d.left}px ${d.top}px)`}return(0,EK.jsx)("div",{ref:c,role:"presentation","data-base-ui-inert":"",...l,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:o}})});var ip=u(E(),1);var dp=u(E(),1);function DK(e){let t=dp.useRef(""),c=dp.useCallback(l=>{l.defaultPrevented||(t.current=l.pointerType,e(l,l.pointerType))},[e]);return{onClick:dp.useCallback(l=>{if(l.detail===0){e(l,"keyboard");return}"pointerType"in l?e(l,l.pointerType):e(l,t.current),t.current=""},[e]),onPointerDown:c}}var _K=u(E(),1);function jK(e,t){let c=_K.useRef(e),n=Ie(t);Xe(()=>{c.current!==e&&n(c.current),c.current=e},[e,n])}function $he(e,t){let c=Ie((o,d)=>{(typeof e=="function"?e():e)||t(d||(vt.os.ios?"touch":""))}),{onClick:n,onPointerDown:l}=DK(c);return ip.useMemo(()=>({onClick:n,onPointerDown:l}),[n,l])}function MK(e){let[t,c]=ip.useState(null),n=$he(e,c);return jK(e,l=>{l&&!e&&c(null)}),ip.useMemo(()=>({openMethod:t,triggerProps:n}),[t,n])}var hW=u(E(),1),VY=hW.createContext(void 0);function La(){return hW.useContext(VY)?.direction??"ltr"}var BW=5;function PK(e,t){let c=e1e(t);return e.clientX>=c.left-BW&&e.clientX<=c.right+BW&&e.clientY>=c.top-BW&&e.clientY<=c.bottom+BW}function e1e(e){let t=e.getBoundingClientRect(),c=ht(e);if(vt.env.jsdom)return t;let n=c.getComputedStyle(e,"::before"),l=c.getComputedStyle(e,"::after");if(!(n.content!=="none"||l.content!=="none"))return t;let d=parseFloat(n.width)||0,i=parseFloat(n.height)||0,r=parseFloat(l.width)||0,a=parseFloat(l.height)||0,s=Math.max(t.width,d,r),b=Math.max(t.height,i,a),m=s-t.width,X=b-t.height;return{left:t.left-m/2,right:t.right+m/2,top:t.top-X/2,bottom:t.bottom+X/2}}var Ll=u(E(),1);var t1e=e=>({name:"arrow",options:e,async fn(t){let{x:c,y:n,placement:l,rects:o,platform:d,elements:i,middlewareData:r}=t,{element:a,padding:s=0,offsetParent:b="real"}=Qo(e,t)||{};if(a==null)return{};let m=vG(s),X={x:c,y:n},G=_u(l),g=Du(G),x=await d.getDimensions(a),H=G==="y",p=H?"top":"left",R=H?"bottom":"right",I=H?"clientHeight":"clientWidth",f=o.reference[g]+o.reference[G]-X[G]-o.floating[g],y=X[G]-o.reference[G],Z=b==="real"?await d.getOffsetParent?.(a):i.floating,W=i.floating[I]||o.floating[g];(!W||!await d.isElement?.(Z))&&(W=i.floating[I]||o.floating[g]);let v=f/2-y/2,h=W/2-x[g]/2-1,C=Math.min(m[p],h),B=Math.min(m[R],h),V=C,S=W-x[g]-B,Y=W/2-x[g]/2+v,J=BG(V,Y,S),k=!r.arrow&&Yl(l)!=null&&Y!==J&&o.reference[g]/2-(Y<V?C:B)-x[g]/2<0,N=k?Y<V?Y-V:Y-S:0;return{[G]:X[G]+N,data:{[G]:J,centerOffset:Y-J-N,...k&&{alignmentOffset:N}},reset:k}}}),KK=(e,t)=>{let{name:c,fn:n}=t1e(e);return{name:c,fn:n,options:[e,t]}};var qK={name:"hide",async fn(e){let{width:t,height:c,x:n,y:l}=e.rects.reference,o=t===0&&c===0&&n===0&&l===0,d=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:d.top-c>=0||d.right-t>=0||d.bottom-c>=0||d.left-t>=0||o}}}};var tX={sideX:"left",sideY:"top"};var vW="--available-width",VW="--available-height",$K="--anchor-width",eq="--anchor-height",tq="--transform-origin",cq="--positioner-width",nq="--positioner-height";var oq=vW,dq=VW;function aq(e,t,c){let n=e==="inline-start"||e==="inline-end";return{top:"top",right:n?c?"inline-start":"inline-end":"right",bottom:"bottom",left:n?c?"inline-end":"inline-start":"left"}[t]}function iq(e,t,c){let{rects:n,placement:l}=e;return{side:aq(t,hn(l),c),align:Yl(l)||"center",anchor:{width:n.reference.width,height:n.reference.height},positioner:{width:n.floating.width,height:n.floating.height}}}function sq(e){return c1e(e,zK)}function c1e(e,t){let{anchor:c,positionMethod:n="absolute",side:l="bottom",sideOffset:o=0,align:d="center",alignOffset:i=0,collisionBoundary:r,collisionPadding:a=5,sticky:s=!1,arrowPadding:b=5,disableAnchorTracking:m=!1,inline:X,keepMounted:G=!1,floatingRootContext:g,mounted:x,collisionAvoidance:H,shift:p,nodeId:R,adaptiveOrigin:I,lazyFlip:f=!1,externalTree:y}=e,[Z,W]=Ll.useState(null);!x&&Z!==null&&W(null);let v=H.side||"flip",h=H.align||"flip",C=H.fallbackAxisSide||"end",B=p?.crossAxis??!1,V=p?.rootBoundary,S=typeof c=="function"?c:void 0,Y=Ie(S),J=S?Y:c,k=ac(c),N=ac(x),Q=La()==="rtl",z=Z||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":Q?"left":"right","inline-start":Q?"right":"left"}[l],D=d==="center"?z:`${z}-${d}`,U=a;typeof U=="number"?U={top:U,right:U,bottom:U,left:U}:U&&(U={top:U.top||0,right:U.right||0,bottom:U.bottom||0,left:U.left||0});let O=1,L=l==="bottom"?O:0,M=l==="top"?O:0,_=l==="right"?O:0,j=l==="left"?O:0,ue={boundary:r==="clipping-ancestors"?"clippingAncestors":r,padding:U},xe=Ll.useRef(null),Be=ac(o),P=ac(i),ye=typeof o!="function"?o:0,Te=typeof i!="function"?i:0,ze=[];X&&ze.push(X),ze.push(mx($e=>{let pc=iq($e,l,Q),Hn=typeof Be.current=="function"?Be.current(pc):Be.current,zc=typeof P.current=="function"?P.current(pc):P.current;return{mainAxis:Hn,crossAxis:zc,alignmentAxis:zc}},[ye,Te,Q,l]));let Ne=h==="none"&&v!=="shift",He=!Ne&&(s||B||v==="shift"),we=v==="none"?null:gx({...ue,padding:{top:U.top+O+L,right:U.right+O+j,bottom:U.bottom+O+M,left:U.left+O+_},mainAxis:!B&&v==="flip",crossAxis:h==="flip"?"alignment":!1,fallbackAxisSideDirection:C}),pe=Ne?null:Xx({...ue,rootBoundary:V,mainAxis:h!=="none",crossAxis:He,limiter:s||B?void 0:Gx($e=>{if(!xe.current)return{};let{width:pc,height:Hn}=xe.current.getBoundingClientRect(),zc=ul(hn($e.placement)),$l=zc==="y"?pc:Hn,Cl=zc==="y"?U.left+U.right:U.top+U.bottom;return{offset:$l/2+Cl/2}})},[ue,s,B,V,U,h]);v==="shift"||h==="shift"||d==="center"?ze.push(pe,we):ze.push(we,pe),ze.push(xb({...ue,apply({elements:{floating:$e},availableWidth:pc,availableHeight:Hn,rects:zc}){if(!N.current)return;let $l=$e.style;$l.setProperty(oq,`${pc}px`),$l.setProperty(dq,`${Hn}px`);let Cl=ht($e).devicePixelRatio||1,{x:pu,y:kr,width:Ru,height:eo}=zc.reference,gs=(Math.round((pu+Ru)*Cl)-Math.round(pu*Cl))/Cl,re=(Math.round((kr+eo)*Cl)-Math.round(kr*Cl))/Cl;$l.setProperty($K,`${gs}px`),$l.setProperty(eq,`${re}px`)}}),KK($e=>({element:xe.current||je($e.elements.floating).createElement("div"),padding:xe.current?b:0,offsetParent:"floating"}),[b]),{name:"transformOrigin",fn($e){let{elements:{floating:pc},middlewareData:Hn,placement:zc,platform:$l,rects:Cl,y:pu}=$e,kr=hn(zc),Ru=Yl(zc),eo=ul(kr)==="y",gs=xe.current,re=typeof o=="function"?o(iq($e,l,Q)):o,Ee;if(!gs&&Ru&&Math.abs(eo?Hn.shift?.x||0:Hn.shift?.y||0)<=1)Ee=Ru==="start"===(eo&&$l.isRTL?.(pc)===!0)?"100%":"0%";else{let Dc=eo?Hn.arrow?.x||0:Hn.arrow?.y||0,to=eo?gs?.clientWidth||0:gs?.clientHeight||0;Ee=`${Dc+to/2}px`}let Pt=kr==="top"||kr==="left"?`calc(100% + ${re}px)`:`${-re}px`;return He&&eo&&Math.abs(Hn.shift?.y||0)>re&&(Pt=`${Cl.reference.y+Cl.reference.height/2-pu}px`),pc.style.setProperty(tq,eo?`${Ee} ${Pt}`:`${Pt} ${Ee}`),{}}},qK,I),Xe(()=>{!x&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[x,g]);let ve=Ll.useMemo(()=>({ancestorScroll:!m,elementResize:!m&&typeof ResizeObserver<"u",layoutShift:!m&&typeof IntersectionObserver<"u"}),[m]),{refs:Ve,elements:qe,x:Vt,y:Ge,middlewareData:We,update:se,placement:ee,context:Ae,isPositioned:ot,floatingStyles:ft}=t({rootContext:g,open:G?x:void 0,placement:D,middleware:ze,strategy:n,whileElementsMounted:G?void 0:(...$e)=>Ci(...$e,ve),nodeId:R,externalTree:y}),{sideX:Lt,sideY:kc}=We.adaptiveOrigin||tX,Ye=ot?n:"fixed",le=Ll.useMemo(()=>{let $e;return ot?I?$e={position:Ye,[Lt]:Vt,[kc]:Ge}:$e={...ft,position:Ye}:$e={position:Ye,top:0,left:0},$e[oq]="100vw",$e[dq]="100vh",ot||($e.opacity=0),$e},[I,Ye,Lt,Vt,kc,Ge,ft,ot]),Fe=Ll.useRef(null);Xe(()=>{if(!x)return;let $e=k.current,pc=typeof $e=="function"?$e():$e,zc=(rq(pc)?pc.current:pc)||null||null;zc!==Fe.current&&(Ve.setPositionReference(zc),Fe.current=zc)},[x,Ve,J,k]),Ll.useEffect(()=>{if(!x)return;let $e=k.current;typeof $e!="function"&&rq($e)&&$e.current!==Fe.current&&(Ve.setPositionReference($e.current),Fe.current=$e.current)},[x,Ve,J,k]),Ll.useEffect(()=>{if(G&&x&&qe.reference&&qe.floating)return Ci(qe.reference,qe.floating,se,ve)},[G,x,qe,se,ve]);let Qe=hn(ee),he=aq(l,Qe,Q),Ke=Yl(ee)||"center",ut=!!We.hide?.referenceHidden;Xe(()=>{f&&x&&ot&&Qe!==z&&W(Qe)},[f,x,ot,Qe,z]);let kt=Ll.useMemo(()=>({position:"absolute",top:We.arrow?.y,left:We.arrow?.x}),[We.arrow]),al=We.arrow?.centerOffset!==0;return Ll.useMemo(()=>({positionerStyles:le,arrowStyles:kt,arrowRef:xe,arrowUncentered:al,side:he,align:Ke,physicalSide:Qe,anchorHidden:ut,refs:Ve,context:Ae,isPositioned:ot,update:se}),[le,kt,xe,al,he,Ke,Qe,ut,Ve,Ae,ot,se])}function rq(e){return e!=null&&"current"in e}function CW(e){return e==="starting"?$8:Gt}function bq(e,t,{styles:c,transitionStatus:n,props:l,refs:o,hidden:d,inert:i=!1}){let r={...c};return i&&(r.pointerEvents="none"),it("div",e,{state:t,ref:o,props:[{role:"presentation",hidden:d,style:r},CW(n),l],stateAttributesMapping:_x})}var uq=u(E(),1);var n1e=20;function mq(e,t,c,n){let[l,o]=uq.useState(!1);Xe(()=>{if(!e||!t||c==null){o(!1);return}let d=je(c).documentElement.clientWidth,i=c.offsetWidth;o(d>0&&i>0&&i>=d-n1e)},[e,t,c]),y8(e&&(!t||l),n)}var FW=u(E(),1),l1e=FW.createContext(void 0);function Da(e=!0){let t=FW.useContext(l1e);if(t===void 0&&!e)throw new Error(St(25));return t}var Ht={};Fl(Ht,{Arrow:()=>Gq,Backdrop:()=>xq,CheckboxItem:()=>fq,CheckboxItemIndicator:()=>yq,Group:()=>Bq,GroupLabel:()=>Vq,Handle:()=>mp,Item:()=>Fq,LinkItem:()=>Jq,Popup:()=>Sq,Portal:()=>zq,Positioner:()=>Tq,RadioGroup:()=>Oq,RadioItem:()=>Eq,RadioItemIndicator:()=>Lq,Root:()=>$W,Separator:()=>I$,SubmenuRoot:()=>Kq,SubmenuTrigger:()=>Z$,Trigger:()=>l$,Viewport:()=>R$,createHandle:()=>f$});var Xq=u(E(),1);var JW=u(E(),1),CY=JW.createContext(void 0);function kn(e){let t=JW.useContext(CY);if(t===void 0&&!e)throw new Error(St(33));return t}var YW=u(E(),1),FY=YW.createContext(void 0);function Et(e){let t=YW.useContext(FY);if(t===void 0&&!e)throw new Error(St(36));return t}var Gq=Xq.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,{store:i}=Et(),{arrowRef:r,side:a,align:s,arrowUncentered:b,arrowStyles:m}=kn(),G={open:i.useState("open"),side:a,align:s,uncentered:b};return it("div",t,{ref:[r,c],stateAttributesMapping:_x,state:G,props:{style:m,"aria-hidden":!0,...d}})});var gq=u(E(),1);var xq=gq.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,{store:i}=Et(),r=i.useState("open"),a=i.useState("mounted"),s=i.useState("transitionStatus"),b=i.useState("lastOpenChangeReason"),m=Da(),X={open:r,transitionStatus:s};return it("div",t,{ref:m?.backdropRef?[c,m.backdropRef]:c,state:X,stateAttributesMapping:nW,props:[{role:"presentation",hidden:!a,style:{pointerEvents:b===fe.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},d]})});var wW=u(E(),1);var NW=u(E(),1),JY=NW.createContext(void 0);function pq(){let e=NW.useContext(JY);if(e===void 0)throw new Error(St(30));return e}var cX=u(E(),1);var Rq=u(E(),1);function SW(e){let{closeOnClick:t,highlighted:c,id:n,nodeId:l,store:o,typingRef:d,itemRef:i,itemMetadata:r}=e,{events:a}=o.useState("floatingTreeRoot"),s=o.useState("open"),b=Da(!0),m=b!==void 0;return Rq.useMemo(()=>({id:n,role:"menuitem",tabIndex:s&&c?0:-1,onKeyDown(X){X.key===" "&&d?.current&&X.preventDefault()},onMouseMove(X){l&&a.emit("itemhover",{nodeId:l,target:X.currentTarget})},onClick(X){t&&a.emit("close",{domEvent:X,reason:fe.itemPress})},onMouseUp(X){if(b){let G=b.initialCursorPointRef.current;if(b.initialCursorPointRef.current=null,m&&G&&Math.abs(X.clientX-G.x)<=1&&Math.abs(X.clientY-G.y)<=1||m&&!vt.os.mac&&X.button===2)return}i.current&&o.context.allowMouseUpTriggerRef.current&&(!m||X.button===2)&&r.type==="regular-item"&&D0(i.current,X,{detail:1})}}),[t,c,n,a,l,s,o,d,i,b,m,r])}var _a={type:"regular-item"};function ja(e){let{closeOnClick:t,disabled:c,highlighted:n,id:l,store:o,typingRef:d=o.context.typingRef,nativeButton:i,itemMetadata:r,nodeId:a}=e,s=cX.useRef(null),{getButtonProps:b,buttonRef:m}=wb({disabled:c,focusableWhenDisabled:!0,native:i,composite:!0}),X=SW({closeOnClick:t,highlighted:n,id:l,nodeId:a,store:o,typingRef:d,itemRef:s,itemMetadata:r}),G=cX.useCallback(x=>rc(X,{onMouseEnter(){r.type==="submenu-trigger"&&r.setActive()}},x,b),[X,b,r]),g=ri(s,m);return cX.useMemo(()=>({getItemProps:G,itemRef:g}),[G,g])}var Hq="data-checked",Iq="data-unchecked";var Ma={checked(e){return e?{[Hq]:""}:{[Iq]:""}},...P5};var Zq=u(F(),1),fq=wW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!1,checked:s,defaultChecked:b,onCheckedChange:m,style:X,...G}=t,g=Io({guess:!0,label:d}),x=kn(!0),H=hl(o),{store:p}=Et(),R=p.useState("disabled"),I=r||R,f=p.useState("isActive",g.index),y=p.useState("itemProps"),[Z,W]=U5({controlled:s,default:b??!1,name:"MenuCheckboxItem",state:"checked"}),{getItemProps:v,itemRef:h}=ja({closeOnClick:a,disabled:I,highlighted:f,id:H,store:p,nativeButton:i,nodeId:x?.context.nodeId,itemMetadata:_a}),C=wW.useMemo(()=>({disabled:I,highlighted:f,checked:Z}),[I,f,Z]);function B(S){let Y=_e(fe.itemPress,S.nativeEvent,void 0,{preventUnmountOnClose:tn});m?.(!Z,Y),!Y.isCanceled&&W(J=>!J)}let V=it("div",t,{state:C,stateAttributesMapping:Ma,props:[y,{role:"menuitemcheckbox","aria-checked":Z,onClick:B},G,v],ref:[h,c,g.ref]});return(0,Zq.jsx)(JY.Provider,{value:C,children:V})});var kW=u(E(),1);var yq=kW.forwardRef(function(t,c){let{render:n,className:l,style:o,keepMounted:d=!1,...i}=t,r=pq(),a=kW.useRef(null),{transitionStatus:s,mounted:b,setMounted:m}=E0(r.checked);za({batch:!0,enabled:!r.checked,open:r.checked,ref:a,onComplete(){r.checked||m(!1)}});let X={checked:r.checked,disabled:r.disabled,highlighted:r.highlighted,transitionStatus:s};return it("span",t,{state:X,ref:[c,a],stateAttributesMapping:Ma,props:{"aria-hidden":!0,...i},enabled:d||b})});var TW=u(E(),1);var zW=u(E(),1),rp=zW.createContext(void 0);function Wq(){let e=zW.useContext(rp);if(e===void 0)throw new Error(St(31));return e}var hq=u(F(),1),Bq=TW.forwardRef(function(t,c){let{render:n,className:l,style:o,...d}=t,[i,r]=TW.useState(void 0),a=it("div",t,{ref:c,props:{role:"group","aria-labelledby":i,...d}});return(0,hq.jsx)(rp.Provider,{value:r,children:a})});var vq=u(E(),1);var Vq=vq.forwardRef(function(t,c){let{render:n,className:l,style:o,id:d,...i}=t,r=hl(d),a=Wq();return Xe(()=>(a(r),()=>{a(s=>s===r?void 0:s)}),[a,r]),it("div",t,{ref:c,props:{id:r,"aria-hidden":!0,...i}})});var Cq=u(E(),1);var Fq=Cq.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!0,style:s,...b}=t,m=Io({guess:!0,label:d}),X=kn(!0),G=hl(o),{store:g}=Et(),x=g.useState("disabled"),H=r||x,p=g.useState("isActive",m.index),R=g.useState("itemProps"),{getItemProps:I,itemRef:f}=ja({closeOnClick:a,disabled:H,highlighted:p,id:G,store:g,nativeButton:i,nodeId:X?.context.nodeId,itemMetadata:_a});return it("div",t,{state:{disabled:H,highlighted:p},props:[R,b,I],ref:[f,c,m.ref]})});var AW=u(E(),1);var Jq=AW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,closeOnClick:i=!1,style:r,...a}=t,s=AW.useRef(null),b=Io({guess:!0,label:d}),X=kn(!0)?.context.nodeId,G=hl(o),{store:g}=Et(),x=g.useState("isActive",b.index),H=g.useState("itemProps"),p=g.context.typingRef,{getButtonProps:R,buttonRef:I}=wb({native:!1,composite:!0}),f=SW({closeOnClick:i,highlighted:x,id:G,nodeId:X,store:g,typingRef:p,itemRef:s,itemMetadata:_a});function y(W){return rc(f,W,R)}return it("a",t,{state:{highlighted:x},props:[H,a,y],ref:[s,I,c,b.ref]})});var QW=u(E(),1);var OW=u(E(),1),d1e=OW.createContext(void 0);function Yq(e){let t=OW.useContext(d1e);if(t===void 0&&!e)throw new Error(St(69));return t}var Nq=u(F(),1),Sq=QW.forwardRef(function(t,c){let{render:n,className:l,style:o,finalFocus:d,...i}=t,{store:r}=Et(),{side:a,align:s}=kn(),b=Yq(!0)!=null,m=r.useState("open"),X=r.useState("transitionStatus"),G=r.useState("popupProps"),g=r.useState("mounted"),x=r.useState("instantType"),H=r.useState("activeTriggerElement"),p=r.useState("parent"),R=r.useState("lastOpenChangeReason"),I=r.useState("rootId"),f=r.useState("floatingRootContext"),y=r.useState("floatingTreeRoot"),Z=r.useState("closeDelay"),W=r.useState("hoverEnabled"),v=r.useState("disabled"),h=r.useState("openMethod"),C=p.type==="context-menu";za({open:m,ref:r.context.popupRef,onComplete(){m&&r.context.onOpenChangeComplete?.(!0)}}),QW.useEffect(()=>{function J(k){r.setOpen(!1,_e(k.reason,k.domEvent))}return y.events.on("close",J),()=>{y.events.off("close",J)}},[y.events,r]),WY(f,{enabled:W&&!v&&!C&&p.type!=="menubar",closeDelay:Z});let B=r.useStateSetter("popupElement"),V={transitionStatus:X,side:a,align:s,open:m,nested:p.type==="menu",instant:x},S=it("div",t,{state:V,ref:[c,r.context.popupRef,B],stateAttributesMapping:nW,props:[G,{onKeyDown(J){b&&QK.has(J.key)&&J.stopPropagation()}},CW(X),i,{"data-rootownerid":I}]}),Y=p.type===void 0||C;return(H||p.type==="menubar"&&R!==fe.outsidePress)&&(Y=!0),(0,Nq.jsx)(sY,{context:f,openInteractionType:h,modal:C,disabled:!g,returnFocus:d===void 0?Y:d,initialFocus:p.type!=="menu",restoreFocus:!0,externalTree:p.type!=="menubar"?y:void 0,previousFocusableElement:H,nextFocusableElement:p.type===void 0?r.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:p.type===void 0?r.context.beforeContentFocusGuardRef:void 0,children:S})});var kq=u(E(),1);var UW=u(E(),1),YY=UW.createContext(void 0);function wq(){let e=UW.useContext(YY);if(e===void 0)throw new Error(St(32));return e}var NY=u(F(),1),zq=kq.forwardRef(function(t,c){let{keepMounted:n=!1,...l}=t,{store:o,parent:d}=Et();if(!(o.useState("mounted")||n))return null;let a=d.type==="menu"||d.type==="menubar"?"group":void 0;return(0,NY.jsx)(YY.Provider,{value:n,children:(0,NY.jsx)(oY,{ref:c,...l,portalOwnerRole:a})})});var bi=u(E(),1);var nX=u(F(),1),Tq=bi.forwardRef(function(t,c){let{anchor:n,positionMethod:l="absolute",className:o,render:d,side:i,align:r,sideOffset:a=0,alignOffset:s=0,collisionBoundary:b="clipping-ancestors",collisionPadding:m=5,arrowPadding:X=5,sticky:G=!1,disableAnchorTracking:g=!1,collisionAvoidance:x=tK,style:H,...p}=t,{store:R}=Et(),I=wq(),f=Da(!0),y=R.useState("parent"),Z=R.useState("floatingRootContext"),W=R.useState("floatingTreeRoot"),v=R.useState("mounted"),h=R.useState("open"),C=R.useState("modal"),B=R.useState("openMethod"),V=R.useState("activeTriggerElement"),S=R.useState("transitionStatus"),Y=R.useState("positionerElement"),J=R.useState("instantType"),k=R.useState("adaptiveOrigin"),N=R.useState("lastOpenChangeReason"),A=R.useState("floatingNodeId"),Q=R.useState("floatingParentNodeId"),z=Z.useState("domReferenceElement"),D=bi.useRef(null),U=ai(Y),O=n,L=a,M=s,_=r,j=x;y.type==="context-menu"&&(O=n??y.context?.anchor,_=_??"start",!i&&_!=="center"&&(M=t.alignOffset??2,L=t.sideOffset??-5));let ue=i,xe=_;y.type==="menu"?(ue=ue??"inline-end",xe=xe??"start",j=t.collisionAvoidance??cK):y.type==="menubar"&&(ue=ue??(y.context.orientation==="vertical"?"inline-end":"bottom"),xe=xe??"start");let Be=y.type==="context-menu",P=sq({anchor:O,floatingRootContext:Z,positionMethod:f?"fixed":l,mounted:v,side:ue,sideOffset:L,align:xe,alignOffset:M,arrowPadding:Be?0:X,collisionBoundary:b,collisionPadding:m,sticky:G,nodeId:A,keepMounted:I,disableAnchorTracking:g,collisionAvoidance:j,shift:Be?{crossAxis:!("side"in j&&j.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:W,adaptiveOrigin:k});bi.useEffect(()=>{function ve(Ve){Ve.open&&(Ve.parentNodeId===A&&R.set("hoverEnabled",!1),Ve.nodeId!==A&&Ve.parentNodeId===R.select("floatingParentNodeId")&&R.setOpen(!1,_e(fe.siblingOpen)))}return W.events.on("menuopenchange",ve),()=>{W.events.off("menuopenchange",ve)}},[R,W.events,A]),bi.useEffect(()=>{if(R.select("floatingParentNodeId")==null)return;function ve(Ve){if(Ve.open||Ve.nodeId!==R.select("floatingParentNodeId"))return;let qe=Ve.reason??fe.siblingOpen;R.setOpen(!1,_e(qe))}return W.events.on("menuopenchange",ve),()=>{W.events.off("menuopenchange",ve)}},[W.events,R]);let ye=gc();bi.useEffect(()=>{h||ye.clear()},[h,ye]),bi.useEffect(()=>{function ve(Ve){if(!(!h||Ve.nodeId!==R.select("floatingParentNodeId")))if(Ve.target&&V&&V!==Ve.target){let qe=R.select("closeDelay");qe>0?ye.isStarted()||ye.start(qe,()=>{R.setOpen(!1,_e(fe.siblingOpen))}):R.setOpen(!1,_e(fe.siblingOpen))}else ye.clear()}return W.events.on("itemhover",ve),()=>{W.events.off("itemhover",ve)}},[W.events,h,V,R,ye]),bi.useEffect(()=>{let ve={open:h,nodeId:A,parentNodeId:Q,reason:R.select("lastOpenChangeReason")};W.events.emit("menuopenchange",ve)},[W.events,h,R,A,Q]),Xe(()=>{let ve=z,Ve=D.current;if(ve&&(D.current=ve),Ve&&ve&&ve!==Ve){R.set("instantType",void 0);let qe=new AbortController;return U(()=>{R.set("instantType","trigger-change")},qe.signal),()=>{qe.abort()}}},[z,U,R]);let Te={open:h,side:P.side,align:P.align,anchorHidden:P.anchorHidden,nested:y.type==="menu",instant:J},ze=y.type==="menubar"&&y.context.modal,Ne=C&&N!==fe.triggerHover;mq(h&&(ze||Ne),B==="touch",Y,V);let He=bq(t,Te,{styles:P.positionerStyles,transitionStatus:S,props:p,refs:[c,R.useStateSetter("positionerElement")],hidden:!v,inert:!h}),we=v&&y.type!=="menu"&&(y.type!=="menubar"&&C&&N!==fe.triggerHover||y.type==="menubar"&&y.context.modal),pe=null;return y.type==="menubar"?pe=y.context.contentElement:y.type===void 0&&(pe=V),(0,nX.jsxs)(CY.Provider,{value:P,children:[we&&(0,nX.jsx)(LK,{ref:y.type==="context-menu"||y.type==="nested-context-menu"?y.context.internalBackdropRef:null,inert:WW(!h),cutout:pe}),(0,nX.jsx)(iY,{id:A,children:(0,nX.jsx)(_P,{elementsRef:R.context.itemDomElements,labelsRef:R.context.itemLabels,children:He})})]})});var Pa=u(E(),1);var EW=u(E(),1),SY=EW.createContext(void 0);function Aq(){let e=EW.useContext(SY);if(e===void 0)throw new Error(St(34));return e}var wY=u(F(),1),Oq=Pa.memo(Pa.forwardRef(function(t,c){let{render:n,className:l,value:o,defaultValue:d,onValueChange:i,disabled:r=!1,style:a,"aria-labelledby":s,...b}=t,[m,X]=Pa.useState(void 0),[G,g]=U5({controlled:o,default:d,name:"MenuRadioGroup"}),x=Ie((I,f)=>{i?.(I,f),!f.isCanceled&&g(I)}),p=it("div",t,{state:{disabled:r},ref:c,props:{role:"group","aria-labelledby":s??m,"aria-disabled":r||void 0,...b}}),R=Pa.useMemo(()=>({value:G,setValue:x,disabled:r}),[G,x,r]);return(0,wY.jsx)(rp.Provider,{value:X,children:(0,wY.jsx)(SY.Provider,{value:R,children:p})})}));var DW=u(E(),1);var LW=u(E(),1),kY=LW.createContext(void 0);function Qq(){let e=LW.useContext(kY);if(e===void 0)throw new Error(St(35));return e}var Uq=u(F(),1),Eq=DW.forwardRef(function(t,c){let{render:n,className:l,id:o,label:d,nativeButton:i=!1,disabled:r=!1,closeOnClick:a=!1,value:s,style:b,...m}=t,X=Io({guess:!0,label:d}),G=kn(!0),g=hl(o),{store:x}=Et(),H=x.useState("isActive",X.index),p=x.useState("itemProps"),{value:R,setValue:I,disabled:f}=Aq(),y=x.useState("disabled"),Z=r||f||y,W=R===s,{getItemProps:v,itemRef:h}=ja({closeOnClick:a,disabled:Z,highlighted:H,id:g,store:x,nativeButton:i,nodeId:G?.context.nodeId,itemMetadata:_a}),C=DW.useMemo(()=>({disabled:Z,highlighted:H,checked:W}),[Z,H,W]);function B(S){let Y=_e(fe.itemPress,S.nativeEvent,void 0,{preventUnmountOnClose:tn});I(s,Y)}let V=it("div",t,{state:C,stateAttributesMapping:Ma,props:[p,{role:"menuitemradio","aria-checked":W,onClick:B},m,v],ref:[h,c,X.ref]});return(0,Uq.jsx)(kY.Provider,{value:C,children:V})});var _W=u(E(),1);var Lq=_W.forwardRef(function(t,c){let{render:n,className:l,style:o,keepMounted:d=!1,...i}=t,r=Qq(),a=_W.useRef(null),{transitionStatus:s,mounted:b,setMounted:m}=E0(r.checked);za({batch:!0,enabled:!r.checked,open:r.checked,ref:a,onComplete(){r.checked||m(!1)}});let X={checked:r.checked,disabled:r.disabled,highlighted:r.highlighted,transitionStatus:s};return it("span",t,{state:X,stateAttributesMapping:Ma,ref:[c,a],props:{"aria-hidden":!0,...i},enabled:d||b})});var Wc=u(E(),1);var jW=u(E(),1),i1e=jW.createContext(null);function MW(e){let t=jW.useContext(i1e);if(t===null&&!e)throw new Error(St(5));return t}var ap=u(E(),1);var Dq={...SK,disabled:e=>e.parent.type==="menubar"&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type==="context-menu")&&(e.modal??!0),openMethod:e=>e.openMethod,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type==="menu"?e.parent.store.select("rootId"):e.parent.type!==void 0?e.parent.context.rootId:e.rootId,activeIndex:e=>e.activeIndex,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type==="menu"?e.parent.store.select("floatingTreeRoot"):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type==="menu")return e.parent.store.select("keyboardEventRelay")}},PW=class extends Ua{constructor(t,c,n=!1){let l=new cp,o=Mq(l,c,n,t);super(o,jq(l),Dq),this.unsubscribeParentListener=this.observe("parent",d=>{if(this.unsubscribeParentListener?.(),d.type==="menu"){let i=d.store.select("rootId"),r=d.store.select("floatingTreeRoot"),a=d.store.select("keyboardEventRelay");this.unsubscribeParentListener=d.store.subscribe(()=>{let s=d.store.select("rootId"),b=d.store.select("floatingTreeRoot"),m=d.store.select("keyboardEventRelay");i===s&&r===b&&a===m||(i=s,r=b,a=m,this.notifyAll())}),this.context.allowMouseUpTriggerRef=d.store.context.allowMouseUpTriggerRef;return}d.type!==void 0&&(this.context.allowMouseUpTriggerRef=d.context.allowMouseUpTriggerRef),this.unsubscribeParentListener=null})}setOpen(t,c){this.state.floatingRootContext.context.events.emit("setOpen",{open:t,eventDetails:c})}unsubscribeParentListener=null};function _q(){let e=new cp,t=new yW(Object.freeze(Mq(e)),Object.freeze(jq(e)),Dq);return Object.assign(t,{setOpen:tn})}function jq(e){return{positionerRef:ap.createRef(),popupRef:ap.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},allowMouseUpTriggerRef:{current:!1},triggerFocusTargetRef:ap.createRef(),beforeContentFocusGuardRef:ap.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function Mq(e,t,c=!1,n){return{...YK(e,t,c),disabled:!1,modal:!0,openMethod:null,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new Aa,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:Gt,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...n}}var KW=u(E(),1),zY=KW.createContext(void 0);function qW(){return KW.useContext(zY)}var sp=u(F(),1),$W=XY(function(t){let{children:c,open:n,onOpenChange:l,onOpenChangeComplete:o,defaultOpen:d=!1,disabled:i=!1,modal:r,loopFocus:a=!0,orientation:s="vertical",actionsRef:b,closeParentOnEsc:m=!1,handle:X,triggerId:G,defaultTriggerId:g=null,highlightItemOnHover:x=!0}=t,H=Da(!0),p=Et(!0),R=MW(!0),I=qW(),f=Wc.useMemo(()=>I&&p?{type:"menu",store:p.store}:R?{type:"menubar",context:R}:H&&!p?{type:"context-menu",context:H}:{type:void 0},[H,p,R,I]),y=br(),Z=br(),W=od(),v=f.type==="menu"?f.store:void 0,h=(n??d)&&v?.state.transitionStatus==="starting",C=oc(()=>h?v?.state.instantType:void 0).current,B=r1e({open:d,openProp:n,activeTriggerId:g,triggerIdProp:G,parent:f,disabled:i,highlightItemOnHover:x,modal:f.type===void 0?r:void 0,rootId:y,instantType:C},Z,W!=null);B.useControlledProp("openProp",n),B.useControlledProp("triggerIdProp",G),B.useContextCallback("onOpenChangeComplete",o);let V=B.useState("floatingTreeRoot"),S=qx(V),Y=B.useState("open"),J=B.useState("activeTriggerElement"),k=B.useState("positionerElement"),N=B.useState("hoverEnabled"),A=B.useState("disabled"),Q=B.useState("lastOpenChangeReason"),z=B.useState("parent"),D=B.useState("activeIndex"),U=B.useState("payload"),O=B.useState("floatingParentNodeId"),L=Wc.useRef(null),M=Wc.useRef(z.type!=="context-menu"),_=gc(),j=Wc.useRef(!0),ue=gc(),xe=O!=null,{openMethod:Be,triggerProps:P}=MK(Y);B.useSyncedValues({disabled:i,highlightItemOnHover:x,modal:z.type===void 0?r:void 0,openMethod:Be,rootId:y}),VK(B);let{forceUnmount:ye,transitionStatus:Te}=CK(Y,B,()=>{B.set("allowMouseEnter",!1)},h),ze=ai(B.context.popupRef);Wc.useEffect(()=>{if(C===void 0)return;let Ye=()=>{B.state.instantType===C&&B.set("instantType",void 0)};if(!Y){Ye();return}if(Te!==void 0)return;if(B.context.popupRef.current==null){Ye();return}let le=new AbortController;return ze(Ye,le.signal),()=>{le.abort()}},[C,Y,Te,ze,B]),Xe(()=>{H&&!p?B.update({parent:{type:"context-menu",context:H},floatingNodeId:S,floatingParentNodeId:W}):p&&B.update({floatingNodeId:S,floatingParentNodeId:W})},[H,p,S,W,B]),Wc.useEffect(()=>{if(Y||(L.current=null),z.type==="context-menu"){if(!Y){_.clear(),M.current=!1;return}_.start(500,()=>{M.current=!0})}},[_,Y,z.type]),Xe(()=>{!Y&&!N&&B.set("hoverEnabled",!0)},[Y,N,B]);let Ne=Ie((Ye,le)=>{let Fe=le.reason;if(!Ye&&!B.select("open")||Y===Ye&&le.trigger===J&&Q===Fe)return;let Qe=BK(le);if(!Ye&&le.trigger==null&&(le.trigger=J??void 0),l?.(Ye,le),le.isCanceled)return;B.state.floatingRootContext.dispatchOpenChange(Ye,le);let he=le.event;if(Ye===!1&&he?.type==="click"&&he.pointerType==="touch"&&!j.current)return;Ye&&Fe===fe.triggerFocus?(j.current=!1,ue.start(300,()=>{j.current=!0})):(j.current=!0,ue.clear());let Ke=(Fe===fe.triggerPress||Fe===fe.itemPress)&&he.detail===0,ut=!Ye&&(Fe===fe.escapeKey||Fe==null);L.current=le.event;let kt=hK(B.state,Ye,le.trigger,Qe());kt.openChangeReason=Fe,z.type==="menubar"&&(Fe===fe.triggerFocus||Fe===fe.focusOut||Fe===fe.triggerHover||Fe===fe.listNavigation||Fe===fe.siblingOpen)?kt.instantType="group":Ke||ut?kt.instantType=Ke?"click":"dismiss":kt.instantType=void 0,B.update(kt)}),He=gY({popupStore:B,floatingRootContext:B.state.floatingRootContext,floatingId:Z,nested:W!=null,onOpenChange:Ne}),we=He.context.events;Xe(()=>{let Ye=({open:le,eventDetails:Fe})=>Ne(le,Fe);return we.on("setOpen",Ye),()=>{we?.off("setOpen",Ye)}},[we,Ne]);let pe=Wc.useCallback(()=>{B.setOpen(!1,_e(fe.imperativeAction))},[B]);Wc.useImperativeHandle(b,()=>({unmount:ye,close:pe}),[ye,pe]);let ve;z.type==="context-menu"&&(ve=z.context),Wc.useImperativeHandle(ve?.positionerRef,()=>k,[k]),Wc.useImperativeHandle(ve?.actionsRef,()=>({setOpen:Ne}),[Ne]);let Ve=bY(He,{enabled:!A,bubbles:{escapeKey:m&&z.type==="menu"},outsidePress(){return z.type!=="context-menu"||L.current?.type==="contextmenu"?!0:M.current},externalTree:xe?V:void 0}),qe=La(),Vt=Wc.useCallback(Ye=>{B.select("activeIndex")!==Ye&&B.set("activeIndex",Ye)},[B]),Ge=BY(He,{enabled:!A,listRef:B.context.itemDomElements,activeIndex:D,nested:z.type!==void 0,loopFocus:a,orientation:s,parentOrientation:z.type==="menubar"?z.context.orientation:void 0,rtl:qe==="rtl",disabledIndices:ar,onNavigate:Vt,openOnArrowKeyDown:z.type!=="context-menu",externalTree:xe?V:void 0,focusItemOnHover:x}),We=Wc.useCallback(Ye=>{B.context.typingRef.current=Ye},[B]),se=vY(He,{enabled:!A,listRef:B.context.itemLabels,elementsRef:B.context.itemDomElements,activeIndex:D,resetMs:500,onMatch:Ye=>{Y&&Ye!==D&&B.set("activeIndex",Ye)},onTyping:We}),ee=Wc.useMemo(()=>{let Ye=rc(se.reference,Ge.reference,Ve.reference,{onMouseMove(){B.set("allowMouseEnter",!0)}},P);return Ye["aria-haspopup"]="menu",Ye["aria-expanded"]=Y,Ye},[B,se.reference,Ge.reference,Ve.reference,P,Y]),Ae=Wc.useMemo(()=>{let Ye=rc(Ge.trigger,Ve.trigger,P);return Ye["aria-haspopup"]="menu",Ye["aria-expanded"]=!1,Ye},[Ge.trigger,Ve.trigger,P]);oc(()=>(B.update({inactiveTriggerProps:Ae}),null));let ot=Wc.useMemo(()=>rc(yK,{id:Z,role:"menu","aria-orientation":s==="horizontal"?"horizontal":void 0,"aria-labelledby":J?.id,onMouseMove(){B.set("allowMouseEnter",!0),z.type==="menu"&&B.set("hoverEnabled",!1)},onClick(){B.select("hoverEnabled")&&B.set("hoverEnabled",!1)},onKeyDown(Ye){let le=B.select("keyboardEventRelay");le&&!Ye.isPropagationStopped()&&le(Ye)}},se.floating,Ge.floating,Ve.floating),[J,Z,s,z.type,B,se.floating,Ge.floating,Ve.floating]),ft=Ge.item??Gt;FK(B,{floatingRootContext:He,activeTriggerProps:ee,inactiveTriggerProps:Ae,popupProps:ot,itemProps:ft});let Lt=Wc.useMemo(()=>({store:B,parent:f}),[B,f]),kc=(0,sp.jsxs)(FY.Provider,{value:Lt,children:[X&&(0,sp.jsx)(WK,{handle:X,store:B}),typeof c=="function"?c({payload:U}):c]});return z.type===void 0||z.type==="context-menu"?(0,sp.jsx)(rY,{externalTree:V,children:kc}):kc});function r1e(e,t,c){return oc(()=>new PW(e,t,c)).current}var Pq=u(E(),1);var TY=u(F(),1);function Kq(e){let t=Et().store,c=Pq.useMemo(()=>({parentMenu:t}),[t]);return(0,TY.jsx)(zY.Provider,{value:c,children:(0,TY.jsx)($W,{...e})})}var zn=u(E(),1);var qq=u(E(),1);function $q(e={}){let{highlightItemOnHover:t,highlightedIndex:c,onHighlightedIndexChange:n}=L0(),{ref:l,index:o}=Io(e),d=c===o,i=qq.useRef(null),r=ri(l,i);return{compositeProps:{tabIndex:d?0:-1,onFocus(){n(o)},onMouseMove(){let s=i.current;if(!t||!s)return;let b=s.hasAttribute("disabled")||s.ariaDisabled==="true";!d&&!b&&s.focus()}},compositeRef:r,index:o}}function e$(e){let{render:t,className:c,style:n,state:l=Gt,props:o=ar,refs:d=ar,metadata:i,stateAttributesMapping:r,tag:a="div",...s}=e,{compositeProps:b,compositeRef:m}=$q({metadata:i});return it(a,e,{state:l,ref:[m,...d],props:[b,...o,s],stateAttributesMapping:r})}function AY(e){if(st(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!ao(e))return AY(ro(e))}var t$=u(E(),1),OY=u(io(),1);function c$(e,t){let c=t$.useRef(null);function n(o){OY.flushSync(()=>{e.setOpen(!1,_e(fe.focusOut,o.nativeEvent,o.currentTarget))}),D8(c.current)?.focus()}function l(o){let d=e.select("positionerElement");if(d&&Xr(o,d))e.context.beforeContentFocusGuardRef.current?.focus();else{OY.flushSync(()=>{e.setOpen(!1,_e(fe.focusOut,o.nativeEvent,o.currentTarget))});let i=L8(e.context.triggerFocusTargetRef.current||t.current);for(;i!==null&&Se(d,i);){let r=i;if(i=K0(i),i===r)break}i?.focus()}}return{preFocusGuardRef:c,handlePreFocusGuardFocus:n,handleFocusTargetFocus:l}}var eh=u(E(),1);function n$(e){let{enabled:t=!0,mouseDownAction:c,open:n}=e,l=eh.useRef(!1);return eh.useMemo(()=>t?{onMouseDown:o=>{(c==="open"&&!n||c==="close"&&n)&&(l.current=!0,je(o.currentTarget).addEventListener("click",()=>{l.current=!1},{once:!0}))},onClick:o=>{l.current&&(l.current=!1,o.preventBaseUIHandler())}}:Gt,[t,c,n])}var Ka=u(F(),1),l$=RK(function(t,c){let{render:n,className:l,style:o,disabled:d=!1,nativeButton:i=!0,id:r,openOnHover:a,delay:s=100,closeDelay:b=0,handle:m,payload:X,...G}=t,g=Et(!0),H=kK(m)??g?.store;if(!H)throw new Error(St(85));let p=hl(r),R=H.useState("isTriggerActive",p),I=H.useState("floatingRootContext"),f=H.useState("isOpenedByTrigger",p),y=H.useState("triggerPopupId",p),Z=zn.useRef(null),W=s1e(),v=L0(!0),h=Nn(),C=zn.useMemo(()=>h??new Aa,[h]),B=qx(C),V=od(),{registerTrigger:S,isMountedByThisTrigger:Y}=vK(p,Z,H,{payload:X,closeDelay:b,parent:W,floatingTreeRoot:C,floatingNodeId:B,floatingParentNodeId:V,keyboardEventRelay:v?.relayKeyboardEvent}),J=W.type==="menubar",k=H.useState("disabled"),N=d||k||J&&W.context.disabled,{getButtonProps:A,buttonRef:Q}=wb({disabled:N,native:i});zn.useEffect(()=>{!f&&W.type===void 0&&(H.context.allowMouseUpTriggerRef.current=!1)},[H,f,W.type]);let z=zn.useRef(null),D=gc(),U=Ie(ve=>{if(!z.current)return;D.clear(),H.context.allowMouseUpTriggerRef.current=!1;let Ve=ve.target;Se(z.current,Ve)||Se(H.select("positionerElement"),Ve)||Ve===z.current||Ve!=null&&AY(Ve)===H.select("rootId")||PK(ve,z.current)||C.events.emit("close",{domEvent:ve,reason:fe.cancelOpen})});zn.useEffect(()=>{f&&H.select("lastOpenChangeReason")===fe.triggerHover&&je(z.current).addEventListener("mouseup",U,{once:!0})},[f,U,H]);let O=J&&W.context.hasSubmenuOpen,M=lp(I,{enabled:(a??O)&&!N&&(!J||O&&!Y),handleClose:op({blockPointerEvents:!J}),mouseOnly:!0,move:!1,restMs:W.type===void 0?s:void 0,delay:{close:b},triggerElementRef:Z,externalTree:C,isActiveTrigger:R,isClosing:()=>H.select("transitionStatus")==="ending"}),_=a1e(f,H.select("lastOpenChangeReason")),j=tp(I,{enabled:!N,event:f&&J?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:W.type===void 0?_:!1}),ue=ZY(I,{enabled:!N&&O}),xe=n$({open:f,enabled:J,mouseDownAction:"open"}),Be=zn.useMemo(()=>rc(ue.reference,j.reference),[ue.reference,j.reference]),P=H.useState("triggerProps",Y),{preFocusGuardRef:ye,handlePreFocusGuardFocus:Te,handleFocusTargetFocus:ze}=c$(H,Z),Ne={disabled:N,open:f},He=[z,c,Q,S,Z],we=[Be,M??Gt,P,{"aria-haspopup":"menu","aria-controls":y,id:p,onMouseDown:ve=>{if(H.select("open"))return;D.start(200,()=>{H.context.allowMouseUpTriggerRef.current=!0}),je(ve.currentTarget).addEventListener("mouseup",U,{once:!0})}},J?{role:"menuitem"}:{},xe,G,A],pe=it("button",t,{enabled:!J,stateAttributesMapping:OJ,state:Ne,ref:He,props:we});return J?(0,Ka.jsx)(e$,{tag:"button",render:n,className:l,style:o,state:Ne,refs:He,props:we,stateAttributesMapping:OJ}):f?(0,Ka.jsxs)(zn.Fragment,{children:[(0,Ka.jsx)(mr,{ref:ye,onFocus:Te},`${p}-pre-focus-guard`),(0,Ka.jsx)(zn.Fragment,{children:pe},p),(0,Ka.jsx)(mr,{ref:H.context.triggerFocusTargetRef,onFocus:ze},`${p}-post-focus-guard`)]}):(0,Ka.jsx)(zn.Fragment,{children:pe},p)});function a1e(e,t){let c=gc(),[n,l]=zn.useState(!1);return Xe(()=>{e&&t===fe.triggerHover?(l(!0),c.start(500,()=>{l(!1)})):e||(c.clear(),l(!1))},[e,t,c]),n}function s1e(){let e=MW(!0);return zn.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}var p$=u(E(),1);var gn=u(E(),1),G$=u(io(),1);var o$=u(E(),1);function d$(e){let[t,c]=o$.useState({current:e,previous:null});return Object.is(e,t.current)||c({current:e,previous:t.current}),t.previous}var lX=u(E(),1);function QY(e){let t=Oc(e),c=parseFloat(t.width)||0,n=parseFloat(t.height)||0,l=st(e),o=l?e.offsetWidth:c,d=l?e.offsetHeight:n;return(Or(c)!==o||Or(n)!==d)&&(c=o,n=d),{width:c,height:n}}var bp="--popup-width",up="--popup-height";function a$(e){let{popupElement:t,positionerElement:c,content:n,mounted:l,onMeasureLayout:o,onMeasureLayoutComplete:d,side:i,direction:r}=e,a=ai(t,!0),s=Ul(),b=lX.useRef(null),m=lX.useRef(!0),X=lX.useRef(tn),G=Ie(o),g=Ie(d),x=lX.useMemo(()=>b1e(i,r),[i,r]);Xe(()=>{if(!l){X.current=tn,m.current=!0,b.current=null;return}if(!t||!c)return;X.current=r$(t,x),UY(t,"auto");let H=ch(t,"position","static"),p=ch(t,"transform","none"),R=ch(t,"scale","1"),I=r$(c,{[vW]:"max-content",[VW]:"max-content"});function f(){H(),p(),I()}function y(){f(),R()}if(G?.(),m.current||b.current===null){th(c,"max-content");let h=QY(t);return b.current=h,th(c,h),y(),g?.(null,h),m.current=!1,()=>{X.current(),X.current=tn}}th(c,"max-content");let Z=b.current,W=QY(t);b.current=W,UY(t,Z),y(),g?.(Z,W),th(c,W);let v=new AbortController;return s.request(()=>{UY(t,W),a(()=>{t.style.setProperty(bp,"auto"),t.style.setProperty(up,"auto")},v.signal)}),()=>{v.abort(),s.cancel(),X.current(),X.current=tn}},[n,t,c,a,s,l,G,g,x])}function b1e(e,t){let c=e==="top",n=e==="left"||e===(t==="rtl"?"inline-end":"inline-start");return!c&&!n?Gt:{position:"absolute",[c?"bottom":"top"]:"0",[n?"right":"left"]:"0"}}function ch(e,t,c){let n=e.style.getPropertyValue(t);return e.style.setProperty(t,c),()=>{e.style.setProperty(t,n)}}function r$(e,t){let c=[];for(let[n,l]of Object.entries(t))c.push(ch(e,n,l));return c.length?()=>{c.forEach(n=>n())}:tn}function UY(e,t){let c=t==="auto"?"auto":`${t.width}px`,n=t==="auto"?"auto":`${t.height}px`;e.style.setProperty(bp,c),e.style.setProperty(up,n)}function th(e,t){let c=t==="max-content"?"max-content":`${t.width}px`,n=t==="max-content"?"max-content":`${t.height}px`;e.style.setProperty(cq,c),e.style.setProperty(nq,n)}var s$=u(E(),1);var b$=u(F(),1),nh=function(t){let{direction:c="ltr"}=t,n=s$.useMemo(()=>({direction:c}),[c]);return(0,b$.jsx)(VY.Provider,{value:n,children:t.children})};var u$={name:"adaptiveOrigin",async fn(e){let{x:t,y:c,rects:{floating:n},elements:{floating:l},platform:o,strategy:d,placement:i}=e,r=ht(l),a=r.getComputedStyle(l);if(!(a.transitionDuration!=="0s"&&a.transitionDuration!==""))return{x:t,y:c,data:tX};let b=await o.getOffsetParent?.(l),m={width:0,height:0};if(d==="fixed"&&r?.visualViewport)m={width:r.visualViewport.width,height:r.visualViewport.height};else if(b===r){let p=je(l);m={width:p.documentElement.clientWidth,height:p.documentElement.clientHeight}}else await o.isElement?.(b)&&(m=await o.getDimensions(b));let X=hn(i),G=t,g=c;X==="left"&&(G=m.width-(t+n.width)),X==="top"&&(g=m.height-(c+n.height));let x=X==="left"?"right":tX.sideX,H=X==="top"?"bottom":tX.sideY;return{x:G,y:g,data:{sideX:x,sideY:H}}}};var m$="data-activation-direction";var oX=u(F(),1),g$={activationDirection:e=>e?{[m$]:e}:null};function x$(e){let{store:t,side:c,children:n}=e,l=La(),o=t.useState("activeTriggerElement"),d=t.useState("activeTriggerId"),i=t.useState("open"),r=t.useState("payload"),a=t.useState("mounted"),s=t.useState("popupElement"),b=t.useState("positionerElement"),m=d$(i?o:null),X=G1e(d,r),G=gn.useRef(null),[g,x]=gn.useState(null),[H,p]=gn.useState(null),R=gn.useRef(null),I=gn.useRef(null),f=ai(R,!0),y=Ul(),Z=gn.useRef(null),[W,v]=gn.useState(null),[h,C]=gn.useState(!1);Xe(()=>(t.set("adaptiveOrigin",u$),()=>{t.set("adaptiveOrigin",void 0)}),[t]);let B=Ie(()=>{R.current?.style.setProperty("animation","none"),R.current?.style.setProperty("transition","none"),I.current?.style.setProperty("display","none")}),V=Ie(A=>{R.current?.style.removeProperty("animation"),R.current?.style.removeProperty("transition"),I.current?.style.removeProperty("display"),A&&v(A)}),S=Ie(()=>{Z.current?.abort();let A=new AbortController;Z.current=A,f(()=>{x(null),v(null),G.current=null},A.signal)}),Y=gn.useRef(null);Xe(()=>{(!i||!a)&&(Y.current=null)},[i,a]),Xe(()=>{if(o&&m&&o!==m&&Y.current!==o&&G.current){x(G.current),C(!0);let A=X1e(m,o);p(A),Y.current=o}},[o,m]),Xe(()=>{g!=null&&(Z.current?.abort(),C(!0),y.request(()=>{G$.flushSync(()=>{C(!1)}),S()}))},[X,g,S,y]),Xe(()=>{let A=R.current;if(!A)return;let Q=je(A).createElement("div");for(let z of Array.from(A.childNodes))Q.appendChild(z.cloneNode(!0));G.current=Q});let J=g!=null,k;J?k=(0,oX.jsxs)(gn.Fragment,{children:[(0,oX.jsx)("div",{"data-previous":!0,inert:WW(!0),ref:I,style:{...W?{[bp]:`${W.width}px`,[up]:`${W.height}px`}:null,position:"absolute"},"data-ending-style":h?void 0:""},"previous"),(0,oX.jsx)("div",{"data-current":!0,ref:R,"data-starting-style":h?"":void 0,children:n},X)]}):k=(0,oX.jsx)("div",{"data-current":!0,ref:R,children:n},X),Xe(()=>{let A=I.current;!A||!g||A.replaceChildren(...Array.from(g.childNodes))},[g]),a$({popupElement:s,positionerElement:b,mounted:a,content:r,onMeasureLayout:B,onMeasureLayoutComplete:V,side:c,direction:l});let N={activationDirection:m1e(H),transitioning:J};return{children:k,state:N}}function m1e(e){if(e)return`${X$(e.horizontal,5,"right","left")} ${X$(e.vertical,5,"down","up")}`}function X$(e,t,c,n){return e>t?c:e<-t?n:""}function X1e(e,t){let c=e.getBoundingClientRect(),n=t.getBoundingClientRect(),l={x:c.left+c.width/2,y:c.top+c.height/2},o={x:n.left+n.width/2,y:n.top+n.height/2};return{horizontal:o.x-l.x,vertical:o.y-l.y}}function G1e(e,t){let[c,n]=gn.useState(0),l=gn.useRef(e),o=gn.useRef(t),d=gn.useRef(!1);return Xe(()=>{let i=l.current,r=o.current,a=e!==i,s=t!==r;a?(n(b=>b+1),d.current=!s):d.current&&s&&(n(b=>b+1),d.current=!1),l.current=e,o.current=t},[e,t]),`${e??"current"}-${c}`}var R$=p$.forwardRef(function(t,c){let{render:n,className:l,style:o,children:d,...i}=t,{store:r}=Et(),{side:a}=kn(),s=r.useState("instantType"),{children:b,state:m}=x$({store:r,side:a,children:d}),X={activationDirection:m.activationDirection,transitioning:m.transitioning,instant:s};return it("div",t,{state:X,ref:c,props:[i,{children:b}],stateAttributesMapping:g$})});var H$=u(E(),1);var I$=H$.forwardRef(function(t,c){let{className:n,render:l,orientation:o="horizontal",style:d,...i}=t;return it("div",t,{state:{orientation:o},ref:c,props:[{role:"separator","aria-orientation":o},i]})});var gr=u(E(),1);var g1e={"aria-expanded":void 0},Z$=gr.forwardRef(function(t,c){let{render:n,className:l,style:o,label:d,id:i,nativeButton:r=!1,openOnHover:a=!0,delay:s=100,closeDelay:b=0,disabled:m=!1,...X}=t,G=qW();if(!G?.parentMenu)throw new Error(St(37));let g=Io({guess:!0,label:d}),x=kn(),{store:H}=Et(),p=hl(i),R=H.useState("open"),I=H.useState("floatingRootContext"),f=H.useState("floatingTreeRoot"),y=H.useState("triggerPopupId",p),Z=pY(p,H),W=Ie(Be=>{Z(Be),Be!==null&&H.select("open")&&H.select("activeTriggerId")==null&&H.update({activeTriggerId:p??null,activeTriggerElement:Be,closeDelay:b})}),v=gr.useRef(null),h=gr.useCallback(Be=>{v.current=Be,H.set("activeTriggerElement",Be)},[H]);Xe(()=>(W(v.current),()=>W(null)),[W,p,H]),H.useSyncedValue("closeDelay",b);let C=G.parentMenu,B=H.useState("disabled"),V=C.useState("disabled"),S=m||B||V,Y=C.useState("itemProps"),J=C.useState("isActive",g.index),k=gr.useMemo(()=>({type:"submenu-trigger",setActive(){C.select("highlightItemOnHover")&&C.set("activeIndex",g.index)}}),[C,g.index]),{getItemProps:N,itemRef:A}=ja({closeOnClick:!1,disabled:S,highlighted:J,id:p,store:H,typingRef:C.context.typingRef,nativeButton:r,itemMetadata:k,nodeId:x?.context.nodeId}),Q=H.useState("hoverEnabled"),z=lp(I,{enabled:Q&&a&&!S,handleClose:op({blockPointerEvents:!0}),mouseOnly:!0,move:!0,restMs:s,delay:{open:s,close:b},shouldOpen:s>0?()=>C.select("allowMouseEnter"):void 0,triggerElementRef:v,externalTree:f,isClosing:()=>H.select("transitionStatus")==="ending",guardStaleOpen:!0}),U=tp(I,{enabled:!S,event:"mousedown",toggle:!a,ignoreMouse:a,stickIfOpen:!1}).reference??Gt,O=H.useState("triggerProps",!0);delete O.id;let L={disabled:S,highlighted:J,open:R},M=H.useState("openMethod"),j=H.useState("lastOpenChangeReason")===fe.listNavigation||M==="keyboard",ue=R&&j&&vt.screenReader.voiceOver;return it("div",t,{state:L,stateAttributesMapping:C8,props:[U,z,O,Y,ue?g1e:void 0,{"aria-controls":y,tabIndex:R||J?0:-1,onBlur(){J&&C.set("activeIndex",null)}},X,N],ref:[c,g.ref,A,W,h]})});var mp=class extends uW{constructor(){super(_q(),"Menu")}open(t){this.openByTrigger(t)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}};function f$(){return new mp}function qa(e){return it(e.defaultTagName??"div",e,e)}var h$=u(T(),1),EY="data-wp-hash";function LY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&p1e(document)),e.__wpStyleRuntime}function x1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${EY}]`))if(c.getAttribute(EY)===t)return!0;return!1}function B$(e,t,c){if(!e.head)return;let n=LY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(x1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(EY,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function p1e(e){let t=LY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)B$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function v$(e,t){let c=LY();c.styles.set(e,t);for(let n of c.documents.keys())B$(n,e,t)}typeof process>"u",v$("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 y$={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"};typeof process>"u",v$("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 W$={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"},Xp=(0,h$.forwardRef)(function({variant:t="body-md",render:c,className:n,...l},o){return qa({render:c,defaultTagName:"span",ref:o,props:rc(l,{className:w(y$.text,W$.heading,W$.p,y$[t],n)})})});var _Y="data-wp-hash";function jY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&H1e(document)),e.__wpStyleRuntime}function R1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${_Y}]`))if(c.getAttribute(_Y)===t)return!0;return!1}function C$(e,t,c){if(!e.head)return;let n=jY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(R1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(_Y,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function H1e(e){let t=jY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)C$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function I1e(e,t){let c=jY();c.styles.set(e,t);for(let n of c.documents.keys())C$(n,e,t)}typeof process>"u",I1e("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 V$={slot:"_11fc52b637ff8a7e__slot"},F$="data-wp-compat-overlay-slot";function Z1e(){return typeof document>"u"?null:document}function f1e(){let e;try{e=window.top?.wp}catch{}let t=e??window.wp;return typeof t?.components=="object"&&t.components!==null}var ui=null;function DY(e){return e.setAttribute("aria-hidden","false"),e}function y1e(e){let t=e.createElement("div");return t.setAttribute(F$,""),V$.slot&&t.classList.add(V$.slot),e.body.appendChild(t),t}function Gp(){if(typeof window>"u"||!f1e()&&window.__wpUiCompatOverlaySlotEnabled!==!0)return;let e=Z1e();if(!e||!e.body)return;if(ui&&ui.ownerDocument===e&&ui.isConnected)return DY(ui);let t=e.querySelector(`[${F$}]`);return t instanceof HTMLDivElement?(ui=DY(t),ui):(ui?.isConnected&&ui.remove(),ui=DY(y1e(e)),ui)}var J$=u(T(),1);function MY(e,t,c){return(0,J$.cloneElement)(e??t,{children:c})}var Y$=u(Ze(),1),N$=u(F(),1);function S$({children:e}){return(0,N$.jsx)(nh,{direction:(0,Y$.isRTL)()?"rtl":"ltr",children:e})}var _l={};Fl(_l,{CheckboxItem:()=>nee,Group:()=>iee,GroupLabel:()=>bee,Item:()=>eee,ItemDescription:()=>ih,ItemLabel:()=>rh,LinkItem:()=>gee,Popup:()=>hee,Portal:()=>ah,Positioner:()=>sh,PrefixIcon:()=>yN,RadioGroup:()=>Yee,RadioItem:()=>wee,Root:()=>Tee,Separator:()=>Uee,SubmenuRoot:()=>Eee,SubmenuTrigger:()=>jee,Trigger:()=>Kee});var tee=u(T(),1);var w$=u(T(),1),k$=u(rt(),1),z$=u(F(),1),dd=(0,w$.forwardRef)(function({icon:t,size:c=24,style:n,...l},o){let d=t.props.style||n?{...t.props.style,...n}:void 0;return(0,z$.jsx)(k$.SVG,{ref:o,...t.props,...l,...d?{style:d}:{},width:c,height:c})});var dX=u(T(),1),gp=(0,dX.createContext)({isSubmenu:!1}),lh=()=>(0,dX.useContext)(gp),id=(0,dX.createContext)(null),T$=()=>(0,dX.useContext)(id);var iX=u(T(),1);var xp=u(T(),1),dh=u(Ze(),1);var A$=u(T(),1),PY="data-wp-hash";function KY(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&h1e(document)),e.__wpStyleRuntime}function W1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PY}]`))if(c.getAttribute(PY)===t)return!0;return!1}function O$(e,t,c){if(!e.head)return;let n=KY(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(W1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PY,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function h1e(e){let t=KY();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)O$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function B1e(e,t){let c=KY();c.styles.set(e,t);for(let n of c.documents.keys())O$(n,e,t)}typeof process>"u",B1e("f4df7461e9","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f37b9e2e191ebd66__visually-hidden{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;overflow-wrap:normal;padding:0;position:absolute;width:1px;word-break:normal}}}");var v1e={"visually-hidden":"f37b9e2e191ebd66__visually-hidden"},qY=(0,A$.forwardRef)(function({render:t,...c},n){return qa({render:t,ref:n,props:rc({className:v1e["visually-hidden"]},c,{"data-visually-hidden":""})})});var oh=u(F(),1);function Q$({"aria-describedby":e,"aria-keyshortcuts":t,shortcut:c}){let n=(0,xp.useId)(),l=c?n:void 0,o=[e,l].filter(Boolean).join(" ");return{descriptionId:l,targetProps:{"aria-describedby":o||void 0,"aria-keyshortcuts":c?.ariaKeyShortcut??t}}}var U$=(0,xp.forwardRef)(function({descriptionId:t,shortcut:c},n){return(0,oh.jsx)(qY,{id:t,"aria-hidden":"true",render:(0,oh.jsx)("span",{ref:n}),children:(0,dh.sprintf)((0,dh.__)("Keyboard shortcut: %s"),c.label??c.ariaKeyShortcut)})}),E$=(0,xp.forwardRef)(function({className:t,shortcut:c},n){return(0,oh.jsx)("span",{ref:n,"aria-hidden":"true",className:t,dir:"ltr",children:c.displayShortcut})});var Dl=u(T(),1),V1e=!1;function L$(e,{Label:t,Description:c,validationMessage:n}){let l=Dl.Children.toArray(e),[o,...d]=l,i=(0,Dl.isValidElement)(o)&&o.type===t,r=d.filter(a=>(0,Dl.isValidElement)(a)&&a.type===c);if(V1e&&(!i||r.length!==d.length))throw new Error(n);return{descriptionIds:r.map(a=>a.props.id),hasLabel:i,labelId:i?o.props.id:void 0}}function $Y(e,t,{"aria-describedby":c,"aria-label":n,"aria-labelledby":l}={}){let o=(0,Dl.useId)(),d=(0,Dl.useId)(),{descriptionIds:i,hasLabel:r,labelId:a}=L$(e,t),s=r?a??o:void 0,b=i.map((R,I)=>R??`${d}-${I}`),m=Array.from(new Set([...c?.split(/\s+/).filter(Boolean)??[],...b])).join(" "),X=0,{Label:G,Description:g,descriptionValidationToken:x}=t;return{contentChildren:Dl.Children.map(e,R=>{if(!(0,Dl.isValidElement)(R))return R;if(R.type===G)return R.props.id===s?R:(0,Dl.cloneElement)(R,{id:s});if(R.type!==g)return R;let I=b[X++];return!x&&R.props.id===I?R:(0,Dl.cloneElement)(R,{id:I,...x&&{validationToken:x}})}),resolvedLabelId:s,itemAriaProps:{"aria-describedby":m||void 0,"aria-label":n,"aria-labelledby":l??(n?void 0:s)}}}var D$=u(T(),1);var j$=u(F(),1),eN="data-wp-hash";function tN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&F1e(document)),e.__wpStyleRuntime}function C1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${eN}]`))if(c.getAttribute(eN)===t)return!0;return!1}function _$(e,t,c){if(!e.head)return;let n=tN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(C1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(eN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function F1e(e){let t=tN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function J1e(e,t){let c=tN();c.styles.set(e,t);for(let n of c.documents.keys())_$(n,e,t)}typeof process>"u",J1e("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Y1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},M$=Symbol(),ih=(0,D$.forwardRef)(function(t,c){let{className:n,id:l,validationToken:o,...d}=t;return(0,j$.jsx)(Xp,{ref:c,variant:"body-sm",...d,id:l,className:w(Y1e["item-description"],n)})});var P$=u(T(),1);var q$=u(F(),1),cN="data-wp-hash";function nN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&S1e(document)),e.__wpStyleRuntime}function N1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${cN}]`))if(c.getAttribute(cN)===t)return!0;return!1}function K$(e,t,c){if(!e.head)return;let n=nN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(N1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(cN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function S1e(e){let t=nN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)K$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function w1e(e,t){let c=nN();c.styles.set(e,t);for(let n of c.documents.keys())K$(n,e,t)}typeof process>"u",w1e("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var k1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},rh=(0,P$.forwardRef)(function({children:t,className:c,id:n,...l},o){let d=T$();return(0,q$.jsxs)(Xp,{ref:o,variant:"body-md",...l,id:n??d?.labelId,className:w(k1e["item-label"],c),children:[t,d?.labelTrailing]})});var Tn=u(F(),1),lN="data-wp-hash";function oN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&T1e(document)),e.__wpStyleRuntime}function z1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${lN}]`))if(c.getAttribute(lN)===t)return!0;return!1}function $$(e,t,c){if(!e.head)return;let n=oN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(z1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(lN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function T1e(e){let t=oN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)$$(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dN(e,t){let c=oN();c.styles.set(e,t);for(let n of c.documents.keys())$$(n,e,t)}typeof process>"u",dN("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 A1e={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",dN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var O1e={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",dN("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Lb={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Q1e={Label:rh,Description:ih,validationMessage:"Menu.ItemLabel must be the first direct child of every menu item, followed only by Menu.ItemDescription components.",descriptionValidationToken:M$};function xr(e,{"aria-describedby":t,"aria-keyshortcuts":c,"aria-label":n,"aria-labelledby":l,labelTrailing:o,shortcut:d}){let{contentChildren:i,resolvedLabelId:r,itemAriaProps:a}=$Y(e,Q1e,{"aria-describedby":t,"aria-label":n,"aria-labelledby":l}),{descriptionId:s,targetProps:b}=Q$({"aria-describedby":a["aria-describedby"],"aria-keyshortcuts":c,shortcut:d});return{contentChildren:i,contentContextValue:{labelId:r,labelTrailing:o},itemAriaProps:{...b,"aria-label":a["aria-label"],"aria-labelledby":a["aria-labelledby"]},shortcutDescriptionId:s}}function pr({children:e,prefix:t,shortcut:c,shortcutDescriptionId:n,suffix:l,trailing:o}){let d=iX.Children.toArray(t).some(a=>a!==""),i=iX.Children.toArray(l).some(a=>a!==""),r=iX.Children.toArray(o).some(a=>a!=="");return(0,Tn.jsxs)(Tn.Fragment,{children:[(0,Tn.jsxs)("span",{className:Lb["item-content"],children:[(0,Tn.jsx)("span",{className:Lb["item-children"],children:e}),i&&(0,Tn.jsx)("span",{className:Lb["item-suffix"],children:l}),c&&(0,Tn.jsx)("span",{className:Lb["item-shortcut"],children:(0,Tn.jsx)(E$,{shortcut:c})}),r&&(0,Tn.jsx)("span",{className:Lb["item-trailing"],children:o})]}),d&&(0,Tn.jsx)("span",{"aria-hidden":"true",className:Lb["item-prefix"],children:t}),c&&n&&(0,Tn.jsx)(U$,{descriptionId:n,shortcut:c})]})}var eee=(0,iX.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Tn.jsx)(Ht.Item,{ref:b,...G,className:w(A1e.div,O1e["box-sizing"],Lb.item,c),...s,children:(0,Tn.jsx)(id.Provider,{value:X,children:(0,Tn.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})})});var Db=u(F(),1),rN="data-wp-hash";function aN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&E1e(document)),e.__wpStyleRuntime}function U1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${rN}]`))if(c.getAttribute(rN)===t)return!0;return!1}function cee(e,t,c){if(!e.head)return;let n=aN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(U1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(rN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function E1e(e){let t=aN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)cee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function sN(e,t){let c=aN();c.styles.set(e,t);for(let n of c.documents.keys())cee(n,e,t)}typeof process>"u",sN("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 L1e={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",sN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var D1e={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",sN("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var iN={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},nee=(0,tee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Db.jsxs)(Ht.CheckboxItem,{ref:b,...G,className:w(L1e.div,D1e["box-sizing"],iN.item,c),...s,children:[(0,Db.jsx)(Ht.CheckboxItemIndicator,{keepMounted:!0,className:iN["item-selection-indicator"],children:(0,Db.jsx)(dd,{icon:qc,size:24,className:iN["checkbox-selection-icon"],"aria-hidden":"true"})}),(0,Db.jsx)(id.Provider,{value:X,children:(0,Db.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})]})});var lee=u(T(),1),dee=u(F(),1),bN="data-wp-hash";function uN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&j1e(document)),e.__wpStyleRuntime}function _1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${bN}]`))if(c.getAttribute(bN)===t)return!0;return!1}function oee(e,t,c){if(!e.head)return;let n=uN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(_1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(bN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function j1e(e){let t=uN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)oee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function M1e(e,t){let c=uN();c.styles.set(e,t);for(let n of c.documents.keys())oee(n,e,t)}typeof process>"u",M1e("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var P1e={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},iee=(0,lee.forwardRef)(function({className:t,...c},n){return(0,dee.jsx)(Ht.Group,{ref:n,className:w(P1e.group,t),...c})});var ree=u(T(),1),see=u(F(),1),mN="data-wp-hash";function XN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&q1e(document)),e.__wpStyleRuntime}function K1e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${mN}]`))if(c.getAttribute(mN)===t)return!0;return!1}function aee(e,t,c){if(!e.head)return;let n=XN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(K1e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(mN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function q1e(e){let t=XN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)aee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function $1e(e,t){let c=XN();c.styles.set(e,t);for(let n of c.documents.keys())aee(n,e,t)}typeof process>"u",$1e("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var eBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},bee=(0,ree.forwardRef)(function({className:t,...c},n){return(0,see.jsx)(Ht.GroupLabel,{ref:n,className:w(eBe["group-label"],t),...c})});var mee=u(T(),1),Xee=u(Ze(),1);var pp=u(F(),1),GN="data-wp-hash";function gN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&cBe(document)),e.__wpStyleRuntime}function tBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${GN}]`))if(c.getAttribute(GN)===t)return!0;return!1}function Gee(e,t,c){if(!e.head)return;let n=gN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(tBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(GN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function cBe(e){let t=gN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Gee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xN(e,t){let c=gN();c.styles.set(e,t);for(let n of c.documents.keys())Gee(n,e,t)}typeof process>"u",xN("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 nBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",xN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var lBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",xN("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var uee={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},gee=(0,mee.forwardRef)(function({children:t,className:c,openInNewTab:n=!1,target:l,prefix:o,shortcut:d,suffix:i,"aria-describedby":r,"aria-keyshortcuts":a,"aria-label":s,"aria-labelledby":b,rel:m,...X},G){let x=n||/^_blank$/i.test(l??"")?(0,pp.jsx)("span",{className:uee["external-link-indicator"],role:"img","aria-label":(0,Xee.__)("(opens in a new tab)")}):null,{contentChildren:H,contentContextValue:p,itemAriaProps:R,shortcutDescriptionId:I}=xr(t,{"aria-describedby":r,"aria-keyshortcuts":a,"aria-label":s,"aria-labelledby":b,labelTrailing:x,shortcut:d});return(0,pp.jsx)(Ht.LinkItem,{ref:G,...X,...R,rel:m,target:l??(n?"_blank":void 0),className:w(nBe.a,lBe["box-sizing"],uee.item,c),children:(0,pp.jsx)(id.Provider,{value:p,children:(0,pp.jsx)(pr,{prefix:o,shortcut:d,shortcutDescriptionId:I,suffix:i,children:H})})})});var yee=u(T(),1);var xee=u(T(),1);var pee=u(F(),1),ah=(0,xee.forwardRef)(function({container:t,...c},n){return(0,pee.jsx)(Ht.Portal,{ref:n,container:t??Gp(),...c})});var Hee=u(T(),1);var Ree={align:"start",sideOffset:8,collisionPadding:12};var fee=u(F(),1),pN="data-wp-hash";function RN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dBe(document)),e.__wpStyleRuntime}function oBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pN}]`))if(c.getAttribute(pN)===t)return!0;return!1}function Iee(e,t,c){if(!e.head)return;let n=RN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dBe(e){let t=RN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Iee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function Zee(e,t){let c=RN();c.styles.set(e,t);for(let n of c.documents.keys())Iee(n,e,t)}typeof process>"u",Zee("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var iBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",Zee("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var rBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},aBe={side:"inline-end",align:"start",sideOffset:-4,collisionPadding:12},sh=(0,Hee.forwardRef)(function({className:t,...c},n){let{isSubmenu:l}=lh(),o=l?aBe:Ree;return(0,fee.jsx)(Ht.Positioner,{...o,...c,ref:n,className:w(iBe["box-sizing"],rBe.positioner,t)})});var Rp=u(F(),1),HN="data-wp-hash";function IN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&bBe(document)),e.__wpStyleRuntime}function sBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${HN}]`))if(c.getAttribute(HN)===t)return!0;return!1}function Wee(e,t,c){if(!e.head)return;let n=IN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(sBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(HN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function bBe(e){let t=IN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Wee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function uBe(e,t){let c=IN();c.styles.set(e,t);for(let n of c.documents.keys())Wee(n,e,t)}typeof process>"u",uBe("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var bh={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},hee=(0,yee.forwardRef)(function({children:t,className:c,portal:n,positioner:l,...o},d){let{isSubmenu:i}=lh(),r=(0,Rp.jsx)(Ht.Popup,{ref:d,className:w(bh.popup,i?bh["is-submenu"]:bh["is-root"],c),...o,children:(0,Rp.jsx)("div",{className:bh.list,children:t})}),a=MY(l,(0,Rp.jsx)(sh,{}),r);return MY(n,(0,Rp.jsx)(ah,{}),a)});var Bee=u(T(),1);var Vee=u(F(),1),ZN="data-wp-hash";function fN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&XBe(document)),e.__wpStyleRuntime}function mBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ZN}]`))if(c.getAttribute(ZN)===t)return!0;return!1}function vee(e,t,c){if(!e.head)return;let n=fN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(mBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ZN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function XBe(e){let t=fN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)vee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function GBe(e,t){let c=fN();c.styles.set(e,t);for(let n of c.documents.keys())vee(n,e,t)}typeof process>"u",GBe("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var gBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},yN=(0,Bee.forwardRef)(function({className:t,size:c=24,style:n,...l},o){return(0,Vee.jsx)(dd,{...l,ref:o,size:c,className:w(gBe["prefix-icon"],t),style:{...n,"--_wp-ui-menu-prefix-icon-size":`${c}px`}})});yN.displayName="Menu.PrefixIcon";var Cee=u(T(),1),Jee=u(F(),1),WN="data-wp-hash";function hN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&pBe(document)),e.__wpStyleRuntime}function xBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${WN}]`))if(c.getAttribute(WN)===t)return!0;return!1}function Fee(e,t,c){if(!e.head)return;let n=hN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(xBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(WN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function pBe(e){let t=hN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Fee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function RBe(e,t){let c=hN();c.styles.set(e,t);for(let n of c.documents.keys())Fee(n,e,t)}typeof process>"u",RBe("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var HBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Yee=(0,Cee.forwardRef)(function({className:t,...c},n){return(0,Jee.jsx)(Ht.RadioGroup,{ref:n,className:w(HBe["radio-group"],t),...c})});var Nee=u(T(),1),uh=u(rt(),1);var Rr=u(F(),1),vN="data-wp-hash";function VN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&ZBe(document)),e.__wpStyleRuntime}function IBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${vN}]`))if(c.getAttribute(vN)===t)return!0;return!1}function See(e,t,c){if(!e.head)return;let n=VN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(IBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(vN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function ZBe(e){let t=VN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)See(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function CN(e,t){let c=VN();c.styles.set(e,t);for(let n of c.documents.keys())See(n,e,t)}typeof process>"u",CN("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 fBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",CN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var yBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",CN("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var BN={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},WBe=(0,Rr.jsx)(uh.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Rr.jsx)(uh.Circle,{cx:12,cy:12,r:3})}),wee=(0,Nee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Rr.jsxs)(Ht.RadioItem,{ref:b,...G,className:w(fBe.div,yBe["box-sizing"],BN.item,c),...s,children:[(0,Rr.jsx)(Ht.RadioItemIndicator,{keepMounted:!0,className:BN["item-selection-indicator"],children:(0,Rr.jsx)(dd,{icon:WBe,className:BN["radio-selection-icon"],"aria-hidden":"true"})}),(0,Rr.jsx)(id.Provider,{value:X,children:(0,Rr.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,children:m})})]})});var Hr=u(T(),1);function hBe(e){try{return e.contentDocument}catch{return null}}function kee(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return;let c=e;c.tagName==="IFRAME"&&t(c),c.querySelectorAll("iframe").forEach(t)}function BBe(e,t){let c=e.target,n=c?.nodeType===Node.ELEMENT_NODE?c:c?.parentElement,l=t.getAttribute("aria-controls");if(!n||!l)return!1;let o=n.ownerDocument.getElementById(l);if(!o)return!1;let d=o.getAttribute("data-rootownerid");return d?n.closest("[data-rootownerid]")?.getAttribute("data-rootownerid")===d:o.contains(n)}function vBe({enabled:e,onPointerDown:t,ownerDocument:c}){(0,Hr.useEffect)(()=>{if(!e||!c)return;let n=(l,o)=>{o&&l.addEventListener("pointerdown",t,!0);let d=new Map,i=b=>{if(d.has(b))return;let m=null,X,G=()=>{let g=hBe(b);g!==m&&(X?.(),m=g,X=m?n(m,!0):void 0)};b.addEventListener("load",G),G(),d.set(b,()=>{b.removeEventListener("load",G),X?.()})},r=b=>{d.get(b)?.(),d.delete(b)};l.querySelectorAll("iframe").forEach(i);let a=l.defaultView?.MutationObserver,s=a?new a(b=>{b.forEach(m=>{m.removedNodes.forEach(X=>kee(X,r)),m.addedNodes.forEach(X=>kee(X,i))})}):null;return s?.observe(l.documentElement,{childList:!0,subtree:!0}),()=>{s?.disconnect(),d.forEach(b=>b()),o&&l.removeEventListener("pointerdown",t,!0)}};return n(c,!1)},[e,t,c])}function zee({actionsRef:e,defaultOpen:t,disabled:c,modal:n,onOpenChange:l,open:o}){let d=(0,Hr.useRef)(null),i=e??d,[r,a]=(0,Hr.useState)(t??!1),[s,b]=(0,Hr.useState)(null),m=o??r,X=(0,Hr.useCallback)(g=>{s&&!BBe(g,s)&&i.current?.close()},[i,s]);return vBe({enabled:m&&n===!1&&!c&&s!==null,onPointerDown:X,ownerDocument:s?.ownerDocument??null}),{actionsRef:i,onOpenChange:(g,x)=>{l(g,x),!x.isCanceled&&(a(g),b(g?x.trigger??null:null))}}}var mh=u(F(),1);function Tee(e){let{onOpenChange:t}=e,c=(l,o)=>{let d=o.trigger,i=d?.ownerDocument.defaultView?.HTMLElement,r=d?.ownerDocument.defaultView?.Element,a=d?.ownerDocument.activeElement,s=o.event.target,b=r&&s instanceof r?s.closest('[role="menu"]'):null;t?.(l,o),!l&&o.reason==="item-press"&&!o.isCanceled&&i&&d instanceof i&&b?.contains(a??null)&&d.ownerDocument.activeElement===a&&d.focus()},n=zee({actionsRef:e.actionsRef,defaultOpen:e.defaultOpen,disabled:e.disabled,modal:e.modal,onOpenChange:c,open:e.open});return(0,mh.jsx)(S$,{children:(0,mh.jsx)(gp.Provider,{value:{isSubmenu:!1},children:(0,mh.jsx)(Ht.Root,{...e,...n})})})}var Aee=u(T(),1),Qee=u(F(),1),FN="data-wp-hash";function JN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&CBe(document)),e.__wpStyleRuntime}function VBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${FN}]`))if(c.getAttribute(FN)===t)return!0;return!1}function Oee(e,t,c){if(!e.head)return;let n=JN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(VBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(FN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function CBe(e){let t=JN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Oee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function FBe(e,t){let c=JN();c.styles.set(e,t);for(let n of c.documents.keys())Oee(n,e,t)}typeof process>"u",FBe("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var JBe={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},Uee=(0,Aee.forwardRef)(function({className:t,...c},n){return(0,Qee.jsx)(Ht.Separator,{ref:n,className:w(JBe.separator,t),...c})});var YN=u(F(),1);function Eee(e){return(0,YN.jsx)(gp.Provider,{value:{isSubmenu:!0},children:(0,YN.jsx)(Ht.SubmenuRoot,{...e})})}var Dee=u(T(),1);var Hp=u(F(),1),NN="data-wp-hash";function SN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&NBe(document)),e.__wpStyleRuntime}function YBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${NN}]`))if(c.getAttribute(NN)===t)return!0;return!1}function _ee(e,t,c){if(!e.head)return;let n=SN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(YBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(NN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function NBe(e){let t=SN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)_ee(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function wN(e,t){let c=SN();c.styles.set(e,t);for(let n of c.documents.keys())_ee(n,e,t)}typeof process>"u",wN("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 SBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",wN("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var wBe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",wN("3be1f8dffe",'@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 components{.d61e2d85c0ee0699__positioner{z-index:var(--wp-ui-menu-z-index,initial)}._34e81249f419a5a5__popup{--wp-ui-menu-popup-padding:var(--wpds-dimension-padding-xs,4px);--wp-ui-menu-min-width:160px;--wp-ui-menu-max-width:var(--wpds-dimension-surface-width-md,400px);--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-group-head-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-menu-selection-indicator-track-size:0px;--wp-ui-menu-selection-indicator-size:var(--wpds-dimension-size-sm,24px);--wp-ui-menu-selection-indicator-gap:0px;--_wp-ui-menu-elevation-md:0px 2px 3px 0px #0000000d,0px 4px 5px 0px #0000000a,0px 12px 12px 0px #00000008,0px 16px 16px 0px #00000005;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-menu-elevation-md);max-height:min(var(--available-height),480px,60dvh);max-width:min(var(--available-width),var(--wp-ui-menu-max-width));min-width:min(var(--available-width),var(--wp-ui-menu-min-width));outline:none;overflow-block:auto;overscroll-behavior:none;padding:var(--wp-ui-menu-popup-padding);scroll-padding:var(--wp-ui-menu-popup-padding);&:has(._42313b48c5459be3__item-selection-indicator){--wp-ui-menu-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-menu-selection-indicator-track-size:var(--wpds-dimension-size-2xs,16px);--wp-ui-menu-selection-indicator-gap:var(--wpds-dimension-gap-sm,8px)}}._33f07ab17005471d__list{--_wp-ui-menu-item-label-line-height:var(--wpds-typography-line-height-sm,20px);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);line-height:var(--_wp-ui-menu-item-label-line-height)}._33f07ab17005471d__list,.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{--wp-ui-menu-group-prefix-gap:0px;display:grid;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];min-width:0}.e05914e1005d7c2e__radio-group,.f11085533c0056b0__group{grid-column:1/-1}._33f07ab17005471d__list:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.e05914e1005d7c2e__radio-group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix),.f11085533c0056b0__group:has(>._5c913bce0d8bb0d6__item>._64924ecabf65a5d6__item-prefix){--wp-ui-menu-group-prefix-gap:var(--wpds-dimension-gap-xs,4px)}._4a0fd085d76fd23c__group-label{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-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);grid-column:1/-1;line-height:var(--wpds-typography-line-height-xs,16px);min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wp-ui-menu-group-head-padding-inline);text-transform:uppercase}.bfc11368eadf3b39__separator{background-color:var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);grid-column:1/-1;height:var(--wpds-border-width-xs,1px);margin-block:var(--wpds-dimension-gap-xs,4px);margin-inline:var(--wp-ui-menu-group-head-padding-inline);@media (forced-colors:active){background-color:CanvasText}}._5c913bce0d8bb0d6__item{--wp-ui-menu-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-menu-item-padding-block:var(--wpds-dimension-padding-xs,4px);--_gcd-a-border-radius:var(--wpds-border-radius-sm,2px);align-content:center;align-items:start;border-radius:var(--wpds-border-radius-sm,2px);display:grid;gap:0;grid-column:1/-1;grid-template-columns:[item-padding-start] var(--wp-ui-menu-item-padding-inline) [selection-start] var(--wp-ui-menu-selection-indicator-track-size) [selection-end] var(--wp-ui-menu-selection-indicator-gap) [prefix-start] max-content [prefix-end] var(--wp-ui-menu-group-prefix-gap) [content-start] minmax(0,1fr) [content-end] var(--wp-ui-menu-item-padding-inline) [item-padding-end];justify-content:stretch;min-height:var(--wp-ui-menu-item-height);min-width:0;padding-block:var(--wp-ui-menu-item-padding-block);scroll-margin:var(--wp-ui-menu-popup-padding);text-decoration:none;user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&[href]{cursor:pointer}@supports (grid-template-columns:subgrid){grid-template-columns:subgrid}&[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){--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid Highlight;--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) 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}}}._42313b48c5459be3__item-selection-indicator,._64924ecabf65a5d6__item-prefix,.af879698ede76757__item-content{grid-row:1}._42313b48c5459be3__item-selection-indicator{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:selection-start/selection-end;height:var(--_wp-ui-menu-item-label-line-height);justify-content:center;justify-self:center;pointer-events:none;width:var(--wp-ui-menu-selection-indicator-size);&[data-unchecked]{opacity:0}}._99c5bd141cbf516f__checkbox-selection-icon{translate:0 1px}._59aa9b3b3a651148__radio-selection-icon{fill:currentColor;height:var(--wpds-dimension-size-xs,20px);width:var(--wpds-dimension-size-xs,20px)}._64924ecabf65a5d6__item-prefix{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:prefix-start/prefix-end;justify-content:center;min-width:0}.a836378335a4cbf1__prefix-icon{align-self:flex-start;flex-shrink:0;margin-block-start:calc((var(--_wp-ui-menu-item-label-line-height) - var(--_wp-ui-menu-prefix-icon-size))/2)}.af879698ede76757__item-content{align-items:center;align-self:stretch;box-sizing:border-box;display:grid;grid-column:content-start/content-end;grid-template-columns:[label-start] minmax(0,1fr) [label-end suffix-start] auto [suffix-end shortcut-start] auto [shortcut-end trailing-start] auto [trailing-end];min-width:0;pointer-events:none}._943a932d9f81c78c__item-children{display:inline-flex;flex-direction:column;gap:2px;grid-column:label-start/label-end;min-width:0}._5ed41da4abcf8958__item-label{--_gcd-heading-color:currentColor;--_gcd-p-line-height:var(--_wp-ui-menu-item-label-line-height);color:inherit;line-height:var(--_wp-ui-menu-item-label-line-height);min-width:0;overflow-wrap:anywhere}.fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral-weak,#707070);color:var(--wpds-color-foreground-content-neutral-weak,#707070);overflow-wrap:anywhere;padding-block-end:var(--wpds-dimension-padding-xs,4px)}._091406749ed93e6e__item-suffix{align-items:center;display:flex;gap:var(--wpds-dimension-gap-xs,4px);grid-column:suffix-start/suffix-end}._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut{color:var(--wpds-color-foreground-content-neutral-weak,#707070);margin-inline-start:var(--wpds-dimension-gap-md,12px)}._23630f40071a29ff__item-shortcut{grid-column:shortcut-start/shortcut-end}._06be17a91bf434a0__item-trailing{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;grid-column:trailing-start/trailing-end;margin-inline-start:var(--wpds-dimension-gap-md,12px)}._943a932d9f81c78c__item-children+:is(._091406749ed93e6e__item-suffix,._23630f40071a29ff__item-shortcut,._06be17a91bf434a0__item-trailing){margin-inline-start:var(--wpds-dimension-gap-xl,24px)}._23630f40071a29ff__item-shortcut+._06be17a91bf434a0__item-trailing{margin-inline-start:var(--wpds-dimension-gap-xs,4px)}.b78aec79bf93eba0__submenu-chevron{margin-inline-end:calc(var(--wpds-dimension-gap-sm, 8px)*-1)}.b78aec79bf93eba0__submenu-chevron:dir(rtl){transform:rotate(180deg)}._60da3b6f9718cf76__external-link-indicator{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px);text-decoration:none}._60da3b6f9718cf76__external-link-indicator:after{content:"\\2197"}._60da3b6f9718cf76__external-link-indicator:dir(rtl):after{content:"\\2196"}._5c913bce0d8bb0d6__item[aria-disabled=true] ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[aria-disabled=true] ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[aria-disabled=true] ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[aria-disabled=true] ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[aria-disabled=true] ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[aria-disabled=true] .fa88c9f1a96a4c5a__item-description,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._06be17a91bf434a0__item-trailing,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._091406749ed93e6e__item-suffix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._23630f40071a29ff__item-shortcut,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._42313b48c5459be3__item-selection-indicator,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) ._64924ecabf65a5d6__item-prefix,._5c913bce0d8bb0d6__item[data-highlighted]:not([aria-disabled=true]) .fa88c9f1a96a4c5a__item-description{--_gcd-heading-color:currentColor;color:inherit}}}');var Lee={positioner:"d61e2d85c0ee0699__positioner",popup:"_34e81249f419a5a5__popup","item-selection-indicator":"_42313b48c5459be3__item-selection-indicator","is-root":"_087a537b24fee6a1__is-root _380b81b8f79fb10f__dropdown-motion","is-submenu":"_6d3b567f6289bdc2__is-submenu _7f344b94e270e039__dropdown-motion--fade-only",list:"_33f07ab17005471d__list",group:"f11085533c0056b0__group","radio-group":"e05914e1005d7c2e__radio-group",item:"_5c913bce0d8bb0d6__item","item-prefix":"_64924ecabf65a5d6__item-prefix","group-label":"_4a0fd085d76fd23c__group-label",separator:"bfc11368eadf3b39__separator","item-content":"af879698ede76757__item-content","checkbox-selection-icon":"_99c5bd141cbf516f__checkbox-selection-icon","radio-selection-icon":"_59aa9b3b3a651148__radio-selection-icon","prefix-icon":"a836378335a4cbf1__prefix-icon","item-children":"_943a932d9f81c78c__item-children","item-label":"_5ed41da4abcf8958__item-label","item-description":"fa88c9f1a96a4c5a__item-description","item-suffix":"_091406749ed93e6e__item-suffix","item-shortcut":"_23630f40071a29ff__item-shortcut","item-trailing":"_06be17a91bf434a0__item-trailing","submenu-chevron":"b78aec79bf93eba0__submenu-chevron","external-link-indicator":"_60da3b6f9718cf76__external-link-indicator"},jee=(0,Dee.forwardRef)(function({children:t,className:c,prefix:n,shortcut:l,suffix:o,"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,...s},b){let{contentChildren:m,contentContextValue:X,itemAriaProps:G,shortcutDescriptionId:g}=xr(t,{"aria-describedby":d,"aria-keyshortcuts":i,"aria-label":r,"aria-labelledby":a,shortcut:l});return(0,Hp.jsx)(Ht.SubmenuTrigger,{ref:b,...G,className:w(SBe.div,wBe["box-sizing"],Lee.item,c),...s,children:(0,Hp.jsx)(id.Provider,{value:X,children:(0,Hp.jsx)(pr,{prefix:n,shortcut:l,shortcutDescriptionId:g,suffix:o,trailing:(0,Hp.jsx)(dd,{className:Lee["submenu-chevron"],icon:Qg,size:24,"aria-hidden":"true"}),children:m})})})});var Mee=u(T(),1),Pee=u(F(),1),Kee=(0,Mee.forwardRef)(function(t,c){return(0,Pee.jsx)(Ht.Trigger,{ref:c,...t})});var kBe=Math.pow(10,8)*24*60*60*1e3,hYt=-kBe;var zBe=3600;var qee=zBe*24,BYt=qee*7,TBe=qee*365.2425,ABe=TBe/12,vYt=ABe*3,kN=Symbol.for("constructDateFrom");function sc(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kN in e?e[kN](t):e instanceof Date?new e.constructor(t):new Date(t)}function Zt(e,t){return sc(t||e,e)}function $a(e,t,c){let n=Zt(e,c?.in);return isNaN(t)?sc(c?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function rd(e,t,c){let n=Zt(e,c?.in);if(isNaN(t))return sc(c?.in||e,NaN);if(!t)return n;let l=n.getDate(),o=sc(c?.in||e,n.getTime());o.setMonth(n.getMonth()+t+1,0);let d=o.getDate();return l>=d?o:(n.setFullYear(o.getFullYear(),o.getMonth(),l),n)}var OBe={};function Xh(){return OBe}function _b(e,t){let c=Xh(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,l=Zt(e,t?.in),o=l.getDay(),d=(o<n?7:0)+o-n;return l.setDate(l.getDate()-d),l.setHours(0,0,0,0),l}function rX(e,...t){let c=sc.bind(null,e||t.find(n=>typeof n=="object"));return t.map(c)}function Ip(e,t){let c=Zt(e,t?.in);return c.setHours(0,0,0,0),c}function aX(e,t,c){return $a(e,t*7,c)}function Gh(e,t,c){return rd(e,t*12,c)}function zN(e,t,c){let[n,l]=rX(c?.in,e,t);return+Ip(n)==+Ip(l)}function TN(e,t){let c=Zt(e,t?.in),n=c.getMonth();return c.setFullYear(c.getFullYear(),n+1,0),c.setHours(23,59,59,999),c}function sX(e,t){let[c,n]=rX(e,t.start,t.end);return{start:c,end:n}}function Zp(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?+c:+n,d=l?n:c;d.setHours(0,0,0,0);let i=t?.step??1;if(!i)return[];i<0&&(i=-i,l=!l);let r=[];for(;+d<=o;)r.push(sc(c,d)),d.setDate(d.getDate()+i),d.setHours(0,0,0,0);return l?r.reverse():r}function $ee(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?+c:+n,d=l?n:c;d.setHours(0,0,0,0),d.setDate(1);let i=t?.step??1;if(!i)return[];i<0&&(i=-i,l=!l);let r=[];for(;+d<=o;)r.push(sc(c,d)),d.setMonth(d.getMonth()+i);return l?r.reverse():r}function ete(e,t){let{start:c,end:n}=sX(t?.in,e),l=+c>+n,o=l?_b(n,t):_b(c,t),d=l?_b(c,t):_b(n,t);o.setHours(15),d.setHours(15);let i=+d.getTime(),r=o,a=t?.step??1;if(!a)return[];a<0&&(a=-a,l=!l);let s=[];for(;+r<=i;)r.setHours(0),s.push(sc(c,r)),r=aX(r,a),r.setHours(15);return l?s.reverse():s}function AN(e,t){let c=Zt(e,t?.in);return c.setDate(1),c.setHours(0,0,0,0),c}function tte(e,t){let c=Xh(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,l=Zt(e,t?.in),o=l.getDay(),d=(o<n?-7:0)+6-(o-n);return l.setDate(l.getDate()+d),l.setHours(23,59,59,999),l}function cte(e,t){let c=Zt(e,t?.in),n=c.getFullYear(),l=c.getMonth(),o=sc(c,0);return o.setFullYear(n,l+1,0),o.setHours(0,0,0,0),o.getDate()}function nte(e,t){return+Zt(e)>+Zt(t)}function lte(e,t){return+Zt(e)<+Zt(t)}function jb(e,t){return+Zt(e)==+Zt(t)}function ON(e,t){let c=Zt(e,t?.in);return c.setSeconds(0,0),c}function QN(e,t,c){let[n,l]=rX(c?.in,e,t);return n.getFullYear()===l.getFullYear()&&n.getMonth()===l.getMonth()}function ote(e,t,c){return $a(e,-t,c)}function gh(e,t,c){let n=Zt(e,c?.in),l=n.getFullYear(),o=n.getDate(),d=sc(c?.in||e,0);d.setFullYear(l,t,15),d.setHours(0,0,0,0);let i=cte(d);return n.setMonth(t,Math.min(o,i)),n}function dte(e,t,c){let n=Zt(e,c?.in);return isNaN(+n)?sc(c?.in||e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=gh(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function ite(e,t,c){let n=Zt(e,c?.in);return isNaN(+n)?sc(c?.in||e,NaN):(n.setFullYear(t),n)}function rte(e){return Ip(Date.now(),e)}function bX(e,t,c){return rd(e,-t,c)}function ate(e,t,c){return aX(e,-t,c)}function ste(e,t,c){return Gh(e,-t,c)}var bte=u(T(),1),UN="data-wp-hash";function EN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&UBe(document)),e.__wpStyleRuntime}function QBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${UN}]`))if(c.getAttribute(UN)===t)return!0;return!1}function ute(e,t,c){if(!e.head)return;let n=EN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(QBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(UN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function UBe(e){let t=EN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)ute(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function EBe(e,t){let c=EN();c.styles.set(e,t);for(let n of c.documents.keys())ute(n,e,t)}typeof process>"u",EBe("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var LBe={stack:"_19ce0419607e1896__stack"},DBe={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)"},fp=(0,bte.forwardRef)(function({direction:t,gap:c,align:n,justify:l,wrap:o,render:d,...i},r){let a={gap:c&&DBe[c],alignItems:n,justifyContent:l,flexDirection:t,flexWrap:o};return qa({render:d,ref:r,props:rc(i,{style:a,className:LBe.stack})})});var KN=u(Ze(),1),Ec=u(T(),1);var mte=u(T(),1),yp=u(F(),1),DN="data-wp-hash";function _N(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&jBe(document)),e.__wpStyleRuntime}function _Be(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${DN}]`))if(c.getAttribute(DN)===t)return!0;return!1}function Xte(e,t,c){if(!e.head)return;let n=_N(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(_Be(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(DN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function jBe(e){let t=_N();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Xte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function MBe(e,t){let c=_N();c.styles.set(e,t);for(let n of c.documents.keys())Xte(n,e,t)}typeof process>"u",MBe("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 LN={spinner:"ab4d64c07c0ba587__spinner",track:"dc51f80c84b35fe2__track",indicator:"a7654e10245bb7d2__indicator","spinner-spin":"_02322d973909703c__spinner-spin"},jN=(0,mte.forwardRef)(function({className:t,...c},n){return(0,yp.jsxs)("svg",{className:w(LN.spinner,t),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...c,ref:n,children:[(0,yp.jsx)("circle",{className:LN.track,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,yp.jsx)("path",{className:LN.indicator,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})});var Wp=u(F(),1),MN="data-wp-hash";function PN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&KBe(document)),e.__wpStyleRuntime}function PBe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${MN}]`))if(c.getAttribute(MN)===t)return!0;return!1}function Gte(e,t,c){if(!e.head)return;let n=PN(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(PBe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(MN,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function KBe(e){let t=PN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Gte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function gte(e,t){let c=PN();c.styles.set(e,t);for(let n of c.documents.keys())Gte(n,e,t)}typeof process>"u",gte("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 qBe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"};typeof process>"u",gte("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 xh={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"},$Be={valid:$g,invalid:Dg};function ph({id:e,type:t,message:c}){return(0,Wp.jsxs)("p",{id:e,className:w(qBe.p,xh.indicator,xh[`is-${t}`]),children:[t==="validating"?(0,Wp.jsx)(jN,{className:xh["indicator-spinner"]}):(0,Wp.jsx)(dd,{className:xh["indicator-icon"],icon:$Be[t],size:16,fill:"currentColor"}),c]})}var mi=u(F(),1),eve=e=>(0,mi.jsx)(fp,{...e,direction:"column",gap:"sm"});function tve(e,t,c){let n;return t&&!c?n=`(${(0,KN.__)("Required")})`:!t&&c&&(n=`(${(0,KN.__)("Optional")})`),n?typeof e=="string"?`${e} ${n}`:(0,mi.jsxs)(mi.Fragment,{children:[e," ",n]}):e}var xte="data-validity-visible",es=(0,Ec.forwardRef)(function({required:t,markWhenOptional:c,customValidity:n,getValidityTarget:l,children:o,render:d=eve,...i},r){let[a,s]=(0,Ec.useState)(),[b,m]=(0,Ec.useState)(),[X,G]=(0,Ec.useState)(!1),[g,x]=(0,Ec.useState)(!1),H=(0,Ec.useRef)(null);(0,Ec.useEffect)(()=>{let y=l(),Z=()=>{n?.type!=="validating"&&s(y?.validationMessage),G(!0),y?.setAttribute(xte,"")};return y?.addEventListener("invalid",Z),()=>y?.removeEventListener("invalid",Z)},[n?.type,l]),(0,Ec.useEffect)(()=>{let y=l(),Z=v=>{if(v.preventDefault(),!v.isTrusted)return;let h=v.target,C=Array.from(h.form?.elements??[]).find(B=>!B.validity.valid);(!h.form||C===h)&&h.focus()},W=y?.type==="radio"&&y?.name?Array.from(H.current?.querySelectorAll(`input[type="radio"][name="${y?.name}"]`)??[]).filter(v=>v!==y):[];return y?.addEventListener("invalid",Z),W.forEach(v=>v.addEventListener("invalid",Z)),()=>{y?.removeEventListener("invalid",Z),W.forEach(v=>v.removeEventListener("invalid",Z))}},[l]),(0,Ec.useEffect)(()=>{let y=l();if(!n?.type){y?.setCustomValidity(""),s(y?.validationMessage),m(void 0);return}switch(n.type){case"validating":{y?.setCustomValidity(""),s(void 0),m({type:"validating",message:n.message});break}case"valid":{y?.setCustomValidity(""),s(y?.validationMessage),m({type:"valid",message:n.message});break}case"invalid":{y?.setCustomValidity(n.message??""),s(y?.validationMessage),m(void 0);break}}},[n,l]),(0,Ec.useEffect)(()=>{if(!(!g||X)){if(n?.type==="validating"){let y=setTimeout(()=>{G(!0)},1e3);return()=>clearTimeout(y)}G(!0)}},[g,n?.type,X]);let p=y=>{if(y.relatedTarget&&y.currentTarget.contains(y.relatedTarget))return;g||(x(!0),l()?.setAttribute(xte,""));let Z=l(),W=n?.type==="validating";window.queueMicrotask(()=>{W||s(Z?.validationMessage)})},R=(0,Ec.useId)(),I=a?(0,mi.jsx)(ph,{id:R,type:"invalid",message:a}):b?.type?(0,mi.jsx)(ph,{id:R,type:b.type,message:b.message}):null,f=X?I:null;return(0,Ec.useEffect)(()=>{let y=l();if(!y)return;function Z(W,v){let h=(W.getAttribute("aria-describedby")??"").split(" ").filter(C=>C&&C!==R);v&&h.push(R),h.length?W.setAttribute("aria-describedby",h.join(" ")):W.removeAttribute("aria-describedby")}return Z(y,!!f),()=>Z(y,!1)},[f,R,l]),qa({render:d,ref:[r,H],props:rc(i,{onBlur:p,children:(0,mi.jsxs)(mi.Fragment,{children:[(0,Ec.cloneElement)(o,{label:tve(o.props.label,t,c),required:t}),f]})})})});function qN(){if(typeof window>"u")return;let e=window;e.__wpUiCompatOverlaySlotEnabled!==!0&&(e.__wpUiCompatOverlaySlotEnabled=!0)}var Ih=u(T(),1);var Rh=u(T(),1),Hh=(0,Rh.createContext)({isList:!1,size:"medium"});Hh.displayName="ItemGroupContext";var uX=()=>(0,Rh.useContext)(Hh);var $N="data-wp-hash";function e3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&nve(document)),e.__wpStyleRuntime}function cve(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${$N}]`))if(c.getAttribute($N)===t)return!0;return!1}function Rte(e,t,c){if(!e.head)return;let n=e3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(cve(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute($N,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function nve(e){let t=e3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function lve(e,t){let c=e3();c.styles.set(e,t);for(let n of c.documents.keys())Rte(n,e,t)}typeof process>"u",lve("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 ts={"item-group":"_68553e70f1f1cb4e__item-group","is-bordered":"_55756ee749a180e1__is-bordered","is-separated":"_4e8285db01e0c630__is-separated","is-rounded":"_58738db58e87759e__is-rounded","item-wrapper":"_4f562a88cd53281b__item-wrapper",item:"fc4c000709063bb0__item","is-unstyled-button":"d204dc5a680d24cf__is-unstyled-button","is-unstyled-link":"a5802f3508d737a0__is-unstyled-link","is-spaced-around":"_62800b4fe741b26a__is-spaced-around","is-size-small":"ff341e6676e9138f__is-size-small","is-size-medium":"_715af0bb13514a58__is-size-medium","is-size-large":"b141618c0c420070__is-size-large"},pte={small:ts["is-size-small"],medium:ts["is-size-medium"],large:ts["is-size-large"]};function Hte(e){let{isList:t,spacedAround:c,size:n}=uX(),{as:l,className:o,onClick:d,role:i=t?"listitem":void 0,size:r,...a}=ae(e,"Item"),s=r||n,b=l||(typeof d<"u"?"button":"div"),m=w(ts.item,b==="button"&&ts["is-unstyled-button"],b==="a"&&ts["is-unstyled-link"],pte[s]||pte.medium,c&&ts["is-spaced-around"],o),X=ts["item-wrapper"];return{as:b,className:m,onClick:d,wrapperClassName:X,role:i,...a}}var t3=u(F(),1);function ove(e,t){let{role:c,wrapperClassName:n,...l}=Hte(e),o=(0,Ih.useRef)(null),{isList:d}=uX();return(0,Ih.useEffect)(()=>{if(d&&c==="listitem"&&!o.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,c]),(0,t3.jsx)("div",{ref:o,role:c,className:n,children:(0,t3.jsx)(Ce,{...l,ref:t})})}var dve=ie(ove,"Item"),mX=dve;var c3="data-wp-hash";function n3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rve(document)),e.__wpStyleRuntime}function ive(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${c3}]`))if(c.getAttribute(c3)===t)return!0;return!1}function Ite(e,t,c){if(!e.head)return;let n=n3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(ive(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(c3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rve(e){let t=n3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ite(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function ave(e,t){let c=n3();c.styles.set(e,t);for(let n of c.documents.keys())Ite(n,e,t)}typeof process>"u",ave("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 Zh={"item-group":"_68553e70f1f1cb4e__item-group","is-bordered":"_55756ee749a180e1__is-bordered","is-separated":"_4e8285db01e0c630__is-separated","is-rounded":"_58738db58e87759e__is-rounded","item-wrapper":"_4f562a88cd53281b__item-wrapper",item:"fc4c000709063bb0__item","is-unstyled-button":"d204dc5a680d24cf__is-unstyled-button","is-unstyled-link":"a5802f3508d737a0__is-unstyled-link","is-spaced-around":"_62800b4fe741b26a__is-spaced-around","is-size-small":"ff341e6676e9138f__is-size-small","is-size-medium":"_715af0bb13514a58__is-size-medium","is-size-large":"b141618c0c420070__is-size-large"};function Zte(e){let{className:t,isBordered:c=!1,isRounded:n=!0,isSeparated:l=!1,role:o="list",...d}=ae(e,"ItemGroup"),i=w(Zh["item-group"],{[Zh["is-bordered"]]:c,[Zh["is-separated"]]:l,[Zh["is-rounded"]]:n},t);return{isBordered:c,className:i,role:o,isSeparated:l,...d}}var l3=u(F(),1);function sve(e,t){let{isBordered:c,isSeparated:n,size:l,...o}=Zte(e),{size:d}=uX(),i=!c&&!n,r=l||d,a={isList:o.role==="list"||o.role==="directory",spacedAround:i,size:r};return(0,l3.jsx)(Hh.Provider,{value:a,children:(0,l3.jsx)(Ce,{...o,ref:t})})}var bve=ie(sve,"ItemGroup"),XX=bve;var Zr=u(Ze(),1),Lte=u(me(),1),Vh=u(T(),1);var Ute=u(Ze(),1),Ete=u(T(),1);var hh=u(T(),1);var Vte=u(me(),1),Ir=u(T(),1),Mb=u(Ze(),1);var uve=16,mve=16,o3=10,fte=0,yte=5,d3=o3,uSt=(mve+uve)/2;function fh(e){return Math.max(0,Math.min(100,e))}function Xve(e,t,c,n=fte){let l=e[t].position,o=Math.min(l,c),d=Math.max(l,c);return e.some(({position:i},r)=>r!==t&&(Math.abs(i-c)<n||o<i&&i<d))}function Wte(e,t,c){let n=e.findIndex(d=>d.position>t),l={color:c,position:t},o=e.slice();return o.splice(n-1,0,l),o}function hte(e,t){return e.filter((c,n)=>n!==t)}function Bte(e,t,c){let n=e.slice();return n[t]=c,n}function yh(e,t,c){if(Xve(e,t,c))return e;let n={...e[t],position:c};return Bte(e,t,n)}function i3(e,t,c){let n={...e[t],color:c};return Bte(e,t,n)}function vte(e,t,c){let n=e.findIndex(l=>l.position===t);return i3(e,n,c)}function Wh(e,t){if(!t)return;let{x:c,width:n}=t.getBoundingClientRect(),l=e-c;return Math.round(fh(l*100/n))}var Nc=u(F(),1);function Cte({isOpen:e,position:t,color:c,disablePositioning:n,...l}){let d=`components-custom-gradient-picker__control-point-button-description-${(0,Vte.useInstanceId)(Cte)}`;return(0,Nc.jsxs)(Nc.Fragment,{children:[(0,Nc.jsx)(be,{"aria-label":(0,Mb.sprintf)((0,Mb.__)("Gradient control point at position %1$d%% with color code %2$s."),t,c),"aria-describedby":d,"aria-haspopup":"true","aria-expanded":e,__next40pxDefaultSize:!0,className:w("components-custom-gradient-picker__control-point-button",{"is-active":e}),...l}),(0,Nc.jsx)(bt,{id:d,children:n?(0,Mb.__)("Press the button to change the color."):(0,Mb.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")})]})}function Fte({isRenderedInSidebar:e,className:t,...c}){let n=(0,Ir.useMemo)(()=>({placement:"bottom",offset:8,resize:!1}),[]),l=w("components-custom-gradient-picker__control-point-dropdown",t);return(0,Nc.jsx)(HF,{isRenderedInSidebar:e,popoverProps:n,className:l,...c})}function Jte({disableRemove:e,disableAlpha:t,disablePositioning:c,gradientPickerDomRef:n,ignoreMarkerPosition:l,value:o,onChange:d,onStartControlPointChange:i,onStopControlPointChange:r,__experimentalIsRenderedInSidebar:a}){let s=(0,Ir.useRef)(void 0),b=G=>{if(s.current===void 0||n.current===null)return;let g=Wh(G.clientX,n.current),{initialPosition:x,index:H,significantMoveHappened:p}=s.current;!p&&Math.abs(x-g)>=yte&&(s.current.significantMoveHappened=!0),d(yh(o,H,g))},m=()=>{window&&window.removeEventListener&&s.current&&s.current.listenersActivated&&(window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",m),r(),s.current.listenersActivated=!1)},X=(0,Ir.useRef)(void 0);return X.current=m,(0,Ir.useEffect)(()=>()=>{X.current?.()},[]),(0,Nc.jsx)(Nc.Fragment,{children:o.map((G,g)=>{let x=G?.position;return l!==x&&(0,Nc.jsx)(Fte,{isRenderedInSidebar:a,onClose:r,renderToggle:({isOpen:H,onToggle:p})=>(0,Nc.jsx)(Cte,{onClick:()=>{s.current&&s.current.significantMoveHappened||(H?r():i(),p())},onMouseDown:()=>{c||window&&window.addEventListener&&(s.current={initialPosition:x,index:g,significantMoveHappened:!1,listenersActivated:!0},i(),window.addEventListener("mousemove",b),window.addEventListener("mouseup",m))},onKeyDown:R=>{if(c){(R.code==="ArrowLeft"||R.code==="ArrowRight")&&R.stopPropagation();return}R.code==="ArrowLeft"?(R.stopPropagation(),d(yh(o,g,fh(G.position-d3)))):R.code==="ArrowRight"&&(R.stopPropagation(),d(yh(o,g,fh(G.position+d3))))},isOpen:H,position:G.position,color:G.color,disablePositioning:c},g),renderContent:({onClose:H})=>(0,Nc.jsxs)(ir,{paddingSize:"none",children:[(0,Nc.jsx)(ni,{enableAlpha:!t,color:G.color,onChange:p=>{d(i3(o,g,et(p).toRgbString()))}}),!e&&o.length>2&&(0,Nc.jsx)(xt,{className:"components-custom-gradient-picker__remove-control-point-wrapper",alignment:"center",children:(0,Nc.jsx)(be,{onClick:()=>{d(hte(o,g)),H()},variant:"link",children:(0,Mb.__)("Remove Control Point")})})]}),style:{left:`${G.position}%`,transform:"translateX( -50% )"}},g)})})}function Gve({value:e,onChange:t,onOpenInserter:c,onCloseInserter:n,insertPosition:l,disableAlpha:o,__experimentalIsRenderedInSidebar:d}){let[i,r]=(0,Ir.useState)(!1);return(0,Nc.jsx)(Fte,{isRenderedInSidebar:d,className:"components-custom-gradient-picker__inserter",onClose:()=>{n()},renderToggle:({isOpen:a,onToggle:s})=>(0,Nc.jsx)(be,{__next40pxDefaultSize:!0,"aria-expanded":a,"aria-haspopup":"true",onClick:()=>{a?n():(r(!1),c()),s()},className:"components-custom-gradient-picker__insert-point-dropdown",icon:Mi}),renderContent:()=>(0,Nc.jsx)(ir,{paddingSize:"none",children:(0,Nc.jsx)(ni,{enableAlpha:!o,onChange:a=>{i?t(vte(e,l,et(a).toRgbString())):(t(Wte(e,l,et(a).toRgbString())),r(!0))}})}),style:l!==null?{left:`${l}%`,transform:"translateX( -50% )"}:void 0})}Jte.InsertPoint=Gve;var r3=Jte;var Pb=u(F(),1),gve=(e,t)=>{switch(t.type){case"MOVE_INSERTER":if(e.id==="IDLE"||e.id==="MOVING_INSERTER")return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if(e.id==="MOVING_INSERTER")return{id:"IDLE"};break;case"OPEN_INSERTER":if(e.id==="MOVING_INSERTER")return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if(e.id==="INSERTING_CONTROL_POINT")return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if(e.id==="IDLE")return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if(e.id==="MOVING_CONTROL_POINT")return{id:"IDLE"};break}return e},xve={id:"IDLE"};function Bh({background:e,hasGradient:t,value:c,onChange:n,disableInserter:l=!1,disableAlpha:o=!1,disablePositioning:d=!1,__experimentalIsRenderedInSidebar:i=!1}){let r=(0,hh.useRef)(null),[a,s]=(0,hh.useReducer)(gve,xve),b=g=>{if(!r.current)return;let x=Wh(g.clientX,r.current);if(c.some(({position:H})=>Math.abs(x-H)<o3)){a.id==="MOVING_INSERTER"&&s({type:"STOP_INSERTER_MOVE"});return}s({type:"MOVE_INSERTER",insertPosition:x})},m=()=>{s({type:"STOP_INSERTER_MOVE"})},X=a.id==="MOVING_INSERTER",G=a.id==="INSERTING_CONTROL_POINT";return(0,Pb.jsxs)("div",{className:w("components-custom-gradient-picker__gradient-bar",{"has-gradient":t}),onMouseEnter:b,onMouseMove:b,onMouseLeave:m,children:[(0,Pb.jsx)("div",{className:"components-custom-gradient-picker__gradient-bar-background",style:{background:e,opacity:t?1:.4}}),(0,Pb.jsxs)("div",{ref:r,className:"components-custom-gradient-picker__markers-container",children:[!l&&(X||G)&&(0,Pb.jsx)(r3.InsertPoint,{__experimentalIsRenderedInSidebar:i,disableAlpha:o,insertPosition:a.insertPosition,value:c,onChange:n,onOpenInserter:()=>{s({type:"OPEN_INSERTER"})},onCloseInserter:()=>{s({type:"CLOSE_INSERTER"})}}),(0,Pb.jsx)(r3,{__experimentalIsRenderedInSidebar:i,disableAlpha:o,disableRemove:l,disablePositioning:d,gradientPickerDomRef:r,ignoreMarkerPosition:G?a.insertPosition:void 0,value:c,onChange:n,onStartControlPointChange:()=>{s({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{s({type:"STOP_CONTROL_CHANGE"})}})]})]})}var b3=u(Yte(),1);var s3=u(Ze(),1),hp="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",Nte=180,vh={type:"angular",value:"90"},Ste=[{value:"linear-gradient",label:(0,s3.__)("Linear")},{value:"radial-gradient",label:(0,s3.__)("Radial")}],wte={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function pve({type:e,value:t}){if(e==="literal")return t;if(e==="hex")return`#${t}`;if(e==="var")return`var(${t})`;if(e==="hsl"){let[c,n,l]=t;return`hsl(${c},${n}%,${l}%)`}if(e==="hsla"){let[c,n,l,o]=t;return`hsla(${c},${n}%,${l}%,${o})`}return`${e}(${t.join(",")})`}function Rve(e){if(!e)return"";let{value:t,type:c}=e;return c==="calc"?`calc(${t})`:`${t}${c}`}function Hve({type:e,value:t,length:c}){return`${pve({type:e,value:t})} ${Rve(c)}`}function Ive(e){if(!(Array.isArray(e)||!e||e.type!=="angular"))return`${e.value}deg`}function qb({type:e,orientation:t,colorStops:c}){let n=Ive(t),l=c.sort((o,d)=>{let i=r=>r?.length?.value===void 0?0:parseInt(r.length.value);return i(o)-i(d)}).map(Hve);return`${e}(${[n,...l].filter(Boolean).join(",")})`}pl([Rl]);function kte(e){return qb({type:"linear-gradient",orientation:vh,colorStops:e.colorStops})}function Zve(e){return e.length===void 0||e.length.type!=="%"}function zte(e){let t,c=!!e,n=e??hp;try{t=b3.default.parse(n)[0]}catch(l){console.warn("wp.components.CustomGradientPicker failed to parse the gradient with error",l),t=b3.default.parse(hp)[0],c=!1}if(!Array.isArray(t.orientation)&&t.orientation?.type==="directional"&&(t.orientation={type:"angular",value:wte[t.orientation.value].toString()}),t.colorStops.some(Zve)){let{colorStops:l}=t,o=100/(l.length-1);l.forEach((d,i)=>{d.length={value:`${o*i}`,type:"%"}})}return{gradientAST:t,hasGradient:c}}function Tte(e,t){return{...e,colorStops:t.map(({position:c,color:n})=>{let{r:l,g:o,b:d,a:i}=et(n).toRgb();return{length:{type:"%",value:c?.toString()},type:i<1?"rgba":"rgb",value:i<1?[`${l}`,`${o}`,`${d}`,`${i}`]:[`${l}`,`${o}`,`${d}`]}})}}function Ate(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"var":return`${e.type}(${e.value})`;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;case"hsl":{let[t,c,n]=e.value;return`hsl(${t},${c}%,${n}%)`}case"hsla":{let[t,c,n,l]=e.value;return`hsla(${t},${c}%,${n}%,${l})`}default:return"transparent"}}var Ote=q(Pn,{target:"e10bzpgi1"})({name:"1gvx10y",styles:"flex-grow:5"}),Qte=q(Pn,{target:"e10bzpgi0"})({name:"1gvx10y",styles:"flex-grow:5"});var ad=u(F(),1),fve=({gradientAST:e,hasGradient:t,onChange:c})=>{let n=e?.orientation?.value??Nte;return(0,ad.jsx)(Zy,{onChange:o=>{c(qb({...e,orientation:{type:"angular",value:`${o}`}}))},value:t?n:""})},yve=({gradientAST:e,hasGradient:t,onChange:c})=>{let{type:n}=e,l=(0,Ete.useRef)(Number(vh.value));n==="linear-gradient"&&e.orientation&&(l.current=Number(e.orientation.value));let o=()=>{c(qb({...e,orientation:{type:"angular",value:`${l.current}`},type:"linear-gradient"}))},d=()=>{let{orientation:r,...a}=e;c(qb({...a,type:"radial-gradient"}))},i=r=>{r==="linear-gradient"&&o(),r==="radial-gradient"&&d()};return(0,ad.jsx)(ei,{className:"components-custom-gradient-picker__type-picker",label:(0,Ute.__)("Type"),labelPosition:"top",onChange:i,options:Ste,value:t?n:void 0})};function Wve({value:e,onChange:t,enableAlpha:c=!0,__experimentalIsRenderedInSidebar:n=!1}){let{gradientAST:l,hasGradient:o}=zte(e),d=kte(l),i=l.colorStops.map(r=>({color:Ate(r),position:parseInt(r.length.value)}));return(0,ad.jsxs)(Nt,{spacing:4,className:"components-custom-gradient-picker",children:[(0,ad.jsx)(Bh,{__experimentalIsRenderedInSidebar:n,disableAlpha:!c,background:d,hasGradient:o,value:i,onChange:r=>{t(qb(Tte(l,r)))}}),(0,ad.jsxs)(Mt,{gap:3,className:"components-custom-gradient-picker__ui-line",children:[(0,ad.jsx)(Ote,{children:(0,ad.jsx)(yve,{gradientAST:l,hasGradient:o,onChange:t})}),(0,ad.jsx)(Qte,{children:l.type==="linear-gradient"&&(0,ad.jsx)(fve,{gradientAST:l,hasGradient:o,onChange:t})})]})]})}var GX=Wve;var ll=u(F(),1),u3="data-wp-hash";function m3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Bve(document)),e.__wpStyleRuntime}function hve(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${u3}]`))if(c.getAttribute(u3)===t)return!0;return!1}function Dte(e,t,c){if(!e.head)return;let n=m3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(hve(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(u3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function Bve(e){let t=m3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Dte(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function vve(e,t){let c=m3();c.styles.set(e,t);for(let n of c.documents.keys())Dte(n,e,t)}typeof process>"u",vve("a7b05d56c7",".cf6db1948d5273a8__color-heading{text-transform:uppercase}.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading.cf6db1948d5273a8__color-heading{font-size:11px;line-height:24px;margin-bottom:0}");var Vve={"color-heading":"cf6db1948d5273a8__color-heading"},Cve=e=>Array.isArray(e.gradients)&&!("gradient"in e),Fve=e=>e.length>0&&e.every(t=>Cve(t));function _te({className:e,clearGradient:t,gradients:c,onChange:n,value:l,selectedSlug:o,presentation:d,...i}){let r=(0,Vh.useMemo)(()=>c.map(({gradient:a,name:s,slug:b},m)=>{let X=d!=="command-buttons"&&(o?b===o:l===a);return(0,ll.jsx)(tl.Option,{value:a,isSelected:X,tooltipText:s||(0,Zr.sprintf)((0,Zr.__)("Gradient code: %s"),a),style:{color:"rgba( 0,0,0,0 )",background:a},onClick:X?t:()=>n(a,m,b),"aria-label":s?(0,Zr.sprintf)((0,Zr.__)("Gradient: %s"),s):(0,Zr.sprintf)((0,Zr.__)("Gradient code: %s"),a)},b)}),[c,l,n,t,o,d]);return(0,ll.jsx)(tl.OptionGroup,{className:e,options:r,...i})}function jte({className:e,clearGradient:t,gradients:c,onChange:n,value:l,selectedSlug:o,headingLevel:d,presentation:i}){let r=(0,Lte.useInstanceId)(jte);return(0,ll.jsx)(Nt,{spacing:3,className:e,children:c.map(({name:a,gradients:s},b)=>{let m=`color-palette-${r}-${b}`;return(0,ll.jsxs)(Nt,{spacing:2,children:[(0,ll.jsx)(Ol,{className:Vve["color-heading"],level:d,id:m,children:a}),(0,ll.jsx)(_te,{clearGradient:t,gradients:s,onChange:(X,G,g)=>n(X,b,g),value:l,selectedSlug:o,presentation:i,"aria-labelledby":m})]},b)})})}function Jve(e){let{asButtons:t,presentation:c,loop:n,actions:l,headingLevel:o,"aria-label":d,"aria-labelledby":i,...r}=e;dr("GradientPicker",t);let{metaProps:a,labelProps:s,resolvedPresentation:b}=Bb(t,n,d,i,c),m=Fve(e.gradients)?(0,ll.jsx)(jte,{headingLevel:o,...r,presentation:b}):(0,ll.jsx)(_te,{...r,presentation:b});return(0,ll.jsx)(tl,{...a,...s,actions:l,options:m})}function Yve({className:e,gradients:t=[],onChange:c,value:n,clearable:l=!0,enableAlpha:o=!0,disableCustomGradients:d=!1,__experimentalIsRenderedInSidebar:i,headingLevel:r=2,...a}){let s=(0,Vh.useCallback)(()=>c(void 0),[c]);return(0,ll.jsxs)(Nt,{spacing:t.length?4:0,children:[!d&&(0,ll.jsx)(GX,{__experimentalIsRenderedInSidebar:i,enableAlpha:o,value:n,onChange:c}),(t.length>0||l)&&(0,ll.jsx)(Jve,{...a,className:e,clearGradient:s,gradients:t,onChange:c,value:n,actions:l&&!d&&(0,ll.jsx)(tl.ButtonAction,{onClick:s,accessibleWhenDisabled:!0,disabled:!n,children:(0,Zr.__)("Clear")}),headingLevel:r})]})}var Ch=Yve;var cce=u(Gf(),1),nce=u(T(),1),Gi=u(Ze(),1);var Mte=u(T(),1);var Pte=u(Ze(),1),Kte=u(me(),1);var fo=u(F(),1);function qte({label:e,value:t,colors:c,disableCustomColors:n,enableAlpha:l,onChange:o}){let[d,i]=(0,Mte.useState)(!1),r=(0,Kte.useInstanceId)(qte,"color-list-picker-option"),a=`${r}__label`,s=`${r}__content`;return(0,fo.jsxs)(fo.Fragment,{children:[(0,fo.jsx)(be,{__next40pxDefaultSize:!0,className:"components-color-list-picker__swatch-button",id:a,onClick:()=>i(b=>!b),"aria-expanded":d,"aria-controls":s,icon:t?(0,fo.jsx)(qd,{colorValue:t,className:"components-color-list-picker__swatch-color"}):(0,fo.jsx)(Ot,{icon:cx}),text:e}),(0,fo.jsx)("div",{role:"group",id:s,"aria-labelledby":a,"aria-hidden":!d,children:d&&(0,fo.jsx)(Ca,{"aria-label":(0,Pte.__)("Color options"),className:"components-color-list-picker__color-picker",colors:c,value:t,clearable:!1,onChange:o,disableCustomColors:n,enableAlpha:l})})]})}function Nve({colors:e,labels:t,value:c=[],disableCustomColors:n,enableAlpha:l,onChange:o}){return(0,fo.jsx)("div",{className:"components-color-list-picker",children:t.map((d,i)=>(0,fo.jsx)(qte,{label:d,value:c[i],colors:e,disableCustomColors:n,enableAlpha:l,onChange:r=>{let a=c.slice();a[i]=r,o(a)}},i))})}var Fh=Nve;pl([Rl]);function Bp(e){return!e||e.length<2?["#000","#fff"]:e.map(({color:t})=>({color:t,brightness:et(t).brightness()})).reduce(([t,c],n)=>[n.brightness<=t.brightness?n:t,n.brightness>=c.brightness?n:c],[{brightness:1,color:""},{brightness:0,color:""}]).map(({color:t})=>t)}function cs(e=[],t="90deg"){let c=100/e.length,n=e.map((l,o)=>`${l} ${o*c}%, ${l} ${(o+1)*c}%`).join(", ");return`linear-gradient( ${t}, ${n} )`}function $te(e){return e.map((t,c)=>({position:c*100/(e.length-1),color:t}))}function ece(e=[]){return e.map(({color:t})=>t)}var tce=u(F(),1),Sve=["#333","#CCC"];function Jh({value:e,onChange:t}){let c=!!e,n=c?e:Sve,l=cs(n),o=$te(n);return(0,tce.jsx)(Bh,{disableInserter:!0,disablePositioning:!0,background:l,hasGradient:c,value:o,onChange:d=>{let i=ece(d);t(i)}})}var Xi=u(F(),1);function wve({asButtons:e,presentation:t,loop:c,clearable:n=!0,unsetable:l=!0,colorPalette:o,duotonePalette:d,disableCustomColors:i,disableCustomDuotone:r,value:a,selectedSlug:s,onChange:b,"aria-label":m,"aria-labelledby":X,...G}){dr("DuotonePicker",e);let{metaProps:g,labelProps:x,resolvedPresentation:H}=Bb(e,c,m,X,t),[p,R]=(0,nce.useMemo)(()=>Bp(o),[o]),I=a==="unset",f=H!=="command-buttons"&&I,y=(0,Gi.__)("Unset"),Z=(0,Xi.jsx)(tl.Option,{value:"unset",isSelected:f,tooltipText:y,"aria-label":y,className:"components-duotone-picker__color-indicator",onClick:()=>{b(f?void 0:"unset")}},"unset"),W=d.map(({colors:h,slug:C,name:B},V)=>{let S={background:cs(h,"135deg"),color:"transparent"},Y=B??(0,Gi.sprintf)((0,Gi.__)("Duotone code: %s"),C),J=B?(0,Gi.sprintf)((0,Gi.__)("Duotone: %s"),B):Y,k=H!=="command-buttons"&&(s?C===s:(0,cce.default)(h,a));return(0,Xi.jsx)(tl.Option,{value:h,isSelected:k,"aria-label":J,tooltipText:Y,style:S,onClick:k?()=>b(void 0):()=>b(h,V,C)},C)}),v=l?[Z,...W]:W;return(0,Xi.jsx)(tl,{...G,...g,...x,options:v,actions:!!n&&(0,Xi.jsx)(tl.ButtonAction,{onClick:()=>b(void 0),accessibleWhenDisabled:!0,disabled:!a,children:(0,Gi.__)("Clear")}),children:!r&&(0,Xi.jsx)(Pc,{paddingTop:v.length===0?0:4,children:(0,Xi.jsxs)(Nt,{spacing:3,children:[!i&&(0,Xi.jsx)(Jh,{value:I?void 0:a,onChange:b}),(0,Xi.jsx)(Fh,{labels:[(0,Gi.__)("Shadows"),(0,Gi.__)("Highlights")],colors:o,value:I?void 0:a,disableCustomColors:i,enableAlpha:!0,onChange:h=>{h[0]||(h[0]=p),h[1]||(h[1]=R);let C=h.length>=2?h:void 0;b(C)}})]})})})}var vp=wve;var X3=u(F(),1);function kve({values:e}){return e?(0,X3.jsx)(qd,{colorValue:cs(e,"135deg")}):(0,X3.jsx)(Ot,{icon:cx})}var G3=kve;var lce=q(qd,{target:"e1lpqc907"})("&&{flex-shrink:0;width:",K(6),";height:",K(6),";}"),oce=q(_d,{target:"e1lpqc906"})(ty,"{background:",oe.gray[100],";border-radius:",de.radiusXSmall,";",Po,Po,Po,Po,"{height:",K(8),";}",Mo,Mo,Mo,"{border-color:transparent;box-shadow:none;}}"),dce=q("div",{target:"e1lpqc905"})("line-height:",K(8),";margin-left:",K(2),";margin-right:",K(2),";white-space:nowrap;overflow:hidden;"),ice=q(Ol,{target:"e1lpqc904"})("text-transform:uppercase;line-height:",K(6),";font-weight:",de.fontWeightEmphasis,";&&&{font-size:11px;margin-bottom:0;}"),g3=q(Ce,{target:"e1lpqc903"})("margin-top:",K(2),";"),rce=q(Ce,{target:"e1lpqc902"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),ace=q(be,{target:"e1lpqc901"})("&&{color:",oe.theme.accent,";}"),sce=q(be,{target:"e1lpqc900"})("&&{margin-top:",K(1),";}");var Pe=u(F(),1);pl([Rl]);var zve="#000";function Tve(e=[]){return e.flatMap(t=>{if(typeof t.color!="string")return[];let c=et(t.color);return c.isValid()?[{...t,color:c.toHex()}]:[]})}function x3(e){let t=e?.colors;return Array.isArray(t)?t:[]}function Ave(e,t){if(e)switch(t){case"duotone":return cs(x3(e),"135deg");case"gradient":return e.gradient;default:return e.color}}function Ove(e){switch(e){case"duotone":return(0,wt.__)("Duotone name");case"gradient":return(0,wt.__)("Gradient name");default:return(0,wt.__)("Color name")}}function Qve(e){return e==="duotone"?(0,wt.__)("Remove duotone: %s"):(0,wt.__)("Remove color: %s")}function Uve(e){switch(e){case"duotone":return(0,wt.__)("Add duotone");case"gradient":return(0,wt.__)("Add gradient");default:return(0,wt.__)("Add color")}}function Eve(e){switch(e){case"duotone":return(0,wt.__)("Duotone options");case"gradient":return(0,wt.__)("Gradient options");default:return(0,wt.__)("Color options")}}function Lve(e){switch(e){case"duotone":return(0,wt.__)("Remove all duotones");case"gradient":return(0,wt.__)("Remove all gradients");default:return(0,wt.__)("Remove all colors")}}function Dve(e){switch(e){case"duotone":return(0,wt.__)("Reset duotones");case"gradient":return(0,wt.__)("Reset gradient");default:return(0,wt.__)("Reset colors")}}function _ve({value:e,onChange:t,label:c}){return(0,Pe.jsx)(oce,{size:"compact",label:c,hideLabelFromVision:!0,value:e,onChange:t})}function jve(e){let t={};return e.map(c=>{let n,{slug:l}=c;return t[l]=(t[l]||0)+1,t[l]>1&&(n=`${l}-${t[l]-1}`),{...c,slug:n??l}})}function Mve(e,t,c="color"){let n=c==="duotone"?"duotone":"color",l=new RegExp(`^${t}${n}-([\\d]+)$`),o=e.reduce((d,i)=>{if(typeof i?.slug=="string"){let r=i?.slug.match(l);if(r){let a=parseInt(r[1],10);if(a>=d)return a+1}}return d},1);return{name:c==="duotone"?(0,wt.sprintf)((0,wt.__)("Duotone %d"),o):(0,wt.sprintf)((0,wt.__)("Color %d"),o),slug:`${t}${n}-${o}`}}function bce({variant:e,colorPalette:t,element:c,onChange:n,popoverProps:l,onClose:o=()=>{}}){let d=(0,xn.useMemo)(()=>({shift:!0,offset:20,resize:!1,placement:"left-start",...l,className:w("components-palette-edit__popover",l?.className)}),[l]);return(0,Pe.jsxs)(Za,{...d,onClose:o,children:[e==="color"&&(0,Pe.jsx)(ni,{color:c.color,enableAlpha:!0,onChange:i=>{n({...c,color:i})}}),e==="gradient"&&(0,Pe.jsx)("div",{className:"components-palette-edit__popover-gradient-picker",children:(0,Pe.jsx)(GX,{__experimentalIsRenderedInSidebar:!0,value:c.gradient,onChange:i=>{n({...c,gradient:i})}})}),e==="duotone"&&(0,Pe.jsx)("div",{className:"components-palette-edit__popover-duotone-picker",children:(0,Pe.jsxs)(Nt,{spacing:3,children:[(0,Pe.jsx)(Jh,{value:x3(c),onChange:i=>{i?.length&&n({...c,colors:i})}}),(0,Pe.jsx)(Fh,{labels:[(0,wt.__)("Shadows"),(0,wt.__)("Highlights")],colors:t??[],value:x3(c),enableAlpha:!0,onChange:i=>{let[r,a]=Bp(t??[]);n({...c,colors:[i[0]||r,i[1]||a]})}})]})})]})}function Pve({canOnlyChangeValues:e,element:t,onChange:c,onRemove:n,popoverProps:l,slugPrefix:o,variant:d,colorPalette:i}){let r=Ave(t,d),[a,s]=(0,xn.useState)(!1),[b,m]=(0,xn.useState)(null),X=(0,xn.useMemo)(()=>({...l,anchor:b}),[b,l]);return(0,Pe.jsxs)(mX,{ref:m,size:"small",children:[(0,Pe.jsxs)(xt,{justify:"flex-start",children:[(0,Pe.jsx)(be,{size:"small",onClick:()=>{s(!0)},"aria-label":(0,wt.sprintf)((0,wt.__)("Edit: %s"),t.name.trim().length?t.name:r||""),style:{padding:0},children:(0,Pe.jsx)(lce,{colorValue:r})}),(0,Pe.jsx)(Pn,{children:e?(0,Pe.jsx)(dce,{children:t.name.trim().length?t.name:"\xA0"}):(0,Pe.jsx)(_ve,{label:Ove(d),value:t.name,onChange:G=>c({...t,name:G,slug:o+OP(G??"")})})}),!e&&(0,Pe.jsx)(Cn,{children:(0,Pe.jsx)(sce,{size:"small",icon:_g,label:(0,wt.sprintf)(Qve(d),t.name.trim().length?t.name:r||""),onClick:n})})]}),a&&(0,Pe.jsx)(bce,{variant:d,colorPalette:i,onChange:c,element:t,popoverProps:X,onClose:()=>s(!1)})]})}function Kve({elements:e,onChange:t,canOnlyChangeValues:c,slugPrefix:n,variant:l,colorPalette:o,popoverProps:d,addColorRef:i}){let r=(0,xn.useRef)(void 0);(0,xn.useEffect)(()=>{r.current=e},[e]);let a=(0,Vp.useDebounce)(s=>t(jve(s)),100);return(0,Pe.jsx)(Nt,{spacing:3,children:(0,Pe.jsx)(XX,{isRounded:!0,isBordered:!0,isSeparated:!0,children:e.map((s,b)=>(0,Pe.jsx)(Pve,{variant:l,colorPalette:o,canOnlyChangeValues:c,element:s,onChange:m=>{a(e.map((X,G)=>G===b?m:X))},onRemove:()=>{let m=e.filter((X,G)=>G!==b);t(m.length?m:void 0),i.current?.focus()},slugPrefix:n,popoverProps:d},b))})})}var qve=[];function uce({gradients:e,duotones:t,colors:c=qve,colorPalette:n,onChange:l,paletteLabel:o,paletteLabelHeadingLevel:d=2,emptyMessage:i,canOnlyChangeValues:r,canReset:a,slugPrefix:s="",popoverProps:b}){qN();let m="color";e?m="gradient":t&&(m="duotone");let X=e??t??c,G=(0,xn.useMemo)(()=>Tve(n),[n]),[g,x]=(0,xn.useState)(!1),[H,p]=(0,xn.useState)(null),R=g&&!!H&&X[H]&&!X[H].slug,f=X.length>0,y=(0,Vp.useDebounce)(l,100),Z=(0,xn.useCallback)((C,B)=>{let V=B===void 0?void 0:X[B];V&&V[m==="gradient"?"gradient":"color"]===C?p(B):x(!0)},[m,X]),W=(0,xn.useCallback)((C,B)=>{B!==void 0&&(t??[])[B]?p(B):x(!0)},[t]),v=(0,xn.useRef)(null),h=(0,Vp.useInstanceId)(uce,"components-palette-edit__heading");return(0,Pe.jsxs)(rce,{children:[(0,Pe.jsxs)(xt,{children:[(0,Pe.jsx)(ice,{id:h,level:d,children:o}),(0,Pe.jsxs)(fp,{direction:"row",gap:"xs",children:[f&&g&&(0,Pe.jsx)(ace,{size:"small",onClick:()=>{x(!1),p(null)},children:(0,wt.__)("Done")}),!r&&(0,Pe.jsx)(be,{ref:v,size:"small",isPressed:R,icon:Mi,label:Uve(m),onClick:()=>{let{name:C,slug:B}=Mve(X,s,m);l(e?[...e,{gradient:hp,name:C,slug:B}]:t?[...t,{colors:Bp(G),name:C,slug:B}]:[...c,{color:zve,name:C,slug:B}]),x(!0),p(X.length)}}),f&&(!g||!r||a)&&(0,Pe.jsxs)(_l.Root,{modal:!1,children:[(0,Pe.jsx)(_l.Trigger,{render:(0,Pe.jsx)(be,{size:"small",icon:Pg,label:Eve(m),showTooltip:!0})}),(0,Pe.jsxs)(_l.Popup,{positioner:(0,Pe.jsx)(_l.Positioner,{align:"end"}),children:[!g&&(0,Pe.jsx)(_l.Item,{onClick:()=>x(!0),children:(0,Pe.jsx)(_l.ItemLabel,{children:(0,wt.__)("Show details")})}),!r&&(0,Pe.jsx)(_l.Item,{onClick:()=>{p(null),x(!1),l()},children:(0,Pe.jsx)(_l.ItemLabel,{children:Lve(m)})}),a&&(0,Pe.jsx)(_l.Item,{onClick:()=>{p(null),l()},children:(0,Pe.jsx)(_l.ItemLabel,{children:Dve(m)})})]})]})]})]}),f&&(0,Pe.jsxs)(g3,{children:[g&&(0,Pe.jsx)(Kve,{canOnlyChangeValues:r,elements:X,onChange:l,slugPrefix:s,variant:m,colorPalette:G,popoverProps:b,addColorRef:v}),!g&&H!==null&&(0,Pe.jsx)(bce,{variant:m,colorPalette:G,onClose:()=>p(null),onChange:C=>{y(X.map((B,V)=>V===H?C:B))},element:X[H??-1],popoverProps:b}),!g&&m==="gradient"&&(0,Pe.jsx)(Ch,{presentation:"command-buttons","aria-labelledby":h,gradients:e,onChange:Z,clearable:!1,disableCustomGradients:!0}),!g&&m==="duotone"&&(0,Pe.jsx)(vp,{presentation:"command-buttons","aria-labelledby":h,duotonePalette:t??[],colorPalette:G,onChange:W,clearable:!1,unsetable:!1,disableCustomDuotone:!0,disableCustomColors:!0}),!g&&m==="color"&&(0,Pe.jsx)(Ca,{presentation:"command-buttons","aria-labelledby":h,colors:c,onChange:Z,clearable:!1,disableCustomColors:!0})]}),!f&&i&&(0,Pe.jsx)(g3,{children:i})]})}var mce=uce;var ns=u(Ze(),1),vl=u(T(),1),Ice=u(me(),1),Z3=u(Md(),1);var Zce=u(Xa(),1);var Yh=u(T(),1),Xce=u(F(),1);function $ve(e,t){let{value:c,isExpanded:n,instanceId:l,selectedSuggestionIndex:o,className:d,onChange:i,onFocus:r,onBlur:a,"aria-describedby":s,...b}=e,[m,X]=(0,Yh.useState)(!1),G=c?c.length+1:0,g=p=>{i&&i({value:p.target.value})},x=p=>{X(!0),r?.(p)},H=p=>{X(!1),a?.(p)};return(0,Xce.jsx)("input",{ref:t,id:`components-form-token-input-${l}`,type:"text",...b,value:c||"",onChange:g,onFocus:x,onBlur:H,size:G,className:w(d,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?`components-form-token-suggestions-${l}`:void 0,"aria-activedescendant":m&&o!==-1&&n?`components-form-token-suggestions-${l}-${o}`:void 0,"aria-describedby":s})}var Gce=(0,Yh.forwardRef)($ve);Gce.displayName="TokenInput";var Nh=Gce;var gce=u(me(),1),xce=u(Ze(),1),$b=u(F(),1),e2e=e=>{e.preventDefault()};function t2e({selectedIndex:e,scrollIntoView:t,match:c,onHover:n,onSelect:l,suggestions:o=[],displayTransform:d,instanceId:i,__experimentalRenderItem:r}){let a=(0,gce.useRefEffect)(X=>{e>-1&&t&&X.children[e]&&X.children[e].scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})},[e,t]),s=X=>()=>{n?.(X)},b=X=>()=>{l?.(X)},m=X=>{let G=d(c).normalize("NFKC").toLocaleLowerCase();if(G.length===0)return null;let g=d(X),x=g.normalize("NFKC").toLocaleLowerCase().indexOf(G);return{suggestionBeforeMatch:g.substring(0,x),suggestionMatch:g.substring(x,x+G.length),suggestionAfterMatch:g.substring(x+G.length)}};return(0,$b.jsxs)("ul",{ref:a,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${i}`,role:"listbox",children:[o.map((X,G)=>{let g=m(X),x=G===e,H=typeof X=="object"&&X?.disabled,p=typeof X=="object"&&"value"in X?X?.value:d(X),R=w("components-form-token-field__suggestion",{"is-selected":x}),I;return typeof r=="function"?I=r({item:X}):g?I=(0,$b.jsxs)("span",{"aria-label":d(X),children:[g.suggestionBeforeMatch,(0,$b.jsx)("strong",{className:"components-form-token-field__suggestion-match",children:g.suggestionMatch}),g.suggestionAfterMatch]}):I=d(X),(0,$b.jsx)("li",{id:`components-form-token-suggestions-${i}-${G}`,role:"option",className:R,onMouseDown:e2e,onClick:b(X),onMouseEnter:s(X),"aria-selected":G===e,"aria-disabled":H,children:I},p)}),o.length===0&&(0,$b.jsx)("li",{className:"components-form-token-field__suggestion is-empty",children:(0,xce.__)("No items found")})]})}var Sh=t2e;var wh=u(T(),1),kh=u(me(),1),p3=u(F(),1),zh=(0,kh.createHigherOrderComponent)(e=>function(c){let[n,l]=(0,wh.useState)(void 0),o=(0,wh.useCallback)(d=>l(()=>d?.handleFocusOutside?d.handleFocusOutside.bind(d):void 0),[]);return(0,p3.jsx)("div",{...(0,kh.__experimentalUseFocusOutside)(n),children:(0,p3.jsx)(e,{ref:o,...c})})},"withFocusOutside");var pce=u(T(),1),Cp=u(F(),1),H3="data-wp-hash";function I3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&n2e(document)),e.__wpStyleRuntime}function c2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${H3}]`))if(c.getAttribute(H3)===t)return!0;return!1}function Rce(e,t,c){if(!e.head)return;let n=I3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(c2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(H3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function n2e(e){let t=I3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rce(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function l2e(e,t){let c=I3();c.styles.set(e,t);for(let n of c.documents.keys())Rce(n,e,t)}typeof process>"u",l2e("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 R3={spinner:"_5223dcef142ddf2a__spinner",track:"_00e30fe487ccb5cc__track",indicator:"b33a3d348ed141fd__indicator",spin:"e5c099d0667bd442__spin"};function o2e({className:e,...t},c){return(0,Cp.jsxs)("svg",{className:w("components-spinner",R3.spinner,e),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...t,ref:c,children:[(0,Cp.jsx)("circle",{className:R3.track,cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,Cp.jsx)("path",{className:R3.indicator,d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"})]})}var Hce=(0,pce.forwardRef)(o2e);Hce.displayName="Spinner";var Th=Hce;var sd=u(F(),1),f3="data-wp-hash";function y3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&i2e(document)),e.__wpStyleRuntime}function d2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${f3}]`))if(c.getAttribute(f3)===t)return!0;return!1}function fce(e,t,c){if(!e.head)return;let n=y3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(d2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(f3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function i2e(e){let t=y3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)fce(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function r2e(e,t){let c=y3();c.styles.set(e,t);for(let n of c.documents.keys())fce(n,e,t)}typeof process>"u",r2e("5e90aa62ab","._52e80c14d3dae324__input-wrapper{height:38px;padding-inline:8px}");var a2e={"input-wrapper":"_52e80c14d3dae324__input-wrapper"},s2e=()=>{},b2e=zh(class extends vl.Component{handleFocusOutside(t){this.props.onFocusOutside(t)}render(){return this.props.children}}),Ah=(e,t)=>e===null?-1:t.indexOf(e);function yce(e){let{value:t,label:c,options:n,onChange:l,onFilterValueChange:o=s2e,hideLabelFromVision:d,help:i,allowReset:r=!0,className:a,isLoading:s=!1,messages:b={selected:(0,ns.__)("Item selected.")},__experimentalRenderItem:m,expandOnFocus:X=!0,placeholder:G}=e,[g,x]=Do({value:t,onChange:l}),H=n.find(O=>O.value===g),p=H?.label??"",R=(0,Ice.useInstanceId)(yce,"combobox-control"),[I,f]=(0,vl.useState)(H||null),[y,Z]=(0,vl.useState)(!1),[W,v]=(0,vl.useState)(!1),[h,C]=(0,vl.useState)(""),B=(0,vl.useRef)(null),V=(0,vl.useMemo)(()=>{let O=[],L=[],M=fC(h);return n.forEach(_=>{let j=fC(_.label).indexOf(M);j===0?O.push(_):j>0&&L.push(_)}),O.concat(L)},[h,n]),S=O=>{O.disabled||(x(O.value),(0,Z3.speak)(b.selected,"assertive"),f(O),C(""),Z(!1))},Y=(O=1)=>{let M=Ah(I,V)+O;M<0?M=V.length-1:M>=V.length&&(M=0),f(V[M]),Z(!0)},J=(0,Zce.withIgnoreIMEEvents)(O=>{let L=!1;if(!O.defaultPrevented){switch(O.code){case"Enter":I&&(S(I),L=!0);break;case"ArrowUp":Y(-1),L=!0;break;case"ArrowDown":Y(1),L=!0;break;case"Escape":Z(!1),f(null),L=!0;break;default:break}L&&O.preventDefault()}}),k=()=>{v(!1)},N=()=>{v(!0),X&&Z(!0),o(""),C("")},A=()=>{Z(!0)},Q=()=>{Z(!1)},z=O=>{let L=O.value;C(L),o(L),W&&Z(!0)},D=()=>{x(null),B.current?.focus()},U=O=>{O.stopPropagation()};return(0,vl.useEffect)(()=>{let O=V.length>0,L=Ah(I,V)>0;O&&!L&&f(V[0])},[V,I]),(0,vl.useEffect)(()=>{let O=V.length>0;if(y){let L=O?(0,ns.sprintf)((0,ns._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",V.length),V.length):(0,ns.__)("No results.");(0,Z3.speak)(L,"polite")}},[V,y]),(0,sd.jsx)(b2e,{onFocusOutside:Q,children:(0,sd.jsx)(at,{className:w(a,"components-combobox-control"),label:c,id:`components-form-token-input-${R}`,hideLabelFromVision:d,help:i,children:(0,sd.jsxs)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:J,children:[(0,sd.jsxs)(Mt,{className:a2e["input-wrapper"],children:[(0,sd.jsx)(Pn,{children:(0,sd.jsx)(Nh,{className:"components-combobox-control__input",instanceId:R,ref:B,placeholder:G,value:y?h:p,onFocus:N,onBlur:k,onClick:A,isExpanded:y,selectedSuggestionIndex:Ah(I,V),onChange:z,"aria-describedby":i?`components-form-token-input-${R}__help`:void 0})}),s&&(0,sd.jsx)(Th,{}),r&&!!g&&!y&&(0,sd.jsx)(be,{size:"small",icon:Di,onClick:D,onKeyDown:U,label:(0,ns.__)("Reset")})]}),y&&!s&&(0,sd.jsx)(Sh,{instanceId:R,match:{label:h,value:""},displayTransform:O=>O.label,suggestions:V,selectedIndex:Ah(I,V),onHover:f,onSelect:S,scrollIntoView:!0,__experimentalRenderItem:m})]})})})}var Wce=yce;var hce=u(T(),1),h3=u(me(),1),B3=u(Xt(),1);var v3=u(F(),1);function Bce(e){if(e.state){let{state:t,...c}=e,{store:n,...l}=Bce(t);return{...c,...l,store:n}}return e}var W3={__unstableComposite:"Composite",__unstableCompositeGroup:"Composite.Group or Composite.Row",__unstableCompositeItem:"Composite.Item",__unstableUseCompositeState:"Composite"};function V3(e,t={}){let c=e.displayName??"",n=l=>{(0,B3.default)(`wp.components.${c}`,{since:"6.7",alternative:W3.hasOwnProperty(c)?W3[c]:void 0});let{store:o,...d}=Bce(l),i=d;return i={...i,id:(0,h3.useInstanceId)(o,i.baseId,i.id)},Object.entries(t).forEach(([r,a])=>{i.hasOwnProperty(r)&&(Object.assign(i,{[a]:i[r]}),delete i[r])}),delete i.baseId,(0,v3.jsx)(e,{...i,store:o})};return n.displayName=c,n}var u2e=(0,hce.forwardRef)(({role:e,...t},c)=>{let n=e==="row"?Bn.Row:Bn.Group;return(0,v3.jsx)(n,{ref:c,role:e,...t})}),C3=V3(Object.assign(Bn,{displayName:"__unstableComposite"}),{baseId:"id"}),vce=V3(Object.assign(u2e,{displayName:"__unstableCompositeGroup"})),Vce=V3(Object.assign(Bn.Item,{displayName:"__unstableCompositeItem"}),{focusable:"accessibleWhenDisabled"});function Cce(e={}){(0,B3.default)("wp.components.__unstableUseCompositeState",{since:"6.7",alternative:W3.__unstableUseCompositeState});let{baseId:t,currentId:c,orientation:n,rtl:l=!1,loop:o=!1,wrap:d=!1,shift:i=!1,unstable_virtual:r}=e;return{baseId:(0,h3.useInstanceId)(C3,"composite",t),store:Au({defaultActiveId:c,rtl:l,orientation:n,focusLoop:o,focusShift:i,focusWrap:d,virtualFocus:r})}}var Y3=u(Ze(),1),ud=u(T(),1);var cc=u(T(),1),yo=u(me(),1),F3=u(Ze(),1);var zce=u(gX(),1),Tce=u(Xa(),1);var m2e=new Set(["alert","status","log","marquee","timer"]),Jce=[];function Yce(e){let t=Array.from(document.body.children),c=[];Jce.push(c);for(let n of t)n!==e&&X2e(n)&&(n.setAttribute("aria-hidden","true"),c.push(n))}function X2e(e){let t=e.getAttribute("role");return!(e.tagName==="SCRIPT"||e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||t&&m2e.has(t))}function Nce(){let e=Jce.pop();if(e)for(let t of e)t.removeAttribute("aria-hidden")}var Sce=u(me(),1),xX=u(T(),1),Nkt=u(En(),1);var g2e=Number.parseInt(de.transitionDuration),x2e="components-modal__disappear-animation";function wce(){let e=(0,xX.useRef)(null),[t,c]=(0,xX.useState)(!1),n=(0,Sce.useReducedMotion)(),l=(0,xX.useCallback)(()=>new Promise(o=>{let d=e.current;if(n){o();return}if(!d){o();return}let i,r=()=>new Promise(s=>{i=b=>{b.animationName===x2e&&s()},d.addEventListener("animationend",i),c(!0)}),a=()=>new Promise(s=>{setTimeout(()=>s(),g2e*1.2)});Promise.race([r(),a()]).then(()=>{i&&d.removeEventListener("animationend",i),c(!1),o()})}),[n]);return{overlayClassname:t?"is-animating-out":void 0,frameRef:e,closeModal:l}}var kce=u(T(),1),Oh=(0,kce.createContext)(new Set);Oh.displayName="ModalContext";var pn=u(F(),1),Fp=new Map;function p2e(e,t){let{bodyOpenClassName:c="modal-open",role:n="dialog",title:l=null,focusOnMount:o=!0,shouldCloseOnEsc:d=!0,shouldCloseOnClickOutside:i=!0,isDismissible:r=!0,aria:a={labelledby:void 0,describedby:void 0},onRequestClose:s,icon:b,closeButtonLabel:m,children:X,style:G,overlayClassName:g,className:x,contentLabel:H,onKeyDown:p,isFullScreen:R=!1,size:I,headerActions:f=null,__experimentalHideHeader:y=!1}=e,Z=(0,cc.useRef)(null),W=(0,yo.useInstanceId)(J3),v=l?`components-modal-header-${W}`:a.labelledby,h=(0,yo.useFocusOnMount)(o==="firstContentElement"?"firstElement":o),C=(0,yo.useConstrainedTabbing)(),B=(0,yo.useFocusReturn)(),V=(0,cc.useRef)(null),S=(0,cc.useRef)(null),[Y,J]=(0,cc.useState)(!1),[k,N]=(0,cc.useState)(!1),A;R||I==="fill"?A="is-full-screen":I&&(A=`has-size-${I}`);let Q=(0,cc.useCallback)(()=>{if(!V.current)return;let P=(0,zce.getScrollContainer)(V.current);V.current===P?N(!0):N(!1)},[V]);(0,cc.useEffect)(()=>(Yce(Z.current),()=>Nce()),[]);let z=(0,cc.useRef)(void 0);(0,cc.useEffect)(()=>{z.current=s},[s]);let D=(0,cc.useContext)(Oh),[U]=(0,cc.useState)(()=>new Set);(0,cc.useEffect)(()=>{D.add(z);for(let P of D)P!==z&&P.current?.();return()=>{for(let P of U)P.current?.();D.delete(z)}},[D,U]),(0,cc.useEffect)(()=>{let P=c,ye=1+(Fp.get(P)??0);return Fp.set(P,ye),document.body.classList.add(c),()=>{let Te=Fp.get(P)-1;Te===0?(document.body.classList.remove(P),Fp.delete(P)):Fp.set(P,Te)}},[c]);let{closeModal:O,frameRef:L,overlayClassname:M}=wce();(0,cc.useLayoutEffect)(()=>{if(!window.ResizeObserver||!S.current)return;let P=new ResizeObserver(Q);return P.observe(S.current),Q(),()=>{P.disconnect()}},[Q,S]);function _(P){d&&(P.code==="Escape"||P.key==="Escape")&&!P.defaultPrevented&&(P.preventDefault(),P.stopPropagation(),O().then(()=>s(P)))}let j=(0,cc.useCallback)(P=>{let ye=P?.currentTarget?.scrollTop??-1;!Y&&ye>0?J(!0):Y&&ye<=0&&J(!1)},[Y]),ue=null,xe={onPointerDown:P=>{P.target===P.currentTarget&&(ue=P.target,P.preventDefault())},onPointerUp:({target:P,button:ye})=>{let Te=P===ue;ue=null,ye===0&&Te&&O().then(()=>s())}},Be=(0,pn.jsx)("div",{ref:(0,yo.useMergeRefs)([Z,t]),className:w("components-modal__screen-overlay",M,g),onKeyDown:(0,Tce.withIgnoreIMEEvents)(_),...i?xe:{},children:(0,pn.jsx)(y0,{document,children:(0,pn.jsx)("div",{className:w("components-modal__frame",A,x),style:G,ref:(0,yo.useMergeRefs)([L,C,B,o!=="firstContentElement"?h:null]),role:n,"aria-label":H,"aria-labelledby":H?void 0:v,"aria-describedby":a.describedby,tabIndex:-1,onKeyDown:p,children:(0,pn.jsxs)("div",{className:w("components-modal__content",{"hide-header":y,"is-scrollable":k,"has-scrolled-content":Y}),role:"document",onScroll:j,ref:V,"aria-label":k?(0,F3.__)("Scrollable section"):void 0,tabIndex:k?0:void 0,children:[!y&&(0,pn.jsxs)("div",{className:"components-modal__header",children:[(0,pn.jsxs)("div",{className:"components-modal__header-heading-container",children:[b&&(0,pn.jsx)("span",{className:"components-modal__icon-container","aria-hidden":!0,children:b}),l&&(0,pn.jsx)("h1",{id:v,className:"components-modal__header-heading",children:l})]}),f,r&&(0,pn.jsxs)(pn.Fragment,{children:[(0,pn.jsx)(Pc,{marginBottom:0,marginLeft:2}),(0,pn.jsx)(be,{size:"compact",onClick:P=>O().then(()=>s(P)),icon:Ug,label:m||(0,F3.__)("Close")})]})]}),(0,pn.jsx)("div",{ref:(0,yo.useMergeRefs)([S,o==="firstContentElement"?h:null]),className:"components-modal__children-container",children:X})]})})})});return(0,cc.createPortal)((0,pn.jsx)(Oh.Provider,{value:U,children:Be}),document.body)}var J3=(0,cc.forwardRef)(p2e);J3.displayName="Modal";var pX=J3;var bd=u(F(),1),N3="data-wp-hash";function S3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&H2e(document)),e.__wpStyleRuntime}function R2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${N3}]`))if(c.getAttribute(N3)===t)return!0;return!1}function Ace(e,t,c){if(!e.head)return;let n=S3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(R2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(N3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function H2e(e){let t=S3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ace(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function I2e(e,t){let c=S3();c.styles.set(e,t);for(let n of c.documents.keys())Ace(n,e,t)}typeof process>"u",I2e("af7a0f28df",".f8c6ba0dd016e6c1__wrapper.f8c6ba0dd016e6c1__wrapper{z-index:1000001}");var Z2e={wrapper:"f8c6ba0dd016e6c1__wrapper"},f2e=(e,t)=>{let{isOpen:c,onConfirm:n,onCancel:l,children:o,confirmButtonText:d,cancelButtonText:i,isBusy:r,title:a,__experimentalHideHeader:s=!0,...b}=ae(e,"ConfirmDialog"),m=Z2e.wrapper,X=(0,ud.useRef)(null),G=(0,ud.useRef)(null),[g,x]=(0,ud.useState)(),[H,p]=(0,ud.useState)();(0,ud.useEffect)(()=>{let Z=typeof c<"u";x(Z?c:!0),p(!Z)},[c]);let R=(0,ud.useCallback)(Z=>W=>{Z?.(W),H&&x(!1)},[H,x]),I=(0,ud.useCallback)(Z=>{!(Z.target===X.current||Z.target===G.current)&&Z.key==="Enter"&&R(n)(Z)},[R,n]),f=i??(0,Y3.__)("Cancel"),y=d??(0,Y3.__)("OK");return(0,bd.jsx)(bd.Fragment,{children:g&&(0,bd.jsx)(pX,{onRequestClose:R(l),onKeyDown:I,closeButtonLabel:f,isDismissible:!0,ref:t,overlayClassName:m,title:a,contentLabel:s?a:void 0,__experimentalHideHeader:s,...b,children:(0,bd.jsxs)(Nt,{spacing:8,children:[(0,bd.jsx)(Kn,{children:o}),(0,bd.jsxs)(Mt,{direction:"row",justify:"flex-end",children:[(0,bd.jsx)(be,{__next40pxDefaultSize:!0,ref:X,variant:"tertiary",onClick:R(l),accessibleWhenDisabled:!0,disabled:r,children:f}),(0,bd.jsx)(be,{__next40pxDefaultSize:!0,ref:G,variant:"primary",onClick:R(n),accessibleWhenDisabled:!0,disabled:r,isBusy:r,children:y})]})]})})})},y2e=ie(f2e,"ConfirmDialog"),w3=y2e;var ene=u(me(),1),Uh=u(Ze(),1);var eu=u(T(),1),RX=u(Ze(),1);var Wo={compact:de.controlPaddingXSmall,small:de.controlPaddingXSmall,default:de.controlPaddingX},W2e=(e,t)=>{let c={compact:{[t]:32,paddingInlineStart:Wo.compact,paddingInlineEnd:Wo.compact+Hb},default:{[t]:40,paddingInlineStart:Wo.default,paddingInlineEnd:Wo.default+Hb},small:{[t]:24,paddingInlineStart:Wo.small,paddingInlineEnd:Wo.small+Hb}};return c[e]||c.default},h2e=e=>{let c={compact:{paddingInlineStart:Wo.compact,paddingInlineEnd:Wo.compact-6},default:{paddingInlineStart:Wo.default,paddingInlineEnd:Wo.default-6},small:{paddingInlineStart:Wo.small,paddingInlineEnd:Wo.small-6}};return c[e]||c.default},Oce=q(EH,{shouldForwardProp:e=>e!=="hasCustomRenderProp",target:"e1p3eej77"})(({size:e,hasCustomRenderProp:t})=>Re("display:block;background-color:",oe.theme.background,";border:none;color:",oe.theme.foreground,";cursor:pointer;font-family:inherit;text-align:start;user-select:none;width:100%;&[data-focus-visible]{outline:none;}",W2e(e,t?"minHeight":"height")," ",!t&&Ece," ",ox({inputSize:e}),";",""),""),B2e=Qd({"0%":{transform:`translateY(-${Vn.SLIDE_DISTANCE})`},"100%":{transform:"translateY(0)"}}),v2e=Qd({"0%":{opacity:0},"100%":{opacity:1}}),Qce=q(eI,{target:"e1p3eej76"})("display:flex;flex-direction:column;background-color:",oe.theme.background,";border-radius:",de.radiusSmall,";border:1px solid ",oe.theme.foreground,";box-shadow:",de.elevationMedium,";z-index:1000000;max-height:min( var( --popover-available-height, 400px ), 400px );overflow:auto;overscroll-behavior:contain;min-width:min-content;&[data-open]{@media not ( prefers-reduced-motion ){animation-name:",B2e,",",v2e,";animation-duration:",Vn.SLIDE_DURATION,",",Vn.FADE_DURATION,";animation-timing-function:",Vn.SLIDE_EASING,",",Vn.FADE_EASING,";will-change:transform,opacity;}}&[data-focus-visible]{outline:none;}"),Uce=q(MH,{target:"e1p3eej75"})(({size:e})=>Re("cursor:default;display:flex;align-items:center;justify-content:space-between;font-size:",de.fontSize,";line-height:28px;padding-block:",K(2),";scroll-margin:",K(1),";user-select:none;&[aria-disabled='true']{cursor:not-allowed;}&[data-active-item]{background-color:",oe.theme.gray[300],";}",h2e(e),";",""),""),Ece={name:"1h52dri",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Lce=q("div",{target:"e1p3eej74"})(Ece,";"),Dce=q("span",{target:"e1p3eej73"})("color:",oe.theme.gray[600],";margin-inline-start:",K(2),";"),k3=q("div",{target:"e1p3eej72"})("display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;flex:1;column-gap:",K(4),";"),_ce=q("span",{target:"e1p3eej71"})("color:",oe.theme.gray[600],";text-align:initial;line-height:",de.fontLineHeightBase,";padding-inline-end:",K(1),";margin-block:",K(1),";"),jce=q(KH,{target:"e1p3eej70"})("display:flex;align-items:center;margin-inline-start:",K(2),";fill:currentColor;align-self:start;margin-block-start:2px;font-size:0;",k3,"~&,&:not(:empty){font-size:24px;}");var ho=u(F(),1),Qh=(0,eu.createContext)(void 0);Qh.displayName="CustomSelectContext";function V2e(e){return(Array.isArray(e)?e.length===0:e==null)?(0,RX.__)("Select an item"):Array.isArray(e)?e.length===1?e[0]:(0,RX.sprintf)((0,RX._n)("%d item selected","%d items selected",e.length),e.length):e}var C2e=({renderSelectedValue:e,size:t="default",store:c,...n})=>{let{value:l}=$(c),o=(0,eu.useMemo)(()=>e??V2e,[e]);return(0,ho.jsx)(Oce,{...n,size:t,hasCustomRenderProp:!!e,store:c,children:o(l)})};function F2e(e){let{children:t,hideLabelFromVision:c=!1,label:n,size:l,store:o,className:d,isLegacy:i=!1,...r}=e,a=(0,eu.useCallback)(b=>{i&&b.stopPropagation()},[i]),s=(0,eu.useMemo)(()=>({store:o,size:l}),[o,l]);return(0,ho.jsxs)("div",{className:d,children:[(0,ho.jsx)(qH,{store:o,render:c?(0,ho.jsx)(bt,{}):(0,ho.jsx)(at.VisualLabel,{as:"div"}),children:n}),(0,ho.jsxs)(X0,{size:l,suffix:(0,ho.jsx)(t5,{}),children:[(0,ho.jsx)(C2e,{...r,size:l,store:o,showOnKeyDown:!i}),(0,ho.jsx)(Qce,{gutter:12,store:o,sameWidth:!0,slide:!1,onKeyDown:a,flip:!i,children:(0,ho.jsx)(Qh.Provider,{value:s,children:t})})]})]})}var Mce=F2e;var Pce=u(T(),1);var Jp=u(F(),1);function Kce({children:e,...t}){let c=(0,Pce.useContext)(Qh);return(0,Jp.jsxs)(Uce,{store:c?.store,size:c?.size??"default",...t,children:[e??t.value,(0,Jp.jsx)(jce,{children:(0,Jp.jsx)(Kc,{icon:qc})})]})}Kce.displayName="CustomSelectControlV2.Item";var qce=Kce;var Vl=u(F(),1);function J2e({__experimentalShowSelectedHint:e,...t}){return{showSelectedHint:e,...t}}function $ce({__experimentalHint:e,...t}){return{hint:e,...t}}function Y2e(e,t){return t||(0,Uh.sprintf)((0,Uh.__)("Currently selected: %s"),e)}function tne(e){let{__next40pxDefaultSize:t,describedBy:c,options:n,onChange:l,size:o="default",value:d,className:i,showSelectedHint:r=!1,...a}=J2e(e),s=(0,ene.useInstanceId)(tne,"custom-select-control__description"),b=tI({async setValue(x){let H=n.find(I=>I.key===x);if(!l||!H)return;await Promise.resolve();let p=b.getState(),R={highlightedIndex:p.renderedItems.findIndex(I=>I.value===x),inputValue:"",isOpen:p.open,selectedItem:H,type:""};l(R)},value:d?.key,defaultValue:n[0]?.key}),m=n.map($ce).map(({name:x,key:H,hint:p,style:R,className:I})=>(0,Vl.jsx)(qce,{value:H,children:p?(0,Vl.jsxs)(k3,{children:[(0,Vl.jsx)("span",{children:x}),(0,Vl.jsx)(_ce,{className:"components-custom-select-control__item-hint",children:p})]}):x,style:R,className:w(I,"components-custom-select-control__item",{"has-hint":p})},H)),X=$(b,"value"),G=n?.map($ce)?.find(({key:x})=>X===x)??n[0];return(0,Vl.jsxs)(Vl.Fragment,{children:[(0,Vl.jsx)(Mce,{"aria-describedby":s,renderSelectedValue:()=>!r||!G.hint?G?.name:(0,Vl.jsxs)(Lce,{children:[G?.name,(0,Vl.jsx)(Dce,{className:"components-custom-select-control__hint",children:G?.hint})]}),size:o,store:b,className:w("components-custom-select-control",i),isLegacy:!0,...a,children:m}),(0,Vl.jsx)(bt,{children:(0,Vl.jsx)("span",{id:s,children:Y2e(G?.name,c)})})]})}var Eh=tne;var ol=u(Ze(),1);var Ml=u(Yp(),1),os=u(T(),1);var Lc=u(T(),1);var N2e=(function(e){return e[e.SUNDAY=0]="SUNDAY",e[e.MONDAY=1]="MONDAY",e[e.TUESDAY=2]="TUESDAY",e[e.WEDNESDAY=3]="WEDNESDAY",e[e.THURSDAY=4]="THURSDAY",e[e.FRIDAY=5]="FRIDAY",e[e.SATURDAY=6]="SATURDAY",e})({}),S2e=(e,t,c)=>(jb(e,t)||nte(e,t))&&(jb(e,c)||lte(e,c)),nne=e=>dte(e,{hours:0,minutes:0,seconds:0,milliseconds:0}),lne=({weekStartsOn:e=N2e.SUNDAY,viewing:t=new Date,selected:c=[],numberOfMonths:n=1}={})=>{let[l,o]=(0,Lc.useState)(t),d=(0,Lc.useCallback)(()=>o(rte()),[o]),i=(0,Lc.useCallback)(Z=>o(W=>gh(W,Z)),[]),r=(0,Lc.useCallback)(()=>o(Z=>bX(Z,1)),[]),a=(0,Lc.useCallback)(()=>o(Z=>rd(Z,1)),[]),s=(0,Lc.useCallback)(Z=>o(W=>ite(W,Z)),[]),b=(0,Lc.useCallback)(()=>o(Z=>ste(Z,1)),[]),m=(0,Lc.useCallback)(()=>o(Z=>Gh(Z,1)),[]),[X,G]=(0,Lc.useState)(c.map(nne)),g=()=>G([]),x=(0,Lc.useCallback)(Z=>X.findIndex(W=>jb(W,Z))>-1,[X]),H=(0,Lc.useCallback)((Z,W)=>{G(W?Array.isArray(Z)?Z:[Z]:v=>v.concat(Array.isArray(Z)?Z:[Z]))},[]),p=(0,Lc.useCallback)(Z=>G(W=>Array.isArray(Z)?W.filter(v=>!Z.map(h=>h.getTime()).includes(v.getTime())):W.filter(v=>!jb(v,Z))),[]),R=(0,Lc.useCallback)((Z,W)=>x(Z)?p(Z):H(Z,W),[p,x,H]),I=(0,Lc.useCallback)((Z,W,v)=>{G(v?Zp({start:Z,end:W}):h=>h.concat(Zp({start:Z,end:W})))},[]),f=(0,Lc.useCallback)((Z,W)=>{G(v=>v.filter(h=>!Zp({start:Z,end:W}).map(C=>C.getTime()).includes(h.getTime())))},[]),y=(0,Lc.useMemo)(()=>$ee({start:AN(l),end:TN(rd(l,n-1))}).map(Z=>ete({start:AN(Z),end:TN(Z)},{weekStartsOn:e}).map(W=>Zp({start:_b(W,{weekStartsOn:e}),end:tte(W,{weekStartsOn:e})}))),[l,e,n]);return{clearTime:nne,inRange:S2e,viewing:l,setViewing:o,viewToday:d,viewMonth:i,viewPreviousMonth:r,viewNextMonth:a,viewYear:s,viewPreviousYear:b,viewNextYear:m,selected:X,setSelected:G,clearSelected:g,isSelected:x,select:H,deselect:p,toggle:R,selectRange:I,deselectRange:f,calendar:y}};var one=q("div",{target:"e15s65uf7"})(lb,";"),dne=q(xt,{target:"e15s65uf6"})("column-gap:",K(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;margin-bottom:",K(4),";"),ine=q(be,{target:"e15s65uf5"})({name:"sarfoe",styles:"grid-column:1/2"}),rne=q(be,{target:"e15s65uf4"})({name:"1v98r3z",styles:"grid-column:7/8"}),ane=q(Ol,{target:"e15s65uf3"})("font-size:",de.fontSize,";font-weight:",de.fontWeight,";grid-column:2/7;strong{font-weight:",de.fontWeightEmphasis,";}"),sne=q("div",{target:"e15s65uf2"})("column-gap:",K(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:",K(2),";"),bne=q("div",{target:"e15s65uf1"})("color:",oe.theme.gray[700],";font-size:",de.fontSize,";line-height:",de.fontLineHeightBase,";"),une=q(be,{shouldForwardProp:e=>!["column","isSelected","isToday","hasEvents"].includes(e),target:"e15s65uf0"})("grid-column:",e=>e.column,";position:relative;justify-content:center;padding:0;",e=>e.disabled&&` | |
| 31 | 77 | pointer-events: none; |
| 32 | - `," &&&{border-radius:",O.radiusRound,";height:",D(7),";width:",D(7),";font-weight:400;",c=>c.isSelected&&` | |
| 33 | - background: ${T.theme.accent}; | |
| 78 | + `," &&&{border-radius:",de.radiusRound,";height:",K(7),";width:",K(7),";font-weight:400;",e=>e.isSelected&&` | |
| 79 | + background: ${oe.theme.accent}; | |
| 34 | 80 | |
| 35 | 81 | &, |
| 36 | 82 | &:hover:not(:disabled, [aria-disabled=true]) { |
| 37 | - color: ${T.theme.accentInverted}; | |
| 83 | + color: ${oe.theme.accentInverted}; | |
| 38 | 84 | } |
| 39 | 85 | |
| 40 | 86 | &:focus:not(:disabled), |
| 41 | 87 | &:focus:not(:disabled) { |
| 42 | - border: ${O.borderWidthFocus} solid currentColor; | |
| 88 | + border: ${de.borderWidthFocus} solid currentColor; | |
| 43 | 89 | } |
| 44 | 90 | |
| 45 | 91 | /* Highlight the selected day for high-contrast mode */ |
| 46 | 92 | &::after { |
| @@ -50,34 +96,26 @@ | ||
| 50 | 96 | inset: 0; |
| 51 | 97 | border-radius: inherit; |
| 52 | 98 | border: 1px solid transparent; |
| 53 | 99 | } |
| 54 | - `," ",c=>!c.isSelected&&c.isToday&&` | |
| 55 | - background: ${T.theme.gray[200]}; | |
| 56 | - `,";}",c=>c.hasEvents&&` | |
| 100 | + `," ",e=>!e.isSelected&&e.isToday&&` | |
| 101 | + background: ${oe.theme.gray[200]}; | |
| 102 | + `,";}",e=>e.hasEvents&&` | |
| 57 | 103 | ::before { |
| 58 | - border: 2px solid ${c.isSelected?T.theme.accentInverted:T.theme.accent}; | |
| 59 | - border-radius: ${O.radiusRound}; | |
| 104 | + border: 2px solid ${e.isSelected?oe.theme.accentInverted:oe.theme.accent}; | |
| 105 | + border-radius: ${de.radiusRound}; | |
| 60 | 106 | content: " "; |
| 61 | 107 | left: 50%; |
| 62 | 108 | position: absolute; |
| 63 | 109 | transform: translate(-50%, 9px); |
| 64 | 110 | } |
| 65 | - `,";");var sn=class extends Date{constructor(){super(),this.setTime(arguments.length===0?Date.now():arguments.length===1?typeof arguments[0]=="string"?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}},kM=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(c=>{if(kM.test(c)){let l=Date.prototype[c.replace(kM,"$1UTC")];l&&(sn.prototype[c]=l)}});var H0l=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),R0l=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),I0l=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var tb=u(Dx(),1);function Lx(c){if(typeof c=="string")return/Z|[+-]\d{2}(:?\d{2})?$/.test(c)?new sn(new Date(c)):new sn((0,tb.getDate)(c).getTime());let l=c instanceof Date?c.getTime():c;return new sn(l)}function JX(c){let l=Number((0,tb.date)("Y",c)),t=Number((0,tb.date)("n",c))-1,e=Number((0,tb.date)("j",c));return new Date(l,t,e,0,0,0,0)}function wh(c,l){return l?(c%12+12)%24:c%12}function zM(c){return c%12||12}function Ux(c){return(l,t)=>{let e={...l};return(t.type===AG||t.type===nX||t.type===OG)&&e.value!==void 0&&(e.value=e.value.toString().padStart(c,"0")),e}}var Th=(c,l)=>new Date(c,l+1,0).getDate();function x0(c,l){let t={year:Number((0,tb.date)("Y",c)),month:Number((0,tb.date)("n",c))-1,date:Number((0,tb.date)("j",c)),hours:Number((0,tb.date)("H",c)),minutes:Number((0,tb.date)("i",c)),seconds:Number((0,tb.date)("s",c)),...l},e=Th(t.year,t.month);t.date=Math.min(t.date,e);let b=String(t.year).padStart(4,"0"),d=String(t.month+1).padStart(2,"0"),o=String(t.date).padStart(2,"0"),n=String(t.hours).padStart(2,"0"),X=String(t.minutes).padStart(2,"0"),G=String(t.seconds).padStart(2,"0"),i=`${b}-${d}-${o}T${n}:${X}:${G}`;return new sn((0,tb.getDate)(i).getTime())}function xp(c){let l=c.target?.ownerDocument.defaultView?.HTMLInputElement??HTMLInputElement;return c.target instanceof l?c.target.validity.valid:!1}var xn="Y-m-d\\TH:i:s";var vb=u(J(),1);function Lsc({currentDate:c,onChange:l,events:t=[],isInvalidDate:e,onMonthPreviewed:b,startOfWeek:d=0}){let o=Lx(c??new Date),{calendar:n,viewing:X,setSelected:G,setViewing:i,isSelected:a,viewPreviousMonth:m,viewNextMonth:s}=JM({selected:[JX(o)],viewing:JX(o),weekStartsOn:d}),[x,r]=(0,hX.useState)(JX(o)),[g,H]=(0,hX.useState)(!1),[Z,R]=(0,hX.useState)(c);return c!==Z&&(R(c),G([JX(o)]),i(JX(o)),r(JX(o))),(0,vb.jsxs)(hM,{className:"components-datetime__date",role:"application","aria-label":(0,re.__)("Calendar"),children:[(0,vb.jsxs)(CM,{children:[(0,vb.jsx)(YM,{icon:(0,re.isRTL)()?HR:gR,variant:"tertiary","aria-label":(0,re.__)("View previous month"),onClick:()=>{m(),r(s0(x,1));let W=s0(X,1);b?.((0,eb.dateI18n)(xn,W,-W.getTimezoneOffset()))},size:"compact"}),(0,vb.jsxs)(vM,{level:3,children:[(0,vb.jsx)("strong",{children:(0,eb.dateI18n)("F",X,-X.getTimezoneOffset())})," ",(0,eb.dateI18n)("Y",X,-X.getTimezoneOffset())]}),(0,vb.jsx)(FM,{icon:(0,re.isRTL)()?gR:HR,variant:"tertiary","aria-label":(0,re.__)("View next month"),onClick:()=>{s(),r(lb(x,1));let W=lb(X,1);b?.((0,eb.dateI18n)(xn,W,-W.getTimezoneOffset()))},size:"compact"})]}),(0,vb.jsxs)(NM,{onFocus:()=>H(!0),onBlur:()=>H(!1),children:[n[0][0].map(W=>(0,vb.jsx)(fM,{children:(0,eb.dateI18n)("D",W,-W.getTimezoneOffset())},W.toString())),n[0].map(W=>W.map((I,p)=>Tx(I,X)?(0,vb.jsx)(Usc,{day:I,column:p+1,isSelected:a(I),isFocusable:mi(I,x),isFocusAllowed:g,isToday:Ax(I,JX(new Date)),isInvalid:e?e(I):!1,numEvents:t.filter(B=>Ax(B.date,I)).length,onClick:()=>{G([I]),r(I);let B=x0(o,{year:I.getFullYear(),month:I.getMonth(),date:I.getDate()});l?.((0,eb.date)(xn,B))},onKeyDown:B=>{let y;if(B.key==="ArrowLeft"&&(y=ao(I,(0,re.isRTL)()?1:-1)),B.key==="ArrowRight"&&(y=ao(I,(0,re.isRTL)()?-1:1)),B.key==="ArrowUp"&&(y=pM(I,1)),B.key==="ArrowDown"&&(y=VX(I,1)),B.key==="PageUp"&&(y=s0(I,1)),B.key==="PageDown"&&(y=lb(I,1)),B.key==="Home"){let V=(I.getDay()-d+7)%7;y=RM(I,V)}if(B.key==="End"){let C=I.getDay(),V=(d+6-C)%7;y=ao(I,V)}y&&(B.preventDefault(),r(y),Tx(y,X)||(i(y),b?.((0,eb.dateI18n)(xn,y,-y.getTimezoneOffset()))))}},I.toString()):null))]})]})}function Usc({day:c,column:l,isSelected:t,isFocusable:e,isFocusAllowed:b,isToday:d,isInvalid:o,numEvents:n,onClick:X,onKeyDown:G}){let i=(0,hX.useRef)(null);return(0,hX.useEffect)(()=>{i.current&&e&&b&&i.current.focus()},[e]),(0,vb.jsx)(SM,{__next40pxDefaultSize:!0,ref:i,className:"components-datetime__date__day",disabled:o,tabIndex:e?0:-1,"aria-label":jsc(c,t,d,n),column:l,isSelected:t,isToday:d,hasEvents:n>0,onClick:X,onKeyDown:G,children:(0,eb.dateI18n)("j",c,-c.getTimezoneOffset())})}function jsc(c,l,t,e){let{formats:b}=(0,eb.getSettings)(),o=[(0,eb.dateI18n)(b.date,c,-c.getTimezoneOffset())];return l&&o.push((0,re.__)("Selected")),t&&o.push((0,re.__)("Today")),e>0&&o.push((0,re.sprintf)((0,re._n)("There is %d event","There are %d events",e),e)),o.join(". ")}var jx=Lsc;var g0=u(F(),1),Kl=u(Gc(),1),rn=u(Dx(),1);var jM=u(Gc(),1),EM=u(Dx(),1);var AM=S("div",{target:"exz187h9"})("box-sizing:border-box;font-size:",O.fontSize,";"),Ex=S("fieldset",{target:"exz187h8"})("border:0;margin:0 0 ",D(4)," 0;padding:0;&:last-child{margin-bottom:0;}"),OM=S("div",{target:"exz187h7"})({name:"pd0mhc",styles:"direction:ltr;display:flex"}),rp=k("&&& ",ld,"{padding-left:",D(2),";padding-right:",D(2),";text-align:center;}",""),QM=S(Ct,{target:"exz187h6"})(rp," width:",D(9),";&&& ",ld,"{padding-right:0;}&&& ",Zb,"{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}"),wM=S("span",{target:"exz187h5"})("border-top:",O.borderWidth," solid ",T.gray[700],";border-bottom:",O.borderWidth," solid ",T.gray[700],";font-size:",O.fontSize,`;line-height:calc( | |
| 66 | - `,O.controlHeight," - ",O.borderWidth,` * 2 | |
| 67 | - );display:inline-block;`),TM=S(Ct,{target:"exz187h4"})(rp," width:",D(9),";&&& ",ld,"{padding-left:0;}&&& ",Zb,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}"),DM=S("div",{target:"exz187h3"})({name:"1ff36h2",styles:"flex-grow:1"}),LM=S(Ct,{target:"exz187h2"})(rp," width:",D(9),";"),UM=S(Ct,{target:"exz187h1"})(rp," width:",D(14),";"),Dh=S("div",{target:"exz187h0"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});var gp=u(J(),1),Esc=()=>{let{timezone:c}=(0,EM.getSettings)(),l=-1*(new Date().getTimezoneOffset()/60);if(Number(c.offset)===l)return null;let t=Number(c.offset)>=0?"+":"",e=c.abbr!==""&&isNaN(Number(c.abbr))?c.abbr:`UTC${t}${c.offsetFormatted}`,b=c.string.replace("_"," "),d=c.string==="UTC"?(0,jM.__)("Coordinated Universal Time"):`(${e}) ${b}`;return b.trim().length===0?(0,gp.jsx)(Dh,{className:"components-datetime__timezone",children:e}):(0,gp.jsx)(Se,{placement:"top",text:d,children:(0,gp.jsx)(Dh,{className:"components-datetime__timezone",children:e})})},MM=Esc;var r0=u(Gc(),1),PM=u(F(),1);var Nb=u(J(),1);function Lh({value:c,defaultValue:l,is12Hour:t,label:e,minutesProps:b,onChange:d}){let[o={hours:new Date().getHours(),minutes:new Date().getMinutes()},n]=ee({value:c,onChange:d,defaultValue:l}),X=m(o.hours),G=zM(o.hours),i=x=>(r,{event:g})=>{if(!xp(g))return;let H=Number(r);n({...o,[x]:x==="hours"&&t?wh(H,X==="PM"):H})},a=x=>()=>{X!==x&&n({...o,hours:wh(G,x==="PM")})};function m(x){return x<12?"AM":"PM"}return(0,Nb.jsxs)(e?Ex:PM.Fragment,{children:[e&&(0,Nb.jsx)(jc.VisualLabel,{as:"legend",children:e}),(0,Nb.jsxs)(Ec,{alignment:"left",expanded:!1,children:[(0,Nb.jsxs)(OM,{className:"components-datetime__time-field components-datetime__time-field-time",children:[(0,Nb.jsx)(QM,{className:"components-datetime__time-field-hours-input",label:(0,r0.__)("Hours"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:String(t?G:o.hours).padStart(2,"0"),step:1,min:t?1:0,max:t?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:i("hours"),__unstableStateReducer:Ux(2)}),(0,Nb.jsx)(wM,{className:"components-datetime__time-separator","aria-hidden":"true",children:":"}),(0,Nb.jsx)(TM,{className:Q("components-datetime__time-field-minutes-input",b?.className),label:(0,r0.__)("Minutes"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:String(o.minutes).padStart(2,"0"),step:1,min:0,max:59,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:(...x)=>{i("minutes")(...x),b?.onChange?.(...x)},__unstableStateReducer:Ux(2),...b})]}),t&&(0,Nb.jsxs)(Wb,{__next40pxDefaultSize:!0,isBlock:!0,label:(0,r0.__)("Select AM or PM"),hideLabelFromVision:!0,value:X,onChange:x=>{a(x)()},children:[(0,Nb.jsx)(tn,{value:"AM",label:(0,r0.__)("AM")}),(0,Nb.jsx)(tn,{value:"PM",label:(0,r0.__)("PM")})]})]})]})}var gt=u(J(),1),Msc=["dmy","mdy","ymd"];function Uh({is12Hour:c,currentTime:l,onChange:t,dateOrder:e,hideLabelFromVision:b=!1}){let[d,o]=(0,g0.useState)(()=>Qh(Lx(l??new Date)));(0,g0.useEffect)(()=>{o(Qh(Lx(l??new Date)))},[l]);let n=[{value:"01",label:(0,Kl.__)("January")},{value:"02",label:(0,Kl.__)("February")},{value:"03",label:(0,Kl.__)("March")},{value:"04",label:(0,Kl.__)("April")},{value:"05",label:(0,Kl.__)("May")},{value:"06",label:(0,Kl.__)("June")},{value:"07",label:(0,Kl.__)("July")},{value:"08",label:(0,Kl.__)("August")},{value:"09",label:(0,Kl.__)("September")},{value:"10",label:(0,Kl.__)("October")},{value:"11",label:(0,Kl.__)("November")},{value:"12",label:(0,Kl.__)("December")}],{day:X,month:G,year:i,minutes:a,hours:m}=(0,g0.useMemo)(()=>({day:(0,rn.date)("d",d),month:(0,rn.date)("m",d),year:(0,rn.date)("Y",d),minutes:(0,rn.date)("i",d),hours:(0,rn.date)("H",d)}),[d]),s=I=>(B,{event:y})=>{if(!xp(y))return;let C=Number(B),V=x0(d,{[I]:C});o(V),t?.((0,rn.date)(xn,V))},x=({hours:I,minutes:p})=>{let B=x0(d,{hours:I,minutes:p});o(B),t?.((0,rn.date)(xn,B))},r=(0,gt.jsx)(LM,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,Kl.__)("Day"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:X,step:1,min:1,max:Th(Number(i),Number(G)-1),required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:s("date")},"day"),g=(0,gt.jsx)(DM,{children:(0,gt.jsx)(Bb,{className:"components-datetime__time-field components-datetime__time-field-month",label:(0,Kl.__)("Month"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:G,options:n,onChange:I=>{let p=x0(d,{month:Number(I)-1});o(p),t?.((0,rn.date)(xn,p))}})},"month"),H=(0,gt.jsx)(UM,{className:"components-datetime__time-field components-datetime__time-field-year",label:(0,Kl.__)("Year"),hideLabelFromVision:!0,__next40pxDefaultSize:!0,value:i,step:1,min:1,max:9999,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:s("year"),__unstableStateReducer:Ux(4)},"year"),Z=c?"mdy":"dmy",W=(e&&Msc.includes(e)?e:Z).split("").map(I=>{switch(I){case"d":return r;case"m":return g;case"y":return H;default:return null}});return(0,gt.jsxs)(AM,{className:"components-datetime__time",children:[(0,gt.jsxs)(Ex,{children:[b?(0,gt.jsx)(wc,{as:"legend",children:(0,Kl.__)("Time")}):(0,gt.jsx)(jc.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Kl.__)("Time")}),(0,gt.jsxs)(Ec,{className:"components-datetime__time-wrapper",children:[(0,gt.jsx)(Lh,{value:{hours:Number(m),minutes:Number(a)},is12Hour:c,onChange:x}),(0,gt.jsx)(ut,{}),(0,gt.jsx)(MM,{})]})]}),(0,gt.jsxs)(Ex,{children:[b?(0,gt.jsx)(wc,{as:"legend",children:(0,Kl.__)("Date")}):(0,gt.jsx)(jc.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Kl.__)("Date")}),(0,gt.jsx)(Ec,{className:"components-datetime__time-wrapper",children:W})]})]})}Uh.TimeInput=Lh;Object.assign(Uh.TimeInput,{displayName:"TimePicker.TimeInput"});var Mx=Uh;var _M=u(F(),1);var KM=S(Gl,{target:"e1p5onf00"})({name:"1khn195",styles:"box-sizing:border-box"});var CX=u(J(),1),Psc=()=>{};function Ksc({currentDate:c,is12Hour:l,dateOrder:t,isInvalidDate:e,onMonthPreviewed:b=Psc,onChange:d,events:o,startOfWeek:n},X){return(0,CX.jsx)(KM,{ref:X,className:"components-datetime",spacing:4,children:(0,CX.jsxs)(CX.Fragment,{children:[(0,CX.jsx)(Mx,{currentTime:c,onChange:d,is12Hour:l,dateOrder:t}),(0,CX.jsx)(jx,{currentDate:c,onChange:d,isInvalidDate:e,events:o,onMonthPreviewed:b,startOfWeek:n})]})})}var qM=(0,_M.forwardRef)(Ksc);qM.displayName="DateTimePicker";var $M=qM;var c7=$M;var l7={name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"};var t7=u(F(),1),e7=(0,t7.createContext)(!1);e7.displayName="DisabledContext";var jh=e7;var Eh=u(J(),1),{Consumer:_sc,Provider:qsc}=jh;function Mh({className:c,children:l,isDisabled:t=!0,...e}){let b=ic();return(0,Eh.jsx)(qsc,{value:t,children:(0,Eh.jsx)("div",{inert:t?"true":void 0,className:t?b(l7,c,"components-disabled"):void 0,...e,children:l})})}Mh.Context=jh;Mh.Consumer=_sc;var b7=Mh;var d7=u(F(),1),o7=u(J(),1),$sc=({visible:c,children:l,...t},e)=>{let b=kn({open:c});return(0,o7.jsx)(_r,{store:b,ref:e,...t,children:l})},Ph=(0,d7.forwardRef)($sc);Ph.displayName="DisclosureContent";var a7=u(ec(),1),Px=u(F(),1);var Kh="data-wp-hash";function _h(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&lxc(document)),c.__wpStyleRuntime}function cxc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${Kh}]`))if(t.getAttribute(Kh)===l)return!0;return!1}function X7(c,l,t){if(!c.head)return;let e=_h(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(cxc(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(Kh,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function lxc(c){let l=_h();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)X7(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function txc(c,l){let t=_h();t.styles.set(c,l);for(let e of t.documents.keys())X7(e,c,l)}typeof process>"u",txc("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 n7={slot:"_11fc52b637ff8a7e__slot"},G7="data-wp-compat-overlay-slot";function exc(){return typeof document>"u"?null:document}function bxc(){let c;try{c=window.top?.wp}catch{}let l=c??window.wp;return typeof l?.components=="object"&&l.components!==null}var gn=null;function dxc(c){let l=c.createElement("div");return l.setAttribute(G7,""),n7.slot&&l.classList.add(n7.slot),c.body.appendChild(l),l}function qh(){if(typeof window>"u"||!bxc()&&window.__wpUiCompatOverlaySlotEnabled!==!0)return;let c=exc();if(!c||!c.body)return;if(gn&&gn.ownerDocument===c&&gn.isConnected)return gn;let l=c.querySelector(`[${G7}]`);return l instanceof HTMLDivElement?(gn=l,l):(gn?.isConnected&&gn.remove(),gn=dxc(c),gn)}var Z0=u(J(),1),cC="data-wp-hash";function lC(){let c=globalThis;return c.__wpStyleRuntime||(c.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&nxc(document)),c.__wpStyleRuntime}function oxc(c,l){if(!c.head)return!1;for(let t of c.head.querySelectorAll(`style[${cC}]`))if(t.getAttribute(cC)===l)return!0;return!1}function u7(c,l,t){if(!c.head)return;let e=lC(),b=e.injectedStyles.get(c);if(b||(b=new Set,e.injectedStyles.set(c,b)),b.has(l))return;if(oxc(c,l)){b.add(l);return}let d=c.createElement("style");d.setAttribute(cC,l),d.appendChild(c.createTextNode(t)),c.head.appendChild(d),b.add(l)}function nxc(c){let l=lC();l.documents.set(c,(l.documents.get(c)??0)+1);for(let[t,e]of l.styles)u7(c,t,e);return()=>{let t=l.documents.get(c);if(t!==void 0){if(t<=1){l.documents.delete(c);return}l.documents.set(c,t-1)}}}function Xxc(c,l){let t=lC();t.styles.set(c,l);for(let e of t.documents.keys())u7(e,c,l)}typeof process>"u",Xxc("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 tC={"invisible-drag-image":"_3476c2e530687f96__invisible-drag-image",clone:"_6f00e51ab7574306__clone","is-in-compat-slot":"_664ecd37377558df__is-in-compat-slot"},Gxc=[tC["invisible-drag-image"],"components-draggable__invisible-drag-image"].filter(Boolean),ixc=[tC.clone,"components-draggable__clone"].filter(Boolean),i7="is-dragging-components-draggable",$h=0;function axc({children:c,onDragStart:l,onDragOver:t,onDragEnd:e,appendToOwnerDocument:b=!1,cloneClassname:d,elementId:o,transferData:n,__experimentalTransferDataType:X="text",__experimentalDragComponent:G}){let i=(0,Px.useRef)(null),a=(0,Px.useRef)(()=>{});function m(x){x.preventDefault(),a.current(),e&&e(x)}function s(x){let{ownerDocument:r}=x.target,g=qh(),H=g?.ownerDocument===r?g:null;x.dataTransfer.setData(X,JSON.stringify(n));let Z=r.createElement("div");Z.style.top="0",Z.style.left="0";let R=r.createElement("div");typeof x.dataTransfer.setDragImage=="function"&&(R.classList.add(...Gxc),r.body.appendChild(R),x.dataTransfer.setDragImage(R,0,0)),Z.classList.add(...ixc);let W=tC["is-in-compat-slot"];H&&W&&Z.classList.add(W),d&&Z.classList.add(d);let I=0,p=0;if(i.current){I=x.clientX,p=x.clientY,Z.style.transform=`translate( ${I}px, ${p}px )`;let h=r.createElement("div");h.innerHTML=i.current.innerHTML,Z.appendChild(h),(H??r.body).appendChild(Z)}else{let h=r.getElementById(o),Y=h.getBoundingClientRect(),N=h.parentNode,A=Y.top,w=Y.left;Z.style.width=`${Y.width+$h*2}px`;let z=h.cloneNode(!0);z.id=`clone-${o}`,I=w-$h,p=A-$h,Z.style.transform=`translate( ${I}px, ${p}px )`,Array.from(z.querySelectorAll("iframe")).forEach(f=>f.parentNode?.removeChild(f)),Z.appendChild(z),H?H.appendChild(Z):b?r.body.appendChild(Z):N?.appendChild(Z)}let B=x.clientX,y=x.clientY;function C(h){if(B===h.clientX&&y===h.clientY)return;let Y=I+h.clientX-B,N=p+h.clientY-y;Z.style.transform=`translate( ${Y}px, ${N}px )`,B=h.clientX,y=h.clientY,I=Y,p=N,t&&t(h)}let V=(0,a7.throttle)(C,16);r.addEventListener("dragover",V),r.body.classList.add(i7),l&&l(x),a.current=()=>{Z&&Z.parentNode&&Z.parentNode.removeChild(Z),R&&R.parentNode&&R.parentNode.removeChild(R),r.body.classList.remove(i7),r.removeEventListener("dragover",V)}}return(0,Px.useEffect)(()=>()=>{a.current()},[]),(0,Z0.jsxs)(Z0.Fragment,{children:[c({onDraggableStart:s,onDraggableEnd:m}),G&&(0,Z0.jsx)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:i,children:G})]})}var m7=axc;var s7=u(Gc(),1),Zp=u(F(),1);var eC=u(c0(),1),x7=u(ec(),1),si=u(J(),1);function uxc({className:c,icon:l=x2,label:t,onFilesDrop:e,onHTMLDrop:b,onDrop:d,isEligible:o=()=>!0,...n}){let[X,G]=(0,Zp.useState)(),[i,a]=(0,Zp.useState)(),[m,s]=(0,Zp.useState)(),x=(0,x7.__experimentalUseDropZone)({onDrop(g){if(!g.dataTransfer)return;let H=(0,eC.getFilesFromDataTransfer)(g.dataTransfer),Z=g.dataTransfer.getData("text/html");Z&&b?b(Z):H.length&&e?e(H):d&&d(g)},onDragStart(g){G(!0),g.dataTransfer&&(g.dataTransfer.types.includes("text/html")?s(!!b):g.dataTransfer.types.includes("Files")||(0,eC.getFilesFromDataTransfer)(g.dataTransfer).length>0?s(!!e):s(!!d&&o(g.dataTransfer)))},onDragEnd(){a(!1),G(!1),s(void 0)},onDragEnter(){a(!0)},onDragLeave(){a(!1)}}),r=Q("components-drop-zone",c,{"is-active":m,"is-dragging-over-document":X,"is-dragging-over-element":i});return(0,si.jsx)("div",{...n,ref:x,className:r,children:(0,si.jsx)("div",{className:"components-drop-zone__content",children:(0,si.jsxs)("div",{className:"components-drop-zone__content-inner",children:[(0,si.jsx)(mt,{icon:l,className:"components-drop-zone__content-icon"}),(0,si.jsx)("span",{className:"components-drop-zone__content-text",children:t||(0,s7.__)("Drop files to upload")})]})})})}var r7=uxc;var g7=u(ml(),1);function Z7({children:c}){return(0,g7.default)("wp.components.DropZoneProvider",{since:"5.8",hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),c}var C7=u(dR(),1),Y7=u(F(),1),xo=u(Gc(),1);var H7=u(F(),1);var R7=u(Gc(),1);var I7=u(ec(),1),fb=u(J(),1);function W7({label:c,value:l,colors:t,disableCustomColors:e,enableAlpha:b,onChange:d}){let[o,n]=(0,H7.useState)(!1),X=(0,I7.useInstanceId)(W7,"color-list-picker-option"),G=`${X}__label`,i=`${X}__content`;return(0,fb.jsxs)(fb.Fragment,{children:[(0,fb.jsx)(bc,{__next40pxDefaultSize:!0,className:"components-color-list-picker__swatch-button",id:G,onClick:()=>n(a=>!a),"aria-expanded":o,"aria-controls":i,icon:l?(0,fb.jsx)($d,{colorValue:l,className:"components-color-list-picker__swatch-color"}):(0,fb.jsx)(qc,{icon:cx}),text:c}),(0,fb.jsx)("div",{role:"group",id:i,"aria-labelledby":G,"aria-hidden":!o,children:o&&(0,fb.jsx)(HX,{"aria-label":(0,R7.__)("Color options"),className:"components-color-list-picker__color-picker",colors:t,value:l,clearable:!1,onChange:d,disableCustomColors:e,enableAlpha:b})})]})}function mxc({colors:c,labels:l,value:t=[],disableCustomColors:e,enableAlpha:b,onChange:d}){return(0,fb.jsx)("div",{className:"components-color-list-picker",children:l.map((o,n)=>(0,fb.jsx)(W7,{label:o,value:t[n],colors:c,disableCustomColors:e,enableAlpha:b,onChange:X=>{let G=t.slice();G[n]=X,d(G)}},n))})}var p7=mxc;Ne([fe]);function B7(c){return!c||c.length<2?["#000","#fff"]:c.map(({color:l})=>({color:l,brightness:Rc(l).brightness()})).reduce(([l,t],e)=>[e.brightness<=l.brightness?e:l,e.brightness>=t.brightness?e:t],[{brightness:1,color:""},{brightness:0,color:""}]).map(({color:l})=>l)}function H0(c=[],l="90deg"){let t=100/c.length,e=c.map((b,d)=>`${b} ${d*t}%, ${b} ${(d+1)*t}%`).join(", ");return`linear-gradient( ${l}, ${e} )`}function y7(c){return c.map((l,t)=>({position:t*100/(c.length-1),color:l}))}function V7(c=[]){return c.map(({color:l})=>l)}var J7=u(J(),1),sxc=["#333","#CCC"];function h7({value:c,onChange:l}){let t=!!c,e=t?c:sxc,b=H0(e),d=y7(e);return(0,J7.jsx)(QW,{disableInserter:!0,background:b,hasGradient:t,value:d,onChange:o=>{let n=V7(o);l(n)}})}var so=u(J(),1);function xxc({asButtons:c,loop:l,clearable:t=!0,unsetable:e=!0,colorPalette:b,duotonePalette:d,disableCustomColors:o,disableCustomDuotone:n,value:X,onChange:G,"aria-label":i,"aria-labelledby":a,...m}){let[s,x]=(0,Y7.useMemo)(()=>B7(b),[b]),r=X==="unset",g=(0,xo.__)("Unset"),H=(0,so.jsx)(ue.Option,{value:"unset",isSelected:r,tooltipText:g,"aria-label":g,className:"components-duotone-picker__color-indicator",onClick:()=>{G(r?void 0:"unset")}},"unset"),Z=d.map(({colors:p,slug:B,name:y})=>{let C={background:H0(p,"135deg"),color:"transparent"},V=y??(0,xo.sprintf)((0,xo.__)("Duotone code: %s"),B),h=y?(0,xo.sprintf)((0,xo.__)("Duotone: %s"),y):V,Y=(0,C7.default)(p,X);return(0,so.jsx)(ue.Option,{value:p,isSelected:Y,"aria-label":h,tooltipText:V,style:C,onClick:()=>{G(Y?void 0:p)}},B)}),{metaProps:R,labelProps:W}=ci(c,l,i,a),I=e?[H,...Z]:Z;return(0,so.jsx)(ue,{...m,...R,...W,options:I,actions:!!t&&(0,so.jsx)(ue.ButtonAction,{onClick:()=>G(void 0),accessibleWhenDisabled:!0,disabled:!X,children:(0,xo.__)("Clear")}),children:(0,so.jsx)(ut,{paddingTop:I.length===0?0:4,children:(0,so.jsxs)(Gl,{spacing:3,children:[!o&&!n&&(0,so.jsx)(h7,{value:r?void 0:X,onChange:G}),!n&&(0,so.jsx)(p7,{labels:[(0,xo.__)("Shadows"),(0,xo.__)("Highlights")],colors:b,value:r?void 0:X,disableCustomColors:o,enableAlpha:!0,onChange:p=>{p[0]||(p[0]=s),p[1]||(p[1]=x);let B=p.length>=2?p:void 0;G(B)}})]})})})}var bC=xxc;var dC=u(J(),1);function rxc({values:c}){return c?(0,dC.jsx)($d,{colorValue:H0(c,"135deg")}):(0,dC.jsx)(qc,{icon:cx})}var oC=rxc;var Hp=u(Gc(),1),F7=u(F(),1),Kx=u(J(),1);function gxc(c,l){let{href:t,children:e,className:b,rel:d="",...o}=c,n=[...new Set([...d.split(" "),"external","noopener"].filter(Boolean))].join(" "),X=Q("components-external-link",b),G=!!t?.startsWith("#");return(0,Kx.jsxs)("a",{...o,className:X,href:t,onClick:a=>{G&&a.preventDefault(),c.onClick&&c.onClick(a)},target:"_blank",rel:n,ref:l,children:[(0,Kx.jsx)("span",{className:"components-external-link__contents",children:e}),(0,Kx.jsx)("span",{className:Q("components-external-link__icon","wp-exclude-emoji"),"aria-label":(0,Hp.__)("(opens in a new tab)"),children:(0,Hp.isRTL)()?"\u2196":"\u2197"})]})}var v7=(0,F7.forwardRef)(gxc);v7.displayName="ExternalLink";var Rp=v7;var P7=u(Gc(),1),Zn=u(F(),1),Wp=u(ec(),1);var _x=u(Gc(),1);var R0={width:200,height:170},Zxc=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function Hxc(c=""){let l=c.split(".");return l[l.length-1]}function N7(c=""){return c?c.startsWith("data:video/")||Zxc.includes(Hxc(c)):!1}function nC(c){return Math.round(c*100)}var f7=S(ac,{target:"eeew7dm9"})("border:0;padding:0;margin:0;font-family:",Cl("default.fontFamily"),";font-size:",Cl("default.fontSize"),";",_e,";"),S7=S("div",{target:"eeew7dm8"})({name:"jqnsxy",styles:"background-color:transparent;display:flex;text-align:center;width:100%"}),k7=S("div",{target:"eeew7dm7"})("align-items:center;border-radius:",O.radiusSmall,";cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;&:after{border-radius:inherit;bottom:0;box-shadow:inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );content:'';left:0;pointer-events:none;position:absolute;right:0;top:0;}img,video{border-radius:inherit;box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:100%;}"),z7=S("div",{target:"eeew7dm6"})("background:",T.gray[100],";border-radius:inherit;box-sizing:border-box;height:",R0.height,"px;max-width:280px;min-width:",R0.width,"px;width:100%;"),A7=S(no,{target:"eeew7dm5"})({name:"1d3w5wq",styles:"width:100%"}),Rxc={name:"1mn7kwb",styles:"padding-bottom:1em"},Ixc=({hasHelpText:c=!1})=>c?Rxc:void 0,O7=S(Zl,{target:"eeew7dm4"})("max-width:320px;padding-top:1em;",Ixc,";"),Q7=S("div",{target:"eeew7dm3"})("left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );z-index:1;@media not ( prefers-reduced-motion ){transition:opacity 100ms linear;}opacity:",({showOverlay:c})=>c?1:0,";"),w7=S("div",{target:"eeew7dm2"})({name:"1yzbo24",styles:"background:rgba( 255, 255, 255, 0.4 );backdrop-filter:blur( 16px ) saturate( 180% );position:absolute;transform:translateZ( 0 )"}),XC=S(w7,{target:"eeew7dm1"})({name:"1sw8ur",styles:"height:1px;left:1px;right:1px"}),GC=S(w7,{target:"eeew7dm0"})({name:"188vg4t",styles:"width:1px;top:1px;bottom:1px"});var I0=u(J(),1),Wxc=0,pxc=100,Bxc=()=>{};function D7({hasHelpText:c,onChange:l=Bxc,point:t={x:.5,y:.5}}){let e=nC(t.x),b=nC(t.y),d=(o,n)=>{if(o===void 0)return;let X=parseInt(o,10);isNaN(X)||l({...t,[n]:X/100})};return(0,I0.jsxs)(O7,{className:"focal-point-picker__controls",hasHelpText:c,gap:4,children:[(0,I0.jsx)(T7,{label:(0,_x.__)("Left"),"aria-label":(0,_x.__)("Focal point left position"),value:[e,"%"].join(""),onChange:o=>d(o,"x"),dragDirection:"e"}),(0,I0.jsx)(T7,{label:(0,_x.__)("Top"),"aria-label":(0,_x.__)("Focal point top position"),value:[b,"%"].join(""),onChange:o=>d(o,"y"),dragDirection:"s"})]})}function T7(c){return(0,I0.jsx)(A7,{__next40pxDefaultSize:!0,className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:pxc,min:Wxc,units:[{value:"%",label:"%"}],...c})}var L7=S("div",{target:"e19snlhg0"})("background-color:transparent;cursor:grab;height:40px;margin:-20px 0 0 -20px;position:absolute;user-select:none;width:40px;will-change:transform;z-index:10000;background:rgba( 255, 255, 255, 0.4 );border:1px solid rgba( 255, 255, 255, 0.4 );border-radius:",O.radiusRound,";backdrop-filter:blur( 16px ) saturate( 180% );box-shadow:rgb( 0 0 0 / 10% ) 0px 0px 8px;@media not ( prefers-reduced-motion ){transition:transform 100ms linear;}",({isDragging:c})=>c&&` | |
| 111 | + `,";");var fr=class extends Date{constructor(){super(),this.setTime(arguments.length===0?Date.now():arguments.length===1?typeof arguments[0]=="string"?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}},mne=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(mne.test(e)){let t=Date.prototype[e.replace(mne,"$1UTC")];t&&(fr.prototype[e]=t)}});var Nzt=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),Szt=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),wzt=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var jl=u(Yp(),1);function Np(e){if(typeof e=="string")return/Z|[+-]\d{2}(:?\d{2})?$/.test(e)?new fr(new Date(e)):new fr((0,jl.getDate)(e).getTime());let t=e instanceof Date?e.getTime():e;return new fr(t)}function ls(e){let t=Number((0,jl.date)("Y",e)),c=Number((0,jl.date)("n",e))-1,n=Number((0,jl.date)("j",e));return new Date(t,c,n,0,0,0,0)}function T3(e,t){return t?(e%12+12)%24:e%12}function Xne(e){return e%12||12}function Sp(e){return(t,c)=>{let n={...t};return(c.type===bb||c.type===ga||c.type===ub)&&n.value!==void 0&&(n.value=n.value.toString().padStart(e,"0")),n}}var A3=(e,t)=>new Date(e,t+1,0).getDate();function HX(e,t){let c={year:Number((0,jl.date)("Y",e)),month:Number((0,jl.date)("n",e))-1,date:Number((0,jl.date)("j",e)),hours:Number((0,jl.date)("H",e)),minutes:Number((0,jl.date)("i",e)),seconds:Number((0,jl.date)("s",e)),...t},n=A3(c.year,c.month);c.date=Math.min(c.date,n);let l=String(c.year).padStart(4,"0"),o=String(c.month+1).padStart(2,"0"),d=String(c.date).padStart(2,"0"),i=String(c.hours).padStart(2,"0"),r=String(c.minutes).padStart(2,"0"),a=String(c.seconds).padStart(2,"0"),s=`${l}-${o}-${d}T${i}:${r}:${a}`;return new fr((0,jl.getDate)(s).getTime())}function Lh(e){let t=e.target?.ownerDocument.defaultView?.HTMLInputElement??HTMLInputElement;return e.target instanceof t?e.target.validity.valid:!1}var yr="Y-m-d\\TH:i:s";var Bo=u(F(),1);function w2e({currentDate:e,onChange:t,events:c=[],isInvalidDate:n,onMonthPreviewed:l,startOfWeek:o=0}){let d=Np(e??new Date),{calendar:i,viewing:r,setSelected:a,setViewing:s,isSelected:b,viewPreviousMonth:m,viewNextMonth:X}=lne({selected:[ls(d)],viewing:ls(d),weekStartsOn:o}),[G,g]=(0,os.useState)(ls(d)),[x,H]=(0,os.useState)(!1),[p,R]=(0,os.useState)(e);return e!==p&&(R(e),a([ls(d)]),s(ls(d)),g(ls(d))),(0,Bo.jsxs)(one,{className:"components-datetime__date",role:"application","aria-label":(0,ol.__)("Calendar"),children:[(0,Bo.jsxs)(dne,{children:[(0,Bo.jsx)(ine,{icon:(0,ol.isRTL)()?Vf:Bf,variant:"tertiary","aria-label":(0,ol.__)("View previous month"),onClick:()=>{m(),g(bX(G,1));let I=bX(r,1);l?.((0,Ml.dateI18n)(yr,I,-I.getTimezoneOffset()))},size:"compact"}),(0,Bo.jsxs)(ane,{level:3,children:[(0,Bo.jsx)("strong",{children:(0,Ml.dateI18n)("F",r,-r.getTimezoneOffset())})," ",(0,Ml.dateI18n)("Y",r,-r.getTimezoneOffset())]}),(0,Bo.jsx)(rne,{icon:(0,ol.isRTL)()?Bf:Vf,variant:"tertiary","aria-label":(0,ol.__)("View next month"),onClick:()=>{X(),g(rd(G,1));let I=rd(r,1);l?.((0,Ml.dateI18n)(yr,I,-I.getTimezoneOffset()))},size:"compact"})]}),(0,Bo.jsxs)(sne,{onFocus:()=>H(!0),onBlur:()=>H(!1),children:[i[0][0].map(I=>(0,Bo.jsx)(bne,{children:(0,Ml.dateI18n)("D",I,-I.getTimezoneOffset())},I.toString())),i[0].map(I=>I.map((f,y)=>QN(f,r)?(0,Bo.jsx)(k2e,{day:f,column:y+1,isSelected:b(f),isFocusable:jb(f,G),isFocusAllowed:x,isToday:zN(f,ls(new Date)),isInvalid:n?n(f):!1,numEvents:c.filter(Z=>zN(Z.date,f)).length,onClick:()=>{a([f]),g(f);let Z=HX(d,{year:f.getFullYear(),month:f.getMonth(),date:f.getDate()});t?.((0,Ml.date)(yr,Z))},onKeyDown:Z=>{let W;if(Z.key==="ArrowLeft"&&(W=$a(f,(0,ol.isRTL)()?1:-1)),Z.key==="ArrowRight"&&(W=$a(f,(0,ol.isRTL)()?-1:1)),Z.key==="ArrowUp"&&(W=ate(f,1)),Z.key==="ArrowDown"&&(W=aX(f,1)),Z.key==="PageUp"&&(W=bX(f,1)),Z.key==="PageDown"&&(W=rd(f,1)),Z.key==="Home"){let h=(f.getDay()-o+7)%7;W=ote(f,h)}if(Z.key==="End"){let v=f.getDay(),h=(o+6-v)%7;W=$a(f,h)}W&&(Z.preventDefault(),g(W),QN(W,r)||(s(W),l?.((0,Ml.dateI18n)(yr,W,-W.getTimezoneOffset()))))}},f.toString()):null))]})]})}function k2e({day:e,column:t,isSelected:c,isFocusable:n,isFocusAllowed:l,isToday:o,isInvalid:d,numEvents:i,onClick:r,onKeyDown:a}){let s=(0,os.useRef)(null);return(0,os.useEffect)(()=>{s.current&&n&&l&&s.current.focus()},[n]),(0,Bo.jsx)(une,{__next40pxDefaultSize:!0,ref:s,className:"components-datetime__date__day",disabled:d,tabIndex:n?0:-1,"aria-label":z2e(e,c,o,i),column:t,isSelected:c,isToday:o,hasEvents:i>0,onClick:r,onKeyDown:a,children:(0,Ml.dateI18n)("j",e,-e.getTimezoneOffset())})}function z2e(e,t,c,n){let{formats:l}=(0,Ml.getSettings)(),d=[(0,Ml.dateI18n)(l.date,e,-e.getTimezoneOffset())];return t&&d.push((0,ol.__)("Selected")),c&&d.push((0,ol.__)("Today")),n>0&&d.push((0,ol.sprintf)((0,ol._n)("There is %d event","There are %d events",n),n)),d.join(". ")}var wp=w2e;var ZX=u(T(),1),Sc=u(Ze(),1),Wr=u(Yp(),1);var fne=u(Ze(),1),yne=u(Yp(),1);var Gne=q("div",{target:"exz187h9"})("box-sizing:border-box;font-size:",de.fontSize,";"),kp=q("fieldset",{target:"exz187h8"})("border:0;margin:0 0 ",K(4)," 0;padding:0;&:last-child{margin-bottom:0;}"),gne=q("div",{target:"exz187h7"})({name:"pd0mhc",styles:"direction:ltr;display:flex"}),Dh=Re("&&& ",Po,"{padding-left:",K(2),";padding-right:",K(2),";text-align:center;}",""),xne=q($n,{target:"exz187h6"})(Dh," width:",K(9),";&&& ",Po,"{padding-right:0;}&&& ",Mo,"{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}"),pne=q("span",{target:"exz187h5"})("border-top:",de.borderWidth," solid ",oe.gray[700],";border-bottom:",de.borderWidth," solid ",oe.gray[700],";font-size:",de.fontSize,`;line-height:calc( | |
| 112 | + `,de.controlHeight," - ",de.borderWidth,` * 2 | |
| 113 | + );display:inline-block;`),Rne=q($n,{target:"exz187h4"})(Dh," width:",K(9),";&&& ",Po,"{padding-left:0;}&&& ",Mo,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}"),Hne=q("div",{target:"exz187h3"})({name:"1ff36h2",styles:"flex-grow:1"}),Ine=q($n,{target:"exz187h2"})(Dh," width:",K(9),";"),Zne=q($n,{target:"exz187h1"})(Dh," width:",K(14),";"),O3=q("div",{target:"exz187h0"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});var _h=u(F(),1),T2e=()=>{let{timezone:e}=(0,yne.getSettings)(),t=-1*(new Date().getTimezoneOffset()/60);if(Number(e.offset)===t)return null;let c=Number(e.offset)>=0?"+":"",n=e.abbr!==""&&isNaN(Number(e.abbr))?e.abbr:`UTC${c}${e.offsetFormatted}`,l=e.string.replace("_"," "),o=e.string==="UTC"?(0,fne.__)("Coordinated Universal Time"):`(${n}) ${l}`;return l.trim().length===0?(0,_h.jsx)(O3,{className:"components-datetime__timezone",children:n}):(0,_h.jsx)(Hl,{placement:"top",text:o,children:(0,_h.jsx)(O3,{className:"components-datetime__timezone",children:n})})},Wne=T2e;var IX=u(Ze(),1),hne=u(T(),1);var vo=u(F(),1);function Q3({value:e,defaultValue:t,is12Hour:c,label:n,minutesProps:l,onChange:o}){let[d={hours:new Date().getHours(),minutes:new Date().getMinutes()},i]=Do({value:e,onChange:o,defaultValue:t}),r=m(d.hours),a=Xne(d.hours),s=G=>(g,{event:x})=>{if(!Lh(x))return;let H=Number(g);i({...d,[G]:G==="hours"&&c?T3(H,r==="PM"):H})},b=G=>()=>{r!==G&&i({...d,hours:T3(a,G==="PM")})};function m(G){return G<12?"AM":"PM"}return(0,vo.jsxs)(n?kp:hne.Fragment,{children:[n&&(0,vo.jsx)(at.VisualLabel,{as:"legend",children:n}),(0,vo.jsxs)(xt,{alignment:"left",expanded:!1,children:[(0,vo.jsxs)(gne,{className:"components-datetime__time-field components-datetime__time-field-time",children:[(0,vo.jsx)(xne,{className:"components-datetime__time-field-hours-input",label:(0,IX.__)("Hours"),hideLabelFromVision:!0,value:String(c?a:d.hours).padStart(2,"0"),step:1,min:c?1:0,max:c?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:s("hours"),__unstableStateReducer:Sp(2)}),(0,vo.jsx)(pne,{className:"components-datetime__time-separator","aria-hidden":"true",children:":"}),(0,vo.jsx)(Rne,{className:w("components-datetime__time-field-minutes-input",l?.className),label:(0,IX.__)("Minutes"),hideLabelFromVision:!0,value:String(d.minutes).padStart(2,"0"),step:1,min:0,max:59,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:(...G)=>{s("minutes")(...G),l?.onChange?.(...G)},__unstableStateReducer:Sp(2),...l})]}),c&&(0,vo.jsxs)(Kd,{isBlock:!0,label:(0,IX.__)("Select AM or PM"),hideLabelFromVision:!0,value:r,onChange:G=>{b(G)()},children:[(0,vo.jsx)(cr,{value:"AM",label:(0,IX.__)("AM")}),(0,vo.jsx)(cr,{value:"PM",label:(0,IX.__)("PM")})]})]})]})}var cn=u(F(),1),A2e=["dmy","mdy","ymd"];function U3({is12Hour:e,currentTime:t,onChange:c,dateOrder:n,hideLabelFromVision:l=!1}){let[o,d]=(0,ZX.useState)(()=>ON(Np(t??new Date)));(0,ZX.useEffect)(()=>{d(ON(Np(t??new Date)))},[t]);let i=[{value:"01",label:(0,Sc.__)("January")},{value:"02",label:(0,Sc.__)("February")},{value:"03",label:(0,Sc.__)("March")},{value:"04",label:(0,Sc.__)("April")},{value:"05",label:(0,Sc.__)("May")},{value:"06",label:(0,Sc.__)("June")},{value:"07",label:(0,Sc.__)("July")},{value:"08",label:(0,Sc.__)("August")},{value:"09",label:(0,Sc.__)("September")},{value:"10",label:(0,Sc.__)("October")},{value:"11",label:(0,Sc.__)("November")},{value:"12",label:(0,Sc.__)("December")}],{day:r,month:a,year:s,minutes:b,hours:m}=(0,ZX.useMemo)(()=>({day:(0,Wr.date)("d",o),month:(0,Wr.date)("m",o),year:(0,Wr.date)("Y",o),minutes:(0,Wr.date)("i",o),hours:(0,Wr.date)("H",o)}),[o]),X=f=>(Z,{event:W})=>{if(!Lh(W))return;let v=Number(Z),h=HX(o,{[f]:v});d(h),c?.((0,Wr.date)(yr,h))},G=({hours:f,minutes:y})=>{let Z=HX(o,{hours:f,minutes:y});d(Z),c?.((0,Wr.date)(yr,Z))},g=(0,cn.jsx)(Ine,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,Sc.__)("Day"),hideLabelFromVision:!0,value:r,step:1,min:1,max:A3(Number(s),Number(a)-1),required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:X("date")},"day"),x=(0,cn.jsx)(Hne,{children:(0,cn.jsx)(ei,{className:"components-datetime__time-field components-datetime__time-field-month",label:(0,Sc.__)("Month"),hideLabelFromVision:!0,value:a,options:i,onChange:f=>{let y=HX(o,{month:Number(f)-1});d(y),c?.((0,Wr.date)(yr,y))}})},"month"),H=(0,cn.jsx)(Zne,{className:"components-datetime__time-field components-datetime__time-field-year",label:(0,Sc.__)("Year"),hideLabelFromVision:!0,value:s,step:1,min:1,max:9999,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:X("year"),__unstableStateReducer:Sp(4)},"year"),p=e?"mdy":"dmy",I=(n&&A2e.includes(n)?n:p).split("").map(f=>{switch(f){case"d":return g;case"m":return x;case"y":return H;default:return null}});return(0,cn.jsxs)(Gne,{className:"components-datetime__time",children:[(0,cn.jsxs)(kp,{children:[l?(0,cn.jsx)(bt,{as:"legend",children:(0,Sc.__)("Time")}):(0,cn.jsx)(at.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Sc.__)("Time")}),(0,cn.jsxs)(xt,{className:"components-datetime__time-wrapper",children:[(0,cn.jsx)(Q3,{value:{hours:Number(m),minutes:Number(b)},is12Hour:e,onChange:G}),(0,cn.jsx)(Pc,{}),(0,cn.jsx)(Wne,{})]})]}),(0,cn.jsxs)(kp,{children:[l?(0,cn.jsx)(bt,{as:"legend",children:(0,Sc.__)("Date")}):(0,cn.jsx)(at.VisualLabel,{as:"legend",className:"components-datetime__time-legend",children:(0,Sc.__)("Date")}),(0,cn.jsx)(xt,{className:"components-datetime__time-wrapper",children:I})]})]})}U3.TimeInput=Q3;Object.assign(U3.TimeInput,{displayName:"TimePicker.TimeInput"});var zp=U3;var vne=u(T(),1);var Bne=q(Nt,{target:"e1p5onf00"})({name:"1khn195",styles:"box-sizing:border-box"});var ds=u(F(),1),O2e=()=>{};function Q2e({currentDate:e,is12Hour:t,dateOrder:c,isInvalidDate:n,onMonthPreviewed:l=O2e,onChange:o,events:d,startOfWeek:i},r){return(0,ds.jsx)(Bne,{ref:r,className:"components-datetime",spacing:4,children:(0,ds.jsxs)(ds.Fragment,{children:[(0,ds.jsx)(zp,{currentTime:e,onChange:o,is12Hour:t,dateOrder:c}),(0,ds.jsx)(wp,{currentDate:e,onChange:o,isInvalidDate:n,events:d,onMonthPreviewed:l,startOfWeek:i})]})})}var Vne=(0,vne.forwardRef)(Q2e);Vne.displayName="DateTimePicker";var Cne=Vne;var Fne=Cne;var Jne=u(T(),1),Yne=(0,Jne.createContext)(!1);Yne.displayName="DisabledContext";var E3=Yne;var D3=u(F(),1),L3="data-wp-hash";function _3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&E2e(document)),e.__wpStyleRuntime}function U2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${L3}]`))if(c.getAttribute(L3)===t)return!0;return!1}function Nne(e,t,c){if(!e.head)return;let n=_3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(U2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(L3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function E2e(e){let t=_3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Nne(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function L2e(e,t){let c=_3();c.styles.set(e,t);for(let n of c.documents.keys())Nne(n,e,t)}typeof process>"u",L2e("bacc423d2b",'._556ae8be2a7ddc8e__disabled{pointer-events:none;position:relative}._556ae8be2a7ddc8e__disabled:after{content:"";inset:0;position:absolute}._556ae8be2a7ddc8e__disabled *{pointer-events:none}');var D2e={disabled:"_556ae8be2a7ddc8e__disabled"},{Consumer:_2e,Provider:j2e}=E3;function j3({className:e,children:t,isDisabled:c=!0,...n}){return(0,D3.jsx)(j2e,{value:c,children:(0,D3.jsx)("div",{inert:c?"true":void 0,className:w(e,c&&[D2e.disabled,"components-disabled"])||void 0,...n,children:t})})}j3.Context=E3;j3.Consumer=_2e;var Sne=j3;var wne=u(T(),1),kne=u(F(),1),M2e=({visible:e,children:t,...c},n)=>{let l=Tr({open:e});return(0,kne.jsx)(KR,{store:l,ref:n,...c,children:t})},M3=(0,wne.forwardRef)(M2e);M3.displayName="DisclosureContent";var zne=u(Xt(),1);function P2e(e,t){return(0,zne.default)("wp.components.__experimentalDivider",{since:"7.2",version:"7.4"}),bJ(e,t)}var K2e=ie(P2e,"Divider"),Tne=K2e;var One=u(me(),1),is=u(T(),1);var jh=u(F(),1),K3="data-wp-hash";function q3(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&$2e(document)),e.__wpStyleRuntime}function q2e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${K3}]`))if(c.getAttribute(K3)===t)return!0;return!1}function Qne(e,t,c){if(!e.head)return;let n=q3(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(q2e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(K3,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function $2e(e){let t=q3();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Qne(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function e9e(e,t){let c=q3();c.styles.set(e,t);for(let n of c.documents.keys())Qne(n,e,t)}typeof process>"u",e9e("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 $3={"invisible-drag-image":"_3476c2e530687f96__invisible-drag-image",clone:"_6f00e51ab7574306__clone","is-in-compat-slot":"_664ecd37377558df__is-in-compat-slot"},t9e=[$3["invisible-drag-image"],"components-draggable__invisible-drag-image"].filter(Boolean),c9e=[$3.clone,"components-draggable__clone"].filter(Boolean),Ane="is-dragging-components-draggable",P3=0;function n9e({children:e,onDragStart:t,onDragOver:c,onDragEnd:n,appendToOwnerDocument:l=!1,cloneClassname:o,elementId:d,transferData:i,__experimentalTransferDataType:r="text",__experimentalDragComponent:a}){let s=(0,is.useRef)(()=>{}),[b,m]=(0,is.useState)(null);function X(g){g.preventDefault(),s.current(),n?.(g)}function G(g){let{ownerDocument:x}=g.target,H=Gp(),p=H?.ownerDocument===x?H:null;g.dataTransfer.setData(r,JSON.stringify(i));let R=x.createElement("div");R.style.top="0",R.style.left="0";let I=x.createElement("div");typeof g.dataTransfer.setDragImage=="function"&&(I.classList.add(...t9e),x.body.appendChild(I),g.dataTransfer.setDragImage(I,0,0)),R.classList.add(...c9e);let f=$3["is-in-compat-slot"];p&&f&&R.classList.add(f),o&&R.classList.add(o);let y=0,Z=0;if(a)y=g.clientX,Z=g.clientY,R.style.transform=`translate( ${y}px, ${Z}px )`,(p??x.body).appendChild(R),m(R);else{let B=x.getElementById(d),V=B.getBoundingClientRect(),S=B.parentNode,Y=V.top,J=V.left;R.style.width=`${V.width+P3*2}px`;let k=B.cloneNode(!0);k.id=`clone-${d}`,y=J-P3,Z=Y-P3,R.style.transform=`translate( ${y}px, ${Z}px )`,Array.from(k.querySelectorAll("iframe")).forEach(N=>N.parentNode?.removeChild(N)),R.appendChild(k),p?p.appendChild(R):l?x.body.appendChild(R):S?.appendChild(R)}let W=g.clientX,v=g.clientY;function h(B){if(W===B.clientX&&v===B.clientY)return;let V=y+B.clientX-W,S=Z+B.clientY-v;R.style.transform=`translate( ${V}px, ${S}px )`,W=B.clientX,v=B.clientY,y=V,Z=S,c?.(B)}let C=(0,One.throttle)(h,16);x.addEventListener("dragover",C),x.body.classList.add(Ane),t?.(g),s.current=()=>{R.remove(),I.remove(),m(null),x.body.classList.remove(Ane),x.removeEventListener("dragover",C),s.current=()=>{}}}return(0,is.useEffect)(()=>()=>s.current(),[]),(0,jh.jsxs)(jh.Fragment,{children:[e({onDraggableStart:G,onDraggableEnd:X}),b&&(0,is.createPortal)(a,b)]})}var Une=n9e;var Ene=u(Ze(),1),Mh=u(T(),1);var eS=u(gX(),1),Lne=u(me(),1),tu=u(F(),1);function l9e({className:e,icon:t=zV,label:c,onFilesDrop:n,onHTMLDrop:l,onDrop:o,isEligible:d=()=>!0,...i}){let[r,a]=(0,Mh.useState)(),[s,b]=(0,Mh.useState)(),[m,X]=(0,Mh.useState)(),G=(0,Lne.__experimentalUseDropZone)({onDrop(x){if(!x.dataTransfer)return;let H=(0,eS.getFilesFromDataTransfer)(x.dataTransfer),p=x.dataTransfer.getData("text/html");p&&l?l(p):H.length&&n?n(H):o&&o(x)},onDragStart(x){a(!0),x.dataTransfer&&(x.dataTransfer.types.includes("text/html")?X(!!l):x.dataTransfer.types.includes("Files")||(0,eS.getFilesFromDataTransfer)(x.dataTransfer).length>0?X(!!n):X(!!o&&d(x.dataTransfer)))},onDragEnd(){b(!1),a(!1),X(void 0)},onDragEnter(){b(!0)},onDragLeave(){b(!1)}}),g=w("components-drop-zone",e,{"is-active":m,"is-dragging-over-document":r,"is-dragging-over-element":s});return(0,tu.jsx)("div",{...i,ref:G,className:g,children:(0,tu.jsx)("div",{className:"components-drop-zone__content",children:(0,tu.jsxs)("div",{className:"components-drop-zone__content-inner",children:[(0,tu.jsx)(Kc,{icon:t,className:"components-drop-zone__content-icon"}),(0,tu.jsx)("span",{className:"components-drop-zone__content-text",children:c||(0,Ene.__)("Drop files to upload")})]})})})}var Dne=l9e;var _ne=u(Xt(),1);function jne({children:e}){return(0,_ne.default)("wp.components.DropZoneProvider",{since:"5.8",hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),e}var qne=u(T(),1);var fX=u(T(),1),Mne=u(me(),1),tS=u(gX(),1),Pne=u(F(),1),o9e=()=>{},d9e=["menuitem","menuitemradio","menuitemcheckbox"];function i9e(e,t,c){let n=e+c;return n<0?t+n:n>=t?n-t:n}function r9e(e,t,c){let l=(c?tS.focus.tabbable:tS.focus.focusable).find(e),o=l.indexOf(t);return o>-1?{index:o,target:t,focusables:l}:null}function a9e({children:e,stopNavigationEvents:t,eventToOffset:c,onNavigate:n=o9e,onKeyDown:l,cycle:o=!0,onlyBrowserTabstops:d,...i},r){let a=(0,fX.useRef)(null);(0,fX.useEffect)(()=>{let b=a.current;if(!b)return;function m(X){l&&l(X);let G=c(X);if(G!==void 0&&t){X.stopImmediatePropagation();let I=X.target?.getAttribute("role");I&&d9e.includes(I)&&X.preventDefault()}if(!G)return;let g=X.target?.ownerDocument?.activeElement;if(!g)return;let x=r9e(b,g,!!d);if(!x)return;let{index:H,focusables:p}=x,R=o?i9e(H,p.length,G):H+G;R>=0&&R<p.length&&(p[R].focus(),n(R,p[R]),X.code==="Tab"&&X.preventDefault())}return b.addEventListener("keydown",m),()=>{b.removeEventListener("keydown",m)}},[l,c,t,o,n,d]);let s=(0,Mne.useMergeRefs)([a,r]);return(0,Pne.jsx)("div",{ref:s,...i,children:e})}var Kne=(0,fX.forwardRef)(a9e);Kne.displayName="NavigableContainer";var Ph=Kne;var $ne=u(F(),1);function s9e({role:e="menu",orientation:t="vertical",...c},n){return(0,$ne.jsx)(Ph,{ref:n,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:e,"aria-orientation":e!=="presentation"&&(t==="vertical"||t==="horizontal")?t:void 0,eventToOffset:o=>{let{code:d}=o,i=["ArrowDown"],r=["ArrowUp"];if(t==="horizontal"&&(i=["ArrowRight"],r=["ArrowLeft"]),t==="both"&&(i=["ArrowRight","ArrowDown"],r=["ArrowLeft","ArrowUp"]),i.includes(d))return 1;if(r.includes(d))return-1;if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(d))return 0},...c})}var ele=(0,qne.forwardRef)(s9e);ele.displayName="NavigableMenu";var Tp=ele;var tle=u(T(),1);var cle=u(F(),1);function b9e({eventToOffset:e,...t},c){return(0,cle.jsx)(Ph,{ref:c,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:l=>{let{code:o,shiftKey:d}=l;if(o==="Tab")return d?-1:1;if(e)return e(l)},...t})}var nle=(0,tle.forwardRef)(b9e);nle.displayName="TabbableContainer";var cS=nle;var yX=u(F(),1);function nS(e={},t={}){let c={...e,...t};return t.className&&e.className&&(c.className=w(t.className,e.className)),c}function lle(e){return typeof e=="function"}function u9e(e){let{children:t,className:c,controls:n,icon:l=vV,label:o,popoverProps:d,toggleProps:i,menuProps:r,disableOpenOnArrowDown:a=!1,text:s,noIcons:b,open:m,defaultOpen:X,onToggle:G,variant:g}=ae(e,"DropdownMenu");if(!n?.length&&!lle(t))return null;let x;n?.length&&(x=n,Array.isArray(x[0])||(x=[n]));let H=nS({className:"components-dropdown-menu__popover",variant:g},d);return(0,yX.jsx)($d,{className:c,popoverProps:H,renderToggle:({isOpen:p,onToggle:R})=>{let I=W=>{a||!p&&W.code==="ArrowDown"&&(W.preventDefault(),R())},{as:f=be,...y}=i??{},Z=nS({className:w("components-dropdown-menu__toggle",{"is-opened":p})},y);return(0,yX.jsx)(f,{...Z,icon:l,onClick:W=>{R(),Z.onClick&&Z.onClick(W)},onKeyDown:W=>{I(W),Z.onKeyDown&&Z.onKeyDown(W)},"aria-haspopup":"true","aria-expanded":p,label:o,text:s,showTooltip:i?.showTooltip??!0,children:Z.children})},renderContent:p=>{let R=nS({"aria-label":o,className:w("components-dropdown-menu__menu",{"no-icons":b})},r);return(0,yX.jsxs)(Tp,{...R,role:"menu",children:[lle(t)?t(p):null,x?.flatMap((I,f)=>I.map((y,Z)=>(0,yX.jsx)(be,{size:"compact",onClick:W=>{W.stopPropagation(),p.onClose(),y.onClick&&y.onClick()},className:w("components-dropdown-menu__menu-item",{"has-separator":f>0&&Z===0,"is-active":y.isActive,"is-icon-only":!y.title}),icon:y.icon,label:y.label,"aria-checked":y.role==="menuitemcheckbox"||y.role==="menuitemradio"?y.isActive:void 0,role:y.role==="menuitemcheckbox"||y.role==="menuitemradio"?y.role:"menuitem",accessibleWhenDisabled:!0,disabled:y.isDisabled,children:y.title},[f,Z].join())))]})},open:m,defaultOpen:X,onToggle:G})}var m9e=ab(u9e,"DropdownMenu"),hr=m9e;var ole=u(Xt(),1);function X9e(e,t){return(0,ole.default)("wp.components.__experimentalElevation",{since:"7.2",version:"7.4"}),qF(e,t)}var G9e=ie(X9e,"Elevation"),dle=G9e;var Kh=u(Ze(),1),ile=u(T(),1),Ap=u(F(),1);function g9e(e,t){let{href:c,children:n,className:l,...o}=e,d=w("components-external-link",l),i=!!c?.startsWith("#");return(0,Ap.jsxs)("a",{...o,className:d,href:c,onClick:a=>{i&&a.preventDefault(),e.onClick&&e.onClick(a)},target:"_blank",ref:t,children:[(0,Ap.jsx)("span",{className:"components-external-link__contents",children:n}),(0,Ap.jsx)("span",{className:w("components-external-link__icon","wp-exclude-emoji"),"aria-label":(0,Kh.__)("(opens in a new tab)"),children:(0,Kh.isRTL)()?"\u2196":"\u2197"})]})}var rle=(0,ile.forwardRef)(g9e);rle.displayName="ExternalLink";var qh=rle;var Wle=u(Ze(),1),Br=u(T(),1),e1=u(me(),1);var Op=u(Ze(),1);var WX={width:200,height:170},x9e=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function p9e(e=""){let t=e.split(".");return t[t.length-1]}function ale(e=""){return e?e.startsWith("data:video/")||x9e.includes(p9e(e)):!1}function lS(e){return Math.round(e*100)}var sle=q(Ce,{target:"eeew7dm9"})("border:0;padding:0;margin:0;font-family:",_o("default.fontFamily"),";font-size:",_o("default.fontSize"),";",lb,";"),ble=q("div",{target:"eeew7dm8"})({name:"k2d4tv",styles:"background-color:transparent;display:flex;text-align:center;width:100%;contain:layout"}),ule=q("div",{target:"eeew7dm7"})("align-items:center;border-radius:",de.radiusSmall,";cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;&:after{border-radius:inherit;bottom:0;box-shadow:inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );content:'';left:0;pointer-events:none;position:absolute;right:0;top:0;}img,video{border-radius:inherit;box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:100%;}"),mle=q("div",{target:"eeew7dm6"})("background:",oe.gray[100],";border-radius:inherit;box-sizing:border-box;height:",WX.height,"px;max-width:280px;min-width:",WX.width,"px;width:100%;"),Xle=q(oi,{target:"eeew7dm5"})({name:"1d3w5wq",styles:"width:100%"}),R9e={name:"1mn7kwb",styles:"padding-bottom:1em"},H9e=({hasHelpText:e=!1})=>e?R9e:void 0,Gle=q(Mt,{target:"eeew7dm4"})("max-width:320px;padding-top:1em;",H9e,";"),gle=q("div",{target:"eeew7dm3"})("left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );z-index:1;@media not ( prefers-reduced-motion ){transition:opacity 100ms linear;}opacity:",({showOverlay:e})=>e?1:0,";"),xle=q("div",{target:"eeew7dm2"})({name:"1yzbo24",styles:"background:rgba( 255, 255, 255, 0.4 );backdrop-filter:blur( 16px ) saturate( 180% );position:absolute;transform:translateZ( 0 )"}),oS=q(xle,{target:"eeew7dm1"})({name:"1sw8ur",styles:"height:1px;left:1px;right:1px"}),dS=q(xle,{target:"eeew7dm0"})({name:"188vg4t",styles:"width:1px;top:1px;bottom:1px"});var hX=u(F(),1),I9e=0,Z9e=100,f9e=()=>{};function Rle({hasHelpText:e,onChange:t=f9e,point:c={x:.5,y:.5}}){let n=lS(c.x),l=lS(c.y),o=(d,i)=>{if(d===void 0)return;let r=parseInt(d,10);isNaN(r)||t({...c,[i]:r/100})};return(0,hX.jsxs)(Gle,{className:"focal-point-picker__controls",hasHelpText:e,gap:4,children:[(0,hX.jsx)(ple,{label:(0,Op.__)("Left"),"aria-label":(0,Op.__)("Focal point left position"),value:[n,"%"].join(""),onChange:d=>o(d,"x"),dragDirection:"e"}),(0,hX.jsx)(ple,{label:(0,Op.__)("Top"),"aria-label":(0,Op.__)("Focal point top position"),value:[l,"%"].join(""),onChange:d=>o(d,"y"),dragDirection:"s"})]})}function ple(e){return(0,hX.jsx)(Xle,{className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:Z9e,min:I9e,units:[{value:"%",label:"%"}],...e})}var Hle=q("div",{target:"e19snlhg0"})("background-color:transparent;cursor:grab;height:40px;margin:-20px 0 0 -20px;position:absolute;user-select:none;width:40px;will-change:transform;z-index:10000;background:rgba( 255, 255, 255, 0.4 );border:1px solid rgba( 255, 255, 255, 0.4 );border-radius:",de.radiusRound,";backdrop-filter:blur( 16px ) saturate( 180% );box-shadow:rgb( 0 0 0 / 10% ) 0px 0px 8px;@media not ( prefers-reduced-motion ){transition:transform 100ms linear;}",({isDragging:e})=>e&&` | |
| 68 | 114 | box-shadow: rgb( 0 0 0 / 12% ) 0px 0px 10px; |
| 69 | 115 | transform: scale( 1.1 ); |
| 70 | 116 | cursor: grabbing; |
| 71 | - `,";");var U7=u(J(),1);function j7({left:c="50%",top:l="50%",...t}){return(0,U7.jsx)(L7,{...t,className:"components-focal-point-picker__icon_container",style:{left:c,top:l}})}var xi=u(J(),1);function E7({bounds:c,...l}){return(0,xi.jsxs)(Q7,{...l,className:"components-focal-point-picker__grid",style:{width:c.width,height:c.height},children:[(0,xi.jsx)(XC,{style:{top:"33%"}}),(0,xi.jsx)(XC,{style:{top:"66%"}}),(0,xi.jsx)(GC,{style:{left:"33%"}}),(0,xi.jsx)(GC,{style:{left:"66%"}})]})}var Ip=u(J(),1);function M7({alt:c,autoPlay:l,src:t,onLoad:e,mediaRef:b,muted:d=!0,...o}){return t?N7(t)?(0,Ip.jsx)("video",{...o,autoPlay:l,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:d,onLoadedData:e,ref:b,src:t}):(0,Ip.jsx)("img",{...o,alt:c,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:e,ref:b,src:t}):(0,Ip.jsx)(z7,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:b,...o})}var xd=u(J(),1),yxc=600;function Vxc({__nextHasNoMarginBottom:c,autoPlay:l=!0,className:t,help:e,hideLabelFromVision:b,label:d,onChange:o,onDrag:n,onDragEnd:X,onDragStart:G,resolvePoint:i,url:a,value:m={x:.5,y:.5},...s}){let[x,r]=(0,Zn.useState)(m),[g,H]=(0,Zn.useState)(!1),{startDrag:Z,endDrag:R,isDragging:W}=(0,Wp.__experimentalUseDragging)({onDragStart:f=>{B.current?.focus();let L=h(f);L&&(G?.(L,f),r(L))},onDragMove:f=>{f.preventDefault();let L=h(f);L&&(n?.(L,f),r(L))},onDragEnd:()=>{X?.(),o?.(x)}}),{x:I,y:p}=W?x:m,B=(0,Zn.useRef)(null),[y,C]=(0,Zn.useState)(R0),V=(0,Zn.useRef)(()=>{if(!B.current)return;let{clientWidth:f,clientHeight:L}=B.current;C(f>0&&L>0?{width:f,height:L}:{...R0})});(0,Zn.useEffect)(()=>{let f=V.current;if(!B.current)return;let{defaultView:L}=B.current.ownerDocument;return L?.addEventListener("resize",f),()=>L?.removeEventListener("resize",f)},[]),(0,Wp.useIsomorphicLayoutEffect)(()=>{V.current()},[]);let h=({clientX:f,clientY:L,shiftKey:v})=>{if(!B.current)return;let{top:K,left:P}=B.current.getBoundingClientRect(),oc=(f-P)/y.width,E=(L-K)/y.height;return v&&(oc=Math.round(oc/.1)*.1,E=Math.round(E/.1)*.1),Y({x:oc,y:E})},Y=f=>{let L=i?.(f)??f;L.x=Math.max(0,Math.min(L.x,1)),L.y=Math.max(0,Math.min(L.y,1));let v=K=>Math.round(K*100)/100;return{x:v(L.x),y:v(L.y)}},N=f=>{let{code:L,shiftKey:v}=f;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(L))return;f.preventDefault();let K={x:I,y:p},P=v?.1:.01,oc=L==="ArrowUp"||L==="ArrowLeft"?-1*P:P,E=L==="ArrowUp"||L==="ArrowDown"?"y":"x";K[E]=K[E]+oc,o?.(Y(K))},A={left:I!==void 0?I*y.width:.5*y.width,top:p!==void 0?p*y.height:.5*y.height},w=Q("components-focal-point-picker-control",t),z=b?wc:$e;return YG(()=>{H(!0);let f=window.setTimeout(()=>{H(!1)},yxc);return()=>window.clearTimeout(f)},[I,p]),(0,xd.jsxs)(f7,{...s,as:"fieldset",className:w,children:[!!d&&(0,xd.jsx)(z,{as:"legend",children:d}),(0,xd.jsx)(S7,{className:"components-focal-point-picker-wrapper",children:(0,xd.jsxs)(k7,{className:"components-focal-point-picker",onKeyDown:N,onMouseDown:Z,onBlur:()=>{W&&R()},ref:B,role:"button",tabIndex:-1,children:[(0,xd.jsx)(E7,{bounds:y,showOverlay:g}),(0,xd.jsx)(M7,{alt:(0,P7.__)("Media preview"),autoPlay:l,onLoad:V.current,src:a}),(0,xd.jsx)(j7,{...A,isDragging:W})]})}),(0,xd.jsx)(D7,{hasHelpText:!!e,point:{x:I,y:p},onChange:f=>{o?.(Y(f))}}),!!e&&(0,xd.jsx)(td,{children:e})]})}var K7=Vxc;var pp=u(ec(),1),_7=u(ml(),1),q7=u(J(),1);function $7({iframeRef:c,...l}){let t=(0,pp.useMergeRefs)([c,(0,pp.useFocusableIframe)()]);return(0,_7.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,q7.jsx)("iframe",{ref:t,...l})}var ri=u(Gc(),1);var Bp=u(F(),1),m4=u(ec(),1);var c4=S("fieldset",{target:"e8tqeku4"})({name:"k2q51s",styles:"border:0;margin:0;padding:0;display:contents"}),l4=S(Ec,{target:"e8tqeku3"})("height:",D(4),";"),t4=S(bc,{target:"e8tqeku2"})("margin-top:",D(-1),";"),e4=S(jc.VisualLabel,{target:"e8tqeku1"})("display:flex;gap:",D(1),";justify-content:flex-start;margin-bottom:0;"),b4=S(tp,{target:"e8tqeku0"})({name:"anvx77",styles:".components-custom-select-control__item .components-custom-select-control__item-hint{width:100%;}"});var W0=u(Gc(),1),o4=u(F(),1);function Jxc(c){return/^[\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.test(String(c))}function d4(c){if(c.hint)return c.hint;if(Jxc(c.size))return String(c.size)}var n4=u(J(),1),iC={key:"default",name:(0,W0.__)("Default"),value:void 0},hxc=c=>{let{__next40pxDefaultSize:l,fontSizes:t,value:e,size:b,valueMode:d="literal",onChange:o}=c,n=[iC,...t.map(G=>{let i=d4(G);return{key:G.slug,name:G.name||G.slug,value:G.size,hint:i}})],X=(0,o4.useMemo)(()=>{if(e===void 0)return iC;if(d==="slug"){let G=n.find(i=>i.key===e);if(G)return G}return n.find(G=>G.value===e)??iC},[e,d,n]);return(0,n4.jsx)(b4,{__next40pxDefaultSize:l,__shouldNotWarnDeprecated36pxSize:!0,className:"components-font-size-picker__select",label:(0,W0.__)("Font size"),hideLabelFromVision:!0,describedBy:(0,W0.sprintf)((0,W0.__)("Currently selected font size: %s"),X.name),options:n,value:X,showSelectedHint:!0,onChange:({selectedItem:G})=>{let i=G.key==="default"?void 0:t.find(a=>a.slug===G.key);o(G.value,i)},size:b})},X4=hxc;var a4=u(Gc(),1);var rd=u(Gc(),1),G4=[(0,rd.__)("S"),(0,rd.__)("M"),(0,rd.__)("L"),(0,rd.__)("XL"),(0,rd.__)("XXL")],i4=[(0,rd.__)("Small"),(0,rd.__)("Medium"),(0,rd.__)("Large"),(0,rd.__)("Extra Large"),(0,rd.__)("Extra Extra Large")];var aC=u(J(),1),Cxc=c=>{let{fontSizes:l,value:t,valueMode:e="literal",__next40pxDefaultSize:b,size:d,onChange:o}=c,n=t?e==="slug"?String(t):l.filter(i=>i.size===t).length>1?void 0:l.find(i=>i.size===t)?.slug:void 0;return(0,aC.jsx)(Wb,{__next40pxDefaultSize:b,__shouldNotWarnDeprecated36pxSize:!0,label:(0,a4.__)("Font size"),hideLabelFromVision:!0,value:n,onChange:X=>{if(X===void 0)o(void 0);else{let G=l.find(i=>i.slug===String(X));G&&o(G.size,G)}},isBlock:!0,size:d,children:l.map((X,G)=>(0,aC.jsx)(tn,{value:X.slug,label:G4[G],"aria-label":X.name||i4[G],showTooltip:!0},X.slug))})},u4=Cxc;var Zt=u(J(),1),Yxc=["px","em","rem","vw","vh"],Fxc=5,s4=(c,l)=>{let{__next40pxDefaultSize:t=!1,fallbackFontSize:e,fontSizes:b=[],disableCustomFontSizes:d=!1,onChange:o,size:n="default",units:X=Yxc,value:G,valueMode:i="literal",withSlider:a=!1,withReset:m=!0}=c,s=(0,m4.useInstanceId)(s4,"font-size-picker-label"),x=yx({availableUnits:X}),r=(()=>{if(G)return i==="slug"?b.find(V=>V.slug===G):b.find(V=>V.size===G)})(),g=!!G&&!r,[H,Z]=(0,Bp.useState)(g),R=i==="slug"?r?.size:G,W;if(!d&&H?W="custom":W=b.length>Fxc?"select":"togglegroup",b.length===0&&d)return null;let I=typeof R=="string"||typeof b[0]?.size=="string",[p,B]=El(R,x),y=!!B&&["em","rem","vw","vh"].includes(B),C=G===void 0;return dl({componentName:"FontSizePicker",__next40pxDefaultSize:t,size:n}),(0,Zt.jsxs)(c4,{ref:l,className:"components-font-size-picker","aria-labelledby":s,children:[(0,Zt.jsx)(ut,{children:(0,Zt.jsxs)(l4,{className:"components-font-size-picker__header",children:[(0,Zt.jsx)(e4,{id:s,children:(0,ri.__)("Font size")}),!d&&(0,Zt.jsx)(t4,{label:W==="custom"?(0,ri.__)("Use size preset"):(0,ri.__)("Set custom size"),icon:$s,onClick:()=>Z(!H),isPressed:W==="custom",size:"small"})]})}),(0,Zt.jsxs)("div",{children:[W==="select"&&(0,Zt.jsx)(X4,{__next40pxDefaultSize:t,fontSizes:b,value:G,valueMode:i,disableCustomFontSizes:d,size:n,onChange:(V,h)=>{o?.(V===void 0?void 0:I?V:Number(V),h)},onSelectCustom:()=>Z(!0)}),W==="togglegroup"&&(0,Zt.jsx)(u4,{fontSizes:b,value:G,valueMode:i,__next40pxDefaultSize:t,size:n,onChange:(V,h)=>{o?.(V===void 0?void 0:I?V:Number(V),h)}}),W==="custom"&&(0,Zt.jsxs)(Zl,{className:"components-font-size-picker__custom-size-control",children:[(0,Zt.jsx)(Ut,{isBlock:!0,children:(0,Zt.jsx)(no,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,label:(0,ri.__)("Font size"),labelPosition:"top",hideLabelFromVision:!0,value:I?`${p??""}${B??""}`:R,onChange:V=>{Z(!0),o?.(V===void 0||V===""?void 0:I?V:parseInt(V,10))},size:n,units:I?x:[],min:0})}),a&&(0,Zt.jsx)(Ut,{isBlock:!0,children:(0,Zt.jsx)(ut,{marginX:2,marginBottom:0,children:(0,Zt.jsx)(yb,{__next40pxDefaultSize:t,__shouldNotWarnDeprecated36pxSize:!0,className:"components-font-size-picker__custom-input",label:(0,ri.__)("Font size"),hideLabelFromVision:!0,value:p,initialPosition:e,withInputField:!1,onChange:V=>{Z(!0),o?.(V===void 0?void 0:I?V+(B??"px"):V)},min:0,max:y?10:100,step:y?.1:1})})}),m&&(0,Zt.jsx)(Ut,{children:(0,Zt.jsx)(pu,{disabled:C,accessibleWhenDisabled:!0,onClick:()=>{o?.(void 0)},variant:"secondary",__next40pxDefaultSize:!0,size:n==="__unstable-large"||c.__next40pxDefaultSize?"default":"small",children:(0,ri.__)("Reset")})})]})]})]})},x4=(0,Bp.forwardRef)(s4);x4.displayName="FontSizePicker";var r4=x4;var g4=u(F(),1);var qx=u(J(),1);function vxc({accept:c,children:l,multiple:t=!1,onChange:e,onClick:b,render:d,...o}){let n=(0,g4.useRef)(null),X=()=>{n.current?.click()};d||dl({componentName:"FormFileUpload",__next40pxDefaultSize:o.__next40pxDefaultSize,size:o.size});let G=d?d({openFileDialog:X}):(0,qx.jsx)(bc,{onClick:X,...o,children:l}),i=c?.includes("audio/*")?`${c}, audio/mp3, audio/x-m4a, audio/x-m4b, audio/x-m4p, audio/x-wav, audio/webm`:c;return(0,qx.jsxs)("div",{className:"components-form-file-upload",children:[G,(0,qx.jsx)("input",{type:"file",ref:n,multiple:t,style:{display:"none"},accept:i,onChange:e,onClick:b,"data-testid":"form-file-upload-input"})]})}var Z4=vxc;var H4=u(F(),1),p0=u(J(),1),Nxc=()=>{};function fxc(c,l){let{className:t,checked:e,id:b,disabled:d,onChange:o=Nxc,onClick:n,...X}=c,G=Q("components-form-toggle",t,{"is-checked":e,"is-disabled":d});return(0,p0.jsxs)("span",{className:G,children:[(0,p0.jsx)("input",{className:"components-form-toggle__input",id:b,type:"checkbox",checked:e,onChange:o,disabled:d,onClick:i=>{i.currentTarget.focus(),n?.(i)},...X,ref:l}),(0,p0.jsx)("span",{className:"components-form-toggle__track"}),(0,p0.jsx)("span",{className:"components-form-toggle__thumb"})]})}var R4=(0,H4.forwardRef)(fxc);R4.displayName="FormToggle";var yp=R4;var ge=u(F(),1),bb=u(Gc(),1),Zi=u(ec(),1),$x=u(_d(),1),p4=u(JI(),1),B4=u(ml(),1);var I4=u(ec(),1),Vp=u(Gc(),1);var gi=u(J(),1),Sxc=()=>{};function uC({value:c,status:l,title:t,displayTransform:e,isBorderless:b=!1,disabled:d=!1,onClickRemove:o=Sxc,onMouseEnter:n,onMouseLeave:X,messages:G,termPosition:i,termsCount:a}){let m=(0,I4.useInstanceId)(uC),s=Q("components-form-token-field__token",{"is-error":l==="error","is-success":l==="success","is-validating":l==="validating","is-borderless":b,"is-disabled":d}),x=()=>o({value:c}),r=e(c),g=(0,Vp.sprintf)((0,Vp.__)("%1$s (%2$d of %3$d)"),r,i,a);return(0,gi.jsxs)("span",{className:s,onMouseEnter:n,onMouseLeave:X,title:t,children:[(0,gi.jsxs)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${m}`,children:[(0,gi.jsx)(wc,{as:"span",children:g}),(0,gi.jsx)("span",{"aria-hidden":"true",children:r})]}),(0,gi.jsx)(bc,{className:"components-form-token-field__remove-token",size:"small",icon:Po,onClick:d?void 0:x,disabled:d,label:G.remove,"aria-describedby":`components-form-token-field__token-text-${m}`})]})}var kxc=({__next40pxDefaultSize:c,hasTokens:l})=>!c&&k("padding-top:",D(l?1:.5),";padding-bottom:",D(l?1:.5),";",""),W4=S(Zl,{target:"ehq8nmi0"})("padding:7px;",_e," ",kxc,";");var gd=u(J(),1),zxc=c=>c;function Jp(c){let{autoCapitalize:l,autoComplete:t,maxLength:e,placeholder:b,label:d=(0,bb.__)("Add item"),className:o,suggestions:n=[],maxSuggestions:X=100,value:G=[],displayTransform:i=zxc,saveTransform:a=tc=>tc.trim(),onChange:m=()=>{},onInputChange:s=()=>{},onFocus:x=void 0,isBorderless:r=!1,disabled:g=!1,tokenizeOnSpace:H=!1,messages:Z={added:(0,bb.__)("Item added."),removed:(0,bb.__)("Item removed."),remove:(0,bb.__)("Remove item"),__experimentalInvalid:(0,bb.__)("Invalid item")},__experimentalRenderItem:R,__experimentalExpandOnFocus:W=!1,__experimentalValidateInput:I=()=>!0,__experimentalShowHowTo:p,__next40pxDefaultSize:B=!1,__experimentalAutoSelectFirstMatch:y=!1,tokenizeOnBlur:C=!1,help:V}=Et(c);dl({componentName:"FormTokenField",size:void 0,__next40pxDefaultSize:B});let h=H?(0,bb.__)("Separate with commas, spaces, or the Enter key."):(0,bb.__)("Separate with commas or the Enter key."),Y=V!==void 0?V:h;typeof p=="boolean"&&((0,B4.default)("`__experimentalShowHowTo` prop in wp.components.FormTokenField",{since:"7.1",alternative:"`help` prop",hint:"The `help` prop now defaults to the previous how-to text. Pass an empty string to hide it."}),p===!1&&V===void 0&&(Y=""));let N=(0,Zi.useInstanceId)(Jp),[A,w]=(0,ge.useState)(""),[z,f]=(0,ge.useState)(0),[L,v]=(0,ge.useState)(!1),[K,P]=(0,ge.useState)(!1),[oc,E]=(0,ge.useState)(-1),[dc,j]=(0,ge.useState)(!1),nc=(0,Zi.usePrevious)(n),Ic=(0,Zi.usePrevious)(G),Jc=(0,ge.useRef)(null),vc=(0,ge.useRef)(null),Ql=(0,Zi.useDebounce)($x.speak,500);(0,ge.useEffect)(()=>{L&&!gc()&&Hl()},[L]),(0,ge.useEffect)(()=>{let tc=!(0,p4.isShallowEqual)(n,nc||[]);(tc||G!==Ic)&&$0(tc)},[n,nc,G,Ic]),(0,ge.useEffect)(()=>{$0()},[A]),(0,ge.useEffect)(()=>{$0()},[y]),g&&L&&(v(!1),w(""));function Hl(){Jc.current?.focus()}function gc(){return Jc.current===Jc.current?.ownerDocument.activeElement}function zc(tc){gc()||tc.target===vc.current?(v(!0),P(W||K)):v(!1),typeof x=="function"&&x(tc)}function Fl(tc){if(Dc()&&I(A))v(!1),C&&Dc()&&pc(A);else{if(w(""),f(0),v(!1),W){let Wc=tc.relatedTarget===vc.current;P(Wc)}else P(!1);E(-1),j(!1)}}function Kt(tc){let Wc=!1;if(!tc.defaultPrevented){switch(tc.key){case"Backspace":Wc=dt(_0);break;case"Enter":Wc=Wt();break;case"ArrowLeft":Wc=Nt();break;case"ArrowUp":Wc=De();break;case"ArrowRight":Wc=Re();break;case"ArrowDown":Wc=Ab();break;case"Delete":Wc=dt(q0);break;case"Space":H&&(Wc=Wt({preventDefaultOnFailedValidation:!1}));break;case"Escape":Wc=QX(tc);break;case"Tab":Wc=wX(tc);break;default:break}Wc&&tc.preventDefault()}}function _t(tc){let Wc=!1;tc.key===","&&(Wc=Fn()),Wc&&tc.preventDefault()}function bt(tc){tc.target===vc.current&&L&&tc.preventDefault()}function Zc(tc){Pc(tc.value),Hl()}function Cc(tc){let Wc=pt().indexOf(tc);Wc>=0&&(E(Wc),j(!1))}function ol(tc){pc(tc)}function Mc(tc){let Wc=tc.value,fl=H?/[ ,\t]+/:/[,\t]+/,kt=Wc.split(fl),yd=kt[kt.length-1]||"";if(kt.length>1){let Qb=kt.slice(0,-1),fi=We=>{let Bo=a(We);return!!Bo&&!Ob(Bo)&&!I(Bo)},tm=Qb.some(fi),Jr=St(tm?kt:Qb);if(tm){let We=kt.filter(R$=>{let hr=a(R$);return!hr||Jr.has(hr)||Ob(hr)?!1:!I(hr)}),Bo=Wc.match(/[ ,\t]/g),jY=Bo?.[Bo.length-1]??(H?" ":","),H$=yd===""?jY:"",EY=We.join(jY)+H$;w(EY),s(EY);return}}w(yd),s(yd)}function dt(tc){let Wc=!1;return gc()&&Ie()&&(tc(),Wc=!0),Wc}function Nt(){let tc=!1;return Ie()&&(ft(),tc=!0),tc}function Re(){let tc=!1;return Ie()&&(Bd(),tc=!0),tc}function De(){return E(tc=>(tc===0?pt(A,n,G,X,a).length:tc)-1),j(!0),!0}function Ab(){return E(tc=>(tc+1)%pt(A,n,G,X,a).length),j(!0),!0}function Yn(tc){tc.target instanceof HTMLInputElement&&(w(tc.target.value),P(!1),E(-1),j(!1))}function QX(tc){return Yn(tc),!0}function wX(tc){return Yn(tc),!1}function Fn(){return Dc()&&pc(A),!0}function ot(tc){f(G.length-Math.max(tc,-1)-1)}function ft(){f(tc=>Math.min(tc+1,G.length))}function Bd(){f(tc=>Math.max(tc-1,0))}function _0(){let tc=Nl()-1;tc>-1&&Pc(G[tc])}function q0(){let tc=Nl();tc<G.length&&(Pc(G[tc]),ot(tc))}function Wt({preventDefaultOnFailedValidation:tc=!0}={}){let Wc=!1,fl=nt();return fl?(pc(fl),Wc=!0):Dc()&&(Wc=pc(A)||tc),Wc}function St(tc){let Wc=[...new Set(tc.map(a).filter(Boolean).filter(fl=>!Ob(fl)).filter(fl=>I(fl)))];if(Wc.length>0){let fl=[...G];fl.splice(Nl(),0,...Wc),m(fl)}return new Set(Wc)}function pc(tc){return I(tc)?(St([tc]),(0,$x.speak)(Z.added,"assertive"),w(""),E(-1),j(!1),P(!W),L&&!C&&Hl(),!0):((0,$x.speak)(Z.__experimentalInvalid,"assertive"),!1)}function Pc(tc){let Wc=G.filter(fl=>Sc(fl)!==Sc(tc));m(Wc),(0,$x.speak)(Z.removed,"assertive")}function Sc(tc){return typeof tc=="object"?tc.value:tc}function pt(tc=A,Wc=n,fl=G,kt=X,yd=a){let Qb=yd(tc),fi=[],tm=[],Jr=fl.map(We=>typeof We=="string"?We:We.value);return Qb.length===0?Wc=Wc.filter(We=>!Jr.includes(We)):(Qb=Qb.normalize("NFKC").toLocaleLowerCase(),Wc.forEach(We=>{let Bo=We.normalize("NFKC").toLocaleLowerCase().indexOf(Qb);Jr.indexOf(We)===-1&&(Bo===0?fi.push(We):Bo>0&&tm.push(We))}),Wc=fi.concat(tm)),Wc.slice(0,kt)}function nt(){if(oc!==-1)return pt()[oc]}function Ob(tc){return G.some(Wc=>Sc(tc)===Sc(Wc))}function Nl(){return G.length-z}function Ie(){return A.length===0}function Dc(){return a(A).length>0}function $0(tc=!0){let Wc=A.trim().length>1,fl=pt(A),kt=fl.length>0,yd=gc()&&W;if(P(yd||Wc&&kt),tc&&(y&&Wc&&kt?(E(0),j(!0)):(E(-1),j(!1))),Wc){let Qb=kt?(0,bb.sprintf)((0,bb._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",fl.length),fl.length):(0,bb.__)("No results.");Ql(Qb,"assertive")}}function y5(){let tc=G.map(V5);return tc.splice(Nl(),0,cm()),tc}function V5(tc,Wc,fl){let kt=Sc(tc),yd=typeof tc!="string"?tc.status:void 0,Qb=Wc+1,fi=fl.length;return(0,gd.jsx)(Ut,{children:(0,gd.jsx)(uC,{value:kt,status:yd,title:typeof tc!="string"?tc.title:void 0,displayTransform:i,onClickRemove:Zc,isBorderless:typeof tc!="string"&&tc.isBorderless||r,onMouseEnter:typeof tc!="string"?tc.onMouseEnter:void 0,onMouseLeave:typeof tc!="string"?tc.onMouseLeave:void 0,disabled:yd!=="error"&&g,messages:Z,termsCount:fi,termPosition:Qb})},"token-"+kt)}function cm(){let tc=Y?`components-form-token-input-${N}__help`:void 0,Wc={instanceId:N,autoCapitalize:l,autoComplete:t,placeholder:G.length===0?b:"",disabled:g,value:A,onBlur:Fl,isExpanded:K,selectedSuggestionIndex:oc,"aria-describedby":tc};return(0,gd.jsx)(jW,{...Wc,onChange:e&&G.length>=e?void 0:Mc,ref:Jc},"input")}let lm=Q(o,"components-form-token-field__input-container",{"is-active":L,"is-disabled":g}),J5={className:"components-form-token-field",tabIndex:-1},Z$=pt();return g||(J5=Object.assign({},J5,{onKeyDown:Hb(Kt),onKeyPress:_t,onFocus:zc})),(0,gd.jsxs)("div",{...J5,children:[d&&(0,gd.jsx)($e,{htmlFor:`components-form-token-input-${N}`,className:"components-form-token-field__label",children:d}),(0,gd.jsxs)("div",{ref:vc,className:lm,tabIndex:-1,onMouseDown:bt,onTouchStart:bt,children:[(0,gd.jsx)(W4,{justify:"flex-start",align:"center",gap:1,wrap:!0,__next40pxDefaultSize:B,hasTokens:!!G.length,children:y5()}),K&&(0,gd.jsx)(EW,{instanceId:N,match:a(A),displayTransform:i,suggestions:Z$,selectedIndex:oc,scrollIntoView:dc,onHover:Cc,onSelect:ol,__experimentalRenderItem:R})]}),Y&&(0,gd.jsx)(td,{id:`components-form-token-input-${N}__help`,className:"components-form-token-field__help",children:Y})]})}var hp=Jp;var Zd=u(F(),1),J4=u(ml(),1),Yp=u(Gc(),1);var lr=u(Gc(),1);var Cp=u(Ac(),1),mC=u(J(),1),y4=()=>(0,mC.jsx)(Cp.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,mC.jsx)(Cp.Circle,{cx:"4",cy:"4",r:"4"})});var cr=u(J(),1);function V4({currentPage:c,numberOfPages:l,setCurrentPage:t}){return(0,cr.jsx)("ul",{className:"components-guide__page-control","aria-label":(0,lr.__)("Guide controls"),children:Array.from({length:l}).map((e,b)=>(0,cr.jsx)("li",{"aria-current":b===c?"step":void 0,children:(0,cr.jsx)(bc,{size:"small",icon:(0,cr.jsx)(y4,{}),"aria-label":(0,lr.sprintf)((0,lr.__)("Page %1$d of %2$d"),b+1,l),onClick:()=>t(b)},b)},b))})}var ro=u(J(),1);function Axc({children:c,className:l,contentLabel:t,finishButtonText:e=(0,Yp.__)("Finish"),nextButtonText:b=(0,Yp.__)("Next"),previousButtonText:d=(0,Yp.__)("Previous"),onFinish:o,pages:n=[]}){let X=(0,Zd.useRef)(null),[G,i]=(0,Zd.useState)(0);(0,Zd.useEffect)(()=>{let r=X.current?.querySelector(".components-guide");r instanceof HTMLElement&&r.focus()},[G]),(0,Zd.useEffect)(()=>{Zd.Children.count(c)&&(0,J4.default)("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[c]),Zd.Children.count(c)&&(n=Zd.Children.map(c,r=>({content:r}))??[]);let a=G>0,m=G<n.length-1,s=()=>{a&&i(G-1)},x=()=>{m&&i(G+1)};return n.length===0?null:(0,ro.jsx)(d0,{className:Q("components-guide",l),contentLabel:t,isDismissible:n.length>1,onRequestClose:o,onKeyDown:r=>{r.code==="ArrowLeft"?(s(),r.preventDefault()):r.code==="ArrowRight"&&(x(),r.preventDefault())},ref:X,children:(0,ro.jsxs)("div",{className:"components-guide__container",children:[(0,ro.jsxs)("div",{className:"components-guide__page",children:[n[G].image,n.length>1&&(0,ro.jsx)(V4,{currentPage:G,numberOfPages:n.length,setCurrentPage:i}),n[G].content]}),(0,ro.jsxs)("div",{className:"components-guide__footer",children:[a&&(0,ro.jsx)(bc,{className:"components-guide__back-button",variant:"tertiary",onClick:s,__next40pxDefaultSize:!0,children:d}),m&&(0,ro.jsx)(bc,{className:"components-guide__forward-button",variant:"primary",onClick:x,__next40pxDefaultSize:!0,children:b}),!m&&(0,ro.jsx)(bc,{className:"components-guide__finish-button",variant:"primary",onClick:o,__next40pxDefaultSize:!0,children:e})]})]})})}var h4=Axc;var C4=u(F(),1),Y4=u(ml(),1),F4=u(J(),1);function v4(c){return(0,C4.useEffect)(()=>{(0,Y4.default)("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),(0,F4.jsx)("div",{...c})}var N4=u(ml(),1),f4=u(F(),1);var S4=u(J(),1);function Oxc({label:c,labelPosition:l,size:t,tooltip:e,...b},d){return(0,N4.default)("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button",version:"6.2"}),(0,S4.jsx)(bc,{...b,ref:d,tooltipPosition:l,iconSize:t,showTooltip:e!==void 0?!!e:void 0,label:e||c})}var k4=(0,f4.forwardRef)(Oxc);var Fp=u(F(),1),z4=u(ec(),1),Hi=u(J(),1);function Qxc({target:c,callback:l,shortcut:t,bindGlobal:e,eventName:b}){return(0,z4.useKeyboardShortcut)(t,l,{bindGlobal:e,target:c,eventName:b}),null}function wxc({children:c,shortcuts:l,bindGlobal:t,eventName:e}){let b=(0,Fp.useRef)(null),d=Object.entries(l??{}).map(([o,n])=>(0,Hi.jsx)(Qxc,{shortcut:o,callback:n,bindGlobal:t,eventName:e,target:b},o));return Fp.Children.count(c)?(0,Hi.jsxs)("div",{ref:b,children:[d,c]}):(0,Hi.jsx)(Hi.Fragment,{children:d})}var A4=wxc;var O4=u(F(),1),Q4=u(ec(),1),tr=u(J(),1);function w4(c){let{children:l,className:t="",label:e,hideSeparator:b}=c,d=(0,Q4.useInstanceId)(w4);if(!O4.Children.count(l))return null;let o=`components-menu-group-label-${d}`,n=Q(t,"components-menu-group",{"has-hidden-separator":b});return(0,tr.jsxs)("div",{className:n,children:[e&&(0,tr.jsx)("div",{className:"components-menu-group__label",id:o,"aria-hidden":"true",children:e}),(0,tr.jsx)("div",{role:"group","aria-labelledby":e?o:void 0,children:l})]})}var er=w4;var vp=u(F(),1);var Hn=u(J(),1);function Txc(c,l){let{children:t,info:e,className:b,icon:d,iconPosition:o="right",shortcut:n,isSelected:X,role:G="menuitem",suffix:i,...a}=c;return b=Q("components-menu-item__button",b),e&&(t=(0,Hn.jsxs)("span",{className:"components-menu-item__info-wrapper",children:[(0,Hn.jsx)("span",{className:"components-menu-item__item",children:t}),(0,Hn.jsx)("span",{className:"components-menu-item__info",children:e})]})),d&&typeof d!="string"&&(d=(0,vp.cloneElement)(d,{className:Q("components-menu-items__item-icon",{"has-icon-right":o==="right"})})),(0,Hn.jsxs)(bc,{size:"compact",ref:l,"aria-checked":G==="menuitemcheckbox"||G==="menuitemradio"?X:void 0,role:G,icon:o==="left"?d:void 0,className:b,accessibleWhenDisabled:!0,...a,children:[(0,Hn.jsx)("span",{className:"components-menu-item__item",children:t}),!i&&(0,Hn.jsx)(iZ,{className:"components-menu-item__shortcut",shortcut:n}),!i&&d&&o==="right"&&(0,Hn.jsx)(qc,{icon:d}),i]})}var T4=(0,vp.forwardRef)(Txc);T4.displayName="MenuItem";var Rn=T4;var br=u(J(),1),Dxc=()=>{};function Lxc({choices:c=[],onHover:l=Dxc,onSelect:t,value:e}){return(0,br.jsx)(br.Fragment,{children:c.map(b=>{let d=e===b.value;return(0,br.jsx)(Rn,{role:"menuitemradio",disabled:b.disabled,icon:d?jt:null,info:b.info,isSelected:d,shortcut:b.shortcut,className:"components-menu-items-choice",onClick:()=>{d||t(b.value)},onMouseEnter:()=>l(b.value),onMouseLeave:()=>l(null),"aria-label":b["aria-label"],children:b.label},b.value)})})}var D4=Lxc;var o6=u(ml(),1),B0=u(F(),1),n6=u(JI(),1),frl=u(ne(),1);function Uxc(c){for(var l=[],t=0;t<c.length;){var e=c[t];if(e==="*"||e==="+"||e==="?"){l.push({type:"MODIFIER",index:t,value:c[t++]});continue}if(e==="\\"){l.push({type:"ESCAPED_CHAR",index:t++,value:c[t++]});continue}if(e==="{"){l.push({type:"OPEN",index:t,value:c[t++]});continue}if(e==="}"){l.push({type:"CLOSE",index:t,value:c[t++]});continue}if(e===":"){for(var b="",d=t+1;d<c.length;){var o=c.charCodeAt(d);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){b+=c[d++];continue}break}if(!b)throw new TypeError("Missing parameter name at ".concat(t));l.push({type:"NAME",index:t,value:b}),t=d;continue}if(e==="("){var n=1,X="",d=t+1;if(c[d]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(d));for(;d<c.length;){if(c[d]==="\\"){X+=c[d++]+c[d++];continue}if(c[d]===")"){if(n--,n===0){d++;break}}else if(c[d]==="("&&(n++,c[d+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(d));X+=c[d++]}if(n)throw new TypeError("Unbalanced pattern at ".concat(t));if(!X)throw new TypeError("Missing pattern at ".concat(t));l.push({type:"PATTERN",index:t,value:X}),t=d;continue}l.push({type:"CHAR",index:t,value:c[t++]})}return l.push({type:"END",index:t,value:""}),l}function jxc(c,l){l===void 0&&(l={});for(var t=Uxc(c),e=l.prefixes,b=e===void 0?"./":e,d=l.delimiter,o=d===void 0?"/#?":d,n=[],X=0,G=0,i="",a=function(C){if(G<t.length&&t[G].type===C)return t[G++].value},m=function(C){var V=a(C);if(V!==void 0)return V;var h=t[G],Y=h.type,N=h.index;throw new TypeError("Unexpected ".concat(Y," at ").concat(N,", expected ").concat(C))},s=function(){for(var C="",V;V=a("CHAR")||a("ESCAPED_CHAR");)C+=V;return C},x=function(C){for(var V=0,h=o;V<h.length;V++){var Y=h[V];if(C.indexOf(Y)>-1)return!0}return!1},r=function(C){var V=n[n.length-1],h=C||(V&&typeof V=="string"?V:"");if(V&&!h)throw new TypeError('Must have text between two parameters, missing text after "'.concat(V.name,'"'));return!h||x(h)?"[^".concat(YX(o),"]+?"):"(?:(?!".concat(YX(h),")[^").concat(YX(o),"])+?")};G<t.length;){var g=a("CHAR"),H=a("NAME"),Z=a("PATTERN");if(H||Z){var R=g||"";b.indexOf(R)===-1&&(i+=R,R=""),i&&(n.push(i),i=""),n.push({name:H||X++,prefix:R,suffix:"",pattern:Z||r(R),modifier:a("MODIFIER")||""});continue}var W=g||a("ESCAPED_CHAR");if(W){i+=W;continue}i&&(n.push(i),i="");var I=a("OPEN");if(I){var R=s(),p=a("NAME")||"",B=a("PATTERN")||"",y=s();m("CLOSE"),n.push({name:p||(B?X++:""),pattern:p&&!B?r(R):B,prefix:R,suffix:y,modifier:a("MODIFIER")||""});continue}m("END")}return n}function L4(c,l){var t=[],e=j4(c,t,l);return Exc(e,t,l)}function Exc(c,l,t){t===void 0&&(t={});var e=t.decode,b=e===void 0?function(d){return d}:e;return function(d){var o=c.exec(d);if(!o)return!1;for(var n=o[0],X=o.index,G=Object.create(null),i=function(m){if(o[m]===void 0)return"continue";var s=l[m-1];s.modifier==="*"||s.modifier==="+"?G[s.name]=o[m].split(s.prefix+s.suffix).map(function(x){return b(x,s)}):G[s.name]=b(o[m],s)},a=1;a<o.length;a++)i(a);return{path:n,index:X,params:G}}}function YX(c){return c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function U4(c){return c&&c.sensitive?"":"i"}function Mxc(c,l){if(!l)return c;for(var t=/\((?:\?<(.*?)>)?(?!\?)/g,e=0,b=t.exec(c.source);b;)l.push({name:b[1]||e++,prefix:"",suffix:"",modifier:"",pattern:""}),b=t.exec(c.source);return c}function Pxc(c,l,t){var e=c.map(function(b){return j4(b,l,t).source});return new RegExp("(?:".concat(e.join("|"),")"),U4(t))}function Kxc(c,l,t){return _xc(jxc(c,t),l,t)}function _xc(c,l,t){t===void 0&&(t={});for(var e=t.strict,b=e===void 0?!1:e,d=t.start,o=d===void 0?!0:d,n=t.end,X=n===void 0?!0:n,G=t.encode,i=G===void 0?function(V){return V}:G,a=t.delimiter,m=a===void 0?"/#?":a,s=t.endsWith,x=s===void 0?"":s,r="[".concat(YX(x),"]|$"),g="[".concat(YX(m),"]"),H=o?"^":"",Z=0,R=c;Z<R.length;Z++){var W=R[Z];if(typeof W=="string")H+=YX(i(W));else{var I=YX(i(W.prefix)),p=YX(i(W.suffix));if(W.pattern)if(l&&l.push(W),I||p)if(W.modifier==="+"||W.modifier==="*"){var B=W.modifier==="*"?"?":"";H+="(?:".concat(I,"((?:").concat(W.pattern,")(?:").concat(p).concat(I,"(?:").concat(W.pattern,"))*)").concat(p,")").concat(B)}else H+="(?:".concat(I,"(").concat(W.pattern,")").concat(p,")").concat(W.modifier);else{if(W.modifier==="+"||W.modifier==="*")throw new TypeError('Can not repeat "'.concat(W.name,'" without a prefix and suffix'));H+="(".concat(W.pattern,")").concat(W.modifier)}else H+="(?:".concat(I).concat(p,")").concat(W.modifier)}}if(X)b||(H+="".concat(g,"?")),H+=t.endsWith?"(?=".concat(r,")"):"$";else{var y=c[c.length-1],C=typeof y=="string"?g.indexOf(y[y.length-1])>-1:y===void 0;b||(H+="(?:".concat(g,"(?=").concat(r,"))?")),C||(H+="(?=".concat(g,"|").concat(r,")"))}return new RegExp(H,U4(t))}function j4(c,l,t){return c instanceof RegExp?Mxc(c,l):Array.isArray(c)?Pxc(c,l,t):Kxc(c,l,t)}function E4(c,l){return L4(l,{decode:decodeURIComponent})(c)}function M4(c,l){for(let t of l){let e=E4(c,t.path);if(e)return{params:e.params,id:t.id}}}function P4(c,l){if(!c.startsWith("/"))return;let t=c.split("/"),e;for(;t.length>1&&e===void 0;){t.pop();let b=t.join("/")===""?"/":t.join("/");l.find(d=>E4(b,d.path)!==!1)&&(e=b)}return e}var K4=u(F(),1),qxc={location:{},goTo:()=>{},goBack:()=>{},goToParent:()=>{},addScreen:()=>{},removeScreen:()=>{},params:{}},Ri=(0,K4.createContext)(qxc);Ri.displayName="NavigatorContext";var $4={name:"1br0vvk",styles:"position:relative;overflow-x:clip;contain:layout;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;align-items:start"},_4=ve({from:{opacity:0}}),q4=ve({to:{opacity:0}}),c6=ve({from:{transform:"translateX(100px)"}}),l6=ve({to:{transform:"translateX(-80px)"}}),t6=ve({from:{transform:"translateX(-100px)"}}),e6=ve({to:{transform:"translateX(80px)"}}),Pt={DURATION:70,EASING:"linear",DELAY:{IN:70,OUT:40}},go={DURATION:300,EASING:"cubic-bezier(0.33, 0, 0, 1)"},sC={IN:Math.max(Pt.DURATION+Pt.DELAY.IN,go.DURATION),OUT:Math.max(Pt.DURATION+Pt.DELAY.OUT,go.DURATION)},xC={end:{in:c6.name,out:l6.name},start:{in:t6.name,out:e6.name}},$xc={end:{in:k(Pt.DURATION,"ms ",Pt.EASING," ",Pt.DELAY.IN,"ms both ",_4,",",go.DURATION,"ms ",go.EASING," both ",c6,";",""),out:k(Pt.DURATION,"ms ",Pt.EASING," ",Pt.DELAY.OUT,"ms both ",q4,",",go.DURATION,"ms ",go.EASING," both ",l6,";","")},start:{in:k(Pt.DURATION,"ms ",Pt.EASING," ",Pt.DELAY.IN,"ms both ",_4,",",go.DURATION,"ms ",go.EASING," both ",t6,";",""),out:k(Pt.DURATION,"ms ",Pt.EASING," ",Pt.DELAY.OUT,"ms both ",q4,",",go.DURATION,"ms ",go.EASING," both ",e6,";","")}},b6=k("z-index:1;&[data-animation-type='out']{z-index:0;}@media not ( prefers-reduced-motion ){&:not( [data-skip-animation] ){",["start","end"].map(c=>["in","out"].map(l=>k("&[data-animation-direction='",c,"'][data-animation-type='",l,"']{animation:",$xc[c][l],";}",""))),";}}",""),d6={name:"14di7zd",styles:"overflow-x:auto;max-height:100%;box-sizing:border-box;position:relative;grid-column:1/-1;grid-row:1/-1"};var gC=u(J(),1);function crc({screens:c},l){return c.some(t=>t.path===l.path)?c:[...c,l]}function lrc({screens:c},l){return c.filter(t=>t.id!==l.id)}function X6(c,l,t={}){let{focusSelectors:e}=c,b={...c.currentLocation},{isBack:d=!1,skipFocus:o=!1,replace:n,focusTargetSelector:X,...G}=t;if(b.path===l)return{currentLocation:b,focusSelectors:e};let i;function a(){return i=i??new Map(c.focusSelectors),i}X&&b.path&&a().set(b.path,X);let m;return e.get(l)&&(d&&(m=e.get(l)),a().delete(l)),{currentLocation:{...G,isInitial:!1,path:l,isBack:d,hasRestoredFocus:!1,focusTargetSelector:m,skipFocus:o},focusSelectors:i??e}}function trc(c,l={}){let{screens:t,focusSelectors:e}=c,b={...c.currentLocation},d=b.path;if(d===void 0)return{currentLocation:b,focusSelectors:e};let o=P4(d,t);return o===void 0?{currentLocation:b,focusSelectors:e}:X6(c,o,{...l,isBack:!0})}function erc(c,l){let{screens:t,currentLocation:e,matchedPath:b,focusSelectors:d,...o}=c;switch(l.type){case"add":t=crc(c,l.screen);break;case"remove":t=lrc(c,l.screen);break;case"goto":({currentLocation:e,focusSelectors:d}=X6(c,l.path,l.options));break;case"gotoparent":({currentLocation:e,focusSelectors:d}=trc(c,l.options));break}if(t===c.screens&&e===c.currentLocation)return c;let n=e.path;return b=n!==void 0?M4(n,t):void 0,b&&c.matchedPath&&b.id===c.matchedPath.id&&(0,n6.isShallowEqual)(b.params,c.matchedPath.params)&&(b=c.matchedPath),{...o,screens:t,currentLocation:e,matchedPath:b,focusSelectors:d}}function brc(c,l){let{initialPath:t,children:e,className:b,...d}=cc(c,"Navigator"),[o,n]=(0,B0.useReducer)(erc,t,x=>({screens:[],currentLocation:{path:x,isInitial:!0},matchedPath:void 0,focusSelectors:new Map,initialPath:t})),X=(0,B0.useMemo)(()=>({goBack:x=>n({type:"gotoparent",options:x}),goTo:(x,r)=>n({type:"goto",path:x,options:r}),goToParent:x=>{(0,o6.default)("wp.components.useNavigator().goToParent",{since:"6.7",alternative:"wp.components.useNavigator().goBack"}),n({type:"gotoparent",options:x})},addScreen:x=>n({type:"add",screen:x}),removeScreen:x=>n({type:"remove",screen:x})}),[]),{currentLocation:G,matchedPath:i}=o,a=(0,B0.useMemo)(()=>({location:G,params:i?.params??{},match:i?.id,...X}),[G,i,X]),m=ic(),s=(0,B0.useMemo)(()=>m($4,b),[b,m]);return(0,gC.jsx)(ac,{ref:l,className:s,...d,children:(0,gC.jsx)(Ri.Provider,{value:a,children:e})})}var Np=lc(brc,"Navigator");var s6=u(c0(),1),db=u(F(),1),x6=u(ec(),1),r6=u(ZC(),1),Lrl=u(ne(),1);var FX=u(F(),1),a6=u(ec(),1),u6=u(Gc(),1);var i6=1.2,drc=(c,l,t)=>l==="ANIMATING_IN"&&t===xC[c].in,orc=(c,l,t)=>l==="ANIMATING_OUT"&&t===xC[c].out;function m6({isMatch:c,skipAnimation:l,isBack:t,onAnimationEnd:e}){let b=(0,u6.isRTL)(),d=(0,a6.useReducedMotion)(),[o,n]=(0,FX.useState)("INITIAL"),X=o!=="ANIMATING_IN"&&o!=="IN"&&c,G=o!=="ANIMATING_OUT"&&o!=="OUT"&&!c;(0,FX.useLayoutEffect)(()=>{X?n(l||d?"IN":"ANIMATING_IN"):G&&n(l||d?"OUT":"ANIMATING_OUT")},[X,G,l,d]);let i=b&&t||!b&&!t?"end":"start",a=o==="ANIMATING_IN",m=o==="ANIMATING_OUT",s;a?s="in":m&&(s="out");let x=(0,FX.useCallback)(r=>{e?.(r),orc(i,o,r.animationName)?n("OUT"):drc(i,o,r.animationName)&&n("IN")},[e,o,i]);return(0,FX.useEffect)(()=>{let r;return m?r=window.setTimeout(()=>{n("OUT"),r=void 0},sC.OUT*i6):a&&(r=window.setTimeout(()=>{n("IN"),r=void 0},sC.IN*i6)),()=>{r&&(window.clearTimeout(r),r=void 0)}},[m,a]),{animationStyles:b6,shouldRenderScreen:c||o==="IN"||o==="ANIMATING_OUT",screenProps:{onAnimationEnd:x,"data-animation-direction":i,"data-animation-type":s,"data-skip-animation":l||void 0}}}var g6=u(J(),1);function nrc(c,l){/^\//.test(c.path);let t=(0,db.useId)(),{children:e,className:b,path:d,onAnimationEnd:o,...n}=cc(c,"Navigator.Screen"),{location:X,match:G,addScreen:i,removeScreen:a}=(0,db.useContext)(Ri),{isInitial:m,isBack:s,focusTargetSelector:x,skipFocus:r}=X,g=G===t,H=(0,db.useRef)(null),Z=!!m&&!s;(0,db.useEffect)(()=>{let V={id:t,path:(0,r6.escapeAttribute)(d)};return i(V),()=>a(V)},[t,d,i,a]);let{animationStyles:R,shouldRenderScreen:W,screenProps:I}=m6({isMatch:g,isBack:s,onAnimationEnd:o,skipAnimation:Z}),p=ic(),B=(0,db.useMemo)(()=>p(d6,R,b),[b,p,R]),y=(0,db.useRef)(X);(0,db.useEffect)(()=>{y.current=X},[X]),(0,db.useEffect)(()=>{let V=H.current;if(Z||!g||!V||y.current.hasRestoredFocus||r)return;let h=V.ownerDocument.activeElement;if(V.contains(h))return;let Y=null;if(s&&x&&(Y=V.querySelector(x)),!Y){let[N]=s6.focus.tabbable.find(V);Y=N??V}y.current.hasRestoredFocus=!0,Y.focus()},[Z,g,s,x,r]);let C=(0,x6.useMergeRefs)([l,H]);return W?(0,g6.jsx)(ac,{ref:C,className:B,...I,...n,children:e}):null}var fp=lc(nrc,"Navigator.Screen");var H6=u(F(),1),R6=u(ZC(),1);var Z6=u(F(),1);function vX(){let{location:c,params:l,goTo:t,goBack:e,goToParent:b}=(0,Z6.useContext)(Ri);return{location:c,goTo:t,goBack:e,goToParent:b,params:l}}var Xrc=(c,l)=>`[${c}="${l}"]`;function I6(c){let{path:l,onClick:t,as:e=bc,attributeName:b="id",...d}=cc(c,"Navigator.Button"),o=(0,R6.escapeAttribute)(l),{goTo:n}=vX(),X=(0,H6.useCallback)(G=>{G.preventDefault(),n(o,{focusTargetSelector:Xrc(b,o)}),t?.(G)},[n,t,b,o]);return{as:e,onClick:X,...d,[b]:o}}var W6=u(J(),1);function Grc(c,l){let t=I6(c);return(0,W6.jsx)(ac,{ref:l,...t})}var Sp=lc(Grc,"Navigator.Button");var p6=u(F(),1);function B6(c){let{onClick:l,as:t=bc,...e}=cc(c,"Navigator.BackButton"),{goBack:b}=vX(),d=(0,p6.useCallback)(o=>{o.preventDefault(),b(),l?.(o)},[b,l]);return{as:t,onClick:d,...e}}var y6=u(J(),1);function irc(c,l){let t=B6(c);return(0,y6.jsx)(ac,{ref:l,...t})}var y0=lc(irc,"Navigator.BackButton");var V6=u(ml(),1);var J6=u(J(),1);function arc(c,l){return(0,V6.default)("wp.components.NavigatorToParentButton",{since:"6.7",alternative:"wp.components.Navigator.BackButton"}),(0,J6.jsx)(y0,{ref:l,...c})}var h6=lc(arc,"Navigator.ToParentButton");var C6=Object.assign(Np,{displayName:"NavigatorProvider"}),Y6=Object.assign(fp,{displayName:"NavigatorScreen"}),F6=Object.assign(Sp,{displayName:"NavigatorButton"}),v6=Object.assign(y0,{displayName:"NavigatorBackButton"}),N6=Object.assign(h6,{displayName:"NavigatorToParentButton"});var f6=Object.assign(Np,{Screen:Object.assign(fp,{displayName:"Navigator.Screen"}),Button:Object.assign(Sp,{displayName:"Navigator.Button"}),BackButton:Object.assign(y0,{displayName:"Navigator.BackButton"})});var V0=u(Gc(),1),J0=u(F(),1),k6=u(_d(),1);var In=u(J(),1),S6=()=>{};function urc(c,l){let t=typeof c=="string"?c:(0,J0.renderToString)(c);(0,J0.useEffect)(()=>{t&&(0,k6.speak)(t,l)},[t,l])}function mrc(c){switch(c){case"success":case"warning":case"info":return"polite";default:return"assertive"}}function src(c){switch(c){case"warning":return(0,V0.__)("Warning notice");case"info":return(0,V0.__)("Information notice");case"error":return(0,V0.__)("Error notice");default:return(0,V0.__)("Notice")}}function xrc({className:c,status:l="info",children:t,spokenMessage:e=t,onRemove:b=S6,isDismissible:d=!0,actions:o=[],politeness:n=mrc(l),__unstableHTML:X,onDismiss:G=S6}){urc(e,n);let i=Q(c,"components-notice","is-"+l);X&&typeof t=="string"&&(t=(0,In.jsx)(J0.RawHTML,{children:t}));let a=()=>{G(),b()};return(0,In.jsxs)("div",{className:i,children:[(0,In.jsx)(wc,{children:src(l)}),(0,In.jsx)("div",{className:"components-notice__content",children:t}),o.length>0&&(0,In.jsx)("div",{className:"components-notice__actions",children:o.map(({className:m,label:s,isPrimary:x,variant:r,noDefaultClasses:g=!1,onClick:H,url:Z,disabled:R},W)=>{let I=r;return r!=="primary"&&!g&&(I=Z?"link":"secondary"),typeof I>"u"&&x&&(I="primary"),(0,In.jsx)(bc,{size:"compact",href:Z,variant:I,onClick:H,disabled:R,accessibleWhenDisabled:!0,className:Q("components-notice__action",m),children:s},W)})}),d&&(0,In.jsx)(bc,{size:"small",className:"components-notice__dismiss",icon:Po,label:(0,V0.__)("Close"),onClick:a})]})}var kp=xrc;var z6=u(M(),1),A6=u(J(),1),rrc=()=>{};function grc({notices:c,onRemove:l=rrc,className:t,children:e}){let b=d=>()=>l(d);return t=Q("components-notice-list",t),(0,A6.jsxs)("div",{className:t,children:[e,[...c].reverse().map(d=>{let{content:o,...n}=d;return(0,z6.createElement)(kp,{...n,key:d.id,onRemove:b(d.id)},d.content)})]})}var zp=grc;var O6=u(F(),1);var Ap=u(J(),1);function Zrc({label:c,children:l}){return(0,Ap.jsxs)("div",{className:"components-panel__header",children:[c&&(0,Ap.jsx)("h2",{children:c}),l]})}var Op=Zrc;var Qp=u(J(),1);function Hrc({header:c,className:l,children:t},e){let b=Q(l,"components-panel");return(0,Qp.jsxs)("div",{className:b,ref:e,children:[c&&(0,Qp.jsx)(Op,{label:c}),t]})}var Q6=(0,O6.forwardRef)(Hrc);Q6.displayName="Panel";var w6=Q6;var wp=u(ec(),1),h0=u(F(),1);var Wn=u(J(),1),Rrc=()=>{};function Irc(c,l){let{buttonProps:t={},children:e,className:b,icon:d,initialOpen:o,onToggle:n=Rrc,opened:X,title:G,scrollAfterOpen:i=!0}=c,[a,m]=jo(X,{initial:o===void 0?!0:o,fallback:!1}),s=(0,h0.useRef)(null),x=(0,wp.useReducedMotion)()?"auto":"smooth",r=Z=>{Z.preventDefault();let R=!a;m(R),n(R)},g=(0,h0.useRef)(void 0);g.current=i,YG(()=>{a&&g.current&&s.current?.scrollIntoView&&s.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:x})},[a,x]);let H=Q("components-panel__body",b,{"is-opened":a});return(0,Wn.jsxs)("div",{className:H,ref:(0,wp.useMergeRefs)([s,l]),children:[(0,Wn.jsx)(Wrc,{icon:d,isOpened:!!a,onClick:r,title:G,...t}),typeof e=="function"?e({opened:!!a}):a&&e]})}var Wrc=(0,h0.forwardRef)(({isOpened:c,icon:l,title:t,...e},b)=>t?(0,Wn.jsx)("h2",{className:"components-panel__body-title",children:(0,Wn.jsxs)(bc,{__next40pxDefaultSize:!0,className:"components-panel__body-toggle","aria-expanded":c,ref:b,...e,children:[(0,Wn.jsx)("span",{"aria-hidden":"true",children:(0,Wn.jsx)(qc,{className:"components-panel__arrow",icon:c?T1:Ts})}),t,l&&(0,Wn.jsx)(qc,{icon:l,className:"components-panel__icon",size:20})]})}):null),T6=(0,h0.forwardRef)(Irc);T6.displayName="PanelBody";var D6=T6;var L6=u(F(),1),U6=u(J(),1);function prc({className:c,children:l},t){return(0,U6.jsx)("div",{className:Q("components-panel__row",c),ref:t,children:l})}var j6=(0,L6.forwardRef)(prc);j6.displayName="PanelRow";var E6=j6;var M6=u(ec(),1),Tp=u(Ac(),1),P6=u(F(),1),K6=u(_d(),1);var Zo=u(J(),1),Brc=(0,Zo.jsx)(Tp.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",children:(0,Zo.jsx)(Tp.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})});function yrc(c){let{icon:l,children:t,label:e,instructions:b,className:d,notices:o,preview:n,isColumnLayout:X,withIllustration:G,...i}=c,[a,{width:m}]=(0,M6.useResizeObserver)(),s;typeof m=="number"&&(s={"is-large":m>=480,"is-medium":m>=160&&m<480,"is-small":m<160});let x=Q("components-placeholder",d,s,G?"has-illustration":null),r=Q("components-placeholder__fieldset",{"is-column-layout":X});return(0,P6.useEffect)(()=>{b&&(0,K6.speak)(b)},[b]),(0,Zo.jsxs)("div",{...i,className:x,children:[G?Brc:null,a,o,n&&(0,Zo.jsx)("div",{className:"components-placeholder__preview",children:n}),(0,Zo.jsxs)("div",{className:"components-placeholder__label",children:[(0,Zo.jsx)(qc,{icon:l}),e]}),!!b&&(0,Zo.jsx)("div",{className:"components-placeholder__instructions",children:b}),(0,Zo.jsx)("div",{className:r,children:t})]})}var _6=yrc;var tP=u(Gc(),1),eP=u(F(),1);var q6=u(Gc(),1);function Vrc(c=!1){let l=c?"right":"left";return ve({"0%":{[l]:"-50%"},"100%":{[l]:"100%"}})}var Jrc=50,$6=S("div",{target:"e15u147w2"})("position:relative;overflow:hidden;height:",O.borderWidthFocus,`;background-color:color-mix( | |
| 72 | - in srgb, | |
| 73 | - `,T.theme.foreground,`, | |
| 74 | - transparent 90% | |
| 75 | - );border-radius:`,O.radiusFull,";outline:2px solid transparent;outline-offset:2px;:where( & ){width:160px;}"),hrc={name:"152sa26",styles:"width:var(--indicator-width);transition:width 0.4s ease-in-out"},cP=S("div",{target:"e15u147w1"})("display:inline-block;position:absolute;top:0;height:100%;border-radius:",O.radiusFull,`;background-color:color-mix( | |
| 76 | - in srgb, | |
| 77 | - `,T.theme.foreground,`, | |
| 78 | - transparent 10% | |
| 79 | - );outline:2px solid transparent;outline-offset:-2px;`,({isIndeterminate:c})=>c?k({animationDuration:"1.5s",animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationName:Vrc((0,q6.isRTL)()),width:`${Jrc}%`},"",""):hrc,";"),lP=S("progress",{target:"e15u147w0"})({name:"11fb690",styles:"position:absolute;top:0;left:0;opacity:0;width:100%;height:100%"});var dr=u(J(),1);function Yrc(c,l){let{className:t,value:e,...b}=c,d=!Number.isFinite(e);return(0,dr.jsxs)($6,{className:t,children:[(0,dr.jsx)(cP,{style:{"--indicator-width":d?void 0:`${e}%`},isIndeterminate:d}),(0,dr.jsx)(lP,{max:100,value:e,"aria-label":(0,tP.__)("Loading \u2026"),ref:l,...b})]})}var bP=(0,eP.forwardRef)(Yrc);bP.displayName="ProgressBar";var dP=bP;var ob=u(Gc(),1);var Frc=c=>c.every(l=>l.parent!==null);function Dp(c){let l=c.map(b=>({children:[],parent:null,...b,id:String(b.id)}));if(!Frc(l))return l;let t=l.reduce((b,d)=>{let{parent:o}=d;return b[o]||(b[o]=[]),b[o].push(d),b},{}),e=b=>b.map(d=>{let o=t[d.id];return{...d,children:o&&o.length?e(o):[]}});return e(t[0]||[])}var XP=u(F(),1),GP=u(nP(),1);var iP=u(J(),1);function aP(c,l=0){return c.flatMap(t=>[{value:t.id,label:"\xA0".repeat(l*3)+(0,GP.decodeEntities)(t.name)},...aP(t.children||[],l+1)])}function vrc(c){let{__nextHasNoMarginBottom:l,label:t,noOptionLabel:e,onChange:b,selectedId:d,tree:o=[],...n}=Et(c),X=(0,XP.useMemo)(()=>[e&&{value:"",label:e},...aP(o)].filter(G=>!!G),[e,o]);return dl({componentName:"TreeSelect",size:n.size,__next40pxDefaultSize:n.__next40pxDefaultSize}),(0,iP.jsx)(Zx,{__shouldNotWarnDeprecated36pxSize:!0,label:t,options:X,onChange:b,value:d,...n})}var C0=vrc;var uP=u(J(),1);function mP({__next40pxDefaultSize:c,label:l,noOptionLabel:t,authorList:e,selectedAuthorId:b,onChange:d}){if(!e)return null;let o=Dp(e);return(0,uP.jsx)(C0,{label:l,noOptionLabel:t,onChange:d,tree:o,selectedId:b!==void 0?String(b):void 0,__next40pxDefaultSize:c})}var sP=u(F(),1);var xP=u(J(),1);function rP({__next40pxDefaultSize:c,label:l,noOptionLabel:t,categoriesList:e,selectedCategoryId:b,onChange:d,...o}){let n=(0,sP.useMemo)(()=>Dp(e),[e]);return(0,xP.jsx)(C0,{label:l,noOptionLabel:t,onChange:d,tree:n,selectedId:b!==void 0?String(b):void 0,...o,__next40pxDefaultSize:c})}var Ii=u(J(),1),Nrc=1,frc=100,Src=20;function krc(c){return"categoriesList"in c}function zrc(c){return"categorySuggestions"in c}var Arc=[{label:(0,ob.__)("Newest to oldest"),value:"date/desc"},{label:(0,ob.__)("Oldest to newest"),value:"date/asc"},{label:(0,ob.__)("A \u2192 Z"),value:"title/asc"},{label:(0,ob.__)("Z \u2192 A"),value:"title/desc"}];function Orc({authorList:c,selectedAuthorId:l,numberOfItems:t,order:e,orderBy:b,orderByOptions:d=Arc,maxItems:o=frc,minItems:n=Nrc,onAuthorChange:X,onNumberOfItemsChange:G,onOrderChange:i,onOrderByChange:a,...m}){return(0,Ii.jsx)(Gl,{spacing:"4",className:"components-query-controls",children:[i&&a&&(0,Ii.jsx)(Bb,{__next40pxDefaultSize:!0,label:(0,ob.__)("Order by"),value:b===void 0||e===void 0?void 0:`${b}/${e}`,options:d,onChange:s=>{if(typeof s!="string")return;let[x,r]=s.split("/");r!==e&&i(r),x!==b&&a(x)}},"query-controls-order-select"),krc(m)&&m.categoriesList&&m.onCategoryChange&&(0,Ii.jsx)(rP,{__next40pxDefaultSize:!0,categoriesList:m.categoriesList,label:(0,ob.__)("Category"),noOptionLabel:(0,ob._x)("All","categories"),selectedCategoryId:m.selectedCategoryId,onChange:m.onCategoryChange},"query-controls-category-select"),zrc(m)&&m.categorySuggestions&&m.onCategoryChange&&(0,Ii.jsx)(hp,{__next40pxDefaultSize:!0,label:(0,ob.__)("Categories"),value:m.selectedCategories&&m.selectedCategories.map(s=>({id:s.id,value:s.name||s.value})),suggestions:Object.keys(m.categorySuggestions),onChange:m.onCategoryChange,maxSuggestions:Src},"query-controls-categories-select"),X&&(0,Ii.jsx)(mP,{__next40pxDefaultSize:!0,authorList:c,label:(0,ob.__)("Author"),noOptionLabel:(0,ob._x)("All","authors"),selectedAuthorId:l,onChange:X},"query-controls-author-select"),G&&(0,Ii.jsx)(yb,{__next40pxDefaultSize:!0,label:(0,ob.__)("Number of items"),value:t,onChange:G,min:n,max:o,required:!0},"query-controls-range-control")]})}var gP=Orc;var Lp=u(F(),1);var ZP=u(F(),1),or=(0,ZP.createContext)({store:void 0,disabled:void 0});or.displayName="RadioGroupContext";var HC=u(J(),1);function Qrc({value:c,children:l,...t},e){let{store:b,disabled:d}=(0,Lp.useContext)(or),o=U(b,"value"),n=o!==void 0&&o===c;return dl({componentName:"Radio",size:void 0,__next40pxDefaultSize:t.__next40pxDefaultSize}),(0,HC.jsx)(na,{disabled:d,store:b,ref:e,value:c,render:(0,HC.jsx)(bc,{variant:n?"primary":"secondary",...t}),children:l||c})}var HP=(0,Lp.forwardRef)(Qrc);HP.displayName="Radio";var RP=HP;var IP=u(ml(),1),jp=u(F(),1),WP=u(Gc(),1);var Up=u(J(),1);function wrc({label:c,checked:l,defaultChecked:t,disabled:e,onChange:b,children:d,...o},n){let X=Ga({value:l,defaultValue:t,setValue:i=>{b?.(i??void 0)},rtl:(0,WP.isRTL)()}),G=(0,jp.useMemo)(()=>({store:X,disabled:e}),[X,e]);return(0,IP.default)("wp.components.__experimentalRadioGroup",{alternative:"wp.components.RadioControl or wp.components.__experimentalToggleGroupControl",since:"6.8"}),(0,Up.jsx)(or.Provider,{value:G,children:(0,Up.jsx)(Xa,{store:X,render:(0,Up.jsx)(HW,{__shouldNotWarnDeprecated:!0,children:d}),"aria-label":c,ref:n,...o})})}var pP=(0,jp.forwardRef)(wrc);pP.displayName="RadioGroup";var BP=pP;var JP=u(ec(),1);var Hd=u(J(),1);function yP(c,l){return`${c}-${l}-option-description`}function RC(c,l){return`${c}-${l}`}function VP(c){return`${c}__help`}function hP(c){let{label:l,className:t,selected:e,help:b,onChange:d,onClick:o,hideLabelFromVision:n,disabled:X,options:G=[],id:i,...a}=c,m=(0,JP.useInstanceId)(hP,"inspector-radio-control",i),s=x=>d(x.target.value);return G?.length?(0,Hd.jsxs)("fieldset",{id:m,role:"radiogroup",className:Q(t,"components-radio-control"),disabled:X,"aria-describedby":b?VP(m):void 0,children:[n?(0,Hd.jsx)(wc,{as:"legend",children:l}):(0,Hd.jsx)(jc.VisualLabel,{as:"legend",children:l}),(0,Hd.jsx)(Gl,{spacing:3,className:Q("components-radio-control__group-wrapper",{"has-help":!!b}),children:G.map((x,r)=>(0,Hd.jsxs)("div",{className:"components-radio-control__option",children:[(0,Hd.jsx)("input",{id:RC(m,r),className:"components-radio-control__input",type:"radio",name:m,value:x.value,onChange:s,checked:x.value===e,"aria-describedby":x.description?yP(m,r):void 0,onClick:g=>{g.currentTarget.focus(),o?.(g)},...a}),(0,Hd.jsx)("label",{className:"components-radio-control__label",htmlFor:RC(m,r),children:x.label}),x.description?(0,Hd.jsx)(td,{id:yP(m,r),className:"components-radio-control__option-description",children:x.description}):null]},RC(m,r)))}),!!b&&(0,Hd.jsx)(td,{id:VP(m),className:"components-base-control__help",children:b})]}):null}var Ep=hP;var MP=u(F(),1);var Wi=u(M());var Pp=u(M()),Trc=(function(){var c=function(l,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var d in b)b.hasOwnProperty(d)&&(e[d]=b[d])},c(l,t)};return function(l,t){c(l,t);function e(){this.constructor=l}l.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),Mp=function(){return Mp=Object.assign||function(c){for(var l,t=1,e=arguments.length;t<e;t++){l=arguments[t];for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&(c[b]=l[b])}return c},Mp.apply(this,arguments)},Drc={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},CP=(function(c){Trc(l,c);function l(){var t=c!==null&&c.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return l.prototype.render=function(){return Pp.createElement("div",{className:this.props.className||"",style:Mp(Mp({position:"absolute",userSelect:"none"},Drc[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},l})(Pp.PureComponent);var NX=u(vP()),_rc=(function(){var c=function(l,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var d in b)b.hasOwnProperty(d)&&(e[d]=b[d])},c(l,t)};return function(l,t){c(l,t);function e(){this.constructor=l}l.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),Ho=function(){return Ho=Object.assign||function(c){for(var l,t=1,e=arguments.length;t<e;t++){l=arguments[t];for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&(c[b]=l[b])}return c},Ho.apply(this,arguments)},qrc={width:"auto",height:"auto"},_p=(0,NX.default)(function(c,l,t){return Math.max(Math.min(c,t),l)}),NP=(0,NX.default)(function(c,l){return Math.round(c/l)*l}),Y0=(0,NX.default)(function(c,l){return new RegExp(c,"i").test(l)}),qp=function(c){return!!(c.touches&&c.touches.length)},$rc=function(c){return!!((c.clientX||c.clientX===0)&&(c.clientY||c.clientY===0))},fP=(0,NX.default)(function(c,l,t){t===void 0&&(t=0);var e=l.reduce(function(d,o,n){return Math.abs(o-c)<Math.abs(l[d]-c)?n:d},0),b=Math.abs(l[e]-c);return t===0||b<t?l[e]:c}),Ht=(0,NX.default)(function(c,l){return c.substr(c.length-l.length,l.length)===l}),pC=(0,NX.default)(function(c){return c=c.toString(),c==="auto"||Ht(c,"px")||Ht(c,"%")||Ht(c,"vh")||Ht(c,"vw")||Ht(c,"vmax")||Ht(c,"vmin")?c:c+"px"}),$p=function(c,l,t,e){if(c&&typeof c=="string"){if(Ht(c,"px"))return Number(c.replace("px",""));if(Ht(c,"%")){var b=Number(c.replace("%",""))/100;return l*b}if(Ht(c,"vw")){var b=Number(c.replace("vw",""))/100;return t*b}if(Ht(c,"vh")){var b=Number(c.replace("vh",""))/100;return e*b}}return c},cgc=(0,NX.default)(function(c,l,t,e,b,d,o){return e=$p(e,c.width,l,t),b=$p(b,c.height,l,t),d=$p(d,c.width,l,t),o=$p(o,c.height,l,t),{maxWidth:typeof e>"u"?void 0:Number(e),maxHeight:typeof b>"u"?void 0:Number(b),minWidth:typeof d>"u"?void 0:Number(d),minHeight:typeof o>"u"?void 0:Number(o)}}),lgc=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],SP="__resizable_base__",kP=(function(c){_rc(l,c);function l(t){var e=c.call(this,t)||this;return e.ratio=1,e.resizable=null,e.parentLeft=0,e.parentTop=0,e.resizableLeft=0,e.resizableRight=0,e.resizableTop=0,e.resizableBottom=0,e.targetLeft=0,e.targetTop=0,e.appendBase=function(){if(!e.resizable||!e.window)return null;var b=e.parentNode;if(!b)return null;var d=e.window.document.createElement("div");return d.style.width="100%",d.style.height="100%",d.style.position="absolute",d.style.transform="scale(0, 0)",d.style.left="0",d.style.flex="0",d.classList?d.classList.add(SP):d.className+=SP,b.appendChild(d),d},e.removeBase=function(b){var d=e.parentNode;d&&d.removeChild(b)},e.ref=function(b){b&&(e.resizable=b)},e.state={isResizing:!1,width:typeof(e.propsSize&&e.propsSize.width)>"u"?"auto":e.propsSize&&e.propsSize.width,height:typeof(e.propsSize&&e.propsSize.height)>"u"?"auto":e.propsSize&&e.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},e.onResizeStart=e.onResizeStart.bind(e),e.onMouseMove=e.onMouseMove.bind(e),e.onMouseUp=e.onMouseUp.bind(e),e}return Object.defineProperty(l.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||qrc},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"size",{get:function(){var t=0,e=0;if(this.resizable&&this.window){var b=this.resizable.offsetWidth,d=this.resizable.offsetHeight,o=this.resizable.style.position;o!=="relative"&&(this.resizable.style.position="relative"),t=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:b,e=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:d,this.resizable.style.position=o}return{width:t,height:e}},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"sizeStyle",{get:function(){var t=this,e=this.props.size,b=function(n){if(typeof t.state[n]>"u"||t.state[n]==="auto")return"auto";if(t.propsSize&&t.propsSize[n]&&Ht(t.propsSize[n].toString(),"%")){if(Ht(t.state[n].toString(),"%"))return t.state[n].toString();var X=t.getParentSize(),G=Number(t.state[n].toString().replace("px","")),i=G/X[n]*100;return i+"%"}return pC(t.state[n])},d=e&&typeof e.width<"u"&&!this.state.isResizing?pC(e.width):b("width"),o=e&&typeof e.height<"u"&&!this.state.isResizing?pC(e.height):b("height");return{width:d,height:o}},enumerable:!1,configurable:!0}),l.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var e=!1,b=this.parentNode.style.flexWrap;b!=="wrap"&&(e=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%";var d={width:t.offsetWidth,height:t.offsetHeight};return e&&(this.parentNode.style.flexWrap=b),this.removeBase(t),d},l.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},l.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},l.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:t.flexBasis!=="auto"?t.flexBasis:void 0})}},l.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},l.prototype.createSizeForCssProperty=function(t,e){var b=this.propsSize&&this.propsSize[e];return this.state[e]==="auto"&&this.state.original[e]===t&&(typeof b>"u"||b==="auto")?"auto":t},l.prototype.calculateNewMaxFromBoundary=function(t,e){var b=this.props.boundsByDirection,d=this.state.direction,o=b&&Y0("left",d),n=b&&Y0("top",d),X,G;if(this.props.bounds==="parent"){var i=this.parentNode;i&&(X=o?this.resizableRight-this.parentLeft:i.offsetWidth+(this.parentLeft-this.resizableLeft),G=n?this.resizableBottom-this.parentTop:i.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(X=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,G=n?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(X=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),G=n?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return X&&Number.isFinite(X)&&(t=t&&t<X?t:X),G&&Number.isFinite(G)&&(e=e&&e<G?e:G),{maxWidth:t,maxHeight:e}},l.prototype.calculateNewSizeFromDirection=function(t,e){var b=this.props.scale||1,d=this.props.resizeRatio||1,o=this.state,n=o.direction,X=o.original,G=this.props,i=G.lockAspectRatio,a=G.lockAspectRatioExtraHeight,m=G.lockAspectRatioExtraWidth,s=X.width,x=X.height,r=a||0,g=m||0;return Y0("right",n)&&(s=X.width+(t-X.x)*d/b,i&&(x=(s-g)/this.ratio+r)),Y0("left",n)&&(s=X.width-(t-X.x)*d/b,i&&(x=(s-g)/this.ratio+r)),Y0("bottom",n)&&(x=X.height+(e-X.y)*d/b,i&&(s=(x-r)*this.ratio+g)),Y0("top",n)&&(x=X.height-(e-X.y)*d/b,i&&(s=(x-r)*this.ratio+g)),{newWidth:s,newHeight:x}},l.prototype.calculateNewSizeFromAspectRatio=function(t,e,b,d){var o=this.props,n=o.lockAspectRatio,X=o.lockAspectRatioExtraHeight,G=o.lockAspectRatioExtraWidth,i=typeof d.width>"u"?10:d.width,a=typeof b.width>"u"||b.width<0?t:b.width,m=typeof d.height>"u"?10:d.height,s=typeof b.height>"u"||b.height<0?e:b.height,x=X||0,r=G||0;if(n){var g=(m-x)*this.ratio+r,H=(s-x)*this.ratio+r,Z=(i-r)/this.ratio+x,R=(a-r)/this.ratio+x,W=Math.max(i,g),I=Math.min(a,H),p=Math.max(m,Z),B=Math.min(s,R);t=_p(t,W,I),e=_p(e,p,B)}else t=_p(t,i,a),e=_p(e,m,s);return{newWidth:t,newHeight:e}},l.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var t=this.parentNode;if(t){var e=t.getBoundingClientRect();this.parentLeft=e.left,this.parentTop=e.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var b=this.props.bounds.getBoundingClientRect();this.targetLeft=b.left,this.targetTop=b.top}if(this.resizable){var d=this.resizable.getBoundingClientRect(),o=d.left,n=d.top,X=d.right,G=d.bottom;this.resizableLeft=o,this.resizableRight=X,this.resizableTop=n,this.resizableBottom=G}},l.prototype.onResizeStart=function(t,e){if(!(!this.resizable||!this.window)){var b=0,d=0;if(t.nativeEvent&&$rc(t.nativeEvent)){if(b=t.nativeEvent.clientX,d=t.nativeEvent.clientY,t.nativeEvent.which===3)return}else t.nativeEvent&&qp(t.nativeEvent)&&(b=t.nativeEvent.touches[0].clientX,d=t.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable){var o=this.props.onResizeStart(t,e,this.resizable);if(o===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var n,X=this.window.getComputedStyle(this.resizable);if(X.flexBasis!=="auto"){var G=this.parentNode;if(G){var i=this.window.getComputedStyle(G).flexDirection;this.flexDir=i.startsWith("row")?"row":"column",n=X.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var a={original:{x:b,y:d,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Ho(Ho({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:e,flexBasis:n};this.setState(a)}},l.prototype.onMouseMove=function(t){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&qp(t))try{t.preventDefault(),t.stopPropagation()}catch{}var e=this.props,b=e.maxWidth,d=e.maxHeight,o=e.minWidth,n=e.minHeight,X=qp(t)?t.touches[0].clientX:t.clientX,G=qp(t)?t.touches[0].clientY:t.clientY,i=this.state,a=i.direction,m=i.original,s=i.width,x=i.height,r=this.getParentSize(),g=cgc(r,this.window.innerWidth,this.window.innerHeight,b,d,o,n);b=g.maxWidth,d=g.maxHeight,o=g.minWidth,n=g.minHeight;var H=this.calculateNewSizeFromDirection(X,G),Z=H.newHeight,R=H.newWidth,W=this.calculateNewMaxFromBoundary(b,d),I=this.calculateNewSizeFromAspectRatio(R,Z,{width:W.maxWidth,height:W.maxHeight},{width:o,height:n});if(R=I.newWidth,Z=I.newHeight,this.props.grid){var p=NP(R,this.props.grid[0]),B=NP(Z,this.props.grid[1]),y=this.props.snapGap||0;R=y===0||Math.abs(p-R)<=y?p:R,Z=y===0||Math.abs(B-Z)<=y?B:Z}this.props.snap&&this.props.snap.x&&(R=fP(R,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(Z=fP(Z,this.props.snap.y,this.props.snapGap));var C={width:R-m.width,height:Z-m.height};if(s&&typeof s=="string"){if(Ht(s,"%")){var V=R/r.width*100;R=V+"%"}else if(Ht(s,"vw")){var h=R/this.window.innerWidth*100;R=h+"vw"}else if(Ht(s,"vh")){var Y=R/this.window.innerHeight*100;R=Y+"vh"}}if(x&&typeof x=="string"){if(Ht(x,"%")){var V=Z/r.height*100;Z=V+"%"}else if(Ht(x,"vw")){var h=Z/this.window.innerWidth*100;Z=h+"vw"}else if(Ht(x,"vh")){var Y=Z/this.window.innerHeight*100;Z=Y+"vh"}}var N={width:this.createSizeForCssProperty(R,"width"),height:this.createSizeForCssProperty(Z,"height")};this.flexDir==="row"?N.flexBasis=N.width:this.flexDir==="column"&&(N.flexBasis=N.height),this.setState(N),this.props.onResize&&this.props.onResize(t,a,this.resizable,C)}},l.prototype.onMouseUp=function(t){var e=this.state,b=e.isResizing,d=e.direction,o=e.original;if(!(!b||!this.resizable)){var n={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(t,d,this.resizable,n),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Ho(Ho({},this.state.backgroundStyle),{cursor:"auto"})})}},l.prototype.updateSize=function(t){this.setState({width:t.width,height:t.height})},l.prototype.renderResizer=function(){var t=this,e=this.props,b=e.enable,d=e.handleStyles,o=e.handleClasses,n=e.handleWrapperStyle,X=e.handleWrapperClass,G=e.handleComponent;if(!b)return null;var i=Object.keys(b).map(function(a){return b[a]!==!1?Wi.createElement(CP,{key:a,direction:a,onResizeStart:t.onResizeStart,replaceStyles:d&&d[a],className:o&&o[a]},G&&G[a]?G[a]:null):null});return Wi.createElement("div",{className:X,style:n},i)},l.prototype.render=function(){var t=this,e=Object.keys(this.props).reduce(function(o,n){return lgc.indexOf(n)!==-1||(o[n]=t.props[n]),o},{}),b=Ho(Ho(Ho({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(b.flexBasis=this.state.flexBasis);var d=this.props.as||"div";return Wi.createElement(d,Ho({ref:this.ref,style:b,className:this.props.className},e),this.state.isResizing&&Wi.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},l.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},l})(Wi.PureComponent);var UP=u(F(),1);var DP=u(F(),1),BC=u(Gc(),1);var Rd=u(F(),1),zP=u(ec(),1),tgc=()=>{},pn={bottom:"bottom",corner:"corner"};function AP({axis:c,fadeTimeout:l=180,onResize:t=tgc,position:e=pn.bottom,showPx:b=!1}){let[d,o]=(0,zP.useResizeObserver)(),n=!!c,[X,G]=(0,Rd.useState)(!1),[i,a]=(0,Rd.useState)(!1),{width:m,height:s}=o,x=(0,Rd.useRef)(s),r=(0,Rd.useRef)(m),g=(0,Rd.useRef)(void 0),H=(0,Rd.useCallback)(()=>{let R=()=>{n||(G(!1),a(!1))};g.current&&window.clearTimeout(g.current),g.current=window.setTimeout(R,l)},[l,n]);return(0,Rd.useEffect)(()=>{if(!(m!==null||s!==null))return;let W=m!==r.current,I=s!==x.current;if(!(!W&&!I)){if(m&&!r.current&&s&&!x.current){r.current=m,x.current=s;return}W&&(G(!0),r.current=m),I&&(a(!0),x.current=s),t({width:m,height:s}),H()}},[m,s,t,H]),{label:egc({axis:c,height:s,moveX:X,moveY:i,position:e,showPx:b,width:m}),resizeListener:d}}function egc({axis:c,height:l,moveX:t=!1,moveY:e=!1,position:b=pn.bottom,showPx:d=!1,width:o}){if(!t&&!e)return;if(b===pn.corner)return`${o} x ${l}`;let n=d?" px":"";if(c){if(c==="x"&&t)return`${o}${n}`;if(c==="y"&&e)return`${l}${n}`}if(t&&e)return`${o} x ${l}`;if(t)return`${o}${n}`;if(e)return`${l}${n}`}var OP=S("div",{target:"e1wq7y4k3"})({name:"1cd7zoc",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"}),QP=S("div",{target:"e1wq7y4k2"})({name:"ajymcs",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"}),wP=S("div",{target:"e1wq7y4k1"})("background:",T.theme.foreground,";border-radius:",O.radiusSmall,";box-sizing:border-box;font-family:",Cl("default.fontFamily"),";font-size:12px;color:",T.theme.foregroundInverted,";padding:4px 8px;position:relative;"),TP=S(Ge,{target:"e1wq7y4k0"})("&&&{color:",T.theme.foregroundInverted,";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}");var cB=u(J(),1),lB=4,bgc=lB*2.5;function dgc({label:c,position:l=pn.corner,zIndex:t=1e3,...e},b){let d=!!c,o=l===pn.bottom,n=l===pn.corner;if(!d)return null;let X={opacity:d?1:void 0,zIndex:t},G={};return o&&(X={...X,position:"absolute",bottom:bgc*-1,left:"50%",transform:"translate(-50%, 0)"},G={transform:"translate(0, 100%)"}),n&&(X={...X,position:"absolute",top:lB,right:(0,BC.isRTL)()?void 0:lB,left:(0,BC.isRTL)()?lB:void 0}),(0,cB.jsx)(QP,{"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",ref:b,style:X,...e,children:(0,cB.jsx)(wP,{className:"components-resizable-tooltip__tooltip",style:G,children:(0,cB.jsx)(TP,{as:"span",children:c})})})}var ogc=(0,DP.forwardRef)(dgc),LP=ogc;var tB=u(J(),1),ngc=()=>{};function Xgc({axis:c,className:l,fadeTimeout:t=180,isVisible:e=!0,labelRef:b,onResize:d=ngc,position:o=pn.bottom,showPx:n=!0,zIndex:X=1e3,...G},i){let{label:a,resizeListener:m}=AP({axis:c,fadeTimeout:t,onResize:d,showPx:n,position:o});if(!e)return null;let s=Q("components-resize-tooltip",l);return(0,tB.jsxs)(OP,{"aria-hidden":"true",className:s,ref:i,...G,children:[m,(0,tB.jsx)(LP,{"aria-hidden":G["aria-hidden"],label:a,position:o,ref:b,zIndex:X})]})}var Ggc=(0,UP.forwardRef)(Xgc),jP=Ggc;var nr=u(J(),1),fX="components-resizable-box__handle",eB="components-resizable-box__side-handle",bB="components-resizable-box__corner-handle",EP={top:Q(fX,eB,"components-resizable-box__handle-top"),right:Q(fX,eB,"components-resizable-box__handle-right"),bottom:Q(fX,eB,"components-resizable-box__handle-bottom"),left:Q(fX,eB,"components-resizable-box__handle-left"),topLeft:Q(fX,bB,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:Q(fX,bB,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:Q(fX,bB,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:Q(fX,bB,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},SX={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},igc={top:SX,right:SX,bottom:SX,left:SX,topLeft:SX,topRight:SX,bottomRight:SX,bottomLeft:SX};function agc({className:c,children:l,showHandle:t=!0,__experimentalShowTooltip:e=!1,__experimentalTooltipProps:b={},...d},o){return(0,nr.jsxs)(kP,{className:Q("components-resizable-box__container",t&&"has-show-handle",c),handleComponent:Object.fromEntries(Object.keys(EP).map(n=>[n,(0,nr.jsx)("div",{tabIndex:-1},n)])),handleClasses:EP,handleStyles:igc,ref:o,...d,children:[l,e&&(0,nr.jsx)(jP,{...b})]})}var PP=(0,MP.forwardRef)(agc);PP.displayName="ResizableBox";var KP=PP;var dB=u(F(),1),yC=u(J(),1);function ugc({naturalWidth:c,naturalHeight:l,children:t,isInline:e=!1}){if(dB.Children.count(t)!==1)return null;let b=e?"span":"div",d;return c&&l&&(d=`${c} / ${l}`),(0,yC.jsx)(b,{className:"components-responsive-wrapper",children:(0,yC.jsx)("div",{children:(0,dB.cloneElement)(t,{className:Q("components-responsive-wrapper__content",t.props.className),style:{...t.props.style,aspectRatio:d}})})})}var _P=ugc;var Rt=u(F(),1),F0=u(ec(),1),Jl=u(J(),1);var qP=function(){let{MutationObserver:c}=window;if(!c||!document.body||!window.parent)return;function l(){let b=document.body.getBoundingClientRect();window.parent.postMessage({action:"resize",width:b.width,height:b.height},"*")}new c(l).observe(document.body,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),window.addEventListener("load",l,!0);function e(b){b.style&&["width","height","minHeight","maxHeight"].forEach(function(d){/^\d*\.?\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(b.style[d])&&(b.style[d]="")})}Array.prototype.forEach.call(document.querySelectorAll("[style]"),e),Array.prototype.forEach.call(document.styleSheets,function(b){Array.prototype.forEach.call(b.cssRules||b.rules,e)}),document.body.style.position="absolute",document.body.style.width="100%",document.body.setAttribute("data-resizable-iframe-connected",""),l(),window.addEventListener("resize",l,!0)},$P=` | |
| 117 | + `,";");var Ile=u(F(),1);function Zle({left:e="50%",top:t="50%",...c}){return(0,Ile.jsx)(Hle,{...c,className:"components-focal-point-picker__icon_container",style:{left:e,top:t}})}var cu=u(F(),1);function fle({bounds:e,...t}){return(0,cu.jsxs)(gle,{...t,className:"components-focal-point-picker__grid",style:{width:e.width,height:e.height},children:[(0,cu.jsx)(oS,{style:{top:"33%"}}),(0,cu.jsx)(oS,{style:{top:"66%"}}),(0,cu.jsx)(dS,{style:{left:"33%"}}),(0,cu.jsx)(dS,{style:{left:"66%"}})]})}var $h=u(F(),1);function yle({alt:e,autoPlay:t,src:c,onLoad:n,mediaRef:l,muted:o=!0,...d}){return c?ale(c)?(0,$h.jsx)("video",{...d,autoPlay:t,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:o,onLoadedData:n,ref:l,src:c}):(0,$h.jsx)("img",{...d,alt:e,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:n,ref:l,src:c}):(0,$h.jsx)(mle,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:l,...d})}var Vo=u(F(),1),y9e=600;function W9e({__nextHasNoMarginBottom:e,__next40pxDefaultSize:t,autoPlay:c=!0,className:n,help:l,hideLabelFromVision:o,label:d,onChange:i,onDrag:r,onDragEnd:a,onDragStart:s,resolvePoint:b,url:m,value:X={x:.5,y:.5},...G}){let[g,x]=(0,Br.useState)(X),[H,p]=(0,Br.useState)(!1),{startDrag:R,endDrag:I,isDragging:f}=(0,e1.__experimentalUseDragging)({onDragStart:k=>{W.current?.focus();let N=B(k);N&&(s?.(N,k),x(N))},onDragMove:k=>{k.preventDefault();let N=B(k);N&&(r?.(N,k),x(N))},onDragEnd:()=>{a?.(),i?.(g)}}),{x:y,y:Z}=f?g:X,W=(0,Br.useRef)(null),[v,h]=(0,Br.useState)(WX),C=(0,Br.useRef)(()=>{if(!W.current)return;let{clientWidth:k,clientHeight:N}=W.current;h(k>0&&N>0?{width:k,height:N}:{...WX})});(0,Br.useEffect)(()=>{let k=C.current;if(!W.current)return;let{defaultView:N}=W.current.ownerDocument;return N?.addEventListener("resize",k),()=>N?.removeEventListener("resize",k)},[]),(0,e1.useIsomorphicLayoutEffect)(()=>{C.current()},[]);let B=({clientX:k,clientY:N,shiftKey:A})=>{if(!W.current)return;let{top:Q,left:z}=W.current.getBoundingClientRect(),D=(k-z)/v.width,U=(N-Q)/v.height;return A&&(D=Math.round(D/.1)*.1,U=Math.round(U/.1)*.1),V({x:D,y:U})},V=k=>{let N=b?.(k)??k;N.x=Math.max(0,Math.min(N.x,1)),N.y=Math.max(0,Math.min(N.y,1));let A=Q=>Math.round(Q*100)/100;return{x:A(N.x),y:A(N.y)}},S=k=>{let{code:N,shiftKey:A}=k;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(N))return;k.preventDefault();let Q={x:y,y:Z},z=A?.1:.01,D=N==="ArrowUp"||N==="ArrowLeft"?-1*z:z,U=N==="ArrowUp"||N==="ArrowDown"?"y":"x";Q[U]=Q[U]+D,i?.(V(Q))},Y={left:y!==void 0?y*v.width:.5*v.width,top:Z!==void 0?Z*v.height:.5*v.height},J=w("components-focal-point-picker-control",n);return tb(()=>{p(!0);let k=window.setTimeout(()=>{p(!1)},y9e);return()=>window.clearTimeout(k)},[y,Z]),(0,Vo.jsxs)(sle,{...G,as:"fieldset",className:J,children:[!!d&&(o?(0,Vo.jsx)(bt,{as:"legend",children:d}):(0,Vo.jsx)(xa,{as:"legend",children:d})),(0,Vo.jsx)(ble,{className:"components-focal-point-picker-wrapper",children:(0,Vo.jsxs)(ule,{className:"components-focal-point-picker",onKeyDown:S,onMouseDown:R,onBlur:()=>{f&&I()},ref:W,role:"button",tabIndex:-1,children:[(0,Vo.jsx)(fle,{bounds:v,showOverlay:H}),(0,Vo.jsx)(yle,{alt:(0,Wle.__)("Media preview"),autoPlay:c,onLoad:C.current,src:m}),(0,Vo.jsx)(Zle,{...Y,isDragging:f})]})}),(0,Vo.jsx)(Rle,{hasHelpText:!!l,point:{x:y,y:Z},onChange:k=>{i?.(V(k))}}),!!l&&(0,Vo.jsx)($i,{children:l})]})}var hle=W9e;var t1=u(me(),1),Ble=u(Xt(),1),vle=u(F(),1);function Vle({iframeRef:e,...t}){let c=(0,t1.useMergeRefs)([e,(0,t1.useFocusableIframe)()]);return(0,Ble.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,vle.jsx)("iframe",{ref:c,...t})}var nu=u(Ze(),1);var c1=u(T(),1),Ule=u(me(),1);var Cle=q("fieldset",{target:"e8tqeku4"})({name:"k2q51s",styles:"border:0;margin:0;padding:0;display:contents"}),Fle=q(xt,{target:"e8tqeku3"})("height:",K(4),";"),Jle=q(be,{target:"e8tqeku2"})("margin-top:",K(-1),";"),Yle=q(at.VisualLabel,{target:"e8tqeku1"})("display:flex;gap:",K(1),";justify-content:flex-start;margin-bottom:0;"),Nle=q(Eh,{target:"e8tqeku0"})({name:"anvx77",styles:".components-custom-select-control__item .components-custom-select-control__item-hint{width:100%;}"});var BX=u(Ze(),1),wle=u(T(),1);function h9e(e){return/^[\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.test(String(e))}function Sle(e){if(e.hint)return e.hint;if(h9e(e.size))return String(e.size)}var kle=u(F(),1),iS={key:"default",name:(0,BX.__)("Default"),value:void 0},B9e=e=>{let{fontSizes:t,value:c,valueMode:n="literal",onChange:l}=e,o=[iS,...t.map(i=>{let r=Sle(i);return{key:i.slug,name:i.name||i.slug,value:i.size,hint:r}})],d=(0,wle.useMemo)(()=>{if(c===void 0)return iS;if(n==="slug"){let i=o.find(r=>r.key===c);if(i)return i}return o.find(i=>i.value===c)??iS},[c,n,o]);return(0,kle.jsx)(Nle,{className:"components-font-size-picker__select",label:(0,BX.__)("Font size"),hideLabelFromVision:!0,describedBy:(0,BX.sprintf)((0,BX.__)("Currently selected font size: %s"),d.name),options:o,value:d,showSelectedHint:!0,onChange:({selectedItem:i})=>{let r=i.key==="default"?void 0:t.find(a=>a.slug===i.key);l(i.value,r)}})},zle=B9e;var Ole=u(Ze(),1);var md=u(Ze(),1),Tle=[(0,md.__)("S"),(0,md.__)("M"),(0,md.__)("L"),(0,md.__)("XL"),(0,md.__)("XXL")],Ale=[(0,md.__)("Small"),(0,md.__)("Medium"),(0,md.__)("Large"),(0,md.__)("Extra Large"),(0,md.__)("Extra Extra Large")];var rS=u(F(),1),v9e=e=>{let{fontSizes:t,value:c,valueMode:n="literal",onChange:l}=e,o=c?n==="slug"?String(c):t.filter(r=>r.size===c).length>1?void 0:t.find(r=>r.size===c)?.slug:void 0;return(0,rS.jsx)(Kd,{label:(0,Ole.__)("Font size"),hideLabelFromVision:!0,value:o,onChange:d=>{if(d===void 0)l(void 0);else{let i=t.find(r=>r.slug===String(d));i&&l(i.size,i)}},isBlock:!0,children:t.map((d,i)=>(0,rS.jsx)(cr,{value:d.slug,label:Tle[i],"aria-label":d.name||Ale[i],showTooltip:!0},d.slug))})},Qle=v9e;var nn=u(F(),1),V9e=["px","em","rem","vw","vh"],C9e=5,Ele=(e,t)=>{let{fallbackFontSize:c,fontSizes:n=[],disableCustomFontSizes:l=!1,onChange:o,units:d=V9e,value:i,valueMode:r="literal",withSlider:a=!1,withReset:s=!0}=e,b=(0,Ule.useInstanceId)(Ele,"font-size-picker-label"),m=Vx({availableUnits:d}),X=(()=>{if(i)return r==="slug"?n.find(W=>W.slug===i):n.find(W=>W.size===i)})(),G=!!i&&!X,[g,x]=(0,c1.useState)(G),H=r==="slug"?X?.size:i,p;if(!l&&g?p="custom":p=n.length>C9e?"select":"togglegroup",n.length===0&&l)return null;let R=typeof H=="string"||typeof n[0]?.size=="string",[I,f]=Yc(H,m),y=!!f&&["em","rem","vw","vh"].includes(f),Z=i===void 0;return(0,nn.jsxs)(Cle,{ref:t,className:"components-font-size-picker","aria-labelledby":b,children:[(0,nn.jsx)(Pc,{children:(0,nn.jsxs)(Fle,{className:"components-font-size-picker__header",children:[(0,nn.jsx)(Yle,{id:b,children:(0,nu.__)("Font size")}),!l&&(0,nn.jsx)(Jle,{label:p==="custom"?(0,nu.__)("Use size preset"):(0,nu.__)("Set custom size"),icon:tx,onClick:()=>x(!g),isPressed:p==="custom",size:"small"})]})}),(0,nn.jsxs)("div",{children:[p==="select"&&(0,nn.jsx)(zle,{fontSizes:n,value:i,valueMode:r,disableCustomFontSizes:l,onChange:(W,v)=>{o?.(W===void 0?void 0:R?W:Number(W),v)},onSelectCustom:()=>x(!0)}),p==="togglegroup"&&(0,nn.jsx)(Qle,{fontSizes:n,value:i,valueMode:r,onChange:(W,v)=>{o?.(W===void 0?void 0:R?W:Number(W),v)}}),p==="custom"&&(0,nn.jsxs)(Mt,{className:"components-font-size-picker__custom-size-control",children:[(0,nn.jsx)(Cn,{isBlock:!0,children:(0,nn.jsx)(oi,{label:(0,nu.__)("Font size"),labelPosition:"top",hideLabelFromVision:!0,value:R?`${I??""}${f??""}`:H,onChange:W=>{x(!0),o?.(W===void 0||W===""?void 0:R?W:parseInt(W,10))},units:R?m:[],min:0})}),a&&(0,nn.jsx)(Cn,{isBlock:!0,children:(0,nn.jsx)(Pc,{marginX:2,marginBottom:0,children:(0,nn.jsx)(Al,{className:"components-font-size-picker__custom-input",label:(0,nu.__)("Font size"),hideLabelFromVision:!0,value:I,initialPosition:c,withInputField:!1,onChange:W=>{x(!0),o?.(W===void 0?void 0:R?W+(f??"px"):W)},min:0,max:y?10:100,step:y?.1:1})})}),s&&(0,nn.jsx)(Cn,{children:(0,nn.jsx)(p0,{disabled:Z,accessibleWhenDisabled:!0,onClick:()=>{o?.(void 0)},variant:"secondary",__next40pxDefaultSize:!0,size:"default",children:(0,nu.__)("Reset")})})]})]})]})},Lle=(0,c1.forwardRef)(Ele);Lle.displayName="FontSizePicker";var Dle=Lle;var _le=u(T(),1);var Qp=u(F(),1);function F9e({accept:e,children:t,multiple:c=!1,onChange:n,onClick:l,render:o,__next40pxDefaultSize:d,...i}){let r=(0,_le.useRef)(null),a=()=>{r.current?.click()},s=o?o({openFileDialog:a}):(0,Qp.jsx)(be,{onClick:a,__next40pxDefaultSize:!0,...i,children:t}),b=e?.includes("audio/*")?`${e}, audio/mp3, audio/x-m4a, audio/x-m4b, audio/x-m4p, audio/x-wav, audio/webm`:e;return(0,Qp.jsxs)("div",{className:"components-form-file-upload",children:[s,(0,Qp.jsx)("input",{type:"file",ref:r,multiple:c,style:{display:"none"},accept:b,onChange:n,onClick:l,"data-testid":"form-file-upload-input"})]})}var jle=F9e;var Mle=u(T(),1),vX=u(F(),1),J9e=()=>{};function Y9e(e,t){let{className:c,checked:n,id:l,disabled:o,onChange:d=J9e,onClick:i,...r}=e,a=w("components-form-toggle",c,{"is-checked":n,"is-disabled":o});return(0,vX.jsxs)("span",{className:a,children:[(0,vX.jsx)("input",{className:"components-form-toggle__input",id:l,type:"checkbox",checked:n,onChange:d,disabled:o,onClick:s=>{s.currentTarget.focus(),i?.(s)},...r,ref:t}),(0,vX.jsx)("span",{className:"components-form-toggle__track"}),(0,vX.jsx)("span",{className:"components-form-toggle__thumb"})]})}var Ple=(0,Mle.forwardRef)(Y9e);Ple.displayName="FormToggle";var n1=Ple;var dl=u(T(),1),Pl=u(Ze(),1),ou=u(me(),1),Up=u(Md(),1),qle=u(Jy(),1),$le=u(Xt(),1),eoe=u(Xa(),1);var Kle=u(me(),1),l1=u(Ze(),1);var lu=u(F(),1),N9e=()=>{};function aS({value:e,status:t,title:c,displayTransform:n,isBorderless:l=!1,disabled:o=!1,onClickRemove:d=N9e,onMouseEnter:i,onMouseLeave:r,messages:a,termPosition:s,termsCount:b}){let m=(0,Kle.useInstanceId)(aS),X=w("components-form-token-field__token",{"is-error":t==="error","is-success":t==="success","is-validating":t==="validating","is-borderless":l,"is-disabled":o}),G=()=>d({value:e}),g=n(e),x=(0,l1.sprintf)((0,l1.__)("%1$s (%2$d of %3$d)"),g,s,b);return(0,lu.jsxs)("span",{className:X,onMouseEnter:i,onMouseLeave:r,title:c,children:[(0,lu.jsxs)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${m}`,children:[(0,lu.jsx)(bt,{as:"span",children:x}),(0,lu.jsx)("span",{"aria-hidden":"true",children:g})]}),(0,lu.jsx)(be,{className:"components-form-token-field__remove-token",size:"small",icon:Di,onClick:o?void 0:G,disabled:o,label:a.remove,"aria-describedby":`components-form-token-field__token-text-${m}`})]})}var Xd=u(F(),1),sS="data-wp-hash";function bS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&w9e(document)),e.__wpStyleRuntime}function S9e(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${sS}]`))if(c.getAttribute(sS)===t)return!0;return!1}function toe(e,t,c){if(!e.head)return;let n=bS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(S9e(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(sS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function w9e(e){let t=bS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)toe(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function k9e(e,t){let c=bS();c.styles.set(e,t);for(let n of c.documents.keys())toe(n,e,t)}typeof process>"u",k9e("f9ae5dc19e",".df878b202c3b3cb7__tokens-and-input{box-sizing:border-box;padding:7px}.df878b202c3b3cb7__tokens-and-input *,.df878b202c3b3cb7__tokens-and-input :after,.df878b202c3b3cb7__tokens-and-input :before{box-sizing:inherit}");var z9e={"tokens-and-input":"df878b202c3b3cb7__tokens-and-input"},T9e=e=>e;function coe(e){let{autoCapitalize:t,autoComplete:c,maxLength:n,placeholder:l,label:o=(0,Pl.__)("Add item"),className:d,suggestions:i=[],maxSuggestions:r=100,value:a=[],displayTransform:s=T9e,saveTransform:b=re=>re.trim(),onChange:m=()=>{},onInputChange:X=()=>{},onFocus:G=void 0,isBorderless:g=!1,disabled:x=!1,tokenizeOnSpace:H=!1,messages:p={added:(0,Pl.__)("Item added."),removed:(0,Pl.__)("Item removed."),remove:(0,Pl.__)("Remove item"),__experimentalInvalid:(0,Pl.__)("Invalid item")},__experimentalRenderItem:R,__experimentalExpandOnFocus:I=!1,__experimentalValidateInput:f=()=>!0,__experimentalShowHowTo:y,__experimentalAutoSelectFirstMatch:Z=!1,tokenizeOnBlur:W=!1,help:v}=e,h=H?(0,Pl.__)("Separate with commas, spaces, or the Enter key."):(0,Pl.__)("Separate with commas or the Enter key."),C=v!==void 0?v:h;typeof y=="boolean"&&((0,$le.default)("`__experimentalShowHowTo` prop in wp.components.FormTokenField",{since:"7.1",alternative:"`help` prop",hint:"The `help` prop now defaults to the previous how-to text. Pass an empty string to hide it."}),y===!1&&v===void 0&&(C=""));let B=(0,ou.useInstanceId)(coe),[V,S]=(0,dl.useState)(""),[Y,J]=(0,dl.useState)(0),[k,N]=(0,dl.useState)(!1),[A,Q]=(0,dl.useState)(!1),[z,D]=(0,dl.useState)(-1),[U,O]=(0,dl.useState)(!1),L=(0,ou.usePrevious)(i),M=(0,ou.usePrevious)(a),_=(0,dl.useRef)(null),j=(0,dl.useRef)(null),ue=(0,ou.useDebounce)(Up.speak,500);(0,dl.useEffect)(()=>{k&&!Be()&&xe()},[k]),(0,dl.useEffect)(()=>{let re=!(0,qle.isShallowEqual)(i,L||[]);(re||a!==M)&&$l(re)},[i,L,a,M]),(0,dl.useEffect)(()=>{$l()},[V]),(0,dl.useEffect)(()=>{$l()},[Z]),x&&k&&(N(!1),S(""));function xe(){_.current?.focus()}function Be(){return _.current===_.current?.ownerDocument.activeElement}function P(re){Be()||re.target===j.current?(N(!0),Q(I||A)):N(!1),typeof G=="function"&&G(re)}function ye(re){if(zc()&&f(V))N(!1),W&&zc()&&he(V);else{if(S(""),J(0),N(!1),I){let Ee=re.relatedTarget===j.current;Q(Ee)}else Q(!1);D(-1),O(!1)}}function Te(re){let Ee=!1;if(!re.defaultPrevented){switch(re.key){case"Backspace":Ee=Ve(Ye);break;case"Enter":Ee=Fe();break;case"ArrowLeft":Ee=qe();break;case"ArrowUp":Ee=Ge();break;case"ArrowRight":Ee=Vt();break;case"ArrowDown":Ee=We();break;case"Delete":Ee=Ve(le);break;case"Space":H&&(Ee=Fe({preventDefaultOnFailedValidation:!1}));break;case"Escape":Ee=ee(re);break;case"Tab":Ee=Ae(re);break;default:break}Ee&&re.preventDefault()}}function ze(re){let Ee=!1;re.key===","&&(Ee=ot()),Ee&&re.preventDefault()}function Ne(re){re.target===j.current&&k&&re.preventDefault()}function He(re){Ke(re.value),xe()}function we(re){let Ee=kt().indexOf(re);Ee>=0&&(D(Ee),O(!1))}function pe(re){he(re)}function ve(re){let Ee=re.value,Pt=H?/[ ,\t]+/:/[,\t]+/,Dc=Ee.split(Pt),to=Dc[Dc.length-1]||"";if(Dc.length>1){let Fo=Dc.slice(0,-1),Hu=sl=>{let Zi=b(sl);return!!Zi&&!$e(Zi)&&!f(Zi)},PX=Fo.some(Hu),XR=Qe(PX?Dc:Fo);if(PX){let sl=Dc.filter(Wse=>{let GR=b(Wse);return!GR||XR.has(GR)||$e(GR)?!1:!f(GR)}),Zi=Ee.match(/[ ,\t]/g),ww=Zi?.[Zi.length-1]??(H?" ":","),yse=to===""?ww:"",kw=sl.join(ww)+yse;S(kw),X(kw);return}}S(to),X(to)}function Ve(re){let Ee=!1;return Be()&&Hn()&&(re(),Ee=!0),Ee}function qe(){let re=!1;return Hn()&&(Lt(),re=!0),re}function Vt(){let re=!1;return Hn()&&(kc(),re=!0),re}function Ge(){return D(re=>(re<=0?kt(V,i,a,r,b).length:re)-1),O(!0),!0}function We(){return D(re=>(re+1)%kt(V,i,a,r,b).length),O(!0),!0}function se(re){re.target instanceof HTMLInputElement&&(S(re.target.value),Q(!1),D(-1),O(!1))}function ee(re){return se(re),!0}function Ae(re){return se(re),!1}function ot(){return zc()&&he(V),!0}function ft(re){J(a.length-Math.max(re,-1)-1)}function Lt(){J(re=>Math.min(re+1,a.length))}function kc(){J(re=>Math.max(re-1,0))}function Ye(){let re=pc()-1;re>-1&&Ke(a[re])}function le(){let re=pc();re<a.length&&(Ke(a[re]),ft(re))}function Fe({preventDefaultOnFailedValidation:re=!0}={}){let Ee=!1,Pt=al();return Pt?(he(Pt),Ee=!0):zc()&&(Ee=he(V)||re),Ee}function Qe(re){let Ee=[...new Set(re.map(b).filter(Boolean).filter(Pt=>!$e(Pt)).filter(Pt=>f(Pt)))];if(Ee.length>0){let Pt=[...a];Pt.splice(pc(),0,...Ee),m(Pt)}return new Set(Ee)}function he(re){return f(re)?(Qe([re]),(0,Up.speak)(p.added,"assertive"),S(""),D(-1),O(!1),Q(!I),k&&!W&&xe(),!0):((0,Up.speak)(p.__experimentalInvalid,"assertive"),!1)}function Ke(re){let Ee=a.filter(Pt=>ut(Pt)!==ut(re));m(Ee),(0,Up.speak)(p.removed,"assertive")}function ut(re){return typeof re=="object"?re.value:re}function kt(re=V,Ee=i,Pt=a,Dc=r,to=b){let Fo=to(re),Hu=[],PX=[],XR=Pt.map(sl=>typeof sl=="string"?sl:sl.value);return Fo.length===0?Ee=Ee.filter(sl=>!XR.includes(sl)):(Fo=Fo.normalize("NFKC").toLocaleLowerCase(),Ee.forEach(sl=>{let Zi=sl.normalize("NFKC").toLocaleLowerCase().indexOf(Fo);XR.indexOf(sl)===-1&&(Zi===0?Hu.push(sl):Zi>0&&PX.push(sl))}),Ee=Hu.concat(PX)),Ee.slice(0,Dc)}function al(){if(z!==-1)return kt()[z]}function $e(re){return a.some(Ee=>ut(re)===ut(Ee))}function pc(){return a.length-Y}function Hn(){return V.length===0}function zc(){return b(V).length>0}function $l(re=!0){let Ee=V.trim().length>1,Pt=kt(V),Dc=Pt.length>0,to=Be()&&I;if(Q(to||Ee&&Dc),re&&(Z&&Ee&&Dc?(D(0),O(!0)):(D(-1),O(!1))),Ee){let Fo=Dc?(0,Pl.sprintf)((0,Pl._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",Pt.length),Pt.length):(0,Pl.__)("No results.");ue(Fo,"assertive")}}function Cl(){let re=a.map(pu);return re.splice(pc(),0,kr()),re}function pu(re,Ee,Pt){let Dc=ut(re),to=typeof re!="string"?re.status:void 0,Fo=Ee+1,Hu=Pt.length;return(0,Xd.jsx)(Cn,{children:(0,Xd.jsx)(aS,{value:Dc,status:to,title:typeof re!="string"?re.title:void 0,displayTransform:s,onClickRemove:He,isBorderless:typeof re!="string"&&re.isBorderless||g,onMouseEnter:typeof re!="string"?re.onMouseEnter:void 0,onMouseLeave:typeof re!="string"?re.onMouseLeave:void 0,disabled:to!=="error"&&x,messages:p,termsCount:Hu,termPosition:Fo})},"token-"+Dc)}function kr(){let re=C?`components-form-token-input-${B}__help`:void 0,Ee={instanceId:B,autoCapitalize:t,autoComplete:c,placeholder:a.length===0?l:"",disabled:x,value:V,onBlur:ye,isExpanded:A,selectedSuggestionIndex:z,"aria-describedby":re};return(0,Xd.jsx)(Nh,{...Ee,onChange:n&&a.length>=n?void 0:ve,ref:_},"input")}let Ru=w(d,"components-form-token-field__input-container",{"is-active":k,"is-disabled":x}),eo={className:"components-form-token-field",tabIndex:-1},gs=kt();return x||(eo=Object.assign({},eo,{onKeyDown:(0,eoe.withIgnoreIMEEvents)(Te),onKeyPress:ze,onFocus:P})),(0,Xd.jsxs)("div",{...eo,children:[o&&(0,Xd.jsx)(xa,{htmlFor:`components-form-token-input-${B}`,className:"components-form-token-field__label",children:o}),(0,Xd.jsxs)("div",{ref:j,className:Ru,tabIndex:-1,onMouseDown:Ne,onTouchStart:Ne,children:[(0,Xd.jsx)(Mt,{className:z9e["tokens-and-input"],justify:"flex-start",align:"center",gap:1,wrap:!0,children:Cl()}),A&&(0,Xd.jsx)(Sh,{instanceId:B,match:b(V),displayTransform:s,suggestions:gs,selectedIndex:z,scrollIntoView:U,onHover:we,onSelect:pe,__experimentalRenderItem:R})]}),C&&(0,Xd.jsx)($i,{id:`components-form-token-input-${B}__help`,className:"components-form-token-field__help",children:C})]})}var o1=coe;var Gd=u(T(),1),ooe=u(Xt(),1),i1=u(Ze(),1);var Lp=u(Ze(),1);var d1=u(rt(),1),uS=u(F(),1),noe=()=>(0,uS.jsx)(d1.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,uS.jsx)(d1.Circle,{cx:"4",cy:"4",r:"4"})});var Ep=u(F(),1);function loe({currentPage:e,numberOfPages:t,setCurrentPage:c}){return(0,Ep.jsx)("ul",{className:"components-guide__page-control","aria-label":(0,Lp.__)("Guide controls"),children:Array.from({length:t}).map((n,l)=>(0,Ep.jsx)("li",{"aria-current":l===e?"step":void 0,children:(0,Ep.jsx)(be,{size:"small",icon:(0,Ep.jsx)(noe,{}),"aria-label":(0,Lp.sprintf)((0,Lp.__)("Page %1$d of %2$d"),l+1,t),onClick:()=>c(l)},l)},l))})}var gi=u(F(),1);function A9e({children:e,className:t,contentLabel:c,finishButtonText:n=(0,i1.__)("Finish"),nextButtonText:l=(0,i1.__)("Next"),previousButtonText:o=(0,i1.__)("Previous"),onFinish:d,pages:i=[]}){let r=(0,Gd.useRef)(null),[a,s]=(0,Gd.useState)(0);(0,Gd.useEffect)(()=>{let g=r.current?.querySelector(".components-guide");g instanceof HTMLElement&&g.focus()},[a]),(0,Gd.useEffect)(()=>{Gd.Children.count(e)&&(0,ooe.default)("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[e]),Gd.Children.count(e)&&(i=Gd.Children.map(e,g=>({content:g}))??[]);let b=a>0,m=a<i.length-1,X=()=>{b&&s(a-1)},G=()=>{m&&s(a+1)};return i.length===0?null:(0,gi.jsx)(pX,{className:w("components-guide",t),contentLabel:c,isDismissible:i.length>1,onRequestClose:d,onKeyDown:g=>{g.code==="ArrowLeft"?(X(),g.preventDefault()):g.code==="ArrowRight"&&(G(),g.preventDefault())},ref:r,children:(0,gi.jsxs)("div",{className:"components-guide__container",children:[(0,gi.jsxs)("div",{className:"components-guide__page",children:[i[a].image,i.length>1&&(0,gi.jsx)(loe,{currentPage:a,numberOfPages:i.length,setCurrentPage:s}),i[a].content]}),(0,gi.jsxs)("div",{className:"components-guide__footer",children:[b&&(0,gi.jsx)(be,{className:"components-guide__back-button",variant:"tertiary",onClick:X,__next40pxDefaultSize:!0,children:o}),m&&(0,gi.jsx)(be,{className:"components-guide__forward-button",variant:"primary",onClick:G,__next40pxDefaultSize:!0,children:l}),!m&&(0,gi.jsx)(be,{className:"components-guide__finish-button",variant:"primary",onClick:d,__next40pxDefaultSize:!0,children:n})]})]})})}var doe=A9e;var ioe=u(T(),1),roe=u(Xt(),1),aoe=u(F(),1);function soe(e){return(0,ioe.useEffect)(()=>{(0,roe.default)("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),(0,aoe.jsx)("div",{...e})}var boe=u(Xt(),1),uoe=u(T(),1);var moe=u(F(),1);function O9e({label:e,labelPosition:t,size:c,tooltip:n,...l},o){return(0,boe.default)("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button",version:"6.2"}),(0,moe.jsx)(be,{...l,ref:o,tooltipPosition:t,iconSize:c,showTooltip:n!==void 0?!!n:void 0,label:n||e})}var Xoe=(0,uoe.forwardRef)(O9e);var r1=u(T(),1),Goe=u(me(),1),du=u(F(),1);function Q9e({target:e,callback:t,shortcut:c,bindGlobal:n,eventName:l}){return(0,Goe.useKeyboardShortcut)(c,t,{bindGlobal:n,target:e,eventName:l}),null}function U9e({children:e,shortcuts:t,bindGlobal:c,eventName:n}){let l=(0,r1.useRef)(null),o=Object.entries(t??{}).map(([d,i])=>(0,du.jsx)(Q9e,{shortcut:d,callback:i,bindGlobal:c,eventName:n,target:l},d));return r1.Children.count(e)?(0,du.jsxs)("div",{ref:l,children:[o,e]}):(0,du.jsx)(du.Fragment,{children:o})}var goe=U9e;var xoe=u(T(),1),poe=u(me(),1),Dp=u(F(),1);function Roe(e){let{children:t,className:c="",label:n,hideSeparator:l}=e,o=(0,poe.useInstanceId)(Roe);if(!xoe.Children.count(t))return null;let d=`components-menu-group-label-${o}`,i=w(c,"components-menu-group",{"has-hidden-separator":l});return(0,Dp.jsxs)("div",{className:i,children:[n&&(0,Dp.jsx)("div",{className:"components-menu-group__label",id:d,"aria-hidden":"true",children:n}),(0,Dp.jsx)("div",{role:"group","aria-labelledby":n?d:void 0,children:t})]})}var _p=Roe;var a1=u(T(),1);var vr=u(F(),1);function E9e(e,t){let{children:c,info:n,className:l,icon:o,iconPosition:d="right",shortcut:i,isSelected:r,role:a="menuitem",suffix:s,...b}=e;return l=w("components-menu-item__button",l),n&&(c=(0,vr.jsxs)("span",{className:"components-menu-item__info-wrapper",children:[(0,vr.jsx)("span",{className:"components-menu-item__item",children:c}),(0,vr.jsx)("span",{className:"components-menu-item__info",children:n})]})),o&&typeof o!="string"&&(o=(0,a1.cloneElement)(o,{className:w("components-menu-items__item-icon",{"has-icon-right":d==="right"})})),(0,vr.jsxs)(be,{size:"compact",ref:t,"aria-checked":a==="menuitemcheckbox"||a==="menuitemradio"?r:void 0,role:a,icon:d==="left"?o:void 0,className:l,accessibleWhenDisabled:!0,...b,children:[(0,vr.jsx)("span",{className:"components-menu-item__item",children:c}),!s&&(0,vr.jsx)(xI,{className:"components-menu-item__shortcut",shortcut:i}),!s&&o&&d==="right"&&(0,vr.jsx)(Ot,{icon:o}),s]})}var Hoe=(0,a1.forwardRef)(E9e);Hoe.displayName="MenuItem";var Vr=Hoe;var jp=u(F(),1),L9e=()=>{};function D9e({choices:e=[],onHover:t=L9e,onSelect:c,value:n}){return(0,jp.jsx)(jp.Fragment,{children:e.map(l=>{let o=n===l.value;return(0,jp.jsx)(Vr,{role:"menuitemradio",disabled:l.disabled,icon:o?qc:null,info:l.info,isSelected:o,shortcut:l.shortcut,className:"components-menu-items-choice",onClick:()=>{o||c(l.value)},onMouseEnter:()=>t(l.value),onMouseLeave:()=>t(null),"aria-label":l["aria-label"],children:l.label},l.value)})})}var Ioe=D9e;var zoe=u(Xt(),1),VX=u(T(),1),Toe=u(Jy(),1),xQt=u(En(),1);function _9e(e){for(var t=[],c=0;c<e.length;){var n=e[c];if(n==="*"||n==="+"||n==="?"){t.push({type:"MODIFIER",index:c,value:e[c++]});continue}if(n==="\\"){t.push({type:"ESCAPED_CHAR",index:c++,value:e[c++]});continue}if(n==="{"){t.push({type:"OPEN",index:c,value:e[c++]});continue}if(n==="}"){t.push({type:"CLOSE",index:c,value:e[c++]});continue}if(n===":"){for(var l="",o=c+1;o<e.length;){var d=e.charCodeAt(o);if(d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||d===95){l+=e[o++];continue}break}if(!l)throw new TypeError("Missing parameter name at ".concat(c));t.push({type:"NAME",index:c,value:l}),c=o;continue}if(n==="("){var i=1,r="",o=c+1;if(e[o]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if(e[o]==="\\"){r+=e[o++]+e[o++];continue}if(e[o]===")"){if(i--,i===0){o++;break}}else if(e[o]==="("&&(i++,e[o+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(o));r+=e[o++]}if(i)throw new TypeError("Unbalanced pattern at ".concat(c));if(!r)throw new TypeError("Missing pattern at ".concat(c));t.push({type:"PATTERN",index:c,value:r}),c=o;continue}t.push({type:"CHAR",index:c,value:e[c++]})}return t.push({type:"END",index:c,value:""}),t}function j9e(e,t){t===void 0&&(t={});for(var c=_9e(e),n=t.prefixes,l=n===void 0?"./":n,o=t.delimiter,d=o===void 0?"/#?":o,i=[],r=0,a=0,s="",b=function(v){if(a<c.length&&c[a].type===v)return c[a++].value},m=function(v){var h=b(v);if(h!==void 0)return h;var C=c[a],B=C.type,V=C.index;throw new TypeError("Unexpected ".concat(B," at ").concat(V,", expected ").concat(v))},X=function(){for(var v="",h;h=b("CHAR")||b("ESCAPED_CHAR");)v+=h;return v},G=function(v){for(var h=0,C=d;h<C.length;h++){var B=C[h];if(v.indexOf(B)>-1)return!0}return!1},g=function(v){var h=i[i.length-1],C=v||(h&&typeof h=="string"?h:"");if(h&&!C)throw new TypeError('Must have text between two parameters, missing text after "'.concat(h.name,'"'));return!C||G(C)?"[^".concat(rs(d),"]+?"):"(?:(?!".concat(rs(C),")[^").concat(rs(d),"])+?")};a<c.length;){var x=b("CHAR"),H=b("NAME"),p=b("PATTERN");if(H||p){var R=x||"";l.indexOf(R)===-1&&(s+=R,R=""),s&&(i.push(s),s=""),i.push({name:H||r++,prefix:R,suffix:"",pattern:p||g(R),modifier:b("MODIFIER")||""});continue}var I=x||b("ESCAPED_CHAR");if(I){s+=I;continue}s&&(i.push(s),s="");var f=b("OPEN");if(f){var R=X(),y=b("NAME")||"",Z=b("PATTERN")||"",W=X();m("CLOSE"),i.push({name:y||(Z?r++:""),pattern:y&&!Z?g(R):Z,prefix:R,suffix:W,modifier:b("MODIFIER")||""});continue}m("END")}return i}function Zoe(e,t){var c=[],n=yoe(e,c,t);return M9e(n,c,t)}function M9e(e,t,c){c===void 0&&(c={});var n=c.decode,l=n===void 0?function(o){return o}:n;return function(o){var d=e.exec(o);if(!d)return!1;for(var i=d[0],r=d.index,a=Object.create(null),s=function(m){if(d[m]===void 0)return"continue";var X=t[m-1];X.modifier==="*"||X.modifier==="+"?a[X.name]=d[m].split(X.prefix+X.suffix).map(function(G){return l(G,X)}):a[X.name]=l(d[m],X)},b=1;b<d.length;b++)s(b);return{path:i,index:r,params:a}}}function rs(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function foe(e){return e&&e.sensitive?"":"i"}function P9e(e,t){if(!t)return e;for(var c=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,l=c.exec(e.source);l;)t.push({name:l[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),l=c.exec(e.source);return e}function K9e(e,t,c){var n=e.map(function(l){return yoe(l,t,c).source});return new RegExp("(?:".concat(n.join("|"),")"),foe(c))}function q9e(e,t,c){return $9e(j9e(e,c),t,c)}function $9e(e,t,c){c===void 0&&(c={});for(var n=c.strict,l=n===void 0?!1:n,o=c.start,d=o===void 0?!0:o,i=c.end,r=i===void 0?!0:i,a=c.encode,s=a===void 0?function(h){return h}:a,b=c.delimiter,m=b===void 0?"/#?":b,X=c.endsWith,G=X===void 0?"":X,g="[".concat(rs(G),"]|$"),x="[".concat(rs(m),"]"),H=d?"^":"",p=0,R=e;p<R.length;p++){var I=R[p];if(typeof I=="string")H+=rs(s(I));else{var f=rs(s(I.prefix)),y=rs(s(I.suffix));if(I.pattern)if(t&&t.push(I),f||y)if(I.modifier==="+"||I.modifier==="*"){var Z=I.modifier==="*"?"?":"";H+="(?:".concat(f,"((?:").concat(I.pattern,")(?:").concat(y).concat(f,"(?:").concat(I.pattern,"))*)").concat(y,")").concat(Z)}else H+="(?:".concat(f,"(").concat(I.pattern,")").concat(y,")").concat(I.modifier);else{if(I.modifier==="+"||I.modifier==="*")throw new TypeError('Can not repeat "'.concat(I.name,'" without a prefix and suffix'));H+="(".concat(I.pattern,")").concat(I.modifier)}else H+="(?:".concat(f).concat(y,")").concat(I.modifier)}}if(r)l||(H+="".concat(x,"?")),H+=c.endsWith?"(?=".concat(g,")"):"$";else{var W=e[e.length-1],v=typeof W=="string"?x.indexOf(W[W.length-1])>-1:W===void 0;l||(H+="(?:".concat(x,"(?=").concat(g,"))?")),v||(H+="(?=".concat(x,"|").concat(g,")"))}return new RegExp(H,foe(c))}function yoe(e,t,c){return e instanceof RegExp?P9e(e,t):Array.isArray(e)?K9e(e,t,c):q9e(e,t,c)}function Woe(e,t){return Zoe(t,{decode:decodeURIComponent})(e)}function hoe(e,t){for(let c of t){let n=Woe(e,c.path);if(n)return{params:n.params,id:c.id}}}function Boe(e,t){if(!e.startsWith("/"))return;let c=e.split("/"),n;for(;c.length>1&&n===void 0;){c.pop();let l=c.join("/")===""?"/":c.join("/");t.find(o=>Woe(l,o.path)!==!1)&&(n=l)}return n}var voe=u(T(),1),eVe={location:{},goTo:()=>{},goBack:()=>{},goToParent:()=>{},addScreen:()=>{},removeScreen:()=>{},params:{}},iu=(0,voe.createContext)(eVe);iu.displayName="NavigatorContext";var Foe={name:"1br0vvk",styles:"position:relative;overflow-x:clip;contain:layout;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;align-items:start"},Voe=Qd({from:{opacity:0}}),Coe=Qd({to:{opacity:0}}),Joe=Qd({from:{transform:"translateX(100px)"}}),Yoe=Qd({to:{transform:"translateX(-80px)"}}),Noe=Qd({from:{transform:"translateX(-100px)"}}),Soe=Qd({to:{transform:"translateX(80px)"}}),An={DURATION:70,EASING:"linear",DELAY:{IN:70,OUT:40}},xi={DURATION:300,EASING:"cubic-bezier(0.33, 0, 0, 1)"},mS={IN:Math.max(An.DURATION+An.DELAY.IN,xi.DURATION),OUT:Math.max(An.DURATION+An.DELAY.OUT,xi.DURATION)},XS={end:{in:Joe.name,out:Yoe.name},start:{in:Noe.name,out:Soe.name}},tVe={end:{in:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.IN,"ms both ",Voe,",",xi.DURATION,"ms ",xi.EASING," both ",Joe,";",""),out:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.OUT,"ms both ",Coe,",",xi.DURATION,"ms ",xi.EASING," both ",Yoe,";","")},start:{in:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.IN,"ms both ",Voe,",",xi.DURATION,"ms ",xi.EASING," both ",Noe,";",""),out:Re(An.DURATION,"ms ",An.EASING," ",An.DELAY.OUT,"ms both ",Coe,",",xi.DURATION,"ms ",xi.EASING," both ",Soe,";","")}},woe=Re("z-index:1;&[data-animation-type='out']{z-index:0;}@media not ( prefers-reduced-motion ){&:not( [data-skip-animation] ){",["start","end"].map(e=>["in","out"].map(t=>Re("&[data-animation-direction='",e,"'][data-animation-type='",t,"']{animation:",tVe[e][t],";}",""))),";}}",""),koe={name:"14di7zd",styles:"overflow-x:auto;max-height:100%;box-sizing:border-box;position:relative;grid-column:1/-1;grid-row:1/-1"};var gS=u(F(),1);function cVe({screens:e},t){return e.some(c=>c.path===t.path)?e:[...e,t]}function nVe({screens:e},t){return e.filter(c=>c.id!==t.id)}function Aoe(e,t,c={}){let{focusSelectors:n}=e,l={...e.currentLocation},{isBack:o=!1,skipFocus:d=!1,replace:i,focusTargetSelector:r,...a}=c;if(l.path===t)return{currentLocation:l,focusSelectors:n};let s;function b(){return s=s??new Map(e.focusSelectors),s}r&&l.path&&b().set(l.path,r);let m;return n.get(t)&&(o&&(m=n.get(t)),b().delete(t)),{currentLocation:{...a,isInitial:!1,path:t,isBack:o,hasRestoredFocus:!1,focusTargetSelector:m,skipFocus:d},focusSelectors:s??n}}function lVe(e,t={}){let{screens:c,focusSelectors:n}=e,l={...e.currentLocation},o=l.path;if(o===void 0)return{currentLocation:l,focusSelectors:n};let d=Boe(o,c);return d===void 0?{currentLocation:l,focusSelectors:n}:Aoe(e,d,{...t,isBack:!0})}function oVe(e,t){let{screens:c,currentLocation:n,matchedPath:l,focusSelectors:o,...d}=e;switch(t.type){case"add":c=cVe(e,t.screen);break;case"remove":c=nVe(e,t.screen);break;case"goto":({currentLocation:n,focusSelectors:o}=Aoe(e,t.path,t.options));break;case"gotoparent":({currentLocation:n,focusSelectors:o}=lVe(e,t.options));break}if(c===e.screens&&n===e.currentLocation)return e;let i=n.path;return l=i!==void 0?hoe(i,c):void 0,l&&e.matchedPath&&l.id===e.matchedPath.id&&(0,Toe.isShallowEqual)(l.params,e.matchedPath.params)&&(l=e.matchedPath),{...d,screens:c,currentLocation:n,matchedPath:l,focusSelectors:o}}function dVe(e,t){let{initialPath:c,children:n,className:l,...o}=ae(e,"Navigator"),[d,i]=(0,VX.useReducer)(oVe,c,G=>({screens:[],currentLocation:{path:G,isInitial:!0},matchedPath:void 0,focusSelectors:new Map,initialPath:c})),r=(0,VX.useMemo)(()=>({goBack:G=>i({type:"gotoparent",options:G}),goTo:(G,g)=>i({type:"goto",path:G,options:g}),goToParent:G=>{(0,zoe.default)("wp.components.useNavigator().goToParent",{since:"6.7",alternative:"wp.components.useNavigator().goBack"}),i({type:"gotoparent",options:G})},addScreen:G=>i({type:"add",screen:G}),removeScreen:G=>i({type:"remove",screen:G})}),[]),{currentLocation:a,matchedPath:s}=d,b=(0,VX.useMemo)(()=>({location:a,params:s?.params??{},match:s?.id,...r}),[a,s,r]),m=ec(),X=(0,VX.useMemo)(()=>m(Foe,l),[l,m]);return(0,gS.jsx)(Ce,{ref:t,className:X,...o,children:(0,gS.jsx)(iu.Provider,{value:b,children:n})})}var s1=ie(dVe,"Navigator");var Doe=u(gX(),1),Kl=u(T(),1),_oe=u(me(),1),joe=u(xS(),1),BQt=u(En(),1);var as=u(T(),1),Uoe=u(me(),1),Eoe=u(Ze(),1);var Qoe=1.2,iVe=(e,t,c)=>t==="ANIMATING_IN"&&c===XS[e].in,rVe=(e,t,c)=>t==="ANIMATING_OUT"&&c===XS[e].out;function Loe({isMatch:e,skipAnimation:t,isBack:c,onAnimationEnd:n}){let l=(0,Eoe.isRTL)(),o=(0,Uoe.useReducedMotion)(),[d,i]=(0,as.useState)("INITIAL"),r=d!=="ANIMATING_IN"&&d!=="IN"&&e,a=d!=="ANIMATING_OUT"&&d!=="OUT"&&!e;(0,as.useLayoutEffect)(()=>{r?i(t||o?"IN":"ANIMATING_IN"):a&&i(t||o?"OUT":"ANIMATING_OUT")},[r,a,t,o]);let s=l&&c||!l&&!c?"end":"start",b=d==="ANIMATING_IN",m=d==="ANIMATING_OUT",X;b?X="in":m&&(X="out");let G=(0,as.useCallback)(g=>{n?.(g),rVe(s,d,g.animationName)?i("OUT"):iVe(s,d,g.animationName)&&i("IN")},[n,d,s]);return(0,as.useEffect)(()=>{let g;return m?g=window.setTimeout(()=>{i("OUT"),g=void 0},mS.OUT*Qoe):b&&(g=window.setTimeout(()=>{i("IN"),g=void 0},mS.IN*Qoe)),()=>{g&&(window.clearTimeout(g),g=void 0)}},[m,b]),{animationStyles:woe,shouldRenderScreen:e||d==="IN"||d==="ANIMATING_OUT",screenProps:{onAnimationEnd:G,"data-animation-direction":s,"data-animation-type":X,"data-skip-animation":t||void 0}}}var Moe=u(F(),1);function aVe(e,t){/^\//.test(e.path);let c=(0,Kl.useId)(),{children:n,className:l,path:o,onAnimationEnd:d,...i}=ae(e,"Navigator.Screen"),{location:r,match:a,addScreen:s,removeScreen:b}=(0,Kl.useContext)(iu),{isInitial:m,isBack:X,focusTargetSelector:G,skipFocus:g}=r,x=a===c,H=(0,Kl.useRef)(null),p=!!m&&!X;(0,Kl.useEffect)(()=>{let h={id:c,path:(0,joe.escapeAttribute)(o)};return s(h),()=>b(h)},[c,o,s,b]);let{animationStyles:R,shouldRenderScreen:I,screenProps:f}=Loe({isMatch:x,isBack:X,onAnimationEnd:d,skipAnimation:p}),y=ec(),Z=(0,Kl.useMemo)(()=>y(koe,R,l),[l,y,R]),W=(0,Kl.useRef)(r);(0,Kl.useEffect)(()=>{W.current=r},[r]),(0,Kl.useEffect)(()=>{let h=H.current;if(p||!x||!h||W.current.hasRestoredFocus||g)return;let C=h.ownerDocument.activeElement;if(h.contains(C))return;let B=null;if(X&&G&&(B=h.querySelector(G)),!B){let[V]=Doe.focus.tabbable.find(h);B=V??h}W.current.hasRestoredFocus=!0,B.focus()},[p,x,X,G,g]);let v=(0,_oe.useMergeRefs)([t,H]);return I?(0,Moe.jsx)(Ce,{ref:v,className:Z,...f,...i,children:n}):null}var b1=ie(aVe,"Navigator.Screen");var Koe=u(T(),1),qoe=u(xS(),1);var Poe=u(T(),1);function ss(){let{location:e,params:t,goTo:c,goBack:n,goToParent:l}=(0,Poe.useContext)(iu);return{location:e,goTo:c,goBack:n,goToParent:l,params:t}}var sVe=(e,t)=>`[${e}="${t}"]`;function $oe(e){let{path:t,onClick:c,as:n=be,attributeName:l="id",...o}=ae(e,"Navigator.Button"),d=(0,qoe.escapeAttribute)(t),{goTo:i}=ss(),r=(0,Koe.useCallback)(a=>{a.preventDefault(),i(d,{focusTargetSelector:sVe(l,d)}),c?.(a)},[i,c,l,d]);return{as:n,onClick:r,...o,[l]:d}}var ede=u(F(),1);function bVe(e,t){let c=$oe(e);return(0,ede.jsx)(Ce,{ref:t,...c})}var u1=ie(bVe,"Navigator.Button");var tde=u(T(),1);function cde(e){let{onClick:t,as:c=be,...n}=ae(e,"Navigator.BackButton"),{goBack:l}=ss(),o=(0,tde.useCallback)(d=>{d.preventDefault(),l(),t?.(d)},[l,t]);return{as:c,onClick:o,...n}}var nde=u(F(),1);function uVe(e,t){let c=cde(e);return(0,nde.jsx)(Ce,{ref:t,...c})}var CX=ie(uVe,"Navigator.BackButton");var lde=u(Xt(),1);var ode=u(F(),1);function mVe(e,t){return(0,lde.default)("wp.components.NavigatorToParentButton",{since:"6.7",alternative:"wp.components.Navigator.BackButton"}),(0,ode.jsx)(CX,{ref:t,...e})}var dde=ie(mVe,"Navigator.ToParentButton");var ide=Object.assign(s1,{displayName:"NavigatorProvider"}),rde=Object.assign(b1,{displayName:"NavigatorScreen"}),ade=Object.assign(u1,{displayName:"NavigatorButton"}),sde=Object.assign(CX,{displayName:"NavigatorBackButton"}),bde=Object.assign(dde,{displayName:"NavigatorToParentButton"});var ude=Object.assign(s1,{Screen:Object.assign(b1,{displayName:"Navigator.Screen"}),Button:Object.assign(u1,{displayName:"Navigator.Button"}),BackButton:Object.assign(CX,{displayName:"Navigator.BackButton"})});var FX=u(Ze(),1),JX=u(T(),1),Xde=u(Md(),1);var Cr=u(F(),1),mde=()=>{};function XVe(e,t){let c=typeof e=="string"?e:(0,JX.renderToString)(e);(0,JX.useEffect)(()=>{c&&(0,Xde.speak)(c,t)},[c,t])}function GVe(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}function gVe(e){switch(e){case"warning":return(0,FX.__)("Warning notice");case"info":return(0,FX.__)("Information notice");case"error":return(0,FX.__)("Error notice");default:return(0,FX.__)("Notice")}}function xVe({className:e,status:t="info",children:c,spokenMessage:n=c,onRemove:l=mde,isDismissible:o=!0,actions:d=[],politeness:i=GVe(t),__unstableHTML:r,onDismiss:a=mde}){XVe(n,i);let s=w(e,"components-notice","is-"+t);r&&typeof c=="string"&&(c=(0,Cr.jsx)(JX.RawHTML,{children:c}));let b=()=>{a(),l()};return(0,Cr.jsxs)("div",{className:s,children:[(0,Cr.jsx)(bt,{children:gVe(t)}),(0,Cr.jsx)("div",{className:"components-notice__content",children:c}),d.length>0&&(0,Cr.jsx)("div",{className:"components-notice__actions",children:d.map(({className:m,label:X,isPrimary:G,variant:g,noDefaultClasses:x=!1,onClick:H,url:p,disabled:R},I)=>{let f=g;return g!=="primary"&&!x&&(f=p?"link":"secondary"),typeof f>"u"&&G&&(f="primary"),(0,Cr.jsx)(be,{size:"compact",href:p,variant:f,onClick:H,disabled:R,accessibleWhenDisabled:!0,className:w("components-notice__action",m),children:X},I)})}),o&&(0,Cr.jsx)(be,{size:"small",className:"components-notice__dismiss",icon:Di,label:(0,FX.__)("Close"),onClick:b})]})}var m1=xVe;var Gde=u(E(),1),gde=u(F(),1),pVe=()=>{};function RVe({notices:e,onRemove:t=pVe,className:c,children:n}){let l=o=>()=>t(o);return c=w("components-notice-list",c),(0,gde.jsxs)("div",{className:c,children:[n,[...e].reverse().map(o=>{let{content:d,...i}=o;return(0,Gde.createElement)(m1,{...i,key:o.id,onRemove:l(o.id)},o.content)})]})}var X1=RVe;var xde=u(T(),1);var G1=u(F(),1);function HVe({label:e,children:t}){return(0,G1.jsxs)("div",{className:"components-panel__header",children:[e&&(0,G1.jsx)("h2",{children:e}),t]})}var g1=HVe;var x1=u(F(),1);function IVe({header:e,className:t,children:c},n){let l=w(t,"components-panel");return(0,x1.jsxs)("div",{className:l,ref:n,children:[e&&(0,x1.jsx)(g1,{label:e}),c]})}var pde=(0,xde.forwardRef)(IVe);pde.displayName="Panel";var Rde=pde;var p1=u(me(),1),YX=u(T(),1);var Fr=u(F(),1),ZVe=()=>{};function fVe(e,t){let{buttonProps:c={},children:n,className:l,icon:o,initialOpen:d,onToggle:i=ZVe,opened:r,title:a,scrollAfterOpen:s=!0}=e,[b,m]=Ei(r,{initial:d===void 0?!0:d,fallback:!1}),X=(0,YX.useRef)(null),G=(0,p1.useReducedMotion)()?"auto":"smooth",g=p=>{p.preventDefault();let R=!b;m(R),i(R)},x=(0,YX.useRef)(void 0);x.current=s,tb(()=>{b&&x.current&&X.current?.scrollIntoView&&X.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:G})},[b,G]);let H=w("components-panel__body",l,{"is-opened":b});return(0,Fr.jsxs)("div",{className:H,ref:(0,p1.useMergeRefs)([X,t]),children:[(0,Fr.jsx)(yVe,{icon:o,isOpened:!!b,onClick:g,title:a,...c}),typeof n=="function"?n({opened:!!b}):b&&n]})}var yVe=(0,YX.forwardRef)(({isOpened:e,icon:t,title:c,...n},l)=>c?(0,Fr.jsx)("h2",{className:"components-panel__body-title",children:(0,Fr.jsxs)(be,{__next40pxDefaultSize:!0,className:"components-panel__body-toggle","aria-expanded":e,ref:l,...n,children:[(0,Fr.jsx)("span",{"aria-hidden":"true",children:(0,Fr.jsx)(Ot,{className:"components-panel__arrow",icon:e?mV:Og})}),c,t&&(0,Fr.jsx)(Ot,{icon:t,className:"components-panel__icon",size:20})]})}):null),Hde=(0,YX.forwardRef)(fVe);Hde.displayName="PanelBody";var Ide=Hde;var Zde=u(T(),1),fde=u(F(),1);function WVe({className:e,children:t},c){return(0,fde.jsx)("div",{className:w("components-panel__row",e),ref:c,children:t})}var yde=(0,Zde.forwardRef)(WVe);yde.displayName="PanelRow";var Wde=yde;var hde=u(me(),1),R1=u(rt(),1),Bde=u(T(),1),vde=u(Md(),1);var pi=u(F(),1),hVe=(0,pi.jsx)(R1.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",children:(0,pi.jsx)(R1.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})});function BVe(e){let{icon:t,children:c,label:n,instructions:l,className:o,notices:d,preview:i,isColumnLayout:r,withIllustration:a,...s}=e,[b,{width:m}]=(0,hde.useResizeObserver)(),X;typeof m=="number"&&(X={"is-large":m>=480,"is-medium":m>=160&&m<480,"is-small":m<160});let G=w("components-placeholder",o,X,a?"has-illustration":null),g=w("components-placeholder__fieldset",{"is-column-layout":r});return(0,Bde.useEffect)(()=>{l&&(0,vde.speak)(l)},[l]),(0,pi.jsxs)("div",{...s,className:G,children:[a?hVe:null,b,d,i&&(0,pi.jsx)("div",{className:"components-placeholder__preview",children:i}),(0,pi.jsxs)("div",{className:"components-placeholder__label",children:[(0,pi.jsx)(Ot,{icon:t}),n]}),!!l&&(0,pi.jsx)("div",{className:"components-placeholder__instructions",children:l}),(0,pi.jsx)("div",{className:g,children:c})]})}var Vde=BVe;var Cde=u(Ze(),1),Fde=u(T(),1),Mp=u(F(),1),pS="data-wp-hash";function RS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&VVe(document)),e.__wpStyleRuntime}function vVe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${pS}]`))if(c.getAttribute(pS)===t)return!0;return!1}function Jde(e,t,c){if(!e.head)return;let n=RS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(vVe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(pS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function VVe(e){let t=RS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Jde(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function CVe(e,t){let c=RS();c.styles.set(e,t);for(let n of c.documents.keys())Jde(n,e,t)}typeof process>"u",CVe("582b000aec","._1d8296bd910bb7bb__track{background-color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 90%);border-radius:9999px;height:1.5px;outline:2px solid transparent;outline-offset:2px;overflow:hidden;position:relative}:where(._1d8296bd910bb7bb__track){width:160px}.be702ee1b0a3c396__indicator{background-color:color-mix(in srgb,var(--wp-components-color-foreground,var(--wpds-color-foreground-content-neutral,#1e1e1e)),transparent 10%);border-radius:9999px;display:inline-block;height:100%;outline:2px solid transparent;outline-offset:-2px;position:absolute;top:0;width:var(--indicator-width)}@media not (prefers-reduced-motion){.be702ee1b0a3c396__indicator{transition:width .4s ease-in-out}}.be702ee1b0a3c396__indicator._125afa179e2803a2__is-indeterminate{--indicator-width:50%;animation:_7c6b2fa174e0d687__indeterminate-slide 1.5s ease-in-out infinite;transition:none}@media (prefers-reduced-motion:reduce){.be702ee1b0a3c396__indicator._125afa179e2803a2__is-indeterminate{animation-duration:3s;animation-timing-function:steps(4)}}@keyframes _7c6b2fa174e0d687__indeterminate-slide{0%{inset-inline-start:-50%}to{inset-inline-start:100%}}._4c47edc54d8dcb46__progress-element{height:100%;inset-inline-start:0;opacity:0;position:absolute;top:0;width:100%}");var H1={track:"_1d8296bd910bb7bb__track",indicator:"be702ee1b0a3c396__indicator","is-indeterminate":"_125afa179e2803a2__is-indeterminate","indeterminate-slide":"_7c6b2fa174e0d687__indeterminate-slide","progress-element":"_4c47edc54d8dcb46__progress-element"};function FVe(e,t){let{className:c,value:n,...l}=e,o=!Number.isFinite(n);return(0,Mp.jsxs)("div",{className:w(H1.track,c),children:[(0,Mp.jsx)("div",{className:w(H1.indicator,{[H1["is-indeterminate"]]:o}),style:{"--indicator-width":o?void 0:`${n}%`}}),(0,Mp.jsx)("progress",{className:H1["progress-element"],max:100,value:n,"aria-label":(0,Cde.__)("Loading \u2026"),ref:t,...l})]})}var Yde=(0,Fde.forwardRef)(FVe);Yde.displayName="ProgressBar";var Nde=Yde;var ql=u(Ze(),1);var JVe=e=>e.every(t=>t.parent!==null);function I1(e){let t=e.map(l=>({children:[],parent:null,...l,id:String(l.id)}));if(!JVe(t))return t;let c=t.reduce((l,o)=>{let{parent:d}=o;return l[d]||(l[d]=[]),l[d].push(o),l},{}),n=l=>l.map(o=>{let d=c[o.id];return{...o,children:d&&d.length?n(d):[]}});return n(c[0]||[])}var kde=u(T(),1),zde=u(wde(),1);var Tde=u(F(),1);function Ade(e,t=0){return e.flatMap(c=>[{value:c.id,label:"\xA0".repeat(t*3)+(0,zde.decodeEntities)(c.name)},...Ade(c.children||[],t+1)])}function YVe(e){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:c,label:n,noOptionLabel:l,onChange:o,selectedId:d,tree:i=[],...r}=e,a=(0,kde.useMemo)(()=>[l&&{value:"",label:l},...Ade(i)].filter(s=>!!s),[l,i]);return(0,Tde.jsx)(Ix,{label:n,options:a,onChange:o,value:d,...r})}var NX=YVe;var Ode=u(F(),1);function Qde({label:e,noOptionLabel:t,authorList:c,selectedAuthorId:n,onChange:l}){if(!c)return null;let o=I1(c);return(0,Ode.jsx)(NX,{label:e,noOptionLabel:t,onChange:l,tree:o,selectedId:n!==void 0?String(n):void 0})}var Ude=u(T(),1);var Ede=u(F(),1);function Lde({label:e,noOptionLabel:t,categoriesList:c,selectedCategoryId:n,onChange:l,...o}){let d=(0,Ude.useMemo)(()=>I1(c),[c]);return(0,Ede.jsx)(NX,{label:e,noOptionLabel:t,onChange:l,tree:d,selectedId:n!==void 0?String(n):void 0,...o})}var ru=u(F(),1),NVe=1,SVe=100,wVe=20;function kVe(e){return"categoriesList"in e}function zVe(e){return"categorySuggestions"in e}var TVe=[{label:(0,ql.__)("Newest to oldest"),value:"date/desc"},{label:(0,ql.__)("Oldest to newest"),value:"date/asc"},{label:(0,ql.__)("A \u2192 Z"),value:"title/asc"},{label:(0,ql.__)("Z \u2192 A"),value:"title/desc"}];function AVe({authorList:e,selectedAuthorId:t,numberOfItems:c,order:n,orderBy:l,orderByOptions:o=TVe,maxItems:d=SVe,minItems:i=NVe,onAuthorChange:r,onNumberOfItemsChange:a,onOrderChange:s,onOrderByChange:b,...m}){return(0,ru.jsx)(Nt,{spacing:"4",className:"components-query-controls",children:[s&&b&&(0,ru.jsx)(ei,{label:(0,ql.__)("Order by"),value:l===void 0||n===void 0?void 0:`${l}/${n}`,options:o,onChange:X=>{if(typeof X!="string")return;let[G,g]=X.split("/");g!==n&&s(g),G!==l&&b(G)}},"query-controls-order-select"),kVe(m)&&m.categoriesList&&m.onCategoryChange&&(0,ru.jsx)(Lde,{categoriesList:m.categoriesList,label:(0,ql.__)("Category"),noOptionLabel:(0,ql._x)("All","categories"),selectedCategoryId:m.selectedCategoryId,onChange:m.onCategoryChange},"query-controls-category-select"),zVe(m)&&m.categorySuggestions&&m.onCategoryChange&&(0,ru.jsx)(o1,{label:(0,ql.__)("Categories"),value:m.selectedCategories&&m.selectedCategories.map(X=>({id:X.id,value:X.name||X.value})),suggestions:Object.keys(m.categorySuggestions),onChange:m.onCategoryChange,maxSuggestions:wVe},"query-controls-categories-select"),r&&(0,ru.jsx)(Qde,{authorList:e,label:(0,ql.__)("Author"),noOptionLabel:(0,ql._x)("All","authors"),selectedAuthorId:t,onChange:r},"query-controls-author-select"),a&&(0,ru.jsx)(Al,{label:(0,ql.__)("Number of items"),value:c,onChange:a,min:i,max:d,required:!0},"query-controls-range-control")]})}var Dde=AVe;var Z1=u(T(),1);var _de=u(T(),1),Pp=(0,_de.createContext)({store:void 0,disabled:void 0});Pp.displayName="RadioGroupContext";var HS=u(F(),1);function OVe({value:e,children:t,__next40pxDefaultSize:c,...n},l){let{store:o,disabled:d}=(0,Z1.useContext)(Pp),i=$(o,"value");return(0,HS.jsx)(qu,{disabled:d,store:o,ref:l,value:e,render:(0,HS.jsx)(be,{variant:i!==void 0&&i===e?"primary":"secondary",__next40pxDefaultSize:!0,...n}),children:t||e})}var jde=(0,Z1.forwardRef)(OVe);jde.displayName="Radio";var Mde=jde;var Pde=u(Xt(),1),y1=u(T(),1),Kde=u(Ze(),1);var f1=u(F(),1);function QVe({label:e,checked:t,defaultChecked:c,disabled:n,onChange:l,children:o,...d},i){let r=em({value:t,defaultValue:c,setValue:s=>{l?.(s??void 0)},rtl:(0,Kde.isRTL)()}),a=(0,y1.useMemo)(()=>({store:r,disabled:n}),[r,n]);return(0,Pde.default)("wp.components.__experimentalRadioGroup",{alternative:"wp.components.RadioControl or wp.components.__experimentalToggleGroupControl",since:"6.8"}),(0,f1.jsx)(Pp.Provider,{value:a,children:(0,f1.jsx)($u,{store:r,render:(0,f1.jsx)(v5,{__shouldNotWarnDeprecated:!0,children:o}),"aria-label":e,ref:i,...d})})}var qde=(0,y1.forwardRef)(QVe);qde.displayName="RadioGroup";var $de=qde;var cie=u(me(),1);var gd=u(F(),1);function eie(e,t){return`${e}-${t}-option-description`}function IS(e,t){return`${e}-${t}`}function tie(e){return`${e}__help`}function nie(e){let{label:t,className:c,selected:n,help:l,onChange:o,onClick:d,hideLabelFromVision:i,disabled:r,options:a=[],id:s,...b}=e,m=(0,cie.useInstanceId)(nie,"inspector-radio-control",s),X=G=>o(G.target.value);return a?.length?(0,gd.jsxs)("fieldset",{id:m,role:"radiogroup",className:w(c,"components-radio-control"),disabled:r,"aria-describedby":l?tie(m):void 0,children:[i?(0,gd.jsx)(bt,{as:"legend",children:t}):(0,gd.jsx)(at.VisualLabel,{as:"legend",children:t}),(0,gd.jsx)(Nt,{spacing:3,className:w("components-radio-control__group-wrapper",{"has-help":!!l}),children:a.map((G,g)=>(0,gd.jsxs)("div",{className:"components-radio-control__option",children:[(0,gd.jsx)("input",{id:IS(m,g),className:"components-radio-control__input",type:"radio",name:m,value:G.value,disabled:G.disabled,onChange:X,checked:G.value===n,"aria-describedby":G.description?eie(m,g):void 0,onClick:x=>{x.currentTarget.focus(),d?.(x)},...b}),(0,gd.jsx)("label",{className:"components-radio-control__label",htmlFor:IS(m,g),children:G.label}),G.description?(0,gd.jsx)($i,{id:eie(m,g),className:"components-radio-control__option-description",children:G.description}):null]},IS(m,g)))}),!!l&&(0,gd.jsx)($i,{id:tie(m),className:"components-base-control__help",children:l})]}):null}var lie=nie;var Zie=u(T(),1);var au=u(E());var h1=u(E()),UVe=(function(){var e=function(t,c){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var o in l)l.hasOwnProperty(o)&&(n[o]=l[o])},e(t,c)};return function(t,c){e(t,c);function n(){this.constructor=t}t.prototype=c===null?Object.create(c):(n.prototype=c.prototype,new n)}})(),W1=function(){return W1=Object.assign||function(e){for(var t,c=1,n=arguments.length;c<n;c++){t=arguments[c];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},W1.apply(this,arguments)},EVe={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},oie=(function(e){UVe(t,e);function t(){var c=e!==null&&e.apply(this,arguments)||this;return c.onMouseDown=function(n){c.props.onResizeStart(n,c.props.direction)},c.onTouchStart=function(n){c.props.onResizeStart(n,c.props.direction)},c}return t.prototype.render=function(){return h1.createElement("div",{className:this.props.className||"",style:W1(W1({position:"absolute",userSelect:"none"},EVe[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t})(h1.PureComponent);var bs=u(rie()),qVe=(function(){var e=function(t,c){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var o in l)l.hasOwnProperty(o)&&(n[o]=l[o])},e(t,c)};return function(t,c){e(t,c);function n(){this.constructor=t}t.prototype=c===null?Object.create(c):(n.prototype=c.prototype,new n)}})(),Ri=function(){return Ri=Object.assign||function(e){for(var t,c=1,n=arguments.length;c<n;c++){t=arguments[c];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},Ri.apply(this,arguments)},$Ve={width:"auto",height:"auto"},v1=(0,bs.default)(function(e,t,c){return Math.max(Math.min(e,c),t)}),aie=(0,bs.default)(function(e,t){return Math.round(e/t)*t}),SX=(0,bs.default)(function(e,t){return new RegExp(e,"i").test(t)}),V1=function(e){return!!(e.touches&&e.touches.length)},eCe=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},sie=(0,bs.default)(function(e,t,c){c===void 0&&(c=0);var n=t.reduce(function(o,d,i){return Math.abs(d-e)<Math.abs(t[o]-e)?i:o},0),l=Math.abs(t[n]-e);return c===0||l<c?t[n]:e}),ln=(0,bs.default)(function(e,t){return e.substr(e.length-t.length,t.length)===t}),yS=(0,bs.default)(function(e){return e=e.toString(),e==="auto"||ln(e,"px")||ln(e,"%")||ln(e,"vh")||ln(e,"vw")||ln(e,"vmax")||ln(e,"vmin")?e:e+"px"}),C1=function(e,t,c,n){if(e&&typeof e=="string"){if(ln(e,"px"))return Number(e.replace("px",""));if(ln(e,"%")){var l=Number(e.replace("%",""))/100;return t*l}if(ln(e,"vw")){var l=Number(e.replace("vw",""))/100;return c*l}if(ln(e,"vh")){var l=Number(e.replace("vh",""))/100;return n*l}}return e},tCe=(0,bs.default)(function(e,t,c,n,l,o,d){return n=C1(n,e.width,t,c),l=C1(l,e.height,t,c),o=C1(o,e.width,t,c),d=C1(d,e.height,t,c),{maxWidth:typeof n>"u"?void 0:Number(n),maxHeight:typeof l>"u"?void 0:Number(l),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof d>"u"?void 0:Number(d)}}),cCe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],bie="__resizable_base__",uie=(function(e){qVe(t,e);function t(c){var n=e.call(this,c)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var l=n.parentNode;if(!l)return null;var o=n.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0",o.classList?o.classList.add(bie):o.className+=bie,l.appendChild(o),o},n.removeBase=function(l){var o=n.parentNode;o&&o.removeChild(l)},n.ref=function(l){l&&(n.resizable=l)},n.state={isResizing:!1,width:typeof(n.propsSize&&n.propsSize.width)>"u"?"auto":n.propsSize&&n.propsSize.width,height:typeof(n.propsSize&&n.propsSize.height)>"u"?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||$Ve},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var c=0,n=0;if(this.resizable&&this.window){var l=this.resizable.offsetWidth,o=this.resizable.offsetHeight,d=this.resizable.style.position;d!=="relative"&&(this.resizable.style.position="relative"),c=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:l,n=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=d}return{width:c,height:n}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var c=this,n=this.props.size,l=function(i){if(typeof c.state[i]>"u"||c.state[i]==="auto")return"auto";if(c.propsSize&&c.propsSize[i]&&ln(c.propsSize[i].toString(),"%")){if(ln(c.state[i].toString(),"%"))return c.state[i].toString();var r=c.getParentSize(),a=Number(c.state[i].toString().replace("px","")),s=a/r[i]*100;return s+"%"}return yS(c.state[i])},o=n&&typeof n.width<"u"&&!this.state.isResizing?yS(n.width):l("width"),d=n&&typeof n.height<"u"&&!this.state.isResizing?yS(n.height):l("height");return{width:o,height:d}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var c=this.appendBase();if(!c)return{width:0,height:0};var n=!1,l=this.parentNode.style.flexWrap;l!=="wrap"&&(n=!0,this.parentNode.style.flexWrap="wrap"),c.style.position="relative",c.style.minWidth="100%";var o={width:c.offsetWidth,height:c.offsetHeight};return n&&(this.parentNode.style.flexWrap=l),this.removeBase(c),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var c=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:c.flexBasis!=="auto"?c.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(c,n){var l=this.propsSize&&this.propsSize[n];return this.state[n]==="auto"&&this.state.original[n]===c&&(typeof l>"u"||l==="auto")?"auto":c},t.prototype.calculateNewMaxFromBoundary=function(c,n){var l=this.props.boundsByDirection,o=this.state.direction,d=l&&SX("left",o),i=l&&SX("top",o),r,a;if(this.props.bounds==="parent"){var s=this.parentNode;s&&(r=d?this.resizableRight-this.parentLeft:s.offsetWidth+(this.parentLeft-this.resizableLeft),a=i?this.resizableBottom-this.parentTop:s.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(r=d?this.resizableRight:this.window.innerWidth-this.resizableLeft,a=i?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(r=d?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),a=i?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return r&&Number.isFinite(r)&&(c=c&&c<r?c:r),a&&Number.isFinite(a)&&(n=n&&n<a?n:a),{maxWidth:c,maxHeight:n}},t.prototype.calculateNewSizeFromDirection=function(c,n){var l=this.props.scale||1,o=this.props.resizeRatio||1,d=this.state,i=d.direction,r=d.original,a=this.props,s=a.lockAspectRatio,b=a.lockAspectRatioExtraHeight,m=a.lockAspectRatioExtraWidth,X=r.width,G=r.height,g=b||0,x=m||0;return SX("right",i)&&(X=r.width+(c-r.x)*o/l,s&&(G=(X-x)/this.ratio+g)),SX("left",i)&&(X=r.width-(c-r.x)*o/l,s&&(G=(X-x)/this.ratio+g)),SX("bottom",i)&&(G=r.height+(n-r.y)*o/l,s&&(X=(G-g)*this.ratio+x)),SX("top",i)&&(G=r.height-(n-r.y)*o/l,s&&(X=(G-g)*this.ratio+x)),{newWidth:X,newHeight:G}},t.prototype.calculateNewSizeFromAspectRatio=function(c,n,l,o){var d=this.props,i=d.lockAspectRatio,r=d.lockAspectRatioExtraHeight,a=d.lockAspectRatioExtraWidth,s=typeof o.width>"u"?10:o.width,b=typeof l.width>"u"||l.width<0?c:l.width,m=typeof o.height>"u"?10:o.height,X=typeof l.height>"u"||l.height<0?n:l.height,G=r||0,g=a||0;if(i){var x=(m-G)*this.ratio+g,H=(X-G)*this.ratio+g,p=(s-g)/this.ratio+G,R=(b-g)/this.ratio+G,I=Math.max(s,x),f=Math.min(b,H),y=Math.max(m,p),Z=Math.min(X,R);c=v1(c,I,f),n=v1(n,y,Z)}else c=v1(c,s,b),n=v1(n,m,X);return{newWidth:c,newHeight:n}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var c=this.parentNode;if(c){var n=c.getBoundingClientRect();this.parentLeft=n.left,this.parentTop=n.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var l=this.props.bounds.getBoundingClientRect();this.targetLeft=l.left,this.targetTop=l.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),d=o.left,i=o.top,r=o.right,a=o.bottom;this.resizableLeft=d,this.resizableRight=r,this.resizableTop=i,this.resizableBottom=a}},t.prototype.onResizeStart=function(c,n){if(!(!this.resizable||!this.window)){var l=0,o=0;if(c.nativeEvent&&eCe(c.nativeEvent)){if(l=c.nativeEvent.clientX,o=c.nativeEvent.clientY,c.nativeEvent.which===3)return}else c.nativeEvent&&V1(c.nativeEvent)&&(l=c.nativeEvent.touches[0].clientX,o=c.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable){var d=this.props.onResizeStart(c,n,this.resizable);if(d===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var i,r=this.window.getComputedStyle(this.resizable);if(r.flexBasis!=="auto"){var a=this.parentNode;if(a){var s=this.window.getComputedStyle(a).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",i=r.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var b={original:{x:l,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Ri(Ri({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(c.target).cursor||"auto"}),direction:n,flexBasis:i};this.setState(b)}},t.prototype.onMouseMove=function(c){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&V1(c))try{c.preventDefault(),c.stopPropagation()}catch{}var n=this.props,l=n.maxWidth,o=n.maxHeight,d=n.minWidth,i=n.minHeight,r=V1(c)?c.touches[0].clientX:c.clientX,a=V1(c)?c.touches[0].clientY:c.clientY,s=this.state,b=s.direction,m=s.original,X=s.width,G=s.height,g=this.getParentSize(),x=tCe(g,this.window.innerWidth,this.window.innerHeight,l,o,d,i);l=x.maxWidth,o=x.maxHeight,d=x.minWidth,i=x.minHeight;var H=this.calculateNewSizeFromDirection(r,a),p=H.newHeight,R=H.newWidth,I=this.calculateNewMaxFromBoundary(l,o),f=this.calculateNewSizeFromAspectRatio(R,p,{width:I.maxWidth,height:I.maxHeight},{width:d,height:i});if(R=f.newWidth,p=f.newHeight,this.props.grid){var y=aie(R,this.props.grid[0]),Z=aie(p,this.props.grid[1]),W=this.props.snapGap||0;R=W===0||Math.abs(y-R)<=W?y:R,p=W===0||Math.abs(Z-p)<=W?Z:p}this.props.snap&&this.props.snap.x&&(R=sie(R,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(p=sie(p,this.props.snap.y,this.props.snapGap));var v={width:R-m.width,height:p-m.height};if(X&&typeof X=="string"){if(ln(X,"%")){var h=R/g.width*100;R=h+"%"}else if(ln(X,"vw")){var C=R/this.window.innerWidth*100;R=C+"vw"}else if(ln(X,"vh")){var B=R/this.window.innerHeight*100;R=B+"vh"}}if(G&&typeof G=="string"){if(ln(G,"%")){var h=p/g.height*100;p=h+"%"}else if(ln(G,"vw")){var C=p/this.window.innerWidth*100;p=C+"vw"}else if(ln(G,"vh")){var B=p/this.window.innerHeight*100;p=B+"vh"}}var V={width:this.createSizeForCssProperty(R,"width"),height:this.createSizeForCssProperty(p,"height")};this.flexDir==="row"?V.flexBasis=V.width:this.flexDir==="column"&&(V.flexBasis=V.height),this.setState(V),this.props.onResize&&this.props.onResize(c,b,this.resizable,v)}},t.prototype.onMouseUp=function(c){var n=this.state,l=n.isResizing,o=n.direction,d=n.original;if(!(!l||!this.resizable)){var i={width:this.size.width-d.width,height:this.size.height-d.height};this.props.onResizeStop&&this.props.onResizeStop(c,o,this.resizable,i),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Ri(Ri({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(c){this.setState({width:c.width,height:c.height})},t.prototype.renderResizer=function(){var c=this,n=this.props,l=n.enable,o=n.handleStyles,d=n.handleClasses,i=n.handleWrapperStyle,r=n.handleWrapperClass,a=n.handleComponent;if(!l)return null;var s=Object.keys(l).map(function(b){return l[b]!==!1?au.createElement(oie,{key:b,direction:b,onResizeStart:c.onResizeStart,replaceStyles:o&&o[b],className:d&&d[b]},a&&a[b]?a[b]:null):null});return au.createElement("div",{className:r,style:i},s)},t.prototype.render=function(){var c=this,n=Object.keys(this.props).reduce(function(d,i){return cCe.indexOf(i)!==-1||(d[i]=c.props[i]),d},{}),l=Ri(Ri(Ri({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(l.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return au.createElement(o,Ri({ref:this.ref,style:l,className:this.props.className},n),this.state.isResizing&&au.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t})(au.PureComponent);var pie=u(T(),1);var Gie=u(T(),1),hS=u(Ze(),1);var xd=u(T(),1),mie=u(me(),1),nCe=()=>{},Jr={bottom:"bottom",corner:"corner"};function Xie({axis:e,fadeTimeout:t=180,onResize:c=nCe,position:n=Jr.bottom,showPx:l=!1}){let[o,d]=(0,mie.useResizeObserver)(),i=!!e,[r,a]=(0,xd.useState)(!1),[s,b]=(0,xd.useState)(!1),{width:m,height:X}=d,G=(0,xd.useRef)(X),g=(0,xd.useRef)(m),x=(0,xd.useRef)(void 0),H=(0,xd.useCallback)(()=>{let R=()=>{i||(a(!1),b(!1))};x.current&&window.clearTimeout(x.current),x.current=window.setTimeout(R,t)},[t,i]);return(0,xd.useEffect)(()=>{if(!(m!==null||X!==null))return;let I=m!==g.current,f=X!==G.current;if(!(!I&&!f)){if(m&&!g.current&&X&&!G.current){g.current=m,G.current=X;return}I&&(a(!0),g.current=m),f&&(b(!0),G.current=X),c({width:m,height:X}),H()}},[m,X,c,H]),{label:lCe({axis:e,height:X,moveX:r,moveY:s,position:n,showPx:l,width:m}),resizeListener:o}}function lCe({axis:e,height:t,moveX:c=!1,moveY:n=!1,position:l=Jr.bottom,showPx:o=!1,width:d}){if(!c&&!n)return;if(l===Jr.corner)return`${d} x ${t}`;let i=o?" px":"";if(e){if(e==="x"&&c)return`${d}${i}`;if(e==="y"&&n)return`${t}${i}`}if(c&&n)return`${d} x ${t}`;if(c)return`${d}${i}`;if(n)return`${t}${i}`}var F1=u(F(),1),BS="data-wp-hash";function vS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&dCe(document)),e.__wpStyleRuntime}function oCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${BS}]`))if(c.getAttribute(BS)===t)return!0;return!1}function gie(e,t,c){if(!e.head)return;let n=vS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(oCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(BS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function dCe(e){let t=vS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)gie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function iCe(e,t){let c=vS();c.styles.set(e,t);for(let n of c.documents.keys())gie(n,e,t)}typeof process>"u",iCe("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 WS={root:"f1c3c2f08c84bcca__root","tooltip-wrapper":"dd094b49bf71dfd9__tooltip-wrapper",tooltip:"d768357cc581321f__tooltip","label-text":"a32e43dd68941abb__label-text"},J1=4,rCe=J1*2.5;function aCe({label:e,position:t=Jr.corner,zIndex:c=1e3,...n},l){let o=!!e,d=t===Jr.bottom,i=t===Jr.corner;if(!o)return null;let r={opacity:o?1:void 0,zIndex:c},a={};return d&&(r={...r,position:"absolute",bottom:rCe*-1,left:"50%",transform:"translate(-50%, 0)"},a={transform:"translate(0, 100%)"}),i&&(r={...r,position:"absolute",top:J1,right:(0,hS.isRTL)()?void 0:J1,left:(0,hS.isRTL)()?J1:void 0}),(0,F1.jsx)("div",{"aria-hidden":"true",className:w("components-resizable-tooltip__tooltip-wrapper",WS["tooltip-wrapper"]),ref:l,style:r,...n,children:(0,F1.jsx)("div",{className:w("components-resizable-tooltip__tooltip",WS.tooltip),style:a,children:(0,F1.jsx)(Kn,{as:"span",className:WS["label-text"],children:e})})})}var sCe=(0,Gie.forwardRef)(aCe),xie=sCe;var Y1=u(F(),1),VS="data-wp-hash";function CS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&uCe(document)),e.__wpStyleRuntime}function bCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${VS}]`))if(c.getAttribute(VS)===t)return!0;return!1}function Rie(e,t,c){if(!e.head)return;let n=CS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(bCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(VS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function uCe(e){let t=CS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Rie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function mCe(e,t){let c=CS();c.styles.set(e,t);for(let n of c.documents.keys())Rie(n,e,t)}typeof process>"u",mCe("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 XCe={root:"f1c3c2f08c84bcca__root","tooltip-wrapper":"dd094b49bf71dfd9__tooltip-wrapper",tooltip:"d768357cc581321f__tooltip","label-text":"a32e43dd68941abb__label-text"},GCe=()=>{};function gCe({as:e="div",axis:t,className:c,fadeTimeout:n=180,isVisible:l=!0,labelRef:o,onResize:d=GCe,position:i=Jr.bottom,showPx:r=!0,zIndex:a=1e3,...s},b){let{label:m,resizeListener:X}=Xie({axis:t,fadeTimeout:n,onResize:d,showPx:r,position:i});if(!l)return null;let G=w("components-resize-tooltip",XCe.root,c);return(0,Y1.jsxs)(Il,{"aria-hidden":"true",as:e,...s,className:G,ref:b,children:[X,(0,Y1.jsx)(xie,{"aria-hidden":s["aria-hidden"],label:m,position:i,ref:o,zIndex:a})]})}var xCe=(0,pie.forwardRef)(gCe),Hie=xCe;var Kp=u(F(),1),us="components-resizable-box__handle",N1="components-resizable-box__side-handle",S1="components-resizable-box__corner-handle",Iie={top:w(us,N1,"components-resizable-box__handle-top"),right:w(us,N1,"components-resizable-box__handle-right"),bottom:w(us,N1,"components-resizable-box__handle-bottom"),left:w(us,N1,"components-resizable-box__handle-left"),topLeft:w(us,S1,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:w(us,S1,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:w(us,S1,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:w(us,S1,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},ms={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},pCe={top:ms,right:ms,bottom:ms,left:ms,topLeft:ms,topRight:ms,bottomRight:ms,bottomLeft:ms};function RCe({className:e,children:t,showHandle:c=!0,__experimentalShowTooltip:n=!1,__experimentalTooltipProps:l={},...o},d){return(0,Kp.jsxs)(uie,{className:w("components-resizable-box__container",c&&"has-show-handle",e),handleComponent:Object.fromEntries(Object.keys(Iie).map(i=>[i,(0,Kp.jsx)("div",{tabIndex:-1},i)])),handleClasses:Iie,handleStyles:pCe,ref:d,...o,children:[t,n&&(0,Kp.jsx)(Hie,{...l})]})}var fie=(0,Zie.forwardRef)(RCe);fie.displayName="ResizableBox";var yie=fie;var Wie=u(Xt(),1),w1=u(T(),1),FS=u(F(),1);function HCe({naturalWidth:e,naturalHeight:t,children:c,isInline:n=!1}){if((0,Wie.default)("wp.components.ResponsiveWrapper",{since:"7.2",version:"7.4",alternative:"the CSS aspect-ratio property"}),w1.Children.count(c)!==1)return null;let l=n?"span":"div",o;return e&&t&&(o=`${e} / ${t}`),(0,FS.jsx)(l,{className:"components-responsive-wrapper",children:(0,FS.jsx)("div",{children:(0,w1.cloneElement)(c,{className:w("components-responsive-wrapper__content",c.props.className),style:{...c.props.style,aspectRatio:o}})})})}var hie=HCe;var Rn=u(T(),1),wX=u(me(),1),il=u(F(),1);var ICe=function(){let{MutationObserver:e}=window;if(!e||!window.parent)return;function t(){if(!document.body)return;let n=document.body.getBoundingClientRect();window.parent.postMessage({action:"resize",width:n.width,height:n.height},"*")}function c(){let{body:n}=document;if(!n)return;new e(t).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0});function o(d){d.style&&["width","height","minHeight","maxHeight"].forEach(function(i){/^\d*\.?\d+(?:vw|vh|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)$/.test(d.style[i])&&(d.style[i]="")})}Array.prototype.forEach.call(document.querySelectorAll("[style]"),o),Array.prototype.forEach.call(document.styleSheets,function(d){let i;try{i=d.cssRules||d.rules}catch{return}Array.prototype.forEach.call(i,o)}),n.style.position="absolute",n.style.width="100%",n.setAttribute("data-resizable-iframe-connected",""),t()}window.addEventListener("load",t,!0),window.addEventListener("resize",t,!0),document.body?c():document.addEventListener("DOMContentLoaded",c)},ZCe=` | |
| 80 | 118 | body { |
| 81 | 119 | margin: 0; |
| 82 | 120 | } |
| 83 | 121 | html, |
| @@ -96,28 +134,25 @@ | ||
| 96 | 134 | body > div > * { |
| 97 | 135 | margin-top: 0 !important; /* Has to have !important to override inline styles. */ |
| 98 | 136 | margin-bottom: 0 !important; |
| 99 | 137 | } |
| 100 | -`;function mgc({html:c,title:l,type:t,styles:e,scripts:b}){let d=(0,Jl.jsxs)("html",{lang:document.documentElement.lang,className:t,children:[(0,Jl.jsxs)("head",{children:[(0,Jl.jsx)("title",{children:l}),(0,Jl.jsx)("style",{dangerouslySetInnerHTML:{__html:$P}}),e.map((o,n)=>(0,Jl.jsx)("style",{dangerouslySetInnerHTML:{__html:o}},n))]}),(0,Jl.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:t,children:[(0,Jl.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}),(0,Jl.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${qP.toString()})();`}}),b.map(o=>(0,Jl.jsx)("script",{src:o},o))]})]});return"<!DOCTYPE html>"+(0,Rt.renderToString)(d)}function sgc({html:c="",title:l="",type:t,styles:e=[],scripts:b=[],onFocus:d,tabIndex:o}){let n=(0,Rt.useRef)(null),[X,G]=(0,Rt.useState)(0),[i,a]=(0,Rt.useState)(0),m=(0,Rt.useMemo)(()=>mgc({html:c,title:l,type:t,styles:e,scripts:b}),[c,l,t,e,b]);return(0,Rt.useEffect)(()=>{let s=n.current;if(!s)return;function x(H){if(!s||s.contentWindow!==H.source)return;let Z=H.data||{};if(typeof Z=="string")try{Z=JSON.parse(Z)}catch{}Z.action==="resize"&&(G(Z.width),a(Z.height))}let r=null;function g(){let H=s?.ownerDocument?.defaultView??null;H!==r&&(r?.removeEventListener("message",x),r=H,r?.addEventListener("message",x))}return g(),s.addEventListener("load",g),()=>{s.removeEventListener("load",g),r?.removeEventListener("message",x)}},[]),(0,Jl.jsx)("iframe",{ref:(0,F0.useMergeRefs)([n,(0,F0.useFocusableIframe)()]),title:l,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-presentation",srcDoc:m,onFocus:d,width:Math.ceil(X),height:Math.ceil(i)})}function xgc({html:c="",title:l="",type:t,styles:e=[],scripts:b=[],onFocus:d,tabIndex:o}){let n=(0,Rt.useRef)(null),[X,G]=(0,Rt.useState)(0),[i,a]=(0,Rt.useState)(0);function m(){try{return!!n.current?.contentDocument?.body}catch{return!1}}function s(x=!1){if(!m())return;let{contentDocument:r,ownerDocument:g}=n.current;if(!x&&r?.body.getAttribute("data-resizable-iframe-connected")!==null)return;let H=(0,Jl.jsxs)("html",{lang:g.documentElement.lang,className:t,children:[(0,Jl.jsxs)("head",{children:[(0,Jl.jsx)("title",{children:l}),(0,Jl.jsx)("style",{dangerouslySetInnerHTML:{__html:$P}}),e.map((Z,R)=>(0,Jl.jsx)("style",{dangerouslySetInnerHTML:{__html:Z}},R))]}),(0,Jl.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:t,children:[(0,Jl.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}),(0,Jl.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${qP.toString()})();`}}),b.map(Z=>(0,Jl.jsx)("script",{src:Z},Z))]})]});r.open(),r.write("<!DOCTYPE html>"+(0,Rt.renderToString)(H)),r.close()}return(0,Rt.useEffect)(()=>{s();function x(){s(!1)}function r(Z){let R=n.current;if(!R||R.contentWindow!==Z.source)return;let W=Z.data||{};if(typeof W=="string")try{W=JSON.parse(W)}catch{}W.action==="resize"&&(G(W.width),a(W.height))}let g=n.current,H=g?.ownerDocument?.defaultView;return g?.addEventListener("load",x,!1),H?.addEventListener("message",r),()=>{g?.removeEventListener("load",x,!1),H?.removeEventListener("message",r)}},[]),(0,Rt.useEffect)(()=>{s()},[l,e,b]),(0,Rt.useEffect)(()=>{s(!0)},[c,t]),(0,Jl.jsx)("iframe",{ref:(0,F0.useMergeRefs)([n,(0,F0.useFocusableIframe)()]),title:l,tabIndex:o,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:d,width:Math.ceil(X),height:Math.ceil(i)})}function rgc({allowSameOrigin:c=!1,...l}){return c?(0,Jl.jsx)(xgc,{...l}):(0,Jl.jsx)(sgc,{...l})}var cK=rgc;var oB=u(ec(),1),Xr=u(Gc(),1);var nB=u(F(),1),eK=u(ml(),1);var lK=S(Pd,{target:"effl84m1"})({name:"37btb2",styles:"input[type='search']{&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{-webkit-appearance:none;}}"}),tK=S(qc,{target:"effl84m0"})({name:"1i54h4p",styles:"&:dir( ltr ){transform:scaleX( -1 );}"});var pi=u(J(),1);function ggc({searchRef:c,value:l,onChange:t,onClose:e}){if(!e&&!l)return null;e&&(0,eK.default)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});let b=()=>{t(""),c.current?.focus()};return(0,pi.jsx)(j2,{variant:"control",children:(0,pi.jsx)(bc,{size:"small",icon:Po,label:e?(0,Xr.__)("Close search"):(0,Xr.__)("Reset search"),onClick:e??b})})}function Zgc({__nextHasNoMarginBottom:c,className:l,onChange:t,value:e,label:b=(0,Xr.__)("Search"),placeholder:d=(0,Xr.__)("Search"),hideLabelFromVision:o=!0,onClose:n,size:X="default",...G},i){let{disabled:a,...m}=G,s=(0,nB.useRef)(null),x=(0,oB.useInstanceId)(VC,"components-search-control");return(0,pi.jsx)(lK,{__next40pxDefaultSize:!0,id:x,hideLabelFromVision:o,label:b,ref:(0,oB.useMergeRefs)([s,i]),type:"search",size:X,className:Q("components-search-control",l),onChange:r=>t(r??""),autoComplete:"off",placeholder:d,value:e??"",prefix:(0,pi.jsx)(U2,{variant:"icon",children:(0,pi.jsx)(tK,{icon:i2,fill:"currentColor"})}),suffix:(0,pi.jsx)(ggc,{searchRef:s,value:e,onChange:t,onClose:n}),...m})}var VC=(0,nB.forwardRef)(Zgc);VC.displayName="SearchControl";var bK=VC;var dK=u(_d(),1),Id=u(F(),1),JC=u(Gc(),1),HHl=u(ne(),1);var kX=u(J(),1),Hgc=6e3;function Rgc(c,l){let t=typeof c=="string"?c:(0,Id.renderToString)(c);(0,Id.useEffect)(()=>{t&&(0,dK.speak)(t,l)},[t,l])}function Igc({className:c,children:l,spokenMessage:t=l,politeness:e="polite",actions:b=[],onRemove:d,icon:o=null,explicitDismiss:n=!1,onDismiss:X,listRef:G},i){function a(g){g&&g.preventDefault&&g.preventDefault(),G?.current?.focus(),X?.(),d?.()}function m(g,H){g.stopPropagation(),d?.(),H&&H(g)}Rgc(t,e);let s=(0,Id.useRef)({onDismiss:X,onRemove:d});(0,Id.useLayoutEffect)(()=>{s.current={onDismiss:X,onRemove:d}}),(0,Id.useEffect)(()=>{let g=setTimeout(()=>{n||(s.current.onDismiss?.(),s.current.onRemove?.())},Hgc);return()=>clearTimeout(g)},[n]);let x=Q(c,"components-snackbar",{"components-snackbar-explicit-dismiss":!!n});b&&b.length>1&&(b=[b[0]]);let r=Q("components-snackbar__content",{"components-snackbar__content-with-icon":!!o});return(0,kX.jsx)("div",{ref:i,className:x,onClick:n?void 0:a,tabIndex:0,role:n?void 0:"button",onKeyPress:n?void 0:a,"aria-label":n?void 0:(0,JC.__)("Dismiss this notice"),"data-testid":"snackbar",children:(0,kX.jsxs)("div",{className:r,children:[o&&(0,kX.jsx)("div",{className:"components-snackbar__icon",children:o}),l,b.map(({label:g,onClick:H,url:Z,openInNewTab:R=!1},W)=>Z!==void 0&&R?(0,kX.jsx)(Rp,{href:Z,onClick:I=>m(I,H),className:"components-snackbar__action",children:g},W):(0,kX.jsx)(bc,{__next40pxDefaultSize:!0,href:Z,variant:"link",onClick:I=>m(I,H),className:"components-snackbar__action",children:g},W)),n&&(0,kX.jsx)("span",{role:"button","aria-label":(0,JC.__)("Dismiss this notice"),tabIndex:0,className:"components-snackbar__dismiss-button",onClick:a,onKeyPress:a,children:"\u2715"})]})})}var oK=(0,Id.forwardRef)(Igc);oK.displayName="Snackbar";var XB=oK;var nK=u(ec(),1),XK=u(F(),1);var Bi=u(J(),1),Wgc={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{type:"tween",duration:.3,ease:[0,0,.2,1]},opacity:{type:"tween",duration:.25,delay:.05,ease:[0,0,.2,1]}}},exit:{opacity:0,transition:{type:"tween",duration:.1,ease:[0,0,.2,1]}}};function pgc({notices:c,className:l,children:t,onRemove:e}){let b=(0,XK.useRef)(null),d=(0,nK.useReducedMotion)();l=Q("components-snackbar-list",l);let o=n=>()=>e?.(n.id);return(0,Bi.jsxs)("div",{className:l,tabIndex:-1,ref:b,"data-testid":"snackbar-list",children:[t,(0,Bi.jsx)(cu,{children:c.map(n=>{let{content:X,...G}=n;return(0,Bi.jsx)(qn.div,{layout:d?!1:"position",style:{width:"100%"},initial:"init",animate:"open",exit:"exit",variants:d?void 0:Wgc,children:(0,Bi.jsx)("div",{className:"components-snackbar-list__notice-container",children:(0,Bi.jsx)(XB,{...G,onRemove:o(n),listRef:b,children:n.content})})},n.id)})})]})}var GK=pgc;var Ro=u(F(),1),GB=u(ec(),1),aK=u(Gc(),1);var yi=u(J(),1),iK=c=>{if(!(typeof c>"u"||c===null))return c.match(/^tab-panel-[0-9]*-(.*)/)?.[1]},Bgc=({className:c,children:l,tabs:t,selectOnMove:e=!0,initialTabName:b,orientation:d="horizontal",activeClass:o="is-active",onSelect:n},X)=>{let G=(0,GB.useInstanceId)(hC,"tab-panel"),i=(0,Ro.useCallback)(g=>{if(!(typeof g>"u"))return`${G}-${g}`},[G]),a=_i({setSelectedId:g=>{if(typeof g>"u"||g===null)return;let H=t.find(R=>i(R.name)===g);if(H?.disabled||H===x)return;let Z=iK(g);typeof Z>"u"||n?.(Z)},orientation:d,selectOnMove:e,defaultSelectedId:i(b),rtl:(0,aK.isRTL)()}),m=iK(U(a,"selectedId")),s=(0,Ro.useCallback)(g=>{a.setState("selectedId",i(g))},[i,a]),x=t.find(({name:g})=>g===m),r=(0,GB.usePrevious)(m);return(0,Ro.useEffect)(()=>{r!==m&&m===b&&m&&n?.(m)},[m,b,n,r]),(0,Ro.useLayoutEffect)(()=>{if(x)return;let g=t.find(H=>H.name===b);if(!(b&&!g))if(g&&!g.disabled)s(g.name);else{let H=t.find(Z=>!Z.disabled);H&&s(H.name)}},[t,x,b,G,s]),(0,Ro.useEffect)(()=>{if(!x?.disabled)return;let g=t.find(H=>!H.disabled);g&&s(g.name)},[t,x?.disabled,s,G]),(0,yi.jsxs)("div",{className:c,ref:X,children:[(0,yi.jsx)(Ui,{store:a,className:"components-tab-panel__tabs",children:t.map(g=>(0,yi.jsx)(Li,{id:i(g.name),className:Q("components-tab-panel__tabs-item",g.className,{[o]:g.name===m}),disabled:g.disabled,"aria-controls":`${i(g.name)}-view`,render:(0,yi.jsx)(bc,{__next40pxDefaultSize:!0,icon:g.icon,label:g.icon&&g.title,showTooltip:!!g.icon}),children:!g.icon&&g.title},g.name))}),x&&(0,yi.jsx)(Mi,{id:`${i(x.name)}-view`,store:a,tabId:i(x.name),className:"components-tab-panel__tab-content",children:l(x)})]})},hC=(0,Ro.forwardRef)(Bgc);hC.displayName="TabPanel";var uK=hC;var mK=u(ec(),1),sK=u(F(),1);var CC=u(J(),1);function ygc(c,l){let{__nextHasNoMarginBottom:t,__next40pxDefaultSize:e,label:b,hideLabelFromVision:d,value:o,help:n,id:X,className:G,onChange:i,type:a="text",...m}=c,s=(0,mK.useInstanceId)(YC,"inspector-text-control",X);return(0,CC.jsx)(jc,{label:b,hideLabelFromVision:d,id:s,help:n,className:G,children:(0,CC.jsx)("input",{className:"components-text-control__input",type:a,id:s,value:o,onChange:r=>i(r.target.value),"aria-describedby":n?s+"__help":void 0,ref:l,...m})})}var YC=(0,sK.forwardRef)(ygc);YC.displayName="TextControl";var iB=YC;var rK=u(ec(),1),gK=u(F(),1);var Vgc=k("box-shadow:0 0 0 transparent;border-radius:",O.radiusSmall,";border:",O.borderWidth," solid ",T.ui.border,";@media not ( prefers-reduced-motion ){transition:box-shadow 0.1s linear;}",""),Jgc=k("border-color:",T.theme.accent,";box-shadow:0 0 0 calc( ",O.borderWidthFocus," - ",O.borderWidth," ) ",T.theme.accent,";outline:2px solid transparent;",""),xK=S("textarea",{target:"e1w5nnrk0"})("width:100%;display:block;font-family:",Cl("default.fontFamily"),";line-height:20px;background:",T.theme.background,";color:",T.theme.foreground,";resize:vertical;padding:9px 11px;min-height:38px;",Vgc,";font-size:",Cl("mobileTextMinFontSize"),";",Jz("small"),"{font-size:",Cl("default.fontSize"),";}&:focus{",Jgc,";}&:disabled{background:",T.ui.backgroundDisabled,";border-color:",T.ui.borderDisabled,";color:",T.ui.textDisabled,";}&::-webkit-input-placeholder{color:",T.ui.darkGrayPlaceholder,";}&::-moz-placeholder{color:",T.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",T.ui.darkGrayPlaceholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",T.ui.lightGrayPlaceholder,";}&::-moz-placeholder{color:",T.ui.lightGrayPlaceholder,";}&:-ms-input-placeholder{color:",T.ui.lightGrayPlaceholder,";}}");var FC=u(J(),1);function hgc(c,l){let{__nextHasNoMarginBottom:t,label:e,hideLabelFromVision:b,value:d,help:o,onChange:n,rows:X=4,className:G,...i}=c,m=`inspector-textarea-control-${(0,rK.useInstanceId)(vC)}`,s=r=>n(r.target.value),x=Q("components-textarea-control",G);return(0,FC.jsx)(jc,{label:e,hideLabelFromVision:b,id:m,help:o,className:x,children:(0,FC.jsx)(xK,{className:"components-textarea-control__input",id:m,rows:X,onChange:s,"aria-describedby":o?m+"__help":void 0,value:d,ref:l,...i})})}var vC=(0,gK.forwardRef)(hgc);vC.displayName="TextareaControl";var aB=vC;var ZK=u(F(),1);var Gr=u(J(),1),HK=c=>{let{text:l="",highlight:t=""}=c,e=t.trim();if(!e)return(0,Gr.jsx)(Gr.Fragment,{children:l});let b=new RegExp(`(${TG(e)})`,"gi");return(0,ZK.createInterpolateElement)(l.replace(b,"<mark>$&</mark>"),{mark:(0,Gr.jsx)("mark",{})})};HK.displayName="TextHighlight";var RK=HK;var ir=u(J(),1);function Cgc(c){let{children:l}=c;return(0,ir.jsxs)("div",{className:"components-tip",children:[(0,ir.jsx)(mt,{icon:m2}),(0,ir.jsx)("p",{children:l})]})}var IK=Cgc;var WK=u(F(),1),pK=u(ec(),1);var Vi=u(J(),1);function Ygc({label:c,checked:l,help:t,className:e,onChange:b,disabled:d,__nextHasNoMarginBottom:o,...n},X){function G(x){b(x.target.checked)}let a=`inspector-toggle-control-${(0,pK.useInstanceId)(NC)}`,m,s;return t&&(typeof t=="function"?l!==void 0&&(s=t(l)):s=t,s&&(m=a+"__help")),(0,Vi.jsx)(jc,{id:a,help:s&&(0,Vi.jsx)("span",{className:"components-toggle-control__help",children:s}),className:Q("components-toggle-control",e),children:(0,Vi.jsxs)(Ec,{justify:"flex-start",spacing:2,children:[(0,Vi.jsx)(yp,{id:a,checked:l,onChange:G,"aria-describedby":m,disabled:d,ref:X,...n}),(0,Vi.jsx)(Xe,{as:"label",htmlFor:a,className:Q("components-toggle-control__label",{"is-disabled":d}),children:c})]})})}var NC=(0,WK.forwardRef)(Ygc);NC.displayName="ToggleControl";var uB=NC;var gB=u(F(),1),OK=u(ml(),1);var fK=u(F(),1);var xB=u(F(),1);var sB=u(F(),1),lRl=u(ne(),1);var BK=u(F(),1),yK=(0,BK.createContext)(void 0);yK.displayName="ToolbarContext";var Ze=yK;var mB=u(J(),1);function Fgc({children:c,as:l,...t},e){let b=(0,sB.useContext)(Ze),d=typeof c=="function";if(!d&&!l)return null;let o={...t,ref:e,"data-toolbar-item":!0};return b?(0,mB.jsx)(og,{accessibleWhenDisabled:!0,...o,store:b,render:d?c:l&&(0,mB.jsx)(l,{children:c})}):l?(0,mB.jsx)(l,{...o,children:c}):d?c(o):null}var VK=(0,sB.forwardRef)(Fgc);VK.displayName="ToolbarItem";var Bn=VK;var JK=u(J(),1),vgc=({children:c,className:l})=>(0,JK.jsx)("div",{className:l,children:c}),hK=vgc;var ar=u(J(),1);function Ngc({isDisabled:c,...l}){return{disabled:c,...l}}function fgc(c,l){let{children:t,className:e,containerClassName:b,extraProps:d,isActive:o,title:n,...X}=Ngc(c);return(0,xB.useContext)(Ze)?(0,ar.jsx)(Bn,{className:Q("components-toolbar-button",e),...d,...X,ref:l,children:i=>(0,ar.jsx)(bc,{size:"compact",label:n,isPressed:o,...i,children:t})}):(0,ar.jsx)(hK,{className:b,children:(0,ar.jsx)(bc,{ref:l,icon:X.icon,size:"compact",label:n,shortcut:X.shortcut,"data-subscript":X.subscript,onClick:i=>{i.stopPropagation(),X.onClick&&X.onClick(i)},className:Q("components-toolbar__control",e),isPressed:o,accessibleWhenDisabled:!0,"data-toolbar-item":!0,...d,...X,children:t})})}var CK=(0,xB.forwardRef)(fgc);CK.displayName="ToolbarButton";var ur=CK;var YK=u(J(),1),Sgc=({className:c,children:l,...t})=>(0,YK.jsx)("div",{className:c,...t,children:l}),FK=Sgc;var vK=u(F(),1);var fC=u(J(),1);function kgc({controls:c=[],toggleProps:l,...t}){let e=(0,vK.useContext)(Ze),b=d=>(0,fC.jsx)(ad,{controls:c,toggleProps:{...d,"data-toolbar-item":!0},...t});return e?(0,fC.jsx)(Bn,{...l,children:b}):b(l)}var NK=kgc;var mr=u(J(),1);function zgc(c){return Array.isArray(c)&&Array.isArray(c[0])}function Agc({controls:c=[],children:l,className:t,isCollapsed:e,title:b,...d}){let o=(0,fK.useContext)(Ze);if((!c||!c.length)&&!l)return null;let n=Q(o?"components-toolbar-group":"components-toolbar",t),X;return zgc(c)?X=c:X=[c],e?(0,mr.jsx)(NK,{label:b,controls:X,className:n,children:l,...d}):(0,mr.jsxs)(FK,{className:n,...d,children:[X?.flatMap((G,i)=>G.map((a,m)=>(0,mr.jsx)(ur,{containerClassName:i>0&&m===0?"has-left-divider":void 0,...a},[i,m].join()))),l]})}var sr=Agc;var SK=u(F(),1),kK=u(Gc(),1);var SC=u(J(),1);function Ogc({label:c,...l},t){let e=qi({focusLoop:!0,rtl:(0,kK.isRTL)()});return(0,SC.jsx)(Ze.Provider,{value:e,children:(0,SC.jsx)(dg,{ref:t,"aria-label":c,store:e,...l})})}var zK=(0,SK.forwardRef)(Ogc);zK.displayName="ToolbarContainer";var AK=zK;var rB=u(J(),1);function Qgc({className:c,label:l,variant:t,...e},b){let d=t!==void 0,o=(0,gB.useMemo)(()=>d?{}:{DropdownMenu:{variant:"toolbar"},Dropdown:{variant:"toolbar"},Menu:{variant:"toolbar"}},[d]);if(!l){(0,OK.default)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"});let{title:X,...G}=e;return(0,rB.jsx)(sr,{isCollapsed:!1,...G,className:c})}let n=Q("components-accessible-toolbar",c,t&&`is-${t}`);return(0,rB.jsx)(fG,{value:o,children:(0,rB.jsx)(AK,{className:n,label:l,ref:b,...e})})}var QK=(0,gB.forwardRef)(Qgc);QK.displayName="Toolbar";var kC=QK;var HB=u(F(),1);var ZB=u(J(),1);function wgc(c,l){return(0,HB.useContext)(Ze)?(0,ZB.jsx)(Bn,{ref:l,...c.toggleProps,children:e=>(0,ZB.jsx)(ad,{...c,popoverProps:{...c.popoverProps},toggleProps:e})}):(0,ZB.jsx)(ad,{...c})}var wK=(0,HB.forwardRef)(wgc);wK.displayName="ToolbarDropdownMenu";var zC=wK;var gr=u(_d(),1);var Ol=u(Gc(),1);var rr=u(F(),1);var Ji={columns:c=>k("grid-template-columns:",`repeat( ${c}, minmax(0, 1fr) )`,";",""),spacing:k("column-gap:",D(4),";row-gap:",D(4),";",""),item:{fullWidth:{name:"18iuzk9",styles:"grid-column:1/-1"}}},TK=c=>k(Ji.columns(c)," ",Ji.spacing," border-top:",O.borderWidth," solid ",T.gray[300],";margin-top:-1px;padding:",D(4),";",""),DK=c=>k(">div:not( :first-of-type ){display:grid;",Ji.columns(c)," ",Ji.spacing," ",Ji.item.fullWidth,";}",""),LK={name:"huufmu",styles:">div:not( :first-of-type ){display:none;}"},UK=k(Ji.item.fullWidth," gap:",D(2),";.components-dropdown-menu{margin:",D(-1)," 0;line-height:0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:",D(6),";}",""),jK=k("font-size:inherit;font-weight:",O.fontWeightMedium,";line-height:normal;&&{margin:0;}",""),EK=k(Ji.item.fullWidth,"&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ",nI,"{margin-bottom:0;",XI,":last-child{margin-bottom:0;}}",td,"{margin-bottom:0;}",""),MK={name:"eivff4",styles:"display:none"},PK={name:"16gsvie",styles:"min-width:200px"},AC=S("span",{target:"ews648u0"})("color:",T.theme.accentDarker10,";font-size:11px;font-weight:",O.fontWeightMedium,";line-height:1.4;",kc({marginLeft:D(3)})," text-transform:uppercase;"),KK=k("color:",T.gray[900],";&&[aria-disabled='true']{color:",T.gray[700],";opacity:1;&:hover{color:",T.gray[700],";}",AC,"{opacity:0.3;}}","");var RB=u(F(),1),xr=()=>{},hi=(0,RB.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:xr,deregisterPanelItem:xr,flagItemCustomization:xr,registerResetAllFilter:xr,deregisterResetAllFilter:xr,areAllOptionalControlsHidden:!0});hi.displayName="ToolsPanelContext";var IB=()=>(0,RB.useContext)(hi);function _K(c){let{className:l,headingLevel:t=2,...e}=cc(c,"ToolsPanelHeader"),b=ic(),d=(0,rr.useMemo)(()=>b(UK,l),[l,b]),o=(0,rr.useMemo)(()=>b(PK),[b]),n=(0,rr.useMemo)(()=>b(jK),[b]),X=(0,rr.useMemo)(()=>b(KK),[b]),{menuItems:G,hasMenuItems:i,areAllOptionalControlsHidden:a}=IB();return{...e,areAllOptionalControlsHidden:a,defaultControlsItemClassName:X,dropdownMenuClassName:o,hasMenuItems:i,headingClassName:n,headingLevel:t,menuItems:G,className:d}}var Al=u(J(),1),Tgc=({itemClassName:c,items:l,toggleItem:t})=>{if(!l.length)return null;let e=(0,Al.jsx)(AC,{"aria-hidden":!0,children:(0,Ol.__)("Reset")});return(0,Al.jsx)(Al.Fragment,{children:l.map(([b,d])=>d?(0,Al.jsx)(Rn,{className:c,role:"menuitem",label:(0,Ol.sprintf)((0,Ol.__)("Reset %s"),b),onClick:()=>{t(b),(0,gr.speak)((0,Ol.sprintf)((0,Ol.__)("%s reset to default"),b),"assertive")},suffix:e,children:b},b):(0,Al.jsx)(Rn,{icon:jt,className:c,role:"menuitemcheckbox",isSelected:!0,"aria-disabled":!0,children:b},b))})},Dgc=({items:c,toggleItem:l})=>c.length?(0,Al.jsx)(Al.Fragment,{children:c.map(([t,e])=>{let b=e?(0,Ol.sprintf)((0,Ol.__)("Hide and reset %s"),t):(0,Ol.sprintf)((0,Ol._x)("Show %s","input control"),t);return(0,Al.jsx)(Rn,{icon:e?jt:null,isSelected:e,label:b,onClick:()=>{e?(0,gr.speak)((0,Ol.sprintf)((0,Ol.__)("%s hidden and reset to default"),t),"assertive"):(0,gr.speak)((0,Ol.sprintf)((0,Ol.__)("%s is now visible"),t),"assertive"),l(t)},role:"menuitemcheckbox",children:t},t)})}):null,Lgc=(c,l)=>{let{areAllOptionalControlsHidden:t,defaultControlsItemClassName:e,dropdownMenuClassName:b,hasMenuItems:d,headingClassName:o,headingLevel:n=2,label:X,menuItems:G,resetAll:i,toggleItem:a,dropdownMenuProps:m,...s}=_K(c);if(!X)return null;let x=Object.entries(G?.default||{}),r=Object.entries(G?.optional||{}),g=t?Ko:Ms,H=(0,Ol.sprintf)((0,Ol._x)("%s options","Button label to reveal tool panel options"),X),Z=t?(0,Ol.__)("All options are currently hidden"):void 0,R=[...x,...r].some(([,W])=>W);return(0,Al.jsxs)(Ec,{...s,ref:l,children:[(0,Al.jsx)(bd,{level:n,className:o,children:X}),d&&(0,Al.jsx)(ad,{...m,icon:g,label:H,menuProps:{className:b},toggleProps:{size:"small",description:Z},children:()=>(0,Al.jsxs)(Al.Fragment,{children:[(0,Al.jsxs)(er,{label:X,children:[(0,Al.jsx)(Tgc,{items:x,toggleItem:a,itemClassName:e}),(0,Al.jsx)(Dgc,{items:r,toggleItem:a})]}),(0,Al.jsx)(er,{children:(0,Al.jsx)(Rn,{"aria-disabled":!R,variant:"tertiary",onClick:()=>{R&&(i(),(0,gr.speak)((0,Ol.__)("All options reset"),"assertive"))},children:(0,Ol.__)("Reset all")})})]})})]})},Ugc=lc(Lgc,"ToolsPanelHeader"),QC=Ugc;var tt=u(F(),1);var qK=2;function wC(){return{default:{},optional:{}}}function jgc(){return{panelItems:[],menuItemOrder:[],menuItems:wC()}}var $K=({panelItems:c,shouldReset:l,currentMenuItems:t,menuItemOrder:e})=>{let b=wC(),d=wC();return c.forEach(({hasValue:o,isShownByDefault:n,label:X})=>{let G=n?"default":"optional",i=t?.[G]?.[X],a=i||o();b[G][X]=l?!1:a}),e.forEach(o=>{b.default.hasOwnProperty(o)&&(d.default[o]=b.default[o]),b.optional.hasOwnProperty(o)&&(d.optional[o]=b.optional[o])}),Object.keys(b.default).forEach(o=>{d.default.hasOwnProperty(o)||(d.default[o]=b.default[o])}),Object.keys(b.optional).forEach(o=>{d.optional.hasOwnProperty(o)||(d.optional[o]=b.optional[o])}),d};function Egc(c,l){switch(l.type){case"REGISTER_PANEL":{let t=[...c],e=t.findIndex(b=>b.label===l.item.label);return e!==-1&&t.splice(e,1),t.push(l.item),t}case"UNREGISTER_PANEL":{let t=c.findIndex(e=>e.label===l.label);if(t!==-1){let e=[...c];return e.splice(t,1),e}return c}default:return c}}function Mgc(c,l){return l.type==="REGISTER_PANEL"?c.includes(l.item.label)?c:[...c,l.item.label]:c}function Pgc(c,l){switch(l.type){case"REGISTER_PANEL":case"UNREGISTER_PANEL":return $K({currentMenuItems:c.menuItems,panelItems:c.panelItems,menuItemOrder:c.menuItemOrder,shouldReset:!1});case"RESET_ALL":return $K({panelItems:c.panelItems,menuItemOrder:c.menuItemOrder,shouldReset:!0});case"UPDATE_VALUE":{let t=c.menuItems[l.group][l.label];return l.value===t?c.menuItems:{...c.menuItems,[l.group]:{...c.menuItems[l.group],[l.label]:l.value}}}case"TOGGLE_VALUE":{let t=c.panelItems.find(d=>d.label===l.label);if(!t)return c.menuItems;let e=t.isShownByDefault?"default":"optional";return{...c.menuItems,[e]:{...c.menuItems[e],[l.label]:!c.menuItems[e][l.label]}}}default:return c.menuItems}}function Kgc(c,l){let t=Egc(c.panelItems,l),e=Mgc(c.menuItemOrder,l),b=Pgc({panelItems:t,menuItemOrder:e,menuItems:c.menuItems},l);return{panelItems:t,menuItemOrder:e,menuItems:b}}function _gc(c,l){switch(l.type){case"REGISTER":return[...c,l.filter];case"UNREGISTER":return c.filter(t=>t!==l.filter);default:return c}}var c_=c=>Object.keys(c).length===0;function l_(c){let{className:l,headingLevel:t=2,resetAll:e,panelId:b,hasInnerWrapper:d=!1,shouldRenderPlaceholderItems:o=!1,__experimentalFirstVisibleItemClass:n,__experimentalLastVisibleItemClass:X,...G}=cc(c,"ToolsPanel"),i=(0,tt.useRef)(!1),a=i.current;(0,tt.useEffect)(()=>{a&&(i.current=!1)},[a]);let[{panelItems:m,menuItems:s},x]=(0,tt.useReducer)(Kgc,void 0,jgc),[r,g]=(0,tt.useReducer)(_gc,[]),H=(0,tt.useCallback)(z=>{x({type:"REGISTER_PANEL",item:z})},[]),Z=(0,tt.useCallback)(z=>{x({type:"UNREGISTER_PANEL",label:z})},[]),R=(0,tt.useCallback)(z=>{g({type:"REGISTER",filter:z})},[]),W=(0,tt.useCallback)(z=>{g({type:"UNREGISTER",filter:z})},[]),I=(0,tt.useCallback)((z,f,L="default")=>{x({type:"UPDATE_VALUE",group:L,label:f,value:z})},[]),p=(0,tt.useMemo)(()=>c_(s.default)&&!c_(s.optional)&&Object.values(s.optional).every(z=>!z),[s]),B=ic(),y=(0,tt.useMemo)(()=>{let z=d&&DK(qK),f=p&&LK;return B(TK(qK),z,f,l)},[p,l,B,d]),C=(0,tt.useCallback)(z=>{x({type:"TOGGLE_VALUE",label:z})},[]),V=(0,tt.useCallback)(()=>{typeof e=="function"&&(i.current=!0,e(r)),x({type:"RESET_ALL"})},[r,e]),h=z=>{let f=s.optional||{};return z.find(v=>v.isShownByDefault||f[v.label])?.label},Y=h(m),N=h([...m].reverse()),A=m.length>0,w=(0,tt.useMemo)(()=>({areAllOptionalControlsHidden:p,deregisterPanelItem:Z,deregisterResetAllFilter:W,firstDisplayedItem:Y,flagItemCustomization:I,hasMenuItems:A,isResetting:i.current,lastDisplayedItem:N,menuItems:s,panelId:b,registerPanelItem:H,registerResetAllFilter:R,shouldRenderPlaceholderItems:o,__experimentalFirstVisibleItemClass:n,__experimentalLastVisibleItemClass:X}),[p,Z,W,Y,I,N,s,b,A,R,H,o,n,X]);return{...G,headingLevel:t,panelContext:w,resetAllItems:V,toggleItem:C,className:y}}var Zr=u(J(),1),qgc=(c,l)=>{let{children:t,label:e,panelContext:b,resetAllItems:d,toggleItem:o,headingLevel:n,dropdownMenuProps:X,...G}=l_(c);return(0,Zr.jsx)(Xn,{...G,columns:2,ref:l,children:(0,Zr.jsxs)(hi.Provider,{value:b,children:[(0,Zr.jsx)(QC,{label:e,resetAll:d,toggleItem:o,headingLevel:n,dropdownMenuProps:X}),t]})})},$gc=lc(qgc,"ToolsPanel"),WB=$gc;var TC=u(ec(),1),Wd=u(F(),1);var cZc=()=>{};function t_(c){let{className:l,hasValue:t,isShownByDefault:e=!1,label:b,panelId:d,resetAllFilter:o=cZc,onDeselect:n,onSelect:X,...G}=cc(c,"ToolsPanelItem"),{panelId:i,menuItems:a,registerResetAllFilter:m,deregisterResetAllFilter:s,registerPanelItem:x,deregisterPanelItem:r,flagItemCustomization:g,isResetting:H,shouldRenderPlaceholderItems:Z,firstDisplayedItem:R,lastDisplayedItem:W,__experimentalFirstVisibleItemClass:I,__experimentalLastVisibleItemClass:p}=IB(),B=(0,Wd.useCallback)(t,[d]),y=(0,Wd.useCallback)(o,[d]),C=(0,TC.usePrevious)(i),V=i===d||i===null;(0,Wd.useLayoutEffect)(()=>(V&&C!==null&&x({hasValue:B,isShownByDefault:e,label:b,panelId:d}),()=>{(C===null&&i||i===d)&&r(b)}),[i,V,e,b,B,d,C,x,r]),(0,Wd.useEffect)(()=>(V&&m(y),()=>{V&&s(y)}),[m,s,y,V]);let h=e?"default":"optional",Y=a?.[h]?.[b],N=(0,TC.usePrevious)(Y),A=a?.[h]?.[b]!==void 0,w=t();(0,Wd.useEffect)(()=>{!e&&!w||g(w,b,h)},[w,h,b,g,e]),(0,Wd.useEffect)(()=>{!A||H||!V||(Y&&!w&&!N&&X?.(),!Y&&w&&N&&n?.())},[V,Y,A,H,w,N,X,n]);let z=e?a?.[h]?.[b]!==void 0:Y,f=ic(),L=(0,Wd.useMemo)(()=>{let v=Z&&!z;return f(EK,v&&MK,!v&&l,R===b&&I,W===b&&p)},[z,Z,l,f,R,W,I,p,b]);return{...G,isShown:z,shouldRenderPlaceholder:Z,className:L}}var DC=u(J(),1),lZc=(c,l)=>{let{children:t,isShown:e,shouldRenderPlaceholder:b,...d}=t_(c);return e?(0,DC.jsx)(ac,{...d,ref:l,children:t}):b?(0,DC.jsx)(ac,{...d,ref:l}):null},tZc=lc(lZc,"ToolsPanelItem"),pB=tZc;var Z_=u(c0(),1),JB=u(F(),1),hl=u(rI(),1);var yB=u(F(),1);var BB=u(F(),1),LC=(0,BB.createContext)(void 0);LC.displayName="RovingTabIndexContext";var e_=()=>(0,BB.useContext)(LC),b_=LC.Provider;var d_=u(J(),1);function o_({children:c}){let[l,t]=(0,yB.useState)(),e=(0,yB.useMemo)(()=>({lastFocusedElement:l,setLastFocusedElement:t}),[l]);return(0,d_.jsx)(b_,{value:e,children:c})}var Ir=u(J(),1);var n_=u(F(),1),X_=u(J(),1);function eZc({children:c,level:l,positionInSet:t,setSize:e,isExpanded:b,...d},o){return(0,X_.jsx)("tr",{...d,ref:o,role:"row","aria-level":l,"aria-posinset":t,"aria-setsize":e,"aria-expanded":b,children:c})}var G_=(0,n_.forwardRef)(eZc);G_.displayName="TreeGridRow";var UC=G_;var r_=u(F(),1);var m_=u(F(),1);var VB=u(F(),1);var i_=u(J(),1),a_=(0,VB.forwardRef)(function({children:l,as:t,...e},b){let d=(0,VB.useRef)(null),o=b||d,{lastFocusedElement:n,setLastFocusedElement:X}=e_(),G;n&&(G=n===("current"in o?o.current:void 0)?0:-1);let a={ref:o,tabIndex:G,onFocus:m=>X?.(m.target),...e};return typeof l=="function"?l(a):t?(0,i_.jsx)(t,{...a,children:l}):null});a_.displayName="RovingTabIndexItem";var u_=a_;var s_=u(J(),1);function bZc({children:c,...l},t){return(0,s_.jsx)(u_,{ref:t,...l,children:c})}var x_=(0,m_.forwardRef)(bZc);x_.displayName="TreeGridItem";var Hr=x_;var v0=u(J(),1);function dZc({children:c,withoutGridItem:l=!1,...t},e){return(0,v0.jsx)("td",{...t,role:"gridcell",children:l?(0,v0.jsx)(v0.Fragment,{children:typeof c=="function"?c({...t,ref:e}):c}):(0,v0.jsx)(Hr,{ref:e,children:c})})}var g_=(0,r_.forwardRef)(dZc);g_.displayName="TreeGridCell";var jC=g_;function Rr(c){return Z_.focus.focusable.find(c,{sequential:!0}).filter(t=>t.closest('[role="row"]')===c)}function oZc({children:c,onExpandRow:l=()=>{},onCollapseRow:t=()=>{},onFocusRow:e=()=>{},applicationAriaLabel:b,...d},o){let n=(0,JB.useCallback)(X=>{let{keyCode:G,metaKey:i,ctrlKey:a,altKey:m}=X;if(i||a||m||![hl.UP,hl.DOWN,hl.LEFT,hl.RIGHT,hl.HOME,hl.END].includes(G))return;X.stopPropagation();let{activeElement:x}=document,{currentTarget:r}=X;if(!x||!r.contains(x))return;let g=x.closest('[role="row"]');if(!g)return;let H=Rr(g),Z=H.indexOf(x),R=Z===0,W=R&&(g.getAttribute("data-expanded")==="false"||g.getAttribute("aria-expanded")==="false")&&G===hl.RIGHT;if([hl.LEFT,hl.RIGHT].includes(G)){let I;if(G===hl.LEFT?I=Math.max(0,Z-1):I=Math.min(Z+1,H.length-1),R){if(G===hl.LEFT){if(g.getAttribute("data-expanded")==="true"||g.getAttribute("aria-expanded")==="true"){t(g),X.preventDefault();return}let p=Math.max(parseInt(g?.getAttribute("aria-level")??"1",10)-1,1),B=Array.from(r.querySelectorAll('[role="row"]')),y=g,C=B.indexOf(g);for(let V=C;V>=0;V--){let h=B[V].getAttribute("aria-level");if(h!==null&&parseInt(h,10)===p){y=B[V];break}}Rr(y)?.[0]?.focus()}if(G===hl.RIGHT){if(g.getAttribute("data-expanded")==="false"||g.getAttribute("aria-expanded")==="false"){l(g),X.preventDefault();return}let p=Rr(g);p.length>0&&p[I]?.focus()}X.preventDefault();return}if(W)return;H[I].focus(),X.preventDefault()}else if([hl.UP,hl.DOWN].includes(G)){let I=Array.from(r.querySelectorAll('[role="row"]')),p=I.indexOf(g),B;if(G===hl.UP?B=Math.max(0,p-1):B=Math.min(p+1,I.length-1),B===p){X.preventDefault();return}let y=Rr(I[B]);if(!y||!y.length){X.preventDefault();return}let C=Math.min(Z,y.length-1);y[C].focus(),e(X,g,I[B]),X.preventDefault()}else if([hl.HOME,hl.END].includes(G)){let I=Array.from(r.querySelectorAll('[role="row"]')),p=I.indexOf(g),B;if(G===hl.HOME?B=0:B=I.length-1,B===p){X.preventDefault();return}let y=Rr(I[B]);if(!y||!y.length){X.preventDefault();return}let C=Math.min(Z,y.length-1);y[C].focus(),e(X,g,I[B]),X.preventDefault()}},[l,t,e]);return(0,Ir.jsx)(o_,{children:(0,Ir.jsx)("div",{role:"application","aria-label":b,children:(0,Ir.jsx)("table",{...d,role:"treegrid",onKeyDown:n,ref:o,children:(0,Ir.jsx)("tbody",{children:c})})})})}var H_=(0,JB.forwardRef)(oZc);H_.displayName="TreeGrid";var R_=H_;var I_=u(F(),1),W_=u(ml(),1),p_=u(J(),1);function nZc(c){c.stopPropagation()}var XZc=(0,I_.forwardRef)((c,l)=>((0,W_.default)("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,p_.jsx)("div",{...c,ref:l,onMouseDown:nZc}))),B_=XZc;var V_=u(F(),1);var EC=S("div",{target:"ebn2ljm1"})("&:not( :first-of-type ){",({offsetAmount:c})=>k({marginInlineStart:c},"",""),";}",({zIndex:c})=>k({zIndex:c},"",""),";"),GZc={name:"rs0gp6",styles:"grid-row-start:1;grid-column-start:1"},y_=S("div",{target:"ebn2ljm0"})("display:inline-grid;grid-auto-flow:column;position:relative;&>",EC,"{position:relative;justify-self:start;",({isLayered:c})=>c?GZc:void 0,";}");var MC=u(J(),1);function iZc(c,l){let{children:t,className:e,isLayered:b=!0,isReversed:d=!1,offset:o=0,...n}=cc(c,"ZStack"),X=aI(t),G=X.length-1,i=X.map((a,m)=>{let s=d?G-m:m,x=b?o*m:o,r=(0,V_.isValidElement)(a)?a.key:m;return(0,MC.jsx)(EC,{offsetAmount:x,zIndex:s,children:a},r)});return(0,MC.jsx)(y_,{...n,className:e,isLayered:b,ref:l,children:i})}var aZc=lc(iZc,"ZStack"),PC=aZc;var hB=u(F(),1),N0=u(ec(),1),KC=u(rI(),1),_C=u(J(),1),uZc={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"ctrlShift",character:"~"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function qC(c=uZc){let l=(0,hB.useRef)(null),[t,e]=(0,hB.useState)(!1);function b(o){let n=Array.from(l.current?.querySelectorAll('[role="region"][tabindex="-1"]')??[]);if(!n.length)return;let X=n[0],G=l.current?.ownerDocument?.activeElement?.closest('[role="region"][tabindex="-1"]'),i=G?n.indexOf(G):-1;if(i!==-1){let a=i+o;a=a===-1?n.length-1:a,a=a===n.length?0:a,X=n[a]}X.focus(),e(!0)}let d=(0,N0.useRefEffect)(o=>{function n(){e(!1)}return o.addEventListener("click",n),()=>{o.removeEventListener("click",n)}},[e]);return{ref:(0,N0.useMergeRefs)([l,d]),className:t?"is-focusing-regions":"",onKeyDown(o){c.previous.some(({modifier:n,character:X})=>KC.isKeyboardEvent[n](o,X))?b(-1):c.next.some(({modifier:n,character:X})=>KC.isKeyboardEvent[n](o,X))&&b(1)}}}var J_=(0,N0.createHigherOrderComponent)(c=>function({shortcuts:t,...e}){return(0,_C.jsx)("div",{...qC(t),children:(0,_C.jsx)(c,{...e})})},"navigateRegions");var CB=u(ec(),1),$C=u(J(),1),mZc=(0,CB.createHigherOrderComponent)(c=>function(t){let e=(0,CB.useConstrainedTabbing)();return(0,$C.jsx)("div",{ref:e,tabIndex:-1,children:(0,$C.jsx)(c,{...t})})},"withConstrainedTabbing"),h_=mZc;var C_=u(dR(),1),YB=u(F(),1),FB=u(ec(),1),vB=u(J(),1),Y_=c=>(0,FB.createHigherOrderComponent)(l=>function(e){let[b,d]=(0,YB.useState)(void 0),o=(0,YB.useRef)(null);(0,FB.useIsomorphicLayoutEffect)(()=>{let X=e.node??o.current,G=!!b&&Object.values(b).every(Boolean);if(X&&!G){let i=c(X,e);(0,C_.default)(i,b)||d(i)}});let n=(0,vB.jsx)(l,{...e,...b});return e.node?n:(0,vB.jsxs)("div",{ref:o,children:[" ",n," "]})},"withFallbackStyles");var N_=u(F(),1),yn=u(v_(),1),NB=u(ec(),1),f_=u(J(),1),sZc=16;function S_(c){return(0,NB.createHigherOrderComponent)(l=>{let t="core/with-filters/"+c,e;function b(){e===void 0&&(e=(0,yn.applyFilters)(c,l))}class d extends N_.Component{constructor(G){super(G),b()}componentDidMount(){d.instances.push(this),d.instances.length===1&&((0,yn.addAction)("hookRemoved",t,n),(0,yn.addAction)("hookAdded",t,n))}componentWillUnmount(){d.instances=d.instances.filter(G=>G!==this),d.instances.length===0&&((0,yn.removeAction)("hookRemoved",t),(0,yn.removeAction)("hookAdded",t))}render(){return(0,f_.jsx)(e,{...this.props})}}d.instances=[];let o=(0,NB.debounce)(()=>{e=(0,yn.applyFilters)(c,l),d.instances.forEach(X=>{X.forceUpdate()})},sZc);function n(X){X===c&&o()}return d},"withFilters")}var k_=u(F(),1),fB=u(ec(),1),z_=u(ml(),1),cY=u(J(),1);function xZc(c){return c instanceof k_.Component||typeof c=="function"}var A_=(0,fB.createHigherOrderComponent)(c=>{let l=({onFocusReturn:t}={})=>e=>d=>{let o=(0,fB.useFocusReturn)(t);return(0,cY.jsx)("div",{ref:o,children:(0,cY.jsx)(e,{...d})})};if(xZc(c)){let t=c;return l()(t)}return l(c)},"withFocusReturn"),O_=({children:c})=>((0,z_.default)("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),c);var f0=u(F(),1),Q_=u(ec(),1);var SB=u(J(),1),w_=(0,Q_.createHigherOrderComponent)(c=>{function l(b,d){let[o,n]=(0,f0.useState)([]),X=(0,f0.useMemo)(()=>{let i=a=>{let m=a.id?a:{...a,id:hu()};n(s=>[...s,m])};return{createNotice:i,createErrorNotice:a=>{i({status:"error",content:a})},removeNotice:a=>{n(m=>m.filter(s=>s.id!==a))},removeAllNotices:()=>{n([])}}},[]),G={...b,noticeList:o,noticeOperations:X,noticeUI:o.length>0&&(0,SB.jsx)(zp,{className:"components-with-notices-ui",notices:o,onRemove:X.removeNotice})};return t?(0,SB.jsx)(c,{...G,ref:d}):(0,SB.jsx)(c,{...G})}let t,{render:e}=c;return typeof e=="function"?(t=!0,(0,f0.forwardRef)(l)):l},"withNotices");var kB=u(ec(),1),lY=u(_d(),1),T_=u(J(),1),D_=(0,kB.createHigherOrderComponent)(c=>function(t){return(0,T_.jsx)(c,{...t,speak:lY.speak,debouncedSpeak:(0,kB.useDebounce)(lY.speak,500)})},"withSpokenMessages");var qB=u(F(),1),g8=u(Gc(),1);var L_=u(F(),1),sl=(0,L_.createContext)(void 0);sl.displayName="MenuContext";var OB=u(F(),1);var U_=D(1),rZc=D(1),tY=D(3),gZc=T.theme.gray[300],ZZc=T.theme.gray[200],eY=T.theme.gray[700],HZc=T.theme.gray[100],j_=T.theme.foreground,RZc=`0 0 0 ${O.borderWidth} ${gZc}, ${O.elevationMedium}`,IZc=`0 0 0 ${O.borderWidth} ${j_}`,E_="minmax( 0, max-content ) 1fr",Ci=S(cZ,{target:"e1wg7tti15"})({name:"1xd6ev0",styles:"position:relative;z-index:1000000;outline:2px solid transparent!important"}),Sb=S("div",{target:"e1wg7tti14"})("display:grid;grid-template-columns:",E_,";grid-template-rows:auto;box-sizing:border-box;min-width:160px;max-width:320px;max-height:var( --popover-available-height );padding:",U_,";overscroll-behavior:contain;overflow:auto;background-color:",T.ui.background,";border-radius:",O.radiusMedium,";",c=>k("box-shadow:",c.variant==="toolbar"?IZc:RZc,";",""),";"),M_=S("div",{target:"e1wg7tti13"})("@media not ( prefers-reduced-motion ){transition-property:transform,opacity;transition-duration:",Lt.SLIDE_DURATION,",",Lt.FADE_DURATION,";transition-timing-function:",Lt.SLIDE_EASING,",",Lt.FADE_EASING,";will-change:transform,opacity;&:not( :has( > ",Sb,"[data-submenu] ) ){opacity:0;&:has( > ",Sb,"[data-enter] ){opacity:1;}&:has( > ",Sb,`[data-side='bottom'] ){transform:translateY( | |
| 101 | - -`,Lt.SLIDE_DISTANCE,` | |
| 102 | - );}&:has( > `,Sb,`[data-side='top'] ){transform:translateY( | |
| 103 | - `,Lt.SLIDE_DISTANCE,` | |
| 104 | - );}&:has( > `,Sb,`[data-side='left'] ){transform:translateX( | |
| 105 | - `,Lt.SLIDE_DISTANCE,` | |
| 106 | - );}&:has( > `,Sb,`[data-side='right'] ){transform:translateX( | |
| 107 | - -`,Lt.SLIDE_DISTANCE,` | |
| 108 | - );}&:has( > `,Sb,"[data-enter][data-side='bottom'] ),&:has( > ",Sb,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",Sb,"[data-enter][data-side='left'] ),&:has( > ",Sb,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),bY=k("all:unset;cursor:pointer;position:relative;min-height:",D(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",E_,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",Cl("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",T.theme.foreground,";border-radius:",O.radiusSmall,";padding-block:",rZc,";padding-inline:",tY,";scroll-margin:",U_,";user-select:none;outline:none;&[aria-disabled='true']{color:",T.ui.textDisabled,`;}&[data-active-item]:not( [data-focus-visible] ):not( | |
| 138 | +`;function Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:o}){let d=(0,il.jsxs)("html",{lang:o,className:c,children:[(0,il.jsxs)("head",{children:[(0,il.jsx)("title",{children:t}),(0,il.jsx)("style",{dangerouslySetInnerHTML:{__html:ZCe}}),n.map((i,r)=>(0,il.jsx)("style",{dangerouslySetInnerHTML:{__html:i}},r)),(0,il.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${ICe.toString()})();`}})]}),(0,il.jsxs)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:c,children:[(0,il.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),l.map(i=>(0,il.jsx)("script",{src:i},i))]})]});return"<!DOCTYPE html>"+(0,Rn.renderToString)(d)}function fCe({html:e="",title:t="",type:c,styles:n=[],scripts:l=[],onFocus:o,tabIndex:d,allowPopups:i=!1,allowForms:r=!1}){let a=(0,Rn.useRef)(null),[s,b]=(0,Rn.useState)(0),[m,X]=(0,Rn.useState)(0),G=w("allow-scripts","allow-presentation",{"allow-popups":i,"allow-forms":r}),g=(0,Rn.useMemo)(()=>Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:document.documentElement.lang}),[e,t,c,n,l]);return(0,Rn.useEffect)(()=>{let x=a.current;if(!x)return;function H(I){if(!x||x.contentWindow!==I.source)return;let f=I.data||{};if(typeof f=="string")try{f=JSON.parse(f)}catch{}f.action==="resize"&&(b(f.width),X(f.height))}let p=null;function R(){let I=x?.ownerDocument?.defaultView??null;I!==p&&(p?.removeEventListener("message",H),p=I,p?.addEventListener("message",H))}return R(),x.addEventListener("load",R),()=>{x.removeEventListener("load",R),p?.removeEventListener("message",H)}},[]),(0,il.jsx)("iframe",{ref:(0,wX.useMergeRefs)([a,(0,wX.useFocusableIframe)()]),title:t,tabIndex:d,className:"components-sandbox",sandbox:G,srcDoc:g,onFocus:o,width:Math.ceil(s),height:Math.ceil(m)})}function yCe({html:e="",title:t="",type:c,styles:n=[],scripts:l=[],onFocus:o,tabIndex:d,allowPopups:i=!1,allowForms:r=!1}){let a=(0,Rn.useRef)(null),[s,b]=(0,Rn.useState)(0),[m,X]=(0,Rn.useState)(0),G=w("allow-scripts","allow-same-origin","allow-presentation",{"allow-popups":i,"allow-forms":r});function g(){try{return!!a.current?.contentDocument?.body}catch{return!1}}function x(H=!1){if(!g())return;let{contentDocument:p,ownerDocument:R}=a.current;!H&&p?.body.getAttribute("data-resizable-iframe-connected")!==null||(p.open(),p.write(Bie({html:e,title:t,type:c,styles:n,scripts:l,lang:R.documentElement.lang})),p.close())}return(0,Rn.useEffect)(()=>{x();function H(){x(!1)}function p(f){let y=a.current;if(!y||y.contentWindow!==f.source)return;let Z=f.data||{};if(typeof Z=="string")try{Z=JSON.parse(Z)}catch{}Z.action==="resize"&&(b(Z.width),X(Z.height))}let R=a.current,I=R?.ownerDocument?.defaultView;return R?.addEventListener("load",H,!1),I?.addEventListener("message",p),()=>{R?.removeEventListener("load",H,!1),I?.removeEventListener("message",p)}},[]),(0,Rn.useEffect)(()=>{x()},[t,n,l]),(0,Rn.useEffect)(()=>{x(!0)},[e,c]),(0,il.jsx)("iframe",{ref:(0,wX.useMergeRefs)([a,(0,wX.useFocusableIframe)()]),title:t,tabIndex:d,className:"components-sandbox",sandbox:G,onFocus:o,width:Math.ceil(s),height:Math.ceil(m)})}function WCe({allowSameOrigin:e=!1,...t}){return e?(0,il.jsx)(yCe,{...t}):(0,il.jsx)(fCe,{...t})}var vie=WCe;var k1=u(me(),1),qp=u(Ze(),1);var z1=u(T(),1),Cie=u(Xt(),1);var su=u(F(),1),JS="data-wp-hash";function YS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&BCe(document)),e.__wpStyleRuntime}function hCe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${JS}]`))if(c.getAttribute(JS)===t)return!0;return!1}function Fie(e,t,c){if(!e.head)return;let n=YS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(hCe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(JS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function BCe(e){let t=YS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Fie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function vCe(e,t){let c=YS();c.styles.set(e,t);for(let n of c.documents.keys())Fie(n,e,t)}typeof process>"u",vCe("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 Vie={input:"_5e6152f7430df331__input",icon:"_9a856163f1b1aaae__icon"};function VCe({searchRef:e,onChange:t,onClose:c}){c&&(0,Cie.default)("`onClose` prop in wp.components.SearchControl",{since:"6.8"});let n=()=>{t(""),e.current?.focus()};return(0,su.jsx)(pC,{variant:"control",children:(0,su.jsx)(be,{size:"small",icon:Di,label:c?(0,qp.__)("Close search"):(0,qp.__)("Reset search"),onClick:c??n})})}function CCe({__nextHasNoMarginBottom:e,__next40pxDefaultSize:t,className:c,onChange:n,value:l,label:o=(0,qp.__)("Search"),placeholder:d=(0,qp.__)("Search"),hideLabelFromVision:i=!0,onClose:r,size:a="default",...s},b){let{disabled:m,...X}=s,G=(0,z1.useRef)(null),g=(0,k1.useInstanceId)(NS,"components-search-control"),x=!!r||!!l;return(0,su.jsx)(_d,{id:g,hideLabelFromVision:i,label:o,ref:(0,k1.useMergeRefs)([G,b]),type:"search",size:a,className:w(Vie.input,"components-search-control",c),onChange:H=>n(H??""),autoComplete:"off",placeholder:d,value:l??"",prefix:(0,su.jsx)(xC,{variant:"icon",children:(0,su.jsx)(Ot,{className:Vie.icon,icon:JV,fill:"currentColor"})}),suffix:x&&(0,su.jsx)(VCe,{searchRef:G,onChange:n,onClose:r}),...X})}var NS=(0,z1.forwardRef)(CCe);NS.displayName="SearchControl";var Jie=NS;var Yie=u(Md(),1),pd=u(T(),1),SS=u(Ze(),1),_Et=u(En(),1);var Xs=u(F(),1),FCe=6e3;function JCe(e,t){let c=typeof e=="string"?e:(0,pd.renderToString)(e);(0,pd.useEffect)(()=>{c&&(0,Yie.speak)(c,t)},[c,t])}function YCe({className:e,children:t,spokenMessage:c=t,politeness:n="polite",actions:l=[],onRemove:o,icon:d=null,explicitDismiss:i=!1,onDismiss:r,listRef:a},s){let b=X2();function m(H){H&&H.preventDefault&&H.preventDefault(),a?.current?.focus(),r?.(),o?.()}function X(H,p){H.stopPropagation(),o?.(),p&&p(H)}JCe(c,n);let G=(0,pd.useRef)({onDismiss:r,onRemove:o});(0,pd.useLayoutEffect)(()=>{G.current={onDismiss:r,onRemove:o}}),(0,pd.useEffect)(()=>{if(i||!b)return;let H=setTimeout(()=>{G.current.onDismiss?.(),G.current.onRemove?.()},FCe);return()=>clearTimeout(H)},[i,b]);let g=w(e,"components-snackbar",{"components-snackbar-explicit-dismiss":!!i});l&&l.length>1&&(l=[l[0]]);let x=w("components-snackbar__content",{"components-snackbar__content-with-icon":!!d});return(0,Xs.jsx)("div",{ref:s,className:g,onClick:i?void 0:m,tabIndex:0,role:i?void 0:"button",onKeyPress:i?void 0:m,"aria-label":i?void 0:(0,SS.__)("Dismiss this notice"),"data-testid":"snackbar",children:(0,Xs.jsxs)("div",{className:x,children:[d&&(0,Xs.jsx)("div",{className:"components-snackbar__icon",children:d}),t,l.map(({label:H,onClick:p,url:R,openInNewTab:I=!1},f)=>R!==void 0&&I?(0,Xs.jsx)(qh,{href:R,onClick:y=>X(y,p),className:"components-snackbar__action",children:H},f):(0,Xs.jsx)(be,{__next40pxDefaultSize:!0,href:R,variant:"link",onClick:y=>X(y,p),className:"components-snackbar__action",children:H},f)),i&&(0,Xs.jsx)("span",{role:"button","aria-label":(0,SS.__)("Dismiss this notice"),tabIndex:0,className:"components-snackbar__dismiss-button",onClick:m,onKeyPress:m,children:"\u2715"})]})})}var Nie=(0,pd.forwardRef)(YCe);Nie.displayName="Snackbar";var T1=Nie;var Sie=u(me(),1),wie=u(T(),1);var bu=u(F(),1),NCe={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{type:"tween",duration:.3,ease:[0,0,.2,1]},opacity:{type:"tween",duration:.25,delay:.05,ease:[0,0,.2,1]}}},exit:{opacity:0,transition:{type:"tween",duration:.1,ease:[0,0,.2,1]}}};function SCe({notices:e,className:t,children:c,onRemove:n}){let l=(0,wie.useRef)(null),o=(0,Sie.useReducedMotion)();t=w("components-snackbar-list",t);let d=i=>()=>n?.(i.id);return(0,bu.jsxs)("div",{className:t,tabIndex:-1,ref:l,"data-testid":"snackbar-list",children:[c,(0,bu.jsx)(sm,{children:e.map(i=>{let{content:r,...a}=i;return(0,bu.jsx)(oa.div,{layout:o?!1:"position",style:{width:"100%"},initial:"init",animate:"open",exit:"exit",variants:o?void 0:NCe,children:(0,bu.jsx)("div",{className:"components-snackbar-list__notice-container",children:(0,bu.jsx)(T1,{...a,onRemove:d(i),listRef:l,children:i.content})})},i.id)})})]})}var kie=SCe;var zie=u(Xt(),1);function wCe(e,t){return(0,zie.default)("wp.components.__experimentalScrollable",{since:"7.2",version:"7.4"}),oJ(e,t)}var kCe=ie(wCe,"Scrollable"),Tie=kCe;var Hi=u(T(),1),A1=u(me(),1),Oie=u(Ze(),1);var uu=u(F(),1),Aie=e=>{if(!(typeof e>"u"||e===null))return e.match(/^tab-panel-[0-9]*-(.*)/)?.[1]},zCe=({className:e,children:t,tabs:c,selectOnMove:n=!0,initialTabName:l,orientation:o="horizontal",activeClass:d="is-active",onSelect:i},r)=>{let a=(0,A1.useInstanceId)(wS,"tab-panel"),s=(0,Hi.useCallback)(x=>{if(!(typeof x>"u"))return`${a}-${x}`},[a]),b=Ou({setSelectedId:x=>{if(typeof x>"u"||x===null)return;let H=c.find(R=>s(R.name)===x);if(H?.disabled||H===G)return;let p=Aie(x);typeof p>"u"||i?.(p)},orientation:o,selectOnMove:n,defaultSelectedId:s(l),rtl:(0,Oie.isRTL)()}),m=Aie($(b,"selectedId")),X=(0,Hi.useCallback)(x=>{b.setState("selectedId",s(x))},[s,b]),G=c.find(({name:x})=>x===m),g=(0,A1.usePrevious)(m);return(0,Hi.useEffect)(()=>{g!==m&&m===l&&m&&i?.(m)},[m,l,i,g]),(0,Hi.useLayoutEffect)(()=>{if(G)return;let x=c.find(H=>H.name===l);if(!(l&&!x))if(x&&!x.disabled)X(x.name);else{let H=c.find(p=>!p.disabled);H&&X(H.name)}},[c,G,l,a,X]),(0,Hi.useEffect)(()=>{if(!G?.disabled)return;let x=c.find(H=>!H.disabled);x&&X(x.name)},[c,G?.disabled,X,a]),(0,uu.jsxs)("div",{className:e,ref:r,children:[(0,uu.jsx)(wu,{store:b,className:"components-tab-panel__tabs",children:c.map(x=>(0,uu.jsx)(Nu,{id:s(x.name),className:w("components-tab-panel__tabs-item",x.className,{[d]:x.name===m}),disabled:x.disabled,"aria-controls":`${s(x.name)}-view`,render:(0,uu.jsx)(be,{__next40pxDefaultSize:!0,icon:x.icon,label:x.icon&&x.title,showTooltip:!!x.icon}),children:!x.icon&&x.title},x.name))}),G&&(0,uu.jsx)(zu,{id:`${s(G.name)}-view`,store:b,tabId:s(G.name),className:"components-tab-panel__tab-content",children:t(G)})]})},wS=(0,Hi.forwardRef)(zCe);wS.displayName="TabPanel";var Qie=wS;var Uie=u(me(),1),Eie=u(T(),1);var kS=u(F(),1);function TCe(e,t){let{__nextHasNoMarginBottom:c,__next40pxDefaultSize:n,label:l,hideLabelFromVision:o,value:d,help:i,id:r,className:a,onChange:s,type:b="text",...m}=e,X=(0,Uie.useInstanceId)(zS,"inspector-text-control",r);return(0,kS.jsx)(at,{label:l,hideLabelFromVision:o,id:X,help:i,className:a,children:(0,kS.jsx)("input",{className:"components-text-control__input",type:b,id:X,value:d,onChange:g=>s(g.target.value),"aria-describedby":i?X+"__help":void 0,ref:t,...m})})}var zS=(0,Eie.forwardRef)(TCe);zS.displayName="TextControl";var Lie=zS;var Die=u(me(),1),_ie=u(T(),1);var AS=u(F(),1),TS="data-wp-hash";function OS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&OCe(document)),e.__wpStyleRuntime}function ACe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${TS}]`))if(c.getAttribute(TS)===t)return!0;return!1}function jie(e,t,c){if(!e.head)return;let n=OS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(ACe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(TS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function OCe(e){let t=OS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)jie(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function QCe(e,t){let c=OS();c.styles.set(e,t);for(let n of c.documents.keys())jie(n,e,t)}typeof process>"u",QCe("6bf0085cf4",".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]){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 UCe={textarea:"aa08a6e706634925__textarea"};function ECe(e,t){let{__nextHasNoMarginBottom:c,label:n,hideLabelFromVision:l,value:o,help:d,onChange:i,rows:r=4,className:a,...s}=e,m=`inspector-textarea-control-${(0,Die.useInstanceId)(QS)}`,X=g=>i(g.target.value),G=w("components-textarea-control",a);return(0,AS.jsx)(at,{label:n,hideLabelFromVision:l,id:m,help:d,className:G,children:(0,AS.jsx)("textarea",{className:w("components-textarea-control__input",UCe.textarea),id:m,rows:r,onChange:X,"aria-describedby":d?m+"__help":void 0,value:o,ref:t,...s})})}var QS=(0,_ie.forwardRef)(ECe);QS.displayName="TextareaControl";var O1=QS;var Mie=u(T(),1);var $p=u(F(),1),Pie=e=>{let{text:t="",highlight:c=""}=e,n=c.trim();if(!n)return(0,$p.jsx)($p.Fragment,{children:t});let l=new RegExp(`(${gb(n)})`,"gi");return(0,Mie.createInterpolateElement)(t.replace(l,"<mark>$&</mark>"),{mark:(0,$p.jsx)("mark",{})})};Pie.displayName="TextHighlight";var Kie=Pie;var eR=u(F(),1);function LCe(e){let{children:t}=e;return(0,eR.jsxs)("div",{className:"components-tip",children:[(0,eR.jsx)(Kc,{icon:wV}),(0,eR.jsx)("p",{children:t})]})}var qie=LCe;var $ie=u(T(),1),ere=u(me(),1);var mu=u(F(),1);function DCe({label:e,checked:t,help:c,className:n,onChange:l,disabled:o,__nextHasNoMarginBottom:d,...i},r){function a(G){l(G.target.checked)}let b=`inspector-toggle-control-${(0,ere.useInstanceId)(US)}`,m,X;return c&&(typeof c=="function"?t!==void 0&&(X=c(t)):X=c,X&&(m=b+"__help")),(0,mu.jsx)(at,{id:b,help:X&&(0,mu.jsx)("span",{className:"components-toggle-control__help",children:X}),className:w("components-toggle-control",n),children:(0,mu.jsxs)(xt,{justify:"flex-start",spacing:2,children:[(0,mu.jsx)(n1,{id:b,checked:t,onChange:a,"aria-describedby":m,disabled:o,ref:r,...i}),(0,mu.jsx)(Pn,{as:"label",htmlFor:b,className:w("components-toggle-control__label",{"is-disabled":o}),children:e})]})})}var US=(0,$ie.forwardRef)(DCe);US.displayName="ToggleControl";var tre=US;var D1=u(T(),1),xre=u(Xt(),1);var ure=u(T(),1);var E1=u(T(),1);var U1=u(T(),1),yLt=u(En(),1);var cre=u(T(),1),nre=(0,cre.createContext)(void 0);nre.displayName="ToolbarContext";var rl=nre;var Q1=u(F(),1);function _Ce({children:e,as:t,...c},n){let l=(0,U1.useContext)(rl),o=typeof e=="function";if(!o&&!t)return null;let d={...c,ref:n,"data-toolbar-item":!0};return l?(0,Q1.jsx)(lH,{accessibleWhenDisabled:!0,...d,store:l,render:o?e:t&&(0,Q1.jsx)(t,{children:e})}):t?(0,Q1.jsx)(t,{...d,children:e}):o?e(d):null}var lre=(0,U1.forwardRef)(_Ce);lre.displayName="ToolbarItem";var Yr=lre;var ore=u(F(),1),jCe=({children:e,className:t})=>(0,ore.jsx)("div",{className:t,children:e}),dre=jCe;var tR=u(F(),1);function MCe({isDisabled:e,...t}){return{disabled:e,...t}}function PCe(e,t){let{children:c,className:n,containerClassName:l,extraProps:o,isActive:d,title:i,...r}=MCe(e);return(0,E1.useContext)(rl)?(0,tR.jsx)(Yr,{className:w("components-toolbar-button",n),...o,...r,ref:t,children:s=>(0,tR.jsx)(be,{size:"compact",label:i,isPressed:d,...s,children:c})}):(0,tR.jsx)(dre,{className:l,children:(0,tR.jsx)(be,{ref:t,icon:r.icon,size:"compact",label:i,shortcut:r.shortcut,"data-subscript":r.subscript,onClick:s=>{s.stopPropagation(),r.onClick&&r.onClick(s)},className:w("components-toolbar__control",n),isPressed:d,accessibleWhenDisabled:!0,"data-toolbar-item":!0,...o,...r,children:c})})}var ire=(0,E1.forwardRef)(PCe);ire.displayName="ToolbarButton";var cR=ire;var rre=u(F(),1),KCe=({className:e,children:t,...c})=>(0,rre.jsx)("div",{className:e,...c,children:t}),are=KCe;var sre=u(T(),1);var ES=u(F(),1);function qCe({controls:e=[],toggleProps:t,...c}){let n=(0,sre.useContext)(rl),l=o=>(0,ES.jsx)(hr,{controls:e,toggleProps:{...o,"data-toolbar-item":!0},...c});return n?(0,ES.jsx)(Yr,{...t,children:l}):l(t)}var bre=qCe;var nR=u(F(),1);function $Ce(e){return Array.isArray(e)&&Array.isArray(e[0])}function eFe({controls:e=[],children:t,className:c,isCollapsed:n,title:l,...o}){let d=(0,ure.useContext)(rl);if((!e||!e.length)&&!t)return null;let i=w(d?"components-toolbar-group":"components-toolbar",c),r;return $Ce(e)?r=e:r=[e],n?(0,nR.jsx)(bre,{label:l,controls:r,className:i,children:t,...o}):(0,nR.jsxs)(are,{className:i,...o,children:[r?.flatMap((a,s)=>a.map((b,m)=>(0,nR.jsx)(cR,{containerClassName:s>0&&m===0?"has-left-divider":void 0,...b},[s,m].join()))),t]})}var lR=eFe;var mre=u(T(),1),Xre=u(Ze(),1);var LS=u(F(),1);function tFe({label:e,...t},c){let n=Qu({focusLoop:!0,rtl:(0,Xre.isRTL)()});return(0,LS.jsx)(rl.Provider,{value:n,children:(0,LS.jsx)(nH,{ref:c,"aria-label":e,store:n,...t})})}var Gre=(0,mre.forwardRef)(tFe);Gre.displayName="ToolbarContainer";var gre=Gre;var L1=u(F(),1);function cFe({className:e,label:t,variant:c,...n},l){let o=c!==void 0,d=(0,D1.useMemo)(()=>o?{}:{DropdownMenu:{variant:"toolbar"},Dropdown:{variant:"toolbar"},Menu:{variant:"toolbar"}},[o]);if(!t){(0,xre.default)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"});let{title:r,...a}=n;return(0,L1.jsx)(lR,{isCollapsed:!1,...a,className:e})}let i=w("components-accessible-toolbar",e,c&&`is-${c}`);return(0,L1.jsx)(ib,{value:d,children:(0,L1.jsx)(gre,{className:i,label:t,ref:l,...n})})}var pre=(0,D1.forwardRef)(cFe);pre.displayName="Toolbar";var DS=pre;var j1=u(T(),1);var _1=u(F(),1);function nFe(e,t){return(0,j1.useContext)(rl)?(0,_1.jsx)(Yr,{ref:t,...e.toggleProps,children:n=>(0,_1.jsx)(hr,{...e,popoverProps:{...e.popoverProps},toggleProps:n})}):(0,_1.jsx)(hr,{...e})}var Rre=(0,j1.forwardRef)(nFe);Rre.displayName="ToolbarDropdownMenu";var _S=Rre;var dR=u(Md(),1);var Bc=u(Ze(),1);var M1=u(T(),1),oR=()=>{},Xu=(0,M1.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:oR,deregisterPanelItem:oR,flagItemCustomization:oR,registerResetAllFilter:oR,deregisterResetAllFilter:oR,areAllOptionalControlsHidden:!0});Xu.displayName="ToolsPanelContext";var P1=()=>(0,M1.useContext)(Xu);var jS="data-wp-hash";function MS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&oFe(document)),e.__wpStyleRuntime}function lFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${jS}]`))if(c.getAttribute(jS)===t)return!0;return!1}function Hre(e,t,c){if(!e.head)return;let n=MS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(lFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(jS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function oFe(e){let t=MS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Hre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function dFe(e,t){let c=MS();c.styles.set(e,t);for(let n of c.documents.keys())Hre(n,e,t)}typeof process>"u",dFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var K1={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"};function Ire(e){let{className:t,headingLevel:c=2,...n}=ae(e,"ToolsPanelHeader"),{menuItems:l,hasMenuItems:o,areAllOptionalControlsHidden:d}=P1();return{...n,areAllOptionalControlsHidden:d,defaultControlsItemClassName:K1["default-controls-item"],dropdownMenuClassName:K1["dropdown-menu"],hasMenuItems:o,headingClassName:K1["tools-panel-heading"],headingLevel:c,menuItems:l,className:w(K1["tools-panel-header"],t)}}var hc=u(F(),1),PS="data-wp-hash";function KS(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rFe(document)),e.__wpStyleRuntime}function iFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${PS}]`))if(c.getAttribute(PS)===t)return!0;return!1}function Zre(e,t,c){if(!e.head)return;let n=KS(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(iFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(PS,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function rFe(e){let t=KS();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Zre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function aFe(e,t){let c=KS();c.styles.set(e,t);for(let n of c.documents.keys())Zre(n,e,t)}typeof process>"u",aFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var sFe={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"},bFe=({itemClassName:e,items:t,toggleItem:c})=>{if(!t.length)return null;let n=(0,hc.jsx)("span",{"aria-hidden":!0,className:sFe["reset-label"],children:(0,Bc.__)("Reset")});return(0,hc.jsx)(hc.Fragment,{children:t.map(([l,o])=>o?(0,hc.jsx)(Vr,{className:e,role:"menuitem",label:(0,Bc.sprintf)((0,Bc.__)("Reset %s"),l),onClick:()=>{c(l),(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s reset to default"),l),"assertive")},suffix:n,children:l},l):(0,hc.jsx)(Vr,{icon:qc,className:e,role:"menuitemcheckbox",isSelected:!0,"aria-disabled":!0,children:l},l))})},uFe=({items:e,toggleItem:t})=>e.length?(0,hc.jsx)(hc.Fragment,{children:e.map(([c,n])=>{let l=n?(0,Bc.sprintf)((0,Bc.__)("Hide and reset %s"),c):(0,Bc.sprintf)((0,Bc._x)("Show %s","input control"),c);return(0,hc.jsx)(Vr,{icon:n?qc:null,isSelected:n,label:l,onClick:()=>{n?(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s hidden and reset to default"),c),"assertive"):(0,dR.speak)((0,Bc.sprintf)((0,Bc.__)("%s is now visible"),c),"assertive"),t(c)},role:"menuitemcheckbox",children:c},c)})}):null,mFe=(e,t)=>{let{areAllOptionalControlsHidden:c,defaultControlsItemClassName:n,dropdownMenuClassName:l,hasMenuItems:o,headingClassName:d,headingLevel:i=2,label:r,menuItems:a,resetAll:s,toggleItem:b,dropdownMenuProps:m,...X}=Ire(e);if(!r)return null;let G=Object.entries(a?.default||{}),g=Object.entries(a?.optional||{}),x=c?Mi:Pg,H=(0,Bc.sprintf)((0,Bc._x)("%s options","Button label to reveal tool panel options"),r),p=c?(0,Bc.__)("All options are currently hidden"):void 0,R=[...G,...g].some(([,I])=>I);return(0,hc.jsxs)(xt,{...X,ref:t,children:[(0,hc.jsx)(Ol,{level:i,className:d,children:r}),o&&(0,hc.jsx)(hr,{...m,icon:x,label:H,menuProps:{className:l},toggleProps:{size:"small",description:p},children:()=>(0,hc.jsxs)(hc.Fragment,{children:[(0,hc.jsxs)(_p,{label:r,children:[(0,hc.jsx)(bFe,{items:G,toggleItem:b,itemClassName:n}),(0,hc.jsx)(uFe,{items:g,toggleItem:b})]}),(0,hc.jsx)(_p,{children:(0,hc.jsx)(Vr,{"aria-disabled":!R,variant:"tertiary",onClick:()=>{R&&(s(),(0,dR.speak)((0,Bc.__)("All options reset"),"assertive"))},children:(0,Bc.__)("Reset all")})})]})})]})},XFe=ie(mFe,"ToolsPanelHeader"),qS=XFe;var wc=u(T(),1);var ew="data-wp-hash";function tw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gFe(document)),e.__wpStyleRuntime}function GFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${ew}]`))if(c.getAttribute(ew)===t)return!0;return!1}function yre(e,t,c){if(!e.head)return;let n=tw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(GFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(ew,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function gFe(e){let t=tw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)yre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function xFe(e,t){let c=tw();c.styles.set(e,t);for(let n of c.documents.keys())yre(n,e,t)}typeof process>"u",xFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var $S={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"};function pFe(){return{panelItems:[],menuItemOrder:[],menuItemValues:{}}}var Wre=e=>e.hasValue()||!e.isShownByDefault&&!!e.defaultShown,RFe=e=>e.isShownByDefault?"default":"optional";function HFe(e,t){switch(t.type){case"REGISTER_PANEL":{let c=e.findIndex(l=>l.label===t.item.label),n=[...e];return c!==-1&&n.splice(c,1),n.push(t.item),n}case"UNREGISTER_PANEL":{let c=e.findIndex(l=>l.label===t.label);if(c===-1||t.item&&e[c]!==t.item)return e;let n=[...e];return n.splice(c,1),n}default:return e}}function IFe(e,t){return t.type==="REGISTER_PANEL"?e.includes(t.item.label)?e:[...e,t.item.label]:e}function ZFe(e,t){let c=e.menuItemValues;switch(t.type){case"REGISTER_PANEL":{if(!c.hasOwnProperty(t.item.label))return c;let{[t.item.label]:n,...l}=c;return l}case"UPDATE_VALUE":return c[t.label]===t.value?c:{...c,[t.label]:t.value};case"TOGGLE_VALUE":{let n=e.panelItems.find(({label:o})=>o===t.label);if(!n)return c;let l=c[t.label]??Wre(n);return{...c,[t.label]:!l}}case"RESET_ALL":{let n=e.panelItems.filter(o=>!o.isShownByDefault&&c[o.label]!==!1);if(!n.length)return c;let l={...c};return n.forEach(({label:o})=>{l[o]=!1}),l}default:return c}}function fFe(e,t){let c=HFe(e.panelItems,t),n=IFe(e.menuItemOrder,t),l=ZFe({...e,panelItems:c},t);return c===e.panelItems&&n===e.menuItemOrder&&l===e.menuItemValues?e:{panelItems:c,menuItemOrder:n,menuItemValues:l}}function yFe(e,t){switch(t.type){case"REGISTER":return[...e,t.filter];case"UNREGISTER":return e.filter(c=>c!==t.filter);default:return e}}var fre=e=>Object.keys(e).length===0;function hre(e){let{className:t,headingLevel:c=2,resetAll:n,panelId:l,hasInnerWrapper:o=!1,shouldRenderPlaceholderItems:d=!1,__experimentalFirstVisibleItemClass:i,__experimentalLastVisibleItemClass:r,...a}=ae(e,"ToolsPanel"),[s,b]=(0,wc.useState)(!1);(0,wc.useEffect)(()=>{s&&b(!1)},[s]);let[{panelItems:m,menuItemOrder:X,menuItemValues:G},g]=(0,wc.useReducer)(fFe,void 0,pFe),[x,H]=(0,wc.useReducer)(yFe,[]),p=(0,wc.useCallback)(N=>{g({type:"REGISTER_PANEL",item:N})},[]),R=(0,wc.useCallback)((N,A)=>{g({type:"UNREGISTER_PANEL",label:N,item:A})},[]),I=(0,wc.useCallback)(N=>{H({type:"REGISTER",filter:N})},[]),f=(0,wc.useCallback)(N=>{H({type:"UNREGISTER",filter:N})},[]),y=(0,wc.useCallback)((N,A)=>{g({type:"UPDATE_VALUE",label:A,value:N})},[]),Z=(0,wc.useMemo)(()=>{let N={default:{},optional:{}},A=new Map(m.map(Q=>[Q.label,Q]));return X.forEach(Q=>{let z=A.get(Q);z&&(N[RFe(z)][Q]=G[Q]??Wre(z))}),N},[m,X,G]),W=(0,wc.useMemo)(()=>fre(Z.default)&&!fre(Z.optional)&&Object.values(Z.optional).every(N=>!N),[Z]),v=w($S["tools-panel"],o&&$S["tools-panel-with-inner-wrapper"],W&&$S["tools-panel-hidden-inner-wrapper"],t),h=(0,wc.useCallback)(N=>{let A=m.find(Q=>Q.label===N);A&&(g({type:"TOGGLE_VALUE",label:N}),!A.isShownByDefault&&A.onShownChange?.(!Z.optional[N]))},[Z,m]),C=(0,wc.useMemo)(()=>[...m.map(A=>A.resetAllFilter).filter(A=>!!A),...x],[m,x]),B=(0,wc.useCallback)(()=>{typeof n=="function"&&(b(!0),n(C)),g({type:"RESET_ALL"})},[C,n]),V=N=>{let A=Z.optional||{};return N.find(z=>z.isShownByDefault||A[z.label])?.label},S=V(m),Y=V([...m].reverse()),J=m.length>0,k=(0,wc.useMemo)(()=>({areAllOptionalControlsHidden:W,deregisterPanelItem:R,deregisterResetAllFilter:f,firstDisplayedItem:S,flagItemCustomization:y,hasMenuItems:J,isResetting:s,lastDisplayedItem:Y,menuItems:Z,panelId:l,registerPanelItem:p,registerResetAllFilter:I,shouldRenderPlaceholderItems:d,__experimentalFirstVisibleItemClass:i,__experimentalLastVisibleItemClass:r}),[W,R,f,S,y,s,Y,Z,l,J,I,p,d,i,r]);return{...a,headingLevel:c,panelContext:k,resetAllItems:B,toggleItem:h,className:v}}var iR=u(F(),1),Bre=K(4),WFe=(e,t)=>{let{children:c,label:n,panelContext:l,resetAllItems:o,toggleItem:d,headingLevel:i,dropdownMenuProps:r,...a}=hre(e);return(0,iR.jsx)(cd,{...a,columns:2,gap:4,columnGap:Bre,rowGap:Bre,templateColumns:"repeat( 2, minmax(0, 1fr) )",ref:t,children:(0,iR.jsxs)(Xu.Provider,{value:l,children:[(0,iR.jsx)(qS,{label:n,resetAll:o,toggleItem:d,headingLevel:i,dropdownMenuProps:r}),c]})})},hFe=ie(WFe,"ToolsPanel"),q1=hFe;var cw=u(me(),1),Rd=u(T(),1);var nw="data-wp-hash";function lw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&vFe(document)),e.__wpStyleRuntime}function BFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${nw}]`))if(c.getAttribute(nw)===t)return!0;return!1}function Vre(e,t,c){if(!e.head)return;let n=lw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(BFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(nw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function vFe(e){let t=lw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Vre(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function VFe(e,t){let c=lw();c.styles.set(e,t);for(let n of c.documents.keys())Vre(n,e,t)}typeof process>"u",VFe("29b739f451","._62d714739f4dc308__tools-panel{border-top:1px solid #ddd;margin-top:-1px;padding:16px}._40db7f4f897b683d__tools-panel-with-inner-wrapper>div:not(:first-of-type){column-gap:16px;display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}._95a15674966f30a3__tools-panel-hidden-inner-wrapper>div:not(:first-of-type){display:none}._322a049b9b7d8674__tools-panel-header{gap:8px;grid-column:1/-1}._322a049b9b7d8674__tools-panel-header .components-dropdown-menu{line-height:0;margin:-4px 0}._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header._322a049b9b7d8674__tools-panel-header .components-dropdown-menu__toggle{min-width:24px;padding:0}.b92a382d3b30104d__tools-panel-heading.b92a382d3b30104d__tools-panel-heading{font-size:inherit;line-height:normal;margin:0}._8005d68fffa9db91__tools-panel-item{grid-column:1/-1}._8005d68fffa9db91__tools-panel-item>div,._8005d68fffa9db91__tools-panel-item>fieldset{margin-bottom:0;max-width:100%;padding-bottom:0}._8005d68fffa9db91__tools-panel-item .components-base-control__help,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control,._8005d68fffa9db91__tools-panel-item._8005d68fffa9db91__tools-panel-item .components-base-control .components-base-control__field:last-child{margin-bottom:0}._4f55e1a6e373746e__tools-panel-item-placeholder{display:none}.d40032517bff9e12__dropdown-menu{min-width:200px}.f135b96aa96ca6bb__reset-label{color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#2145e6));font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:1.4;margin-inline-start:12px;text-transform:uppercase}._69b138dfa5570d9c__default-controls-item{color:#1e1e1e}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]{color:#757575;opacity:1}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true]:hover{color:#757575}._69b138dfa5570d9c__default-controls-item._69b138dfa5570d9c__default-controls-item[aria-disabled=true] .f135b96aa96ca6bb__reset-label{opacity:.3}");var vre={"tools-panel":"_62d714739f4dc308__tools-panel","tools-panel-with-inner-wrapper":"_40db7f4f897b683d__tools-panel-with-inner-wrapper","tools-panel-hidden-inner-wrapper":"_95a15674966f30a3__tools-panel-hidden-inner-wrapper","tools-panel-header":"_322a049b9b7d8674__tools-panel-header","tools-panel-heading":"b92a382d3b30104d__tools-panel-heading","tools-panel-item":"_8005d68fffa9db91__tools-panel-item","tools-panel-item-placeholder":"_4f55e1a6e373746e__tools-panel-item-placeholder","dropdown-menu":"d40032517bff9e12__dropdown-menu","reset-label":"f135b96aa96ca6bb__reset-label","default-controls-item":"_69b138dfa5570d9c__default-controls-item"},CFe=()=>{};function Cre(e){let{className:t,defaultShown:c,hasValue:n,isShownByDefault:l=!1,label:o,panelId:d,resetAllFilter:i=CFe,onDeselect:r,onSelect:a,onShownChange:s,...b}=ae(e,"ToolsPanelItem"),{panelId:m,menuItems:X,registerPanelItem:G,deregisterPanelItem:g,flagItemCustomization:x,isResetting:H,shouldRenderPlaceholderItems:p,firstDisplayedItem:R,lastDisplayedItem:I,__experimentalFirstVisibleItemClass:f,__experimentalLastVisibleItemClass:y}=P1(),Z=(0,Rd.useCallback)(n,[d]),W=(0,cw.useEvent)(i),v=(0,Rd.useRef)(c);(0,Rd.useLayoutEffect)(()=>{v.current=c});let h=(0,cw.useEvent)(s),C=m===d||m===null;(0,Rd.useLayoutEffect)(()=>{if(!C)return;let Q={defaultShown:v.current,hasValue:Z,isShownByDefault:l,label:o,onShownChange:h,panelId:d,resetAllFilter:W};return G(Q),()=>{g(o,Q)}},[g,C,Z,l,o,h,d,G,W]);let V=X?.[l?"default":"optional"]?.[o],S=V!==void 0,Y=(0,Rd.useRef)(void 0),J=n();(0,Rd.useLayoutEffect)(()=>{!C||!l&&!J||x(J,o)},[C,J,o,x,l]),(0,Rd.useEffect)(()=>{let Q=Y.current;Y.current=V,!(!S||!(Q!==void 0)||H||!C)&&(V&&!J&&!Q&&a?.(),!V&&J&&Q&&r?.())},[C,V,S,H,J,a,r]);let k=l?S:V,N=p&&!k,A=w(vre["tools-panel-item"],N&&vre["tools-panel-item-placeholder"],!N&&t,R===o&&f,I===o&&y);return{...b,isShown:k,shouldRenderPlaceholder:p,className:A}}var ow=u(F(),1),FFe=(e,t)=>{let{children:c,isShown:n,shouldRenderPlaceholder:l,...o}=Cre(e);return n?(0,ow.jsx)(Ce,{...o,ref:t,children:c}):l?(0,ow.jsx)(Ce,{...o,ref:t}):null},JFe=ie(FFe,"ToolsPanelItem"),$1=JFe;var _re=u(gX(),1),dB=u(T(),1),dc=u(Xa(),1);var tB=u(T(),1);var eB=u(T(),1),dw=(0,eB.createContext)(void 0);dw.displayName="RovingTabIndexContext";var Fre=()=>(0,eB.useContext)(dw),Jre=dw.Provider;var Yre=u(F(),1);function Nre({children:e}){let[t,c]=(0,tB.useState)(),n=(0,tB.useMemo)(()=>({lastFocusedElement:t,setLastFocusedElement:c}),[t]);return(0,Yre.jsx)(Jre,{value:n,children:e})}var bR=u(F(),1);var kre=u(me(),1),nB=u(T(),1);var Sre=u(T(),1),iw='tr:not([role]), [role="row"]',rw='[role="treegrid"]';function wre(e){if(!e.id)return[];let t=e.id.replaceAll("\\","\\\\").replaceAll('"','\\"');return Array.from(e.ownerDocument.querySelectorAll(`[aria-owns~="${t}"]`))}function rR(e,t,c=new Set){return c.has(e)?!1:(c.add(e),e.parentElement?.closest(t)||wre(e).some(l=>l.matches(t)||rR(l,t,c))?!0:e.parentElement?rR(e.parentElement,t,c):!1)}function aw(e,t=new Set){return t.has(e)?!1:(t.add(e),wre(e).some(n=>{let l=n.matches(iw)?n:n.closest(iw);return l?rR(l,rw):aw(n,t)})?!0:e.parentElement?aw(e.parentElement,t):!1)}function cB(e,t){(0,Sre.useEffect)(()=>{let c=t.current;if(!c)return;let n=c.parentElement?.closest(iw);if(!(e==="TreeGridRow"?rR(c,rw):n&&rR(n,rw)||aw(c)))throw new Error(e==="TreeGridRow"?'TreeGridRow must be rendered inside an element with role="treegrid".':'TreeGridCell must be rendered as a cell in a row that belongs to an element with role="treegrid".')},[e,t])}var zre=u(F(),1);function YFe({children:e,level:t,positionInSet:c,setSize:n,isExpanded:l,...o},d){let i=(0,nB.useRef)(null),r=(0,kre.useMergeRefs)([i,d]);return cB("TreeGridRow",i),(0,zre.jsx)("tr",{...o,ref:r,role:"row","aria-level":t,"aria-posinset":c,"aria-setsize":n,"aria-expanded":l,children:e})}var Tre=(0,nB.forwardRef)(YFe);Tre.displayName="TreeGridRow";var sw=Tre;var oB=u(T(),1);var Ure=u(T(),1);var lB=u(T(),1);var Are=u(F(),1),Ore=(0,lB.forwardRef)(function({children:t,as:c,...n},l){let o=(0,lB.useRef)(null),d=l||o,i=Fre();if(!i)throw new Error("TreeGridItem can only be rendered inside a TreeGrid component.");let{lastFocusedElement:r,setLastFocusedElement:a}=i,s;r&&(s=r===("current"in d?d.current:void 0)?0:-1);let m={ref:d,tabIndex:s,onFocus:X=>a?.(X.target),...n};return typeof t=="function"?t(m):c?(0,Are.jsx)(c,{...m,children:t}):null});Ore.displayName="RovingTabIndexItem";var Qre=Ore;var Ere=u(F(),1);function NFe({children:e,...t},c){return(0,Ere.jsx)(Qre,{ref:c,...t,children:e})}var Lre=(0,Ure.forwardRef)(NFe);Lre.displayName="TreeGridItem";var aR=Lre;var kX=u(F(),1);function SFe({children:e,withoutGridItem:t=!1,...c},n){let l=(0,oB.useRef)(null);return cB("TreeGridCell",l),(0,kX.jsx)("td",{ref:l,...c,role:"gridcell",children:t?(0,kX.jsx)(kX.Fragment,{children:typeof e=="function"?e({...c,ref:n}):e}):(0,kX.jsx)(aR,{ref:n,children:e})})}var Dre=(0,oB.forwardRef)(SFe);Dre.displayName="TreeGridCell";var bw=Dre;function sR(e){return _re.focus.focusable.find(e,{sequential:!0}).filter(c=>c.closest('[role="row"]')===e)}function wFe({children:e,onExpandRow:t=()=>{},onCollapseRow:c=()=>{},onFocusRow:n=()=>{},applicationAriaLabel:l,...o},d){let i=(0,dB.useCallback)(r=>{let{keyCode:a,metaKey:s,ctrlKey:b,altKey:m}=r;if(s||b||m||![dc.UP,dc.DOWN,dc.LEFT,dc.RIGHT,dc.HOME,dc.END].includes(a))return;r.stopPropagation();let{activeElement:G}=document,{currentTarget:g}=r;if(!G||!g.contains(G))return;let x=G.closest('[role="row"]');if(!x)return;let H=sR(x),p=H.indexOf(G),R=p===0,I=R&&(x.getAttribute("data-expanded")==="false"||x.getAttribute("aria-expanded")==="false")&&a===dc.RIGHT;if([dc.LEFT,dc.RIGHT].includes(a)){let f;if(a===dc.LEFT?f=Math.max(0,p-1):f=Math.min(p+1,H.length-1),R){if(a===dc.LEFT){if(x.getAttribute("data-expanded")==="true"||x.getAttribute("aria-expanded")==="true"){c(x),r.preventDefault();return}let y=Math.max(parseInt(x?.getAttribute("aria-level")??"1",10)-1,1),Z=Array.from(g.querySelectorAll('[role="row"]')),W=x,v=Z.indexOf(x);for(let h=v;h>=0;h--){let C=Z[h].getAttribute("aria-level");if(C!==null&&parseInt(C,10)===y){W=Z[h];break}}sR(W)?.[0]?.focus()}if(a===dc.RIGHT){if(x.getAttribute("data-expanded")==="false"||x.getAttribute("aria-expanded")==="false"){t(x),r.preventDefault();return}let y=sR(x);y.length>0&&y[f]?.focus()}r.preventDefault();return}if(I)return;H[f].focus(),r.preventDefault()}else if([dc.UP,dc.DOWN].includes(a)){let f=Array.from(g.querySelectorAll('[role="row"]')),y=f.indexOf(x),Z;if(a===dc.UP?Z=Math.max(0,y-1):Z=Math.min(y+1,f.length-1),Z===y){r.preventDefault();return}let W=sR(f[Z]);if(!W||!W.length){r.preventDefault();return}let v=Math.min(p,W.length-1);W[v].focus(),n(r,x,f[Z]),r.preventDefault()}else if([dc.HOME,dc.END].includes(a)){let f=Array.from(g.querySelectorAll('[role="row"]')),y=f.indexOf(x),Z;if(a===dc.HOME?Z=0:Z=f.length-1,Z===y){r.preventDefault();return}let W=sR(f[Z]);if(!W||!W.length){r.preventDefault();return}let v=Math.min(p,W.length-1);W[v].focus(),n(r,x,f[Z]),r.preventDefault()}},[t,c,n]);return(0,bR.jsx)(Nre,{children:(0,bR.jsx)("div",{role:"application","aria-label":l,children:(0,bR.jsx)("table",{...o,role:"treegrid",onKeyDown:i,ref:d,children:(0,bR.jsx)("tbody",{children:e})})})})}var jre=(0,dB.forwardRef)(wFe);jre.displayName="TreeGrid";var Mre=jre;var Pre=u(T(),1),Kre=u(Xt(),1),qre=u(F(),1);function kFe(e){e.stopPropagation()}var zFe=(0,Pre.forwardRef)((e,t)=>((0,Kre.default)("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,qre.jsx)("div",{...e,ref:t,onMouseDown:kFe}))),$re=zFe;var eae=u(Xt(),1),tae=u(T(),1);var Xw=u(F(),1),mw="data-wp-hash";function Gw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&AFe(document)),e.__wpStyleRuntime}function TFe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${mw}]`))if(c.getAttribute(mw)===t)return!0;return!1}function cae(e,t,c){if(!e.head)return;let n=Gw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(TFe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(mw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function AFe(e){let t=Gw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)cae(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function OFe(e,t){let c=Gw();c.styles.set(e,t);for(let n of c.documents.keys())cae(n,e,t)}typeof process>"u",OFe("a90faa8747","._5b8fef2247903a5f__z-stack{display:inline-grid;grid-auto-flow:column;position:relative}._5b8fef2247903a5f__z-stack>._585cd0b86fd70a54__child{justify-self:start;position:relative}._93dbda3c809633d5__layered>._585cd0b86fd70a54__child{grid-column-start:1;grid-row-start:1}._585cd0b86fd70a54__child{z-index:var(--z-stack-z-index,auto)}._585cd0b86fd70a54__child:not(:first-of-type){margin-inline-start:var(--z-stack-offset,0)}");var uw={"z-stack":"_5b8fef2247903a5f__z-stack",child:"_585cd0b86fd70a54__child",layered:"_93dbda3c809633d5__layered"};function QFe(e,t){(0,eae.default)("wp.components.__experimentalZStack",{since:"7.2",version:"7.4",alternative:"your own CSS"});let{children:c,className:n,isLayered:l=!0,isReversed:o=!1,offset:d=0,...i}=ae(e,"ZStack"),r=py(c),a=r.length-1,s=r.map((b,m)=>{let X=o?a-m:m,G=l?d*m:d,g=(0,tae.isValidElement)(b)?b.key:m;return(0,Xw.jsx)("div",{className:uw.child,style:{"--z-stack-offset":`${G}px`,"--z-stack-z-index":X},children:b},g)});return(0,Xw.jsx)(Il,{...i,className:w(uw["z-stack"],l&&uw.layered,n),ref:t,children:s})}var UFe=ie(QFe,"ZStack"),gw=UFe;var iB=u(T(),1),zX=u(me(),1),xw=u(Xa(),1),pw=u(F(),1),EFe={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"ctrlShift",character:"~"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function Rw(e=EFe){let t=(0,iB.useRef)(null),[c,n]=(0,iB.useState)(!1);function l(d){let i=Array.from(t.current?.querySelectorAll('[role="region"][tabindex="-1"]')??[]);if(!i.length)return;let r=i[0],a=t.current?.ownerDocument?.activeElement?.closest('[role="region"][tabindex="-1"]'),s=a?i.indexOf(a):-1;if(s!==-1){let b=s+d;b=b===-1?i.length-1:b,b=b===i.length?0:b,r=i[b]}r.focus(),n(!0)}let o=(0,zX.useRefEffect)(d=>{function i(){n(!1)}return d.addEventListener("click",i),()=>{d.removeEventListener("click",i)}},[n]);return{ref:(0,zX.useMergeRefs)([t,o]),className:c?"is-focusing-regions":"",onKeyDown(d){e.previous.some(({modifier:i,character:r})=>xw.isKeyboardEvent[i](d,r))?l(-1):e.next.some(({modifier:i,character:r})=>xw.isKeyboardEvent[i](d,r))&&l(1)}}}var nae=(0,zX.createHigherOrderComponent)(e=>function({shortcuts:c,...n}){return(0,pw.jsx)("div",{...Rw(c),children:(0,pw.jsx)(e,{...n})})},"navigateRegions");var rB=u(me(),1),Hw=u(F(),1),LFe=(0,rB.createHigherOrderComponent)(e=>function(c){let n=(0,rB.useConstrainedTabbing)();return(0,Hw.jsx)("div",{ref:n,tabIndex:-1,children:(0,Hw.jsx)(e,{...c})})},"withConstrainedTabbing"),lae=LFe;var oae=u(Gf(),1),aB=u(T(),1),sB=u(me(),1),bB=u(F(),1),dae=e=>(0,sB.createHigherOrderComponent)(t=>function(n){let[l,o]=(0,aB.useState)(void 0),d=(0,aB.useRef)(null);(0,sB.useIsomorphicLayoutEffect)(()=>{let r=n.node??d.current,a=!!l&&Object.values(l).every(Boolean);if(r&&!a){let s=e(r,n);(0,oae.default)(s,l)||o(s)}});let i=(0,bB.jsx)(t,{...n,...l});return n.node?i:(0,bB.jsxs)("div",{ref:d,children:[" ",i," "]})},"withFallbackStyles");var aae=u(T(),1),Nr=u(rae(),1),uB=u(me(),1),sae=u(F(),1),DFe=16;function bae(e){return(0,uB.createHigherOrderComponent)(t=>{let c="core/with-filters/"+e,n;function l(){n===void 0&&(n=(0,Nr.applyFilters)(e,t))}class o extends aae.Component{constructor(a){super(a),l()}componentDidMount(){o.instances.push(this),o.instances.length===1&&((0,Nr.addAction)("hookRemoved",c,i),(0,Nr.addAction)("hookAdded",c,i))}componentWillUnmount(){o.instances=o.instances.filter(a=>a!==this),o.instances.length===0&&((0,Nr.removeAction)("hookRemoved",c),(0,Nr.removeAction)("hookAdded",c))}render(){return(0,sae.jsx)(n,{...this.props})}}o.instances=[];let d=(0,uB.debounce)(()=>{n=(0,Nr.applyFilters)(e,t),o.instances.forEach(r=>{r.forceUpdate()})},DFe);function i(r){r===e&&d()}return o},"withFilters")}var uae=u(T(),1),mB=u(me(),1),mae=u(Xt(),1),Iw=u(F(),1);function _Fe(e){return e instanceof uae.Component||typeof e=="function"}var Xae=(0,mB.createHigherOrderComponent)(e=>{let t=({onFocusReturn:c}={})=>n=>o=>{let d=(0,mB.useFocusReturn)(c);return(0,Iw.jsx)("div",{ref:d,children:(0,Iw.jsx)(n,{...o})})};if(_Fe(e)){let c=e;return t()(c)}return t(e)},"withFocusReturn"),Gae=({children:e})=>((0,mae.default)("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),e);var TX=u(T(),1),gae=u(me(),1);var XB=u(F(),1),xae=(0,gae.createHigherOrderComponent)(e=>{function t(l,o){let[d,i]=(0,TX.useState)([]),r=(0,TX.useMemo)(()=>{let s=b=>{let m=b.id?b:{...b,id:f0()};i(X=>[...X,m])};return{createNotice:s,createErrorNotice:b=>{s({status:"error",content:b})},removeNotice:b=>{i(m=>m.filter(X=>X.id!==b))},removeAllNotices:()=>{i([])}}},[]),a={...l,noticeList:d,noticeOperations:r,noticeUI:d.length>0&&(0,XB.jsx)(X1,{className:"components-with-notices-ui",notices:d,onRemove:r.removeNotice})};return c?(0,XB.jsx)(e,{...a,ref:o}):(0,XB.jsx)(e,{...a})}let c,{render:n}=e;return typeof n=="function"?(c=!0,(0,TX.forwardRef)(t)):t},"withNotices");var GB=u(me(),1),Zw=u(Md(),1),pae=u(F(),1),Rae=(0,GB.createHigherOrderComponent)(e=>function(c){return(0,pae.jsx)(e,{...c,speak:Zw.speak,debouncedSpeak:(0,GB.useDebounce)(Zw.speak,500)})},"withSpokenMessages");var FB=u(T(),1),jae=u(Ze(),1);var Hae=u(T(),1),_t=(0,Hae.createContext)(void 0);_t.displayName="MenuContext";var pB=u(T(),1);var Iae=K(1),jFe=K(1),fw=K(3),MFe=oe.theme.gray[300],PFe=oe.theme.gray[200],yw=oe.theme.gray[700],KFe=oe.theme.gray[100],Zae=oe.theme.foreground,qFe=`0 0 0 ${de.borderWidth} ${MFe}, ${de.elevationMedium}`,$Fe=`0 0 0 ${de.borderWidth} ${Zae}`,fae="minmax( 0, max-content ) 1fr",Gu=q(iI,{target:"e1wg7tti15"})({name:"1xd6ev0",styles:"position:relative;z-index:1000000;outline:2px solid transparent!important"}),Co=q("div",{target:"e1wg7tti14"})("display:grid;grid-template-columns:",fae,";grid-template-rows:auto;box-sizing:border-box;min-width:160px;max-width:320px;max-height:var( --popover-available-height );padding:",Iae,";overscroll-behavior:contain;overflow:auto;background-color:",oe.ui.background,";border-radius:",de.radiusMedium,";",e=>Re("box-shadow:",e.variant==="toolbar"?$Fe:qFe,";",""),";"),yae=q("div",{target:"e1wg7tti13"})("@media not ( prefers-reduced-motion ){transition-property:transform,opacity;transition-duration:",Vn.SLIDE_DURATION,",",Vn.FADE_DURATION,";transition-timing-function:",Vn.SLIDE_EASING,",",Vn.FADE_EASING,";will-change:transform,opacity;&:not( :has( > ",Co,"[data-submenu] ) ){opacity:0;&:has( > ",Co,"[data-enter] ){opacity:1;}&:has( > ",Co,`[data-side='bottom'] ){transform:translateY( | |
| 139 | + -`,Vn.SLIDE_DISTANCE,` | |
| 140 | + );}&:has( > `,Co,`[data-side='top'] ){transform:translateY( | |
| 141 | + `,Vn.SLIDE_DISTANCE,` | |
| 142 | + );}&:has( > `,Co,`[data-side='left'] ){transform:translateX( | |
| 143 | + `,Vn.SLIDE_DISTANCE,` | |
| 144 | + );}&:has( > `,Co,`[data-side='right'] ){transform:translateX( | |
| 145 | + -`,Vn.SLIDE_DISTANCE,` | |
| 146 | + );}&:has( > `,Co,"[data-enter][data-side='bottom'] ),&:has( > ",Co,"[data-enter][data-side='top'] ){transform:translateY( 0 );}&:has( > ",Co,"[data-enter][data-side='left'] ),&:has( > ",Co,"[data-enter][data-side='right'] ){transform:translateX( 0 );}}}"),Ww=Re("all:unset;cursor:pointer;position:relative;min-height:",K(8),";box-sizing:border-box;grid-column:1/-1;display:grid;grid-template-columns:",fae,";align-items:center;@supports ( grid-template-columns: subgrid ){grid-template-columns:subgrid;}font-size:",_o("default.fontSize"),";font-family:inherit;font-weight:normal;line-height:20px;color:",oe.theme.foreground,";border-radius:",de.radiusSmall,";padding-block:",jFe,";padding-inline:",fw,";scroll-margin:",Iae,";user-select:none;outline:none;&[aria-disabled='true']{color:",oe.ui.textDisabled,`;}&[data-active-item]:not( [data-focus-visible] ):not( | |
| 109 | 147 | [aria-disabled='true'] |
| 110 | - ){background-color:`,T.theme.accent,";color:",T.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",T.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",Ci,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',HZc,";color:",T.theme.foreground,";}svg{fill:currentColor;}",""),P_=S(eZ,{target:"e1wg7tti12"})(bY,";"),zB=S(bZ,{target:"e1wg7tti11"})(bY,";"),AB=S(dZ,{target:"e1wg7tti10"})(bY,";"),S0=S("span",{target:"e1wg7tti9"})("grid-column:1;",zB,">&,",AB,">&{min-width:",D(6),";}",zB,">&,",AB,">&,&:not( :empty ){margin-inline-end:",D(2),";}display:flex;align-items:center;justify-content:center;color:",eY,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),k0=S("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",D(3),";pointer-events:none;"),z0=S("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",D(1),";"),A0=S("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",D(3),";color:",eY,";[data-active-item]:not( [data-focus-visible] ) *:not(",Ci,") &,[aria-disabled='true'] *:not(",Ci,") &{color:inherit;}"),K_=S(lZ,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),__=S(tZ,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",D(3),";padding-block-end:",D(2),";padding-inline:",tY,";"),q_=S(nZ,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",O.borderWidth,";background-color:",c=>c.variant==="toolbar"?j_:ZZc,";margin-block:",D(2),";margin-inline:",tY,";outline:2px solid transparent;"),$_=S(qc,{target:"e1wg7tti2"})("width:",D(1.5),";",kc({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),c8=S(_o,{target:"e1wg7tti1"})("font-size:",Cl("default.fontSize"),";line-height:20px;color:inherit;"),l8=S(_o,{target:"e1wg7tti0"})("font-size:",Cl("helpText.fontSize"),";line-height:16px;color:",eY,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",Ci," ) &,[aria-disabled='true'] *:not( ",Ci," ) &{color:inherit;}");var Yi=u(J(),1),QB=(0,OB.forwardRef)(function({prefix:l,suffix:t,children:e,disabled:b=!1,hideOnClick:d=!0,store:o,...n},X){let G=(0,OB.useContext)(sl);if(!G?.store)throw new Error("Menu.Item can only be rendered inside a Menu component");let i=o??G.store;return(0,Yi.jsxs)(P_,{ref:X,...n,accessibleWhenDisabled:!0,disabled:b,hideOnClick:d,store:i,children:[(0,Yi.jsx)(S0,{children:l}),(0,Yi.jsxs)(k0,{children:[(0,Yi.jsx)(z0,{children:e}),t&&(0,Yi.jsx)(A0,{children:t})]})]})});var wB=u(F(),1);var Vn=u(J(),1),t8=(0,wB.forwardRef)(function({suffix:l,children:t,disabled:e=!1,hideOnClick:b=!1,...d},o){let n=(0,wB.useContext)(sl);if(!n?.store)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,Vn.jsxs)(zB,{ref:o,...d,accessibleWhenDisabled:!0,disabled:e,hideOnClick:b,store:n.store,children:[(0,Vn.jsx)(ma,{store:n.store,render:(0,Vn.jsx)(S0,{}),style:{width:"auto",height:"auto"},children:(0,Vn.jsx)(mt,{icon:jt,size:24})}),(0,Vn.jsxs)(k0,{children:[(0,Vn.jsx)(z0,{children:t}),l&&(0,Vn.jsx)(A0,{children:l})]})]})});var TB=u(F(),1);var DB=u(Ac(),1);var pd=u(J(),1),WZc=(0,pd.jsx)(DB.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pd.jsx)(DB.Circle,{cx:12,cy:12,r:3})}),e8=(0,TB.forwardRef)(function({suffix:l,children:t,disabled:e=!1,hideOnClick:b=!1,...d},o){let n=(0,TB.useContext)(sl);if(!n?.store)throw new Error("Menu.RadioItem can only be rendered inside a Menu component");return(0,pd.jsxs)(AB,{ref:o,...d,accessibleWhenDisabled:!0,disabled:e,hideOnClick:b,store:n.store,children:[(0,pd.jsx)(ma,{store:n.store,render:(0,pd.jsx)(S0,{}),style:{width:"auto",height:"auto"},children:(0,pd.jsx)(mt,{icon:WZc,size:24})}),(0,pd.jsxs)(k0,{children:[(0,pd.jsx)(z0,{children:t}),l&&(0,pd.jsx)(A0,{children:l})]})]})});var LB=u(F(),1);var b8=u(J(),1),d8=(0,LB.forwardRef)(function(l,t){let e=(0,LB.useContext)(sl);if(!e?.store)throw new Error("Menu.Group can only be rendered inside a Menu component");return(0,b8.jsx)(K_,{ref:t,...l,store:e.store})});var UB=u(F(),1);var dY=u(J(),1),o8=(0,UB.forwardRef)(function(l,t){let e=(0,UB.useContext)(sl);if(!e?.store)throw new Error("Menu.GroupLabel can only be rendered inside a Menu component");return(0,dY.jsx)(__,{ref:t,render:(0,dY.jsx)(Ge,{upperCase:!0,variant:"muted",size:"11px",weight:500,lineHeight:"16px"}),...l,store:e.store})});var jB=u(F(),1);var n8=u(J(),1),X8=(0,jB.forwardRef)(function(l,t){let e=(0,jB.useContext)(sl);if(!e?.store)throw new Error("Menu.Separator can only be rendered inside a Menu component");return(0,n8.jsx)(q_,{ref:t,...l,store:e.store,variant:e.variant})});var EB=u(F(),1);var G8=u(J(),1),i8=(0,EB.forwardRef)(function(l,t){if(!(0,EB.useContext)(sl)?.store)throw new Error("Menu.ItemLabel can only be rendered inside a Menu component");return(0,G8.jsx)(c8,{numberOfLines:1,ref:t,...l})});var MB=u(F(),1);var a8=u(J(),1),u8=(0,MB.forwardRef)(function(l,t){if(!(0,MB.useContext)(sl)?.store)throw new Error("Menu.ItemHelpText can only be rendered inside a Menu component");return(0,a8.jsx)(l8,{numberOfLines:2,ref:t,...l})});var PB=u(F(),1);var m8=u(J(),1),s8=(0,PB.forwardRef)(function({children:l,disabled:t=!1,...e},b){let d=(0,PB.useContext)(sl);if(!d?.store)throw new Error("Menu.TriggerButton can only be rendered inside a Menu component");if(d.store.parent)throw new Error("Menu.TriggerButton should not be rendered inside a nested Menu component. Use Menu.SubmenuTriggerItem instead.");return(0,m8.jsx)(ua,{ref:b,...e,disabled:t,store:d.store,children:l})});var KB=u(F(),1);var zX=u(J(),1),x8=(0,KB.forwardRef)(function({suffix:l,...t},e){let b=(0,KB.useContext)(sl);if(!b?.store.parent)throw new Error("Menu.SubmenuTriggerItem can only be rendered inside a nested Menu component");return(0,zX.jsx)(ua,{ref:e,accessibleWhenDisabled:!0,store:b.store,render:(0,zX.jsx)(QB,{...t,store:b.store.parent,suffix:(0,zX.jsxs)(zX.Fragment,{children:[l,(0,zX.jsx)($_,{"aria-hidden":"true",icon:A1,size:24,preserveAspectRatio:"xMidYMid slice"})]})})})});var Jn=u(F(),1);var _B=u(J(),1),r8=(0,Jn.forwardRef)(function({gutter:l,shift:t,modal:e=!0,...b},d){let o=(0,Jn.useContext)(sl),n=U(o?.store,"currentPlacement")?.split("-")[0],X=(0,Jn.useCallback)(m=>(m.preventDefault(),!0),[]),G=U(o?.store,"rtl")?"rtl":"ltr",i=(0,Jn.useMemo)(()=>({dir:G,style:{direction:G}}),[G]);if(!o?.store)throw new Error("Menu.Popover can only be rendered inside a Menu component");let a=(0,Jn.useCallback)(m=>(0,_B.jsx)(M_,{children:(0,_B.jsx)(Sb,{...m,variant:o.variant})}),[o.variant]);return(0,_B.jsx)(Ci,{...b,ref:d,modal:e,store:o.store,gutter:l??(o.store.parent?0:8),shift:t??(o.store.parent?-4:0),hideOnHoverOutside:!1,"data-side":n,"data-submenu":!!o.store.parent||void 0,wrapperProps:i,hideOnEscape:X,unmountOnHide:!0,render:a})});var Z8=u(J(),1),pZc=c=>{let{children:l,defaultOpen:t=!1,open:e,onOpenChange:b,placement:d,variant:o}=cc(c,"Menu"),n=(0,qB.useContext)(sl),X=(0,g8.isRTL)(),G=d??(n?.store?"right-start":"bottom-start");X&&(/right/.test(G)?G=G.replace("right","left"):/left/.test(G)&&(G=G.replace("left","right")));let i=oZ({parent:n?.store,open:e,defaultOpen:t,placement:G,focusLoop:!0,setOpen(m){b?.(m)},rtl:X}),a=(0,qB.useMemo)(()=>({store:i,variant:o}),[i,o]);return(0,Z8.jsx)(sl.Provider,{value:a,children:l})},H8=Object.assign(kG(pZc,"Menu"),{Context:Object.assign(sl,{displayName:"Menu.Context"}),Item:Object.assign(QB,{displayName:"Menu.Item"}),RadioItem:Object.assign(e8,{displayName:"Menu.RadioItem"}),CheckboxItem:Object.assign(t8,{displayName:"Menu.CheckboxItem"}),Group:Object.assign(d8,{displayName:"Menu.Group"}),GroupLabel:Object.assign(o8,{displayName:"Menu.GroupLabel"}),Separator:Object.assign(X8,{displayName:"Menu.Separator"}),ItemLabel:Object.assign(i8,{displayName:"Menu.ItemLabel"}),ItemHelpText:Object.assign(u8,{displayName:"Menu.ItemHelpText"}),Popover:Object.assign(r8,{displayName:"Menu.Popover"}),TriggerButton:Object.assign(s8,{displayName:"Menu.TriggerButton"}),SubmenuTriggerItem:Object.assign(x8,{displayName:"Menu.SubmenuTriggerItem"})});var p8=u(F(),1);var R8=({colors:c})=>{let l=Object.entries(c.gray||{}).map(([t,e])=>`--wp-components-color-gray-${t}: ${e};`).join("");return[k("--wp-components-color-accent:",c.accent,";--wp-components-color-accent-darker-10:",c.accentDarker10,";--wp-components-color-accent-darker-20:",c.accentDarker20,";--wp-components-color-accent-inverted:",c.accentInverted,";--wp-components-color-background:",c.background,";--wp-components-color-foreground:",c.foreground,";--wp-components-color-foreground-inverted:",c.foregroundInverted,";",l,";","")]},I8=S("div",{target:"e1krjpvb0"})({name:"1a3idx0",styles:"color:var( --wp-components-color-foreground, currentColor )"});var xpl=u(ne(),1);Ne([fe,Au]);function W8(c){BZc(c);let l={...JZc(c.accent),...hZc(c.background)};return VZc(yZc(c,l)),{colors:l}}function BZc(c){for(let[l,t]of Object.entries(c))typeof t<"u"&&Rc(t).isValid()}function yZc(c,l){let t=c.background||T.white,e=c.accent||"#3858e9",b=l.foreground||T.gray[900],d=l.gray||T.gray;return{accent:Rc(t).isReadable(e)?void 0:`The background color ("${t}") does not have sufficient contrast against the accent color ("${e}").`,foreground:Rc(t).isReadable(b)?void 0:`The background color provided ("${t}") does not have sufficient contrast against the standard foreground colors.`,grays:Rc(t).contrast(d[600])>=3&&Rc(t).contrast(d[700])>=4.5?void 0:`The background color provided ("${t}") cannot generate a set of grayscale foreground colors with sufficient contrast. Try adjusting the color to be lighter or darker.`}}function VZc(c){for(let l of Object.values(c));}function JZc(c){return c?{accent:c,accentDarker10:Rc(c).darken(.1).toHex(),accentDarker20:Rc(c).darken(.2).toHex(),accentInverted:oY(c)}:{}}function hZc(c){if(!c)return{};let l=oY(c);return{background:c,foreground:l,foregroundInverted:oY(l),gray:CZc(c,l)}}function oY(c){return Rc(c).isDark()?T.white:T.gray[900]}function CZc(c,l){let t={100:.06,200:.121,300:.132,400:.2,600:.42,700:.543,800:.821},e=.884,b=Rc(c).isDark()?"lighten":"darken",d=Math.abs(Rc(c).toHsl().l-Rc(l).toHsl().l)/100,o={};return Object.entries(t).forEach(([n,X])=>{o[parseInt(n)]=Rc(c)[b](X/e*d).toHex()}),o}var B8=u(J(),1);function YZc({accent:c,background:l,className:t,...e}){let b=ic(),d=(0,p8.useMemo)(()=>b(...R8(W8({accent:c,background:l})),t),[c,l,t,b]);return(0,B8.jsx)(I8,{className:d,...e})}var y8=YZc;var w8=u(ec(),1),T8=u(F(),1),D8=u(Gc(),1);var $B=u(F(),1),Wr=(0,$B.createContext)(void 0);Wr.displayName="TabsContext";var O0=()=>(0,$B.useContext)(Wr);var F8=u(F(),1),Cpl=u(ne(),1);var V8=S(Ui,{target:"enfox0g4"})(`display:flex;align-items:stretch;overflow-x:auto;&[aria-orientation='vertical']{flex-direction:column;}:where( [aria-orientation='horizontal'] ){width:fit-content;}--direction-factor:1;--direction-start:left;--direction-end:right;--selected-start:var( --selected-left, 0 );&:dir( rtl ){--direction-factor:-1;--direction-start:right;--direction-end:left;--selected-start:var( --selected-right, 0 );}@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius,border-block;transition-duration:0.2s;transition-timing-function:ease-out;}}position:relative;&::before{content:'';position:absolute;pointer-events:none;transform-origin:var( --direction-start ) top;outline:2px solid transparent;outline-offset:-1px;}--antialiasing-factor:100;&[aria-orientation='horizontal']{--fade-width:64px;--fade-gradient-base:transparent 0%,black var( --fade-width );--fade-gradient-composed:var( --fade-gradient-base ),black 60%,transparent 50%;&.is-overflowing-first{mask-image:linear-gradient( | |
| 148 | + ){background-color:`,oe.theme.accent,";color:",oe.theme.accentInverted,";}&[data-focus-visible]{box-shadow:0 0 0 1.5px ",oe.theme.accent,";outline:2px solid transparent;}&:active,&[data-active]{}",Gu,':not(:focus) &:not(:focus)[aria-expanded="true"]{background-color:',KFe,";color:",oe.theme.foreground,";}svg{fill:currentColor;}",""),Wae=q(sI,{target:"e1wg7tti12"})(Ww,";"),gB=q(bI,{target:"e1wg7tti11"})(Ww,";"),xB=q(uI,{target:"e1wg7tti10"})(Ww,";"),AX=q("span",{target:"e1wg7tti9"})("grid-column:1;",gB,">&,",xB,">&{min-width:",K(6),";}",gB,">&,",xB,">&,&:not( :empty ){margin-inline-end:",K(2),";}display:flex;align-items:center;justify-content:center;color:",yw,";[data-active-item]:not( [data-focus-visible] )>&,[aria-disabled='true']>&{color:inherit;}"),OX=q("div",{target:"e1wg7tti8"})("grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:",K(3),";pointer-events:none;"),QX=q("div",{target:"e1wg7tti7"})("flex:1;display:inline-flex;flex-direction:column;gap:",K(1),";"),UX=q("span",{target:"e1wg7tti6"})("flex:0 1 fit-content;min-width:0;width:fit-content;display:flex;align-items:center;justify-content:center;gap:",K(3),";color:",yw,";[data-active-item]:not( [data-focus-visible] ) *:not(",Gu,") &,[aria-disabled='true'] *:not(",Gu,") &{color:inherit;}"),hae=q(rI,{target:"e1wg7tti5"})({name:"49aokf",styles:"display:contents"}),Bae=q(aI,{target:"e1wg7tti4"})("grid-column:1/-1;padding-block-start:",K(3),";padding-block-end:",K(2),";padding-inline:",fw,";"),vae=q(XI,{target:"e1wg7tti3"})("grid-column:1/-1;border:none;height:",de.borderWidth,";background-color:",e=>e.variant==="toolbar"?Zae:PFe,";margin-block:",K(2),";margin-inline:",fw,";outline:2px solid transparent;"),Vae=q(Ot,{target:"e1wg7tti2"})("width:",K(1.5),";",yc({transform:"scaleX(1)"},{transform:"scaleX(-1)"}),";"),Cae=q(Pi,{target:"e1wg7tti1"})("font-size:",_o("default.fontSize"),";line-height:20px;color:inherit;"),Fae=q(Pi,{target:"e1wg7tti0"})("font-size:",_o("helpText.fontSize"),";line-height:16px;color:",yw,";overflow-wrap:anywhere;[data-active-item]:not( [data-focus-visible] ) *:not( ",Gu," ) &,[aria-disabled='true'] *:not( ",Gu," ) &{color:inherit;}");var Jae=u(T(),1);function eJe(e){if(e.focus(),e.ownerDocument.activeElement===e)return;let t=e.closest("[inert]");t&&(t.inert=!1),e.ownerDocument.defaultView?.HTMLElement.prototype.focus.call(e)}function EX(e,t){return(0,Jae.useCallback)(c=>{if(!(typeof t=="function"?t(c):t))return!1;if(!e||!("hideAll"in e))return!0;let l=e.getState().contentElement,o=l?.ownerDocument.activeElement;if(l?.contains(o??null)){let d=e;for(;d.parent;)d=d.parent;let i=d.getState().disclosureElement;i&&eJe(i)}return!0},[t,e])}var gu=u(F(),1),RB=(0,pB.forwardRef)(function({prefix:t,suffix:c,children:n,disabled:l=!1,hideOnClick:o=!0,store:d,...i},r){let a=(0,pB.useContext)(_t),s=d??a?.store,b=EX(s,o);if(!a?.store||!s)throw new Error("Menu.Item can only be rendered inside a Menu component");return(0,gu.jsxs)(Wae,{ref:r,...i,accessibleWhenDisabled:!0,disabled:l,store:s,hideOnClick:b,children:[(0,gu.jsx)(AX,{children:t}),(0,gu.jsxs)(OX,{children:[(0,gu.jsx)(QX,{children:n}),c&&(0,gu.jsx)(UX,{children:c})]})]})});var HB=u(T(),1);var Sr=u(F(),1),Yae=(0,HB.forwardRef)(function({suffix:t,children:c,disabled:n=!1,hideOnClick:l=!1,...o},d){let r=(0,HB.useContext)(_t)?.store,a=EX(r,l);if(!r)throw new Error("Menu.CheckboxItem can only be rendered inside a Menu component");return(0,Sr.jsxs)(gB,{ref:d,...o,accessibleWhenDisabled:!0,disabled:n,store:r,hideOnClick:a,children:[(0,Sr.jsx)(lm,{store:r,render:(0,Sr.jsx)(AX,{}),style:{width:"auto",height:"auto"},children:(0,Sr.jsx)(Kc,{icon:qc,size:24})}),(0,Sr.jsxs)(OX,{children:[(0,Sr.jsx)(QX,{children:c}),t&&(0,Sr.jsx)(UX,{children:t})]})]})});var IB=u(T(),1);var ZB=u(rt(),1);var Hd=u(F(),1),tJe=(0,Hd.jsx)(ZB.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Hd.jsx)(ZB.Circle,{cx:12,cy:12,r:3})}),Nae=(0,IB.forwardRef)(function({suffix:t,children:c,disabled:n=!1,hideOnClick:l=!1,...o},d){let r=(0,IB.useContext)(_t)?.store,a=EX(r,l);if(!r)throw new Error("Menu.RadioItem can only be rendered inside a Menu component");return(0,Hd.jsxs)(xB,{ref:d,...o,accessibleWhenDisabled:!0,disabled:n,store:r,hideOnClick:a,children:[(0,Hd.jsx)(lm,{store:r,render:(0,Hd.jsx)(AX,{}),style:{width:"auto",height:"auto"},children:(0,Hd.jsx)(Kc,{icon:tJe,size:24})}),(0,Hd.jsxs)(OX,{children:[(0,Hd.jsx)(QX,{children:c}),t&&(0,Hd.jsx)(UX,{children:t})]})]})});var fB=u(T(),1);var Sae=u(F(),1),wae=(0,fB.forwardRef)(function(t,c){let n=(0,fB.useContext)(_t);if(!n?.store)throw new Error("Menu.Group can only be rendered inside a Menu component");return(0,Sae.jsx)(hae,{ref:c,...t,store:n.store})});var yB=u(T(),1);var hw=u(F(),1),kae=(0,yB.forwardRef)(function(t,c){let n=(0,yB.useContext)(_t);if(!n?.store)throw new Error("Menu.GroupLabel can only be rendered inside a Menu component");return(0,hw.jsx)(Bae,{ref:c,render:(0,hw.jsx)(Kn,{upperCase:!0,variant:"muted",size:"11px",weight:de.fontWeightEmphasis,lineHeight:"16px"}),...t,store:n.store})});var WB=u(T(),1);var zae=u(F(),1),Tae=(0,WB.forwardRef)(function(t,c){let n=(0,WB.useContext)(_t);if(!n?.store)throw new Error("Menu.Separator can only be rendered inside a Menu component");return(0,zae.jsx)(vae,{ref:c,...t,store:n.store,variant:n.variant})});var hB=u(T(),1);var Aae=u(F(),1),Oae=(0,hB.forwardRef)(function(t,c){if(!(0,hB.useContext)(_t)?.store)throw new Error("Menu.ItemLabel can only be rendered inside a Menu component");return(0,Aae.jsx)(Cae,{numberOfLines:1,ref:c,...t})});var BB=u(T(),1);var Qae=u(F(),1),Uae=(0,BB.forwardRef)(function(t,c){if(!(0,BB.useContext)(_t)?.store)throw new Error("Menu.ItemHelpText can only be rendered inside a Menu component");return(0,Qae.jsx)(Fae,{numberOfLines:2,ref:c,...t})});var vB=u(T(),1);var Eae=u(F(),1),Lae=(0,vB.forwardRef)(function({children:t,disabled:c=!1,...n},l){let o=(0,vB.useContext)(_t);if(!o?.store)throw new Error("Menu.TriggerButton can only be rendered inside a Menu component");if(o.store.parent)throw new Error("Menu.TriggerButton should not be rendered inside a nested Menu component. Use Menu.SubmenuTriggerItem instead.");return(0,Eae.jsx)(nm,{ref:l,...n,disabled:c,store:o.store,children:t})});var VB=u(T(),1);var Gs=u(F(),1),Dae=(0,VB.forwardRef)(function({suffix:t,...c},n){let l=(0,VB.useContext)(_t);if(!l?.store.parent)throw new Error("Menu.SubmenuTriggerItem can only be rendered inside a nested Menu component");return(0,Gs.jsx)(nm,{ref:n,accessibleWhenDisabled:!0,store:l.store,render:(0,Gs.jsx)(RB,{...c,store:l.store.parent,suffix:(0,Gs.jsxs)(Gs.Fragment,{children:[t,(0,Gs.jsx)(Vae,{"aria-hidden":"true",icon:Qg,size:24,preserveAspectRatio:"xMidYMid slice"})]})})})});var wr=u(T(),1);var CB=u(F(),1),_ae=(0,wr.forwardRef)(function({gutter:t,shift:c,modal:n=!0,...l},o){let d=(0,wr.useContext)(_t),i=$(d?.store,"currentPlacement")?.split("-")[0],r=(0,wr.useCallback)(m=>(m.preventDefault(),!0),[]),a=$(d?.store,"rtl")?"rtl":"ltr",s=(0,wr.useMemo)(()=>({dir:a,style:{direction:a}}),[a]);if(!d?.store)throw new Error("Menu.Popover can only be rendered inside a Menu component");let b=(0,wr.useCallback)(m=>(0,CB.jsx)(yae,{children:(0,CB.jsx)(Co,{...m,variant:d.variant})}),[d.variant]);return(0,CB.jsx)(Gu,{...l,ref:o,modal:n,store:d.store,gutter:t??(d.store.parent?0:8),shift:c??(d.store.parent?-4:0),hideOnHoverOutside:!1,"data-side":i,"data-submenu":!!d.store.parent||void 0,wrapperProps:s,hideOnEscape:r,unmountOnHide:!0,render:b})});var Mae=u(F(),1),cJe=e=>{let{children:t,defaultOpen:c=!1,open:n,onOpenChange:l,placement:o,variant:d}=ae(e,"Menu"),i=(0,FB.useContext)(_t),r=(0,jae.isRTL)(),a=o??(i?.store?"right-start":"bottom-start");r&&(/right/.test(a)?a=a.replace("right","left"):/left/.test(a)&&(a=a.replace("left","right")));let s=mI({parent:i?.store,open:n,defaultOpen:c,placement:a,focusLoop:!0,setOpen(m){l?.(m)},rtl:r}),b=(0,FB.useMemo)(()=>({store:s,variant:d}),[s,d]);return(0,Mae.jsx)(_t.Provider,{value:b,children:t})},Pae=Object.assign(ab(cJe,"Menu"),{Context:Object.assign(_t,{displayName:"Menu.Context"}),Item:Object.assign(RB,{displayName:"Menu.Item"}),RadioItem:Object.assign(Nae,{displayName:"Menu.RadioItem"}),CheckboxItem:Object.assign(Yae,{displayName:"Menu.CheckboxItem"}),Group:Object.assign(wae,{displayName:"Menu.Group"}),GroupLabel:Object.assign(kae,{displayName:"Menu.GroupLabel"}),Separator:Object.assign(Tae,{displayName:"Menu.Separator"}),ItemLabel:Object.assign(Oae,{displayName:"Menu.ItemLabel"}),ItemHelpText:Object.assign(Uae,{displayName:"Menu.ItemHelpText"}),Popover:Object.assign(_ae,{displayName:"Menu.Popover"}),TriggerButton:Object.assign(Lae,{displayName:"Menu.TriggerButton"}),SubmenuTriggerItem:Object.assign(Dae,{displayName:"Menu.SubmenuTriggerItem"})});var use=u(me(),1),mse=u(T(),1),Xse=u(Ze(),1);var JB=u(T(),1),uR=(0,JB.createContext)(void 0);uR.displayName="TabsContext";var LX=()=>(0,JB.useContext)(uR);var cse=u(T(),1),T_t=u(En(),1);var Kae=q(wu,{target:"enfox0g4"})(`display:flex;align-items:stretch;overflow-x:auto;&[aria-orientation='vertical']{flex-direction:column;}:where( [aria-orientation='horizontal'] ){width:fit-content;}--direction-factor:1;--direction-start:left;--direction-end:right;--selected-start:var( --selected-left, 0 );&:dir( rtl ){--direction-factor:-1;--direction-start:right;--direction-end:left;--selected-start:var( --selected-right, 0 );}@media not ( prefers-reduced-motion ){&[data-indicator-animated]::before{transition-property:transform,border-radius,border-block;transition-duration:0.2s;transition-timing-function:ease-out;}}position:relative;&::before{content:'';position:absolute;pointer-events:none;transform-origin:var( --direction-start ) top;outline:2px solid transparent;outline-offset:-1px;}--antialiasing-factor:100;&[aria-orientation='horizontal']{--fade-width:64px;--fade-gradient-base:transparent 0%,black var( --fade-width );--fade-gradient-composed:var( --fade-gradient-base ),black 60%,transparent 50%;&.is-overflowing-first{mask-image:linear-gradient( | |
| 111 | 149 | to var( --direction-end ), |
| 112 | 150 | var( --fade-gradient-base ) |
| 113 | 151 | );}&.is-overflowing-last{mask-image:linear-gradient( |
| 114 | 152 | to var( --direction-start ), |
| 115 | 153 | var( --fade-gradient-base ) |
| 116 | - );}&.is-overflowing-first.is-overflowing-last{mask-image:linear-gradient( | |
| 117 | - to right, | |
| 118 | - var( --fade-gradient-composed ) | |
| 119 | - ),linear-gradient( to left, var( --fade-gradient-composed ) );}&::before{bottom:0;height:0;width:calc( var( --antialiasing-factor ) * 1px );transform:translateX( | |
| 154 | + );}&.is-overflowing-first.is-overflowing-last{mask-image:linear-gradient( to right, var( --fade-gradient-composed ) ),linear-gradient( to left, var( --fade-gradient-composed ) );}&::before{bottom:0;height:0;width:calc( var( --antialiasing-factor ) * 1px );transform:translateX( | |
| 120 | 155 | calc( |
| 121 | 156 | var( --selected-start ) * var( --direction-factor ) * |
| 122 | 157 | 1px |
| 123 | 158 | ) |
| @@ -125,10 +160,10 @@ | ||
| 125 | 160 | calc( |
| 126 | 161 | var( --selected-width, 0 ) / |
| 127 | 162 | var( --antialiasing-factor ) |
| 128 | 163 | ) |
| 129 | - );border-bottom:var( --wp-admin-border-width-focus ) solid `,T.theme.gray[700],";}}&[aria-orientation='vertical']{&::before{border-radius:",O.radiusSmall,`/calc( | |
| 130 | - `,O.radiusSmall,` / | |
| 164 | + );border-bottom:var( --wp-admin-border-width-focus ) solid `,oe.theme.gray[700],";}}&[aria-orientation='vertical']{&::before{border-radius:",de.radiusSmall,`/calc( | |
| 165 | + `,de.radiusSmall,` / | |
| 131 | 166 | ( |
| 132 | 167 | var( --selected-height, 0 ) / |
| 133 | 168 | var( --antialiasing-factor ) |
| 134 | 169 | ) |
| @@ -136,17 +171,17 @@ | ||
| 136 | 171 | calc( |
| 137 | 172 | var( --selected-height, 0 ) / |
| 138 | 173 | var( --antialiasing-factor ) |
| 139 | 174 | ) |
| 140 | - );background-color:`,T.theme.gray[100],`;}&[data-select-on-move='true']:has( | |
| 175 | + );background-color:`,oe.theme.gray[100],`;}&[data-select-on-move='true']:has( | |
| 141 | 176 | :is( :focus-visible, [data-focus-visible] ) |
| 142 | - )::before{box-sizing:border-box;border:var( --wp-admin-border-width-focus ) solid `,T.theme.accent,`;border-block-width:calc( | |
| 177 | + )::before{box-sizing:border-box;border:var( --wp-admin-border-width-focus ) solid `,oe.theme.accent,`;border-block-width:calc( | |
| 143 | 178 | var( --wp-admin-border-width-focus, 1px ) / |
| 144 | 179 | ( |
| 145 | 180 | var( --selected-height, 0 ) / |
| 146 | 181 | var( --antialiasing-factor ) |
| 147 | 182 | ) |
| 148 | - );}}`),J8=S(Li,{target:"enfox0g3"})("&{border-radius:0;background:transparent;border:none;box-shadow:none;flex:1 0 auto;white-space:nowrap;display:flex;align-items:center;cursor:pointer;line-height:1.2;font-family:",Cl("default.fontFamily"),";font-weight:400;font-size:",Cl("default.fontSize"),";color:",T.theme.foreground,";position:relative;&[aria-disabled='true']{cursor:default;color:",T.ui.textDisabled,";}&:not( [aria-disabled='true'] ):is( :hover, [data-focus-visible] ){color:",T.theme.foreground,";}&:focus:not( :disabled ){box-shadow:none;outline:none;}&::after{position:absolute;pointer-events:none;outline:var( --wp-admin-border-width-focus ) solid ",T.theme.accent,";border-radius:",O.radiusSmall,";opacity:0;@media not ( prefers-reduced-motion ){transition:opacity 0.1s linear;}}&[data-focus-visible]::after{opacity:1;}}[aria-orientation='horizontal'] &{padding-inline:",D(4),";height:",D(12),";scroll-margin:24px;&::after{content:'';inset:",D(3),";}}[aria-orientation='vertical'] &{padding:",D(2)," ",D(3),";min-height:",D(10),";&[aria-selected='true']{fill:currentColor;}}[aria-orientation='vertical'][data-select-on-move='false'] &::after{content:'';inset:var( --wp-admin-border-width-focus );}"),h8=S("span",{target:"enfox0g2"})({name:"9at4z3",styles:"flex-grow:1;display:flex;align-items:center;[aria-orientation='horizontal'] &{justify-content:center;}[aria-orientation='vertical'] &{justify-content:start;}"}),C8=S(qc,{target:"enfox0g1"})("flex-shrink:0;margin-inline-end:",D(-1),";[aria-orientation='horizontal'] &{display:none;}opacity:0;[role='tab']:is( [aria-selected='true'], [data-focus-visible], :hover ) &{opacity:1;}@media not ( prefers-reduced-motion ){[data-select-on-move='true'] [role='tab']:is( [aria-selected='true'], ) &{transition:opacity 0.15s 0.15s linear;}}&:dir( rtl ){rotate:180deg;}"),Y8=S(Mi,{target:"enfox0g0"})("&:focus{box-shadow:none;outline:none;}&[data-focus-visible]{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",T.theme.accent,";outline:2px solid transparent;outline-offset:0;}");var pr=u(J(),1),v8=(0,F8.forwardRef)(function({children:l,tabId:t,disabled:e,render:b,...d},o){let{store:n,instanceId:X}=O0()??{};if(!n)return null;let G=`${X}-${t}`;return(0,pr.jsxs)(J8,{ref:o,store:n,id:G,disabled:e,render:b,...d,children:[(0,pr.jsx)(h8,{children:l}),(0,pr.jsx)(C8,{icon:Q1})]})});var Apl=u(ne(),1),Q0=u(F(),1),S8=u(ec(),1);var Fi=u(F(),1),N8=u(ec(),1);function f8(c,l){let[t,e]=(0,Fi.useState)(!1),[b,d]=(0,Fi.useState)(!1),[o,n]=(0,Fi.useState)(),X=(0,N8.useEvent)(G=>{for(let i of G)i.target===l.first&&e(!i.isIntersecting),i.target===l.last&&d(!i.isIntersecting)});return(0,Fi.useEffect)(()=>{if(!c||!window.IntersectionObserver)return;let G=new IntersectionObserver(X,{root:c,threshold:.9});return n(G),()=>G.disconnect()},[X,c]),(0,Fi.useEffect)(()=>{if(o)return l.first&&o.observe(l.first),l.last&&o.observe(l.last),()=>{l.first&&o.unobserve(l.first),l.last&&o.unobserve(l.last)}},[l.first,l.last,o]),{first:t,last:b}}var nY=u(J(),1),FZc=24;function vZc(c,l,{margin:t=FZc}={}){(0,Q0.useLayoutEffect)(()=>{if(!c||!l)return;let{scrollLeft:e}=c,b=c.getBoundingClientRect().width,{left:d,width:o}=l,n=e+b,G=d+o+t-n,i=e-(d-t),a=null;i>0?a=e-i:G>0&&(a=e+G),a!==null&&c.scroll?.({left:a})},[t,c,l])}var k8=(0,Q0.forwardRef)(function({children:l,...t},e){let{store:b}=O0()??{},d=U(b,"selectedId"),o=U(b,"selectOnMove"),n=U(b,"items"),[X,G]=(0,Q0.useState)(),i=(0,S8.useMergeRefs)([e,G]),a=b?.item(d),m=U(b,"renderedItems"),s=m&&a?m.indexOf(a):-1,x=OI(a?.element,[s]),r=f8(X,{first:n?.at(0)?.element,last:n?.at(-1)?.element});return wI(X,x,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:g=>g.pseudoElement==="::before",roundRect:!0}),vZc(X,x),b?(0,nY.jsx)(V8,{ref:i,store:b,render:g=>(0,nY.jsx)("div",{...g,tabIndex:g.tabIndex??-1}),"data-select-on-move":o?"true":"false",...t,className:Q(r.first&&"is-overflowing-first",r.last&&"is-overflowing-last",t.className),children:l}):null});var z8=u(F(),1);var Mpl=u(ne(),1);var A8=u(J(),1),O8=(0,z8.forwardRef)(function({children:l,tabId:t,focusable:e=!0,...b},d){let o=O0(),n=U(o?.store,"selectedId");if(!o)return null;let{store:X,instanceId:G}=o,i=`${G}-${t}`;return(0,A8.jsx)(Y8,{ref:d,store:X,id:`${i}-view`,tabId:i,focusable:e,...b,children:n===i&&l})});var L8=u(J(),1);function c5(c,l){return c&&`${l}-${c}`}function Q8(c,l){return typeof c=="string"?c.replace(`${l}-`,""):c}var U8=Object.assign(function c({selectOnMove:l=!0,defaultTabId:t,orientation:e="horizontal",onSelect:b,children:d,selectedTabId:o,activeTabId:n,defaultActiveTabId:X,onActiveTabIdChange:G}){let i=(0,w8.useInstanceId)(c,"tabs"),a=_i({selectOnMove:l,orientation:e,defaultSelectedId:c5(t,i),setSelectedId:s=>{b?.(Q8(s,i))},selectedId:c5(o,i),defaultActiveId:c5(X,i),setActiveId:s=>{G?.(Q8(s,i))},activeId:c5(n,i),rtl:(0,D8.isRTL)()}),m=(0,T8.useMemo)(()=>({store:a,instanceId:i}),[a,i]);return(0,L8.jsx)(Wr.Provider,{value:m,children:d})},{Tab:Object.assign(v8,{displayName:"Tabs.Tab"}),TabList:Object.assign(k8,{displayName:"Tabs.TabList"}),TabPanel:Object.assign(O8,{displayName:"Tabs.TabPanel"}),Context:Object.assign(Wr,{displayName:"Tabs.Context"})});var w0=u(J(),1);function NZc(c="default"){switch(c){case"info":return P1;case"success":return Ps;case"warning":return f1;case"error":return Ls;default:return null}}function fZc({className:c,intent:l="default",children:t,...e}){let b=NZc(l),d=!!b;return(0,w0.jsx)("span",{className:Q("components-badge",c,{[`is-${l}`]:l,"has-icon":d}),...e,children:(0,w0.jsxs)("span",{className:"components-badge__flex-wrapper",children:[d&&(0,w0.jsx)(qc,{icon:b,size:16,fill:"currentColor",className:"components-badge__icon"}),(0,w0.jsx)("span",{className:"components-badge__content",children:t})]})})}var j8=fZc;var Vc=u(M(),1);var SZc={},Br={};function vi(c,l){try{let e=(SZc[c]||=new Intl.DateTimeFormat("en-GB",{timeZone:c,hour:"numeric",timeZoneName:"longOffset"}).format)(l).split("GMT")[1]||"";return e in Br?Br[e]:E8(e,e.split(":"))}catch{if(c in Br)return Br[c];let t=c?.match(kZc);return t?E8(c,t.slice(1)):NaN}}var kZc=/([+-]\d\d):?(\d\d)?/;function E8(c,l){let t=+l[0],e=+(l[1]||0);return Br[c]=t>0?t*60+e:t*60-e}var AX=class c extends Date{constructor(...l){super(),l.length>1&&typeof l[l.length-1]=="string"&&(this.timeZone=l.pop()),this.internal=new Date,isNaN(vi(this.timeZone,this))?this.setTime(NaN):l.length?typeof l[0]=="number"&&(l.length===1||l.length===2&&typeof l[1]!="number")?this.setTime(l[0]):typeof l[0]=="string"?this.setTime(+new Date(l[0])):l[0]instanceof Date?this.setTime(+l[0]):(this.setTime(+new Date(...l)),P8(this,NaN),XY(this)):this.setTime(Date.now())}static tz(l,...t){return t.length?new c(...t,l):new c(Date.now(),l)}withTimeZone(l){return new c(+this,l)}getTimezoneOffset(){return-vi(this.timeZone,this)}setTime(l){return Date.prototype.setTime.apply(this,arguments),XY(this),+this}[Symbol.for("constructDateFrom")](l){return new c(+new Date(l),this.timeZone)}},M8=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(c=>{if(!M8.test(c))return;let l=c.replace(M8,"$1UTC");AX.prototype[l]&&(c.startsWith("get")?AX.prototype[c]=function(){return this.internal[l]()}:(AX.prototype[c]=function(){return Date.prototype[l].apply(this.internal,arguments),zZc(this),+this},AX.prototype[l]=function(){return Date.prototype[l].apply(this,arguments),XY(this),+this}))});function XY(c){c.internal.setTime(+c),c.internal.setUTCMinutes(c.internal.getUTCMinutes()-c.getTimezoneOffset())}function zZc(c){Date.prototype.setFullYear.call(c,c.internal.getUTCFullYear(),c.internal.getUTCMonth(),c.internal.getUTCDate()),Date.prototype.setHours.call(c,c.internal.getUTCHours(),c.internal.getUTCMinutes(),c.internal.getUTCSeconds(),c.internal.getUTCMilliseconds()),P8(c)}function P8(c){let l=vi(c.timeZone,c),t=new Date(+c);t.setUTCHours(t.getUTCHours()-1);let e=-new Date(+c).getTimezoneOffset(),b=-new Date(+t).getTimezoneOffset(),d=e-b,o=Date.prototype.getHours.apply(c)!==c.internal.getUTCHours();d&&o&&c.internal.setUTCMinutes(c.internal.getUTCMinutes()+d);let n=e-l;n&&Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+n);let X=vi(c.timeZone,c),i=-new Date(+c).getTimezoneOffset()-X,a=X!==l,m=i-n;if(a&&m){Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+m);let s=vi(c.timeZone,c),x=X-s;x&&(c.internal.setUTCMinutes(c.internal.getUTCMinutes()+x),Date.prototype.setUTCMinutes.call(c,Date.prototype.getUTCMinutes.call(c)+x))}}var _l=class c extends AX{static tz(l,...t){return t.length?new c(...t,l):new c(Date.now(),l)}toISOString(){let[l,t,e]=this.tzComponents(),b=`${l}${t}:${e}`;return this.internal.toISOString().slice(0,-1)+b}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[l,t,e,b]=this.internal.toUTCString().split(" ");return`${l?.slice(0,-1)} ${e} ${t} ${b}`}toTimeString(){let l=this.internal.toUTCString().split(" ")[4],[t,e,b]=this.tzComponents();return`${l} GMT${t}${e}${b} (${AZc(this.timeZone,this)})`}toLocaleString(l,t){return Date.prototype.toLocaleString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(l,t){return Date.prototype.toLocaleDateString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(l,t){return Date.prototype.toLocaleTimeString.call(this,l,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let l=this.getTimezoneOffset(),t=l>0?"-":"+",e=String(Math.floor(Math.abs(l)/60)).padStart(2,"0"),b=String(Math.abs(l)%60).padStart(2,"0");return[t,e,b]}withTimeZone(l){return new c(+this,l)}[Symbol.for("constructDateFrom")](l){return new c(+new Date(l),this.timeZone)}};function AZc(c,l){return new Intl.DateTimeFormat("en-GB",{timeZone:c,timeZoneName:"long"}).format(l).slice(12)}var mc;(function(c){c.Root="root",c.Chevron="chevron",c.Day="day",c.DayButton="day_button",c.CaptionLabel="caption_label",c.Dropdowns="dropdowns",c.Dropdown="dropdown",c.DropdownRoot="dropdown_root",c.Footer="footer",c.MonthGrid="month_grid",c.MonthCaption="month_caption",c.MonthsDropdown="months_dropdown",c.Month="month",c.Months="months",c.Nav="nav",c.NextMonthButton="button_next",c.PreviousMonthButton="button_previous",c.Week="week",c.Weeks="weeks",c.Weekday="weekday",c.Weekdays="weekdays",c.WeekNumber="week_number",c.WeekNumberHeader="week_number_header",c.YearsDropdown="years_dropdown"})(mc||(mc={}));var ul;(function(c){c.disabled="disabled",c.hidden="hidden",c.outside="outside",c.focused="focused",c.today="today"})(ul||(ul={}));var we;(function(c){c.range_end="range_end",c.range_middle="range_middle",c.range_start="range_start",c.selected="selected"})(we||(we={}));var He;(function(c){c.weeks_before_enter="weeks_before_enter",c.weeks_before_exit="weeks_before_exit",c.weeks_after_enter="weeks_after_enter",c.weeks_after_exit="weeks_after_exit",c.caption_after_enter="caption_after_enter",c.caption_after_exit="caption_after_exit",c.caption_before_enter="caption_before_enter",c.caption_before_exit="caption_before_exit"})(He||(He={}));function K8(c,l){let t=l.startOfMonth(c),e=t.getDay()>0?t.getDay():7,b=l.addDays(c,-e+1),d=l.addDays(b,34);return l.getMonth(c)===l.getMonth(d)?5:4}function l5(c,l){let t=l.startOfMonth(c),e=t.getDay();return e===1?t:e===0?l.addDays(t,-6):l.addDays(t,-1*(e-1))}function _8(c,l){let t=l5(c,l),e=K8(c,l);return l.addDays(t,e*7-1)}var et=class{constructor(l,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?_l.tz(this.options.timeZone):new this.Date,this.newDate=(e,b,d)=>this.overrides?.newDate?this.overrides.newDate(e,b,d):this.options.timeZone?new _l(e,b,d,this.options.timeZone):new Date(e,b,d),this.addDays=(e,b)=>this.overrides?.addDays?this.overrides.addDays(e,b):ao(e,b),this.addMonths=(e,b)=>this.overrides?.addMonths?this.overrides.addMonths(e,b):lb(e,b),this.addWeeks=(e,b)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,b):VX(e,b),this.addYears=(e,b)=>this.overrides?.addYears?this.overrides.addYears(e,b):n0(e,b),this.differenceInCalendarDays=(e,b)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,b):ai(e,b),this.differenceInCalendarMonths=(e,b)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,b):PE(e,b),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):op(e),this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):_8(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):qE(e),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):Ox(e),this.endOfWeek=(e,b)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,b):G0(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):_E(e),this.format=(e,b,d)=>{let o=this.overrides?.format?this.overrides.format(e,b,this.options):xM(e,b,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(o):o},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):Gp(e),this.getMonth=(e,b)=>this.overrides?.getMonth?this.overrides.getMonth(e,this.options):gM(e,this.options),this.getYear=(e,b)=>this.overrides?.getYear?this.overrides.getYear(e,this.options):ZM(e,this.options),this.getWeek=(e,b)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):ap(e,this.options),this.isAfter=(e,b)=>this.overrides?.isAfter?this.overrides.isAfter(e,b):up(e,b),this.isBefore=(e,b)=>this.overrides?.isBefore?this.overrides.isBefore(e,b):mp(e,b),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):dp(e),this.isSameDay=(e,b)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,b):Ax(e,b),this.isSameMonth=(e,b)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,b):Tx(e,b),this.isSameYear=(e,b)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,b):HM(e,b),this.max=e=>this.overrides?.max?this.overrides.max(e):jE(e),this.min=e=>this.overrides?.min?this.overrides.min(e):EE(e),this.setMonth=(e,b)=>this.overrides?.setMonth?this.overrides.setMonth(e,b):m0(e,b),this.setYear=(e,b)=>this.overrides?.setYear?this.overrides.setYear(e,b):sp(e,b),this.startOfBroadcastWeek=(e,b)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):l5(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):mo(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):un(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):wx(e),this.startOfWeek=(e,b)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):rt(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):np(e),this.options={locale:Fb,...l},this.overrides=t}getDigitMap(){let{numerals:l="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:l}),e={};for(let b=0;b<10;b++)e[b.toString()]=t.format(b);return e}replaceDigits(l){let t=this.getDigitMap();return l.replace(/\d/g,e=>t[e]||e)}formatNumber(l){return this.replaceDigits(l.toString())}},ql=new et;var T0=class{constructor(l,t,e=ql){this.date=l,this.displayMonth=t,this.outside=!!(t&&!e.isSameMonth(l,t)),this.dateLib=e}isEqualTo(l){return this.dateLib.isSameDay(l.date,this.date)&&this.dateLib.isSameMonth(l.displayMonth,this.displayMonth)}};var t5=class{constructor(l,t){this.date=l,this.weeks=t}};var e5=class{constructor(l,t){this.days=t,this.weekNumber=l}};function Te(c,l,t=!1,e=ql){let{from:b,to:d}=c,{differenceInCalendarDays:o,isSameDay:n}=e;return b&&d?(o(d,b)<0&&([b,d]=[d,b]),o(l,b)>=(t?1:0)&&o(d,l)>=(t?1:0)):!t&&d?n(d,l):!t&&b?n(b,l):!1}function b5(c){return!!(c&&typeof c=="object"&&"before"in c&&"after"in c)}function D0(c){return!!(c&&typeof c=="object"&&"from"in c)}function d5(c){return!!(c&&typeof c=="object"&&"after"in c)}function o5(c){return!!(c&&typeof c=="object"&&"before"in c)}function n5(c){return!!(c&&typeof c=="object"&&"dayOfWeek"in c)}function X5(c,l){return Array.isArray(c)&&c.every(l.isDate)}function kb(c,l,t=ql){let e=Array.isArray(l)?l:[l],{isSameDay:b,differenceInCalendarDays:d,isAfter:o}=t;return e.some(n=>{if(typeof n=="boolean")return n;if(t.isDate(n))return b(c,n);if(X5(n,t))return n.includes(c);if(D0(n))return Te(n,c,!1,t);if(n5(n))return Array.isArray(n.dayOfWeek)?n.dayOfWeek.includes(c.getDay()):n.dayOfWeek===c.getDay();if(b5(n)){let X=d(n.before,c),G=d(n.after,c),i=X>0,a=G<0;return o(n.before,n.after)?a&&i:i||a}return d5(n)?d(c,n.after)>0:o5(n)?d(n.before,c)>0:typeof n=="function"?n(c):!1})}function q8(c,l,t){let{disabled:e,hidden:b,modifiers:d,showOutsideDays:o,broadcastCalendar:n,today:X}=l,{isSameDay:G,isSameMonth:i,startOfMonth:a,isBefore:m,endOfMonth:s,isAfter:x}=t,r=l.startMonth&&a(l.startMonth),g=l.endMonth&&s(l.endMonth),H={[ul.focused]:[],[ul.outside]:[],[ul.disabled]:[],[ul.hidden]:[],[ul.today]:[]},Z={};for(let R of c){let{date:W,displayMonth:I}=R,p=!!(I&&!i(W,I)),B=!!(r&&m(W,r)),y=!!(g&&x(W,g)),C=!!(e&&kb(W,e,t)),V=!!(b&&kb(W,b,t))||B||y||!n&&!o&&p||n&&o===!1&&p,h=G(W,X??t.today());p&&H.outside.push(R),C&&H.disabled.push(R),V&&H.hidden.push(R),h&&H.today.push(R),d&&Object.keys(d).forEach(Y=>{let N=d?.[Y];N&&kb(W,N,t)&&(Z[Y]?Z[Y].push(R):Z[Y]=[R])})}return R=>{let W={[ul.focused]:!1,[ul.disabled]:!1,[ul.hidden]:!1,[ul.outside]:!1,[ul.today]:!1},I={};for(let p in H){let B=H[p];W[p]=B.some(y=>y===R)}for(let p in Z)I[p]=Z[p].some(B=>B===R);return{...W,...I}}}function $8(c,l,t={}){return Object.entries(c).filter(([,b])=>b===!0).reduce((b,[d])=>(t[d]?b.push(t[d]):l[ul[d]]?b.push(l[ul[d]]):l[we[d]]&&b.push(l[we[d]]),b),[l[mc.Day]])}var aY={};TX(aY,{Button:()=>OZc,CaptionLabel:()=>QZc,Chevron:()=>wZc,Day:()=>TZc,DayButton:()=>DZc,Dropdown:()=>LZc,DropdownNav:()=>UZc,Footer:()=>jZc,Month:()=>EZc,MonthCaption:()=>MZc,MonthGrid:()=>PZc,Months:()=>KZc,MonthsDropdown:()=>_Zc,Nav:()=>qZc,NextMonthButton:()=>$Zc,Option:()=>cHc,PreviousMonthButton:()=>lHc,Root:()=>tHc,Select:()=>eHc,Week:()=>bHc,WeekNumber:()=>nHc,WeekNumberHeader:()=>XHc,Weekday:()=>dHc,Weekdays:()=>oHc,Weeks:()=>GHc,YearsDropdown:()=>iHc});var cq=u(M(),1);function OZc(c){return cq.default.createElement("button",{...c})}var lq=u(M(),1);function QZc(c){return lq.default.createElement("span",{...c})}var L0=u(M(),1);function wZc(c){let{size:l=24,orientation:t="left",className:e}=c;return L0.default.createElement("svg",{className:e,width:l,height:l,viewBox:"0 0 24 24"},t==="up"&&L0.default.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),t==="down"&&L0.default.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),t==="left"&&L0.default.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),t==="right"&&L0.default.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}var tq=u(M(),1);function TZc(c){let{day:l,modifiers:t,...e}=c;return tq.default.createElement("td",{...e})}var G5=u(M(),1);function DZc(c){let{day:l,modifiers:t,...e}=c,b=G5.default.useRef(null);return G5.default.useEffect(()=>{t.focused&&b.current?.focus()},[t.focused]),G5.default.createElement("button",{ref:b,...e})}var U0=u(M(),1);function LZc(c){let{options:l,className:t,components:e,classNames:b,...d}=c,o=[b[mc.Dropdown],t].join(" "),n=l?.find(({value:X})=>X===d.value);return U0.default.createElement("span",{"data-disabled":d.disabled,className:b[mc.DropdownRoot]},U0.default.createElement(e.Select,{className:o,...d},l?.map(({value:X,label:G,disabled:i})=>U0.default.createElement(e.Option,{key:X,value:X,disabled:i},G))),U0.default.createElement("span",{className:b[mc.CaptionLabel],"aria-hidden":!0},n?.label,U0.default.createElement(e.Chevron,{orientation:"down",size:18,className:b[mc.Chevron]})))}var eq=u(M(),1);function UZc(c){return eq.default.createElement("div",{...c})}var bq=u(M(),1);function jZc(c){return bq.default.createElement("div",{...c})}var dq=u(M(),1);function EZc(c){let{calendarMonth:l,displayIndex:t,...e}=c;return dq.default.createElement("div",{...e},c.children)}var oq=u(M(),1);function MZc(c){let{calendarMonth:l,displayIndex:t,...e}=c;return oq.default.createElement("div",{...e})}var nq=u(M(),1);function PZc(c){return nq.default.createElement("table",{...c})}var Xq=u(M(),1);function KZc(c){return Xq.default.createElement("div",{...c})}var Gq=u(M(),1);var i5=u(M(),1),GY=(0,i5.createContext)(void 0);function Wo(){let c=(0,i5.useContext)(GY);if(c===void 0)throw new Error("useDayPicker() must be used within a custom component.");return c}function _Zc(c){let{components:l}=Wo();return Gq.default.createElement(l.Dropdown,{...c})}var hn=u(M(),1);function qZc(c){let{onPreviousClick:l,onNextClick:t,previousMonth:e,nextMonth:b,...d}=c,{components:o,classNames:n,labels:{labelPrevious:X,labelNext:G}}=Wo(),i=(0,hn.useCallback)(m=>{b&&t?.(m)},[b,t]),a=(0,hn.useCallback)(m=>{e&&l?.(m)},[e,l]);return hn.default.createElement("nav",{...d},hn.default.createElement(o.PreviousMonthButton,{type:"button",className:n[mc.PreviousMonthButton],tabIndex:e?void 0:-1,"aria-disabled":e?void 0:!0,"aria-label":X(e),onClick:a},hn.default.createElement(o.Chevron,{disabled:e?void 0:!0,className:n[mc.Chevron],orientation:"left"})),hn.default.createElement(o.NextMonthButton,{type:"button",className:n[mc.NextMonthButton],tabIndex:b?void 0:-1,"aria-disabled":b?void 0:!0,"aria-label":G(b),onClick:i},hn.default.createElement(o.Chevron,{disabled:b?void 0:!0,orientation:"right",className:n[mc.Chevron]})))}var iq=u(M(),1);function $Zc(c){let{components:l}=Wo();return iq.default.createElement(l.Button,{...c})}var aq=u(M(),1);function cHc(c){return aq.default.createElement("option",{...c})}var uq=u(M(),1);function lHc(c){let{components:l}=Wo();return uq.default.createElement(l.Button,{...c})}var mq=u(M(),1);function tHc(c){let{rootRef:l,...t}=c;return mq.default.createElement("div",{...t,ref:l})}var sq=u(M(),1);function eHc(c){return sq.default.createElement("select",{...c})}var xq=u(M(),1);function bHc(c){let{week:l,...t}=c;return xq.default.createElement("tr",{...t})}var rq=u(M(),1);function dHc(c){return rq.default.createElement("th",{...c})}var iY=u(M(),1);function oHc(c){return iY.default.createElement("thead",{"aria-hidden":!0},iY.default.createElement("tr",{...c}))}var gq=u(M(),1);function nHc(c){let{week:l,...t}=c;return gq.default.createElement("th",{...t})}var Zq=u(M(),1);function XHc(c){return Zq.default.createElement("th",{...c})}var Hq=u(M(),1);function GHc(c){return Hq.default.createElement("tbody",{...c})}var Rq=u(M(),1);function iHc(c){let{components:l}=Wo();return Rq.default.createElement(l.Dropdown,{...c})}function Iq(c){return{...aY,...c}}function Wq(c){let l={"data-mode":c.mode??void 0,"data-required":"required"in c?c.required:void 0,"data-multiple-months":c.numberOfMonths&&c.numberOfMonths>1||void 0,"data-week-numbers":c.showWeekNumber||void 0,"data-broadcast-calendar":c.broadcastCalendar||void 0,"data-nav-layout":c.navLayout||void 0};return Object.entries(c).forEach(([t,e])=>{t.startsWith("data-")&&(l[t]=e)}),l}function pq(){let c={};for(let l in mc)c[mc[l]]=`rdp-${mc[l]}`;for(let l in ul)c[ul[l]]=`rdp-${ul[l]}`;for(let l in we)c[we[l]]=`rdp-${we[l]}`;for(let l in He)c[He[l]]=`rdp-${He[l]}`;return c}var uY={};TX(uY,{formatCaption:()=>Bq,formatDay:()=>uHc,formatMonthCaption:()=>aHc,formatMonthDropdown:()=>mHc,formatWeekNumber:()=>sHc,formatWeekNumberHeader:()=>xHc,formatWeekdayName:()=>rHc,formatYearCaption:()=>gHc,formatYearDropdown:()=>yq});function Bq(c,l,t){return(t??new et(l)).format(c,"LLLL y")}var aHc=Bq;function uHc(c,l,t){return(t??new et(l)).format(c,"d")}function mHc(c,l=ql){return l.format(c,"LLLL")}function sHc(c,l=ql){return c<10?l.formatNumber(`0${c.toLocaleString()}`):l.formatNumber(`${c.toLocaleString()}`)}function xHc(){return""}function rHc(c,l,t){return(t??new et(l)).format(c,"cccccc")}function yq(c,l=ql){return l.format(c,"yyyy")}var gHc=yq;function Vq(c){return c?.formatMonthCaption&&!c.formatCaption&&(c.formatCaption=c.formatMonthCaption),c?.formatYearCaption&&!c.formatYearDropdown&&(c.formatYearDropdown=c.formatYearCaption),{...uY,...c}}function Jq(c,l,t,e,b){let{startOfMonth:d,startOfYear:o,endOfYear:n,eachMonthOfInterval:X,getMonth:G}=b;return X({start:o(c),end:n(c)}).map(m=>{let s=e.formatMonthDropdown(m,b),x=G(m),r=l&&m<d(l)||t&&m>d(t)||!1;return{value:x,label:s,disabled:r}})}function hq(c,l={},t={}){let e={...l?.[mc.Day]};return Object.entries(c).filter(([,b])=>b===!0).forEach(([b])=>{e={...e,...t?.[b]}}),e}function Cq(c,l,t){let e=c.today(),b=t?c.startOfBroadcastWeek(e,c):l?c.startOfISOWeek(e):c.startOfWeek(e),d=[];for(let o=0;o<7;o++){let n=c.addDays(b,o);d.push(n)}return d}function Yq(c,l,t,e){if(!c||!l)return;let{startOfYear:b,endOfYear:d,addYears:o,getYear:n,isBefore:X,isSameYear:G}=e,i=b(c),a=d(l),m=[],s=i;for(;X(s,a)||G(s,a);)m.push(s),s=o(s,1);return m.map(x=>{let r=t.formatYearDropdown(x,e);return{value:n(x),label:r,disabled:!1}})}var mY={};TX(mY,{labelCaption:()=>ZHc,labelDay:()=>RHc,labelDayButton:()=>vq,labelGrid:()=>Fq,labelGridcell:()=>HHc,labelMonthDropdown:()=>WHc,labelNav:()=>IHc,labelNext:()=>pHc,labelPrevious:()=>BHc,labelWeekNumber:()=>VHc,labelWeekNumberHeader:()=>JHc,labelWeekday:()=>yHc,labelYearDropdown:()=>hHc});function Fq(c,l,t){return(t??new et(l)).format(c,"LLLL y")}var ZHc=Fq;function HHc(c,l,t,e){let b=(e??new et(t)).format(c,"PPPP");return l?.today&&(b=`Today, ${b}`),b}function vq(c,l,t,e){let b=(e??new et(t)).format(c,"PPPP");return l.today&&(b=`Today, ${b}`),l.selected&&(b=`${b}, selected`),b}var RHc=vq;function IHc(){return""}function WHc(c){return"Choose the Month"}function pHc(c){return"Go to the Next Month"}function BHc(c){return"Go to the Previous Month"}function yHc(c,l,t){return(t??new et(l)).format(c,"cccc")}function VHc(c,l){return`Week ${c}`}function JHc(c){return"Week Number"}function hHc(c){return"Choose the Year"}var j0=u(M(),1);var yr=c=>c instanceof HTMLElement?c:null,sY=c=>[...c.querySelectorAll("[data-animated-month]")??[]],CHc=c=>yr(c.querySelector("[data-animated-month]")),xY=c=>yr(c.querySelector("[data-animated-caption]")),rY=c=>yr(c.querySelector("[data-animated-weeks]")),YHc=c=>yr(c.querySelector("[data-animated-nav]")),FHc=c=>yr(c.querySelector("[data-animated-weekdays]"));function Nq(c,l,{classNames:t,months:e,focused:b,dateLib:d}){let o=(0,j0.useRef)(null),n=(0,j0.useRef)(e),X=(0,j0.useRef)(!1);(0,j0.useLayoutEffect)(()=>{let G=n.current;if(n.current=e,!l||!c.current||!(c.current instanceof HTMLElement)||e.length===0||G.length===0||e.length!==G.length)return;let i=d.isSameMonth(e[0].date,G[0].date),a=d.isAfter(e[0].date,G[0].date),m=a?t[He.caption_after_enter]:t[He.caption_before_enter],s=a?t[He.weeks_after_enter]:t[He.weeks_before_enter],x=o.current,r=c.current.cloneNode(!0);if(r instanceof HTMLElement?(sY(r).forEach(R=>{if(!(R instanceof HTMLElement))return;let W=CHc(R);W&&R.contains(W)&&R.removeChild(W);let I=xY(R);I&&I.classList.remove(m);let p=rY(R);p&&p.classList.remove(s)}),o.current=r):o.current=null,X.current||i||b)return;let g=x instanceof HTMLElement?sY(x):[],H=sY(c.current);if(H&&H.every(Z=>Z instanceof HTMLElement)&&g&&g.every(Z=>Z instanceof HTMLElement)){X.current=!0;let Z=[];c.current.style.isolation="isolate";let R=YHc(c.current);R&&(R.style.zIndex="1"),H.forEach((W,I)=>{let p=g[I];if(!p)return;W.style.position="relative",W.style.overflow="hidden";let B=xY(W);B&&B.classList.add(m);let y=rY(W);y&&y.classList.add(s);let C=()=>{X.current=!1,c.current&&(c.current.style.isolation=""),R&&(R.style.zIndex=""),B&&B.classList.remove(m),y&&y.classList.remove(s),W.style.position="",W.style.overflow="",W.contains(p)&&W.removeChild(p)};Z.push(C),p.style.pointerEvents="none",p.style.position="absolute",p.style.overflow="hidden",p.setAttribute("aria-hidden","true");let V=FHc(p);V&&(V.style.opacity="0");let h=xY(p);h&&(h.classList.add(a?t[He.caption_before_exit]:t[He.caption_after_exit]),h.addEventListener("animationend",C));let Y=rY(p);Y&&Y.classList.add(a?t[He.weeks_before_exit]:t[He.weeks_after_exit]),W.insertBefore(p,W.firstChild)})}})}var Dq=u(M(),1);function fq(c,l,t,e){let b=c[0],d=c[c.length-1],{ISOWeek:o,fixedWeeks:n,broadcastCalendar:X}=t??{},{addDays:G,differenceInCalendarDays:i,differenceInCalendarMonths:a,endOfBroadcastWeek:m,endOfISOWeek:s,endOfMonth:x,endOfWeek:r,isAfter:g,startOfBroadcastWeek:H,startOfISOWeek:Z,startOfWeek:R}=e,W=X?H(b,e):o?Z(b):R(b),I=X?m(d):o?s(x(d)):r(x(d)),p=i(I,W),B=a(d,b)+1,y=[];for(let h=0;h<=p;h++){let Y=G(W,h);if(l&&g(Y,l))break;y.push(Y)}let V=(X?35:42)*B;if(n&&y.length<V){let h=V-y.length;for(let Y=0;Y<h;Y++){let N=G(y[y.length-1],1);y.push(N)}}return y}function Sq(c){let l=[];return c.reduce((t,e)=>{let b=e.weeks.reduce((d,o)=>[...d,...o.days],l);return[...t,...b]},l)}function kq(c,l,t,e){let{numberOfMonths:b=1}=t,d=[];for(let o=0;o<b;o++){let n=e.addMonths(c,o);if(l&&n>l)break;d.push(n)}return d}function gY(c,l){let{month:t,defaultMonth:e,today:b=l.today(),numberOfMonths:d=1,endMonth:o,startMonth:n}=c,X=t||e||b,{differenceInCalendarMonths:G,addMonths:i,startOfMonth:a}=l;if(o&&G(o,X)<0){let m=-1*(d-1);X=i(o,m)}return n&&G(X,n)<0&&(X=n),a(X)}function zq(c,l,t,e){let{addDays:b,endOfBroadcastWeek:d,endOfISOWeek:o,endOfMonth:n,endOfWeek:X,getISOWeek:G,getWeek:i,startOfBroadcastWeek:a,startOfISOWeek:m,startOfWeek:s}=e,x=c.reduce((r,g)=>{let H=t.broadcastCalendar?a(g,e):t.ISOWeek?m(g):s(g),Z=t.broadcastCalendar?d(g):t.ISOWeek?o(n(g)):X(n(g)),R=l.filter(B=>B>=H&&B<=Z),W=t.broadcastCalendar?35:42;if(t.fixedWeeks&&R.length<W){let B=l.filter(y=>{let C=W-R.length;return y>Z&&y<=b(Z,C)});R.push(...B)}let I=R.reduce((B,y)=>{let C=t.ISOWeek?G(y):i(y),V=B.find(Y=>Y.weekNumber===C),h=new T0(y,g,e);return V?V.days.push(h):B.push(new e5(C,[h])),B},[]),p=new t5(g,I);return r.push(p),r},[]);return t.reverseMonths?x.reverse():x}function Aq(c,l){let{startMonth:t,endMonth:e}=c,{startOfYear:b,startOfDay:d,startOfMonth:o,endOfMonth:n,addYears:X,endOfYear:G,newDate:i,today:a}=l,{fromYear:m,toYear:s,fromMonth:x,toMonth:r}=c;!t&&x&&(t=x),!t&&m&&(t=l.newDate(m,0,1)),!e&&r&&(e=r),!e&&s&&(e=i(s,11,31));let g=c.captionLayout==="dropdown"||c.captionLayout==="dropdown-years";return t?t=o(t):m?t=i(m,0,1):!t&&g&&(t=b(X(c.today??a(),-100))),e?e=n(e):s?e=i(s,11,31):!e&&g&&(e=G(c.today??a())),[t&&d(t),e&&d(e)]}function Oq(c,l,t,e){if(t.disableNavigation)return;let{pagedNavigation:b,numberOfMonths:d=1}=t,{startOfMonth:o,addMonths:n,differenceInCalendarMonths:X}=e,G=b?d:1,i=o(c);if(!l)return n(i,G);if(!(X(l,c)<d))return n(i,G)}function Qq(c,l,t,e){if(t.disableNavigation)return;let{pagedNavigation:b,numberOfMonths:d}=t,{startOfMonth:o,addMonths:n,differenceInCalendarMonths:X}=e,G=b?d??1:1,i=o(c);if(!l)return n(i,-G);if(!(X(i,l)<=0))return n(i,-G)}function wq(c){let l=[];return c.reduce((t,e)=>[...t,...e.weeks],l)}var Tq=u(M(),1);function OX(c,l){let[t,e]=(0,Tq.useState)(c);return[l===void 0?t:l,e]}function Lq(c,l){let[t,e]=Aq(c,l),{startOfMonth:b,endOfMonth:d}=l,o=gY(c,l),[n,X]=OX(o,c.month?o:void 0);(0,Dq.useEffect)(()=>{let p=gY(c,l);X(p)},[c.timeZone]);let G=kq(n,e,c,l),i=fq(G,c.endMonth?d(c.endMonth):void 0,c,l),a=zq(G,i,c,l),m=wq(a),s=Sq(a),x=Qq(n,t,c,l),r=Oq(n,e,c,l),{disableNavigation:g,onMonthChange:H}=c,Z=p=>m.some(B=>B.days.some(y=>y.isEqualTo(p))),R=p=>{if(g)return;let B=b(p);t&&B<b(t)&&(B=b(t)),e&&B>b(e)&&(B=b(e)),X(B),H?.(B)};return{months:a,weeks:m,days:s,navStart:t,navEnd:e,previousMonth:x,nextMonth:r,goToMonth:R,goToDay:p=>{Z(p)||R(p.date)}}}var HY=u(M(),1);var po;(function(c){c[c.Today=0]="Today",c[c.Selected=1]="Selected",c[c.LastFocused=2]="LastFocused",c[c.FocusedModifier=3]="FocusedModifier"})(po||(po={}));function Uq(c){return!c[ul.disabled]&&!c[ul.hidden]&&!c[ul.outside]}function jq(c,l,t,e){let b,d=-1;for(let o of c){let n=l(o);Uq(n)&&(n[ul.focused]&&d<po.FocusedModifier?(b=o,d=po.FocusedModifier):e?.isEqualTo(o)&&d<po.LastFocused?(b=o,d=po.LastFocused):t(o.date)&&d<po.Selected?(b=o,d=po.Selected):n[ul.today]&&d<po.Today&&(b=o,d=po.Today))}return b||(b=c.find(o=>Uq(l(o)))),b}function Eq(c,l,t,e,b,d,o){let{ISOWeek:n,broadcastCalendar:X}=d,{addDays:G,addMonths:i,addWeeks:a,addYears:m,endOfBroadcastWeek:s,endOfISOWeek:x,endOfWeek:r,max:g,min:H,startOfBroadcastWeek:Z,startOfISOWeek:R,startOfWeek:W}=o,p={day:G,week:a,month:i,year:m,startOfWeek:B=>X?Z(B,o):n?R(B):W(B),endOfWeek:B=>X?s(B):n?x(B):r(B)}[c](t,l==="after"?1:-1);return l==="before"&&e?p=g([e,p]):l==="after"&&b&&(p=H([b,p])),p}function ZY(c,l,t,e,b,d,o,n=0){if(n>365)return;let X=Eq(c,l,t.date,e,b,d,o),G=!!(d.disabled&&kb(X,d.disabled,o)),i=!!(d.hidden&&kb(X,d.hidden,o)),a=X,m=new T0(X,a,o);return!G&&!i?m:ZY(c,l,m,e,b,d,o,n+1)}function Mq(c,l,t,e,b){let{autoFocus:d}=c,[o,n]=(0,HY.useState)(),X=jq(l.days,t,e||(()=>!1),o),[G,i]=(0,HY.useState)(d?X:void 0);return{isFocusTarget:r=>!!X?.isEqualTo(r),setFocused:i,focused:G,blur:()=>{n(G),i(void 0)},moveFocus:(r,g)=>{if(!G)return;let H=ZY(r,g,G,l.navStart,l.navEnd,c,b);H&&(l.goToDay(H),i(H))}}}function Pq(c,l){let{selected:t,required:e,onSelect:b}=c,[d,o]=OX(t,b?t:void 0),n=b?t:d,{isSameDay:X}=l,G=s=>n?.some(x=>X(x,s))??!1,{min:i,max:a}=c;return{selected:n,select:(s,x,r)=>{let g=[...n??[]];if(G(s)){if(n?.length===i||e&&n?.length===1)return;g=n?.filter(H=>!X(H,s))}else n?.length===a?g=[s]:g=[...g,s];return b||o(g),b?.(g,s,x,r),g},isSelected:G}}function Kq(c,l,t=0,e=0,b=!1,d=ql){let{from:o,to:n}=l||{},{isSameDay:X,isAfter:G,isBefore:i}=d,a;if(!o&&!n)a={from:c,to:t>0?void 0:c};else if(o&&!n)X(o,c)?b?a={from:o,to:void 0}:a=void 0:i(c,o)?a={from:c,to:o}:a={from:o,to:c};else if(o&&n)if(X(o,c)&&X(n,c))b?a={from:o,to:n}:a=void 0;else if(X(o,c))a={from:o,to:t>0?void 0:c};else if(X(n,c))a={from:c,to:t>0?void 0:c};else if(i(c,o))a={from:c,to:n};else if(G(c,o))a={from:o,to:c};else if(G(c,n))a={from:o,to:c};else throw new Error("Invalid range");if(a?.from&&a?.to){let m=d.differenceInCalendarDays(a.to,a.from);e>0&&m>e?a={from:c,to:void 0}:t>1&&m<t&&(a={from:c,to:void 0})}return a}function _q(c,l,t=ql){let e=Array.isArray(l)?l:[l],b=c.from,d=t.differenceInCalendarDays(c.to,c.from),o=Math.min(d,6);for(let n=0;n<=o;n++){if(e.includes(b.getDay()))return!0;b=t.addDays(b,1)}return!1}function RY(c,l,t=ql){return Te(c,l.from,!1,t)||Te(c,l.to,!1,t)||Te(l,c.from,!1,t)||Te(l,c.to,!1,t)}function a5(c,l,t=ql){let e=Array.isArray(l)?l:[l];if(e.filter(n=>typeof n!="function").some(n=>typeof n=="boolean"?n:t.isDate(n)?Te(c,n,!1,t):X5(n,t)?n.some(X=>Te(c,X,!1,t)):D0(n)?n.from&&n.to?RY(c,{from:n.from,to:n.to},t):!1:n5(n)?_q(c,n.dayOfWeek,t):b5(n)?t.isAfter(n.before,n.after)?RY(c,{from:t.addDays(n.after,1),to:t.addDays(n.before,-1)},t):kb(c.from,n,t)||kb(c.to,n,t):d5(n)||o5(n)?kb(c.from,n,t)||kb(c.to,n,t):!1))return!0;let o=e.filter(n=>typeof n=="function");if(o.length){let n=c.from,X=t.differenceInCalendarDays(c.to,c.from);for(let G=0;G<=X;G++){if(o.some(i=>i(n)))return!0;n=t.addDays(n,1)}}return!1}function qq(c,l){let{disabled:t,excludeDisabled:e,selected:b,required:d,onSelect:o}=c,[n,X]=OX(b,o?b:void 0),G=o?b:n;return{selected:G,select:(m,s,x)=>{let{min:r,max:g}=c,H=m?Kq(m,G,r,g,d,l):void 0;return e&&t&&H?.from&&H.to&&a5({from:H.from,to:H.to},t,l)&&(H.from=m,H.to=void 0),o||X(H),o?.(H,m,s,x),H},isSelected:m=>G&&Te(G,m,!1,l)}}function $q(c,l){let{selected:t,required:e,onSelect:b}=c,[d,o]=OX(t,b?t:void 0),n=b?t:d,{isSameDay:X}=l;return{selected:n,select:(a,m,s)=>{let x=a;return!e&&n&&n&&X(a,n)&&(x=void 0),b||o(x),b?.(x,a,m,s),x},isSelected:a=>n?X(n,a):!1}}function c$(c,l){let t=$q(c,l),e=Pq(c,l),b=qq(c,l);switch(c.mode){case"single":return t;case"multiple":return e;case"range":return b;default:return}}function u5(c){let l=c;l.timeZone&&(l={...c},l.today&&(l.today=new _l(l.today,l.timeZone)),l.month&&(l.month=new _l(l.month,l.timeZone)),l.defaultMonth&&(l.defaultMonth=new _l(l.defaultMonth,l.timeZone)),l.startMonth&&(l.startMonth=new _l(l.startMonth,l.timeZone)),l.endMonth&&(l.endMonth=new _l(l.endMonth,l.timeZone)),l.mode==="single"&&l.selected?l.selected=new _l(l.selected,l.timeZone):l.mode==="multiple"&&l.selected?l.selected=l.selected?.map(pc=>new _l(pc,l.timeZone)):l.mode==="range"&&l.selected&&(l.selected={from:l.selected.from?new _l(l.selected.from,l.timeZone):void 0,to:l.selected.to?new _l(l.selected.to,l.timeZone):void 0}));let{components:t,formatters:e,labels:b,dateLib:d,locale:o,classNames:n}=(0,Vc.useMemo)(()=>{let pc={...Fb,...l.locale};return{dateLib:new et({locale:pc,weekStartsOn:l.broadcastCalendar?1:l.weekStartsOn,firstWeekContainsDate:l.firstWeekContainsDate,useAdditionalWeekYearTokens:l.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:l.useAdditionalDayOfYearTokens,timeZone:l.timeZone,numerals:l.numerals},l.dateLib),components:Iq(l.components),formatters:Vq(l.formatters),labels:{...mY,...l.labels},locale:pc,classNames:{...pq(),...l.classNames}}},[l.locale,l.broadcastCalendar,l.weekStartsOn,l.firstWeekContainsDate,l.useAdditionalWeekYearTokens,l.useAdditionalDayOfYearTokens,l.timeZone,l.numerals,l.dateLib,l.components,l.formatters,l.labels,l.classNames]),{captionLayout:X,mode:G,navLayout:i,numberOfMonths:a=1,onDayBlur:m,onDayClick:s,onDayFocus:x,onDayKeyDown:r,onDayMouseEnter:g,onDayMouseLeave:H,onNextClick:Z,onPrevClick:R,showWeekNumber:W,styles:I}=l,{formatCaption:p,formatDay:B,formatMonthDropdown:y,formatWeekNumber:C,formatWeekNumberHeader:V,formatWeekdayName:h,formatYearDropdown:Y}=e,N=Lq(l,d),{days:A,months:w,navStart:z,navEnd:f,previousMonth:L,nextMonth:v,goToMonth:K}=N,P=q8(A,l,d),{isSelected:oc,select:E,selected:dc}=c$(l,d)??{},{blur:j,focused:nc,isFocusTarget:Ic,moveFocus:Jc,setFocused:vc}=Mq(l,N,P,oc??(()=>!1),d),{labelDayButton:Ql,labelGridcell:Hl,labelGrid:gc,labelMonthDropdown:zc,labelNav:Fl,labelPrevious:Kt,labelNext:_t,labelWeekday:bt,labelWeekNumber:Zc,labelWeekNumberHeader:Cc,labelYearDropdown:ol}=b,Mc=(0,Vc.useMemo)(()=>Cq(d,l.ISOWeek),[d,l.ISOWeek]),dt=G!==void 0||s!==void 0,Nt=(0,Vc.useCallback)(()=>{L&&(K(L),R?.(L))},[L,K,R]),Re=(0,Vc.useCallback)(()=>{v&&(K(v),Z?.(v))},[K,v,Z]),De=(0,Vc.useCallback)((pc,Pc)=>Sc=>{Sc.preventDefault(),Sc.stopPropagation(),vc(pc),E?.(pc.date,Pc,Sc),s?.(pc.date,Pc,Sc)},[E,s,vc]),Ab=(0,Vc.useCallback)((pc,Pc)=>Sc=>{vc(pc),x?.(pc.date,Pc,Sc)},[x,vc]),Yn=(0,Vc.useCallback)((pc,Pc)=>Sc=>{j(),m?.(pc.date,Pc,Sc)},[j,m]),QX=(0,Vc.useCallback)((pc,Pc)=>Sc=>{let pt={ArrowLeft:["day",l.dir==="rtl"?"after":"before"],ArrowRight:["day",l.dir==="rtl"?"before":"after"],ArrowDown:["week","after"],ArrowUp:["week","before"],PageUp:[Sc.shiftKey?"year":"month","before"],PageDown:[Sc.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(pt[Sc.key]){Sc.preventDefault(),Sc.stopPropagation();let[nt,Ob]=pt[Sc.key];Jc(nt,Ob)}r?.(pc.date,Pc,Sc)},[Jc,r,l.dir]),wX=(0,Vc.useCallback)((pc,Pc)=>Sc=>{g?.(pc.date,Pc,Sc)},[g]),Fn=(0,Vc.useCallback)((pc,Pc)=>Sc=>{H?.(pc.date,Pc,Sc)},[H]),ot=(0,Vc.useCallback)(pc=>Pc=>{let Sc=Number(Pc.target.value),pt=d.setMonth(d.startOfMonth(pc),Sc);K(pt)},[d,K]),ft=(0,Vc.useCallback)(pc=>Pc=>{let Sc=Number(Pc.target.value),pt=d.setYear(d.startOfMonth(pc),Sc);K(pt)},[d,K]),{className:Bd,style:_0}=(0,Vc.useMemo)(()=>({className:[n[mc.Root],l.className].filter(Boolean).join(" "),style:{...I?.[mc.Root],...l.style}}),[n,l.className,l.style,I]),q0=Wq(l),Wt=(0,Vc.useRef)(null);Nq(Wt,!!l.animate,{classNames:n,months:w,focused:nc,dateLib:d});let St={dayPickerProps:l,selected:dc,select:E,isSelected:oc,months:w,nextMonth:v,previousMonth:L,goToMonth:K,getModifiers:P,components:t,classNames:n,styles:I,labels:b,formatters:e};return Vc.default.createElement(GY.Provider,{value:St},Vc.default.createElement(t.Root,{rootRef:l.animate?Wt:void 0,className:Bd,style:_0,dir:l.dir,id:l.id,lang:l.lang,nonce:l.nonce,title:l.title,role:l.role,"aria-label":l["aria-label"],...q0},Vc.default.createElement(t.Months,{className:n[mc.Months],style:I?.[mc.Months]},!l.hideNavigation&&!i&&Vc.default.createElement(t.Nav,{"data-animated-nav":l.animate?"true":void 0,className:n[mc.Nav],style:I?.[mc.Nav],"aria-label":Fl(),onPreviousClick:Nt,onNextClick:Re,previousMonth:L,nextMonth:v}),w.map((pc,Pc)=>{let Sc=Jq(pc.date,z,f,e,d),pt=Yq(z,f,e,d);return Vc.default.createElement(t.Month,{"data-animated-month":l.animate?"true":void 0,className:n[mc.Month],style:I?.[mc.Month],key:Pc,displayIndex:Pc,calendarMonth:pc},i==="around"&&!l.hideNavigation&&Pc===0&&Vc.default.createElement(t.PreviousMonthButton,{type:"button",className:n[mc.PreviousMonthButton],tabIndex:L?void 0:-1,"aria-disabled":L?void 0:!0,"aria-label":Kt(L),onClick:Nt,"data-animated-button":l.animate?"true":void 0},Vc.default.createElement(t.Chevron,{disabled:L?void 0:!0,className:n[mc.Chevron],orientation:l.dir==="rtl"?"right":"left"})),Vc.default.createElement(t.MonthCaption,{"data-animated-caption":l.animate?"true":void 0,className:n[mc.MonthCaption],style:I?.[mc.MonthCaption],calendarMonth:pc,displayIndex:Pc},X?.startsWith("dropdown")?Vc.default.createElement(t.DropdownNav,{className:n[mc.Dropdowns],style:I?.[mc.Dropdowns]},X==="dropdown"||X==="dropdown-months"?Vc.default.createElement(t.MonthsDropdown,{className:n[mc.MonthsDropdown],"aria-label":zc(),classNames:n,components:t,disabled:!!l.disableNavigation,onChange:ot(pc.date),options:Sc,style:I?.[mc.Dropdown],value:d.getMonth(pc.date)}):Vc.default.createElement("span",null,y(pc.date,d)),X==="dropdown"||X==="dropdown-years"?Vc.default.createElement(t.YearsDropdown,{className:n[mc.YearsDropdown],"aria-label":ol(d.options),classNames:n,components:t,disabled:!!l.disableNavigation,onChange:ft(pc.date),options:pt,style:I?.[mc.Dropdown],value:d.getYear(pc.date)}):Vc.default.createElement("span",null,Y(pc.date,d)),Vc.default.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},p(pc.date,d.options,d))):Vc.default.createElement(t.CaptionLabel,{className:n[mc.CaptionLabel],role:"status","aria-live":"polite"},p(pc.date,d.options,d))),i==="around"&&!l.hideNavigation&&Pc===a-1&&Vc.default.createElement(t.NextMonthButton,{type:"button",className:n[mc.NextMonthButton],tabIndex:v?void 0:-1,"aria-disabled":v?void 0:!0,"aria-label":_t(v),onClick:Re,"data-animated-button":l.animate?"true":void 0},Vc.default.createElement(t.Chevron,{disabled:v?void 0:!0,className:n[mc.Chevron],orientation:l.dir==="rtl"?"left":"right"})),Pc===a-1&&i==="after"&&!l.hideNavigation&&Vc.default.createElement(t.Nav,{"data-animated-nav":l.animate?"true":void 0,className:n[mc.Nav],style:I?.[mc.Nav],"aria-label":Fl(),onPreviousClick:Nt,onNextClick:Re,previousMonth:L,nextMonth:v}),Vc.default.createElement(t.MonthGrid,{role:"grid","aria-multiselectable":G==="multiple"||G==="range","aria-label":gc(pc.date,d.options,d)||void 0,className:n[mc.MonthGrid],style:I?.[mc.MonthGrid]},!l.hideWeekdays&&Vc.default.createElement(t.Weekdays,{"data-animated-weekdays":l.animate?"true":void 0,className:n[mc.Weekdays],style:I?.[mc.Weekdays]},W&&Vc.default.createElement(t.WeekNumberHeader,{"aria-label":Cc(d.options),className:n[mc.WeekNumberHeader],style:I?.[mc.WeekNumberHeader],scope:"col"},V()),Mc.map((nt,Ob)=>Vc.default.createElement(t.Weekday,{"aria-label":bt(nt,d.options,d),className:n[mc.Weekday],key:Ob,style:I?.[mc.Weekday],scope:"col"},h(nt,d.options,d)))),Vc.default.createElement(t.Weeks,{"data-animated-weeks":l.animate?"true":void 0,className:n[mc.Weeks],style:I?.[mc.Weeks]},pc.weeks.map((nt,Ob)=>Vc.default.createElement(t.Week,{className:n[mc.Week],key:nt.weekNumber,style:I?.[mc.Week],week:nt},W&&Vc.default.createElement(t.WeekNumber,{week:nt,style:I?.[mc.WeekNumber],"aria-label":Zc(nt.weekNumber,{locale:o}),className:n[mc.WeekNumber],scope:"row",role:"rowheader"},C(nt.weekNumber,d)),nt.days.map(Nl=>{let{date:Ie}=Nl,Dc=P(Nl);if(Dc[ul.focused]=!Dc.hidden&&!!nc?.isEqualTo(Nl),Dc[we.selected]=oc?.(Ie)||Dc.selected,D0(dc)){let{from:cm,to:lm}=dc;Dc[we.range_start]=!!(cm&&lm&&d.isSameDay(Ie,cm)),Dc[we.range_end]=!!(cm&&lm&&d.isSameDay(Ie,lm)),Dc[we.range_middle]=Te(dc,Ie,!0,d)}let $0=hq(Dc,I,l.modifiersStyles),y5=$8(Dc,n,l.modifiersClassNames),V5=!dt&&!Dc.hidden?Hl(Ie,Dc,d.options,d):void 0;return Vc.default.createElement(t.Day,{key:`${d.format(Ie,"yyyy-MM-dd")}_${d.format(Nl.displayMonth,"yyyy-MM")}`,day:Nl,modifiers:Dc,className:y5.join(" "),style:$0,role:"gridcell","aria-selected":Dc.selected||void 0,"aria-label":V5,"data-day":d.format(Ie,"yyyy-MM-dd"),"data-month":Nl.outside?d.format(Ie,"yyyy-MM"):void 0,"data-selected":Dc.selected||void 0,"data-disabled":Dc.disabled||void 0,"data-hidden":Dc.hidden||void 0,"data-outside":Nl.outside||void 0,"data-focused":Dc.focused||void 0,"data-today":Dc.today||void 0},!Dc.hidden&&dt?Vc.default.createElement(t.DayButton,{className:n[mc.DayButton],style:I?.[mc.DayButton],type:"button",day:Nl,modifiers:Dc,disabled:Dc.disabled||void 0,tabIndex:Ic(Nl)?0:-1,"aria-label":Ql(Ie,Dc,d.options,d),onClick:De(Nl,Dc),onBlur:Yn(Nl,Dc),onFocus:Ab(Nl,Dc),onKeyDown:QX(Nl,Dc),onMouseEnter:wX(Nl,Dc),onMouseLeave:Fn(Nl,Dc)},B(Ie,d.options,d)):!Dc.hidden&&B(Nl.date,d.options,d))}))))))})),l.footer&&Vc.default.createElement(t.Footer,{className:n[mc.Footer],style:I?.[mc.Footer],role:"status","aria-live":"polite"},l.footer)))}var b$=u(F(),1);var nb=u(J(),1),vHc=()=>(0,nb.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.7677",strokeDashoffset:"3.2",strokeWidth:"1",children:(0,nb.jsx)("path",{d:"M29.5,0.5 h-27 a2,2 0 0 0 -2,2 v27 a2,2 0 0 0 2,2 h27 a2,2 0 0 0 2,-2 v-27 a2,2 0 0 0 -2,-2"})}),NHc=()=>(0,nb.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.84516",strokeDashoffset:"1.9226",strokeWidth:"1",children:(0,nb.jsx)("path",{d:"M32,0.5 h-29.5 a2,2 0 0 0 -2,2 v27 a2,2 0 0 0 2,2 h30"})}),fHc=()=>(0,nb.jsxs)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.9 4",strokeDashoffset:"2",strokeWidth:"1",children:[(0,nb.jsx)("line",{x1:"0",y1:"0.5",x2:"100",y2:"0.5"}),(0,nb.jsx)("line",{x1:"0",y1:"31.5",x2:"100",y2:"31.5"})]}),SHc=()=>(0,nb.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeDasharray:"3.84516",strokeDashoffset:"1.9226",strokeWidth:"1",children:(0,nb.jsx)("path",{d:"M0,0.5 h29.5 a2,2 0 0 1 2,2 v27 a2,2 0 0 1 -2,2 h-29.5"})});function l$(c){let{day:l,modifiers:t,children:e,...b}=c,d;return t.preview_start&&t.preview_end?d=vHc:t.preview_start?d=NHc:t.preview_end?d=SHc:t.preview&&(d=fHc),(0,nb.jsxs)("td",{...b,children:[d&&(0,nb.jsx)(d,{}),e]})}var kHc={root:"components-calendar",day:"components-calendar__day",day_button:"components-calendar__day-button",outside:"components-calendar__day--outside",caption_label:"components-calendar__caption-label",button_next:"components-calendar__button-next",button_previous:"components-calendar__button-previous",chevron:"components-calendar__chevron",nav:"components-calendar__nav",month_caption:"components-calendar__month-caption",months:"components-calendar__months",month_grid:"components-calendar__month-grid",weekday:"components-calendar__weekday",today:"components-calendar__day--today",selected:"components-calendar__day--selected",disabled:"components-calendar__day--disabled",hidden:"components-calendar__day--hidden",range_start:"components-calendar__range-start",range_end:"components-calendar__range-end",range_middle:"components-calendar__range-middle",weeks_before_enter:"components-calendar__weeks-before-enter",weeks_before_exit:"components-calendar__weeks-before-exit",weeks_after_enter:"components-calendar__weeks-after-enter",weeks_after_exit:"components-calendar__weeks-after-exit",caption_after_enter:"components-calendar__caption-after-enter",caption_after_exit:"components-calendar__caption-after-exit",caption_before_enter:"components-calendar__caption-before-enter",caption_before_exit:"components-calendar__caption-before-exit"},t$={preview:"components-calendar__day--preview",preview_start:"components-calendar__day--preview-start",preview_end:"components-calendar__day--preview-end"},m5={animate:!0,showOutsideDays:!1,showWeekNumber:!1,hideWeekdays:!1,captionLayout:"label",fixedWeeks:!1,hideNavigation:!1,classNames:kHc,role:"application",components:{Day:l$}};function s5(c){return Math.min(3,Math.max(1,c))}var zb=u(Gc(),1),e$=u(F(),1);function zHc(c){let l=new Intl.Locale(c),t=l.getTextInfo?.().direction;return t?t==="rtl":["ar","he","fa","ur","ps","syr","dv","ku","yi"].includes(l.language)}var x5=({locale:c,timeZone:l,mode:t})=>(0,e$.useMemo)(()=>{let e=new Intl.DateTimeFormat(c.code,{year:"numeric",month:"long",timeZone:l}),b=new Intl.DateTimeFormat(c.code,{weekday:"narrow",timeZone:l}),d=new Intl.DateTimeFormat(c.code,{weekday:"long",timeZone:l}),o=new Intl.DateTimeFormat(c.code,{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:l});return{"aria-label":t==="single"?(0,zb.__)("Date calendar"):(0,zb.__)("Date range calendar"),labels:{labelGrid:n=>e.format(n),labelGridcell:(n,X)=>{let G=o.format(n),i=G;return X?.today&&(i=(0,zb.sprintf)((0,zb.__)("Today, %s"),G)),i},labelNext:()=>(0,zb.__)("Go to the Next Month"),labelPrevious:()=>(0,zb.__)("Go to the Previous Month"),labelDayButton:(n,X)=>{let G=o.format(n),i=G;return X?.today&&(i=(0,zb.sprintf)((0,zb.__)("Today, %s"),G)),X?.selected&&(i=(0,zb.sprintf)((0,zb.__)("%s, selected"),G)),i},labelWeekday:n=>d.format(n)},locale:c,dir:zHc(c.code)?"rtl":"ltr",formatters:{formatWeekdayName:n=>b.format(n),formatCaption:n=>e.format(n)},timeZone:l}},[c,l,t]);var d$=u(J(),1),IY=({defaultSelected:c,selected:l,onSelect:t,numberOfMonths:e=1,locale:b=Fb,timeZone:d,...o})=>{let n=x5({locale:b,timeZone:d,mode:"single"}),X=(0,b$.useCallback)((a,m,s,x)=>{t?.(a??void 0,m,s,x)},[t]),[G,i]=ee({defaultValue:c,value:l,onChange:X});return(0,d$.jsx)(u5,{...m5,...n,...o,mode:"single",numberOfMonths:s5(e),selected:G??void 0,onSelect:i})};var Ni=u(F(),1);var o$=u(J(),1);function AHc({selected:c,hoveredDate:l,excludeDisabled:t,min:e,max:b,disabled:d}){return(0,Ni.useMemo)(()=>{if(!l||!c?.from)return;let o,n;return l<c.from?(o={from:l,to:c.from},n={from:l,to:c.to??c.from}):c.to&&l>c.from&&l<c.to?(o={from:c.from,to:l},n={from:c.from,to:l}):l>c.from&&(o={from:c.to??c.from,to:l},n={from:c.from,to:l}),e!==void 0&&e>0&&n&&ai(n.to,n.from)<e&&(o={from:l,to:l}),b!==void 0&&b>0&&n&&ai(n.to,n.from)>b&&(o={from:l,to:l}),t&&d&&n&&a5(n,d)&&(o={from:l,to:l}),o},[c,l,t,e,b,d])}var WY=({defaultSelected:c,selected:l,onSelect:t,numberOfMonths:e=1,excludeDisabled:b,min:d,max:o,disabled:n,locale:X=Fb,timeZone:G,...i})=>{let a=x5({locale:X,timeZone:G,mode:"range"}),m=(0,Ni.useCallback)((R,W,I,p)=>{t?.(R??void 0,W,I,p)},[t]),[s,x]=ee({defaultValue:c,value:l,onChange:m}),[r,g]=(0,Ni.useState)(void 0),H=AHc({selected:s,hoveredDate:r,excludeDisabled:b,min:d,max:o,disabled:n}),Z=(0,Ni.useMemo)(()=>({preview:H,preview_start:H?.from,preview_end:H?.to}),[H]);return(0,o$.jsx)(u5,{...m5,...a,...i,mode:"range",numberOfMonths:s5(e),disabled:n,excludeDisabled:b,min:d,max:o,selected:s??void 0,onSelect:x,onDayMouseEnter:R=>g(R),onDayMouseLeave:()=>g(void 0),modifiers:Z,modifiersClassNames:t$})};var G$=u(ec(),1),r5=u(F(),1);var BY=u(Gc(),1),vt=u(F(),1);var Vr=u(J(),1);function pY({id:c,type:l,message:t}){let e={valid:Ps,invalid:Ls};return(0,Vr.jsxs)("p",{id:c,className:Q("components-validated-control__indicator",`is-${l}`),children:[l==="validating"?(0,Vr.jsx)(e0,{className:"components-validated-control__indicator-spinner"}):(0,Vr.jsx)(qc,{className:"components-validated-control__indicator-icon",icon:e[l],size:16,fill:"currentColor"}),t]})}var Cn=u(J(),1);function OHc(c,l,t){let e;return l&&!t?e=`(${(0,BY.__)("Required")})`:!l&&t&&(e=`(${(0,BY.__)("Optional")})`),e?typeof c=="string"?`${c} ${e}`:(0,Cn.jsxs)(Cn.Fragment,{children:[c," ",e]}):c}var n$="data-validity-visible",X$="components-validated-control";function QHc({required:c,markWhenOptional:l,customValidity:t,getValidityTarget:e,children:b},d){let[o,n]=(0,vt.useState)(),[X,G]=(0,vt.useState)(),[i,a]=(0,vt.useState)(!1),[m,s]=(0,vt.useState)(!1);(0,vt.useEffect)(()=>{let Z=e(),R=()=>{a(!0),Z?.setAttribute(n$,"")};return Z?.addEventListener("invalid",R),()=>Z?.removeEventListener("invalid",R)},[e]),(0,vt.useEffect)(()=>{let Z=e(),R=I=>{I.preventDefault();let p=I.target,B=Array.from(p.form?.elements??[]).find(y=>!y.validity.valid);(!p.form||B===p)&&p.focus()},W=Z?.type==="radio"&&Z?.name?Array.from(Z?.closest(`.${X$}`)?.querySelectorAll(`input[type="radio"][name="${Z?.name}"]`)??[]).filter(I=>I!==Z):[];return Z?.addEventListener("invalid",R),W.forEach(I=>I.addEventListener("invalid",R)),()=>{Z?.removeEventListener("invalid",R),W.forEach(I=>I.removeEventListener("invalid",R))}},[e]),(0,vt.useEffect)(()=>{let Z=e();if(!t?.type){Z?.setCustomValidity(""),n(Z?.validationMessage),G(void 0);return}switch(t.type){case"validating":{Z?.setCustomValidity(""),n(void 0),G({type:"validating",message:t.message});break}case"valid":{Z?.setCustomValidity(""),n(Z?.validationMessage),G({type:"valid",message:t.message});break}case"invalid":{Z?.setCustomValidity(t.message??""),n(Z?.validationMessage),G(void 0);break}}},[t,e]),(0,vt.useEffect)(()=>{if(!(!m||i)){if(t?.type==="validating"){let Z=setTimeout(()=>{a(!0)},1e3);return()=>clearTimeout(Z)}a(!0)}},[m,t?.type,i]);let x=Z=>{m||(!Z.relatedTarget||!Z.currentTarget.contains(Z.relatedTarget))&&(s(!0),e()?.setAttribute(n$,""))},r=(0,vt.useId)(),g=o?(0,Cn.jsx)(pY,{id:r,type:"invalid",message:o}):X?.type?(0,Cn.jsx)(pY,{id:r,type:X.type,message:X.message}):null,H=i?g:null;return(0,vt.useEffect)(()=>{let Z=e();if(!Z)return;function R(W,I){let p=(W.getAttribute("aria-describedby")??"").split(" ").filter(B=>B&&B!==r);I&&p.push(r),p.length?W.setAttribute("aria-describedby",p.join(" ")):W.removeAttribute("aria-describedby")}return R(Z,!!H),()=>R(Z,!1)},[H,r,e]),(0,Cn.jsxs)("div",{className:X$,ref:d,onBlur:x,children:[(0,vt.cloneElement)(b,{label:OHc(b.props.label,c,l),required:c}),(0,Cn.jsx)("div",{"aria-live":"polite",children:H})]})}var Yl=(0,vt.forwardRef)(QHc);Yl.displayName="ControlWithError";var yY=u(J(),1),wHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,r5.useRef)(null),o=(0,G$.useMergeRefs)([b,d]);return(0,yY.jsx)(Yl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>d.current?.querySelector('input[type="checkbox"]'),children:(0,yY.jsx)(FW,{...e})})},VY=(0,r5.forwardRef)(wHc);VY.displayName="ValidatedCheckboxControl";var i$=u(ec(),1),E0=u(F(),1);var JY=u(J(),1),THc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,E0.useRef)(null),o=(0,i$.useMergeRefs)([b,d]);return(0,E0.useEffect)(()=>{let n=d.current?.querySelector('input[role="combobox"]');n&&(n.required=c??!1)},[c]),(0,JY.jsx)(Yl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>d.current?.querySelector('input[role="combobox"]'),children:(0,JY.jsx)(qW,{__next40pxDefaultSize:!0,...e})})},hY=(0,E0.forwardRef)(THc);hY.displayName="ValidatedComboboxControl";var g5=u(F(),1);var M0=u(J(),1),DHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,g5.useRef)(null);return(0,M0.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",ref:b,children:[(0,M0.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,M0.jsx)(Jp,{__next40pxDefaultSize:!0,...e})}),(0,M0.jsx)("input",{className:"components-validated-control__error-delegate",type:"text",ref:d,required:c,value:e.value&&e.value.length>0?"hasvalue":"",tabIndex:-1,onChange:()=>{},onFocus:o=>{o.target.previousElementSibling?.querySelector('input[type="text"]')?.focus()}})]})},CY=(0,g5.forwardRef)(DHc);CY.displayName="ValidatedFormTokenField";var Z5=u(F(),1),a$=u(ec(),1);var YY=u(J(),1),LHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,Z5.useRef)(null),o=(0,a$.useMergeRefs)([b,d]);return(0,YY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,YY.jsx)(Pd,{__next40pxDefaultSize:!0,ref:o,...e})})},FY=(0,Z5.forwardRef)(LHc);FY.displayName="ValidatedInputControl";var H5=u(F(),1),u$=u(ec(),1);var vY=u(J(),1),UHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,H5.useRef)(null),o=(0,u$.useMergeRefs)([b,d]);return(0,vY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,vY.jsx)(Ct,{__next40pxDefaultSize:!0,ref:o,...e})})},NY=(0,H5.forwardRef)(UHc);NY.displayName="ValidatedNumberControl";var m$=u(ec(),1),R5=u(F(),1);var fY=u(J(),1),jHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,R5.useRef)(null),o=(0,m$.useMergeRefs)([b,d]);return(0,fY.jsx)(Yl,{required:c,markWhenOptional:t,ref:o,customValidity:l,getValidityTarget:()=>d.current?.querySelector('input[type="radio"]'),children:(0,fY.jsx)(Ep,{...e})})},SY=(0,R5.forwardRef)(jHc);SY.displayName="ValidatedRadioControl";var I5=u(F(),1),s$=u(ec(),1);var kY=u(J(),1),EHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,I5.useRef)(null),o=(0,s$.useMergeRefs)([b,d]);return(0,kY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,kY.jsx)(Bb,{__next40pxDefaultSize:!0,ref:o,...e})})},zY=(0,I5.forwardRef)(EHc);zY.displayName="ValidatedSelectControl";var x$=u(ec(),1),W5=u(F(),1);var AY=u(J(),1),MHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,W5.useRef)(null),o=(0,x$.useMergeRefs)([b,d]);return(0,AY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,AY.jsx)(iB,{ref:o,...e})})},OY=(0,W5.forwardRef)(MHc);OY.displayName="ValidatedTextControl";var p5=u(F(),1),r$=u(ec(),1);var QY=u(J(),1),PHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,p5.useRef)(null),o=(0,r$.useMergeRefs)([b,d]);return(0,QY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,QY.jsx)(aB,{ref:o,...e})})},wY=(0,p5.forwardRef)(PHc);wY.displayName="ValidatedTextareaControl";var B5=u(F(),1),g$=u(ec(),1);var TY=u(J(),1),KHc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,B5.useRef)(null),o=(0,g$.useMergeRefs)([b,d]);return(0,TY.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,TY.jsx)(uB,{ref:o,required:c,...e})})},DY=(0,B5.forwardRef)(KHc);DY.displayName="ValidatedToggleControl";var K0=u(F(),1);var P0=u(J(),1),_Hc=({required:c,customValidity:l,markWhenOptional:t,...e},b)=>{let d=(0,K0.useRef)(null),o=(0,K0.useId)();return(0,P0.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",children:[(0,P0.jsx)(Yl,{required:c,markWhenOptional:t,customValidity:l,getValidityTarget:()=>d.current,children:(0,P0.jsx)(Wb,{__next40pxDefaultSize:!0,ref:b,...e})}),(0,P0.jsx)("input",{className:"components-validated-control__error-delegate",type:"radio",ref:d,required:c,checked:e.value!==void 0,tabIndex:-1,name:o,onChange:()=>{},onFocus:n=>{n.target.previousElementSibling?.querySelector('[data-active-item="true"]')?.focus()}})]})},LY=(0,K0.forwardRef)(_Hc);LY.displayName="ValidatedToggleGroupControl";var UY={};mw(UY,{__experimentalPopoverLegacyPositionToPlacement:tX,ComponentsContext:zs,Tabs:U8,Theme:y8,Menu:H8,kebabCase:HI,withIgnoreIMEEvents:Hb,Badge:j8,normalizeTextString:ux,DateCalendar:IY,DateRangeCalendar:WY,TZDate:_l,useDrag:tI,ValidatedInputControl:FY,ValidatedCheckboxControl:VY,ValidatedComboboxControl:hY,ValidatedNumberControl:NY,ValidatedSelectControl:zY,ValidatedRadioControl:SY,ValidatedTextControl:OY,ValidatedTextareaControl:wY,ValidatedToggleControl:DY,ValidatedToggleGroupControl:LY,ValidatedFormTokenField:CY});return KY(qHc);})(); | |
| 183 | + );}}`),qae=q(Nu,{target:"enfox0g3"})("&{border-radius:0;background:transparent;border:none;box-shadow:none;flex:1 0 auto;white-space:nowrap;display:flex;align-items:center;cursor:pointer;line-height:1.2;font-family:",_o("default.fontFamily"),";font-weight:400;font-size:",_o("default.fontSize"),";color:",oe.theme.foreground,";position:relative;&[aria-disabled='true']{cursor:default;color:",oe.ui.textDisabled,";}&:not( [aria-disabled='true'] ):is( :hover, [data-focus-visible] ){color:",oe.theme.foreground,";}&:focus:not( :disabled ){box-shadow:none;outline:none;}&::after{position:absolute;pointer-events:none;outline:var( --wp-admin-border-width-focus ) solid ",oe.theme.accent,";border-radius:",de.radiusSmall,";opacity:0;@media not ( prefers-reduced-motion ){transition:opacity 0.1s linear;}}&[data-focus-visible]::after{opacity:1;}}[aria-orientation='horizontal'] &{padding-inline:",K(4),";height:",K(12),";scroll-margin:24px;&::after{content:'';inset:",K(3),";}}[aria-orientation='vertical'] &{padding:",K(2)," ",K(3),";min-height:",K(10),";&[aria-selected='true']{fill:currentColor;}}[aria-orientation='vertical'][data-select-on-move='false'] &::after{content:'';inset:var( --wp-admin-border-width-focus );}"),$ae=q("span",{target:"enfox0g2"})({name:"9at4z3",styles:"flex-grow:1;display:flex;align-items:center;[aria-orientation='horizontal'] &{justify-content:center;}[aria-orientation='vertical'] &{justify-content:start;}"}),ese=q(Ot,{target:"enfox0g1"})("flex-shrink:0;margin-inline-end:",K(-1),";[aria-orientation='horizontal'] &{display:none;}opacity:0;[role='tab']:is( [aria-selected='true'], [data-focus-visible], :hover ) &{opacity:1;}@media not ( prefers-reduced-motion ){[data-select-on-move='true'] [role='tab']:is( [aria-selected='true'], ) &{transition:opacity 0.15s 0.15s linear;}}&:dir( rtl ){rotate:180deg;}"),tse=q(zu,{target:"enfox0g0"})("&:focus{box-shadow:none;outline:none;}&[data-focus-visible]{box-shadow:0 0 0 var( --wp-admin-border-width-focus ) ",oe.theme.accent,";outline:2px solid transparent;outline-offset:0;}");var mR=u(F(),1),nse=(0,cse.forwardRef)(function({children:t,tabId:c,disabled:n,render:l,...o},d){let{store:i,instanceId:r}=LX()??{};if(!i)return null;let a=`${r}-${c}`;return(0,mR.jsxs)(qae,{ref:d,store:i,id:a,disabled:n,render:l,...o,children:[(0,mR.jsx)($ae,{children:t}),(0,mR.jsx)(ese,{icon:bV})]})});var j_t=u(En(),1),DX=u(T(),1),dse=u(me(),1);var xu=u(T(),1),lse=u(me(),1);function ose(e,t){let[c,n]=(0,xu.useState)(!1),[l,o]=(0,xu.useState)(!1),[d,i]=(0,xu.useState)(),r=(0,lse.useEvent)(a=>{for(let s of a)s.target===t.first&&n(!s.isIntersecting),s.target===t.last&&o(!s.isIntersecting)});return(0,xu.useEffect)(()=>{if(!e||!window.IntersectionObserver)return;let a=new IntersectionObserver(r,{root:e,threshold:.9});return i(a),()=>a.disconnect()},[r,e]),(0,xu.useEffect)(()=>{if(d)return t.first&&d.observe(t.first),t.last&&d.observe(t.last),()=>{t.first&&d.unobserve(t.first),t.last&&d.unobserve(t.last)}},[t.first,t.last,d]),{first:c,last:l}}var Bw=u(F(),1),nJe=24;function lJe(e,t,{margin:c=nJe}={}){(0,DX.useLayoutEffect)(()=>{if(!e||!t)return;let{scrollLeft:n}=e,l=e.getBoundingClientRect().width,{left:o,width:d}=t,i=n+l,a=o+d+c-i,s=n-(o-c),b=null;s>0?b=n-s:a>0&&(b=n+a),b!==null&&e.scroll?.({left:b})},[c,e,t])}var ise=(0,DX.forwardRef)(function({children:t,...c},n){let{store:l}=LX()??{},o=$(l,"selectedId"),d=$(l,"selectOnMove"),i=$(l,"items"),[r,a]=(0,DX.useState)(),s=(0,dse.useMergeRefs)([n,a]),b=l?.item(o),m=$(l,"renderedItems"),X=m&&b?m.indexOf(b):-1,G=Ly(b?.element,[X]),g=ose(r,{first:i?.at(0)?.element,last:i?.at(-1)?.element});return _y(r,G,{prefix:"selected",dataAttribute:"indicator-animated",transitionEndFilter:x=>x.pseudoElement==="::before",roundRect:!0}),lJe(r,G),l?(0,Bw.jsx)(Kae,{ref:s,store:l,render:x=>(0,Bw.jsx)("div",{...x,tabIndex:x.tabIndex??-1}),"data-select-on-move":d?"true":"false",...c,className:w(g.first&&"is-overflowing-first",g.last&&"is-overflowing-last",c.className),children:t}):null});var rse=u(T(),1),njt=u(En(),1);var ase=u(F(),1),sse=(0,rse.forwardRef)(function({children:t,tabId:c,focusable:n=!0,...l},o){let d=LX(),i=$(d?.store,"selectedId");if(!d)return null;let{store:r,instanceId:a}=d,s=`${a}-${c}`;return(0,ase.jsx)(tse,{ref:o,store:r,id:`${s}-view`,tabId:s,focusable:n,...l,children:i===s&&t})});var Gse=u(F(),1);function YB(e,t){return e&&`${t}-${e}`}function bse(e,t){return typeof e=="string"?e.replace(`${t}-`,""):e}var gse=Object.assign(function e({selectOnMove:t=!0,defaultTabId:c,orientation:n="horizontal",onSelect:l,children:o,selectedTabId:d,activeTabId:i,defaultActiveTabId:r,onActiveTabIdChange:a}){let s=(0,use.useInstanceId)(e,"tabs"),b=Ou({selectOnMove:t,orientation:n,defaultSelectedId:YB(c,s),setSelectedId:X=>{l?.(bse(X,s))},selectedId:YB(d,s),defaultActiveId:YB(r,s),setActiveId:X=>{a?.(bse(X,s))},activeId:YB(i,s),rtl:(0,Xse.isRTL)()}),m=(0,mse.useMemo)(()=>({store:b,instanceId:s}),[b,s]);return(0,Gse.jsx)(uR.Provider,{value:m,children:o})},{Tab:Object.assign(nse,{displayName:"Tabs.Tab"}),TabList:Object.assign(ise,{displayName:"Tabs.TabList"}),TabPanel:Object.assign(sse,{displayName:"Tabs.TabPanel"}),Context:Object.assign(uR,{displayName:"Tabs.Context"})});var _X=u(F(),1);function oJe(e="default"){switch(e){case"info":return RV;case"success":return $g;case"warning":return dV;case"error":return Dg;default:return null}}function dJe({className:e,intent:t="default",children:c,...n}){let l=oJe(t),o=!!l;return(0,_X.jsx)("span",{className:w("components-badge",e,{[`is-${t}`]:t,"has-icon":o}),...n,children:(0,_X.jsxs)("span",{className:"components-badge__flex-wrapper",children:[o&&(0,_X.jsx)(Ot,{icon:l,size:16,fill:"currentColor",className:"components-badge__icon"}),(0,_X.jsx)("span",{className:"components-badge__content",children:c})]})})}var xse=dJe;var NB=u(T(),1),pse=u(me(),1),Rse=u(Xt(),1);var vw=u(F(),1),iJe=({required:e,customValidity:t,markWhenOptional:c,...n},l)=>{(0,Rse.default)("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."});let o=(0,NB.useRef)(null),d=(0,pse.useMergeRefs)([l,o]);return(0,vw.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>o.current,children:(0,vw.jsx)(_d,{ref:d,...n})})},Vw=(0,NB.forwardRef)(iJe);Vw.displayName="ValidatedInputControl";var kB=u(T(),1);var Hse=u(me(),1),SB=u(T(),1);var jX=u(F(),1),Cw="data-wp-hash";function Fw(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&aJe(document)),e.__wpStyleRuntime}function rJe(e,t){if(!e.head)return!1;for(let c of e.head.querySelectorAll(`style[${Cw}]`))if(c.getAttribute(Cw)===t)return!0;return!1}function Ise(e,t,c){if(!e.head)return;let n=Fw(),l=n.injectedStyles.get(e);if(l||(l=new Set,n.injectedStyles.set(e,l)),l.has(t))return;if(rJe(e,t)){l.add(t);return}let o=e.createElement("style");o.setAttribute(Cw,t),o.appendChild(e.createTextNode(c)),e.head.appendChild(o),l.add(t)}function aJe(e){let t=Fw();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[c,n]of t.styles)Ise(e,c,n);return()=>{let c=t.documents.get(e);if(c!==void 0){if(c<=1){t.documents.delete(e);return}t.documents.set(e,c-1)}}}function sJe(e,t){let c=Fw();c.styles.set(e,t);for(let n of c.documents.keys())Ise(n,e,t)}typeof process>"u",sJe("284f47c8a8","._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]){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 bJe={editable:"_0f130cee1a924516__editable"};function uJe({label:e,id:t,className:c,help:n,hideLabelFromVision:l,disabled:o,required:d,placeholder:i,...r},a){let{baseControlProps:s,controlProps:b}=Xb({id:t,className:c,help:n}),m=`${b.id}__label`,X=(0,SB.useRef)(null),G=(0,Hse.useMergeRefs)([X,a]);return(0,jX.jsxs)(at,{...s,children:[l?(0,jX.jsx)(bt,{id:m,children:e}):(0,jX.jsx)(at.VisualLabel,{id:m,onClick:()=>X.current?.focus(),children:e}),(0,jX.jsx)("div",{className:bJe.editable,role:"textbox","aria-multiline":!0,"aria-labelledby":m,"aria-placeholder":i||void 0,"aria-disabled":o||void 0,"aria-required":d||void 0,ref:G,contentEditable:!o,suppressContentEditableWarning:!0,...r,...b})]})}var mJe=(0,SB.forwardRef)(uJe),wB=mJe;var MX=u(F(),1),XJe=({required:e,customValidity:t,markWhenOptional:c,value:n,className:l,...o},d)=>{let i=(0,kB.useRef)(null);return(0,MX.jsxs)("div",{className:"components-validated-control__wrapper-with-error-delegate",children:[(0,MX.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>i.current,children:(0,MX.jsx)(wB,{ref:d,className:w("components-validated-control__content-editable",l),"aria-invalid":t?.type==="invalid"||void 0,...o})}),(0,MX.jsx)("input",{className:"components-validated-control__error-delegate",type:"text",ref:i,required:e,value:n?.trim()??"",tabIndex:-1,onChange:()=>{},onFocus:r=>{r.target.previousElementSibling?.querySelector('[role="textbox"]')?.focus()}})]})},Jw=(0,kB.forwardRef)(XJe);Jw.displayName="ValidatedContentEditableControl";var zB=u(T(),1),Zse=u(me(),1),fse=u(Xt(),1);var Yw=u(F(),1),GJe=({required:e,customValidity:t,markWhenOptional:c,...n},l)=>{(0,fse.default)("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."});let o=(0,zB.useRef)(null),d=(0,Zse.useMergeRefs)([l,o]);return(0,Yw.jsx)(es,{className:"components-validated-control",required:e,markWhenOptional:c,customValidity:t,getValidityTarget:()=>o.current,children:(0,Yw.jsx)(O1,{ref:d,...n})})},Nw=(0,zB.forwardRef)(GJe);Nw.displayName="ValidatedTextareaControl";var Sw={};Fj(Sw,{ContentEditableControl:wB,__experimentalPopoverLegacyPositionToPlacement:sa,ComponentsContext:Sg,Tabs:gse,Menu:Pae,Badge:xse,useDrag:sy,ValidatedInputControl:Vw,ValidatedContentEditableControl:Jw,ValidatedTextareaControl:Nw});return Aw(gJe);})(); | |
| 149 | 184 | /*! Bundled license information: |
| 150 | 185 | |
| 151 | 186 | use-sync-external-store/cjs/use-sync-external-store-shim.production.js: |
| 152 | 187 | (** |
| @@ -168,8 +203,19 @@ | ||
| 168 | 203 | * This source code is licensed under the MIT license found in the |
| 169 | 204 | * LICENSE file in the root directory of this source tree. |
| 170 | 205 | *) |
| 171 | 206 | |
| 207 | +use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js: | |
| 208 | + (** | |
| 209 | + * @license React | |
| 210 | + * use-sync-external-store-shim/with-selector.production.js | |
| 211 | + * | |
| 212 | + * Copyright (c) Meta Platforms, Inc. and affiliates. | |
| 213 | + * | |
| 214 | + * This source code is licensed under the MIT license found in the | |
| 215 | + * LICENSE file in the root directory of this source tree. | |
| 216 | + *) | |
| 217 | + | |
| 172 | 218 | is-plain-object/dist/is-plain-object.mjs: |
| 173 | 219 | (*! |
| 174 | 220 | * is-plain-object <https://github.com/jonschlinkert/is-plain-object> |
| 175 | 221 | * |
| @@ -176,5 +222,7 @@ | ||
| 176 | 222 | * Copyright (c) 2014-2017, Jon Schlinkert. |
| 177 | 223 | * Released under the MIT License. |
| 178 | 224 | *) |
| 179 | 225 | */ |
| 226 | +(window.wp ||= {}).components = wp.components; | |
| 227 | +})(); | |
| 180 | 228 | //# sourceMappingURL=index.min.js.map |