9 lines
No EOL
874 KiB
JavaScript
9 lines
No EOL
874 KiB
JavaScript
/*! For license information please see automation_analytics.js.LICENSE.txt */
|
||
(self.webpackChunk=self.webpackChunk||[]).push([[188],{1555:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,a=(r={},function(e){return void 0===r[e]&&(r[e]=(t=e,o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),r[e];var t})},43047:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollOffset:function(){return Ge},animate:function(){return be},animateStyle:function(){return se},createAnimate:function(){return ge},createMotionState:function(){return _t},createStyleString:function(){return Et},createStyles:function(){return wt},getAnimationData:function(){return T},getStyleName:function(){return re},glide:function(){return Ne},inView:function(){return Le},mountedStates:function(){return yt},resize:function(){return Fe},scroll:function(){return at},spring:function(){return Ie},stagger:function(){return ve},style:function(){return oe},timeline:function(){return Ce},withControls:function(){return fe}});const r={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},o=()=>{},a=e=>e,i=e=>"object"==typeof e&&Boolean(e.createAnimation),l=e=>"number"==typeof e,s=e=>Array.isArray(e)&&!l(e[0]),u=(e,t,n)=>-n*e+n*t+e,c=(e,t,n)=>t-e==0?1:(n-e)/(t-e);function d(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=c(0,t,r);e.push(u(n,1,o))}}function f(e){const t=[0];return d(t,e-1),t}const m=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function p(e,t){return s(e)?e[m(0,e.length,t)]:e}const v=(e,t,n)=>Math.min(Math.max(n,e),t);function h(e,t=f(e.length),n=a){const r=e.length,o=r-t.length;return o>0&&d(t,o),o=>{let a=0;for(;a<r-2&&!(o<t[a+1]);a++);let i=v(0,1,c(t[a],t[a+1],o));return i=p(n,a)(i),u(e[a],e[a+1],i)}}const g=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,b=1e-7,y=12;function _(e,t,n,r){if(e===t&&n===r)return a;return o=>0===o||1===o?o:g(function(e,t,n,r,o){let a,i,l=0;do{i=t+(n-t)/2,a=g(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>b&&++l<y);return i}(o,0,1,e,n),t,r)}const w=(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return v(0,1,o/e)},x=e=>"function"==typeof e,C=e=>Array.isArray(e)&&l(e[0]),E={ease:_(.25,.1,.25,1),"ease-in":_(.42,0,1,1),"ease-in-out":_(.42,0,.58,1),"ease-out":_(0,0,.58,1)},O=/\((.*?)\)/;function S(e){if(x(e))return e;if(C(e))return _(...e);if(E[e])return E[e];if(e.startsWith("steps")){const t=O.exec(e);if(t){const e=t[1].split(",");return w(parseFloat(e[0]),e[1].trim())}}return a}class M{constructor(e,t=[0,1],{easing:n,duration:o=r.duration,delay:l=r.delay,endDelay:u=r.endDelay,repeat:c=r.repeat,offset:d,direction:f="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=a,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),n=n||r.easing,i(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,o=e.duration||o}this.repeat=c,this.easing=s(n)?a:S(n),this.updateDuration(o);const m=h(t,d,s(n)?n.map(S):a);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-l,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const o=r/this.duration;let a=Math.floor(o),i=o%1;!i&&o>=1&&(i=1),1===i&&a--;const s=a%2;("reverse"===f||"alternate"===f&&s||"alternate-reverse"===f&&!s)&&(i=1-i);const c=r>=this.totalDuration?1:Math.min(i,1),d=m(this.easing(c));e(d),void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+u)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,d)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}var P=n(37265);class k{setAnimation(e){this.animation=e,null==e||e.finished.then((()=>this.clearAnimation())).catch((()=>{}))}clearAnimation(){this.animation=this.generator=void 0}}const j=new WeakMap;function T(e){return j.has(e)||j.set(e,{transforms:[],values:new Map}),j.get(e)}function I(e,t){-1===e.indexOf(t)&&e.push(t)}function N(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const R=["","X","Y","Z"],L={x:"translateX",y:"translateY",z:"translateZ"},D={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},V={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:D,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:a},skew:D},B=new Map,A=e=>`--motion-${e}`,z=["x","y","z"];["translate","scale","rotate","skew"].forEach((e=>{R.forEach((t=>{z.push(e+t),B.set(A(e+t),V[e])}))}));const H=(e,t)=>z.indexOf(e)-z.indexOf(t),F=new Set(z),W=e=>F.has(e),Z=(e,t)=>{L[t]&&(t=L[t]);const{transforms:n}=T(e);I(n,t),e.style.transform=$(n)},$=e=>e.sort(H).reduce(U,"").trim(),U=(e,t)=>`${e} ${t}(var(${A(t)}))`,G=e=>e.startsWith("--"),Y=new Set,q={ms:e=>1e3*e,s:e=>e/1e3},K=(e,t)=>document.createElement("div").animate(e,t),X={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{K({opacity:[1]})}catch(e){return!1}return!0},finished:()=>Boolean(K({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{K({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}},Q={},J={};for(const e in X)J[e]=()=>(void 0===Q[e]&&(Q[e]=X[e]()),Q[e]);const ee=(e,t)=>x(e)?J.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let t=0;t<r;t++)n+=e(c(0,r-1,t))+", ";return n.substring(0,n.length-2)})(e,t)})`:r.easing:C(e)?te(e):e,te=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ne=e=>Array.isArray(e)?e:[e];function re(e){return L[e]&&(e=L[e]),W(e)?A(e):e}const oe={get:(e,t)=>{t=re(t);let n=G(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=B.get(t);e&&(n=e.initialValue)}return n},set:(e,t,n)=>{t=re(t),G(t)?e.style.setProperty(t,n):e.style[t]=n}};function ae(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(e){}}const ie=e=>"string"==typeof e;function le(e,t){var n;let r=(null==t?void 0:t.toDefaultUnit)||a;const o=e[e.length-1];if(ie(o)){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}function se(e,t,n,a={},u){const c=window.__MOTION_DEV_TOOLS_RECORD,d=!1!==a.record&&c;let f,{duration:m=r.duration,delay:p=r.delay,endDelay:v=r.endDelay,repeat:h=r.repeat,easing:g=r.easing,persist:b=!1,direction:y,offset:_,allowWebkitAcceleration:w=!1}=a;const C=T(e),E=W(t);let O=J.waapi();E&&Z(e,t);const S=re(t),M=function(e,t){return e.has(t)||e.set(t,new k),e.get(t)}(C.values,S),P=B.get(S);return ae(M.animation,!(i(g)&&M.generator)&&!1!==a.record),()=>{const r=()=>{var t,n;return null!==(n=null!==(t=oe.get(e,S))&&void 0!==t?t:null==P?void 0:P.initialValue)&&void 0!==n?n:0};let C=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}(ne(n),r);const k=le(C,P);if(i(g)){const e=g.createAnimation(C,"opacity"!==t,r,S,M);g=e.easing,C=e.keyframes||C,m=e.duration||m}if(G(S)&&(J.cssRegisterProperty()?function(e){if(!Y.has(e)){Y.add(e);try{const{syntax:t,initialValue:n}=B.has(e)?B.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(e){}}}(S):O=!1),E&&!J.linearEasing()&&(x(g)||s(g)&&g.some(x))&&(O=!1),O){P&&(C=C.map((e=>l(e)?P.toDefaultUnit(e):e))),1!==C.length||J.partialKeyframes()&&!d||C.unshift(r());const t={delay:q.ms(p),duration:q.ms(m),endDelay:q.ms(v),easing:s(g)?void 0:ee(g,m),direction:y,iterations:h+1,fill:"both"};f=e.animate({[S]:C,offset:_,easing:s(g)?g.map((e=>ee(e,m))):void 0},t),f.finished||(f.finished=new Promise(((e,t)=>{f.onfinish=e,f.oncancel=t})));const n=C[C.length-1];f.finished.then((()=>{b||(oe.set(e,S,n),f.cancel())})).catch(o),w||(f.playbackRate=1.000001)}else if(u&&E)C=C.map((e=>"string"==typeof e?parseFloat(e):e)),1===C.length&&C.unshift(parseFloat(r())),f=new u((t=>{oe.set(e,S,k?k(t):t)}),C,Object.assign(Object.assign({},a),{duration:m,easing:g}));else{const t=C[C.length-1];oe.set(e,S,P&&l(t)?P.toDefaultUnit(t):t)}return d&&c(e,t,C,{duration:m,delay:p,easing:g,repeat:h,offset:_},"motion-one"),M.setAnimation(f),f}}const ue=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function ce(e,t){var n;return"string"==typeof e?t?(null!==(n=t[e])&&void 0!==n||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}const de=e=>e(),fe=(e,t,n=r.duration)=>new Proxy({animations:e.map(de).filter(Boolean),duration:n,options:t},me),me={get:(e,t)=>{const n=e.animations[0];switch(t){case"duration":return e.duration;case"currentTime":return q.s((null==n?void 0:n[t])||0);case"playbackRate":case"playState":return null==n?void 0:n[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(pe)).catch(o)),e.finished;case"stop":return()=>{e.animations.forEach((e=>ae(e)))};case"forEachNative":return t=>{e.animations.forEach((n=>t(n,e)))};default:return void 0===(null==n?void 0:n[t])?void 0:()=>e.animations.forEach((e=>e[t]()))}},set:(e,t,n)=>{switch(t){case"currentTime":n=q.ms(n);case"currentTime":case"playbackRate":for(let r=0;r<e.animations.length;r++)e.animations[r][t]=n;return!0}return!1}},pe=e=>e.finished;function ve(e=.1,{start:t=0,from:n=0,easing:r}={}){return(o,a)=>{const i=l(n)?n:function(e,t){if("first"===e)return 0;{const n=t-1;return"last"===e?n:n/2}}(n,a),s=Math.abs(i-o);let u=e*s;if(r){const t=a*e;u=S(r)(u/t)*t}return t+u}}function he(e,t,n){return x(e)?e(t,n):e}function ge(e){return function(t,n,r={}){const o=(t=ce(t)).length;(0,P.invariant)(Boolean(o),"No valid element provided."),(0,P.invariant)(Boolean(n),"No keyframes defined.");const a=[];for(let i=0;i<o;i++){const l=t[i];for(const t in n){const s=ue(r,t);s.delay=he(s.delay,i,o);const u=se(l,t,n[t],s,e);a.push(u)}}return fe(a,r,r.duration)}}const be=ge(M);var ye=n(38104);function _e(e,t,n,r){var o;return l(t)?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(o=r.get(t))&&void 0!==o?o:e}function we(e,t,n,r,o,a){!function(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(N(e,o),r--)}}(e,o,a);for(let i=0;i<t.length;i++)e.push({value:t[i],at:u(o,a,r[i]),easing:p(n,i)})}function xe(e,t){return e.at===t.at?null===e.value?1:-1:e.at-t.at}function Ce(e,t={}){var n;const o=function(e,t={}){var{defaultOptions:n={}}=t,o=(0,ye._T)(t,["defaultOptions"]);const a=[],l=new Map,s={},u=new Map;let m=0,p=0,v=0;for(let t=0;t<e.length;t++){const o=e[t];if(ie(o)){u.set(o,p);continue}if(!Array.isArray(o)){u.set(o.name,_e(p,o.at,m,u));continue}const[a,c,b={}]=o;void 0!==b.at&&(p=_e(p,b.at,m,u));let y=0;const _=ce(a,s),w=_.length;for(let e=0;e<w;e++){const t=(h=_[e],!(g=l).has(h)&&g.set(h,{}),g.get(h));for(const o in c){const a=Ee(o,t);let l=ne(c[o]);const s=ue(b,o);let{duration:u=n.duration||r.duration,easing:m=n.easing||r.easing}=s;if(i(m)){(0,P.invariant)("opacity"===o||l.length>1,"spring must be provided 2 keyframes within timeline()");const e=m.createAnimation(l,"opacity"!==o,(()=>0),o);m=e.easing,l=e.keyframes||l,u=e.duration||u}const h=he(b.delay,e,w)||0,g=p+h,_=g+u;let{offset:x=f(l.length)}=s;1===x.length&&0===x[0]&&(x[1]=1);const C=x.length-l.length;C>0&&d(x,C),1===l.length&&l.unshift(null),we(a,l,m,x,g,_),y=Math.max(h+u,y),v=Math.max(_,v)}}m=p,p+=y}var h,g;return l.forEach(((e,t)=>{for(const i in e){const l=e[i];l.sort(xe);const s=[],u=[],d=[];for(let e=0;e<l.length;e++){const{at:t,value:n,easing:o}=l[e];s.push(n),u.push(c(0,v,t)),d.push(o||r.easing)}0!==u[0]&&(u.unshift(0),s.unshift(s[0]),d.unshift("linear")),1!==u[u.length-1]&&(u.push(1),s.push(null)),a.push([t,i,s,Object.assign(Object.assign(Object.assign({},n),{duration:v,easing:d,offset:u}),o)])}})),a}(e,t),a=o.map((e=>se(...e,M))).filter(Boolean);return fe(a,t,null===(n=o[0])||void 0===n?void 0:n[3].duration)}function Ee(e,t){return t[e]||(t[e]=[]),t[e]}function Oe(e,t){return t?e*(1e3/t):0}const Se=5;function Me(e,t,n){const r=Math.max(t-Se,0);return Oe(n-e(r),t-r)}const Pe=({stiffness:e=100,damping:t=10,mass:n=1,from:r=0,to:o=1,velocity:a=0,restSpeed:i=2,restDistance:l=.5}={})=>{a=a?q.s(a):0;const s={done:!1,hasReachedTarget:!1,current:r,target:o},u=o-r,c=Math.sqrt(e/n)/1e3,d=((e=100,t=10,n=1)=>t/(2*Math.sqrt(e*n)))(e,t,n);let f;if(d<1){const e=c*Math.sqrt(1-d*d);f=t=>o-Math.exp(-d*c*t)*((d*c*u-a)/e*Math.sin(e*t)+u*Math.cos(e*t))}else f=e=>o-Math.exp(-c*e)*(u+(c*u-a)*e);return e=>{s.current=f(e);const t=0===e?a:Me(f,e,s.current),n=Math.abs(t)<=i,u=Math.abs(o-s.current)<=l;var c,d,m;return s.done=n&&u,s.hasReachedTarget=(c=r,d=o,m=s.current,c<d&&m>=d||c>d&&m<=d),s}};function ke(e){return l(e)&&!isNaN(e)}function je(e){return ie(e)?parseFloat(e):e}function Te(e){const t=new WeakMap;return(n={})=>{const r=new Map,o=(t=0,o=100,a=0,i=!1)=>{const l=`${t}-${o}-${a}-${i}`;return r.has(l)||r.set(l,e(Object.assign({from:t,to:o,velocity:a,restSpeed:i?.05:2,restDistance:i?.01:.5},n))),r.get(l)},i=(e,n)=>(t.has(e)||t.set(e,function(e,t=a){let n,r=10,o=e(0);const i=[t(o.current)];for(;!o.done&&r<1e4;)o=e(r),i.push(t(o.done?o.target:o.current)),void 0===n&&o.hasReachedTarget&&(n=r),r+=10;const l=r-10;return 1===i.length&&i.push(o.current),{keyframes:i,duration:l/1e3,overshootDuration:(null!=n?n:l)/1e3}}(e,n)),t.get(e));return{createAnimation:(e,t=!0,n,r,l)=>{let s,u,c,d=0,f=a;const m=e.length;if(t)if(f=le(e,r?B.get(re(r)):void 0),c=je(e[m-1]),m>1&&null!==e[0])u=je(e[0]);else{const e=null==l?void 0:l.generator;if(e){const{animation:t,generatorStartTime:n}=l,r=(null==t?void 0:t.startTime)||n||0,o=(null==t?void 0:t.currentTime)||performance.now()-r,a=e(o).current;u=a,d=Me((t=>e(t).current),o,a)}else n&&(u=je(n()))}if(ke(u)&&ke(c)){const e=o(u,c,d,null==r?void 0:r.includes("scale"));s=Object.assign(Object.assign({},i(e,f)),{easing:"linear"}),l&&(l.generator=e,l.generatorStartTime=performance.now())}return s||(s={easing:"ease",duration:i(o(0,100)).overshootDuration}),s}}}}const Ie=Te(Pe),Ne=Te((({from:e=0,velocity:t=0,power:n=.8,decay:r=.325,bounceDamping:o,bounceStiffness:a,changeTarget:i,min:l,max:s,restDistance:u=.5,restSpeed:c})=>{r=q.ms(r);const d={hasReachedTarget:!1,done:!1,current:e,target:e},f=e=>void 0===l?s:void 0===s||Math.abs(l-e)<Math.abs(s-e)?l:s;let m=n*t;const p=e+m,v=void 0===i?p:i(p);d.target=v,v!==p&&(m=v-e);const h=e=>-m*Math.exp(-e/r),g=e=>v+h(e),b=e=>{const t=h(e),n=g(e);d.done=Math.abs(t)<=u,d.current=d.done?v:n};let y,_;const w=e=>{var t;t=d.current,(void 0!==l&&t<l||void 0!==s&&t>s)&&(y=e,_=Pe({from:d.current,to:f(d.current),velocity:Me(g,e,d.current),damping:o,stiffness:a,restDistance:u,restSpeed:c}))};return w(0),e=>{let t=!1;return _||void 0!==y||(t=!0,b(e),w(e)),void 0!==y&&e>y?(d.hasReachedTarget=!0,_(e-y)):(d.hasReachedTarget=!1,!t&&b(e),d)}})),Re={any:0,all:1};function Le(e,t,{root:n,margin:r,amount:o="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const a=ce(e),i=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const n=i.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);x(n)?i.set(e.target,n):l.unobserve(e.target)}else n&&(n(e),i.delete(e.target))}))}),{root:n,rootMargin:r,threshold:"number"==typeof o?o:Re[o]});return a.forEach((e=>l.observe(e))),()=>l.disconnect()}const De=new WeakMap;let Ve;function Be({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=De.get(e))||void 0===r||r.forEach((r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){const{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})}))}function Ae(e){e.forEach(Be)}const ze=new Set;let He;function Fe(e,t){return x(e)?(n=e,ze.add(n),He||(He=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ze.forEach((e=>e(t)))},window.addEventListener("resize",He)),()=>{ze.delete(n),!ze.size&&He&&(He=void 0)}):function(e,t){Ve||"undefined"!=typeof ResizeObserver&&(Ve=new ResizeObserver(Ae));const n=ce(e);return n.forEach((e=>{let n=De.get(e);n||(n=new Set,De.set(e,n)),n.add(t),null==Ve||Ve.observe(e)})),()=>{n.forEach((e=>{const n=De.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==Ve||Ve.unobserve(e)}))}}(e,t);var n}const We=50,Ze=()=>({time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}}),$e={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Ue(e,t,n,r){const o=n[t],{length:a,position:i}=$e[t],l=o.current,s=n.time;o.current=e["scroll"+i],o.scrollLength=e["scroll"+a]-e["client"+a],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=c(0,o.scrollLength,o.current);const u=r-s;o.velocity=u>We?0:Oe(o.current-l,u)}const Ge={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Ye={start:0,center:.5,end:1};function qe(e,t,n=0){let r=0;if(void 0!==Ye[e]&&(e=Ye[e]),ie(e)){const t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return l(e)&&(r=t*e),n+r}const Ke=[0,0];function Xe(e,t,n,r){let o=Array.isArray(e)?e:Ke,a=0,i=0;return l(e)?o=[e,e]:ie(e)&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,Ye[e]?e:"0"]),a=qe(o[0],n,r),i=qe(o[1],t),a-i}const Qe={x:0,y:0};function Je(e,t,n,r={}){const o=r.axis||"y";return{measure:()=>function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!=e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n),update:t=>{!function(e,t,n){Ue(e,"x",t,n),Ue(e,"y",t,n),t.time=n}(e,n,t),(r.offset||r.target)&&function(e,t,n){let{offset:r=Ge.All}=n;const{target:o=e,axis:a="y"}=n,i="y"===a?"height":"width",l=o!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){const{top:e,left:t}=r.getBBox();for(n.x+=t,n.y+=e;r&&"svg"!==r.tagName;)r=r.parentNode}return n}(o,e):Qe,s=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let c=!t[a].interpolate;const d=r.length;for(let e=0;e<d;e++){const n=Xe(r[e],u[i],s[i],l[a]);c||n===t[a].interpolatorOffsets[e]||(c=!0),t[a].offset[e]=n}c&&(t[a].interpolate=h(f(d),t[a].offset),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=t[a].interpolate(t[a].current)}(e,n,r)},notify:x(t)?()=>t(n):et(t,n[o])}}function et(e,t){return e.pause(),e.forEachNative(((e,{easing:t})=>{var n,r;if(e.updateDuration)t||(e.easing=a),e.updateDuration(1);else{const o={duration:1e3};t||(o.easing="linear"),null===(r=null===(n=e.effect)||void 0===n?void 0:n.updateTiming)||void 0===r||r.call(n,o)}})),()=>{e.currentTime=t.progress}}const tt=new WeakMap,nt=new WeakMap,rt=new WeakMap,ot=e=>e===document.documentElement?window:e;function at(e,t={}){var{container:n=document.documentElement}=t,r=(0,ye._T)(t,["container"]);let o=rt.get(n);o||(o=new Set,rt.set(n,o));const a=Ze(),i=Je(n,e,a,r);if(o.add(i),!tt.has(n)){const e=()=>{const e=performance.now();for(const e of o)e.measure();for(const t of o)t.update(e);for(const e of o)e.notify()};tt.set(n,e);const t=ot(n);window.addEventListener("resize",e,{passive:!0}),n!==document.documentElement&&nt.set(n,Fe(n,e)),t.addEventListener("scroll",e,{passive:!0})}const l=tt.get(n),s=requestAnimationFrame(l);return()=>{var t;"function"!=typeof e&&e.stop(),cancelAnimationFrame(s);const r=rt.get(n);if(!r)return;if(r.delete(i),r.size)return;const o=tt.get(n);tt.delete(n),o&&(ot(n).removeEventListener("scroll",o),null===(t=nt.get(n))||void 0===t||t(),window.removeEventListener("resize",o))}}function it(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let lt;function st(){if(!lt)return;const e=lt.sort(ct).map(dt);e.forEach(ft),e.forEach(ft),lt=void 0}function ut(e){lt?I(lt,e):(lt=[e],requestAnimationFrame(st))}const ct=(e,t)=>e.getDepth()-t.getDepth(),dt=e=>e.animateUpdates(),ft=e=>e.next(),mt=(e,t)=>new CustomEvent(e,{detail:{target:t}});function pt(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function vt(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const ht=(e,t,n)=>r=>{r.pointerType&&"mouse"!==r.pointerType||(n(),pt(e,t,r))},gt={inView:{isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:o}=r,a=(0,ye._T)(r,["once"]);return Le(e,(r=>{if(t(),vt(e,"viewenter",r),!o)return t=>{n(),vt(e,"viewleave",t)}}),a)}},hover:{isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=ht(e,"hoverstart",t),o=ht(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},press:{isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=t=>{n(),pt(e,"pressend",t),window.removeEventListener("pointerup",r)},o=n=>{t(),pt(e,"pressstart",n),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",r)}}}},bt=["initial","animate",...Object.keys(gt),"exit"],yt=new WeakMap;function _t(e={},t){let n,r=t?t.getDepth()+1:0;const a={initial:!0,animate:!0},i={},l={};for(const n of bt)l[n]="string"==typeof e[n]?e[n]:null==t?void 0:t.getContext()[n];const s=!1===e.initial?"animate":"initial";let u=it(e[s]||l[s],e.variants)||{},c=(0,ye._T)(u,["transition"]);const d=Object.assign({},c),f=(e,t)=>()=>{a[e]=t,ut(p)},m=()=>{for(const t in gt){const r=gt[t].isActive(e),o=i[t];r&&!o?i[t]=gt[t].subscribe(n,{enable:f(t,!0),disable:f(t,!1)},e):!r&&o&&(o(),delete i[t])}},p={update:t=>{n&&(e=t,m(),ut(p))},setActive:(e,t)=>{n&&(a[e]=t,ut(p))},animateUpdates:function*(){var t,r;const i=c;c={};const l={};for(const n of bt){if(!a[n])continue;const o=it(e[n]);if(o)for(const n in o)"transition"!==n&&(c[n]=o[n],l[n]=ue(null!==(r=null!==(t=o.transition)&&void 0!==t?t:e.transition)&&void 0!==r?r:{},n))}const s=new Set([...Object.keys(c),...Object.keys(i)]),u=[];s.forEach((e=>{var t,r,o;void 0===c[e]&&(c[e]=d[e]),typeof(r=i[e])==typeof(o=c[e])&&(Array.isArray(r)&&Array.isArray(o)?function(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(r,o):r===o)||(null!==(t=d[e])&&void 0!==t||(d[e]=oe.get(n,e)),u.push(se(n,e,c[e],l[e],M)))})),yield;const f=u.map((e=>e())).filter(Boolean);if(!f.length)return;const m=c;n.dispatchEvent(mt("motionstart",m)),Promise.all(f.map((e=>e.finished))).then((()=>{n.dispatchEvent(mt("motioncomplete",m))})).catch(o)},getDepth:()=>r,getTarget:()=>c,getOptions:()=>e,getContext:()=>l,mount:e=>((0,P.invariant)(Boolean(e),"Animation state must be mounted with valid Element"),n=e,yt.set(n,p),m(),()=>{yt.delete(n),function(e){lt&&N(lt,e)}(p);for(const e in i)i[e]()}),isMounted:()=>Boolean(n)};return p}function wt(e){const t={},n=[];for(let r in e){const o=e[r];W(r)&&(L[r]&&(r=L[r]),n.push(r),r=A(r));let a=Array.isArray(o)?o[0]:o;const i=B.get(r);i&&(a=l(o)?i.toDefaultUnit(o):o),t[r]=a}return n.length&&(t.transform=$(n)),t}const xt=e=>`-${e.toLowerCase()}`,Ct=e=>e.replace(/[A-Z]/g,xt);function Et(e={}){const t=wt(e);let n="";for(const e in t)n+=e.startsWith("--")?e:Ct(e),n+=`: ${t[e]}; `;return n}},51510:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{isActive:t=!1,value:n,...r}=e;const d=u.ALIGNMENT_LABEL[n];return(0,o.createElement)(l.default,{text:d},(0,o.createElement)(i.CompositeItem,(0,a.default)({as:c.Cell,role:"gridcell"},r),(0,o.createElement)(s.VisuallyHidden,null,n),(0,o.createElement)(c.Point,{isActive:t,role:"presentation"})))};var o=n(32847),a=r(n(31304)),i=n(18270),l=r(n(30497)),s=n(42937),u=n(53232),c=n(6921)},90630:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(53232),s=n(55132);const u=24;t.default=function(e){let{className:t,disablePointerEvents:n=!0,size:r=u,style:c={},value:d="center",...f}=e;const m=(0,l.getAlignmentIndex)(d),p=(r/u).toFixed(2),v=(0,i.default)("component-alignment-matrix-control-icon",t),h={...c,transform:`scale(${p})`};return(0,o.createElement)(s.Root,(0,a.default)({},f,{className:v,disablePointerEvents:n,role:"presentation",style:h}),l.ALIGNMENTS.map(((e,t)=>{const n=m===t;return(0,o.createElement)(s.Cell,{key:e},(0,o.createElement)(s.Point,{isActive:n}))})))}},50337:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.AlignmentMatrixControl=v,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(89029),u=r(n(51510)),c=n(18270),d=n(6921),f=r(n(90630)),m=n(53232);const p=()=>{};function v(e){let{className:t,id:n,label:r=(0,l.__)("Alignment Matrix Control"),defaultValue:f="center center",value:h,onChange:g=p,width:b=92,...y}=e;const[_]=(0,o.useState)(null!=h?h:f),w=function(e){const t=(0,s.useInstanceId)(v,"alignment-matrix-control");return e||t}(n),x=(0,m.getItemId)(w,_),C=(0,c.useCompositeState)({baseId:w,currentId:x,rtl:(0,l.isRTL)()}),{setCurrentId:E}=C;(0,o.useEffect)((()=>{void 0!==h&&E((0,m.getItemId)(w,h))}),[h,E,w]);const O=(0,i.default)("component-alignment-matrix-control",t);return(0,o.createElement)(c.Composite,(0,a.default)({},y,C,{"aria-label":r,as:d.Root,className:O,role:"grid",size:b}),m.GRID.map(((e,t)=>(0,o.createElement)(c.CompositeGroup,(0,a.default)({},C,{as:d.Row,role:"row",key:t}),e.map((e=>{const t=(0,m.getItemId)(w,e),n=C.currentId===t;return(0,o.createElement)(u.default,(0,a.default)({},C,{id:t,isActive:n,key:e,value:e,onFocus:()=>{g(e)},tabIndex:n?0:-1}))}))))))}v.Icon=f.default;var h=v;t.default=h},55132:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.Root=t.Point=t.Cell=void 0;var o=r(n(12272)),a=n(18591),i=n(6921);const l=(0,o.default)("div",{target:"erowt52"})({name:"ogl07i",styles:"box-sizing:border-box;padding:2px"});t.Wrapper=l;const s=(0,o.default)("div",{target:"erowt51"})("transform-origin:top left;height:100%;width:100%;",i.rootBase,";",(()=>(0,a.css)({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},"","")),";",(e=>{let{disablePointerEvents:t}=e;return(0,a.css)({pointerEvents:t?"none":void 0},"","")}),";");t.Root=s;const u=(0,o.default)("span",{target:"erowt50"})("height:2px;width:2px;",i.pointBase,";",(e=>{let{isActive:t}=e;const n=t?"0 0 0 1px currentColor":null;return(0,a.css)("box-shadow:",n,";color:currentColor;*:hover>&{color:currentColor;}","")}),";");t.Point=u;const c=i.Cell;t.Cell=c},6921:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.rootBase=t.pointBase=t.Row=t.Root=t.Point=t.Cell=void 0;var o=r(n(12272)),a=n(18591),i=n(40455),l={name:"93uojk",styles:"border-radius:2px;box-sizing:border-box;direction:ltr;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"};const s=()=>l;t.rootBase=s;const u=(0,o.default)("div",{target:"ecapk1j3"})(s,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",(e=>{let{size:t=92}=e;return(0,a.css)("grid-template-rows:repeat( 3, calc( ",t,"px / 3 ) );width:",t,"px;","")}),";");t.Root=u;const c=(0,o.default)("div",{target:"ecapk1j2"})({name:"1x5gbbj",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"});t.Row=c;const d=e=>(0,a.css)("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",(0,i.reduceMotion)("transition")," ",(e=>{let{isActive:t}=e;const n=t?`0 0 0 2px ${i.COLORS.gray[900]}`:null,r=t?i.COLORS.gray[900]:i.COLORS.gray[400],o=t?i.COLORS.gray[900]:i.COLORS.ui.theme;return(0,a.css)("box-shadow:",n,";color:",r,";*:hover>&{color:",o,";}","")})(e),";","");t.pointBase=d;const f=(0,o.default)("span",{target:"ecapk1j1"})("height:6px;width:6px;",d,";");t.Point=f;const m=(0,o.default)("span",{target:"ecapk1j0"})({name:"rjf3ub",styles:"appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"});t.Cell=m},53232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GRID=t.ALIGNMENT_LABEL=t.ALIGNMENTS=void 0,t.getAlignmentIndex=function(){const e=l(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center"),t=i.indexOf(e);return t>-1?t:void 0},t.getItemId=function(e,t){return`${e}-${l(t).replace(" ","-")}`},t.transformValue=l;var r=n(25150);const o=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]];t.GRID=o;const a={"top left":(0,r.__)("Top Left"),"top center":(0,r.__)("Top Center"),"top right":(0,r.__)("Top Right"),"center left":(0,r.__)("Center Left"),"center center":(0,r.__)("Center"),center:(0,r.__)("Center"),"center right":(0,r.__)("Center Right"),"bottom left":(0,r.__)("Bottom Left"),"bottom center":(0,r.__)("Bottom Center"),"bottom right":(0,r.__)("Bottom Right")};t.ALIGNMENT_LABEL=a;const i=o.flat();function l(e){return("center"===e?"center center":e).replace("-"," ")}t.ALIGNMENTS=i},71526:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=n(56970);t.default=function(e){let{value:t,onChange:n,...r}=e;const s=(0,o.useRef)(null),u=(0,o.useRef)(),c=(0,o.useRef)(),d=e=>{var t;if(void 0!==e&&(e.preventDefault(),null===(t=e.target)||void 0===t||t.focus(),void 0!==u.current&&void 0!==n)){const{x:t,y:r}=u.current;n(function(e,t,n,r){const o=r-t,a=n-e,i=Math.atan2(o,a),l=Math.round(i*(180/Math.PI))+90;return l<0?360+l:l}(t,r,e.clientX,e.clientY))}},{startDrag:f,isDragging:m}=(0,i.__experimentalUseDragging)({onDragStart:e=>{(()=>{if(null===s.current)return;const e=s.current.getBoundingClientRect();u.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),d(e)},onDragMove:d,onDragEnd:d});return(0,o.useEffect)((()=>{m?(void 0===c.current&&(c.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=c.current||"",c.current=void 0)}),[m]),(0,o.createElement)(l.CircleRoot,(0,a.default)({ref:s,onMouseDown:f,className:"components-angle-picker-control__angle-circle",style:m?{cursor:"grabbing"}:void 0},r),(0,o.createElement)(l.CircleIndicatorWrapper,{style:t?{transform:`rotate(${t}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper",tabIndex:-1},(0,o.createElement)(l.CircleIndicator,{className:"components-angle-picker-control__angle-circle-indicator"})))}},18983:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AnglePickerControl=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(6777)),s=n(25150),u=n(53753),c=r(n(5838)),d=r(n(71526)),f=n(56970),m=n(36877),p=n(53314),v=n(87268),h=n(92941);const g=(0,o.forwardRef)((function(e,t){const{__nextHasNoMarginBottom:n=!1,className:r,label:g=(0,s.__)("Angle"),onChange:b,value:y,..._}=e;n||(0,l.default)("Bottom margin styles for wp.components.AnglePickerControl",{since:"6.1",version:"6.4",hint:"Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version."});const w=(0,i.default)("components-angle-picker-control",r);return(0,o.createElement)(f.Root,(0,a.default)({},_,{ref:t,__nextHasNoMarginBottom:n,className:w,gap:4}),(0,o.createElement)(u.FlexBlock,null,(0,o.createElement)(c.default,{label:g,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:e=>{if(void 0===b)return;const t=void 0!==e&&""!==e?parseInt(e,10):0;b(t)},size:"__unstable-large",step:"1",value:y,spinControls:"none",suffix:(0,o.createElement)(v.Spacer,{as:p.Text,marginBottom:0,marginRight:(0,m.space)(3),style:{color:h.COLORS.ui.theme}},"°")})),(0,o.createElement)(u.FlexItem,{style:{marginBottom:(0,m.space)(1),marginTop:"auto"}},(0,o.createElement)(d.default,{"aria-hidden":"true",value:y,onChange:b})))}));t.AnglePickerControl=g;var b=g;t.default=b},56970:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Root=t.CircleRoot=t.CircleIndicatorWrapper=t.CircleIndicator=void 0;var o=r(n(12272)),a=n(18591),i=n(53753),l=n(40455),s=n(36877),u=r(n(50081));const c=(0,o.default)(i.Flex,{target:"eln3bjz3"})((e=>{let{__nextHasNoMarginBottom:t}=e;return t?"":(0,a.css)("margin-bottom:",(0,s.space)(2),";","")}),";");t.Root=c;const d=(0,o.default)("div",{target:"eln3bjz2"})("border-radius:50%;border:",u.default.borderWidth," solid ",l.COLORS.ui.border,";box-sizing:border-box;cursor:grab;height:",32,"px;overflow:hidden;width:",32,"px;");t.CircleRoot=d;const f=(0,o.default)("div",{target:"eln3bjz1"})({name:"1r307gh",styles:"box-sizing:border-box;position:relative;width:100%;height:100%;:focus-visible{outline:none;}"});t.CircleIndicatorWrapper=f;const m=(0,o.default)("div",{target:"eln3bjz0"})("background:",l.COLORS.ui.theme,";border-radius:50%;border:",3,"px solid ",l.COLORS.ui.theme,";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-",16,"px;width:0px;");t.CircleIndicator=m},30579:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{type:t,options:n={},children:r}=e;return r({className:i({type:t,...n})})},t.getAnimateClassName=i;var o=r(n(26372));function a(e){return"appear"===e?"top":"left"}function i(e){if("loading"===e.type)return(0,o.default)("components-animate__loading");const{type:t,origin:n=a(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return(0,o.default)("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?(0,o.default)("components-animate__slide-in","is-from-"+n):void 0}},857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unstableAnimatePresence",{enumerable:!0,get:function(){return r.AnimatePresence}}),Object.defineProperty(t,"__unstableMotion",{enumerable:!0,get:function(){return r.motion}});var r=n(65606)},60916:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getAutoCompleterUI=function(e){const t=e.useItems?e.useItems:(0,s.default)(e);return function(e){let{filterValue:n,instanceId:r,listBoxId:s,className:m,selectedIndex:p,onChangeOptions:v,onSelect:h,onReset:g,reset:b,value:y,contentRef:_}=e;const[w]=t(n),x=(0,i.useAnchor)({editableContentElement:_.current,value:y}),[C,E]=(0,o.useState)(!1),O=(0,o.useRef)(),S=(0,l.useMergeRefs)([O,(0,l.useRefEffect)((e=>{_.current&&E(e.ownerDocument!==_.current.ownerDocument)}),[_])]);var M,P;if(M=O,P=b,(0,o.useEffect)((()=>{const e=e=>{M.current&&!M.current.contains(e.target)&&P(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[P]),(0,o.useLayoutEffect)((()=>{v(w)}),[w]),!w.length>0)return null;const k=e=>{let{Component:t="div"}=e;return(0,o.createElement)(t,{id:s,role:"listbox",className:"components-autocomplete__results"},w.map(((e,t)=>(0,o.createElement)(u.default,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===p,disabled:e.isDisabled,className:(0,a.default)("components-autocomplete__result",m,{"is-selected":t===p}),onClick:()=>h(e)},e.label))))};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.default,{focusOnMount:!1,onClose:g,placement:"top-start",className:"components-autocomplete__popover",anchor:x,ref:S},(0,o.createElement)(k,null)),_.current&&C&&(0,f.createPortal)((0,o.createElement)(k,{Component:d.VisuallyHidden}),_.current.ownerDocument.body))}};var o=n(32847),a=r(n(26372)),i=n(53101),l=n(89029),s=r(n(38852)),u=r(n(55932)),c=r(n(87059)),d=n(42937),f=n(99581)},38852:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return t=>{const[n,r]=(0,i.useState)([]);return(0,i.useLayoutEffect)((()=>{const{options:n,isDebounced:i}=e,s=(0,a.debounce)((()=>{const a=Promise.resolve("function"==typeof n?n(t):n).then((n=>{if(a.canceled)return;const i=n.map(((t,n)=>({key:`${e.name}-${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}))),s=new RegExp("(?:\\b|\\s|^)"+(0,l.escapeRegExp)(t),"i");r(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=[];for(let a=0;a<t.length;a++){const i=t[a];let{keywords:l=[]}=i;if("string"==typeof i.label&&(l=[...l,i.label]),l.some((t=>e.test((0,o.default)(t))))&&(r.push(i),r.length===n))break}return r}(s,i))}));return a}),i?250:0),u=s();return()=>{s.cancel(),u&&(u.canceled=!0)}}),[t]),[n]}};var o=r(n(68457)),a=n(89029),i=n(32847),l=n(71892)},38940:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t,isSelected:n,...r}=e;const{popover:a,...i}=m(r);return(0,o.createElement)(o.Fragment,null,t(i),n&&a)},t.useAutocompleteProps=function(e){const t=(0,o.useRef)(),n=(0,o.useRef)(),{record:r}=e,a=function(e){const t=(0,o.useRef)(new Set);return t.current.add(e),t.current.size>2&&t.current.delete(Array.from(t.current)[0]),Array.from(t.current)[0]}(r),{popover:i,listBoxId:s,activeId:u,onKeyDown:c}=m({...e,contentRef:t});n.current=c;const d=(0,l.useMergeRefs)([t,(0,l.useRefEffect)((e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[])]);return r.text===(null==a?void 0:a.text)?{ref:d}:{ref:d,children:i,"aria-autocomplete":s?"list":void 0,"aria-owns":s,"aria-activedescendant":u}};var o=n(32847),a=r(n(68457)),i=n(25150),l=n(89029),s=n(53101),u=n(38384),c=n(60916),d=n(71892);const f=[];function m(e){let{record:t,onChange:n,onReplace:r,completers:p,contentRef:v}=e;const h=(0,l.useDebounce)(u.speak,500),g=(0,l.useInstanceId)(m),[b,y]=(0,o.useState)(0),[_,w]=(0,o.useState)(f),[x,C]=(0,o.useState)(""),[E,O]=(0,o.useState)(null),[S,M]=(0,o.useState)(null),P=(0,o.useRef)(!1);function k(e){const{getOptionCompletion:a}=E||{};if(!e.isDisabled){if(a){const i=a(e.value,x),{action:l,value:u}=void 0===i.action||void 0===i.value?{action:"insert-at-caret",value:i}:i;if("replace"===l)return void r([u]);"insert-at-caret"===l&&function(e){const r=t.start,a=r-E.triggerPrefix.length-x.length,i=(0,s.create)({html:(0,o.renderToString)(e)});n((0,s.insert)(t,i,a,r))}(u)}j()}}function j(){y(0),w(f),C(""),O(null),M(null)}const T=(0,o.useMemo)((()=>{if((0,s.isCollapsed)(t))return(0,s.getTextContent)((0,s.slice)(t,0))}),[t]);(0,o.useEffect)((()=>{if(!T)return void(E&&j());const e=null==p?void 0:p.find((e=>{let{triggerPrefix:n,allowContext:r}=e;const o=T.lastIndexOf(n);if(-1===o)return!1;const a=T.slice(o+n.length);if(a.length>50)return!1;const i=0===_.length,l=1===a.split(/\s/).length,u=P.current&&a.split(/\s/).length<=3;if(i&&!u&&!l)return!1;const c=(0,s.getTextContent)((0,s.slice)(t,void 0,(0,s.getTextContent)(t).length));return!(r&&!r(T.slice(0,o),c))&&!/^\s/.test(a)&&!/\s\s+$/.test(a)&&/[\u0000-\uFFFF]*$/.test(a)}));if(!e)return void(E&&j());const n=(0,d.escapeRegExp)(e.triggerPrefix),r=(0,a.default)(T),o=r.slice(r.lastIndexOf(e.triggerPrefix)).match(new RegExp(`${n}([\0-]*)$`)),i=o&&o[1];O(e),M((()=>e!==E?(0,c.getAutoCompleterUI)(e):S)),C(i)}),[T]);const{key:I=""}=_[b]||{},{className:N}=E||{},R=!!E&&_.length>0,L=R?`components-autocomplete-listbox-${g}`:null;return{listBoxId:L,activeId:R?`components-autocomplete-item-${g}-${I}`:null,onKeyDown:function(e){if(P.current="Backspace"===e.key,E&&0!==_.length&&!e.defaultPrevented&&!e.isComposing&&229!==e.keyCode){switch(e.key){case"ArrowUp":y((0===b?_.length:b)-1);break;case"ArrowDown":y((b+1)%_.length);break;case"Escape":O(null),M(null),e.preventDefault();break;case"Enter":k(_[b]);break;case"ArrowLeft":case"ArrowRight":return void j();default:return}e.preventDefault()}},popover:void 0!==t.start&&S&&(0,o.createElement)(S,{className:N,filterValue:x,instanceId:g,listBoxId:L,selectedIndex:b,onChangeOptions:function(e){y(e.length===_.length?b:0),w(e),function(e){h&&(e.length?h((0,i.sprintf)((0,i._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):h((0,i.__)("No results."),"assertive"))}(e)},onSelect:k,value:t,contentRef:v,reset:j})}}},73663:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useBaseControlProps=function(e){const{help:t,id:n,...r}=e,i=(0,o.useInstanceId)(a.default,"wp-components-base-control",n);return{baseControlProps:{id:i,help:t,...r},controlProps:{id:i,...t?{["string"==typeof t?"aria-describedby":"aria-details"]:`${i}__help`}:{}}}};var o=n(89029),a=r(n(75339))},75339:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VisualLabel=t.BaseControl=void 0,Object.defineProperty(t,"useBaseControlProps",{enumerable:!0,get:function(){return u.useBaseControlProps}});var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(42937),s=n(30686),u=n(73663);const c=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:r,hideLabelFromVision:a=!1,help:u,className:d,children:f}=e;return(0,o.createElement)(s.Wrapper,{className:(0,i.default)("components-base-control",d)},(0,o.createElement)(s.StyledField,{className:"components-base-control__field",__nextHasNoMarginBottom:t},r&&n&&(a?(0,o.createElement)(l.VisuallyHidden,{as:"label",htmlFor:n},r):(0,o.createElement)(s.StyledLabel,{className:"components-base-control__label",htmlFor:n},r)),r&&!n&&(a?(0,o.createElement)(l.VisuallyHidden,{as:"label"},r):(0,o.createElement)(c.VisualLabel,null,r)),f),!!u&&(0,o.createElement)(s.StyledHelp,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},u))};t.BaseControl=c;const d=e=>{let{className:t,children:n,...r}=e;return(0,o.createElement)(s.StyledVisualLabel,(0,a.default)({},r,{className:(0,i.default)("components-base-control__label",t)}),n)};t.VisualLabel=d,c.VisualLabel=d;var f=c;t.default=f},30686:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.StyledVisualLabel=t.StyledLabel=t.StyledHelp=t.StyledField=void 0;var o=r(n(12272)),a=n(18591),i=n(40455),l=n(36877);const s=(0,o.default)("div",{target:"ej5x27r4"})("font-family:",(0,i.font)("default.fontFamily"),";font-size:",(0,i.font)("default.fontSize"),";",i.boxSizingReset,";");t.Wrapper=s;const u=(0,o.default)("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&(0,a.css)("margin-bottom:",(0,l.space)(2),";","")})," .components-panel__row &{margin-bottom:inherit;}");t.StyledField=u;const c=(0,a.css)(i.baseLabelTypography,";display:inline-block;margin-bottom:",(0,l.space)(2),";padding:0;",""),d=(0,o.default)("label",{target:"ej5x27r2"})(c,";");t.StyledLabel=d;var f={name:"11yad0w",styles:"margin-bottom:revert"};const m=(0,o.default)("p",{target:"ej5x27r1"})("margin-top:",(0,l.space)(2),";margin-bottom:0;font-size:",(0,i.font)("helpText.fontSize"),";font-style:normal;color:",i.COLORS.gray[700],";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&f}),";");t.StyledHelp=m;const p=(0,o.default)("span",{target:"ej5x27r0"})(c,";");t.StyledVisualLabel=p},65482:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(58446),l=n(25150),s=r(n(55932)),u=r(n(30497)),c=n(29640),d=n(98138),f=n(31630),m=(0,d.contextConnect)(((e,t)=>{const{className:n,isLinked:r,...d}=(0,f.useBorderBoxControlLinkedButton)(e),m=r?(0,l.__)("Unlink sides"):(0,l.__)("Link sides");return(0,o.createElement)(u.default,{text:m},(0,o.createElement)(c.View,{className:n},(0,o.createElement)(s.default,(0,a.default)({},d,{isSmall:!0,icon:r?i.link:i.linkOff,iconSize:24,"aria-label":m,ref:t}))))}),"BorderBoxControlLinkedButton");t.default=m},31630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderBoxControlLinkedButton=function(e){const{className:t,size:n="default",...l}=(0,a.useContextSystem)(e,"BorderBoxControlLinkedButton"),s=(0,i.useCx)();return{...l,className:(0,r.useMemo)((()=>s(o.borderBoxControlLinkedButton(n),t)),[t,s,n])}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82398)),a=n(98138),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},1595:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(65482))},63336:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=n(89029),s=r(n(80439)),u=n(50770),c=n(29982),d=n(98138),f=n(914),m=(0,d.contextConnect)(((e,t)=>{const{centeredClassName:n,colors:r,disableCustomColors:d,enableAlpha:m,enableStyle:p,onChange:v,popoverPlacement:h,popoverOffset:g,rightAlignedClassName:b,size:y="default",value:_,__experimentalIsRenderedInSidebar:w,...x}=(0,f.useBorderBoxControlSplitControls)(e),[C,E]=(0,o.useState)(null),O=(0,o.useMemo)((()=>h?{placement:h,offset:g,anchor:C,shift:!0}:void 0),[h,g,C]),S={colors:r,disableCustomColors:d,enableAlpha:m,enableStyle:p,isCompact:!0,__experimentalIsRenderedInSidebar:w,size:y},M=(0,l.useMergeRefs)([E,t]);return(0,o.createElement)(c.Grid,(0,a.default)({},x,{ref:M,gap:4}),(0,o.createElement)(s.default,{value:_,size:y}),(0,o.createElement)(u.BorderControl,(0,a.default)({className:n,hideLabelFromVision:!0,label:(0,i.__)("Top border"),onChange:e=>v(e,"top"),__unstablePopoverProps:O,value:null==_?void 0:_.top},S)),(0,o.createElement)(u.BorderControl,(0,a.default)({hideLabelFromVision:!0,label:(0,i.__)("Left border"),onChange:e=>v(e,"left"),__unstablePopoverProps:O,value:null==_?void 0:_.left},S)),(0,o.createElement)(u.BorderControl,(0,a.default)({className:b,hideLabelFromVision:!0,label:(0,i.__)("Right border"),onChange:e=>v(e,"right"),__unstablePopoverProps:O,value:null==_?void 0:_.right},S)),(0,o.createElement)(u.BorderControl,(0,a.default)({className:n,hideLabelFromVision:!0,label:(0,i.__)("Bottom border"),onChange:e=>v(e,"bottom"),__unstablePopoverProps:O,value:null==_?void 0:_.bottom},S)))}),"BorderBoxControlSplitControls");t.default=m},914:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderBoxControlSplitControls=function(e){const{className:t,colors:n=[],enableAlpha:l=!1,enableStyle:s=!0,size:u="default",__experimentalIsRenderedInSidebar:c=!1,...d}=(0,a.useContextSystem)(e,"BorderBoxControlSplitControls"),f=(0,i.useCx)(),m=(0,r.useMemo)((()=>f(o.borderBoxControlSplitControls(u),t)),[f,t,u]);return{...d,centeredClassName:(0,r.useMemo)((()=>f(o.centeredBorderControl,t)),[f,t]),className:m,colors:n,enableAlpha:l,enableStyle:s,rightAlignedClassName:(0,r.useMemo)((()=>f(o.rightBorderControl(),t)),[f,t]),size:u,__experimentalIsRenderedInSidebar:c}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82398)),a=n(98138),i=n(40455);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},38061:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(63336))},63966:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(29640),l=n(98138),s=n(23775),u=(0,l.contextConnect)(((e,t)=>{const{value:n,...r}=(0,s.useBorderBoxControlVisualizer)(e);return(0,o.createElement)(i.View,(0,a.default)({},r,{ref:t}))}),"BorderBoxControlVisualizer");t.default=u},23775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderBoxControlVisualizer=function(e){const{className:t,value:n,size:l="default",...s}=(0,a.useContextSystem)(e,"BorderBoxControlVisualizer"),u=(0,i.useCx)();return{...s,className:(0,r.useMemo)((()=>u(o.borderBoxControlVisualizer(n,l),t)),[u,t,n,l]),value:n}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82398)),a=n(98138),i=n(40455);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},80439:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(63966))},52104:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BorderBoxControl=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=n(89029),s=r(n(1595)),u=r(n(38061)),c=n(50770),d=n(30686),f=n(29640),m=n(42937),p=n(98138),v=n(11436);const h=e=>{const{label:t,hideLabelFromVision:n}=e;return t?n?(0,o.createElement)(m.VisuallyHidden,{as:"label"},t):(0,o.createElement)(d.StyledLabel,null,t):null},g=(0,p.contextConnect)(((e,t)=>{const{className:n,colors:r,disableCustomColors:d,disableUnits:m,enableAlpha:p,enableStyle:g,hasMixedBorders:b,hideLabelFromVision:y,isLinked:_,label:w,linkedControlClassName:x,linkedValue:C,onLinkedChange:E,onSplitChange:O,popoverPlacement:S,popoverOffset:M,size:P,splitValue:k,toggleLinked:j,wrapperClassName:T,__experimentalIsRenderedInSidebar:I,...N}=(0,v.useBorderBoxControl)(e),[R,L]=(0,o.useState)(null),D=(0,o.useMemo)((()=>S?{placement:S,offset:M,anchor:R,shift:!0}:void 0),[S,M,R]),V=(0,l.useMergeRefs)([L,t]);return(0,o.createElement)(f.View,(0,a.default)({className:n},N,{ref:V}),(0,o.createElement)(h,{label:w,hideLabelFromVision:y}),(0,o.createElement)(f.View,{className:T},_?(0,o.createElement)(c.BorderControl,{className:x,colors:r,disableUnits:m,disableCustomColors:d,enableAlpha:p,enableStyle:g,onChange:E,placeholder:b?(0,i.__)("Mixed"):void 0,__unstablePopoverProps:D,shouldSanitizeBorder:!1,value:C,withSlider:!0,width:"__unstable-large"===P?"116px":"110px",__experimentalIsRenderedInSidebar:I,size:P}):(0,o.createElement)(u.default,{colors:r,disableCustomColors:d,enableAlpha:p,enableStyle:g,onChange:O,popoverPlacement:S,popoverOffset:M,value:k,__experimentalIsRenderedInSidebar:I,size:P}),(0,o.createElement)(s.default,{onClick:j,isLinked:_,size:P})))}),"BorderBoxControl");t.BorderBoxControl=g;var b=g;t.default=b},11436:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderBoxControl=function(e){const{className:t,colors:n=[],onChange:s,enableAlpha:u=!1,enableStyle:c=!0,size:d="default",value:f,__experimentalIsRenderedInSidebar:m=!1,...p}=(0,i.useContextSystem)(e,"BorderBoxControl"),v=(0,a.hasMixedBorders)(f),h=(0,a.hasSplitBorders)(f),g=h?(0,a.getCommonBorder)(f):f,b=h?f:(0,a.getSplitBorders)(f),y=!isNaN(parseFloat(`${null==g?void 0:g.width}`)),[_,w]=(0,r.useState)(!v),x=(0,l.useCx)(),C=(0,r.useMemo)((()=>x(o.borderBoxControl,t)),[x,t]),E=(0,r.useMemo)((()=>x(o.linkedBorderControl())),[x]),O=(0,r.useMemo)((()=>x(o.wrapper)),[x]);return{...p,className:C,colors:n,disableUnits:v&&!y,enableAlpha:u,enableStyle:c,hasMixedBorders:v,isLinked:_,linkedControlClassName:E,onLinkedChange:e=>{if(!e)return s(void 0);if(!v||(0,a.isCompleteBorder)(e))return s((0,a.isEmptyBorder)(e)?void 0:e);const t=(0,a.getBorderDiff)(g,e),n={top:{...null==f?void 0:f.top,...t},right:{...null==f?void 0:f.right,...t},bottom:{...null==f?void 0:f.bottom,...t},left:{...null==f?void 0:f.left,...t}};if((0,a.hasMixedBorders)(n))return s(n);const r=(0,a.isEmptyBorder)(n.top)?void 0:n.top;s(r)},onSplitChange:(e,t)=>{const n={...b,[t]:e};(0,a.hasMixedBorders)(n)?s(n):s(e)},toggleLinked:()=>w(!_),linkedValue:g,size:d,splitValue:b,wrapperClassName:O,__experimentalIsRenderedInSidebar:m}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82398)),a=n(85741),i=n(98138),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}},38504:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BorderBoxControl",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"hasSplitBorders",{enumerable:!0,get:function(){return i.hasSplitBorders}}),Object.defineProperty(t,"isDefinedBorder",{enumerable:!0,get:function(){return i.isDefinedBorder}}),Object.defineProperty(t,"isEmptyBorder",{enumerable:!0,get:function(){return i.isEmptyBorder}}),Object.defineProperty(t,"useBorderBoxControl",{enumerable:!0,get:function(){return a.useBorderBoxControl}});var o=r(n(52104)),a=n(11436),i=n(85741)},82398:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=t.rightBorderControl=t.linkedBorderControl=t.centeredBorderControl=t.borderBoxControlVisualizer=t.borderBoxControlSplitControls=t.borderBoxControlLinkedButton=t.borderBoxControl=void 0;var r=n(18591),o=n(40455);const a=(0,r.css)("","");t.borderBoxControl=a,t.linkedBorderControl=()=>(0,r.css)("flex:1;",(0,o.rtl)({marginRight:"24px"})(),";","");t.wrapper={name:"bjn8wh",styles:"position:relative"},t.borderBoxControlLinkedButton=e=>(0,r.css)("position:absolute;top:","__unstable-large"===e?"8px":"3px",";",(0,o.rtl)({right:0})()," line-height:0;","");const i=e=>{const{color:t=o.COLORS.gray[200],style:n="solid",width:r=o.CONFIG.borderWidth}=e||{};return`${t} ${r&&"0"!==r||t?n||"solid":n} ${r!==o.CONFIG.borderWidth?`clamp(1px, ${r}, 10px)`:r}`};t.borderBoxControlVisualizer=(e,t)=>(0,r.css)("position:absolute;top:","__unstable-large"===t?"20px":"15px",";right:","__unstable-large"===t?"39px":"29px",";bottom:","__unstable-large"===t?"20px":"15px",";left:","__unstable-large"===t?"39px":"29px",";border-top:",i(null==e?void 0:e.top),";border-bottom:",i(null==e?void 0:e.bottom),";",(0,o.rtl)({borderLeft:i(null==e?void 0:e.left)})()," ",(0,o.rtl)({borderRight:i(null==e?void 0:e.right)})(),";",""),t.borderBoxControlSplitControls=e=>(0,r.css)("position:relative;flex:1;width:","__unstable-large"===e?void 0:"80%",";","");t.centeredBorderControl={name:"1nwbfnf",styles:"grid-column:span 2;margin:0 auto"},t.rightBorderControl=()=>(0,r.css)((0,o.rtl)({marginLeft:"auto"})(),";","")},85741:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyBorder=t.isDefinedBorder=t.isCompleteBorder=t.hasSplitBorders=t.hasMixedBorders=t.getSplitBorders=t.getShorthandBorderStyle=t.getMostCommonUnit=t.getCommonBorder=t.getBorderDiff=void 0;var r=n(48569);const o=["top","right","bottom","left"],a=["color","style","width"],i=e=>!e||!a.some((t=>void 0!==e[t]));t.isEmptyBorder=i,t.isDefinedBorder=e=>!!e&&(l(e)?!o.every((t=>i(e[t]))):!i(e)),t.isCompleteBorder=e=>!!e&&a.every((t=>void 0!==e[t]));const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).some((e=>-1!==o.indexOf(e)))};t.hasSplitBorders=l,t.hasMixedBorders=e=>{if(!l(e))return!1;const t=o.map((t=>s(null==e?void 0:e[t])));return!t.every((e=>e===t[0]))},t.getSplitBorders=e=>{if(e&&!i(e))return{top:e,right:e,bottom:e,left:e}},t.getBorderDiff=(e,t)=>{const n={};return e.color!==t.color&&(n.color=t.color),e.style!==t.style&&(n.style=t.style),e.width!==t.width&&(n.width=t.width),n},t.getCommonBorder=e=>{if(!e)return;const t=[],n=[],r=[];o.forEach((o=>{var a,i,l;t.push(null===(a=e[o])||void 0===a?void 0:a.color),n.push(null===(i=e[o])||void 0===i?void 0:i.style),r.push(null===(l=e[o])||void 0===l?void 0:l.width)}));const a=t.every((e=>e===t[0])),i=n.every((e=>e===n[0])),l=r.every((e=>e===r[0]));return{color:a?t[0]:void 0,style:i?n[0]:void 0,width:l?r[0]:u(r)}};const s=(e,t)=>{if(i(e))return t;const{color:n,style:r,width:o}=t||{},{color:a=n,style:l=r,width:s=o}=e;return[s,s&&"0"!==s||a?l||"solid":l,a].filter(Boolean).join(" ")};t.getShorthandBorderStyle=s;const u=e=>function(e){if(0===e.length)return;const t={};let n,r=0;return e.forEach((e=>{t[e]=void 0===t[e]?1:t[e]+1,t[e]>r&&(n=e,r=t[e])})),n}(e.map((e=>void 0===e?void 0:(0,r.parseCSSUnitValue)(`${e}`)[1])).filter((e=>void 0!==e)));t.getMostCommonUnit=u},46336:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=n(58446),s=r(n(5049)),u=r(n(55932)),c=r(n(79325)),d=r(n(92950)),f=r(n(53520)),m=n(44384),p=n(74618),v=n(98138),h=n(57935),g=n(30686),b=r(n(22353)),y=n(56146),_=(0,v.contextConnect)(((e,t)=>{const{__experimentalIsRenderedInSidebar:n,border:r,colors:v,disableCustomColors:_,enableAlpha:w,enableStyle:x,indicatorClassName:C,indicatorWrapperClassName:E,onReset:O,onColorChange:S,onStyleChange:M,popoverContentClassName:P,popoverControlsClassName:k,resetButtonClassName:j,showDropdownHeader:T,__unstablePopoverProps:I,...N}=(0,h.useBorderControlDropdown)(e),{color:R,style:L}=r||{},D=((e,t)=>{if(e&&t){if((0,y.isMultiplePaletteArray)(t)){let n;return t.some((t=>t.colors.some((t=>t.color===e&&(n=t,!0))))),n}return t.find((t=>t.color===e))}})(R,v),V=((e,t,n,r)=>r?t?n?(0,i.sprintf)('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,t.color,n):(0,i.sprintf)('Border color and style picker. The currently selected color is called "%1$s" and has a value of "%2$s".',t.name,t.color):e?n?(0,i.sprintf)('Border color and style picker. The currently selected color has a value of "%1$s". The currently selected style is "%2$s".',e,n):(0,i.sprintf)('Border color and style picker. The currently selected color has a value of "%1$s".',e):(0,i.__)("Border color and style picker."):t?(0,i.sprintf)('Border color picker. The currently selected color is called "%1$s" and has a value of "%2$s".',t.name,t.color):e?(0,i.sprintf)('Border color picker. The currently selected color has a value of "%1$s".',e):(0,i.__)("Border color picker."))(R,D,L,x),B=R||L&&"none"!==L,A=n?"bottom left":void 0;return(0,o.createElement)(f.default,(0,a.default)({renderToggle:e=>{let{onToggle:t}=e;return(0,o.createElement)(u.default,{onClick:t,variant:"tertiary","aria-label":V,tooltipPosition:A,label:(0,i.__)("Border color and style picker"),showTooltip:!0},(0,o.createElement)("span",{className:E},(0,o.createElement)(c.default,{className:C,colorValue:R})))},renderContent:e=>{let{onClose:t}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(b.default,{paddingSize:"medium"},(0,o.createElement)(p.VStack,{className:k,spacing:6},T?(0,o.createElement)(m.HStack,null,(0,o.createElement)(g.StyledLabel,null,(0,i.__)("Border color")),(0,o.createElement)(u.default,{isSmall:!0,label:(0,i.__)("Close border color"),icon:l.closeSmall,onClick:t})):void 0,(0,o.createElement)(d.default,{className:P,value:R,onChange:S,colors:v,disableCustomColors:_,__experimentalIsRenderedInSidebar:n,clearable:!1,enableAlpha:w}),x&&(0,o.createElement)(s.default,{label:(0,i.__)("Style"),value:L,onChange:M}))),B&&(0,o.createElement)(b.default,{paddingSize:"none"},(0,o.createElement)(u.default,{className:j,variant:"tertiary",onClick:()=>{O(),t()}},(0,i.__)("Reset to default"))))},popoverProps:{...I}},N,{ref:t}))}),"BorderControlDropdown");t.default=_},57935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderControlDropdown=function(e){const{border:t,className:n,colors:s=[],enableAlpha:u=!1,enableStyle:c=!0,onChange:d,previousStyleSelection:f,size:m="default",__experimentalIsRenderedInSidebar:p=!1,...v}=(0,i.useContextSystem)(e,"BorderControlDropdown"),[h]=(0,a.parseQuantityAndUnitFromRawValue)(null==t?void 0:t.width),g=0===h,b=(0,l.useCx)(),y=(0,r.useMemo)((()=>b(o.borderControlDropdown(m),n)),[n,b,m]),_=(0,r.useMemo)((()=>b(o.borderColorIndicator)),[b]),w=(0,r.useMemo)((()=>b(o.colorIndicatorWrapper(t,m))),[t,b,m]),x=(0,r.useMemo)((()=>b(o.borderControlPopoverControls)),[b]),C=(0,r.useMemo)((()=>b(o.borderControlPopoverContent)),[b]),E=(0,r.useMemo)((()=>b(o.resetButton)),[b]);return{...v,border:t,className:y,colors:s,enableAlpha:u,enableStyle:c,indicatorClassName:_,indicatorWrapperClassName:w,onColorChange:e=>{const n="none"===(null==t?void 0:t.style)?f:null==t?void 0:t.style,r=g&&e?"1px":null==t?void 0:t.width;d({color:e,style:n,width:r})},onStyleChange:e=>{const n=g&&e?"1px":null==t?void 0:t.width;d({...t,style:e,width:n})},onReset:()=>{d({...t,color:void 0,style:void 0})},popoverContentClassName:C,popoverControlsClassName:x,resetButtonClassName:E,__experimentalIsRenderedInSidebar:p}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(2718)),a=n(98789),i=n(98138),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}},48081:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(46336))},79673:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(58446),l=n(25150),s=r(n(55932)),u=n(30686),c=n(29640),d=n(53753),f=n(42937),m=n(98138),p=n(70652);const v=[{label:(0,l.__)("Solid"),icon:i.lineSolid,value:"solid"},{label:(0,l.__)("Dashed"),icon:i.lineDashed,value:"dashed"},{label:(0,l.__)("Dotted"),icon:i.lineDotted,value:"dotted"}],h=e=>{const{label:t,hideLabelFromVision:n}=e;return t?n?(0,o.createElement)(f.VisuallyHidden,{as:"label"},t):(0,o.createElement)(u.StyledLabel,null,t):null};var g=(0,m.contextConnect)(((e,t)=>{const{buttonClassName:n,hideLabelFromVision:r,label:i,onChange:l,value:u,...f}=(0,p.useBorderControlStylePicker)(e);return(0,o.createElement)(c.View,(0,a.default)({},f,{ref:t}),(0,o.createElement)(h,{label:i,hideLabelFromVision:r}),(0,o.createElement)(d.Flex,{justify:"flex-start",gap:1},v.map((e=>(0,o.createElement)(s.default,{key:e.value,className:n,icon:e.icon,isSmall:!0,isPressed:e.value===u,onClick:()=>l(e.value===u?void 0:e.value),"aria-label":e.label,label:e.label,showTooltip:!0})))))}),"BorderControlStylePicker");t.default=g},70652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderControlStylePicker=function(e){const{className:t,...n}=(0,a.useContextSystem)(e,"BorderControlStylePicker"),l=(0,i.useCx)();return{...n,className:(0,r.useMemo)((()=>l(o.borderControlStylePicker,t)),[t,l]),buttonClassName:(0,r.useMemo)((()=>l(o.borderStyleButton)),[l])}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(2718)),a=n(98138),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},5049:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(79673))},4286:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BorderControl=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=r(n(48081)),s=r(n(41001)),u=r(n(96484)),c=n(44384),d=n(30686),f=n(29640),m=n(42937),p=n(98138),v=n(9709);const h=e=>{const{label:t,hideLabelFromVision:n}=e;return t?n?(0,o.createElement)(m.VisuallyHidden,{as:"legend"},t):(0,o.createElement)(d.StyledLabel,{as:"legend"},t):null},g=(0,p.contextConnect)(((e,t)=>{const{colors:n,disableCustomColors:r,disableUnits:d,enableAlpha:m,enableStyle:p,hideLabelFromVision:g,innerWrapperClassName:b,inputWidth:y,label:_,onBorderChange:w,onSliderChange:x,onWidthChange:C,placeholder:E,__unstablePopoverProps:O,previousStyleSelection:S,showDropdownHeader:M,size:P,sliderClassName:k,value:j,widthUnit:T,widthValue:I,withSlider:N,__experimentalIsRenderedInSidebar:R,...L}=(0,v.useBorderControl)(e);return(0,o.createElement)(f.View,(0,a.default)({as:"fieldset"},L,{ref:t}),(0,o.createElement)(h,{label:_,hideLabelFromVision:g}),(0,o.createElement)(c.HStack,{spacing:4,className:b},(0,o.createElement)(s.default,{prefix:(0,o.createElement)(l.default,{border:j,colors:n,__unstablePopoverProps:O,disableCustomColors:r,enableAlpha:m,enableStyle:p,onChange:w,previousStyleSelection:S,showDropdownHeader:M,__experimentalIsRenderedInSidebar:R,size:P}),label:(0,i.__)("Border width"),hideLabelFromVision:!0,min:0,onChange:C,value:(null==j?void 0:j.width)||"",placeholder:E,disableUnits:d,__unstableInputWidth:y,size:P}),N&&(0,o.createElement)(u.default,{__nextHasNoMarginBottom:!0,label:(0,i.__)("Border width"),hideLabelFromVision:!0,className:k,initialPosition:0,max:100,min:0,onChange:x,step:["px","%"].includes(T)?1:.1,value:I||void 0,withInputField:!1})))}),"BorderControl");t.BorderControl=g;var b=g;t.default=b},9709:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBorderControl=function(e){const{className:t,colors:n=[],isCompact:s,onChange:c,enableAlpha:d=!0,enableStyle:f=!0,shouldSanitizeBorder:m=!0,size:p="default",value:v,width:h,__experimentalIsRenderedInSidebar:g=!1,...b}=(0,i.useContextSystem)(e,"BorderControl"),[y,_]=(0,a.parseQuantityAndUnitFromRawValue)(null==v?void 0:v.width),w=_||"px",x=0===y,[C,E]=(0,r.useState)(),[O,S]=(0,r.useState)(),M=(0,r.useCallback)((e=>{if(m)return c(u(e));c(e)}),[c,m]),P=(0,r.useCallback)((e=>{const t=""===e?void 0:e,[n]=(0,a.parseQuantityAndUnitFromRawValue)(e),r=0===n,o={...v,width:t};r&&!x&&(E(null==v?void 0:v.color),S(null==v?void 0:v.style),o.color=void 0,o.style="none"),!r&&x&&(void 0===o.color&&(o.color=C),"none"===o.style&&(o.style=O)),M(o)}),[v,x,C,O,M]),k=(0,r.useCallback)((e=>{P(`${e}${w}`)}),[P,w]),j=(0,l.useCx)(),T=(0,r.useMemo)((()=>j(o.borderControl,t)),[t,j]);let I=h;s&&(I="__unstable-large"===p?"116px":"90px");const N=(0,r.useMemo)((()=>{const e=!!I&&o.wrapperWidth,t=o.wrapperHeight(p);return j(o.innerWrapper(),e,t)}),[I,j,p]),R=(0,r.useMemo)((()=>j(o.borderSlider())),[j]);return{...b,className:T,colors:n,enableAlpha:d,enableStyle:f,innerWrapperClassName:N,inputWidth:I,onBorderChange:M,onSliderChange:k,onWidthChange:P,previousStyleSelection:O,sliderClassName:R,value:v,widthUnit:w,widthValue:y,size:p,__experimentalIsRenderedInSidebar:g}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(2718)),a=n(98789),i=n(98138),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const u=e=>{const t=void 0===(null==e?void 0:e.width)||""===e.width,n=void 0===(null==e?void 0:e.color);if(!t||!n)return e}},50770:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BorderControl",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useBorderControl",{enumerable:!0,get:function(){return a.useBorderControl}});var o=r(n(4286)),a=n(9709)},2718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapperWidth=t.wrapperHeight=t.resetButton=t.innerWrapper=t.colorIndicatorWrapper=t.colorIndicatorBorder=t.borderStyleButton=t.borderSlider=t.borderControlStylePicker=t.borderControlPopoverControls=t.borderControlPopoverContent=t.borderControlDropdown=t.borderControl=t.borderColorIndicator=void 0;var r=n(18591),o=n(40455),a=n(36877),i=n(30686),l=n(67076);const s={name:"f3vz0n",styles:"font-weight:500"},u=(0,r.css)("box-shadow:inset 0 0 0 ",o.CONFIG.borderWidth," ",o.COLORS.ui.borderFocus,";",""),c=(0,r.css)("border:0;padding:0;margin:0;",o.boxSizingReset,";","");t.borderControl=c,t.innerWrapper=()=>(0,r.css)(l.ValueInput,"{flex:1 1 40%;}&& ",l.UnitSelect,"{min-height:0;}","");const d=(0,r.css)(l.ValueInput,"{flex:0 0 auto;}","");t.wrapperWidth=d,t.wrapperHeight=e=>(0,r.css)("height:","__unstable-large"===e?"40px":"30px",";",""),t.borderControlDropdown=e=>(0,r.css)("background:#fff;&&>button{height:","__unstable-large"===e?"40px":"30px",";width:","__unstable-large"===e?"40px":"30px",";padding:0;display:flex;align-items:center;justify-content:center;",(0,o.rtl)({borderRadius:"2px 0 0 2px"},{borderRadius:"0 2px 2px 0"})()," border:",o.CONFIG.borderWidth," solid ",o.COLORS.ui.border,";&:focus,&:hover:not( :disabled ){",u," border-color:",o.COLORS.ui.borderFocus,";z-index:1;position:relative;}}","");const f=e=>{const{color:t,style:n}=e||{},a=n&&"none"!==n?o.COLORS.gray[300]:void 0;return(0,r.css)("border-style:","none"===n?"solid":n,";border-color:",t||a,";","")};t.colorIndicatorBorder=f,t.colorIndicatorWrapper=(e,t)=>{const{style:n}=e||{};return(0,r.css)("border-radius:9999px;border:2px solid transparent;",n?f(e):void 0," width:","__unstable-large"===t?"24px":"22px",";height:","__unstable-large"===t?"24px":"22px",";padding:","__unstable-large"===t?"2px":"1px",";&>span{height:",(0,a.space)(4),";width:",(0,a.space)(4),";background:linear-gradient(\n\t\t\t\t-45deg,\n\t\t\t\ttransparent 48%,\n\t\t\t\trgb( 0 0 0 / 20% ) 48%,\n\t\t\t\trgb( 0 0 0 / 20% ) 52%,\n\t\t\t\ttransparent 52%\n\t\t\t);}","")};const m=(0,r.css)("width:",228,"px;>div:first-of-type>",i.StyledLabel,"{margin-bottom:0;",s,";}&& ",i.StyledLabel,"+button:not( .has-text ){min-width:24px;padding:0;}","");t.borderControlPopoverControls=m;const p=(0,r.css)("","");t.borderControlPopoverContent=p;const v=(0,r.css)("","");t.borderColorIndicator=v;const h=(0,r.css)("justify-content:center;width:100%;&&{border-top:",o.CONFIG.borderWidth," solid ",o.COLORS.gray[200],";border-top-left-radius:0;border-top-right-radius:0;height:46px;}","");t.resetButton=h;const g=(0,r.css)(i.StyledLabel,"{",s,";}","");t.borderControlStylePicker=g;t.borderStyleButton={name:"1486260",styles:"&&&&&{min-width:30px;width:30px;height:30px;padding:3px;}"},t.borderSlider=()=>(0,r.css)("flex:1 1 60%;",(0,o.rtl)({marginRight:(0,a.space)(3)})(),";","")},44828:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{onChange:t=s,onFocus:n=s,onHoverOn:r=s,onHoverOff:u=s,values:c,sides:d,selectedUnits:f,setSelectedUnits:m,...p}=e;const v=(0,l.getAllValue)(c,f,d),h=(0,l.isValuesDefined)(c)&&(0,l.isValuesMixed)(c,f,d),g=h?l.LABELS.mixed:void 0;return(0,o.createElement)(i.default,(0,a.default)({},p,{disableUnits:h,isOnly:!0,value:v,onChange:e=>{const n=void 0===e||isNaN(parseFloat(e))?void 0:e,r=(0,l.applyValueToSides)(c,n,d);t(r)},onUnitChange:e=>{const t=(0,l.applyValueToSides)(f,e,d);m(t)},onFocus:e=>{n(e,{side:"all"})},onHoverOn:()=>{r({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{u({top:!1,bottom:!1,left:!1,right:!1})},placeholder:g}))};var o=n(32847),a=r(n(31304)),i=r(n(22376)),l=n(49198);const s=()=>{}},22288:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{onChange:t,onFocus:n,onHoverOn:r,onHoverOff:d,values:f,selectedUnits:m,setSelectedUnits:p,sides:v,...h}=e;const g=e=>t=>{n&&n(t,{side:e})},b=e=>()=>{r&&("vertical"===e&&r({top:!0,bottom:!0}),"horizontal"===e&&r({left:!0,right:!0}))},y=e=>()=>{d&&("vertical"===e&&d({top:!1,bottom:!1}),"horizontal"===e&&d({left:!1,right:!1}))},_=e=>n=>{if(!t)return;const r={...f},o=void 0===n||isNaN(parseFloat(n))?void 0:n;"vertical"===e&&(r.top=o,r.bottom=o),"horizontal"===e&&(r.left=o,r.right=o),t(r)},w=e=>t=>{const n={...m};"vertical"===e&&(n.top=t,n.bottom=t),"horizontal"===e&&(n.left=t,n.right=t),p(n)},x=null!=v&&v.length?c.filter((e=>v.includes(e))):c,C=x[0],E=x[x.length-1],O=C===E&&C;return(0,o.createElement)(u.Layout,{gap:0,align:"top",className:"component-box-control__vertical-horizontal-input-controls"},x.map((e=>{const[t,n]=(0,i.parseQuantityAndUnitFromRawValue)("vertical"===e?f.top:f.left),r="vertical"===e?m.top:m.left;return(0,o.createElement)(l.default,(0,a.default)({},h,{isFirst:C===e,isLast:E===e,isOnly:O===e,value:[t,null!=r?r:n].join(""),onChange:_(e),onUnitChange:w(e),onFocus:g(e),onHoverOn:b(e),onHoverOff:y(e),label:s.LABELS[e],key:e}))})))};var o=n(32847),a=r(n(31304)),i=n(98789),l=r(n(22376)),s=n(49198),u=n(76747);const c=["vertical","horizontal"]},69660:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{size:t=24,side:n="all",sides:r,...s}=e;const u=e=>!(e=>(null==r?void 0:r.length)&&!r.includes(e))(e)&&("all"===n||n===e),c=u("top")||u("vertical"),d=u("right")||u("horizontal"),f=u("bottom")||u("vertical"),m=u("left")||u("horizontal"),p=t/l;return(0,o.createElement)(i.Root,(0,a.default)({style:{transform:`scale(${p})`}},s),(0,o.createElement)(i.Viewbox,null,(0,o.createElement)(i.TopStroke,{isFocused:c}),(0,o.createElement)(i.RightStroke,{isFocused:d}),(0,o.createElement)(i.BottomStroke,{isFocused:f}),(0,o.createElement)(i.LeftStroke,{isFocused:m})))};var o=n(32847),a=r(n(31304)),i=n(90712);const l=24},6185:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyValueToSides",{enumerable:!0,get:function(){return b.applyValueToSides}}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=n(25150),s=n(75339),u=r(n(55932)),c=n(53753),d=r(n(44828)),f=r(n(22374)),m=r(n(22288)),p=r(n(69660)),v=r(n(3589)),h=n(76747),g=n(98789),b=n(49198),y=n(92342);const _={min:0},w=()=>{};var x=function e(t){let{id:n,inputProps:r=_,onChange:x=w,label:C=(0,l.__)("Box Control"),values:E,units:O,sides:S,splitOnAxis:M=!1,allowReset:P=!0,resetValues:k=b.DEFAULT_VALUES,onMouseOver:j,onMouseOut:T}=t;const[I,N]=(0,y.useControlledState)(E,{fallback:b.DEFAULT_VALUES}),R=I||b.DEFAULT_VALUES,L=(0,b.isValuesDefined)(E),D=1===(null==S?void 0:S.length),[V,B]=(0,o.useState)(L),[A,z]=(0,o.useState)(!L||!(0,b.isValuesMixed)(R)||D),[H,F]=(0,o.useState)((0,b.getInitialSide)(A,M)),[W,Z]=(0,o.useState)({top:(0,g.parseQuantityAndUnitFromRawValue)(null==E?void 0:E.top)[1],right:(0,g.parseQuantityAndUnitFromRawValue)(null==E?void 0:E.right)[1],bottom:(0,g.parseQuantityAndUnitFromRawValue)(null==E?void 0:E.bottom)[1],left:(0,g.parseQuantityAndUnitFromRawValue)(null==E?void 0:E.left)[1]}),$=function(t){const n=(0,i.useInstanceId)(e,"inspector-box-control");return t||n}(n),U=`${$}-heading`,G={...r,onChange:e=>{x(e),N(e),B(!0)},onFocus:(e,t)=>{let{side:n}=t;F(n)},isLinked:A,units:O,selectedUnits:W,setSelectedUnits:Z,sides:S,values:R,onMouseOver:j,onMouseOut:T};return(0,o.createElement)(h.Root,{id:$,role:"group","aria-labelledby":U},(0,o.createElement)(h.Header,{className:"component-box-control__header"},(0,o.createElement)(c.FlexItem,null,(0,o.createElement)(s.BaseControl.VisualLabel,{id:U},C)),P&&(0,o.createElement)(c.FlexItem,null,(0,o.createElement)(u.default,{className:"component-box-control__reset-button",variant:"secondary",isSmall:!0,onClick:()=>{x(k),N(k),Z(k),B(!1)},disabled:!V},(0,l.__)("Reset")))),(0,o.createElement)(h.HeaderControlWrapper,{className:"component-box-control__header-control-wrapper"},(0,o.createElement)(c.FlexItem,null,(0,o.createElement)(p.default,{side:H,sides:S})),A&&(0,o.createElement)(c.FlexBlock,null,(0,o.createElement)(d.default,(0,a.default)({"aria-label":C},G))),!A&&M&&(0,o.createElement)(c.FlexBlock,null,(0,o.createElement)(m.default,G)),!D&&(0,o.createElement)(c.FlexItem,null,(0,o.createElement)(v.default,{onClick:()=>{z(!A),F((0,b.getInitialSide)(!A,M))},isLinked:A}))),!A&&!M&&(0,o.createElement)(f.default,G))};t.default=x},22374:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{onChange:t=c,onFocus:n=c,onHoverOn:r=c,onHoverOff:d=c,values:f,selectedUnits:m,setSelectedUnits:p,sides:v,...h}=e;const g=e=>t=>{n(t,{side:e})},b=e=>()=>{r({[e]:!0})},y=e=>()=>{d({[e]:!1})},_=e=>(n,r)=>{let{event:o}=r;const a={...f},i=void 0===n||isNaN(parseFloat(n))?void 0:n;if(a[e]=i,o.altKey)switch(e){case"top":a.bottom=i;break;case"bottom":a.top=i;break;case"left":a.right=i;break;case"right":a.left=i}(e=>{t(e)})(a)},w=e=>t=>{const n={...m};n[e]=t,p(n)},x=null!=v&&v.length?s.ALL_SIDES.filter((e=>v.includes(e))):s.ALL_SIDES,C=x[0],E=x[x.length-1],O=C===E&&C;return(0,o.createElement)(u.LayoutContainer,{className:"component-box-control__input-controls-wrapper"},(0,o.createElement)(u.Layout,{gap:0,align:"top",className:"component-box-control__input-controls"},x.map((e=>{const[t,n]=(0,l.parseQuantityAndUnitFromRawValue)(f[e]),r=f[e]?n:m[e];return(0,o.createElement)(i.default,(0,a.default)({},h,{isFirst:C===e,isLast:E===e,isOnly:O===e,value:[t,r].join(""),onChange:_(e),onUnitChange:w(e),onFocus:g(e),onHoverOn:b(e),onHoverOff:y(e),label:s.LABELS[e],key:`box-control-${e}`}))}))))};var o=n(32847),a=r(n(31304)),i=r(n(22376)),l=n(98789),s=n(49198),u=n(76747);const c=()=>{}},3589:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{isLinked:t,...n}=e;const r=t?(0,l.__)("Unlink sides"):(0,l.__)("Link sides");return(0,o.createElement)(u.default,{text:r},(0,o.createElement)(s.default,(0,a.default)({},n,{className:"component-box-control__linked-button",isSmall:!0,icon:t?i.link:i.linkOff,iconSize:24,"aria-label":r})))};var o=n(32847),a=r(n(31304)),i=n(58446),l=n(25150),s=r(n(55932)),u=r(n(30497))},90712:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Viewbox=t.TopStroke=t.Root=t.RightStroke=t.LeftStroke=t.BottomStroke=void 0;var o=r(n(12272)),a=n(18591);const i=(0,o.default)("span",{target:"e1j5nr4z8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"});t.Root=i;const l=(0,o.default)("span",{target:"e1j5nr4z7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"});t.Viewbox=l;const s=(0,o.default)("span",{target:"e1j5nr4z6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",(e=>{let{isFocused:t}=e;return(0,a.css)({backgroundColor:"currentColor",opacity:t?1:.3},"","")}),";"),u=(0,o.default)(s,{target:"e1j5nr4z5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),c=(0,o.default)(s,{target:"e1j5nr4z4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),d=(0,o.default)(c,{target:"e1j5nr4z3"})({name:"abcix4",styles:"top:0"});t.TopStroke=d;const f=(0,o.default)(u,{target:"e1j5nr4z2"})({name:"1wf8jf",styles:"right:0"});t.RightStroke=f;const m=(0,o.default)(c,{target:"e1j5nr4z1"})({name:"8tapst",styles:"bottom:0"});t.BottomStroke=m;const p=(0,o.default)(u,{target:"e1j5nr4z0"})({name:"1ode3cm",styles:"left:0"});t.LeftStroke=p},76747:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.UnitControlWrapper=t.UnitControl=t.Root=t.LayoutContainer=t.Layout=t.HeaderControlWrapper=t.Header=void 0;var o=r(n(12272)),a=(n(18591),n(53753)),i=r(n(41001)),l=n(40455);const s=(0,o.default)("div",{target:"e1jovhle6"})({name:"14bvcyk",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"});t.Root=s;const u=(0,o.default)(a.Flex,{target:"e1jovhle5"})({name:"5bhc30",styles:"margin-bottom:8px"});t.Header=u;const c=(0,o.default)(a.Flex,{target:"e1jovhle4"})({name:"aujtid",styles:"min-height:30px;gap:0"});t.HeaderControlWrapper=c;const d=(0,o.default)("div",{target:"e1jovhle3"})({name:"112jwab",styles:"box-sizing:border-box;max-width:80px"});t.UnitControlWrapper=d;const f=(0,o.default)(a.Flex,{target:"e1jovhle2"})({name:"xy18ro",styles:"justify-content:center;padding-top:8px"});t.LayoutContainer=f;const m=(0,o.default)(a.Flex,{target:"e1jovhle1"})({name:"3tw5wk",styles:"position:relative;height:100%;width:100%;justify-content:flex-start"});t.Layout=m;var p={name:"1ch9yvl",styles:"border-radius:0"},v={name:"tg3mx0",styles:"border-radius:2px"};const h=(0,o.default)(i.default,{target:"e1jovhle0"})("max-width:60px;",(e=>{let{isFirst:t,isLast:n,isOnly:r}=e;return t?(0,l.rtl)({borderTopRightRadius:0,borderBottomRightRadius:0})():n?(0,l.rtl)({borderTopLeftRadius:0,borderBottomLeftRadius:0})():r?v:p}),";",(e=>{let{isFirst:t,isOnly:n}=e;const r=t||n?0:-1;return(0,l.rtl)({marginLeft:r})()}),";");t.UnitControl=h},22376:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{isFirst:t,isLast:n,isOnly:r,onHoverOn:l=u,onHoverOff:d=u,label:f,value:m,...p}=e;const v=(0,i.useHover)((e=>{let{event:t,...n}=e;n.hovering?l(t,n):d(t,n)}));return(0,o.createElement)(s.UnitControlWrapper,v(),(0,o.createElement)(c,{text:f},(0,o.createElement)(s.UnitControl,(0,a.default)({"aria-label":f,className:"component-box-control__unit-control",isFirst:t,isLast:n,isOnly:r,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:m},p))))};var o=n(32847),a=r(n(31304)),i=n(67687),l=r(n(30497)),s=n(76747);const u=()=>{};function c(e){let{children:t,text:n}=e;return n?(0,o.createElement)(l.default,{text:n,position:"top"},(0,o.createElement)("div",null,t)):t}},49198:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LABELS=t.DEFAULT_VALUES=t.ALL_SIDES=void 0,t.applyValueToSides=function(e,t,n){const r={...e};return null!=n&&n.length?n.forEach((e=>{"vertical"===e?(r.top=t,r.bottom=t):"horizontal"===e?(r.left=t,r.right=t):r[e]=t})):i.forEach((e=>r[e]=t)),r},t.getAllUnitFallback=u,t.getAllValue=s,t.getInitialSide=function(e,t){let n="all";return e||(n=t?"vertical":"top"),n},t.isValuesDefined=function(e){return void 0!==e&&Object.values(e).filter((e=>!!e&&/\d/.test(e))).length>0},t.isValuesMixed=function(){const e=s(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:i);return isNaN(parseFloat(e))},t.normalizeSides=c;var r=n(25150),o=n(98789);const a={all:(0,r.__)("All"),top:(0,r.__)("Top"),bottom:(0,r.__)("Bottom"),left:(0,r.__)("Left"),right:(0,r.__)("Right"),mixed:(0,r.__)("Mixed"),vertical:(0,r.__)("Vertical"),horizontal:(0,r.__)("Horizontal")};t.LABELS=a;t.DEFAULT_VALUES={top:void 0,right:void 0,bottom:void 0,left:void 0};const i=["top","right","bottom","left"];function l(e){return e.sort(((t,n)=>e.filter((e=>e===t)).length-e.filter((e=>e===n)).length)).pop()}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=c(arguments.length>2&&void 0!==arguments[2]?arguments[2]:i).map((t=>(0,o.parseQuantityAndUnitFromRawValue)(e[t]))),r=n.map((e=>{var t;return null!==(t=e[0])&&void 0!==t?t:""})),a=n.map((e=>e[1])),s=r.every((e=>e===r[0]))?r[0]:"";let d;var f;return d="number"==typeof s?l(a):null!==(f=u(t))&&void 0!==f?f:l(a),[s,d].join("")}function u(e){if(e&&"object"==typeof e)return l(Object.values(e).filter(Boolean))}function c(e){const t=[];if(null==e||!e.length)return i;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{const n=i.filter((t=>e.includes(t)));t.push(...n)}return t}t.ALL_SIDES=i},87074:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ButtonGroup=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372));const l=(0,o.forwardRef)((function(e,t){const{className:n,...r}=e,l=(0,i.default)("components-button-group",n);return(0,o.createElement)("div",(0,a.default)({ref:t,role:"group",className:l},r))}));t.ButtonGroup=l;var s=l;t.default=s},87344:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(6777)),l=r(n(55932)),s=(0,o.forwardRef)((function(e,t){let{label:n,labelPosition:r,size:s,tooltip:u,...c}=e;return(0,i.default)("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button",version:"6.2"}),(0,o.createElement)(l.default,(0,a.default)({},c,{ref:t,tooltipPosition:r,iconSize:s,showTooltip:void 0!==u?!!u:void 0,label:u||n}))}));t.default=s},55932:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0,t.UnforwardedButton=m,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(6777)),s=n(89029),u=r(n(30497)),c=r(n(72818)),d=n(42937);const f=["onMouseDown","onClick"];function m(e,t){var n,r;const{isSmall:m,isPressed:v,isBusy:h,isDestructive:g,className:b,disabled:y,icon:_,iconPosition:w="left",iconSize:x,showTooltip:C,tooltipPosition:E,shortcut:O,label:S,children:M,text:P,variant:k,__experimentalIsFocusable:j,describedBy:T,...I}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:a,variant:i,...s}=e,u=i;var c,d,f,m,p;return n&&(null!==(c=u)&&void 0!==c||(u="primary")),o&&(null!==(d=u)&&void 0!==d||(u="tertiary")),r&&(null!==(f=u)&&void 0!==f||(u="secondary")),t&&((0,l.default)("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(m=u)&&void 0!==m||(u="secondary")),a&&(null!==(p=u)&&void 0!==p||(u="link")),{...s,variant:u}}(e),{href:N,target:R,...L}="href"in I?I:{href:void 0,target:void 0,...I},D=(0,s.useInstanceId)(p,"components-button__description"),V="string"==typeof M&&!!M||Array.isArray(M)&&(null==M?void 0:M[0])&&null!==M[0]&&"components-tooltip"!==(null==M||null===(n=M[0])||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),B=(0,i.default)("components-button",b,{"is-secondary":"secondary"===k,"is-primary":"primary"===k,"is-small":m,"is-tertiary":"tertiary"===k,"is-pressed":v,"is-busy":h,"is-link":"link"===k,"is-destructive":g,"has-text":!!_&&V,"has-icon":!!_}),A=y&&!j,z=void 0===N||A?"button":"a",H="button"===z?{type:"button",disabled:A,"aria-pressed":v}:{},F="a"===z?{href:N,target:R}:{};if(y&&j){H["aria-disabled"]=!0,F["aria-disabled"]=!0;for(const e of f)L[e]=e=>{e&&(e.stopPropagation(),e.preventDefault())}}const W=!A&&(C&&S||O||!!S&&!(null!=M&&M.length)&&!1!==C),Z=T?D:void 0,$=L["aria-describedby"]||Z,U={className:B,"aria-label":L["aria-label"]||S,"aria-describedby":$,ref:t},G=(0,o.createElement)(o.Fragment,null,_&&"left"===w&&(0,o.createElement)(c.default,{icon:_,size:x}),P&&(0,o.createElement)(o.Fragment,null,P),_&&"right"===w&&(0,o.createElement)(c.default,{icon:_,size:x}),M),Y="a"===z?(0,o.createElement)("a",(0,a.default)({},F,L,U),G):(0,o.createElement)("button",(0,a.default)({},H,L,U),G);return W?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.default,{text:null!=M&&M.length&&T?T:S,shortcut:O,position:E},Y),T&&(0,o.createElement)(d.VisuallyHidden,null,(0,o.createElement)("span",{id:Z},T))):(0,o.createElement)(o.Fragment,null,Y,T&&(0,o.createElement)(d.VisuallyHidden,null,(0,o.createElement)("span",{id:Z},T)))}const p=(0,o.forwardRef)(m);t.Button=p;var v=p;t.default=v},31484:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CardBody=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(71979),s=n(29640),u=n(73222);const c=(0,i.contextConnect)((function(e,t){const{isScrollable:n,...r}=(0,u.useCardBody)(e);return n?(0,o.createElement)(l.Scrollable,(0,a.default)({},r,{ref:t})):(0,o.createElement)(s.View,(0,a.default)({},r,{ref:t}))}),"CardBody");t.CardBody=c;var d=c;t.default=d},73222:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCardBody=function(e){const{className:t,isScrollable:n=!1,isShady:l=!1,size:s="medium",...u}=(0,o.useContextSystem)(e,"CardBody"),c=(0,i.useCx)();return{...u,className:(0,r.useMemo)((()=>c(a.Body,a.borderRadius,a.cardPaddings[s],l&&a.shady,"components-card__body",t)),[t,c,l,s]),isScrollable:n}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},61570:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCardBody",{enumerable:!0,get:function(){return a.useCardBody}});var o=r(n(31484)),a=n(73222)},66134:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CardDivider=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(69962),s=n(81227);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useCardDivider)(e);return(0,o.createElement)(l.Divider,(0,a.default)({},n,{ref:t}))}),"CardDivider");t.CardDivider=u;var c=u;t.default=c},81227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCardDivider=function(e){const{className:t,...n}=(0,o.useContextSystem)(e,"CardDivider"),l=(0,i.useCx)();return{...n,className:(0,r.useMemo)((()=>l(a.Divider,a.borderColor,"components-card__divider",t)),[t,l])}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},85430:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCardDivider",{enumerable:!0,get:function(){return a.useCardDivider}});var o=r(n(66134)),a=n(81227)},10859:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CardFooter=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(53753),s=n(91738);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useCardFooter)(e);return(0,o.createElement)(l.Flex,(0,a.default)({},n,{ref:t}))}),"CardFooter");t.CardFooter=u;var c=u;t.default=c},91738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCardFooter=function(e){const{className:t,justify:n,isBorderless:l=!1,isShady:s=!1,size:u="medium",...c}=(0,o.useContextSystem)(e,"CardFooter"),d=(0,i.useCx)();return{...c,className:(0,r.useMemo)((()=>d(a.Footer,a.borderRadius,a.borderColor,a.cardPaddings[u],l&&a.borderless,s&&a.shady,"components-card__footer",t)),[t,d,l,s,u]),justify:n}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},46057:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCardFooter",{enumerable:!0,get:function(){return a.useCardFooter}});var o=r(n(10859)),a=n(91738)},31998:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CardHeader=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(53753),s=n(18941);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useCardHeader)(e);return(0,o.createElement)(l.Flex,(0,a.default)({},n,{ref:t}))}),"CardHeader");t.CardHeader=u;var c=u;t.default=c},18941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCardHeader=function(e){const{className:t,isBorderless:n=!1,isShady:l=!1,size:s="medium",...u}=(0,o.useContextSystem)(e,"CardHeader"),c=(0,i.useCx)();return{...u,className:(0,r.useMemo)((()=>c(a.Header,a.borderRadius,a.borderColor,a.cardPaddings[s],n&&a.borderless,l&&a.shady,"components-card__header",t)),[t,c,n,l,s])}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},2272:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCardHeader",{enumerable:!0,get:function(){return a.useCardHeader}});var o=r(n(31998)),a=n(18941)},34341:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CardMedia=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(12704);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useCardMedia)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"CardMedia");t.CardMedia=u;var c=u;t.default=c},12704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCardMedia=function(e){const{className:t,...n}=(0,o.useContextSystem)(e,"CardMedia"),l=(0,i.useCx)();return{...n,className:(0,r.useMemo)((()=>l(a.Media,a.borderRadius,"components-card__media",t)),[t,l])}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},81531:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCardMedia",{enumerable:!0,get:function(){return a.useCardMedia}});var o=r(n(34341)),a=n(12704)},7862:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Card=void 0;var o=n(32847),a=r(n(31304)),i=n(18591),l=n(98138),s=n(92772),u=n(29640),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),d=n(96677),f=r(n(50081)),m=n(7769);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const v=(0,l.contextConnect)((function(e,t){const{children:n,elevation:r,isBorderless:p,isRounded:v,size:h,...g}=(0,d.useCard)(e),b=v?f.default.cardBorderRadius:0,y=(0,m.useCx)(),_=(0,o.useMemo)((()=>y((0,i.css)({borderRadius:b},"",""))),[y,b]),w=(0,o.useMemo)((()=>{const e={size:h,isBorderless:p};return{CardBody:e,CardHeader:e,CardFooter:e}}),[p,h]);return(0,o.createElement)(l.ContextSystemProvider,{value:w},(0,o.createElement)(u.View,(0,a.default)({},g,{ref:t}),(0,o.createElement)(u.View,{className:y(c.Content)},n),(0,o.createElement)(s.Elevation,{className:_,isInteractive:!1,value:r?1:0}),(0,o.createElement)(s.Elevation,{className:_,isInteractive:!1,value:r})))}),"Card");t.Card=v;var h=v;t.default=h},96677:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useCard=function(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:c=!0,size:d="medium",...f}=(0,i.useContextSystem)(function(e){let{elevation:t,isElevated:n,...r}=e;const a={...r};let i=t;var l;n&&((0,o.default)("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(l=i)&&void 0!==l||(i=2));return void 0!==i&&(a.elevation=i),a}(e),"Card"),m=(0,u.useCx)(),p=(0,a.useMemo)((()=>m(s.Card,r&&s.boxShadowless,c&&s.rounded,t)),[t,m,r,c]);return{...(0,l.useSurface)({...f,className:p}),elevation:n,isBorderless:r,isRounded:c,size:d}};var o=r(n(6777)),a=n(32847),i=n(98138),l=n(66307),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(9739)),u=n(7769);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}},41400:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useCard",{enumerable:!0,get:function(){return a.useCard}});var o=r(n(7862)),a=n(96677)},69804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"CardBody",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"CardDivider",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"CardFooter",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"CardHeader",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"CardMedia",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useCard",{enumerable:!0,get:function(){return r.useCard}}),Object.defineProperty(t,"useCardBody",{enumerable:!0,get:function(){return o.useCardBody}}),Object.defineProperty(t,"useCardDivider",{enumerable:!0,get:function(){return a.useCardDivider}}),Object.defineProperty(t,"useCardFooter",{enumerable:!0,get:function(){return i.useCardFooter}}),Object.defineProperty(t,"useCardHeader",{enumerable:!0,get:function(){return l.useCardHeader}}),Object.defineProperty(t,"useCardMedia",{enumerable:!0,get:function(){return s.useCardMedia}});var r=c(n(41400)),o=c(n(61570)),a=c(n(85430)),i=c(n(46057)),l=c(n(2272)),s=c(n(81531));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}},9739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shady=t.rounded=t.cardPaddings=t.boxShadowless=t.borderless=t.borderRadius=t.borderColor=t.Media=t.Header=t.Footer=t.Divider=t.Content=t.Card=t.Body=void 0;var r=n(18591),o=n(40455);const a=`calc(${o.CONFIG.cardBorderRadius} - 1px)`,i=(0,r.css)("box-shadow:0 0 0 1px ",o.CONFIG.surfaceBorderColor,";outline:none;","");t.Card=i;t.Header={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"};t.Footer={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"};t.Content={name:"13udsys",styles:"height:100%"};t.Body={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"};t.Media={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"};t.Divider={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"};const l=(0,r.css)("&:first-of-type{border-top-left-radius:",a,";border-top-right-radius:",a,";}&:last-of-type{border-bottom-left-radius:",a,";border-bottom-right-radius:",a,";}","");t.borderRadius=l;const s=(0,r.css)("border-color:",o.CONFIG.colorDivider,";","");t.borderColor=s;t.boxShadowless={name:"1t90u8d",styles:"box-shadow:none"};t.borderless={name:"1e1ncky",styles:"border:none"};const u=(0,r.css)("border-radius:",a,";","");t.rounded=u;const c=(0,r.css)("padding:",o.CONFIG.cardPaddingXSmall,";",""),d={large:(0,r.css)("padding:",o.CONFIG.cardPaddingLarge,";",""),medium:(0,r.css)("padding:",o.CONFIG.cardPaddingMedium,";",""),small:(0,r.css)("padding:",o.CONFIG.cardPaddingSmall,";",""),xSmall:c,extraSmall:c};t.cardPaddings=d;const f=(0,r.css)("background-color:",o.COLORS.ui.backgroundDisabled,";","");t.shady=f},31261:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxControl=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(6777)),u=n(58446),c=r(n(75339));function d(e){const{__nextHasNoMarginBottom:t,label:n,className:r,heading:f,checked:m,indeterminate:p,help:v,onChange:h,...g}=e;f&&(0,s.default)("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const[b,y]=(0,o.useState)(!1),[_,w]=(0,o.useState)(!1),x=(0,l.useRefEffect)((e=>{e&&(e.indeterminate=!!p,y(e.matches(":checked")),w(e.matches(":indeterminate")))}),[m,p]),C=`inspector-checkbox-control-${(0,l.useInstanceId)(d)}`;return(0,o.createElement)(c.default,{__nextHasNoMarginBottom:t,label:f,id:C,help:v,className:(0,i.default)("components-checkbox-control",r)},(0,o.createElement)("span",{className:"components-checkbox-control__input-container"},(0,o.createElement)("input",(0,a.default)({ref:x,id:C,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>h(e.target.checked),checked:m,"aria-describedby":v?C+"__help":void 0},g)),_?(0,o.createElement)(u.Icon,{icon:u.reset,className:"components-checkbox-control__indeterminate",role:"presentation"}):null,b?(0,o.createElement)(u.Icon,{icon:u.check,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:C},n))}var f=d;t.default=f},32137:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonAction=m,t.DropdownLinkAction=f,t.Option=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(58446),s=r(n(55932)),u=r(n(53520)),c=r(n(30497));function d(e){let{className:t,isSelected:n,selectedIconProps:r,tooltipText:u,...d}=e;const f=(0,o.createElement)(s.default,(0,a.default)({isPressed:n,className:"components-circular-option-picker__option"},d));return(0,o.createElement)("div",{className:(0,i.default)(t,"components-circular-option-picker__option-wrapper")},u?(0,o.createElement)(c.default,{text:u},f):f,n&&(0,o.createElement)(l.Icon,(0,a.default)({icon:l.check},r||{})))}function f(e){let{buttonProps:t,className:n,dropdownProps:r,linkText:l}=e;return(0,o.createElement)(u.default,(0,a.default)({className:(0,i.default)("components-circular-option-picker__dropdown-link-action",n),renderToggle:e=>{let{isOpen:n,onToggle:r}=e;return(0,o.createElement)(s.default,(0,a.default)({"aria-expanded":n,"aria-haspopup":"true",onClick:r,variant:"link"},t),l)}},r))}function m(e){let{className:t,children:n,...r}=e;return(0,o.createElement)(s.default,(0,a.default)({className:(0,i.default)("components-circular-option-picker__clear",t),variant:"tertiary"},r),n)}function p(e){const{actions:t,className:n,options:r,children:a}=e;return(0,o.createElement)("div",{className:(0,i.default)("components-circular-option-picker",n)},(0,o.createElement)("div",{className:"components-circular-option-picker__swatches"},r),a,t&&(0,o.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}p.Option=d,p.ButtonAction=m,p.DropdownLinkAction=f;var v=p;t.default=v},30079:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{className:t,children:n,onCopy:r,onFinishCopy:d,text:f,...m}=e;(0,s.default)("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});const p=(0,o.useRef)(),v=(0,l.useCopyToClipboard)(f,(()=>{r(),clearTimeout(p.current),d&&(p.current=setTimeout((()=>d()),c))}));(0,o.useEffect)((()=>{clearTimeout(p.current)}),[]);const h=(0,i.default)("components-clipboard-button",t);return(0,o.createElement)(u.default,(0,a.default)({},m,{className:h,ref:v,onCopy:e=>{e.target.focus()}}),n)};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(6777)),u=r(n(55932));const c=4e3},79325:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ColorIndicator=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372));const l=(0,o.forwardRef)((function(e,t){const{className:n,colorValue:r,...l}=e;return(0,o.createElement)("span",(0,a.default)({className:(0,i.default)("component-color-indicator",n),style:{background:r},ref:t},l))}));t.ColorIndicator=l;var s=l;t.default=s},92254:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(58446),i=r(n(55932)),l=r(n(92950)),s=r(n(79325)),u=r(n(72818)),c=n(44384);function d(e){let{label:t,value:n,colors:r,disableCustomColors:d,enableAlpha:f,onChange:m}=e;const[p,v]=(0,o.useState)(!1);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.default,{className:"components-color-list-picker__swatch-button",onClick:()=>v((e=>!e))},(0,o.createElement)(c.HStack,{justify:"flex-start",spacing:2},n?(0,o.createElement)(s.default,{colorValue:n,className:"components-color-list-picker__swatch-color"}):(0,o.createElement)(u.default,{icon:a.swatch}),(0,o.createElement)("span",null,t))),p&&(0,o.createElement)(l.default,{className:"components-color-list-picker__color-picker",colors:r,value:n,clearable:!1,onChange:m,disableCustomColors:d,enableAlpha:f}))}t.default=function(e){let{colors:t,labels:n,value:r=[],disableCustomColors:a,enableAlpha:i,onChange:l}=e;return(0,o.createElement)("div",{className:"components-color-list-picker"},n.map(((e,n)=>(0,o.createElement)(d,{key:n,label:e,value:r[n],colors:t,disableCustomColors:a,enableAlpha:i,onChange:e=>{const t=r.slice();t[n]=e,l(t)}}))))}},92950:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPalette=void 0,t.CustomColorPickerDropdown=w,t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(9009),l=r(n(11343)),s=r(n(76675)),u=n(25150),c=r(n(53520)),d=n(1478),f=r(n(32137)),m=n(74618),p=n(53753),v=n(36013),h=n(3245),g=r(n(22353)),b=n(56146);function y(e){let{className:t,clearColor:n,colors:r,onChange:a,value:l,actions:s}=e;const c=(0,o.useMemo)((()=>r.map(((e,t)=>{let{color:r,name:s}=e;const c=(0,i.colord)(r),d=l===r;return(0,o.createElement)(f.default.Option,{key:`${r}-${t}`,isSelected:d,selectedIconProps:d?{fill:c.contrast()>c.contrast("#000")?"#fff":"#000"}:{},tooltipText:s||(0,u.sprintf)((0,u.__)("Color code: %s"),r),style:{backgroundColor:r,color:r},onClick:d?n:()=>a(r,t),"aria-label":s?(0,u.sprintf)((0,u.__)("Color: %s"),s):(0,u.sprintf)((0,u.__)("Color code: %s"),r)})}))),[r,l,a,n]);return(0,o.createElement)(f.default,{className:t,options:c,actions:s})}function _(e){let{className:t,clearColor:n,colors:r,onChange:a,value:i,actions:l,headingLevel:s}=e;return 0===r.length?null:(0,o.createElement)(m.VStack,{spacing:3,className:t},r.map(((e,t)=>{let{name:u,colors:c}=e;return(0,o.createElement)(m.VStack,{spacing:2,key:t},(0,o.createElement)(h.ColorHeading,{level:s},u),(0,o.createElement)(y,{clearColor:n,colors:c,onChange:e=>a(e,t),value:i,actions:r.length===t+1?l:null}))})))}function w(e){let{isRenderedInSidebar:t,popoverProps:n,...r}=e;const i=(0,o.useMemo)((()=>({shift:!0,...t?{placement:"left-start",offset:34}:{placement:"bottom",offset:8},...n})),[t,n]);return(0,o.createElement)(c.default,(0,a.default)({contentClassName:"components-color-palette__custom-color-dropdown-content",popoverProps:i},r))}(0,i.extend)([l.default,s.default]);const x=(0,o.forwardRef)((function(e,t){const{clearable:n=!0,colors:r=[],disableCustomColors:l=!1,enableAlpha:s=!1,onChange:c,value:h,__experimentalIsRenderedInSidebar:x=!1,headingLevel:C=2,...E}=e,[O,S]=(0,o.useState)(h),M=(0,o.useCallback)((()=>c(void 0)),[c]),P=(0,o.useCallback)((e=>{S((0,b.normalizeColorValue)(h,e))}),[h]),k=(0,b.isMultiplePaletteArray)(r),j=(0,o.useMemo)((()=>(0,b.extractColorNameFromCurrentValue)(h,r,k)),[h,r,k]),T=(0,i.colord)(null!=O?O:""),I=null!=h&&h.startsWith("#")?h.substring(1):null!=h?h:"",N=I?(0,u.sprintf)((0,u.__)('Custom color picker. The currently selected color is called "%1$s" and has a value of "%2$s".'),j,I):(0,u.__)("Custom color picker."),R={clearable:n,clearColor:M,onChange:c,value:h,actions:!!n&&(0,o.createElement)(f.default.ButtonAction,{onClick:M},(0,u.__)("Clear")),headingLevel:C};return(0,o.createElement)(m.VStack,(0,a.default)({spacing:3,ref:t},E),!l&&(0,o.createElement)(w,{isRenderedInSidebar:x,renderContent:()=>(0,o.createElement)(g.default,{paddingSize:"none"},(0,o.createElement)(d.ColorPicker,{color:O,onChange:e=>c(e),enableAlpha:s})),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,o.createElement)(p.Flex,{as:"button",ref:P,justify:"space-between",align:"flex-start",className:"components-color-palette__custom-color","aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":N,style:(0,b.showTransparentBackground)(h)?{color:"#000"}:{background:h,color:T.contrast()>T.contrast("#000")?"#fff":"#000"}},(0,o.createElement)(p.FlexItem,{isBlock:!0,as:v.Truncate,className:"components-color-palette__custom-color-name"},j),(0,o.createElement)(p.FlexItem,{as:"span",className:"components-color-palette__custom-color-value"},I))}}),k?(0,o.createElement)(_,(0,a.default)({},R,{colors:r})):(0,o.createElement)(y,(0,a.default)({},R,{colors:r})))}));t.ColorPalette=x;var C=x;t.default=C},3245:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ColorHeading=void 0;var o=r(n(12272)),a=n(44754);const i=(0,o.default)(a.Heading,{target:"ev9wop70"})({name:"13lxv2o",styles:"text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"});t.ColorHeading=i},56146:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.showTransparentBackground=t.normalizeColorValue=t.isMultiplePaletteObject=t.isMultiplePaletteArray=t.extractColorNameFromCurrentValue=void 0;var o=n(9009),a=r(n(11343)),i=r(n(76675)),l=n(25150);(0,o.extend)([a.default,i.default]),t.extractColorNameFromCurrentValue=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return"";const r=/^var\(/.test(e),a=r?e:(0,o.colord)(e).toHex(),i=n?t:[{colors:t}];for(const{colors:e}of i)for(const{name:t,color:n}of e)if(a===(r?n:(0,o.colord)(n).toHex()))return t;return(0,l.__)("Custom")},t.showTransparentBackground=e=>void 0===e||0===(0,o.colord)(e).alpha();const s=e=>Array.isArray(e.colors)&&!("color"in e);t.isMultiplePaletteObject=s,t.isMultiplePaletteArray=e=>e.length>0&&e.every((e=>s(e))),t.normalizeColorValue=(e,t)=>{if(!/^var\(/.test(null!=e?e:"")||null===t)return e;const{ownerDocument:n}=t,{defaultView:r}=n,a=null==r?void 0:r.getComputedStyle(t).backgroundColor;return a?(0,o.colord)(a).toHex():e}},38879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorCopyButton=void 0;var r=n(32847),o=n(89029),a=n(58446),i=n(25150),l=n(44079),s=n(53314),u=n(47516);t.ColorCopyButton=e=>{const{color:t,colorType:n}=e,[c,d]=(0,r.useState)(null),f=(0,r.useRef)(),m=(0,o.useCopyToClipboard)((()=>{switch(n){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:return t.toHex()}}),(()=>{f.current&&clearTimeout(f.current),d(t.toHex()),f.current=setTimeout((()=>{d(null),f.current=void 0}),3e3)}));return(0,r.useEffect)((()=>()=>{f.current&&clearTimeout(f.current)}),[]),(0,r.createElement)(u.Tooltip,{content:(0,r.createElement)(s.Text,{color:"white"},c===t.toHex()?(0,i.__)("Copied!"):(0,i.__)("Copy")),placement:"bottom"},(0,r.createElement)(l.CopyButton,{isSmall:!0,ref:m,icon:a.copy,showTooltip:!1}))}},7589:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorInput=void 0;var r=n(32847),o=n(2742),a=n(58809),i=n(10297);t.ColorInput=e=>{let{colorType:t,color:n,onChange:l,enableAlpha:s}=e;const u={color:n,onChange:l,enableAlpha:s};switch(t){case"hsl":return(0,r.createElement)(a.HslInput,u);case"rgb":return(0,r.createElement)(o.RgbInput,u);default:return(0,r.createElement)(i.HexInput,u)}}},49761:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(9009),l=r(n(11343)),s=n(89029),u=n(25150),c=n(98138),d=n(44079),f=n(38879),m=n(7589),p=n(70360),v=n(92342);(0,i.extend)([l.default]);const h=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}];var g=(0,c.contextConnect)(((e,t)=>{const{enableAlpha:n=!1,color:r,onChange:l,defaultValue:g="#fff",copyFormat:b,...y}=(0,c.useContextSystem)(e,"ColorPicker"),[_,w]=(0,v.useControlledValue)({onChange:l,value:r,defaultValue:g}),x=(0,o.useMemo)((()=>(0,i.colord)(_||"")),[_]),C=(0,s.useDebounce)(w),E=(0,o.useCallback)((e=>{C(e.toHex())}),[C]),[O,S]=(0,o.useState)(b||"hex");return(0,o.createElement)(d.ColorfulWrapper,(0,a.default)({ref:t},y),(0,o.createElement)(p.Picker,{onChange:E,color:x,enableAlpha:n}),(0,o.createElement)(d.AuxiliaryColorArtefactWrapper,null,(0,o.createElement)(d.AuxiliaryColorArtefactHStackHeader,{justify:"space-between"},(0,o.createElement)(d.SelectControl,{__nextHasNoMarginBottom:!0,options:h,value:O,onChange:e=>S(e),label:(0,u.__)("Color format"),hideLabelFromVision:!0}),(0,o.createElement)(f.ColorCopyButton,{color:x,colorType:b||O})),(0,o.createElement)(d.ColorInputWrapper,{direction:"column",gap:2},(0,o.createElement)(m.ColorInput,{colorType:O,color:x,onChange:E,enableAlpha:n}))))}),"ColorPicker");t.default=g},10297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HexInput=void 0;var r=n(32847),o=n(9009),a=n(25150),i=n(97115),l=n(53314),s=n(87268),u=n(36877),c=n(92941);t.HexInput=e=>{let{color:t,onChange:n,enableAlpha:d}=e;return(0,r.createElement)(i.InputControl,{prefix:(0,r.createElement)(s.Spacer,{as:l.Text,marginLeft:(0,u.space)(4),color:c.COLORS.ui.theme,lineHeight:1},"#"),value:t.toHex().slice(1).toUpperCase(),onChange:e=>{if(!e)return;const t=e.startsWith("#")?e:"#"+e;n((0,o.colord)(t))},maxLength:d?9:7,label:(0,a.__)("Hex color"),hideLabelFromVision:!0,size:"__unstable-large",__unstableStateReducer:(e,t)=>{var n,r,o,a;const i=null===(n=t.payload)||void 0===n||null===(r=n.event)||void 0===r?void 0:r.nativeEvent;if("insertFromPaste"!==(null==i?void 0:i.inputType))return{...e};const l=null!==(o=e.value)&&void 0!==o&&o.startsWith("#")?e.value.slice(1).toUpperCase():null===(a=e.value)||void 0===a?void 0:a.toUpperCase();return{...e,value:l}},__unstableInputWidth:"9em"})}},58809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HslInput=void 0;var r=n(32847),o=n(9009),a=n(73619);t.HslInput=e=>{let{color:t,onChange:n,enableAlpha:i}=e;const{h:l,s:s,l:u,a:c}=t.toHsl();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InputWithSlider,{min:0,max:359,label:"Hue",abbreviation:"H",value:l,onChange:e=>{n((0,o.colord)({h:e,s:s,l:u,a:c}))}}),(0,r.createElement)(a.InputWithSlider,{min:0,max:100,label:"Saturation",abbreviation:"S",value:s,onChange:e=>{n((0,o.colord)({h:l,s:e,l:u,a:c}))}}),(0,r.createElement)(a.InputWithSlider,{min:0,max:100,label:"Lightness",abbreviation:"L",value:u,onChange:e=>{n((0,o.colord)({h:l,s:s,l:e,a:c}))}}),i&&(0,r.createElement)(a.InputWithSlider,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c),onChange:e=>{n((0,o.colord)({h:l,s:s,l:u,a:e/100}))}}))}},1478:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPicker",{enumerable:!0,get:function(){return r.LegacyAdapter}});var r=n(20483)},73619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputWithSlider=void 0;var r=n(32847),o=n(44384),a=n(53314),i=n(87268),l=n(36877),s=n(44079),u=n(92941);t.InputWithSlider=e=>{let{min:t,max:n,label:c,abbreviation:d,onChange:f,value:m}=e;return(0,r.createElement)(o.HStack,{spacing:4},(0,r.createElement)(s.NumberControlWrapper,{min:t,max:n,label:c,hideLabelFromVision:!0,value:m,onChange:e=>{f(e?"string"!=typeof e?e:parseInt(e,10):0)},prefix:(0,r.createElement)(i.Spacer,{as:a.Text,paddingLeft:(0,l.space)(4),color:u.COLORS.ui.theme,lineHeight:1},d),spinControls:"none",size:"__unstable-large"}),(0,r.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:c,hideLabelFromVision:!0,min:t,max:n,value:m,onChange:f,withInputField:!1}))}},20483:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyAdapter=void 0;var o=n(32847),a=r(n(49761)),i=n(14973);t.LegacyAdapter=e=>(0,o.createElement)(a.default,(0,i.useDeprecatedProps)(e))},70360:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Picker=void 0;var r=n(32847),o=n(83664),a=n(9009);t.Picker=e=>{let{color:t,enableAlpha:n,onChange:i}=e;const l=n?o.RgbaStringColorPicker:o.RgbStringColorPicker,s=(0,r.useMemo)((()=>t.toRgbString()),[t]);return(0,r.createElement)(l,{color:s,onChange:e=>{i((0,a.colord)(e))}})}},2742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RgbInput=void 0;var r=n(32847),o=n(9009),a=n(73619);t.RgbInput=e=>{let{color:t,onChange:n,enableAlpha:i}=e;const{r:l,g:s,b:u,a:c}=t.toRgb();return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InputWithSlider,{min:0,max:255,label:"Red",abbreviation:"R",value:l,onChange:e=>n((0,o.colord)({r:e,g:s,b:u,a:c}))}),(0,r.createElement)(a.InputWithSlider,{min:0,max:255,label:"Green",abbreviation:"G",value:s,onChange:e=>n((0,o.colord)({r:l,g:e,b:u,a:c}))}),(0,r.createElement)(a.InputWithSlider,{min:0,max:255,label:"Blue",abbreviation:"B",value:u,onChange:e=>n((0,o.colord)({r:l,g:s,b:e,a:c}))}),i&&(0,r.createElement)(a.InputWithSlider,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c),onChange:e=>n((0,o.colord)({r:l,g:s,b:u,a:e/100}))}))}},44079:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.SelectControl=t.RangeControl=t.NumberControlWrapper=t.CopyButton=t.ColorfulWrapper=t.ColorInputWrapper=t.AuxiliaryColorArtefactWrapper=t.AuxiliaryColorArtefactHStackHeader=void 0;var o=r(n(12272)),a=r(n(5838)),i=r(n(13719)),l=r(n(96484)),s=n(36877),u=n(40455),c=r(n(55932)),d=n(53753),f=n(44384),m=n(75882),p=r(n(50081));const v=(0,o.default)(a.default,{target:"ez9hsf47"})(m.Container,"{width:",(0,s.space)(24),";}");t.NumberControlWrapper=v;const h=(0,o.default)(i.default,{target:"ez9hsf46"})("margin-left:",(0,s.space)(-2),";width:5em;",m.BackdropUI,"{display:none;}");t.SelectControl=h;const g=(0,o.default)(l.default,{target:"ez9hsf45"})("flex:1;margin-right:",(0,s.space)(2),";");t.RangeControl=g;const b=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${(0,s.space)(2)} );\n\tmargin-left: ${(0,s.space)(1)};\n}`,y=(0,o.default)("div",{target:"ez9hsf44"})("padding-top:",(0,s.space)(2),";padding-right:0;padding-left:0;padding-bottom:0;");t.AuxiliaryColorArtefactWrapper=y;const _=(0,o.default)(f.HStack,{target:"ez9hsf43"})("padding-left:",(0,s.space)(4),";padding-right:",(0,s.space)(4),";");t.AuxiliaryColorArtefactHStackHeader=_;const w=(0,o.default)(d.Flex,{target:"ez9hsf42"})("padding-top:",(0,s.space)(4),";padding-left:",(0,s.space)(4),";padding-right:",(0,s.space)(3),";padding-bottom:",(0,s.space)(5),";");t.ColorInputWrapper=w;const x=(0,o.default)("div",{target:"ez9hsf41"})(u.boxSizingReset,";width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;overflow:hidden;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",(0,s.space)(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",(0,s.space)(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;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",p.default.borderWidthFocus," #fff;}",b,";");t.ColorfulWrapper=x;const C=(0,o.default)(c.default,{target:"ez9hsf40"})("&&&&&{min-width:",(0,s.space)(6),";padding:0;>svg{margin-right:0;}}");t.CopyButton=C},14973:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useDeprecatedProps=function(e){const{onChangeComplete:t}=e,n=(0,i.useCallback)((e=>{t(s(e))}),[t]);return function(e){var t;return void 0!==e.onChangeComplete||void 0!==e.disableAlpha||"string"==typeof(null===(t=e.color)||void 0===t?void 0:t.hex)}(e)?{color:l(e.color),enableAlpha:!e.disableAlpha,onChange:n}:{...e,color:e.color,enableAlpha:e.enableAlpha,onChange:e.onChange}};var o=n(9009),a=r(n(35721)),i=n(32847);function l(e){if(void 0!==e)return"string"==typeof e?e:e.hex?e.hex:void 0}const s=(0,a.default)((e=>{const t=(0,o.colord)(e),n=t.toHex(),r=t.toRgb(),a=t.toHsv(),i=t.toHsl();return{hex:n,rgb:r,hsv:a,hsl:i,source:"hex",oldHue:i.h}}))},67290:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(25150),l=n(89029),s=n(38384),u=n(58446),c=n(76999),d=r(n(95143)),f=r(n(48236)),m=r(n(75339)),p=r(n(55932)),v=n(53753),h=r(n(64063)),g=n(92342),b=n(71892);const y=()=>{},_=(0,h.default)(class extends o.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}}),w=(e,t)=>null===e?-1:t.indexOf(e);t.default=function e(t){var n;let{__nextHasNoMarginBottom:r=!1,__next36pxDefaultSize:h=!1,value:x,label:C,options:E,onChange:O,onFilterValueChange:S=y,hideLabelFromVision:M,help:P,allowReset:k=!0,className:j,messages:T={selected:(0,i.__)("Item selected.")},__experimentalRenderItem:I}=t;const[N,R]=(0,g.useControlledValue)({value:x,onChange:O}),L=E.find((e=>e.value===N)),D=null!==(n=null==L?void 0:L.label)&&void 0!==n?n:"",V=(0,l.useInstanceId)(e,"combobox-control"),[B,A]=(0,o.useState)(L||null),[z,H]=(0,o.useState)(!1),[F,W]=(0,o.useState)(!1),[Z,$]=(0,o.useState)(""),U=(0,o.useRef)(null),G=(0,o.useMemo)((()=>{const e=[],t=[],n=(0,b.normalizeTextString)(Z);return E.forEach((r=>{const o=(0,b.normalizeTextString)(r.label).indexOf(n);0===o?e.push(r):o>0&&t.push(r)})),e.concat(t)}),[Z,E]),Y=e=>{R(e.value),(0,s.speak)(T.selected,"assertive"),A(e),$(""),H(!1)},q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=w(B,G)+e;t<0?t=G.length-1:t>=G.length&&(t=0),A(G[t]),H(!0)};return(0,o.useEffect)((()=>{const e=G.length>0,t=w(B,G)>0;e&&!t&&A(G[0])}),[G,B]),(0,o.useEffect)((()=>{const e=G.length>0;if(z){const t=e?(0,i.sprintf)((0,i._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",G.length),G.length):(0,i.__)("No results.");(0,s.speak)(t,"polite")}}),[G,z]),(0,o.createElement)(_,{onFocusOutside:()=>{H(!1)}},(0,o.createElement)(m.default,{__nextHasNoMarginBottom:r,className:(0,a.default)(j,"components-combobox-control"),label:C,id:`components-form-token-input-${V}`,hideLabelFromVision:M,help:P},(0,o.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:-1,onKeyDown:e=>{let t=!1;if(!e.defaultPrevented&&!e.nativeEvent.isComposing&&229!==e.keyCode){switch(e.code){case"Enter":B&&(Y(B),t=!0);break;case"ArrowUp":q(-1),t=!0;break;case"ArrowDown":q(1),t=!0;break;case"Escape":H(!1),A(null),t=!0}t&&e.preventDefault()}}},(0,o.createElement)(c.InputWrapperFlex,{__next36pxDefaultSize:h},(0,o.createElement)(v.FlexBlock,null,(0,o.createElement)(d.default,{className:"components-combobox-control__input",instanceId:V,ref:U,value:z?Z:D,onFocus:()=>{W(!0),H(!0),S(""),$("")},onBlur:()=>{W(!1)},isExpanded:z,selectedSuggestionIndex:w(B,G),onChange:e=>{const t=e.value;$(t),S(t),F&&H(!0)}})),k&&(0,o.createElement)(v.FlexItem,null,(0,o.createElement)(p.default,{className:"components-combobox-control__reset",icon:u.closeSmall,disabled:!N,onClick:()=>{var e;R(null),null===(e=U.current)||void 0===e||e.focus()},label:(0,i.__)("Reset")}))),z&&(0,o.createElement)(f.default,{instanceId:V,match:{label:Z,value:""},displayTransform:e=>e.label,suggestions:G,selectedIndex:w(B,G),onHover:A,onSelect:Y,scrollIntoView:!0,__experimentalRenderItem:I}))))}},76999:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.InputWrapperFlex=void 0;var o=r(n(12272)),a=n(18591),i=n(53753),l=n(36877);const s=(0,o.default)(i.Flex,{target:"evuatpg0"})("height:34px;padding-left:",(0,l.space)(2),";padding-right:",(0,l.space)(2),";",(e=>{let{__next36pxDefaultSize:t}=e;return!t&&(0,a.css)("height:28px;padding-left:",(0,l.space)(1),";padding-right:",(0,l.space)(1),";","")}),";");t.InputWrapperFlex=s},18270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Composite",{enumerable:!0,get:function(){return r.Composite}}),Object.defineProperty(t,"CompositeGroup",{enumerable:!0,get:function(){return r.CompositeGroup}}),Object.defineProperty(t,"CompositeItem",{enumerable:!0,get:function(){return r.CompositeItem}}),Object.defineProperty(t,"useCompositeState",{enumerable:!0,get:function(){return r.useCompositeState}});var r=n(86683)},60739:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=r(n(4689)),s=n(98138),u=n(53753),c=r(n(55932)),d=n(53314),f=n(74618),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(40888)),p=n(7769);function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}var h=(0,s.contextConnect)((function(e,t){const{isOpen:n,onConfirm:r,onCancel:v,children:h,confirmButtonText:g,cancelButtonText:b,...y}=(0,s.useContextSystem)(e,"ConfirmDialog"),_=(0,p.useCx)()(m.wrapper),[w,x]=(0,o.useState)(),[C,E]=(0,o.useState)();(0,o.useEffect)((()=>{const e=void 0!==n;x(!e||n),E(!e)}),[n]);const O=(0,o.useCallback)((e=>t=>{null==e||e(t),C&&x(!1)}),[C,x]),S=(0,o.useCallback)((e=>{"Enter"===e.key&&O(r)(e)}),[O,r]),M=null!=b?b:(0,i.__)("Cancel"),P=null!=g?g:(0,i.__)("OK");return(0,o.createElement)(o.Fragment,null,w&&(0,o.createElement)(l.default,(0,a.default)({onRequestClose:O(v),onKeyDown:S,closeButtonLabel:M,isDismissible:!0,ref:t,overlayClassName:_,__experimentalHideHeader:!0},y),(0,o.createElement)(f.VStack,{spacing:8},(0,o.createElement)(d.Text,null,h),(0,o.createElement)(u.Flex,{direction:"row",justify:"flex-end"},(0,o.createElement)(c.default,{variant:"tertiary",onClick:O(v)},M),(0,o.createElement)(c.default,{variant:"primary",onClick:O(r)},P)))))}),"ConfirmDialog");t.default=h},24601:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfirmDialog",{enumerable:!0,get:function(){return o.default}});var o=r(n(60739))},40888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0,n(18591);t.wrapper={name:"7g5ii0",styles:"&&{z-index:1000001;}"}},38057:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HORIZONTAL_GRADIENT_ORIENTATION=t.GRADIENT_OPTIONS=t.DIRECTIONAL_ORIENTATION_ANGLE_MAP=t.DEFAULT_LINEAR_GRADIENT_ANGLE=t.DEFAULT_GRADIENT=void 0;var r=n(25150);t.DEFAULT_GRADIENT="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",t.DEFAULT_LINEAR_GRADIENT_ANGLE=180,t.HORIZONTAL_GRADIENT_ORIENTATION={type:"angular",value:90};const o=[{value:"linear-gradient",label:(0,r.__)("Linear")},{value:"radial-gradient",label:(0,r.__)("Radial")}];t.GRADIENT_OPTIONS=o,t.DIRECTIONAL_ORIENTATION_ANGLE_MAP={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}},92749:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MINIMUM_SIGNIFICANT_MOVE=t.MINIMUM_DISTANCE_BETWEEN_POINTS=t.MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT=t.MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER=t.KEYBOARD_CONTROL_POINT_VARIATION=t.INSERT_POINT_WIDTH=t.GRADIENT_MARKERS_WIDTH=void 0,t.GRADIENT_MARKERS_WIDTH=16,t.INSERT_POINT_WIDTH=16,t.MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT=10,t.MINIMUM_DISTANCE_BETWEEN_POINTS=0,t.MINIMUM_SIGNIFICANT_MOVE=5,t.KEYBOARD_CONTROL_POINT_VARIATION=10,t.MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER=16},92908:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(9009),s=n(89029),u=n(25150),c=n(58446),d=r(n(55932)),f=n(44384),m=n(1478),p=n(42937),v=n(92950),h=n(21276),g=n(92749);function b(e){let{isOpen:t,position:n,color:r,...l}=e;const c=`components-custom-gradient-picker__control-point-button-description-${(0,s.useInstanceId)(b)}`;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.default,(0,a.default)({"aria-label":(0,u.sprintf)((0,u.__)("Gradient control point at position %1$s%% with color code %2$s."),n,r),"aria-describedby":c,"aria-haspopup":"true","aria-expanded":t,className:(0,i.default)("components-custom-gradient-picker__control-point-button",{"is-active":t})},l)),(0,o.createElement)(p.VisuallyHidden,{id:c},(0,u.__)("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 y(e){let{isRenderedInSidebar:t,className:n,...r}=e;const l=(0,o.useMemo)((()=>({placement:"bottom",offset:8})),[]),s=(0,i.default)("components-custom-gradient-picker__control-point-dropdown",n);return(0,o.createElement)(v.CustomColorPickerDropdown,(0,a.default)({isRenderedInSidebar:t,popoverProps:l,className:s},r))}function _(e){let{disableRemove:t,disableAlpha:n,gradientPickerDomRef:r,ignoreMarkerPosition:a,value:i,onChange:s,onStartControlPointChange:c,onStopControlPointChange:p,__experimentalIsRenderedInSidebar:v}=e;const _=(0,o.useRef)(),w=e=>{const t=(0,h.getHorizontalRelativeGradientPosition)(e.clientX,r.current),{initialPosition:n,index:o,significantMoveHappened:a}=_.current;!a&&Math.abs(n-t)>=g.MINIMUM_SIGNIFICANT_MOVE&&(_.current.significantMoveHappened=!0),s((0,h.updateControlPointPosition)(i,o,t))},x=()=>{window&&window.removeEventListener&&_.current&&_.current.listenersActivated&&(window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",x),p(),_.current.listenersActivated=!1)},C=(0,o.useRef)();return C.current=x,(0,o.useEffect)((()=>()=>{C.current()}),[]),i.map(((e,r)=>{const C=null==e?void 0:e.position;return a!==C&&(0,o.createElement)(y,{isRenderedInSidebar:v,key:r,onClose:p,renderToggle:t=>{let{isOpen:n,onToggle:a}=t;return(0,o.createElement)(b,{key:r,onClick:()=>{_.current&&_.current.significantMoveHappened||(n?p():c(),a())},onMouseDown:()=>{window&&window.addEventListener&&(_.current={initialPosition:C,index:r,significantMoveHappened:!1,listenersActivated:!0},c(),window.addEventListener("mousemove",w),window.addEventListener("mouseup",x))},onKeyDown:t=>{"ArrowLeft"===t.code?(t.stopPropagation(),s((0,h.updateControlPointPosition)(i,r,(0,h.clampPercent)(e.position-g.KEYBOARD_CONTROL_POINT_VARIATION)))):"ArrowRight"===t.code&&(t.stopPropagation(),s((0,h.updateControlPointPosition)(i,r,(0,h.clampPercent)(e.position+g.KEYBOARD_CONTROL_POINT_VARIATION))))},isOpen:n,position:e.position,color:e.color})},renderContent:a=>{let{onClose:c}=a;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(m.ColorPicker,{enableAlpha:!n,color:e.color,onChange:e=>{s((0,h.updateControlPointColor)(i,r,(0,l.colord)(e).toRgbString()))}}),!t&&i.length>2&&(0,o.createElement)(f.HStack,{className:"components-custom-gradient-picker__remove-control-point-wrapper",alignment:"center"},(0,o.createElement)(d.default,{onClick:()=>{s((0,h.removeControlPoint)(i,r)),c()},variant:"link"},(0,u.__)("Remove Control Point"))))},style:{left:`${e.position}%`,transform:"translateX( -50% )"}})}))}_.InsertPoint=function(e){let{value:t,onChange:n,onOpenInserter:r,onCloseInserter:a,insertPosition:i,disableAlpha:s,__experimentalIsRenderedInSidebar:u}=e;const[f,p]=(0,o.useState)(!1);return(0,o.createElement)(y,{isRenderedInSidebar:u,className:"components-custom-gradient-picker__inserter",onClose:()=>{a()},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,o.createElement)(d.default,{"aria-expanded":t,"aria-haspopup":"true",onClick:()=>{t?a():(p(!1),r()),n()},className:"components-custom-gradient-picker__insert-point-dropdown",icon:c.plus})},renderContent:()=>(0,o.createElement)(m.ColorPicker,{enableAlpha:!s,onChange:e=>{f?n((0,h.updateControlPointColorByPosition)(t,i,(0,l.colord)(e).toRgbString())):(n((0,h.addControlPoint)(t,i,(0,l.colord)(e).toRgbString())),p(!0))}}),style:null!==i?{left:`${i}%`,transform:"translateX( -50% )"}:void 0})};var w=_;t.default=w},50652:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{background:t,hasGradient:n,value:r,onChange:d,disableInserter:f=!1,disableAlpha:m=!1,__experimentalIsRenderedInSidebar:p}=e;const v=(0,o.useRef)(),[h,g]=(0,o.useReducer)(u,c),b=e=>{const t=(0,l.getHorizontalRelativeGradientPosition)(e.clientX,v.current);r.some((e=>{let{position:n}=e;return Math.abs(t-n)<s.MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT}))?"MOVING_INSERTER"===h.id&&g({type:"STOP_INSERTER_MOVE"}):g({type:"MOVE_INSERTER",insertPosition:t})},y="MOVING_INSERTER"===h.id,_="INSERTING_CONTROL_POINT"===h.id;return(0,o.createElement)("div",{className:(0,a.default)("components-custom-gradient-picker__gradient-bar",{"has-gradient":n}),onMouseEnter:b,onMouseMove:b,style:{background:t},onMouseLeave:()=>{g({type:"STOP_INSERTER_MOVE"})}},(0,o.createElement)("div",{ref:v,className:"components-custom-gradient-picker__markers-container"},!f&&(y||_)&&(0,o.createElement)(i.default.InsertPoint,{__experimentalIsRenderedInSidebar:p,disableAlpha:m,insertPosition:h.insertPosition,value:r,onChange:d,onOpenInserter:()=>{g({type:"OPEN_INSERTER"})},onCloseInserter:()=>{g({type:"CLOSE_INSERTER"})}}),(0,o.createElement)(i.default,{__experimentalIsRenderedInSidebar:p,disableAlpha:m,disableRemove:f,gradientPickerDomRef:v,ignoreMarkerPosition:_?h.insertPosition:void 0,value:r,onChange:d,onStartControlPointChange:()=>{g({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{g({type:"STOP_CONTROL_CHANGE"})}})))};var o=n(32847),a=r(n(26372)),i=r(n(92908)),l=n(21276),s=n(92749);function u(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}const c={id:"IDLE"}},21276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControlPoint=function(e,t,n){const r=e.findIndex((e=>e.position>t)),o={color:n,position:t},a=e.slice();return a.splice(r-1,0,o),a},t.clampPercent=o,t.getHorizontalRelativeGradientPosition=function(e,t){if(!t)return;const{x:n,width:r}=t.getBoundingClientRect(),a=e-n;return Math.round(o(100*a/r))},t.isOverlapping=a,t.removeControlPoint=function(e,t){return e.filter(((e,n)=>n!==t))},t.updateControlPoint=i,t.updateControlPointColor=l,t.updateControlPointColorByPosition=function(e,t,n){const r=e.findIndex((e=>e.position===t));return l(e,r,n)},t.updateControlPointPosition=function(e,t,n){if(a(e,t,n))return e;return i(e,t,{...e[t],position:n})};var r=n(92749);function o(e){return Math.max(0,Math.min(100,e))}function a(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.MINIMUM_DISTANCE_BETWEEN_POINTS;const a=e[t].position,i=Math.min(a,n),l=Math.max(a,n);return e.some(((e,r)=>{let{position:a}=e;return r!==t&&(Math.abs(a-n)<o||i<a&&a<l)}))}function i(e,t,n){const r=e.slice();return r[t]=n,r}function l(e,t,n){return i(e,t,{...e[t],color:n})}},26410:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{__nextHasNoMargin:t=!1,value:n,onChange:r,__experimentalIsRenderedInSidebar:l}=e;const s=(0,m.getGradientAstWithDefault)(n),d=(0,m.getLinearGradientRepresentation)(s),y=s.value!==v.DEFAULT_GRADIENT,_=s.colorStops.map((e=>({color:(0,m.getStopCssColor)(e),position:parseInt(e.length.value)})));return t||(0,i.default)("Outer margin styles for wp.components.CustomGradientPicker",{since:"6.1",version:"6.4",hint:"Set the `__nextHasNoMargin` prop to true to start opting into the new styles, which will become the default in a future version"}),(0,o.createElement)(f.VStack,{spacing:4,className:(0,a.default)("components-custom-gradient-picker",{"is-next-has-no-margin":t})},(0,o.createElement)(u.default,{__experimentalIsRenderedInSidebar:l,background:d,hasGradient:y,value:_,onChange:e=>{r((0,p.serializeGradient)((0,m.getGradientAstWithControlPoints)(s,e)))}}),(0,o.createElement)(c.Flex,{gap:3,className:"components-custom-gradient-picker__ui-line"},(0,o.createElement)(h.SelectWrapper,null,(0,o.createElement)(b,{gradientAST:s,hasGradient:y,onChange:r})),(0,o.createElement)(h.AccessoryWrapper,null,"linear-gradient"===s.type&&(0,o.createElement)(g,{gradientAST:s,hasGradient:y,onChange:r}))))};var o=n(32847),a=r(n(26372)),i=r(n(6777)),l=n(25150),s=r(n(18983)),u=r(n(50652)),c=n(53753),d=r(n(13719)),f=n(74618),m=n(17219),p=n(17093),v=n(38057),h=n(36809);const g=e=>{var t,n;let{gradientAST:r,hasGradient:a,onChange:i}=e;const l=null!==(t=null==r||null===(n=r.orientation)||void 0===n?void 0:n.value)&&void 0!==t?t:v.DEFAULT_LINEAR_GRADIENT_ANGLE;return(0,o.createElement)(s.default,{__nextHasNoMarginBottom:!0,onChange:e=>{i((0,p.serializeGradient)({...r,orientation:{type:"angular",value:e}}))},value:a?l:""})},b=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const{type:a}=t;return(0,o.createElement)(d.default,{__nextHasNoMarginBottom:!0,className:"components-custom-gradient-picker__type-picker",label:(0,l.__)("Type"),labelPosition:"top",onChange:e=>{"linear-gradient"===e&&r((0,p.serializeGradient)({...t,...t.orientation?{}:{orientation:v.HORIZONTAL_GRADIENT_ORIENTATION},type:"linear-gradient"})),"radial-gradient"===e&&(()=>{const{orientation:e,...n}=t;r((0,p.serializeGradient)({...n,type:"radial-gradient"}))})()},options:v.GRADIENT_OPTIONS,size:"__unstable-large",value:n&&a})}},17093:function(e,t){"use strict";function n(e){let{type:t,value:n}=e;return"literal"===t?n:"hex"===t?`#${n}`:`${t}(${n.join(",")})`}function r(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}function o(e){let{type:t,value:o,length:a}=e;return`${n({type:t,value:o})} ${r(a)}`}function a(e){if(e&&"angular"===e.type)return`${e.value}deg`}Object.defineProperty(t,"__esModule",{value:!0}),t.serializeGradient=function(e){let{type:t,orientation:n,colorStops:r}=e;return`${t}(${[a(n),...r.sort(((e,t)=>{var n,r,o,a;return(null!==(n=null==e||null===(r=e.length)||void 0===r?void 0:r.value)&&void 0!==n?n:0)-(null!==(o=null==t||null===(a=t.length)||void 0===a?void 0:a.value)&&void 0!==o?o:0)})).map(o)].filter(Boolean).join(",")})`},t.serializeGradientColor=n,t.serializeGradientColorStop=o,t.serializeGradientOrientation=a,t.serializeGradientPosition=r},36809:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.SelectWrapper=t.AccessoryWrapper=void 0;var o=r(n(12272)),a=n(53753);const i=(0,o.default)(a.FlexBlock,{target:"e99xvul1"})({name:"1gvx10y",styles:"flex-grow:5"});t.SelectWrapper=i;const l=(0,o.default)(a.FlexBlock,{target:"e99xvul0"})({name:"1gvx10y",styles:"flex-grow:5"});t.AccessoryWrapper=l},17219:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getGradientAstWithControlPoints=function(e,t){return{...e,colorStops:t.map((e=>{let{position:t,color:n}=e;const{r:r,g:o,b:i,a:l}=(0,a.colord)(n).toRgb();return{length:{type:"%",value:null==t?void 0:t.toString()},type:l<1?"rgba":"rgb",value:l<1?[r,o,i,l]:[r,o,i]}}))}},t.getGradientAstWithDefault=function(e){var t;let n;try{n=o.default.parse(e)[0],n.value=e}catch(e){n=o.default.parse(l.DEFAULT_GRADIENT)[0],n.value=l.DEFAULT_GRADIENT}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=l.DIRECTIONAL_ORIENTATION_ANGLE_MAP[n.orientation.value].toString()),n.colorStops.some(u)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach(((e,n)=>{e.length={value:t*n,type:"%"}})),n.value=(0,s.serializeGradient)(n)}return n},t.getLinearGradientRepresentation=function(e){return(0,s.serializeGradient)({type:"linear-gradient",orientation:l.HORIZONTAL_GRADIENT_ORIENTATION,colorStops:e.colorStops})},t.getStopCssColor=function(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}};var o=r(n(49963)),a=n(9009),i=r(n(11343)),l=n(38057),s=n(17093);function u(e){return void 0===e.length||"%"!==e.length.type}(0,a.extend)([i.default])},63366:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StableCustomSelectControl=function(e){return(0,o.createElement)(b,(0,a.default)({},e,{__experimentalShowSelectedHint:!1}))},t.default=b;var o=n(32847),a=r(n(31304)),i=n(12066),l=r(n(26372)),s=n(58446),u=n(25150),c=r(n(6777)),d=n(42937),f=n(97216),m=r(n(86795)),p=n(62378),v=n(30686);const h=e=>null==e?void 0:e.name,g=(e,t)=>{let{selectedItem:n}=e,{type:r,changes:o,props:{items:a}}=t;switch(r){case i.useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case i.useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function b(e){var t;const{__next36pxDefaultSize:n=!1,__nextUnconstrainedWidth:r=!1,className:b,hideLabelFromVision:y,label:_,describedBy:w,options:x,onChange:C,size:E="default",value:O,onMouseOver:S,onMouseOut:M,onFocus:P,onBlur:k,__experimentalShowSelectedHint:j=!1}=e,{getLabelProps:T,getToggleButtonProps:I,getMenuProps:N,getItemProps:R,isOpen:L,highlightedIndex:D,selectedItem:V}=(0,i.useSelect)({initialSelectedItem:x[0],items:x,itemToString:h,onSelectedItemChange:C,...null!=O?{selectedItem:O}:void 0,stateReducer:g}),[B,A]=(0,o.useState)(!1);r||(0,c.default)("Constrained width styles for wp.components.CustomSelectControl",{since:"6.1",version:"6.4",hint:"Set the `__nextUnconstrainedWidth` prop to true to start opting into the new styles, which will become the default in a future version"});const z=N({className:"components-custom-select-control__menu","aria-hidden":!L}),H=(0,o.useCallback)((e=>{var t;e.stopPropagation(),null==z||null===(t=z.onKeyDown)||void 0===t||t.call(z,e)}),[z]);return null!==(t=z["aria-activedescendant"])&&void 0!==t&&t.startsWith("downshift-null")&&delete z["aria-activedescendant"],(0,o.createElement)("div",{className:(0,l.default)("components-custom-select-control",b)},y?(0,o.createElement)(d.VisuallyHidden,(0,a.default)({as:"label"},T()),_):(0,o.createElement)(v.StyledLabel,T({className:"components-custom-select-control__label"}),_),(0,o.createElement)(p.InputBaseWithBackCompatMinWidth,{__next36pxDefaultSize:n,__nextUnconstrainedWidth:r,isFocused:L||B,__unstableInputWidth:r?void 0:"auto",labelPosition:r?void 0:"top",size:E,suffix:(0,o.createElement)(m.default,null)},(0,o.createElement)(f.Select,(0,a.default)({onMouseOver:S,onMouseOut:M,as:"button",onFocus:function(e){A(!0),null==P||P(e)},onBlur:function(e){A(!1),null==k||k(e)},selectSize:E,__next36pxDefaultSize:n},I({"aria-label":_,"aria-labelledby":void 0,className:"components-custom-select-control__button",describedBy:w||(V?(0,u.sprintf)((0,u.__)("Currently selected: %s"),V.name):(0,u.__)("No selection"))})),h(V),j&&V.__experimentalHint&&(0,o.createElement)("span",{className:"components-custom-select-control__hint"},V.__experimentalHint))),(0,o.createElement)("ul",(0,a.default)({},z,{onKeyDown:H}),L&&x.map(((e,t)=>(0,o.createElement)("li",R({item:e,index:t,key:e.key,className:(0,l.default)(e.className,"components-custom-select-control__item",{"is-highlighted":t===D,"has-hint":!!e.__experimentalHint,"is-next-36px-default-size":n}),style:e.style}),e.name,e.__experimentalHint&&(0,o.createElement)("span",{className:"components-custom-select-control__item-hint"},e.__experimentalHint),e===V&&(0,o.createElement)(s.Icon,{icon:s.check,className:"components-custom-select-control__item-icon"}))))))}},62378:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.InputBaseWithBackCompatMinWidth=void 0;var o=r(n(12272)),a=n(18591),i=r(n(25572)),l=n(75882);const s=(0,o.default)(i.default,{target:"eswuck60"})((e=>e.__nextUnconstrainedWidth?"":(0,a.css)(l.Container,"{min-width:130px;}","")),";");t.InputBaseWithBackCompatMinWidth=s},46862:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304));t.default=function(e){let{icon:t,className:n,size:r=20,style:i={},...l}=e;const s=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" "),u={...20!=r?{fontSize:`${r}px`,width:`${r}px`,height:`${r}px`}:{},...i};return(0,o.createElement)("span",(0,a.default)({className:s,style:u},l))}},19040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TIMEZONELESS_FORMAT=void 0,t.TIMEZONELESS_FORMAT="yyyy-MM-dd'T'HH:mm:ss"},46362:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function(){return s.default}}),t.DateTimePicker=void 0,Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var o=n(32847),a=n(25150),i=r(n(6777)),l=r(n(55932)),s=r(n(17074)),u=r(n(46413)),c=n(95929),d=n(44384),f=n(44754),m=n(87268);const p=()=>{},v=(0,o.forwardRef)((function(e,t){let{currentDate:n,is12Hour:r,isInvalidDate:v,onMonthPreviewed:h=p,onChange:g,events:b,startOfWeek:y,__nextRemoveHelpButton:_=!1,__nextRemoveResetButton:w=!1}=e;_||(0,i.default)("Help button in wp.components.DateTimePicker",{since:"13.4",version:"15.8",hint:"Set the `__nextRemoveHelpButton` prop to `true` to remove this warning and opt in to the new behaviour, which will become the default in a future version."}),w||(0,i.default)("Reset button in wp.components.DateTimePicker",{since:"13.4",version:"15.8",hint:"Set the `__nextRemoveResetButton` prop to `true` to remove this warning and opt in to the new behaviour, which will become the default in a future version."});const[x,C]=(0,o.useState)(!1);return(0,o.createElement)(c.Wrapper,{ref:t,className:"components-datetime",spacing:4},!x&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.default,{currentTime:n,onChange:g,is12Hour:r}),(0,o.createElement)(s.default,{currentDate:n,onChange:g,isInvalidDate:v,events:b,onMonthPreviewed:h,startOfWeek:y})),x&&(0,o.createElement)(c.CalendarHelp,{className:"components-datetime__calendar-help"},(0,o.createElement)(f.Heading,{level:4},(0,a.__)("Click to Select")),(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,a.__)("Click the right or left arrows to select other months in the past or the future.")),(0,o.createElement)("li",null,(0,a.__)("Click the desired day to select it."))),(0,o.createElement)(f.Heading,{level:4},(0,a.__)("Navigating with a keyboard")),(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,o.createElement)("abbr",{"aria-label":(0,a._x)("Enter","keyboard button")},"↵")," ",(0,o.createElement)("span",null,(0,a.__)("Select the date in focus."))),(0,o.createElement)("li",null,(0,o.createElement)("abbr",{"aria-label":(0,a.__)("Left and Right Arrows")},"←/→")," ",(0,a.__)("Move backward (left) or forward (right) by one day.")),(0,o.createElement)("li",null,(0,o.createElement)("abbr",{"aria-label":(0,a.__)("Up and Down Arrows")},"↑/↓")," ",(0,a.__)("Move backward (up) or forward (down) by one week.")),(0,o.createElement)("li",null,(0,o.createElement)("abbr",{"aria-label":(0,a.__)("Page Up and Page Down")},(0,a.__)("PgUp/PgDn"))," ",(0,a.__)("Move backward (PgUp) or forward (PgDn) by one month.")),(0,o.createElement)("li",null,(0,o.createElement)("abbr",{"aria-label":(0,a.__)("Home and End")},(0,a.__)("Home/End"))," ",(0,a.__)("Go to the first (Home) or last (End) day of a week.")))),(!w||!_)&&(0,o.createElement)(d.HStack,{className:"components-datetime__buttons"},!w&&!x&&n&&(0,o.createElement)(l.default,{className:"components-datetime__date-reset-button",variant:"link",onClick:()=>null==g?void 0:g(null)},(0,a.__)("Reset")),(0,o.createElement)(m.Spacer,null),!_&&(0,o.createElement)(l.default,{className:"components-datetime__date-help-toggle",variant:"link",onClick:function(){C(!x)}},x?(0,a.__)("Close"):(0,a.__)("Calendar Help"))))}));t.DateTimePicker=v;var h=v;t.default=h},95929:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.CalendarHelp=void 0;var o=r(n(12272)),a=n(74618);const i=(0,o.default)(a.VStack,{target:"e1p5onf01"})({name:"1khn195",styles:"box-sizing:border-box"});t.Wrapper=i;const l=(0,o.default)("div",{target:"e1p5onf00"})({name:"l0rwn2",styles:"min-width:260px"});t.CalendarHelp=l},17074:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.DatePicker=p,t.default=void 0;var o=n(32847),a=n(40068),i=n(34885),l=n(25150),s=n(58446),u=n(76584),c=n(54326),d=n(15568),f=r(n(55932)),m=n(19040);function p(e){let{currentDate:t,onChange:n,events:r=[],isInvalidDate:p,onMonthPreviewed:h,startOfWeek:g=0}=e;const b=t?(0,d.inputToDate)(t):new Date,{calendar:y,viewing:_,setSelected:w,setViewing:x,isSelected:C,viewPreviousMonth:E,viewNextMonth:O}=(0,a.useLilius)({selected:[(0,i.startOfDay)(b)],viewing:(0,i.startOfDay)(b),weekStartsOn:g}),[S,M]=(0,o.useState)((0,i.startOfDay)(b)),[P,k]=(0,o.useState)(!1),[j,T]=(0,o.useState)(t);return t!==j&&(T(t),w([(0,i.startOfDay)(b)]),x((0,i.startOfDay)(b)),M((0,i.startOfDay)(b))),(0,o.createElement)(c.Wrapper,{className:"components-datetime__date",role:"application","aria-label":(0,l.__)("Calendar")},(0,o.createElement)(c.Navigator,null,(0,o.createElement)(f.default,{icon:(0,l.isRTL)()?s.arrowRight:s.arrowLeft,variant:"tertiary","aria-label":(0,l.__)("View previous month"),onClick:()=>{E(),M((0,i.subMonths)(S,1)),null==h||h((0,i.format)((0,i.subMonths)(_,1),m.TIMEZONELESS_FORMAT))}}),(0,o.createElement)(c.NavigatorHeading,{level:3},(0,o.createElement)("strong",null,(0,u.dateI18n)("F",_,-_.getTimezoneOffset()))," ",(0,u.dateI18n)("Y",_,-_.getTimezoneOffset())),(0,o.createElement)(f.default,{icon:(0,l.isRTL)()?s.arrowLeft:s.arrowRight,variant:"tertiary","aria-label":(0,l.__)("View next month"),onClick:()=>{O(),M((0,i.addMonths)(S,1)),null==h||h((0,i.format)((0,i.addMonths)(_,1),m.TIMEZONELESS_FORMAT))}})),(0,o.createElement)(c.Calendar,{onFocus:()=>k(!0),onBlur:()=>k(!1)},y[0][0].map((e=>(0,o.createElement)(c.DayOfWeek,{key:e.toString()},(0,u.dateI18n)("D",e,-e.getTimezoneOffset())))),y[0].map((e=>e.map(((e,t)=>(0,i.isSameMonth)(e,_)?(0,o.createElement)(v,{key:e.toString(),day:e,column:t+1,isSelected:C(e),isFocusable:(0,i.isEqual)(e,S),isFocusAllowed:P,isToday:(0,i.isSameDay)(e,new Date),isInvalid:!!p&&p(e),numEvents:r.filter((t=>(0,i.isSameDay)(t.date,e))).length,onClick:()=>{w([e]),M(e),null==n||n((0,i.format)(new Date(e.getFullYear(),e.getMonth(),e.getDate(),b.getHours(),b.getMinutes(),b.getSeconds(),b.getMilliseconds()),m.TIMEZONELESS_FORMAT))},onKeyDown:t=>{let n;"ArrowLeft"===t.key&&(n=(0,i.addDays)(e,(0,l.isRTL)()?1:-1)),"ArrowRight"===t.key&&(n=(0,i.addDays)(e,(0,l.isRTL)()?-1:1)),"ArrowUp"===t.key&&(n=(0,i.subWeeks)(e,1)),"ArrowDown"===t.key&&(n=(0,i.addWeeks)(e,1)),"PageUp"===t.key&&(n=(0,i.subMonths)(e,1)),"PageDown"===t.key&&(n=(0,i.addMonths)(e,1)),"Home"===t.key&&(n=(0,i.startOfWeek)(e)),"End"===t.key&&(n=(0,i.startOfDay)((0,i.endOfWeek)(e))),n&&(t.preventDefault(),M(n),(0,i.isSameMonth)(n,_)||(x(n),null==h||h((0,i.format)(n,m.TIMEZONELESS_FORMAT))))}}):null))))))}function v(e){let{day:t,column:n,isSelected:r,isFocusable:a,isFocusAllowed:i,isToday:l,isInvalid:s,numEvents:d,onClick:f,onKeyDown:m}=e;const p=(0,o.useRef)();return(0,o.useEffect)((()=>{p.current&&a&&i&&p.current.focus()}),[a]),(0,o.createElement)(c.DayButton,{ref:p,className:"components-datetime__date__day",disabled:s,tabIndex:a?0:-1,"aria-label":h(t,r,d),column:n,isSelected:r,isToday:l,hasEvents:d>0,onClick:f,onKeyDown:m},(0,u.dateI18n)("j",t,-t.getTimezoneOffset()))}function h(e,t,n){const{formats:r}=(0,u.getSettings)(),o=(0,u.dateI18n)(r.date,e,-e.getTimezoneOffset());return t&&n>0?(0,l.sprintf)((0,l._n)("%1$s. Selected. There is %2$d event","%1$s. Selected. There are %2$d events",n),o,n):t?(0,l.sprintf)((0,l.__)("%1$s. Selected"),o):n>0?(0,l.sprintf)((0,l._n)("%1$s. There is %2$d event","%1$s. There are %2$d events",n),o,n):o}var g=p;t.default=g},54326:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.NavigatorHeading=t.Navigator=t.DayOfWeek=t.DayButton=t.Calendar=void 0;var o=r(n(12272)),a=r(n(55932)),i=n(40455),l=n(44384),s=n(44754),u=n(36877);const c=(0,o.default)("div",{target:"e105ri6r5"})({name:"1khn195",styles:"box-sizing:border-box"});t.Wrapper=c;const d=(0,o.default)(l.HStack,{target:"e105ri6r4"})("margin-bottom:",(0,u.space)(4),";");t.Navigator=d;const f=(0,o.default)(s.Heading,{target:"e105ri6r3"})("font-size:",i.CONFIG.fontSize,";font-weight:",i.CONFIG.fontWeight,";strong{font-weight:",i.CONFIG.fontWeightHeading,";}");t.NavigatorHeading=f;const m=(0,o.default)("div",{target:"e105ri6r2"})("column-gap:",(0,u.space)(2),";display:grid;grid-template-columns:0.5fr repeat( 5, 1fr ) 0.5fr;justify-items:center;row-gap:",(0,u.space)(2),";");t.Calendar=m;const p=(0,o.default)("div",{target:"e105ri6r1"})("color:",i.COLORS.gray[700],";font-size:",i.CONFIG.fontSize,";line-height:",i.CONFIG.fontLineHeightBase,";&:nth-of-type( 1 ){justify-self:start;}&:nth-of-type( 7 ){justify-self:end;}");t.DayOfWeek=p;const v=(0,o.default)(a.default,{shouldForwardProp:e=>!["column","isSelected","isToday","hasEvents"].includes(e),target:"e105ri6r0"})("grid-column:",(e=>e.column),";position:relative;justify-content:center;",(e=>1===e.column&&"\n\t\tjustify-self: start;\n\t\t")," ",(e=>7===e.column&&"\n\t\tjustify-self: end;\n\t\t")," ",(e=>e.disabled&&"\n\t\tpointer-events: none;\n\t\t")," &&&{border-radius:100%;height:",(0,u.space)(7),";width:",(0,u.space)(7),";",(e=>e.isSelected&&`\n\t\t\tbackground: ${i.COLORS.ui.theme};\n\t\t\tcolor: ${i.COLORS.white};\n\t\t\t`)," ",(e=>!e.isSelected&&e.isToday&&`\n\t\t\tbackground: ${i.COLORS.gray[200]};\n\t\t\t`),";}",(e=>e.hasEvents&&`\n\t\t::before {\n\t\t\tbackground: ${e.isSelected?i.COLORS.white:i.COLORS.ui.theme};\n\t\t\tborder-radius: 2px;\n\t\t\tbottom: 0;\n\t\t\tcontent: " ";\n\t\t\theight: 4px;\n\t\t\tleft: 50%;\n\t\t\tmargin-left: -2px;\n\t\t\tposition: absolute;\n\t\t\twidth: 4px;\n\t\t}\n\t\t`),";");t.DayButton=v},56850:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function(){return a.default}}),t.default=void 0;var o=r(n(17074)),a=r(n(46413)),i=r(n(46362)).default;t.default=i},46413:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TimePicker=y,t.default=void 0;var o=n(32847),a=n(34885),i=n(25150),l=r(n(75339)),s=r(n(55932)),u=r(n(87074)),c=r(n(67218)),d=n(48556),f=n(44384),m=n(87268),p=n(49129),v=n(15568),h=n(19040);function g(e,t){return t?(e%12+12)%24:e%12}function b(e){return(t,n)=>{const r={...t};return n.type!==p.COMMIT&&n.type!==p.PRESS_UP&&n.type!==p.PRESS_DOWN||void 0!==r.value&&(r.value=r.value.toString().padStart(e,"0")),r}}function y(e){let{is12Hour:t,currentTime:n,onChange:r}=e;const[p,y]=(0,o.useState)((()=>n?(0,a.startOfMinute)((0,v.inputToDate)(n)):new Date));(0,o.useEffect)((()=>{y(n?(0,a.startOfMinute)((0,v.inputToDate)(n)):new Date)}),[n]);const{day:_,month:w,year:x,minutes:C,hours:E,am:O}=(0,o.useMemo)((()=>({day:(0,a.format)(p,"dd"),month:(0,a.format)(p,"MM"),year:(0,a.format)(p,"yyyy"),minutes:(0,a.format)(p,"mm"),hours:(0,a.format)(p,t?"hh":"HH"),am:(0,a.format)(p,"a")})),[p,t]),S=e=>(n,o)=>{let{event:i}=o;if(!(i.target instanceof HTMLInputElement))return;if(!i.target.validity.valid)return;let l=Number(n);"hours"===e&&t&&(l=g(l,"PM"===O));const s=(0,a.set)(p,{[e]:l});y(s),null==r||r((0,a.format)(s,h.TIMEZONELESS_FORMAT))};function M(e){return()=>{if(O===e)return;const t=parseInt(E,10),n=(0,a.setHours)(p,g(t,"PM"===e));y(n),null==r||r((0,a.format)(n,h.TIMEZONELESS_FORMAT))}}const P=(0,o.createElement)(d.DayInput,{className:"components-datetime__time-field components-datetime__time-field-day",label:(0,i.__)("Day"),hideLabelFromVision:!0,__next36pxDefaultSize:!0,value:_,step:1,min:1,max:31,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:S("date")}),k=(0,o.createElement)(d.MonthSelectWrapper,null,(0,o.createElement)(d.MonthSelect,{className:"components-datetime__time-field components-datetime__time-field-month",label:(0,i.__)("Month"),hideLabelFromVision:!0,__nextHasNoMarginBottom:!0,value:w,options:[{value:"01",label:(0,i.__)("January")},{value:"02",label:(0,i.__)("February")},{value:"03",label:(0,i.__)("March")},{value:"04",label:(0,i.__)("April")},{value:"05",label:(0,i.__)("May")},{value:"06",label:(0,i.__)("June")},{value:"07",label:(0,i.__)("July")},{value:"08",label:(0,i.__)("August")},{value:"09",label:(0,i.__)("September")},{value:"10",label:(0,i.__)("October")},{value:"11",label:(0,i.__)("November")},{value:"12",label:(0,i.__)("December")}],onChange:e=>{const t=(0,a.setMonth)(p,Number(e)-1);y(t),null==r||r((0,a.format)(t,h.TIMEZONELESS_FORMAT))}}));return(0,o.createElement)(d.Wrapper,{className:"components-datetime__time"},(0,o.createElement)(d.Fieldset,null,(0,o.createElement)(l.default.VisualLabel,{as:"legend",className:"components-datetime__time-legend"},(0,i.__)("Time")),(0,o.createElement)(f.HStack,{className:"components-datetime__time-wrapper"},(0,o.createElement)(d.TimeWrapper,{className:"components-datetime__time-field components-datetime__time-field-time"},(0,o.createElement)(d.HoursInput,{className:"components-datetime__time-field-hours-input",label:(0,i.__)("Hours"),hideLabelFromVision:!0,__next36pxDefaultSize:!0,value:E,step:1,min:t?1:0,max:t?12:23,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:S("hours"),__unstableStateReducer:b(2)}),(0,o.createElement)(d.TimeSeparator,{className:"components-datetime__time-separator","aria-hidden":"true"},":"),(0,o.createElement)(d.MinutesInput,{className:"components-datetime__time-field-minutes-input",label:(0,i.__)("Minutes"),hideLabelFromVision:!0,__next36pxDefaultSize:!0,value:C,step:1,min:0,max:59,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:S("minutes"),__unstableStateReducer:b(2)})),t&&(0,o.createElement)(u.default,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},(0,o.createElement)(s.default,{className:"components-datetime__time-am-button",variant:"AM"===O?"primary":"secondary",onClick:M("AM")},(0,i.__)("AM")),(0,o.createElement)(s.default,{className:"components-datetime__time-pm-button",variant:"PM"===O?"primary":"secondary",onClick:M("PM")},(0,i.__)("PM"))),(0,o.createElement)(m.Spacer,null),(0,o.createElement)(c.default,null))),(0,o.createElement)(d.Fieldset,null,(0,o.createElement)(l.default.VisualLabel,{as:"legend",className:"components-datetime__time-legend"},(0,i.__)("Date")),(0,o.createElement)(f.HStack,{className:"components-datetime__time-wrapper"},t?(0,o.createElement)(o.Fragment,null,k,P):(0,o.createElement)(o.Fragment,null,P,k),(0,o.createElement)(d.YearInput,{className:"components-datetime__time-field components-datetime__time-field-year",label:(0,i.__)("Year"),hideLabelFromVision:!0,__next36pxDefaultSize:!0,value:x,step:1,min:1,max:9999,required:!0,spinControls:"none",isPressEnterToChange:!0,isDragEnabled:!1,isShiftStepEnabled:!1,onChange:S("year"),__unstableStateReducer:b(4)}))))}var _=y;t.default=_},48556:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.YearInput=t.Wrapper=t.TimeZone=t.TimeWrapper=t.TimeSeparator=t.MonthSelectWrapper=t.MonthSelect=t.MinutesInput=t.HoursInput=t.Fieldset=t.DayInput=void 0;var o=r(n(12272)),a=n(18591),i=n(40455),l=n(36877),s=n(75882),u=r(n(5838)),c=r(n(13719)),d=n(97216);const f=(0,o.default)("div",{target:"evcr23110"})("box-sizing:border-box;font-size:",i.CONFIG.fontSize,";");t.Wrapper=f;const m=(0,o.default)("fieldset",{target:"evcr2319"})("border:0;margin:0 0 ",(0,l.space)(4)," 0;padding:0;&:last-child{margin-bottom:0;}");t.Fieldset=m;const p=(0,o.default)("div",{target:"evcr2318"})({name:"pd0mhc",styles:"direction:ltr;display:flex"});t.TimeWrapper=p;const v=(0,a.css)("&&& ",s.Input,"{padding-left:",(0,l.space)(2),";padding-right:",(0,l.space)(2),";text-align:center;}",""),h=(0,o.default)(u.default,{target:"evcr2317"})(v," width:",(0,l.space)(9),";&&& ",s.Input,"{padding-right:0;}&&& ",s.BackdropUI,"{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}");t.HoursInput=h;const g=(0,o.default)("span",{target:"evcr2316"})("border-top:",i.CONFIG.borderWidth," solid ",i.COLORS.gray[700],";border-bottom:",i.CONFIG.borderWidth," solid ",i.COLORS.gray[700],";line-height:calc(\n\t\t",i.CONFIG.controlHeight," - ",i.CONFIG.borderWidth," * 2\n\t);display:inline-block;");t.TimeSeparator=g;const b=(0,o.default)(u.default,{target:"evcr2315"})(v," width:",(0,l.space)(9),";&&& ",s.Input,"{padding-left:0;}&&& ",s.BackdropUI,"{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;}");t.MinutesInput=b;const y=(0,o.default)("div",{target:"evcr2314"})({name:"1ff36h2",styles:"flex-grow:1"});t.MonthSelectWrapper=y;const _=(0,o.default)(c.default,{target:"evcr2313"})("height:36px;",d.Select,"{line-height:30px;}");t.MonthSelect=_;const w=(0,o.default)(u.default,{target:"evcr2312"})(v," width:",(0,l.space)(9),";");t.DayInput=w;const x=(0,o.default)(u.default,{target:"evcr2311"})(v," width:",(0,l.space)(14),";");t.YearInput=x;const C=(0,o.default)("div",{target:"evcr2310"})({name:"ebu3jh",styles:"text-decoration:underline dotted"});t.TimeZone=C},67218:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(25150),i=n(76584),l=r(n(30497)),s=n(48556);t.default=()=>{const{timezone:e}=(0,i.getSettings)(),t=(new Date).getTimezoneOffset()/60*-1;if(Number(e.offset)===t)return null;const n=Number(e.offset)>=0?"+":"",r=""!==e.abbr&&isNaN(Number(e.abbr))?e.abbr:`UTC${n}${e.offset}`,u="UTC"===e.string?(0,a.__)("Coordinated Universal Time"):`(${r}) ${e.string.replace("_"," ")}`;return(0,o.createElement)(l.default,{position:"top center",text:u},(0,o.createElement)(s.TimeZone,{className:"components-datetime__timezone"},r))}},15568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inputToDate=function(e){return"string"==typeof e?new Date(e):(0,r.toDate)(e)};var r=n(34885)},4519:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.DimensionControl=c,t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(25150),l=n(33995),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(96283));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e){const{label:t,value:n,sizes:r=s.default,icon:u,onChange:c,className:d=""}=e,f=(0,o.createElement)(o.Fragment,null,u&&(0,o.createElement)(l.Icon,{icon:u}),t);return(0,o.createElement)(l.SelectControl,{className:(0,a.default)(d,"block-editor-dimension-control"),label:f,hideLabelFromVision:!1,value:n,onChange:e=>{const t=(0,s.findSizeBySlug)(r,e);t&&n!==t.slug?"function"==typeof c&&c(t.slug):c(void 0)},options:(e=>{const t=e.map((e=>{let{name:t,slug:n}=e;return{label:t,value:n}}));return[{label:(0,i.__)("Default"),value:""}].concat(t)})(r)})}var d=c;t.default=d},96283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSizeBySlug=t.default=void 0;var r=n(25150);t.findSizeBySlug=(e,t)=>e.find((e=>t===e.slug));var o=[{name:(0,r._x)("None","Size of a UI element"),slug:"none"},{name:(0,r._x)("Small","Size of a UI element"),slug:"small"},{name:(0,r._x)("Medium","Size of a UI element"),slug:"medium"},{name:(0,r._x)("Large","Size of a UI element"),slug:"large"},{name:(0,r._x)("Extra Large","Size of a UI element"),slug:"xlarge"}];t.default=o},67296:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(37326),l=n(40455);const s=(0,o.createContext)(!1),{Consumer:u,Provider:c}=s;function d(e){let{className:t,children:n,isDisabled:r=!0,...s}=e;const u=(0,l.useCx)();return(0,o.createElement)(c,{value:r},(0,o.createElement)("div",(0,a.default)({inert:r?"true":void 0,className:r?u(i.disabledStyles,t,"components-disabled"):void 0},s),n))}d.Context=s,d.Consumer=u;var f=d;t.default=f},37326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.disabledStyles=void 0,n(18591);t.disabledStyles={name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}},89169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisclosureContent",{enumerable:!0,get:function(){return r.DisclosureContent}});var r=n(86683)},35539:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Divider=void 0;var o=n(32847),a=r(n(31304)),i=n(86683),l=n(98138),s=n(38397);const u=(0,l.contextConnect)((function(e,t){const n=(0,l.useContextSystem)(e,"Divider");return(0,o.createElement)(i.Separator,(0,a.default)({as:s.DividerView},n,{ref:t}))}),"Divider");t.Divider=u;var c=u;t.default=c},69962:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Divider",{enumerable:!0,get:function(){return o.default}});var o=r(n(35539))},38397:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.DividerView=void 0;var o=r(n(12272)),a=n(18591),i=n(36877),l=n(40455);const s={vertical:{start:"marginLeft",end:"marginRight"},horizontal:{start:"marginTop",end:"marginBottom"}};var u={name:"1u4hpl4",styles:"display:inline"};const c=(0,o.default)("hr",{target:"e19on6iw0"})("border:0;margin:0;",(e=>{let{"aria-orientation":t="horizontal"}=e;return"vertical"===t?u:void 0})," ",(e=>{let{"aria-orientation":t="horizontal"}=e;return(0,a.css)({["vertical"===t?"borderRight":"borderBottom"]:"1px solid currentColor"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal"}=e;return(0,a.css)({height:"vertical"===t?"auto":0,width:"vertical"===t?0:"auto"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal",margin:n,marginStart:r,marginEnd:o}=e;return(0,a.css)((0,l.rtl)({[s[t].start]:(0,i.space)(null!=r?r:n),[s[t].end]:(0,i.space)(null!=o?o:n)})(),"","")}),";");t.DividerView=c},76130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Draggable=u,t.default=void 0;var r=n(32847),o=n(89029);const a="components-draggable__invisible-drag-image",i="components-draggable__clone",l=0,s="is-dragging-components-draggable";function u(e){let{children:t,onDragStart:n,onDragOver:u,onDragEnd:c,cloneClassname:d,elementId:f,transferData:m,__experimentalTransferDataType:p="text",__experimentalDragComponent:v}=e;const h=(0,r.useRef)(null),g=(0,r.useRef)((()=>{}));return(0,r.useEffect)((()=>()=>{g.current()}),[]),(0,r.createElement)(r.Fragment,null,t({onDraggableStart:function(e){const{ownerDocument:t}=e.target;e.dataTransfer.setData(p,JSON.stringify(m));const r=t.createElement("div");r.style.top="0",r.style.left="0";const c=t.createElement("div");"function"==typeof e.dataTransfer.setDragImage&&(c.classList.add(a),t.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0)),r.classList.add(i),d&&r.classList.add(d);let v=0,b=0;if(h.current){v=e.clientX,b=e.clientY,r.style.transform=`translate( ${v}px, ${b}px )`;const n=t.createElement("div");n.innerHTML=h.current.innerHTML,r.appendChild(n),t.body.appendChild(r)}else{const e=t.getElementById(f),n=e.getBoundingClientRect(),o=e.parentNode,a=n.top,i=n.left;r.style.width=`${n.width+2*l}px`;const s=e.cloneNode(!0);s.id=`clone-${f}`,v=i-l,b=a-l,r.style.transform=`translate( ${v}px, ${b}px )`,Array.from(s.querySelectorAll("iframe")).forEach((e=>{var t;return null===(t=e.parentNode)||void 0===t?void 0:t.removeChild(e)})),r.appendChild(s),null==o||o.appendChild(r)}let y=e.clientX,_=e.clientY;const w=(0,o.throttle)((function(e){if(y===e.clientX&&_===e.clientY)return;const t=v+e.clientX-y,n=b+e.clientY-_;r.style.transform=`translate( ${t}px, ${n}px )`,y=e.clientX,_=e.clientY,v=t,b=n,u&&u(e)}),16);let x;t.addEventListener("dragover",w),t.body.classList.add(s),e.persist(),n&&(x=setTimeout((()=>n(e)))),g.current=()=>{r&&r.parentNode&&r.parentNode.removeChild(r),c&&c.parentNode&&c.parentNode.removeChild(c),t.body.classList.remove(s),t.removeEventListener("dragover",w),clearTimeout(x)}},onDraggableEnd:function(e){e.preventDefault(),g.current(),c&&c(e)}}),v&&(0,r.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:h},v))}var c=u;t.default=c},69235:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.DropZoneComponent=f,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(58446),u=n(59201),c=n(89029),d=n(857);function f(e){let{className:t,label:n,onFilesDrop:r,onHTMLDrop:f,onDrop:m,...p}=e;const[v,h]=(0,o.useState)(),[g,b]=(0,o.useState)(),[y,_]=(0,o.useState)(),w=(0,c.__experimentalUseDropZone)({onDrop(e){var t;const n=e.dataTransfer?(0,u.getFilesFromDataTransfer)(e.dataTransfer):[],o=null===(t=e.dataTransfer)||void 0===t?void 0:t.getData("text/html");o&&f?f(o):n.length&&r?r(n):m&&m(e)},onDragStart(e){var t,n;h(!0);let r="default";null!==(t=e.dataTransfer)&&void 0!==t&&t.types.includes("text/html")?r="html":(null!==(n=e.dataTransfer)&&void 0!==n&&n.types.includes("Files")||(e.dataTransfer?(0,u.getFilesFromDataTransfer)(e.dataTransfer):[]).length>0)&&(r="file"),_(r)},onDragEnd(){h(!1),_(void 0)},onDragEnter(){b(!0)},onDragLeave(){b(!1)}}),x=(0,c.useReducedMotion)();let C;g&&(C=(0,o.createElement)(d.__unstableMotion.div,{variants:{hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{type:"tween",duration:.2,delay:.1,delayChildren:.2}},exit:{scaleY:1,opacity:0,transition:{duration:.3,delayChildren:0}}},initial:x?"show":"hidden",animate:"show",exit:x?"show":"exit",className:"components-drop-zone__content",style:{pointerEvents:"none"}},(0,o.createElement)(d.__unstableMotion.div,{variants:{hidden:{opacity:0,scale:.75},show:{opacity:1,scale:1},exit:{opacity:0,scale:.9}}},(0,o.createElement)(s.Icon,{icon:s.upload,className:"components-drop-zone__content-icon"}),(0,o.createElement)("span",{className:"components-drop-zone__content-text"},n||(0,l.__)("Drop files to upload")))));const E=(0,i.default)("components-drop-zone",t,{"is-active":(v||g)&&("file"===y&&r||"html"===y&&f||"default"===y&&m),"is-dragging-over-document":v,"is-dragging-over-element":g,[`is-dragging-${y}`]:!!y});return(0,o.createElement)("div",(0,a.default)({},p,{ref:w,className:E}),x?C:(0,o.createElement)(d.__unstableAnimatePresence,null,C))}var m=f;t.default=m},76877:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t}=e;return(0,o.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."}),t};var o=r(n(6777))},15830:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(58446),s=r(n(55932)),u=r(n(53520)),c=n(40417);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,...t};return t.className&&e.className&&(n.className=(0,i.default)(t.className,e.className)),n}function f(e){return"function"==typeof e}t.default=function(e){const{children:t,className:n,controls:r,icon:m=l.menu,label:p,popoverProps:v,toggleProps:h,menuProps:g,disableOpenOnArrowDown:b=!1,text:y,noIcons:_}=e;if(!(null!=r&&r.length||f(t)))return null;let w;null!=r&&r.length&&(w=r,Array.isArray(w[0])||(w=[w]));const x=d({className:"components-dropdown-menu__popover"},v);return(0,o.createElement)(u.default,{className:(0,i.default)("components-dropdown-menu",n),popoverProps:x,renderToggle:e=>{var t;let{isOpen:n,onToggle:r}=e;const{as:l=s.default,...u}=null!=h?h:{},c=d({className:(0,i.default)("components-dropdown-menu__toggle",{"is-opened":n})},u);return(0,o.createElement)(l,(0,a.default)({},c,{icon:m,onClick:e=>{r(e),c.onClick&&c.onClick(e)},onKeyDown:e=>{(e=>{b||n||"ArrowDown"!==e.code||(e.preventDefault(),r())})(e),c.onKeyDown&&c.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:p,text:y,showTooltip:null===(t=null==h?void 0:h.showTooltip)||void 0===t||t}),c.children)},renderContent:e=>{var n;const r=d({"aria-label":p,className:(0,i.default)("components-dropdown-menu__menu",{"no-icons":_})},g);return(0,o.createElement)(c.NavigableMenu,(0,a.default)({},r,{role:"menu"}),f(t)?t(e):null,null===(n=w)||void 0===n?void 0:n.flatMap(((t,n)=>t.map(((t,r)=>(0,o.createElement)(s.default,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:(0,i.default)("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive,"is-icon-only":!t.title}),icon:t.icon,label:t.label,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title))))))}})}},22353:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DropdownContentWrapper=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(3690);const s=(0,i.contextConnect)((function(e,t){const{paddingSize:n="small",...r}=(0,i.useContextSystem)(e,"DropdownContentWrapper");return(0,o.createElement)(l.DropdownContentWrapperDiv,(0,a.default)({},r,{paddingSize:n,ref:t}))}),"DropdownContentWrapper");t.DropdownContentWrapper=s;var u=s;t.default=u},53520:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Dropdown=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(6777)),u=r(n(87059));const c=(0,o.forwardRef)((function(e,t){let{renderContent:n,renderToggle:r,className:c,contentClassName:d,expandOnMobile:f,headerTitle:m,focusOnMount:p,popoverProps:v,onClose:h,onToggle:g,style:b,position:y}=e;void 0!==y&&(0,s.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."});const[_,w]=(0,o.useState)(null),x=(0,o.useRef)(),[C,E]=function(e,t){const[n,r]=(0,o.useState)(!1);return[n,e=>{r(e),t&&t(e)}]}(0,g);function O(){h&&h(),E(!1)}(0,o.useEffect)((()=>()=>{g&&C&&g(!1)}),[g,C]);const S={isOpen:C,onToggle:function(){E(!C)},onClose:O},M=!!(null!=v&&v.anchor||null!=v&&v.anchorRef||null!=v&&v.getAnchorRect||null!=v&&v.anchorRect);return(0,o.createElement)("div",{className:(0,i.default)("components-dropdown",c),ref:(0,l.useMergeRefs)([x,t,w]),tabIndex:-1,style:b},r(S),C&&(0,o.createElement)(u.default,(0,a.default)({position:y,onClose:O,onFocusOutside:function(){var e;if(!x.current)return;const{ownerDocument:t}=x.current,n=null==t||null===(e=t.activeElement)||void 0===e?void 0:e.closest('[role="dialog"]');x.current.contains(t.activeElement)||n&&!n.contains(x.current)||O()},expandOnMobile:f,headerTitle:m,focusOnMount:p,offset:13,anchor:M?void 0:_},v,{className:(0,i.default)("components-dropdown__content",null==v?void 0:v.className,d)}),n(S)))}));t.Dropdown=c;var d=c;t.default=d},3690:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownContentWrapperDiv=void 0;var o=r(n(12272)),a=n(18591),i=n(36877);const l=(0,o.default)("div",{target:"eovvns30"})("margin-left:",(0,i.space)(-2),";margin-right:",(0,i.space)(-2),";&:first-of-type{margin-top:",(0,i.space)(-2),";}&:last-of-type{margin-bottom:",(0,i.space)(-2),";}",(e=>{let{paddingSize:t="small"}=e;if("none"===t)return;const n={small:(0,i.space)(2),medium:(0,i.space)(4)};return(0,a.css)("padding:",n[t]||n.small,";","")}),";");t.DropdownContentWrapperDiv=l},3021:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{value:t,onChange:n}=e;const r=!!t,s=r?t:l,u=(0,i.getGradientFromCSSColors)(s),c=(0,i.getColorStopsFromColors)(s);return(0,o.createElement)(a.default,{disableInserter:!0,background:u,hasGradient:r,value:c,onChange:e=>{const t=(0,i.getColorsFromColorStops)(e);n(t)}})};var o=n(32847),a=r(n(50652)),i=n(80777);const l=["#333","#CCC"]},51627:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(55701)),i=n(25150),l=r(n(92254)),s=r(n(32137)),u=n(74618),c=r(n(3021)),d=n(80777),f=n(87268);t.default=function(e){let{clearable:t=!0,unsetable:n=!0,colorPalette:r,duotonePalette:m,disableCustomColors:p,disableCustomDuotone:v,value:h,onChange:g}=e;const[b,y]=(0,o.useMemo)((()=>(0,d.getDefaultColors)(r)),[r]),_="unset"===h,w=(0,o.createElement)(s.default.Option,{key:"unset",value:"unset",isSelected:_,tooltipText:(0,i.__)("Unset"),className:"components-duotone-picker__color-indicator",onClick:()=>{g(_?void 0:"unset")}}),x=m.map((e=>{let{colors:t,slug:n,name:r}=e;const l={background:(0,d.getGradientFromCSSColors)(t,"135deg"),color:"transparent"},u=null!=r?r:(0,i.sprintf)((0,i.__)("Duotone code: %s"),n),c=r?(0,i.sprintf)((0,i.__)("Duotone: %s"),r):u,f=(0,a.default)(t,h);return(0,o.createElement)(s.default.Option,{key:n,value:t,isSelected:f,"aria-label":c,tooltipText:u,style:l,onClick:()=>{g(f?void 0:t)}})}));return(0,o.createElement)(s.default,{options:n?[w,...x]:x,actions:!!t&&(0,o.createElement)(s.default.ButtonAction,{onClick:()=>g(void 0)},(0,i.__)("Clear"))},(0,o.createElement)(f.Spacer,{paddingTop:4},(0,o.createElement)(u.VStack,{spacing:3},!p&&!v&&(0,o.createElement)(c.default,{value:_?void 0:h,onChange:g}),!v&&(0,o.createElement)(l.default,{labels:[(0,i.__)("Shadows"),(0,i.__)("Highlights")],colors:r,value:_?void 0:h,disableCustomColors:p,enableAlpha:!0,onChange:e=>{e[0]||(e[0]=b),e[1]||(e[1]=y);const t=e.length>=2?e:void 0;g(t)}}))))}},18682:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(58446),i=r(n(79325)),l=r(n(72818)),s=n(80777);t.default=function(e){let{values:t}=e;return t?(0,o.createElement)(i.default,{colorValue:(0,s.getGradientFromCSSColors)(t,"135deg")}):(0,o.createElement)(l.default,{icon:a.swatch})}},54613:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DuotonePicker",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DuotoneSwatch",{enumerable:!0,get:function(){return a.default}});var o=r(n(51627)),a=r(n(18682))},80777:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getColorStopsFromColors=function(e){return e.map(((t,n)=>({position:100*n/(e.length-1),color:t})))},t.getColorsFromColorStops=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{color:t}=e;return t}))},t.getDefaultColors=function(e){return!e||e.length<2?["#000","#fff"]:e.map((e=>{let{color:t}=e;return{color:t,brightness:(0,o.colord)(t).brightness()}})).reduce(((e,t)=>{let[n,r]=e;return[t.brightness<=n.brightness?t:n,t.brightness>=r.brightness?t:r]}),[{brightness:1},{brightness:0}]).map((e=>{let{color:t}=e;return t}))},t.getGradientFromCSSColors=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"90deg";const n=100/e.length;return`linear-gradient( ${t}, ${e.map(((e,t)=>`${e} ${t*n}%, ${e} ${(t+1)*n}%`)).join(", ")} )`};var o=n(9009),a=r(n(11343));(0,o.extend)([a.default])},8963:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Elevation=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(43464);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useElevation)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Elevation");t.Elevation=u;var c=u;t.default=c},43464:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoxShadow=d,t.useElevation=function(e){const{active:t,borderRadius:n="inherit",className:c,focus:f,hover:m,isInteractive:p=!1,offset:v=0,value:h=0,...g}=(0,a.useContextSystem)(e,"Elevation"),b=(0,s.useCx)();return{...g,className:(0,o.useMemo)((()=>{let e=(0,u.isValueDefined)(m)?m:2*h,o=(0,u.isValueDefined)(t)?t:h/2;p||(e=(0,u.isValueDefined)(m)?m:void 0,o=(0,u.isValueDefined)(t)?t:void 0);const a=`box-shadow ${l.CONFIG.transitionDuration} ${l.CONFIG.transitionTimingFunction}`,s={};return s.Base=(0,r.css)({borderRadius:n,bottom:v,boxShadow:d(h),opacity:l.CONFIG.elevationIntensity,left:v,right:v,top:v,transition:a},(0,l.reduceMotion)("transition"),"",""),(0,u.isValueDefined)(e)&&(s.hover=(0,r.css)("*:hover>&{box-shadow:",d(e),";}","")),(0,u.isValueDefined)(o)&&(s.active=(0,r.css)("*:active>&{box-shadow:",d(o),";}","")),(0,u.isValueDefined)(f)&&(s.focus=(0,r.css)("*:focus>&{box-shadow:",d(f),";}","")),b(i.Elevation,s.Base,s.hover,s.focus,s.active,c)}),[t,n,c,b,f,m,p,v,h]),"aria-hidden":!0}};var r=n(18591),o=n(32847),a=n(98138),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(19581)),l=n(40455),s=n(7769),u=n(39984);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return`0 ${e}px ${2*e}px 0\n\trgba(0, 0, 0, ${e/20})`}},92772:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0});var o={Elevation:!0};Object.defineProperty(t,"Elevation",{enumerable:!0,get:function(){return a.default}});var a=r(n(8963)),i=n(43464);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},19581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Elevation=void 0,n(18591);t.Elevation={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"}},88069:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ExternalLink=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(58446),u=n(42937),c=n(51014);const d=(0,o.forwardRef)((function(e,t){const{href:n,children:r,className:d,rel:f="",...m}=e,p=[...new Set([...f.split(" "),"external","noreferrer","noopener"].filter(Boolean))].join(" "),v=(0,i.default)("components-external-link",d),h=!(null==n||!n.startsWith("#"));return(0,o.createElement)("a",(0,a.default)({},m,{className:v,href:n,onClick:t=>{h&&t.preventDefault(),e.onClick&&e.onClick(t)},target:"_blank",rel:p,ref:t}),r,(0,o.createElement)(u.VisuallyHidden,{as:"span"},(0,l.__)("(opens in a new tab)")),(0,o.createElement)(c.StyledIcon,{icon:s.external,className:"components-external-link__icon"}))}));t.ExternalLink=d;var f=d;t.default=f},51014:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledIcon=void 0;var o=r(n(12272)),a=n(58446);const i=(0,o.default)(a.Icon,{target:"esh4a730"})({name:"rvs7bx",styles:"width:1em;height:1em;margin:0;vertical-align:middle;fill:currentColor"});t.StyledIcon=i},25821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFlexContext=t.FlexContext=void 0;var r=n(32847);const o=(0,r.createContext)({flexItemDisplay:void 0});t.FlexContext=o,t.useFlexContext=()=>(0,r.useContext)(o)},76424:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FlexBlock=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(59683);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useFlexBlock)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"FlexBlock");t.FlexBlock=u;var c=u;t.default=c},59683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFlexBlock=function(e){const t=(0,r.useContextSystem)(e,"FlexBlock");return(0,o.useFlexItem)({isBlock:!0,...t})};var r=n(98138),o=n(19175)},71430:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useFlexBlock",{enumerable:!0,get:function(){return a.useFlexBlock}});var o=r(n(76424)),a=n(59683)},28211:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FlexItem=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(67099);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useFlexItem)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"FlexItem");t.FlexItem=u;var c=u;t.default=c},67099:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFlexItem=function(e){const{className:t,display:n,isBlock:s=!1,...u}=(0,o.useContextSystem)(e,"FlexItem"),c={},d=(0,a.useFlexContext)().flexItemDisplay;c.Base=(0,r.css)({display:n||d},"","");return{...u,className:(0,l.useCx)()(i.Item,c.Base,s&&i.block,t)}};var r=n(18591),o=n(98138),a=n(25821),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(77098)),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}},19175:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useFlexItem",{enumerable:!0,get:function(){return a.useFlexItem}});var o=r(n(28211)),a=n(67099)},1742:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Flex=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29124),s=n(25821),u=n(29640);const c=(0,i.contextConnect)((function(e,t){const{children:n,isColumn:r,...i}=(0,l.useFlex)(e);return(0,o.createElement)(s.FlexContext.Provider,{value:{flexItemDisplay:r?"block":void 0}},(0,o.createElement)(u.View,(0,a.default)({},i,{ref:t}),n))}),"Flex");t.Flex=c;var d=c;t.default=d},29124:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useFlex=function(e){const{align:t="center",className:n,direction:r="row",expanded:f=!0,gap:m=2,justify:p="space-between",wrap:v=!1,...h}=(0,l.useContextSystem)(function(e){const{isReversed:t,...n}=e;return void 0!==t?((0,i.default)("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),g=Array.isArray(r)?r:[r],b=(0,s.useResponsiveValue)(g),y="string"==typeof b&&!!b.includes("column"),_=(0,d.useCx)();return{...h,className:(0,a.useMemo)((()=>{const e=(0,o.css)({alignItems:y?"normal":t,flexDirection:b,flexWrap:v?"wrap":void 0,gap:(0,u.space)(m),justifyContent:p,height:y&&f?"100%":void 0,width:!y&&f?"100%":void 0},"","");return _(c.Flex,e,y?c.ItemsColumn:c.ItemsRow,n)}),[t,n,_,b,f,m,y,p,v]),isColumn:y}};var o=n(18591),a=n(32847),i=r(n(6777)),l=n(98138),s=n(52563),u=n(36877),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(77098)),d=n(40455);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}},52971:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useFlex",{enumerable:!0,get:function(){return a.useFlex}});var o=r(n(1742)),a=n(29124)},53753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Flex",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"FlexBlock",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FlexItem",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useFlex",{enumerable:!0,get:function(){return r.useFlex}}),Object.defineProperty(t,"useFlexBlock",{enumerable:!0,get:function(){return a.useFlexBlock}}),Object.defineProperty(t,"useFlexItem",{enumerable:!0,get:function(){return o.useFlexItem}});var r=l(n(52971)),o=l(n(19175)),a=l(n(71430));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}},77098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.block=t.ItemsRow=t.ItemsColumn=t.Item=t.Flex=void 0,n(18591);t.Flex={name:"zjik7",styles:"display:flex"};t.Item={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"};t.block={name:"82a6rk",styles:"flex:1"};t.ItemsColumn={name:"13nosa1",styles:">*{min-height:0;}"};t.ItemsRow={name:"1pwxzk4",styles:">*{min-width:0;}"}},45621:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{__nextHasNoMarginBottom:t,hasHelpText:n,onChange:r=d,point:a={x:.5,y:.5}}=e;const u=(0,s.fractionToPercentage)(a.x),c=(0,s.fractionToPercentage)(a.y),m=(e,t)=>{if(void 0===e)return;const n=parseInt(e,10);isNaN(n)||r({...a,[t]:n/100})};return(0,o.createElement)(l.ControlWrapper,{className:"focal-point-picker__controls",__nextHasNoMarginBottom:t,hasHelpText:n},(0,o.createElement)(f,{label:(0,i.__)("Left"),value:[u,"%"].join(""),onChange:e=>m(e,"x"),dragDirection:"e"}),(0,o.createElement)(f,{label:(0,i.__)("Top"),value:[c,"%"].join(""),onChange:e=>m(e,"y"),dragDirection:"s"}))};var o=n(32847),a=r(n(31304)),i=n(25150),l=n(15857),s=n(19617);const u=0,c=100,d=()=>{};function f(e){return(0,o.createElement)(l.StyledUnitControl,(0,a.default)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:c,min:u,units:[{value:"%",label:"%"}]},e))}},95486:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{left:t="50%",top:n="50%",...r}=e;const s=(0,l.default)("components-focal-point-picker__icon_container"),u={left:t,top:n};return(0,o.createElement)(i.PointerCircle,(0,a.default)({},r,{className:s,style:u}))};var o=n(32847),a=r(n(31304)),i=n(2409),l=r(n(26372))},44563:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{bounds:t,...n}=e;return(0,o.createElement)(i.GridView,(0,a.default)({},n,{className:"components-focal-point-picker__grid",style:{width:t.width,height:t.height}}),(0,o.createElement)(i.GridLineX,{style:{top:"33%"}}),(0,o.createElement)(i.GridLineX,{style:{top:"66%"}}),(0,o.createElement)(i.GridLineY,{style:{left:"33%"}}),(0,o.createElement)(i.GridLineY,{style:{left:"66%"}}))};var o=n(32847),a=r(n(31304)),i=n(15857)},88498:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.FocalPointPicker=b,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(89029),u=r(n(75339)),c=r(n(45621)),d=r(n(95486)),f=r(n(44563)),m=r(n(18350)),p=n(15857),v=n(19617),h=n(92342);const g=600;function b(e){let{__nextHasNoMarginBottom:t,autoPlay:n=!0,className:r,help:y,label:_,onChange:w,onDrag:x,onDragEnd:C,onDragStart:E,resolvePoint:O,url:S,value:M={x:.5,y:.5},...P}=e;const[k,j]=(0,o.useState)(M),[T,I]=(0,o.useState)(!1),{startDrag:N,endDrag:R,isDragging:L}=(0,s.__experimentalUseDragging)({onDragStart:e=>{var t;null===(t=B.current)||void 0===t||t.focus();const n=F(e);n&&(null==E||E(n,e),j(n))},onDragMove:e=>{e.preventDefault();const t=F(e);t&&(null==x||x(t,e),j(t))},onDragEnd:()=>{null==C||C(),null==w||w(k)}}),{x:D,y:V}=L?k:M,B=(0,o.useRef)(null),[A,z]=(0,o.useState)(v.INITIAL_BOUNDS),H=(0,o.useRef)((()=>{if(!B.current)return;const{clientWidth:e,clientHeight:t}=B.current;z(e>0&&t>0?{width:e,height:t}:{...v.INITIAL_BOUNDS})}));(0,o.useEffect)((()=>{const e=H.current;if(!B.current)return;const{defaultView:t}=B.current.ownerDocument;return null==t||t.addEventListener("resize",e),()=>null==t?void 0:t.removeEventListener("resize",e)}),[]),(0,s.useIsomorphicLayoutEffect)((()=>{H.current()}),[]);const F=e=>{let{clientX:t,clientY:n,shiftKey:r}=e;if(!B.current)return;const{top:o,left:a}=B.current.getBoundingClientRect();let i=(t-a)/A.width,l=(n-o)/A.height;return r&&(i=.1*Math.round(i/.1),l=.1*Math.round(l/.1)),W({x:i,y:l})},W=e=>{var t;const n=null!==(t=null==O?void 0:O(e))&&void 0!==t?t:e;n.x=Math.max(0,Math.min(n.x,1)),n.y=Math.max(0,Math.min(n.y,1));const r=e=>Math.round(100*e)/100;return{x:r(n.x),y:r(n.y)}},Z={left:D*A.width,top:V*A.height},$=(0,i.default)("components-focal-point-picker-control",r),U=`inspector-focal-point-picker-control-${(0,s.useInstanceId)(b)}`;return(0,h.useUpdateEffect)((()=>{I(!0);const e=window.setTimeout((()=>{I(!1)}),g);return()=>window.clearTimeout(e)}),[D,V]),(0,o.createElement)(u.default,(0,a.default)({},P,{__nextHasNoMarginBottom:t,label:_,id:U,help:y,className:$}),(0,o.createElement)(p.MediaWrapper,{className:"components-focal-point-picker-wrapper"},(0,o.createElement)(p.MediaContainer,{className:"components-focal-point-picker",onKeyDown:e=>{const{code:t,shiftKey:n}=e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t))return;e.preventDefault();const r={x:D,y:V},o=n?.1:.01,a="ArrowUp"===t||"ArrowLeft"===t?-1*o:o,i="ArrowUp"===t||"ArrowDown"===t?"y":"x";r[i]=r[i]+a,null==w||w(W(r))},onMouseDown:N,onBlur:()=>{L&&R()},ref:B,role:"button",tabIndex:-1},(0,o.createElement)(f.default,{bounds:A,showOverlay:T}),(0,o.createElement)(m.default,{alt:(0,l.__)("Media preview"),autoPlay:n,onLoad:H.current,src:S}),(0,o.createElement)(d.default,(0,a.default)({},Z,{isDragging:L})))),(0,o.createElement)(c.default,{__nextHasNoMarginBottom:t,hasHelpText:!!y,point:{x:D,y:V},onChange:e=>{null==w||w(W(e))}}))}var y=b;t.default=y},18350:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{alt:t,autoPlay:n,src:r,onLoad:s,mediaRef:u,muted:c=!0,...d}=e;return r?(0,l.isVideoType)(r)?(0,o.createElement)("video",(0,a.default)({},d,{autoPlay:n,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:c,onLoadedData:s,ref:u,src:r})):(0,o.createElement)("img",(0,a.default)({},d,{alt:t,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:s,ref:u,src:r})):(0,o.createElement)(i.MediaPlaceholder,(0,a.default)({className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",ref:u},d))};var o=n(32847),a=r(n(31304)),i=n(15857),l=n(19617)},15857:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledUnitControl=t.MediaWrapper=t.MediaPlaceholder=t.MediaContainer=t.GridView=t.GridLineY=t.GridLineX=t.GridLine=t.ControlWrapper=void 0;var o=r(n(12272)),a=(n(18591),n(53753)),i=r(n(41001)),l=n(40455),s=n(19617);const u=(0,o.default)("div",{target:"eeew7dm8"})({name:"w0nf6b",styles:"background-color:transparent;text-align:center;width:100%"});t.MediaWrapper=u;const c=(0,o.default)("div",{target:"eeew7dm7"})({name:"megach",styles:"align-items:center;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"});t.MediaContainer=c;const d=(0,o.default)("div",{target:"eeew7dm6"})("background:",l.COLORS.gray[100],";box-sizing:border-box;height:",s.INITIAL_BOUNDS.height,"px;max-width:280px;min-width:",s.INITIAL_BOUNDS.width,"px;width:100%;");t.MediaPlaceholder=d;const f=(0,o.default)(i.default,{target:"eeew7dm5"})({name:"1pzk433",styles:"width:100px"});t.StyledUnitControl=f;var m={name:"1mn7kwb",styles:"padding-bottom:1em"},p={name:"1mn7kwb",styles:"padding-bottom:1em"};const v=(0,o.default)(a.Flex,{target:"eeew7dm4"})("max-width:320px;padding-top:1em;",(e=>{let{hasHelpText:t=!1}=e;return t?p:void 0})," ",(e=>{let{__nextHasNoMarginBottom:t}=e;return t?void 0:m}),";");t.ControlWrapper=v;const h=(0,o.default)("div",{target:"eeew7dm3"})("left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );transition:opacity 120ms linear;z-index:1;opacity:",(e=>{let{showOverlay:t}=e;return t?1:0}),";");t.GridView=h;const g=(0,o.default)("div",{target:"eeew7dm2"})({name:"1d42i6k",styles:"background:white;box-shadow:0 0 2px rgba( 0, 0, 0, 0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 )"});t.GridLine=g;const b=(0,o.default)(g,{target:"eeew7dm1"})({name:"1qp910y",styles:"height:1px;left:0;right:0"});t.GridLineX=b;const y=(0,o.default)(g,{target:"eeew7dm0"})({name:"1oz3zka",styles:"width:1px;top:0;bottom:0"});t.GridLineY=y},2409:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.PointerCircle=void 0;const o=(0,r(n(12272)).default)("div",{target:"e19snlhg0"})("background-color:transparent;cursor:grab;height:48px;margin:-24px 0 0 -24px;position:absolute;user-select:none;width:48px;will-change:transform;z-index:10000;background:rgba( 255, 255, 255, 0.6 );border-radius:50%;backdrop-filter:blur( 4px );box-shadow:rgb( 0 0 0 / 20% ) 0px 0px 10px;",(e=>{let{isDragging:t}=e;return t&&"cursor: grabbing;"}),";");t.PointerCircle=o},19617:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INITIAL_BOUNDS=void 0,t.fractionToPercentage=function(e){return Math.round(100*e)},t.getExtension=r,t.isVideoType=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&(e.startsWith("data:video/")||n.includes(r(e)))},t.INITIAL_BOUNDS={width:200,height:170};const n=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function r(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".");return e[e.length-1]}},71992:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{iframeRef:t,...n}=e;const r=(0,i.useMergeRefs)([t,(0,i.useFocusableIframe)()]);return(0,l.default)("wp.components.FocusableIframe",{since:"5.9",alternative:"wp.compose.useFocusableIframe"}),(0,o.createElement)("iframe",(0,a.default)({ref:r},n))};var o=n(32847),a=r(n(31304)),i=n(89029),l=r(n(6777))},86371:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.T_SHIRT_NAMES=t.T_SHIRT_ABBREVIATIONS=void 0;var r=n(25150);const o=[(0,r.__)("S"),(0,r.__)("M"),(0,r.__)("L"),(0,r.__)("XL"),(0,r.__)("XXL")];t.T_SHIRT_ABBREVIATIONS=o;const a=[(0,r.__)("Small"),(0,r.__)("Medium"),(0,r.__)("Large"),(0,r.__)("Extra Large"),(0,r.__)("Extra Extra Large")];t.T_SHIRT_NAMES=a},30324:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(25150),i=r(n(63366)),l=n(41001),s=n(78340);const u={key:"default",name:(0,a.__)("Default"),value:void 0},c={key:"custom",name:(0,a.__)("Custom")};t.default=e=>{var t;const{fontSizes:n,value:r,disableCustomFontSizes:d,size:f,onChange:m,onSelectCustom:p}=e,v=!!(0,s.getCommonSizeUnit)(n),h=[u,...n.map((e=>{let t;if(v){const[n]=(0,l.parseQuantityAndUnitFromRawValue)(e.size);void 0!==n&&(t=String(n))}else(0,s.isSimpleCssValue)(e.size)&&(t=String(e.size));return{key:e.slug,name:e.name||e.slug,value:e.size,__experimentalHint:t}})),...d?[]:[c]],g=r?null!==(t=h.find((e=>e.value===r)))&&void 0!==t?t:c:u;return(0,o.createElement)(i.default,{__nextUnconstrainedWidth:!0,className:"components-font-size-picker__select",label:(0,a.__)("Font size"),hideLabelFromVision:!0,describedBy:(0,a.sprintf)((0,a.__)("Currently selected font size: %s"),g.name),options:h,value:g,__experimentalShowSelectedHint:!0,onChange:e=>{let{selectedItem:t}=e;t===c?p():m(t.value)},size:f})}},35437:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(25150),a=n(12131),i=n(86371);t.default=e=>{const{fontSizes:t,value:n,__nextHasNoMarginBottom:l,size:s,onChange:u}=e;return(0,r.createElement)(a.ToggleGroupControl,{__nextHasNoMarginBottom:l,label:(0,o.__)("Font size"),hideLabelFromVision:!0,value:n,onChange:u,isBlock:!0,size:s},t.map(((e,t)=>(0,r.createElement)(a.ToggleGroupControlOption,{key:e.slug,value:e.size,label:i.T_SHIRT_ABBREVIATIONS[t],"aria-label":e.name||i.T_SHIRT_NAMES[t],showTooltip:!0}))))}},42805:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FontSizePicker=void 0;var o=n(32847),a=r(n(6777)),i=n(25150),l=n(58446),s=r(n(55932)),u=r(n(96484)),c=n(53753),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(41001)),f=n(42937),m=n(78340),p=n(44384),v=n(13141),h=n(87268),g=r(n(30324)),b=r(n(35437)),y=n(86371);function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}const w=(0,o.forwardRef)(((e,t)=>{var n;const{__nextHasNoMarginBottom:r=!1,fallbackFontSize:_,fontSizes:w=[],disableCustomFontSizes:x=!1,onChange:C,size:E="default",value:O,withSlider:S=!1,withReset:M=!0}=e;r||(0,a.default)("Bottom margin styles for wp.components.FontSizePicker",{since:"6.1",version:"6.4",hint:"Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version."});const P=(0,d.useCustomUnits)({availableUnits:["px","em","rem"]}),k=w.length>5,j=w.find((e=>e.size===O)),T=!!O&&!j,[I,N]=(0,o.useState)(!x&&T),R=(0,o.useMemo)((()=>{if(I)return(0,i.__)("Custom");if(!k)return j?j.name||y.T_SHIRT_NAMES[w.indexOf(j)]:"";const e=(0,m.getCommonSizeUnit)(w);return e?`(${e})`:""}),[I,k,j,w]);if(0===w.length&&x)return null;const L="string"==typeof O||"string"==typeof(null===(n=w[0])||void 0===n?void 0:n.size),[D,V]=(0,d.parseQuantityAndUnitFromRawValue)(O,P),B=!!V&&["em","rem"].includes(V);return(0,o.createElement)(v.Container,{ref:t,className:"components-font-size-picker"},(0,o.createElement)(f.VisuallyHidden,{as:"legend"},(0,i.__)("Font size")),(0,o.createElement)(h.Spacer,null,(0,o.createElement)(p.HStack,{className:"components-font-size-picker__header"},(0,o.createElement)(v.HeaderLabel,{"aria-label":`${(0,i.__)("Size")} ${R||""}`},(0,i.__)("Size"),R&&(0,o.createElement)(v.HeaderHint,{className:"components-font-size-picker__header__hint"},R)),!x&&(0,o.createElement)(s.default,{label:I?(0,i.__)("Use size preset"):(0,i.__)("Set custom size"),icon:l.settings,onClick:()=>{N(!I)},isPressed:I,isSmall:!0}))),(0,o.createElement)(v.Controls,{className:"components-font-size-picker__controls",__nextHasNoMarginBottom:r},!!w.length&&k&&!I&&(0,o.createElement)(g.default,{fontSizes:w,value:O,disableCustomFontSizes:x,size:E,onChange:e=>{void 0===e?null==C||C(void 0):null==C||C(L?e:Number(e),w.find((t=>t.size===e)))},onSelectCustom:()=>N(!0)}),!k&&!I&&(0,o.createElement)(b.default,{fontSizes:w,value:O,__nextHasNoMarginBottom:r,size:E,onChange:e=>{void 0===e?null==C||C(void 0):null==C||C(L?e:Number(e),w.find((t=>t.size===e)))}}),!x&&I&&(0,o.createElement)(c.Flex,{className:"components-font-size-picker__custom-size-control"},(0,o.createElement)(c.FlexItem,{isBlock:!0},(0,o.createElement)(d.default,{label:(0,i.__)("Custom"),labelPosition:"top",hideLabelFromVision:!0,value:O,onChange:e=>{void 0===e?null==C||C(void 0):null==C||C(L?e:parseInt(e,10))},size:E,units:L?P:[],min:0})),S&&(0,o.createElement)(c.FlexItem,{isBlock:!0},(0,o.createElement)(h.Spacer,{marginX:2,marginBottom:0},(0,o.createElement)(u.default,{__nextHasNoMarginBottom:r,className:"components-font-size-picker__custom-input",label:(0,i.__)("Custom Size"),hideLabelFromVision:!0,value:D,initialPosition:_,withInputField:!1,onChange:e=>{void 0===e?null==C||C(void 0):L?null==C||C(e+(null!=V?V:"px")):null==C||C(e)},min:0,max:B?10:100,step:B?.1:1}))),M&&(0,o.createElement)(c.FlexItem,null,(0,o.createElement)(v.ResetButton,{disabled:void 0===O,onClick:()=>{null==C||C(void 0)},isSmall:!0,variant:"secondary",size:E},(0,i.__)("Reset"))))))}));t.FontSizePicker=w;var x=w;t.default=x},13141:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ResetButton=t.HeaderLabel=t.HeaderHint=t.Controls=t.Container=void 0;var o=r(n(12272)),a=r(n(75339)),i=r(n(55932)),l=n(36877),s=n(40455);const u=(0,o.default)("fieldset",{target:"e8tqeku4"})({name:"1t1ytme",styles:"border:0;margin:0;padding:0"});t.Container=u;const c=(0,o.default)(a.default.VisualLabel,{target:"e8tqeku3"})("display:flex;gap:",(0,l.space)(1),";justify-content:flex-start;margin-bottom:0;");t.HeaderLabel=c;const d=(0,o.default)("span",{target:"e8tqeku2"})("color:",s.COLORS.gray[700],";");t.HeaderHint=d;const f=(0,o.default)("div",{target:"e8tqeku1"})((e=>!e.__nextHasNoMarginBottom&&`margin-bottom: ${(0,l.space)(6)};`),";");t.Controls=f;const m=(0,o.default)(i.default,{target:"e8tqeku0"})("&&&{height:",(e=>"__unstable-large"===e.size?"40px":"30px"),";}");t.ResetButton=m},78340:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCommonSizeUnit=function(e){const[t,...n]=e;if(!t)return null;const[,o]=(0,r.parseQuantityAndUnitFromRawValue)(t.size);return n.every((e=>{const[,t]=(0,r.parseQuantityAndUnitFromRawValue)(e.size);return t===o}))?o:null},t.isSimpleCssValue=function(e){return/^[\d\.]+(px|em|rem|vw|vh|%)?$/i.test(String(e))};var r=n(41001)},17611:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.FormFileUpload=l,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(55932));function l(e){let{accept:t,children:n,multiple:r=!1,onChange:l,onClick:s,render:u,...c}=e;const d=(0,o.useRef)(null),f=()=>{var e;null===(e=d.current)||void 0===e||e.click()},m=u?u({openFileDialog:f}):(0,o.createElement)(i.default,(0,a.default)({onClick:f},c),n);return(0,o.createElement)("div",{className:"components-form-file-upload"},m,(0,o.createElement)("input",{type:"file",ref:d,multiple:r,style:{display:"none"},accept:t,onChange:l,onClick:s,"data-testid":"form-file-upload-input"}))}var s=l;t.default=s},7434:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.FormToggle=s,t.noop=t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372));const l=()=>{};function s(e){const{className:t,checked:n,id:r,disabled:s,onChange:u=l,...c}=e,d=(0,i.default)("components-form-toggle",t,{"is-checked":n,"is-disabled":s});return(0,o.createElement)("span",{className:d},(0,o.createElement)("input",(0,a.default)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:u,disabled:s},c)),(0,o.createElement)("span",{className:"components-form-toggle__track"}),(0,o.createElement)("span",{className:"components-form-toggle__thumb"}))}t.noop=l;var u=s;t.default=u},77985:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.FormTokenField=b,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(89029),u=n(38384),c=r(n(38187)),d=r(n(25023)),f=r(n(95143)),m=n(24811),p=r(n(48236)),v=n(53753),h=n(30686);const g=e=>e;function b(e){const{autoCapitalize:t,autoComplete:n,maxLength:r,placeholder:y,label:_=(0,l.__)("Add item"),className:w,suggestions:x=[],maxSuggestions:C=100,value:E=[],displayTransform:O=g,saveTransform:S=(e=>e.trim()),onChange:M=(()=>{}),onInputChange:P=(()=>{}),onFocus:k,isBorderless:j=!1,disabled:T=!1,tokenizeOnSpace:I=!1,messages:N={added:(0,l.__)("Item added."),removed:(0,l.__)("Item removed."),remove:(0,l.__)("Remove item"),__experimentalInvalid:(0,l.__)("Invalid item")},__experimentalRenderItem:R,__experimentalExpandOnFocus:L=!1,__experimentalValidateInput:D=(()=>!0),__experimentalShowHowTo:V=!0,__next36pxDefaultSize:B=!1,__experimentalAutoSelectFirstMatch:A=!1}=e,z=(0,s.useInstanceId)(b),[H,F]=(0,o.useState)(""),[W,Z]=(0,o.useState)(0),[$,U]=(0,o.useState)(!1),[G,Y]=(0,o.useState)(!1),[q,K]=(0,o.useState)(-1),[X,Q]=(0,o.useState)(!1),J=(0,s.usePrevious)(x),ee=(0,s.usePrevious)(E),te=(0,o.useRef)(null),ne=(0,o.useRef)(null),re=(0,s.useDebounce)(u.speak,500);function oe(){var e;null===(e=te.current)||void 0===e||e.focus()}function ae(){var e;return te.current===(null===(e=te.current)||void 0===e?void 0:e.ownerDocument.activeElement)}function ie(){we()?U(!1):(F(""),Z(0),U(!1),Y(!1),K(-1),Q(!1))}function le(e){e.target===ne.current&&$&&e.preventDefault()}function se(e){he(e.value),oe()}function ue(e){const t=e.value,n=I?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=r[r.length-1]||"";r.length>1&&pe(r.slice(0,-1)),F(o),P(o)}function ce(e){let t=!1;return ae()&&_e()&&(e(),t=!0),t}function de(){const e=ye()-1;e>-1&&he(E[e])}function fe(){const e=ye();e<E.length&&(he(E[e]),function(e){Z(E.length-Math.max(e,-1)-1)}(e))}function me(){let e=!1;const t=function(){if(-1!==q)return be()[q]}();return t?(ve(t),e=!0):we()&&(ve(H),e=!0),e}function pe(e){const t=[...new Set(e.map(S).filter(Boolean).filter((e=>!function(e){return E.some((t=>ge(e)===ge(t)))}(e))))];if(t.length>0){const e=[...E];e.splice(ye(),0,...t),M(e)}}function ve(e){D(e)?(pe([e]),(0,u.speak)(N.added,"assertive"),F(""),K(-1),Q(!1),Y(!L),$&&oe()):(0,u.speak)(N.__experimentalInvalid,"assertive")}function he(e){const t=E.filter((t=>ge(t)!==ge(e)));M(t),(0,u.speak)(N.removed,"assertive")}function ge(e){return"object"==typeof e?e.value:e}function be(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:S)(arguments.length>0&&void 0!==arguments[0]?arguments[0]:H);const o=[],a=[],i=t.map((e=>"string"==typeof e?e:e.value));return 0===r.length?e=e.filter((e=>!i.includes(e))):(r=r.toLocaleLowerCase(),e.forEach((e=>{const t=e.toLocaleLowerCase().indexOf(r);-1===i.indexOf(e)&&(0===t?o.push(e):t>0&&a.push(e))})),e=o.concat(a)),e.slice(0,n)}function ye(){return E.length-W}function _e(){return 0===H.length}function we(){return S(H).length>0}function xe(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=H.trim().length>1,n=be(H),r=n.length>0,o=ae()&&L;if(Y(o||t&&r),e&&(A&&t&&r?(K(0),Q(!0)):(K(-1),Q(!1))),t){const e=r?(0,l.sprintf)((0,l._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",n.length),n.length):(0,l.__)("No results.");re(e,"assertive")}}function Ce(e,t,n){const r=ge(e),a="string"!=typeof e?e.status:void 0,i=t+1,l=n.length;return(0,o.createElement)(v.FlexItem,{key:"token-"+r},(0,o.createElement)(d.default,{value:r,status:a,title:"string"!=typeof e?e.title:void 0,displayTransform:O,onClickRemove:se,isBorderless:"string"!=typeof e&&e.isBorderless||j,onMouseEnter:"string"!=typeof e?e.onMouseEnter:void 0,onMouseLeave:"string"!=typeof e?e.onMouseLeave:void 0,disabled:"error"!==a&&T,messages:N,termsCount:l,termPosition:i}))}(0,o.useEffect)((()=>{$&&!ae()&&oe()}),[$]),(0,o.useEffect)((()=>{const e=!(0,c.default)(x,J||[]);(e||E!==ee)&&xe(e)}),[x,J,E,ee]),(0,o.useEffect)((()=>{xe()}),[H]),(0,o.useEffect)((()=>{xe()}),[A]),T&&$&&(U(!1),F(""));const Ee=(0,i.default)(w,"components-form-token-field__input-container",{"is-active":$,"is-disabled":T});let Oe={className:"components-form-token-field",tabIndex:-1};const Se=be();return T||(Oe=Object.assign({},Oe,{onKeyDown:function(e){let t=!1;if(!e.defaultPrevented&&!e.nativeEvent.isComposing&&229!==e.keyCode){switch(e.key){case"Backspace":t=ce(de);break;case"Enter":t=me();break;case"ArrowLeft":t=function(){let e=!1;return _e()&&(Z((e=>Math.min(e+1,E.length))),e=!0),e}();break;case"ArrowUp":K((e=>(0===e?be(H,x,E,C,S).length:e)-1)),Q(!0),t=!0;break;case"ArrowRight":t=function(){let e=!1;return _e()&&(Z((e=>Math.max(e-1,0))),e=!0),e}();break;case"ArrowDown":K((e=>(e+1)%be(H,x,E,C,S).length)),Q(!0),t=!0;break;case"Delete":t=ce(fe);break;case"Space":I&&(t=me());break;case"Escape":t=function(e){return e.target instanceof HTMLInputElement&&(F(e.target.value),Y(!1),K(-1),Q(!1)),!0}(e)}t&&e.preventDefault()}},onKeyPress:function(e){let t=!1;","===e.key&&(we()&&ve(H),t=!0),t&&e.preventDefault()},onFocus:function(e){ae()||e.target===ne.current?(U(!0),Y(L||G)):U(!1),"function"==typeof k&&k(e)}})),(0,o.createElement)("div",Oe,(0,o.createElement)(h.StyledLabel,{htmlFor:`components-form-token-input-${z}`,className:"components-form-token-field__label"},_),(0,o.createElement)("div",{ref:ne,className:Ee,tabIndex:-1,onMouseDown:le,onTouchStart:le},(0,o.createElement)(m.TokensAndInputWrapperFlex,{justify:"flex-start",align:"center",gap:1,wrap:!0,__next36pxDefaultSize:B,hasTokens:!!E.length},function(){const e=E.map(Ce);return e.splice(ye(),0,function(){const e={instanceId:z,autoCapitalize:t,autoComplete:n,placeholder:0===E.length?y:"",key:"input",disabled:T,value:H,onBlur:ie,isExpanded:G,selectedSuggestionIndex:q};return(0,o.createElement)(f.default,(0,a.default)({},e,{onChange:r&&E.length>=r?void 0:ue,ref:te}))}()),e}()),G&&(0,o.createElement)(p.default,{instanceId:z,match:S(H),displayTransform:O,suggestions:Se,selectedIndex:q,scrollIntoView:X,onHover:function(e){const t=be().indexOf(e);t>=0&&(K(t),Q(!1))},onSelect:function(e){ve(e)},__experimentalRenderItem:R})),V&&(0,o.createElement)("p",{id:`components-form-token-suggestions-howto-${z}`,className:"components-form-token-field__help"},I?(0,l.__)("Separate with commas, spaces, or the Enter key."):(0,l.__)("Separate with commas or the Enter key.")))}var y=b;t.default=y},24811:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TokensAndInputWrapperFlex=void 0;var o=r(n(12272)),a=n(18591),i=n(53753),l=n(36877);const s=(0,o.default)(i.Flex,{target:"ehq8nmi0"})("padding:5px ",(0,l.space)(1),";",(e=>{let{__next36pxDefaultSize:t,hasTokens:n}=e;return!t&&(0,a.css)("padding-top:",(0,l.space)(n?1:.5),";padding-bottom:",(0,l.space)(n?1:.5),";","")}),";");t.TokensAndInputWrapperFlex=s},48236:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestionsList=u,t.default=void 0;var o=n(32847),a=r(n(63162)),i=r(n(26372)),l=n(89029);const s=e=>{e.preventDefault()};function u(e){let{selectedIndex:t,scrollIntoView:n,match:r,onHover:u,onSelect:c,suggestions:d=[],displayTransform:f,instanceId:m,__experimentalRenderItem:p}=e;const[v,h]=(0,o.useState)(!1),g=(0,l.useRefEffect)((e=>{let r;return t>-1&&n&&e.children[t]&&(h(!0),(0,a.default)(e.children[t],e,{onlyScrollIfNeeded:!0}),r=requestAnimationFrame((()=>{h(!1)}))),()=>{void 0!==r&&cancelAnimationFrame(r)}}),[t,n]),b=e=>()=>{v||null==u||u(e)},y=e=>()=>{null==c||c(e)};return(0,o.createElement)("ul",{ref:g,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${m}`,role:"listbox"},d.map(((e,n)=>{const a=(e=>{const t=f(r).toLocaleLowerCase();if(0===t.length)return null;const n=f(e),o=n.toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:n.substring(0,o),suggestionMatch:n.substring(o,o+t.length),suggestionAfterMatch:n.substring(o+t.length)}})(e),l=(0,i.default)("components-form-token-field__suggestion",{"is-selected":n===t});let u;return u="function"==typeof p?p({item:e}):a?(0,o.createElement)("span",{"aria-label":f(e)},a.suggestionBeforeMatch,(0,o.createElement)("strong",{className:"components-form-token-field__suggestion-match"},a.suggestionMatch),a.suggestionAfterMatch):f(e),(0,o.createElement)("li",{id:`components-form-token-suggestions-${m}-${n}`,role:"option",className:l,key:"object"==typeof e&&"value"in e?null==e?void 0:e.value:f(e),onMouseDown:s,onClick:y(e),onMouseEnter:b(e),"aria-selected":n===t},u)})))}var c=u;t.default=c},95143:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TokenInput=void 0,t.UnForwardedTokenInput=l,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372));function l(e,t){const{value:n,isExpanded:r,instanceId:l,selectedSuggestionIndex:s,className:u,onChange:c,onFocus:d,onBlur:f,...m}=e,[p,v]=(0,o.useState)(!1),h=n?n.length+1:0;return(0,o.createElement)("input",(0,a.default)({ref:t,id:`components-form-token-input-${l}`,type:"text"},m,{value:n||"",onChange:e=>{c&&c({value:e.target.value})},onFocus:e=>{v(!0),null==d||d(e)},onBlur:e=>{v(!1),null==f||f(e)},size:h,className:(0,i.default)(u,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":r,"aria-autocomplete":"list","aria-owns":r?`components-form-token-suggestions-${l}`:void 0,"aria-activedescendant":p&&-1!==s&&r?`components-form-token-suggestions-${l}-${s}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${l}`}))}const s=(0,o.forwardRef)(l);t.TokenInput=s;var u=s;t.default=u},25023:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let{value:n,status:r,title:f,displayTransform:m,isBorderless:p=!1,disabled:v=!1,onClickRemove:h=d,onMouseEnter:g,onMouseLeave:b,messages:y,termPosition:_,termsCount:w}=t;const x=(0,i.useInstanceId)(e),C=(0,a.default)("components-form-token-field__token",{"is-error":"error"===r,"is-success":"success"===r,"is-validating":"validating"===r,"is-borderless":p,"is-disabled":v}),E=m(n),O=(0,l.sprintf)((0,l.__)("%1$s (%2$s of %3$s)"),E,_,w);return(0,o.createElement)("span",{className:C,onMouseEnter:g,onMouseLeave:b,title:f},(0,o.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${x}`},(0,o.createElement)(c.VisuallyHidden,{as:"span"},O),(0,o.createElement)("span",{"aria-hidden":"true"},E)),(0,o.createElement)(u.default,{className:"components-form-token-field__remove-token",icon:s.closeSmall,onClick:v?void 0:()=>h({value:n}),label:y.remove,"aria-describedby":`components-form-token-field__token-text-${x}`}))};var o=n(32847),a=r(n(26372)),i=n(89029),l=n(25150),s=n(58446),u=r(n(55932)),c=n(42937);const d=()=>{}},51268:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{__nextHasNoMargin:t=!1,className:n,gradients:r,onChange:d,value:h,clearable:g=!0,disableCustomGradients:b=!1,__experimentalIsRenderedInSidebar:y,headingLevel:_=2}=e;const w=(0,o.useCallback)((()=>d(void 0)),[d]),x=m(r)?v:p;t||(0,l.default)("Outer margin styles for wp.components.GradientPicker",{since:"6.1",version:"6.4",hint:"Set the `__nextHasNoMargin` prop to true to start opting into the new styles, which will become the default in a future version"});const C=t?{}:{marginTop:null!=r&&r.length?void 0:3,marginBottom:g?0:6};return(0,o.createElement)(f.Spacer,(0,a.default)({marginBottom:0},C),(0,o.createElement)(c.VStack,{spacing:null!=r&&r.length?4:0},!b&&(0,o.createElement)(u.default,{__nextHasNoMargin:!0,__experimentalIsRenderedInSidebar:y,value:h,onChange:d}),((null==r?void 0:r.length)||g)&&(0,o.createElement)(x,{className:n,clearable:g,clearGradient:w,gradients:r,onChange:d,value:h,actions:g&&!b&&(0,o.createElement)(s.default.ButtonAction,{onClick:w},(0,i.__)("Clear")),headingLevel:_})))};var o=n(32847),a=r(n(31304)),i=n(25150),l=r(n(6777)),s=r(n(32137)),u=r(n(26410)),c=n(74618),d=n(3245),f=n(87268);const m=e=>e.length>0&&e.every((e=>{return t=e,Array.isArray(t.gradients)&&!("gradient"in t);var t}));function p(e){let{className:t,clearGradient:n,gradients:r,onChange:a,value:l,actions:u}=e;const c=(0,o.useMemo)((()=>r.map(((e,t)=>{let{gradient:r,name:u}=e;return(0,o.createElement)(s.default.Option,{key:r,value:r,isSelected:l===r,tooltipText:u||(0,i.sprintf)((0,i.__)("Gradient code: %s"),r),style:{color:"rgba( 0,0,0,0 )",background:r},onClick:l===r?n:()=>a(r,t),"aria-label":u?(0,i.sprintf)((0,i.__)("Gradient: %s"),u):(0,i.sprintf)((0,i.__)("Gradient code: %s"),r)})}))),[r,l,a,n]);return(0,o.createElement)(s.default,{className:t,options:c,actions:u})}function v(e){let{className:t,clearGradient:n,gradients:r,onChange:i,value:l,actions:s,headingLevel:u}=e;return(0,o.createElement)(c.VStack,{spacing:3,className:t},r.map(((e,t)=>{let{name:f,gradients:m}=e;return(0,o.createElement)(c.VStack,{spacing:2,key:t},(0,o.createElement)(d.ColorHeading,{level:u},f),(0,o.createElement)(p,(0,a.default)({clearGradient:n,gradients:m,onChange:e=>i(e,t),value:l},r.length===t+1?{actions:s}:{})))})))}},85486:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Grid=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=r(n(37688));const u=(0,i.contextConnect)((function(e,t){const n=(0,s.default)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Grid");t.Grid=u;var c=u;t.default=c},37688:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{align:t,alignment:n,className:r,columnGap:d,columns:f=2,gap:m=3,isInline:p=!1,justify:v,rowGap:h,rows:g,templateColumns:b,templateRows:y,..._}=(0,i.useContextSystem)(e,"Grid"),w=Array.isArray(f)?f:[f],x=(0,s.useResponsiveValue)(w),C=Array.isArray(g)?g:[g],E=(0,s.useResponsiveValue)(C),O=b||!!f&&`repeat( ${x}, 1fr )`,S=y||!!g&&`repeat( ${E}, 1fr )`,M=(0,c.useCx)();return{..._,className:(0,a.useMemo)((()=>{const e=(0,l.getAlignmentProps)(n),a=(0,o.css)({alignItems:t,display:p?"inline-grid":"grid",gap:`calc( ${u.default.gridBase} * ${m} )`,gridTemplateColumns:O||void 0,gridTemplateRows:S||void 0,gridRowGap:h,gridColumnGap:d,justifyContent:v,verticalAlign:p?"middle":void 0,...e},"","");return M(a,r)}),[t,n,r,d,M,m,O,S,p,v,h])}};var o=n(18591),a=n(32847),i=n(98138),l=n(91265),s=n(52563),u=r(n(50081)),c=n(7769)},29982:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useGrid",{enumerable:!0,get:function(){return a.default}});var o=r(n(85486)),a=r(n(37688))},91265:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAlignmentProps=function(e){return e?n[e]:{}};const n={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"}}},41559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageControlIcon=void 0;var r=n(32847),o=n(62682);t.PageControlIcon=e=>{let{isSelected:t}=e;return(0,r.createElement)(o.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Circle,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))}},21158:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t,className:n,contentLabel:r,finishButtonText:f,onFinish:m,pages:p=[]}=e;const v=(0,o.useRef)(),[h,g]=(0,o.useState)(0);(0,o.useEffect)((()=>{o.Children.count(t)&&(0,i.default)("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})}),[t]),(0,o.useEffect)((()=>{var e,t;v.current&&(null===(e=s.focus.tabbable.find(v.current))||void 0===e||null===(t=e[0])||void 0===t||t.focus())}),[h]),o.Children.count(t)&&(p=o.Children.map(t,(e=>({content:e}))));const b=h>0,y=h<p.length-1,_=()=>{b&&g(h-1)},w=()=>{y&&g(h+1)};return 0===p.length?null:(0,o.createElement)(u.default,{className:(0,a.default)("components-guide",n),contentLabel:r,onRequestClose:m,onKeyDown:e=>{"ArrowLeft"===e.code?(_(),e.preventDefault()):"ArrowRight"===e.code&&(w(),e.preventDefault())},ref:v},(0,o.createElement)("div",{className:"components-guide__container"},(0,o.createElement)("div",{className:"components-guide__page"},p[h].image,p.length>1&&(0,o.createElement)(d.default,{currentPage:h,numberOfPages:p.length,setCurrentPage:g}),p[h].content),(0,o.createElement)("div",{className:"components-guide__footer"},b&&(0,o.createElement)(c.default,{className:"components-guide__back-button",onClick:_},(0,l.__)("Previous")),y&&(0,o.createElement)(c.default,{className:"components-guide__forward-button",onClick:w},(0,l.__)("Next")),!y&&(0,o.createElement)(c.default,{className:"components-guide__finish-button",onClick:m},f||(0,l.__)("Finish")))))};var o=n(32847),a=r(n(26372)),i=r(n(6777)),l=n(25150),s=n(59201),u=r(n(4689)),c=r(n(55932)),d=r(n(14723))},14723:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{currentPage:t,numberOfPages:n,setCurrentPage:r}=e;return(0,o.createElement)("ul",{className:"components-guide__page-control","aria-label":(0,a.__)("Guide controls")},Array.from({length:n}).map(((e,s)=>(0,o.createElement)("li",{key:s,"aria-current":s===t?"step":void 0},(0,o.createElement)(i.default,{key:s,icon:(0,o.createElement)(l.PageControlIcon,{isSelected:s===t}),"aria-label":(0,a.sprintf)((0,a.__)("Page %1$d of %2$d"),s+1,n),onClick:()=>r(s)})))))};var o=n(32847),a=n(25150),i=r(n(55932)),l=n(41559)},27786:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.useEffect)((()=>{(0,a.default)("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})}),[]),(0,o.createElement)("div",e)};var o=n(32847),a=r(n(6777))},82321:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HStack=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(50094);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useHStack)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"HStack");t.HStack=u;var c=u;t.default=c},50094:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useHStack=function(e){const{alignment:t="edge",children:n,direction:r,spacing:c=2,...d}=(0,i.useContextSystem)(e,"HStack"),f=(0,s.getAlignmentProps)(t,r),m={children:(0,u.getValidChildren)(n).map(((e,t)=>{if((0,i.hasConnectNamespace)(e,["Spacer"])){const n=e,r=n.key||`hstack-${t}`;return(0,o.createElement)(l.FlexItem,(0,a.default)({isBlock:!0,key:r},n.props))}return e})),direction:r,justify:"center",...f,...d,gap:c};return(0,l.useFlex)(m)};var o=n(32847),a=r(n(31304)),i=n(98138),l=n(53753),s=n(23893),u=n(9238)},44384:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HStack",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useHStack",{enumerable:!0,get:function(){return a.useHStack}});var o=r(n(82321)),a=n(50094)},23893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAlignmentProps=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if(!(0,r.isValueDefined)(e))return{};const n="column"===t?a:o;return e in n?n[e]:{align:e}};var r=n(39984);const o={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},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"}},a={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},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:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}}},7114:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Heading=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(72790);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useHeading)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Heading");t.Heading=u;var c=u;t.default=c},72790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHeading=function(e){const{as:t,level:n=2,...l}=(0,r.useContextSystem)(e,"Heading"),s=t||`h${n}`,u={};return"string"==typeof s&&"h"!==s[0]&&(u.role="heading",u["aria-level"]="string"==typeof n?parseInt(n):n),{...(0,o.useText)({color:i.COLORS.gray[900],size:(0,a.getHeadingFontSize)(n),isBlock:!0,weight:i.CONFIG.fontWeightHeading,...l}),...u,as:s}};var r=n(98138),o=n(53314),a=n(31207),i=n(40455)},44754:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useHeading",{enumerable:!0,get:function(){return a.useHeading}});var o=r(n(7114)),a=n(72790)},39343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useNavigateRegions=l;var r=n(32847),o=n(89029),a=n(76258);const i={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"ctrlShift",character:"~"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const t=(0,r.useRef)(),[n,l]=(0,r.useState)(!1);function s(e){const n=Array.from(t.current.querySelectorAll('[role="region"][tabindex="-1"]'));if(!n.length)return;let r=n[0];const o=n.indexOf(t.current.ownerDocument.activeElement.closest('[role="region"][tabindex="-1"]'));if(-1!==o){let t=o+e;t=-1===t?n.length-1:t,t=t===n.length?0:t,r=n[t]}r.focus(),l(!0)}const u=(0,o.useRefEffect)((e=>{function t(){l(!1)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[l]);return{ref:(0,o.useMergeRefs)([t,u]),className:n?"is-focusing-regions":"",onKeyDown(t){e.previous.some((e=>{let{modifier:n,character:r}=e;return a.isKeyboardEvent[n](t,r)}))?s(-1):e.next.some((e=>{let{modifier:n,character:r}=e;return a.isKeyboardEvent[n](t,r)}))&&s(1)}}}var s=(0,o.createHigherOrderComponent)((e=>t=>{let{shortcuts:n,...o}=t;return(0,r.createElement)("div",l(n),(0,r.createElement)(e,o))}),"navigateRegions");t.default=s},79977:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(89029),a=(0,o.createHigherOrderComponent)((e=>function(t){const n=(0,o.useConstrainedTabbing)();return(0,r.createElement)("div",{ref:n,tabIndex:-1},(0,r.createElement)(e,t))}),"withConstrainedTabbing");t.default=a},84105:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(55701)),l=n(89029);t.default=e=>(0,l.createHigherOrderComponent)((t=>class extends o.Component{constructor(){super(...arguments),this.nodeRef=this.props.node,this.state={fallbackStyles:void 0,grabStylesCompleted:!1},this.bindRef=this.bindRef.bind(this)}bindRef(e){e&&(this.nodeRef=e)}componentDidMount(){this.grabFallbackStyles()}componentDidUpdate(){this.grabFallbackStyles()}grabFallbackStyles(){const{grabStylesCompleted:t,fallbackStyles:n}=this.state;if(this.nodeRef&&!t){const t=e(this.nodeRef,this.props);(0,i.default)(t,n)||this.setState({fallbackStyles:t,grabStylesCompleted:Object.values(t).every(Boolean)})}}render(){const e=(0,o.createElement)(t,(0,a.default)({},this.props,this.state.fallbackStyles));return this.props.node?e:(0,o.createElement)("div",{ref:this.bindRef}," ",e," ")}}),"withFallbackStyles")},38185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.createHigherOrderComponent)((t=>{const n="core/with-filters/"+e;let l;class s extends r.Component{constructor(){super(...arguments),void 0===l&&(l=(0,o.applyFilters)(e,t))}componentDidMount(){s.instances.push(this),1===s.instances.length&&((0,o.addAction)("hookRemoved",n,c),(0,o.addAction)("hookAdded",n,c))}componentWillUnmount(){s.instances=s.instances.filter((e=>e!==this)),0===s.instances.length&&((0,o.removeAction)("hookRemoved",n),(0,o.removeAction)("hookAdded",n))}render(){return(0,r.createElement)(l,this.props)}}s.instances=[];const u=(0,a.debounce)((()=>{l=(0,o.applyFilters)(e,t),s.instances.forEach((e=>{e.forceUpdate()}))}),i);function c(t){t===e&&u()}return s}),"withFilters")};var r=n(32847),o=n(70205),a=n(89029);const i=16},64063:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=(0,i.createHigherOrderComponent)((e=>t=>{const[n,r]=(0,o.useState)(),l=(0,o.useCallback)((e=>r((()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0))),[]);return(0,o.createElement)("div",(0,i.__experimentalUseFocusOutside)(n),(0,o.createElement)(e,(0,a.default)({ref:l},t)))}),"withFocusOutside");t.default=l},71221:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Provider=void 0;var o=n(32847),a=n(89029),i=r(n(6777)),l=(0,a.createHigherOrderComponent)((e=>{const t=function(){let{onFocusReturn:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>n=>{const r=(0,a.useFocusReturn)(e);return(0,o.createElement)("div",{ref:r},(0,o.createElement)(t,n))}};if((n=e)instanceof o.Component||"function"==typeof n){const n=e;return t()(n)}var n;return t(e)}),"withFocusReturn");t.default=l,t.Provider=e=>{let{children:t}=e;return(0,i.default)("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),t}},6829:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(41451),l=n(89029),s=r(n(27121)),u=(0,l.createHigherOrderComponent)((e=>{function t(t,r){const[l,u]=(0,o.useState)([]),c=(0,o.useMemo)((()=>{const e=e=>{const t=e.id?e:{...e,id:(0,i.v4)()};u((e=>[...e,t]))};return{createNotice:e,createErrorNotice:t=>{e({status:"error",content:t})},removeNotice:e=>{u((t=>t.filter((t=>t.id!==e))))},removeAllNotices:()=>{u([])}}}),[]),d={...t,noticeList:l,noticeOperations:c,noticeUI:l.length>0&&(0,o.createElement)(s.default,{className:"components-with-notices-ui",notices:l,onRemove:c.removeNotice})};return n?(0,o.createElement)(e,(0,a.default)({},d,{ref:r})):(0,o.createElement)(e,d)}let n;const{render:r}=e;return"function"==typeof r?(n=!0,(0,o.forwardRef)(t)):t}));t.default=u},80005:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=n(38384),s=(0,i.createHigherOrderComponent)((e=>t=>(0,o.createElement)(e,(0,a.default)({},t,{speak:l.speak,debouncedSpeak:(0,i.useDebounce)(l.speak,500)}))),"withSpokenMessages");t.default=s},72818:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(31304)),a=n(32847),i=n(62682),l=r(n(46862));t.default=function(e){let{icon:t=null,size:n=("string"==typeof t?20:24),...r}=e;if("string"==typeof t)return(0,a.createElement)(l.default,(0,o.default)({icon:t,size:n},r));if((0,a.isValidElement)(t)&&l.default===t.type)return(0,a.cloneElement)(t,{...r});if("function"==typeof t)return t.prototype instanceof a.Component?(0,a.createElement)(t,{size:n,...r}):t({size:n,...r});if(t&&("svg"===t.type||t.type===i.SVG)){const e={...t.props,width:n,height:n,...r};return(0,a.createElement)(i.SVG,e)}return(0,a.isValidElement)(t)?(0,a.cloneElement)(t,{size:n,...r}):t}},33995:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnglePickerControl",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Animate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Autocomplete",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"BaseControl",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"BlockQuotation",{enumerable:!0,get:function(){return o.BlockQuotation}}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"ButtonGroup",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return h.Card}}),Object.defineProperty(t,"CardBody",{enumerable:!0,get:function(){return h.CardBody}}),Object.defineProperty(t,"CardDivider",{enumerable:!0,get:function(){return h.CardDivider}}),Object.defineProperty(t,"CardFooter",{enumerable:!0,get:function(){return h.CardFooter}}),Object.defineProperty(t,"CardHeader",{enumerable:!0,get:function(){return h.CardHeader}}),Object.defineProperty(t,"CardMedia",{enumerable:!0,get:function(){return h.CardMedia}}),Object.defineProperty(t,"CheckboxControl",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return o.Circle}}),Object.defineProperty(t,"ClipboardButton",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"ColorIndicator",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"ColorPalette",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"ColorPicker",{enumerable:!0,get:function(){return x.ColorPicker}}),Object.defineProperty(t,"ComboboxControl",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"CustomGradientPicker",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"CustomSelectControl",{enumerable:!0,get:function(){return S.StableCustomSelectControl}}),Object.defineProperty(t,"Dashicon",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function(){return P.DatePicker}}),Object.defineProperty(t,"DateTimePicker",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"Disabled",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"DropZone",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"DropZoneProvider",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"DropdownMenu",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"DuotonePicker",{enumerable:!0,get:function(){return A.DuotonePicker}}),Object.defineProperty(t,"DuotoneSwatch",{enumerable:!0,get:function(){return A.DuotoneSwatch}}),Object.defineProperty(t,"ExternalLink",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"Fill",{enumerable:!0,get:function(){return dt.Fill}}),Object.defineProperty(t,"Flex",{enumerable:!0,get:function(){return F.Flex}}),Object.defineProperty(t,"FlexBlock",{enumerable:!0,get:function(){return F.FlexBlock}}),Object.defineProperty(t,"FlexItem",{enumerable:!0,get:function(){return F.FlexItem}}),Object.defineProperty(t,"FocalPointPicker",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"FocusReturnProvider",{enumerable:!0,get:function(){return yt.Provider}}),Object.defineProperty(t,"FocusableIframe",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"FontSizePicker",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"FormFileUpload",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"FormToggle",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"FormTokenField",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"G",{enumerable:!0,get:function(){return o.G}}),Object.defineProperty(t,"GradientPicker",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"Guide",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"GuidePage",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"HorizontalRule",{enumerable:!0,get:function(){return o.HorizontalRule}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"IsolatedEventContainer",{enumerable:!0,get:function(){return ct.default}}),Object.defineProperty(t,"KeyboardShortcuts",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return o.Line}}),Object.defineProperty(t,"MenuGroup",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"MenuItemsChoice",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"NavigableMenu",{enumerable:!0,get:function(){return pe.NavigableMenu}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(t,"NoticeList",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(t,"Panel",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(t,"PanelBody",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(t,"PanelHeader",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(t,"PanelRow",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return o.Path}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return o.Polygon}}),Object.defineProperty(t,"Popover",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(t,"QueryControls",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(t,"RadioControl",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(t,"RangeControl",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(t,"Rect",{enumerable:!0,get:function(){return o.Rect}}),Object.defineProperty(t,"ResizableBox",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(t,"ResponsiveWrapper",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(t,"SVG",{enumerable:!0,get:function(){return o.SVG}}),Object.defineProperty(t,"SandBox",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(t,"ScrollLock",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"SearchControl",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(t,"SelectControl",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(t,"Slot",{enumerable:!0,get:function(){return dt.Slot}}),Object.defineProperty(t,"SlotFillProvider",{enumerable:!0,get:function(){return dt.Provider}}),Object.defineProperty(t,"Snackbar",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(t,"SnackbarList",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return Ze.default}}),Object.defineProperty(t,"TabPanel",{enumerable:!0,get:function(){return Ue.default}}),Object.defineProperty(t,"TabbableContainer",{enumerable:!0,get:function(){return pe.TabbableContainer}}),Object.defineProperty(t,"TextControl",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(t,"TextHighlight",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(t,"TextareaControl",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function(){return P.TimePicker}}),Object.defineProperty(t,"Tip",{enumerable:!0,get:function(){return Xe.default}}),Object.defineProperty(t,"ToggleControl",{enumerable:!0,get:function(){return Qe.default}}),Object.defineProperty(t,"Toolbar",{enumerable:!0,get:function(){return et.Toolbar}}),Object.defineProperty(t,"ToolbarButton",{enumerable:!0,get:function(){return et.ToolbarButton}}),Object.defineProperty(t,"ToolbarDropdownMenu",{enumerable:!0,get:function(){return et.ToolbarDropdownMenu}}),Object.defineProperty(t,"ToolbarGroup",{enumerable:!0,get:function(){return et.ToolbarGroup}}),Object.defineProperty(t,"ToolbarItem",{enumerable:!0,get:function(){return et.ToolbarItem}}),Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(t,"TreeSelect",{enumerable:!0,get:function(){return ot.default}}),Object.defineProperty(t,"VisuallyHidden",{enumerable:!0,get:function(){return st.VisuallyHidden}}),Object.defineProperty(t,"__experimentalAlignmentMatrixControl",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"__experimentalApplyValueToSides",{enumerable:!0,get:function(){return m.applyValueToSides}}),Object.defineProperty(t,"__experimentalBorderBoxControl",{enumerable:!0,get:function(){return d.BorderBoxControl}}),Object.defineProperty(t,"__experimentalBorderControl",{enumerable:!0,get:function(){return f.BorderControl}}),Object.defineProperty(t,"__experimentalBoxControl",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"__experimentalConfirmDialog",{enumerable:!0,get:function(){return O.ConfirmDialog}}),Object.defineProperty(t,"__experimentalDimensionControl",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"__experimentalDivider",{enumerable:!0,get:function(){return I.Divider}}),Object.defineProperty(t,"__experimentalDropdownContentWrapper",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"__experimentalElevation",{enumerable:!0,get:function(){return z.Elevation}}),Object.defineProperty(t,"__experimentalGrid",{enumerable:!0,get:function(){return X.Grid}}),Object.defineProperty(t,"__experimentalHStack",{enumerable:!0,get:function(){return te.HStack}}),Object.defineProperty(t,"__experimentalHasSplitBorders",{enumerable:!0,get:function(){return d.hasSplitBorders}}),Object.defineProperty(t,"__experimentalHeading",{enumerable:!0,get:function(){return ee.Heading}}),Object.defineProperty(t,"__experimentalInputControl",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"__experimentalInputControlPrefixWrapper",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"__experimentalInputControlSuffixWrapper",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"__experimentalIsDefinedBorder",{enumerable:!0,get:function(){return d.isDefinedBorder}}),Object.defineProperty(t,"__experimentalIsEmptyBorder",{enumerable:!0,get:function(){return d.isEmptyBorder}}),Object.defineProperty(t,"__experimentalItem",{enumerable:!0,get:function(){return oe.Item}}),Object.defineProperty(t,"__experimentalItemGroup",{enumerable:!0,get:function(){return oe.ItemGroup}}),Object.defineProperty(t,"__experimentalNavigation",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(t,"__experimentalNavigationBackButton",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"__experimentalNavigationGroup",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(t,"__experimentalNavigationItem",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(t,"__experimentalNavigationMenu",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(t,"__experimentalNavigatorBackButton",{enumerable:!0,get:function(){return _e.NavigatorBackButton}}),Object.defineProperty(t,"__experimentalNavigatorButton",{enumerable:!0,get:function(){return _e.NavigatorButton}}),Object.defineProperty(t,"__experimentalNavigatorProvider",{enumerable:!0,get:function(){return _e.NavigatorProvider}}),Object.defineProperty(t,"__experimentalNavigatorScreen",{enumerable:!0,get:function(){return _e.NavigatorScreen}}),Object.defineProperty(t,"__experimentalNavigatorToParentButton",{enumerable:!0,get:function(){return _e.NavigatorToParentButton}}),Object.defineProperty(t,"__experimentalNumberControl",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(t,"__experimentalPaletteEdit",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"__experimentalParseQuantityAndUnitFromRawValue",{enumerable:!0,get:function(){return it.parseQuantityAndUnitFromRawValue}}),Object.defineProperty(t,"__experimentalRadio",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(t,"__experimentalRadioGroup",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(t,"__experimentalScrollable",{enumerable:!0,get:function(){return We.Scrollable}}),Object.defineProperty(t,"__experimentalSpacer",{enumerable:!0,get:function(){return Fe.Spacer}}),Object.defineProperty(t,"__experimentalStyleProvider",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(t,"__experimentalSurface",{enumerable:!0,get:function(){return $e.Surface}}),Object.defineProperty(t,"__experimentalText",{enumerable:!0,get:function(){return Ge.Text}}),Object.defineProperty(t,"__experimentalToggleGroupControl",{enumerable:!0,get:function(){return Je.ToggleGroupControl}}),Object.defineProperty(t,"__experimentalToggleGroupControlOption",{enumerable:!0,get:function(){return Je.ToggleGroupControlOption}}),Object.defineProperty(t,"__experimentalToggleGroupControlOptionIcon",{enumerable:!0,get:function(){return Je.ToggleGroupControlOptionIcon}}),Object.defineProperty(t,"__experimentalToolbarContext",{enumerable:!0,get:function(){return et.ToolbarContext}}),Object.defineProperty(t,"__experimentalToolsPanel",{enumerable:!0,get:function(){return tt.ToolsPanel}}),Object.defineProperty(t,"__experimentalToolsPanelContext",{enumerable:!0,get:function(){return tt.ToolsPanelContext}}),Object.defineProperty(t,"__experimentalToolsPanelItem",{enumerable:!0,get:function(){return tt.ToolsPanelItem}}),Object.defineProperty(t,"__experimentalTreeGrid",{enumerable:!0,get:function(){return rt.default}}),Object.defineProperty(t,"__experimentalTreeGridCell",{enumerable:!0,get:function(){return rt.TreeGridCell}}),Object.defineProperty(t,"__experimentalTreeGridItem",{enumerable:!0,get:function(){return rt.TreeGridItem}}),Object.defineProperty(t,"__experimentalTreeGridRow",{enumerable:!0,get:function(){return rt.TreeGridRow}}),Object.defineProperty(t,"__experimentalTruncate",{enumerable:!0,get:function(){return at.Truncate}}),Object.defineProperty(t,"__experimentalUnitControl",{enumerable:!0,get:function(){return it.default}}),Object.defineProperty(t,"__experimentalUseCustomUnits",{enumerable:!0,get:function(){return it.useCustomUnits}}),Object.defineProperty(t,"__experimentalUseNavigator",{enumerable:!0,get:function(){return _e.useNavigator}}),Object.defineProperty(t,"__experimentalUseSlot",{enumerable:!0,get:function(){return dt.useSlot}}),Object.defineProperty(t,"__experimentalUseSlotFills",{enumerable:!0,get:function(){return dt.useSlotFills}}),Object.defineProperty(t,"__experimentalVStack",{enumerable:!0,get:function(){return ut.VStack}}),Object.defineProperty(t,"__experimentalView",{enumerable:!0,get:function(){return lt.View}}),Object.defineProperty(t,"__experimentalZStack",{enumerable:!0,get:function(){return mt.ZStack}}),Object.defineProperty(t,"__unstableAnimatePresence",{enumerable:!0,get:function(){return l.__unstableAnimatePresence}}),Object.defineProperty(t,"__unstableComposite",{enumerable:!0,get:function(){return E.Composite}}),Object.defineProperty(t,"__unstableCompositeGroup",{enumerable:!0,get:function(){return E.CompositeGroup}}),Object.defineProperty(t,"__unstableCompositeItem",{enumerable:!0,get:function(){return E.CompositeItem}}),Object.defineProperty(t,"__unstableDisclosureContent",{enumerable:!0,get:function(){return T.DisclosureContent}}),Object.defineProperty(t,"__unstableGetAnimateClassName",{enumerable:!0,get:function(){return i.getAnimateClassName}}),Object.defineProperty(t,"__unstableMotion",{enumerable:!0,get:function(){return l.__unstableMotion}}),Object.defineProperty(t,"__unstableUseAutocompleteProps",{enumerable:!0,get:function(){return u.useAutocompleteProps}}),Object.defineProperty(t,"__unstableUseCompositeState",{enumerable:!0,get:function(){return E.useCompositeState}}),Object.defineProperty(t,"__unstableUseNavigateRegions",{enumerable:!0,get:function(){return pt.useNavigateRegions}}),Object.defineProperty(t,"createSlotFill",{enumerable:!0,get:function(){return dt.createSlotFill}}),Object.defineProperty(t,"navigateRegions",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(t,"privateApis",{enumerable:!0,get:function(){return xt.privateApis}}),Object.defineProperty(t,"useBaseControlProps",{enumerable:!0,get:function(){return c.useBaseControlProps}}),Object.defineProperty(t,"withConstrainedTabbing",{enumerable:!0,get:function(){return vt.default}}),Object.defineProperty(t,"withFallbackStyles",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(t,"withFilters",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(t,"withFocusOutside",{enumerable:!0,get:function(){return bt.default}}),Object.defineProperty(t,"withFocusReturn",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(t,"withNotices",{enumerable:!0,get:function(){return _t.default}}),Object.defineProperty(t,"withSpokenMessages",{enumerable:!0,get:function(){return wt.default}});var o=n(62682),a=r(n(50337)),i=Et(n(30579)),l=n(857),s=r(n(18983)),u=Et(n(38940)),c=Et(n(75339)),d=n(38504),f=n(50770),m=Et(n(6185)),p=r(n(55932)),v=r(n(87074)),h=n(69804),g=r(n(31261)),b=r(n(30079)),y=r(n(14308)),_=r(n(79325)),w=r(n(92950)),x=n(1478),C=r(n(67290)),E=n(18270),O=n(24601),S=n(63366),M=r(n(46862)),P=Et(n(56850)),k=r(n(4519)),j=r(n(67296)),T=n(89169),I=n(69962),N=r(n(76130)),R=r(n(69235)),L=r(n(76877)),D=r(n(53520)),V=r(n(22353)),B=r(n(15830)),A=n(54613),z=n(92772),H=r(n(88069)),F=n(53753),W=r(n(88498)),Z=r(n(71992)),$=r(n(42805)),U=r(n(17611)),G=r(n(7434)),Y=r(n(77985)),q=r(n(51268)),K=r(n(26410)),X=n(29982),Q=r(n(21158)),J=r(n(27786)),ee=n(44754),te=n(44384),ne=r(n(72818)),re=r(n(87344)),oe=n(48824),ae=r(n(97115)),ie=r(n(43163)),le=r(n(78996)),se=r(n(16944)),ue=r(n(49954)),ce=r(n(40450)),de=r(n(63745)),fe=r(n(4689)),me=r(n(50993)),pe=n(40417),ve=r(n(32704)),he=r(n(15881)),ge=r(n(79420)),be=r(n(31850)),ye=r(n(51375)),_e=n(33378),we=r(n(75574)),xe=r(n(5838)),Ce=r(n(27121)),Ee=r(n(59491)),Oe=r(n(75699)),Se=r(n(72964)),Me=r(n(36539)),Pe=r(n(78058)),ke=r(n(87059)),je=r(n(58595)),Te=r(n(59122)),Ie=r(n(57163)),Ne=r(n(66639)),Re=r(n(96484)),Le=r(n(27737)),De=r(n(79630)),Ve=r(n(43906)),Be=r(n(39429)),Ae=r(n(13719)),ze=r(n(9058)),He=r(n(26266)),Fe=n(87268),We=n(71979),Ze=r(n(78787)),$e=n(66307),Ue=r(n(31783)),Ge=n(53314),Ye=r(n(12968)),qe=r(n(68165)),Ke=r(n(29617)),Xe=r(n(40748)),Qe=r(n(51933)),Je=n(12131),et=n(88567),tt=n(67915),nt=r(n(30497)),rt=Et(n(45508)),ot=r(n(52019)),at=n(36013),it=Et(n(41001)),lt=n(29640),st=n(42937),ut=n(74618),ct=r(n(94150)),dt=n(16361),ft=r(n(99405)),mt=n(90896),pt=Et(n(39343)),vt=r(n(79977)),ht=r(n(84105)),gt=r(n(38185)),bt=r(n(64063)),yt=Et(n(71221)),_t=r(n(6829)),wt=r(n(80005)),xt=n(70048);function Ct(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Ct=function(e){return e?n:t})(e)}function Et(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Ct(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}},16182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(75882),a=(0,r.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,r.createElement)(o.BackdropUI,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})}));t.default=a},97115:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.InputControl=void 0,t.UnforwardedInputControl=p,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(25572)),u=r(n(96850)),c=n(36877),d=n(177),f=r(n(75339));const m=()=>{};function p(e,t){let{__next36pxDefaultSize:n,__unstableStateReducer:r=(e=>e),__unstableInputWidth:p,className:h,disabled:g=!1,help:b,hideLabelFromVision:y=!1,id:_,isPressEnterToChange:w=!1,label:x,labelPosition:C="top",onChange:E=m,onValidate:O=m,onKeyDown:S=m,prefix:M,size:P="default",style:k,suffix:j,value:T,...I}=e;const[N,R]=(0,o.useState)(!1),L=function(e){const t=(0,l.useInstanceId)(v);return e||`inspector-input-control-${t}`}(_),D=(0,i.default)("components-input-control",h),V=(0,d.useDraft)({value:T,onBlur:I.onBlur,onChange:E}),B=b?{["string"==typeof b?"aria-describedby":"aria-details"]:`${L}__help`}:{};return(0,o.createElement)(f.default,{className:D,help:b,id:L,__nextHasNoMarginBottom:!0},(0,o.createElement)(s.default,{__next36pxDefaultSize:n,__unstableInputWidth:p,disabled:g,gap:3,hideLabelFromVision:y,id:L,isFocused:N,justify:"left",label:x,labelPosition:C,prefix:M,size:P,style:k,suffix:j},(0,o.createElement)(u.default,(0,a.default)({},I,B,{__next36pxDefaultSize:n,className:"components-input-control__input",disabled:g,id:L,isFocused:N,isPressEnterToChange:w,onKeyDown:S,onValidate:O,paddingInlineStart:M?(0,c.space)(2):void 0,paddingInlineEnd:j?(0,c.space)(2):void 0,ref:t,setIsFocused:R,size:P,stateReducer:r},V))))}const v=(0,o.forwardRef)(p);t.InputControl=v;var h=v;t.default=h},25572:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.InputBase=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=r(n(16182)),s=r(n(82525)),u=n(75882),c=n(98138);function d(e,t){let{__next36pxDefaultSize:n,__unstableInputWidth:r,children:f,className:m,disabled:p=!1,hideLabelFromVision:v=!1,labelPosition:h,id:g,isFocused:b=!1,label:y,prefix:_,size:w="default",suffix:x,...C}=e;const E=function(e){const t=(0,i.useInstanceId)(d);return e||`input-base-control-${t}`}(g),O=v||!y,{paddingLeft:S,paddingRight:M}=(0,u.getSizeConfig)({inputSize:w,__next36pxDefaultSize:n}),P=(0,o.useMemo)((()=>({InputControlPrefixWrapper:{paddingLeft:S},InputControlSuffixWrapper:{paddingRight:M}})),[S,M]);return(0,o.createElement)(u.Root,(0,a.default)({},C,function(e){const t={};switch(e){case"top":t.direction="column",t.expanded=!1,t.gap=0;break;case"bottom":t.direction="column-reverse",t.expanded=!1,t.gap=0;break;case"edge":t.justify="space-between"}return t}(h),{className:m,gap:2,isFocused:b,labelPosition:h,ref:t}),(0,o.createElement)(s.default,{className:"components-input-control__label",hideLabelFromVision:v,labelPosition:h,htmlFor:E},y),(0,o.createElement)(u.Container,{__unstableInputWidth:r,className:"components-input-control__container",disabled:p,hideLabel:O,labelPosition:h},(0,o.createElement)(c.ContextSystemProvider,{value:P},_&&(0,o.createElement)(u.Prefix,{className:"components-input-control__prefix"},_),f,x&&(0,o.createElement)(u.Suffix,{className:"components-input-control__suffix"},x)),(0,o.createElement)(l.default,{disabled:p,isFocused:b})))}var f=(0,o.forwardRef)(d);t.default=f},96850:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(67687),l=n(177),s=n(75882),u=n(64238);const c=()=>{};var d=(0,o.forwardRef)((function(e,t){let{disabled:n=!1,dragDirection:r="n",dragThreshold:d=10,id:f,isDragEnabled:m=!1,isFocused:p,isPressEnterToChange:v=!1,onBlur:h=c,onChange:g=c,onDrag:b=c,onDragEnd:y=c,onDragStart:_=c,onFocus:w=c,onKeyDown:x=c,onValidate:C=c,size:E="default",setIsFocused:O,stateReducer:S=(e=>e),value:M,type:P,...k}=e;const{state:j,change:T,commit:I,drag:N,dragEnd:R,dragStart:L,invalidate:D,pressDown:V,pressEnter:B,pressUp:A,reset:z}=(0,u.useInputControlStateReducer)(S,{isDragEnabled:m,value:M,isPressEnterToChange:v},g),{value:H,isDragging:F,isDirty:W}=j,Z=(0,o.useRef)(!1),$=(0,l.useDragCursor)(F,r),U=e=>{const t=e.currentTarget.value;try{C(t),I(t,e)}catch(t){D(t,e)}},G=(0,i.useDrag)((e=>{const{distance:t,dragging:n,event:r,target:o}=e;if(e.event={...e.event,target:o},t){if(r.stopPropagation(),!n)return y(e),void R(e);b(e),N(e),F||(_(e),L(e))}}),{axis:"e"===r||"w"===r?"x":"y",threshold:d,enabled:m,pointer:{capture:!1}}),Y=m?G():{};let q;return"number"===P&&(q=e=>{var t;null===(t=k.onMouseDown)||void 0===t||t.call(k,e),e.currentTarget!==e.currentTarget.ownerDocument.activeElement&&e.currentTarget.focus()}),(0,o.createElement)(s.Input,(0,a.default)({},k,Y,{className:"components-input-control__input",disabled:n,dragCursor:$,isDragging:F,id:f,onBlur:e=>{h(e),null==O||O(!1),!W&&e.target.validity.valid||(Z.current=!0,U(e))},onChange:e=>{const t=e.target.value;T(t,e)},onFocus:e=>{w(e),null==O||O(!0)},onKeyDown:e=>{const{key:t}=e;switch(x(e),t){case"ArrowUp":A(e);break;case"ArrowDown":V(e);break;case"Enter":B(e),v&&(e.preventDefault(),U(e));break;case"Escape":v&&W&&(e.preventDefault(),z(M,e))}},onMouseDown:q,ref:t,inputSize:E,value:null!=H?H:"",type:P}))}));t.default=d},43163:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InputControlPrefixWrapper=void 0;var o=n(32847),a=r(n(31304)),i=n(87268),l=n(98138);const s=(0,l.contextConnect)((function(e,t){const n=(0,l.useContextSystem)(e,"InputControlPrefixWrapper");return(0,o.createElement)(i.Spacer,(0,a.default)({marginBottom:0},n,{ref:t}))}),"InputControlPrefixWrapper");t.InputControlPrefixWrapper=s;var u=s;t.default=u},78996:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.InputControlSuffixWrapper=void 0;var o=n(32847),a=r(n(31304)),i=n(87268),l=n(98138);const s=(0,l.contextConnect)((function(e,t){const n=(0,l.useContextSystem)(e,"InputControlSuffixWrapper");return(0,o.createElement)(i.Spacer,(0,a.default)({marginBottom:0},n,{ref:t}))}),"InputControlSuffixWrapper");t.InputControlSuffixWrapper=s;var u=s;t.default=u},82525:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...s}=e;return t?n?(0,o.createElement)(i.VisuallyHidden,{as:"label",htmlFor:r},t):(0,o.createElement)(l.LabelWrapper,null,(0,o.createElement)(l.Label,(0,a.default)({htmlFor:r},s),t)):null};var o=n(32847),a=r(n(31304)),i=n(42937),l=n(75882)},49129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESET=t.PRESS_UP=t.PRESS_ENTER=t.PRESS_DOWN=t.INVALIDATE=t.DRAG_START=t.DRAG_END=t.DRAG=t.CONTROL=t.COMMIT=t.CHANGE=void 0,t.CHANGE="CHANGE",t.COMMIT="COMMIT",t.CONTROL="CONTROL",t.DRAG_END="DRAG_END",t.DRAG_START="DRAG_START",t.DRAG="DRAG",t.INVALIDATE="INVALIDATE",t.PRESS_DOWN="PRESS_DOWN",t.PRESS_ENTER="PRESS_ENTER",t.PRESS_UP="PRESS_UP",t.RESET="RESET"},64238:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useInputControlStateReducer=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.initialStateReducer,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.initialInputControlState,n=arguments.length>2?arguments[2]:void 0;const[i,l]=(0,r.useReducer)((x=e,(e,t)=>{const n={...e};switch(t.type){case a.CONTROL:return n.value=t.payload.value,n.isDirty=!1,n._event=void 0,n;case a.PRESS_UP:case a.PRESS_DOWN:n.isDirty=!1;break;case a.DRAG_START:n.isDragging=!0;break;case a.DRAG_END:n.isDragging=!1;break;case a.CHANGE:n.error=null,n.value=t.payload.value,e.isPressEnterToChange&&(n.isDirty=!0);break;case a.COMMIT:n.value=t.payload.value,n.isDirty=!1;break;case a.RESET:n.error=null,n.isDirty=!1,n.value=t.payload.value||e.initialValue;break;case a.INVALIDATE:n.error=t.payload.error}return n._event=t.payload.event,x(n,t)}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.initialInputControlState;const{value:t}=e;return{...o.initialInputControlState,...e,initialValue:t}}(t)),s=e=>(t,n)=>{l({type:e,payload:{value:t,event:n}})},u=e=>t=>{l({type:e,payload:{event:t}})},c=e=>t=>{l({type:e,payload:t})},d=s(a.CHANGE),f=s(a.RESET),m=s(a.COMMIT),p=c(a.DRAG_START),v=c(a.DRAG),h=c(a.DRAG_END),g=u(a.PRESS_UP),b=u(a.PRESS_DOWN),y=u(a.PRESS_ENTER),_=(0,r.useRef)(i),w=(0,r.useRef)({value:t.value,onChangeHandler:n});var x;return(0,r.useLayoutEffect)((()=>{_.current=i,w.current={value:t.value,onChangeHandler:n}})),(0,r.useLayoutEffect)((()=>{var e;void 0===_.current._event||i.value===w.current.value||i.isDirty||w.current.onChangeHandler(null!==(e=i.value)&&void 0!==e?e:"",{event:_.current._event})}),[i.value,i.isDirty]),(0,r.useLayoutEffect)((()=>{var e;t.value===_.current.value||_.current.isDirty||l({type:a.CONTROL,payload:{value:null!==(e=t.value)&&void 0!==e?e:""}})}),[t.value]),{change:d,commit:m,dispatch:l,drag:v,dragEnd:h,dragStart:p,invalidate:(e,t)=>l({type:a.INVALIDATE,payload:{error:e,event:t}}),pressDown:b,pressEnter:y,pressUp:g,reset:f,state:i}};var r=n(32847),o=n(5035),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(49129));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}},5035:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialStateReducer=t.initialInputControlState=void 0,t.initialStateReducer=e=>e,t.initialInputControlState={error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""}},75882:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getSizeConfig=t.Suffix=t.Root=t.Prefix=t.LabelWrapper=t.Label=t.Input=t.Container=t.BackdropUI=void 0;var o=n(32847),a=r(n(31304)),i=r(n(12272)),l=n(18591),s=n(53753),u=n(53314),c=n(40455),d=n(36877),f={name:"1739oy8",styles:"z-index:1"};const m=(0,i.default)(s.Flex,{target:"em5sgkm7"})("box-sizing:border-box;position:relative;border-radius:2px;padding-top:0;",(e=>{let{isFocused:t}=e;return t?f:""}),";");t.Root=m;var p={name:"1d3w5wq",styles:"width:100%"};const v=(0,i.default)("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(e=>{let{disabled:t}=e;const n=t?c.COLORS.ui.backgroundDisabled:c.COLORS.ui.background;return(0,l.css)({backgroundColor:n},"","")})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":"edge"===n?(0,l.css)({flex:`0 0 ${t}`},"",""):(0,l.css)({width:t},"",""):p}),";");t.Container=v;const h=e=>{let{inputSize:t,__next36pxDefaultSize:n}=e;const r={default:{height:36,lineHeight:1,minHeight:36,paddingLeft:(0,d.space)(4),paddingRight:(0,d.space)(4)},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:(0,d.space)(2),paddingRight:(0,d.space)(2)},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:(0,d.space)(4),paddingRight:(0,d.space)(4)}};return n||(r.default={height:30,lineHeight:1,minHeight:30,paddingLeft:(0,d.space)(2),paddingRight:(0,d.space)(2)}),r[t]||r.default};t.getSizeConfig=h;const g=(0,i.default)("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",c.COLORS.gray[900],";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=(0,l.css)("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=(0,l.css)("&:active{cursor:",o,";}","")),(0,l.css)(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?(0,l.css)({color:c.COLORS.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?(0,l.css)("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>(0,l.css)(h(e),"",""))," ",(e=>{let{paddingInlineStart:t,paddingInlineEnd:n}=e;return(0,l.css)({paddingInlineStart:t,paddingInlineEnd:n},"","")})," &::-webkit-input-placeholder{line-height:normal;}}");t.Input=g;const b=(0,i.default)(u.Text,{target:"em5sgkm4"})("&&&{",c.baseLabelTypography,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}");t.Label=e=>(0,o.createElement)(b,(0,a.default)({},e,{as:"label"}));const y=(0,i.default)(s.FlexItem,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"});t.LabelWrapper=y;const _=(0,i.default)("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(e=>{let t,{disabled:n,isFocused:r}=e,o=r?c.COLORS.ui.borderFocus:c.COLORS.ui.border;return r&&(t=`0 0 0 1px ${c.COLORS.ui.borderFocus} inset`),n&&(o=c.COLORS.ui.borderDisabled),(0,l.css)({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",(0,c.rtl)({paddingLeft:2}),";}");t.BackdropUI=_;const w=(0,i.default)("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"});t.Prefix=w;const x=(0,i.default)("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"});t.Suffix=x},177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDragCursor=o,t.useDraft=function(e){const t=(0,r.useRef)(e.value),[n,o]=(0,r.useState)({}),a=void 0!==n.value?n.value:e.value;return(0,r.useLayoutEffect)((()=>{const{current:r}=t;t.current=e.value,void 0===n.value||n.isStale?n.isStale&&e.value!==r&&o({}):o({...n,isStale:!0})}),[e.value,n]),{value:a,onBlur:t=>{var n;o({}),null===(n=e.onBlur)||void 0===n||n.call(e,t)},onChange:(t,n)=>{o((e=>Object.assign(e,{value:t,isStale:!1}))),e.onChange(t,n)}}},t.useDragCursor=function(e,t){const n=o(t);return(0,r.useEffect)((()=>{document.documentElement.style.cursor=e?n:null}),[e,n]),n};var r=n(32847);function o(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}},94150:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(6777));function l(e){e.stopPropagation()}var s=(0,o.forwardRef)(((e,t)=>((0,i.default)("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,o.createElement)("div",(0,a.default)({},e,{ref:t,onMouseDown:l})))));t.default=s},21750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useItemGroupContext=t.ItemGroupContext=void 0;var r=n(32847);const o=(0,r.createContext)({size:"medium"});t.ItemGroupContext=o,t.useItemGroupContext=()=>(0,r.useContext)(o)},48824:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ItemGroup",{enumerable:!0,get:function(){return a.default}});var o=r(n(41411)),a=r(n(43042))},74903:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ItemGroup=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(27170),s=n(21750),u=n(29640);const c=(0,i.contextConnect)((function(e,t){const{isBordered:n,isSeparated:r,size:i,...c}=(0,l.useItemGroup)(e),{size:d}=(0,s.useItemGroupContext)(),f={spacedAround:!n&&!r,size:i||d};return(0,o.createElement)(s.ItemGroupContext.Provider,{value:f},(0,o.createElement)(u.View,(0,a.default)({},c,{ref:t})))}),"ItemGroup");t.ItemGroup=c;var d=c;t.default=d},27170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useItemGroup=function(e){const{className:t,isBordered:n=!1,isRounded:i=!0,isSeparated:l=!1,role:s="list",...u}=(0,r.useContextSystem)(e,"ItemGroup");return{isBordered:n,className:(0,a.useCx)()(n&&o.bordered,l&&o.separated,i&&o.rounded,t),role:s,isSeparated:l,...u}};var r=n(98138),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(69034)),a=n(7769);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}},43042:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useItemGroup",{enumerable:!0,get:function(){return a.useItemGroup}});var o=r(n(74903)),a=n(27170)},67464:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Item=void 0;var o=n(32847),a=r(n(31304)),i=n(24895),l=n(98138),s=n(29640);const u=(0,l.contextConnect)((function(e,t){const{role:n,wrapperClassName:r,...l}=(0,i.useItem)(e);return(0,o.createElement)("div",{role:n,className:r},(0,o.createElement)(s.View,(0,a.default)({},l,{ref:t})))}),"Item");t.Item=u;var c=u;t.default=c},24895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useItem=function(e){const{as:t,className:n,onClick:s,role:u="listitem",size:c,...d}=(0,o.useContextSystem)(e,"Item"),{spacedAround:f,size:m}=(0,i.useItemGroupContext)(),p=c||m,v=t||(void 0!==s?"button":"div"),h=(0,l.useCx)(),g=(0,r.useMemo)((()=>h("button"===v&&a.unstyledButton,a.itemSizes[p]||a.itemSizes.medium,a.item,f&&a.spacedAround,n)),[v,n,h,p,f]),b=h(a.itemWrapper);return{as:v,className:g,onClick:s,wrapperClassName:b,role:u,...d}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(69034)),i=n(21750),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}},41411:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useItem",{enumerable:!0,get:function(){return a.useItem}});var o=r(n(67464)),a=n(24895)},69034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unstyledButton=t.spacedAround=t.separated=t.rounded=t.itemWrapper=t.itemSizes=t.item=t.bordered=void 0;var r=n(18591),o=n(40455);const a=(0,r.css)("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:start;&:hover{color:",o.COLORS.ui.theme,";}&:focus{background-color:transparent;color:",o.COLORS.ui.theme,";border-color:",o.COLORS.ui.theme,";outline:3px solid transparent;}","");t.unstyledButton=a;t.itemWrapper={name:"1bcj5ek",styles:"width:100%;display:block"};t.item={name:"150ruhm",styles:"box-sizing:border-box;width:100%;display:block;margin:0;color:inherit"};const i=(0,r.css)("border:1px solid ",o.CONFIG.surfaceBorderColor,";","");t.bordered=i;const l=(0,r.css)(">*:not( marquee )>*{border-bottom:1px solid ",o.CONFIG.surfaceBorderColor,";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}","");t.separated=l;const s=o.CONFIG.controlBorderRadius,u=(0,r.css)("border-radius:",s,";","");t.spacedAround=u;const c=(0,r.css)("border-radius:",s,";>*:first-of-type>*{border-top-left-radius:",s,";border-top-right-radius:",s,";}>*:last-of-type>*{border-bottom-left-radius:",s,";border-bottom-right-radius:",s,";}","");t.rounded=c;const d=`calc(${o.CONFIG.fontSize} * ${o.CONFIG.fontLineHeightBase})`,f=`calc((${o.CONFIG.controlHeight} - ${d} - 2px) / 2)`,m=`calc((${o.CONFIG.controlHeightSmall} - ${d} - 2px) / 2)`,p=`calc((${o.CONFIG.controlHeightLarge} - ${d} - 2px) / 2)`,v={small:(0,r.css)("padding:",m," ",o.CONFIG.controlPaddingXSmall,";",""),medium:(0,r.css)("padding:",f," ",o.CONFIG.controlPaddingX,";",""),large:(0,r.css)("padding:",p," ",o.CONFIG.controlPaddingXLarge,";","")};t.itemSizes=v},16944:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(89029);function a(e){let{target:t,callback:n,shortcut:r,bindGlobal:a,eventName:i}=e;return(0,o.useKeyboardShortcut)(r,n,{bindGlobal:a,target:t,eventName:i}),null}t.default=function(e){let{children:t,shortcuts:n,bindGlobal:o,eventName:i}=e;const l=(0,r.useRef)(null),s=Object.entries(null!=n?n:{}).map((e=>{let[t,n]=e;return(0,r.createElement)(a,{key:t,shortcut:t,callback:n,bindGlobal:o,eventName:i,target:l})}));return r.Children.count(t)?(0,r.createElement)("div",{ref:l},s,t):(0,r.createElement)(r.Fragment,null,s)}},49954:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.MenuGroup=l,t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(89029);function l(e){const{children:t,className:n="",label:r,hideSeparator:s}=e,u=(0,i.useInstanceId)(l);if(!o.Children.count(t))return null;const c=`components-menu-group-label-${u}`,d=(0,a.default)(n,"components-menu-group",{"has-hidden-separator":s});return(0,o.createElement)("div",{className:d},r&&(0,o.createElement)("div",{className:"components-menu-group__label",id:c,"aria-hidden":"true"},r),(0,o.createElement)("div",{role:"group","aria-labelledby":r?c:void 0},t))}var s=l;t.default=s},40450:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItem=c,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(45392)),s=r(n(55932)),u=r(n(72818));function c(e,t){let{children:n,info:r,className:c,icon:d,iconPosition:f="right",shortcut:m,isSelected:p,role:v="menuitem",suffix:h,...g}=e;return c=(0,i.default)("components-menu-item__button",c),r&&(n=(0,o.createElement)("span",{className:"components-menu-item__info-wrapper"},(0,o.createElement)("span",{className:"components-menu-item__item"},n),(0,o.createElement)("span",{className:"components-menu-item__info"},r))),d&&"string"!=typeof d&&(d=(0,o.cloneElement)(d,{className:(0,i.default)("components-menu-items__item-icon",{"has-icon-right":"right"===f})})),(0,o.createElement)(s.default,(0,a.default)({ref:t,"aria-checked":"menuitemcheckbox"===v||"menuitemradio"===v?p:void 0,role:v,icon:"left"===f?d:void 0,className:c},g),(0,o.createElement)("span",{className:"components-menu-item__item"},n),!h&&(0,o.createElement)(l.default,{className:"components-menu-item__shortcut",shortcut:m}),!h&&d&&"right"===f&&(0,o.createElement)(u.default,{icon:d}),h)}var d=(0,o.forwardRef)(c);t.default=d},63745:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(58446),i=r(n(40450));const l=()=>{};t.default=function(e){let{choices:t=[],onHover:n=l,onSelect:r,value:s}=e;return(0,o.createElement)(o.Fragment,null,t.map((e=>{const t=s===e.value;return(0,o.createElement)(i.default,{key:e.value,role:"menuitemradio",icon:t&&a.check,info:e.info,isSelected:t,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{t||r(e.value)},onMouseEnter:()=>n(e.value),onMouseLeave:()=>n(null),"aria-label":e["aria-label"]},e.label)})))}},85790:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementShouldBeHidden=a,t.hideApp=function(e){o||(Array.from(document.body.children).forEach((t=>{t!==e&&a(t)&&(t.setAttribute("aria-hidden","true"),r.push(t))})),o=!0)},t.showApp=function(){o&&(r.forEach((e=>{e.removeAttribute("aria-hidden")})),r=[],o=!1)};const n=new Set(["alert","status","log","marquee","timer"]);let r=[],o=!1;function a(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||t&&n.has(t))}},4689:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Modal=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=n(25150),u=n(58446),c=n(59201),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(85790)),f=r(n(55932)),m=r(n(99405));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}let v=0;const h=(0,o.forwardRef)((function(e,t){const{bodyOpenClassName:n="modal-open",role:r="dialog",title:p=null,focusOnMount:g=!0,shouldCloseOnEsc:b=!0,shouldCloseOnClickOutside:y=!0,isDismissible:_=!0,aria:w={labelledby:void 0,describedby:void 0},onRequestClose:x,icon:C,closeButtonLabel:E,children:O,style:S,overlayClassName:M,className:P,contentLabel:k,onKeyDown:j,isFullScreen:T=!1,__experimentalHideHeader:I=!1}=e,N=(0,o.useRef)(),R=(0,l.useInstanceId)(h),L=p?`components-modal-header-${R}`:w.labelledby,D=(0,l.useFocusOnMount)(g),V=(0,l.useConstrainedTabbing)(),B=(0,l.useFocusReturn)(),A=(0,l.__experimentalUseFocusOutside)(x),z=(0,o.useRef)(null),H=(0,o.useRef)(null),[F,W]=(0,o.useState)(!1),[Z,$]=(0,o.useState)(!1),U=(0,o.useCallback)((()=>{if(!z.current)return;const e=(0,c.getScrollContainer)(z.current);z.current===e?$(!0):$(!1)}),[z]);(0,o.useEffect)((()=>(v++,1===v&&(d.hideApp(N.current),document.body.classList.add(n)),()=>{v--,0===v&&(document.body.classList.remove(n),d.showApp())})),[n]),(0,o.useLayoutEffect)((()=>{if(!window.ResizeObserver||!H.current)return;const e=new ResizeObserver(U);return e.observe(H.current),U(),()=>{e.disconnect()}}),[U,H]);const G=(0,o.useCallback)((e=>{var t,n;const r=null!==(t=null==e||null===(n=e.currentTarget)||void 0===n?void 0:n.scrollTop)&&void 0!==t?t:-1;!F&&r>0?W(!0):F&&r<=0&&W(!1)}),[F]);return(0,o.createPortal)((0,o.createElement)("div",{ref:(0,l.useMergeRefs)([N,t]),className:(0,i.default)("components-modal__screen-overlay",M),onKeyDown:function(e){e.nativeEvent.isComposing||229===e.keyCode||b&&"Escape"===e.code&&!e.defaultPrevented&&(e.preventDefault(),x&&x(e))}},(0,o.createElement)(m.default,{document:document},(0,o.createElement)("div",(0,a.default)({className:(0,i.default)("components-modal__frame",P,{"is-full-screen":T}),style:S,ref:(0,l.useMergeRefs)([V,B,D]),role:r,"aria-label":k,"aria-labelledby":k?void 0:L,"aria-describedby":w.describedby,tabIndex:-1},y?A:{},{onKeyDown:j}),(0,o.createElement)("div",{className:(0,i.default)("components-modal__content",{"hide-header":I,"is-scrollable":Z,"has-scrolled-content":F}),role:"document",onScroll:G,ref:z,"aria-label":Z?(0,s.__)("Scrollable section"):void 0,tabIndex:Z?0:void 0},!I&&(0,o.createElement)("div",{className:"components-modal__header"},(0,o.createElement)("div",{className:"components-modal__header-heading-container"},C&&(0,o.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},C),p&&(0,o.createElement)("h1",{id:L,className:"components-modal__header-heading"},p)),_&&(0,o.createElement)(f.default,{onClick:x,icon:u.close,label:E||(0,s.__)("Close")})),(0,o.createElement)("div",{ref:H},O))))),document.body)}));t.Modal=h;var g=h;t.default=g},41785:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(59201);const l=()=>{},s=["menuitem","menuitemradio","menuitemcheckbox"];class u extends o.Component{constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.bindContainer=this.bindContainer.bind(this),this.getFocusableContext=this.getFocusableContext.bind(this),this.getFocusableIndex=this.getFocusableIndex.bind(this)}componentDidMount(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}componentWillUnmount(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}bindContainer(e){const{forwardedRef:t}=this.props;this.container=e,"function"==typeof t?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?i.focus.tabbable:i.focus.focusable).find(this.container),r=this.getFocusableIndex(n,e);return r>-1&&e?{index:r,target:e,focusables:n}:null}getFocusableIndex(e,t){const n=e.indexOf(t);if(-1!==n)return n}onKeyDown(e){this.props.onKeyDown&&this.props.onKeyDown(e);const{getFocusableContext:t}=this,{cycle:n=!0,eventToOffset:r,onNavigate:o=l,stopNavigationEvents:a}=this.props,i=r(e);if(void 0!==i&&a){e.stopImmediatePropagation();const t=e.target.getAttribute("role"),n=s.includes(t),r="Tab"===e.code;(n||r)&&e.preventDefault()}if(!i)return;const u=t(e.target.ownerDocument.activeElement);if(!u)return;const{index:c,focusables:d}=u,f=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(c,d.length,i):c+i;f>=0&&f<d.length&&(d[f].focus(),o(f,d[f]))}render(){const{children:e,stopNavigationEvents:t,eventToOffset:n,onNavigate:r,onKeyDown:i,cycle:l,onlyBrowserTabstops:s,forwardedRef:u,...c}=this.props;return(0,o.createElement)("div",(0,a.default)({ref:this.bindContainer},c),e)}}const c=(e,t)=>(0,o.createElement)(u,(0,a.default)({},e,{forwardedRef:t}));c.displayName="NavigableContainer";var d=(0,o.forwardRef)(c);t.default=d},40417:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigableMenu",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TabbableContainer",{enumerable:!0,get:function(){return a.default}});var o=r(n(68064)),a=r(n(53890))},68064:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.NavigableMenu=l,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(41785));function l(e,t){let{role:n="menu",orientation:r="vertical",...l}=e;return(0,o.createElement)(i.default,(0,a.default)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:n,"aria-orientation":"presentation"===n?null:r,eventToOffset:e=>{const{code:t}=e;let n=["ArrowDown"],o=["ArrowUp"];return"horizontal"===r&&(n=["ArrowRight"],o=["ArrowLeft"]),"both"===r&&(n=["ArrowRight","ArrowDown"],o=["ArrowLeft","ArrowUp"]),n.includes(t)?1:o.includes(t)?-1:["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(t)?0:void 0}},l))}var s=(0,o.forwardRef)(l);t.default=s},53890:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TabbableContainer=l,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(41785));function l(e,t){let{eventToOffset:n,...r}=e;return(0,o.createElement)(i.default,(0,a.default)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:e=>{const{code:t,shiftKey:r}=e;return"Tab"===t?r?-1:1:n?n(e):void 0}},r))}var s=(0,o.forwardRef)(l);t.default=s},15881:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(25150),l=n(58446),s=n(57040),u=n(3044),c=(0,o.forwardRef)((function(e,t){var n;let{backButtonLabel:r,className:c,href:d,onClick:f,parentMenu:m}=e;const{setActiveMenu:p,navigationTree:v}=(0,s.useNavigationContext)(),h=(0,a.default)("components-navigation__back-button",c),g=null===(n=v.getMenu(m))||void 0===n?void 0:n.title,b=(0,i.isRTL)()?l.chevronRight:l.chevronLeft;return(0,o.createElement)(u.MenuBackButtonUI,{className:h,href:d,variant:"tertiary",ref:t,onClick:e=>{"function"==typeof f&&f(e);const t=(0,i.isRTL)()?"left":"right";m&&!e.defaultPrevented&&p(m,t)}},(0,o.createElement)(l.Icon,{icon:b}),r||g||(0,i.__)("Back"))}));t.default=c},54701:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEARCH_FOCUS_DELAY=t.ROOT_MENU=void 0,t.ROOT_MENU="root",t.SEARCH_FOCUS_DELAY=100},57040:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationContext=t.NavigationContext=void 0;var r=n(32847),o=n(54701);const a=()=>{},i=(0,r.createContext)({activeItem:void 0,activeMenu:o.ROOT_MENU,setActiveMenu:a,isMenuEmpty:a,navigationTree:{items:{},getItem:a,addItem:a,removeItem:a,menus:{},getMenu:a,addMenu:a,removeMenu:a,childMenu:{},traverseMenu:a,isMenuEmpty:a}});t.NavigationContext=i,t.useNavigationContext=()=>(0,r.useContext)(i)},22283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationGroupContext=t.NavigationGroupContext=void 0;var r=n(32847);const o=(0,r.createContext)({group:void 0});t.NavigationGroupContext=o,t.useNavigationGroupContext=()=>(0,r.useContext)(o)},79420:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t,className:n,title:r}=e;const[c]=(0,o.useState)("group-"+ ++u),{navigationTree:{items:d}}=(0,s.useNavigationContext)(),f={group:c};if(!Object.values(d).some((e=>e.group===c&&e._isVisible)))return(0,o.createElement)(i.NavigationGroupContext.Provider,{value:f},t);const m=`components-navigation__group-title-${c}`,p=(0,a.default)("components-navigation__group",n);return(0,o.createElement)(i.NavigationGroupContext.Provider,{value:f},(0,o.createElement)("li",{className:p},r&&(0,o.createElement)(l.GroupTitleUI,{className:"components-navigation__group-title",id:m,level:3},r),(0,o.createElement)("ul",{"aria-labelledby":m,role:"group"},t)))};var o=n(32847),a=r(n(26372)),i=n(22283),l=n(3044),s=n(57040);let u=0},32704:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{activeItem:t,activeMenu:n=s.ROOT_MENU,children:r,className:m,onActivateMenu:p=f}=e;const[v,h]=(0,o.useState)(n),[g,b]=(0,o.useState)(),y=(0,d.useCreateNavigationTree)(),_=(0,i.isRTL)()?"right":"left",w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;y.getMenu(e)&&(b(t),h(e),p(e))},x=(0,o.useRef)(!1);(0,o.useEffect)((()=>{x.current||(x.current=!0)}),[]),(0,o.useEffect)((()=>{n!==v&&w(n)}),[n]);const C={activeItem:t,activeMenu:v,setActiveMenu:w,navigationTree:y},E=(0,a.default)("components-navigation",m),O=(0,l.getAnimateClassName)({type:"slide-in",origin:g});return(0,o.createElement)(c.NavigationUI,{className:E},(0,o.createElement)("div",{key:v,className:(0,a.default)({[O]:x.current&&g})},(0,o.createElement)(u.NavigationContext.Provider,{value:C},r)))};var o=n(32847),a=r(n(26372)),i=n(25150),l=n(30579),s=n(54701),u=n(57040),c=n(3044),d=n(86630);const f=()=>{}},14362:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{badge:t,title:n}=e;return(0,r.createElement)(r.Fragment,null,n&&(0,r.createElement)(o.ItemTitleUI,{className:"components-navigation__item-title",variant:"body.small",as:"span"},n),t&&(0,r.createElement)(o.ItemBadgeUI,{className:"components-navigation__item-badge"},t))};var r=n(32847),o=n(3044)},17594:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;const{children:n,className:r,title:d,href:f,...m}=e,[p]=(0,o.useState)("item-"+ ++c);(0,s.useNavigationTreeItem)(p,e);const{navigationTree:v}=(0,l.useNavigationContext)();if(null===(t=v.getItem(p))||void 0===t||!t._isVisible)return null;const h=(0,i.default)("components-navigation__item",r);return(0,o.createElement)(u.ItemBaseUI,(0,a.default)({className:h},m),n)};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(57040),s=n(8018),u=n(3044);let c=0},31850:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{badge:t,children:n,className:r,href:v,item:h,navigateToMenu:g,onClick:b=p,title:y,icon:_,hideIfTargetMenuEmpty:w,isText:x,...C}=e,{activeItem:E,setActiveMenu:O,navigationTree:{isMenuEmpty:S}}=(0,c.useNavigationContext)();if(w&&g&&S(g))return null;const M=h&&E===h,P=(0,i.default)(r,{"is-active":M}),k=(0,s.isRTL)()?l.chevronLeft:l.chevronRight,j=n?e:{...e,onClick:void 0},T=x?C:{as:u.default,href:v,onClick:e=>{g&&O(g),b(e)},"aria-current":M?"page":void 0,...C};return(0,o.createElement)(m.default,(0,a.default)({},j,{className:P}),n||(0,o.createElement)(d.ItemUI,T,_&&(0,o.createElement)(d.ItemIconUI,null,(0,o.createElement)(l.Icon,{icon:_})),(0,o.createElement)(f.default,{title:y,badge:t}),g&&(0,o.createElement)(l.Icon,{icon:k})))};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(58446),s=n(25150),u=r(n(55932)),c=n(57040),d=n(3044),f=r(n(14362)),m=r(n(17594));const p=()=>{}},8018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationTreeItem=void 0;var r=n(32847),o=n(57040),a=n(22283),i=n(77230),l=n(26733);t.useNavigationTreeItem=(e,t)=>{const{activeMenu:n,navigationTree:{addItem:s,removeItem:u}}=(0,o.useNavigationContext)(),{group:c}=(0,a.useNavigationGroupContext)(),{menu:d,search:f}=(0,i.useNavigationMenuContext)();(0,r.useEffect)((()=>{const r=n===d,o=!f||(0,l.normalizedSearch)(t.title,f);return s(e,{...t,group:c,menu:d,_isVisible:r&&o}),()=>{u(e)}}),[n,f])}},77230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationMenuContext=t.NavigationMenuContext=void 0;var r=n(32847);const o=(0,r.createContext)({menu:void 0,search:""});t.NavigationMenuContext=o,t.useNavigationMenuContext=()=>(0,r.useContext)(o)},51375:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{backButtonLabel:t,children:n,className:r,hasSearch:v,menu:h=i.ROOT_MENU,onBackButtonClick:g,onSearch:b,parentMenu:y,search:_,isSearchDebouncing:w,title:x,titleAction:C}=e,[E,O]=(0,o.useState)("");(0,u.useNavigationTreeMenu)(e);const{activeMenu:S}=(0,s.useNavigationContext)(),M={menu:h,search:E};if(S!==h)return(0,o.createElement)(l.NavigationMenuContext.Provider,{value:M},n);const P=!!b,k=P?_:E,j=P?b:O,T=`components-navigation__menu-title-${h}`,I=(0,a.default)("components-navigation__menu",r);return(0,o.createElement)(l.NavigationMenuContext.Provider,{value:M},(0,o.createElement)(p.MenuUI,{className:I},(y||g)&&(0,o.createElement)(c.default,{backButtonLabel:t,parentMenu:y,onClick:g}),x&&(0,o.createElement)(d.default,{hasSearch:v,onSearch:j,search:k,title:x,titleAction:C}),(0,o.createElement)(m.NavigableMenu,null,(0,o.createElement)("ul",{"aria-labelledby":T},n,k&&!w&&(0,o.createElement)(f.default,{search:k})))))};var o=n(32847),a=r(n(26372)),i=n(54701),l=n(77230),s=n(57040),u=n(5830),c=r(n(15881)),d=r(n(80493)),f=r(n(75374)),m=n(40417),p=n(3044)},24945:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=n(25150),i=r(n(80005)),l=n(77230),s=n(57040),u=n(3044),c=n(54701),d=(0,i.default)((function(e){let{debouncedSpeak:t,onCloseSearch:n,onSearch:r,search:i,title:d}=e;const{navigationTree:{items:f}}=(0,s.useNavigationContext)(),{menu:m}=(0,l.useNavigationMenuContext)(),p=(0,o.useRef)();(0,o.useEffect)((()=>{const e=setTimeout((()=>{p.current.focus()}),c.SEARCH_FOCUS_DELAY);return()=>{clearTimeout(e)}}),[]),(0,o.useEffect)((()=>{if(!i)return;const e=Object.values(f).filter((e=>e._isVisible)).length,n=(0,a.sprintf)((0,a._n)("%d result found.","%d results found.",e),e);t(n)}),[f,i]);const v=()=>{r(""),n()},h=`components-navigation__menu-title-search-${m}`,g=(0,a.sprintf)((0,a.__)("Search %s"),null==d?void 0:d.toLowerCase()).trim();return(0,o.createElement)("div",{className:"components-navigation__menu-title-search"},(0,o.createElement)(u.MenuTitleSearchUI,{autoComplete:"off",className:"components-navigation__menu-search-input",id:h,onChange:e=>r(e),onKeyDown:function(e){"Escape"!==e.code||e.defaultPrevented||(e.preventDefault(),v())},placeholder:g,onClose:v,ref:p,type:"search",value:i}))}));t.default=d},80493:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{hasSearch:t,onSearch:n,search:r,title:m,titleAction:p}=e;const[v,h]=(0,o.useState)(!1),{menu:g}=(0,d.useNavigationMenuContext)(),b=(0,o.useRef)();if(!m)return null;const y=`components-navigation__menu-title-${g}`,_=(0,a.sprintf)((0,a.__)("Search in %s"),m);return(0,o.createElement)(c.MenuTitleUI,{className:"components-navigation__menu-title"},!v&&(0,o.createElement)(c.GroupTitleUI,{as:"h2",className:"components-navigation__menu-title-heading",level:3},(0,o.createElement)("span",{id:y},m),(t||p)&&(0,o.createElement)(c.MenuTitleActionsUI,null,p,t&&(0,o.createElement)(s.default,{isSmall:!0,variant:"tertiary",label:_,onClick:()=>h(!0),ref:b},(0,o.createElement)(i.Icon,{icon:i.search})))),v&&(0,o.createElement)("div",{className:(0,l.getAnimateClassName)({type:"slide-in",origin:"left"})},(0,o.createElement)(u.default,{onCloseSearch:()=>{h(!1),setTimeout((()=>{b.current.focus()}),f.SEARCH_FOCUS_DELAY)},onSearch:n,search:r,title:m})))};var o=n(32847),a=n(25150),i=n(58446),l=n(30579),s=r(n(55932)),u=r(n(24945)),c=n(3044),d=n(77230),f=n(54701)},75374:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{search:t}=e;const{navigationTree:{items:n}}=(0,a.useNavigationContext)(),l=Object.values(n).filter((e=>e._isVisible)).length;return!t||l?null:(0,r.createElement)(i.ItemBaseUI,null,(0,r.createElement)(i.ItemUI,null,(0,o.__)("No results found.")," "))};var r=n(32847),o=n(25150),a=n(57040),i=n(3044)},5830:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationTreeMenu=void 0;var r=n(32847),o=n(57040),a=n(54701);t.useNavigationTreeMenu=e=>{const{navigationTree:{addMenu:t,removeMenu:n}}=(0,o.useNavigationContext)(),i=e.menu||a.ROOT_MENU;(0,r.useEffect)((()=>(t(i,{...e,menu:i}),()=>{n(i)})),[])}},3044:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationUI=t.MenuUI=t.MenuTitleUI=t.MenuTitleSearchUI=t.MenuTitleActionsUI=t.MenuBackButtonUI=t.ItemUI=t.ItemTitleUI=t.ItemIconUI=t.ItemBaseUI=t.ItemBadgeUI=t.GroupTitleUI=void 0;var o=r(n(12272)),a=n(25150),i=n(92941),l=r(n(55932)),s=n(53314),u=n(44754),c=n(40455),d=n(36877),f=r(n(39429));const m=(0,o.default)("div",{target:"ejwewyf11"})("width:100%;box-sizing:border-box;padding:0 ",(0,d.space)(4),";overflow:hidden;");t.NavigationUI=m;const p=(0,o.default)("div",{target:"ejwewyf10"})("margin-top:",(0,d.space)(6),";margin-bottom:",(0,d.space)(6),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",(0,d.space)(6),";}.components-navigation__group+.components-navigation__group{margin-top:",(0,d.space)(6),";}");t.MenuUI=p;const v=(0,o.default)(l.default,{target:"ejwewyf9"})({name:"26l0q2",styles:"&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"});t.MenuBackButtonUI=v;const h=(0,o.default)("div",{target:"ejwewyf8"})({name:"1aubja5",styles:"overflow:hidden;width:100%"});t.MenuTitleUI=h;const g=(0,o.default)("span",{target:"ejwewyf7"})("height:",(0,d.space)(6),";.components-button.is-small{color:inherit;opacity:0.7;margin-right:",(0,d.space)(1),";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}");t.MenuTitleActionsUI=g;const b=(0,o.default)(f.default,{target:"ejwewyf6"})({name:"za3n3e",styles:"input[type='search'].components-search-control__input{margin:0;background:#303030;color:#fff;&:focus{background:#434343;color:#fff;}&::placeholder{color:rgba( 255, 255, 255, 0.6 );}}svg{fill:white;}.components-button.has-icon{padding:0;min-width:auto;}"});t.MenuTitleSearchUI=b;const y=(0,o.default)(u.Heading,{target:"ejwewyf5"})("min-height:",(0,d.space)(12),";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:",(0,d.space)(2),";padding:",(()=>(0,a.isRTL)()?`${(0,d.space)(1)} ${(0,d.space)(4)} ${(0,d.space)(1)} ${(0,d.space)(2)}`:`${(0,d.space)(1)} ${(0,d.space)(2)} ${(0,d.space)(1)} ${(0,d.space)(4)}`),";");t.GroupTitleUI=y;const _=(0,o.default)("li",{target:"ejwewyf4"})("border-radius:2px;color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:",(0,d.space)(2)," ",(0,d.space)(4),";",(0,c.rtl)({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:",i.COLORS.ui.theme,";color:",i.COLORS.white,";>button,>a{color:",i.COLORS.white,";opacity:1;}}>svg path{color:",i.COLORS.gray[600],";}");t.ItemBaseUI=_;const w=(0,o.default)("div",{target:"ejwewyf3"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",(0,d.space)(1.5)," ",(0,d.space)(4),";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;");t.ItemUI=w;const x=(0,o.default)("span",{target:"ejwewyf2"})("display:flex;margin-right:",(0,d.space)(2),";");t.ItemIconUI=x;const C=(0,o.default)("span",{target:"ejwewyf1"})("margin-left:",(()=>(0,a.isRTL)()?"0":(0,d.space)(2)),";margin-right:",(()=>(0,a.isRTL)()?(0,d.space)(2):"0"),";display:inline-flex;padding:",(0,d.space)(1)," ",(0,d.space)(3),";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}",(0,c.reduceMotion)("animation"),";");t.ItemBadgeUI=C;const E=(0,o.default)(s.Text,{target:"ejwewyf0"})((()=>(0,a.isRTL)()?"margin-left: auto;":"margin-right: auto;")," font-size:14px;line-height:20px;color:inherit;");t.ItemTitleUI=E},86630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCreateNavigationTree=void 0;var r=n(32847),o=n(65795);t.useCreateNavigationTree=()=>{const{nodes:e,getNode:t,addNode:n,removeNode:a}=(0,o.useNavigationTreeNodes)(),{nodes:i,getNode:l,addNode:s,removeNode:u}=(0,o.useNavigationTreeNodes)(),[c,d]=(0,r.useState)({}),f=(e,t)=>{const n=[];let r,o=[e];for(;o.length>0&&(r=l(o.shift()),!r||n.includes(r.menu)||(n.push(r.menu),o=[...o,...(a=r.menu,c[a]||[])],!1!==t(r))););var a};return{items:e,getItem:t,addItem:n,removeItem:a,menus:i,getMenu:l,addMenu:(e,t)=>{d((n=>{const r={...n};return r[t.parentMenu]||(r[t.parentMenu]=[]),r[t.parentMenu].push(e),r})),s(e,t)},removeMenu:u,childMenu:c,traverseMenu:f,isMenuEmpty:e=>{let t=!0;return f(e,(e=>{if(!e.isEmpty)return t=!1,!1})),t}}}},65795:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigationTreeNodes=void 0;var r=n(32847);t.useNavigationTreeNodes=()=>{const[e,t]=(0,r.useState)({});return{nodes:e,getNode:t=>e[t],addNode:(e,n)=>{const{children:r,...o}=n;return t((t=>({...t,[e]:o})))},removeNode:e=>t((t=>{const{[e]:n,...r}=t;return r}))}}},26733:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.normalizedSearch=t.normalizeInput=void 0;var o=r(n(68457));const a=e=>(0,o.default)(e).replace(/^\//,"").toLowerCase();t.normalizeInput=a,t.normalizedSearch=(e,t)=>-1!==a(e).indexOf(a(t))},91672:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigatorContext=void 0;const r=(0,n(32847).createContext)({location:{},goTo:()=>{},goBack:()=>{},goToParent:()=>{},addScreen:()=>{},removeScreen:()=>{},params:{}});t.NavigatorContext=r},33378:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorBackButton",{enumerable:!0,get:function(){return l.NavigatorBackButton}}),Object.defineProperty(t,"NavigatorButton",{enumerable:!0,get:function(){return i.NavigatorButton}}),Object.defineProperty(t,"NavigatorProvider",{enumerable:!0,get:function(){return o.NavigatorProvider}}),Object.defineProperty(t,"NavigatorScreen",{enumerable:!0,get:function(){return a.NavigatorScreen}}),Object.defineProperty(t,"NavigatorToParentButton",{enumerable:!0,get:function(){return s.NavigatorToParentButton}}),Object.defineProperty(t,"useNavigator",{enumerable:!0,get:function(){return u.default}});var o=n(83732),a=n(5486),i=n(69958),l=n(87775),s=n(14258),u=r(n(34460))},75536:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigatorBackButton=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(47106);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useNavigatorBackButton)(e);return(0,o.createElement)(l.View,(0,a.default)({ref:t},n))}),"NavigatorBackButton");t.NavigatorBackButton=u;var c=u;t.default=c},47106:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigatorBackButton=function(e){const{onClick:t,as:n=i.default,goToParent:r=!1,...s}=(0,a.useContextSystem)(e,"NavigatorBackButton"),{goBack:u,goToParent:c}=(0,l.default)();return{as:n,onClick:(0,o.useCallback)((e=>{e.preventDefault(),r?c():u(),null==t||t(e)}),[r,c,u,t]),...s}};var o=n(32847),a=n(98138),i=r(n(55932)),l=r(n(34460))},87775:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorBackButton",{enumerable:!0,get:function(){return o.default}});var o=r(n(75536))},56476:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigatorButton=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(4493);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useNavigatorButton)(e);return(0,o.createElement)(l.View,(0,a.default)({ref:t},n))}),"NavigatorButton");t.NavigatorButton=u;var c=u;t.default=c},4493:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useNavigatorButton=function(e){const{path:t,onClick:n,as:r=l.default,attributeName:c="id",...d}=(0,i.useContextSystem)(e,"NavigatorButton"),f=(0,a.escapeAttribute)(t),{goTo:m}=(0,s.default)();return{as:r,onClick:(0,o.useCallback)((e=>{e.preventDefault(),m(f,{focusTargetSelector:u(c,f)}),null==n||n(e)}),[m,n,c,f]),...d,[c]:f}};var o=n(32847),a=n(73550),i=n(98138),l=r(n(55932)),s=r(n(34460));const u=(e,t)=>`[${e}="${t}"]`},69958:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorButton",{enumerable:!0,get:function(){return o.default}});var o=r(n(56476))},54832:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigatorProvider=void 0;var o=n(32847),a=r(n(31304)),i=(n(18591),r(n(38187))),l=n(98138),s=n(7769),u=n(29640),c=n(91672),d=n(3908);function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"add":return[...e,t.screen];case"remove":return e.filter((e=>e.id!==t.screen.id))}return e}var m={name:"15bx5k",styles:"overflow-x:hidden"};const p=(0,l.contextConnect)((function(e,t){const{initialPath:n,children:r,className:p,...v}=(0,l.useContextSystem)(e,"NavigatorProvider"),[h,g]=(0,o.useState)([{path:n}]),b=(0,o.useRef)([]),[y,_]=(0,o.useReducer)(f,[]),w=(0,o.useRef)([]);(0,o.useEffect)((()=>{w.current=y}),[y]),(0,o.useEffect)((()=>{b.current=h}),[h]);const x=(0,o.useRef)(),C=(0,o.useMemo)((()=>{let e;if(0===h.length||void 0===(e=h[h.length-1].path))return void(x.current=void 0);const t=(e=>{const t=(0,d.patternMatch)(e,y);return x.current&&t&&(0,i.default)(t.params,x.current.params)&&t.id===x.current.id?x.current:t})(e);return x.current=t,t}),[y,h]),E=(0,o.useCallback)((e=>_({type:"add",screen:e})),[]),O=(0,o.useCallback)((e=>_({type:"remove",screen:e})),[]),S=(0,o.useCallback)((()=>{g((e=>e.length<=1?e:[...e.slice(0,-2),{...e[e.length-2],isBack:!0,hasRestoredFocus:!1}]))}),[]),M=(0,o.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{focusTargetSelector:n,isBack:r=!1,...o}=t;r&&b.current.length>1&&b.current[b.current.length-2].path===e?S():g((t=>{const a={...o,path:e,isBack:r,hasRestoredFocus:!1};return t.length<1?[a]:[...t.slice(t.length>49?1:0,-1),{...t[t.length-1],focusTargetSelector:n},a]}))}),[S]),P=(0,o.useCallback)((()=>{const e=b.current[b.current.length-1].path;if(void 0===e)return;const t=(0,d.findParent)(e,w.current);void 0!==t&&M(t,{isBack:!0})}),[M]),k=(0,o.useMemo)((()=>({location:{...h[h.length-1],isInitial:1===h.length},params:C?C.params:{},match:C?C.id:void 0,goTo:M,goBack:S,goToParent:P,addScreen:E,removeScreen:O})),[h,C,M,S,P,E,O]),j=(0,s.useCx)(),T=(0,o.useMemo)((()=>j(m,p)),[p,j]);return(0,o.createElement)(u.View,(0,a.default)({ref:t,className:T},v),(0,o.createElement)(c.NavigatorContext.Provider,{value:k},r))}),"NavigatorProvider");t.NavigatorProvider=p;var v=p;t.default=v},83732:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorProvider",{enumerable:!0,get:function(){return o.default}});var o=r(n(54832))},71334:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigatorScreen=void 0;var o=n(32847),a=r(n(31304)),i=n(65606),l=(n(18591),n(59201)),s=n(89029),u=n(25150),c=n(73550),d=n(98138),f=n(7769),m=n(29640),p=n(91672),v={name:"14x3t6z",styles:"overflow-x:auto;max-height:100%"};const h=(0,d.contextConnect)((function(e,t){const n=(0,o.useId)(),{children:r,className:h,path:g,...b}=(0,d.useContextSystem)(e,"NavigatorScreen"),y=(0,s.useReducedMotion)(),{location:_,match:w,addScreen:x,removeScreen:C}=(0,o.useContext)(p.NavigatorContext),E=w===n,O=(0,o.useRef)(null);(0,o.useEffect)((()=>{const e={id:n,path:(0,c.escapeAttribute)(g)};return x(e),()=>C(e)}),[n,g,x,C]);const S=(0,f.useCx)(),M=(0,o.useMemo)((()=>S(v,h)),[h,S]),P=(0,o.useRef)(_);(0,o.useEffect)((()=>{P.current=_}),[_]);const k=_.isInitial&&!_.isBack;(0,o.useEffect)((()=>{if(k||!E||!O.current||P.current.hasRestoredFocus)return;const e=O.current.ownerDocument.activeElement;if(O.current.contains(e))return;let t=null;if(_.isBack&&null!=_&&_.focusTargetSelector&&(t=O.current.querySelector(_.focusTargetSelector)),!t){const e=l.focus.tabbable.find(O.current)[0];t=null!=e?e:O.current}P.current.hasRestoredFocus=!0,t.focus()}),[k,E,_.isBack,_.focusTargetSelector]);const j=(0,s.useMergeRefs)([t,O]);if(!E)return null;if(y)return(0,o.createElement)(m.View,(0,a.default)({ref:j,className:M},b),r);const T={opacity:0,x:(0,u.isRTL)()&&_.isBack||!(0,u.isRTL)()&&!_.isBack?50:-50},I={animate:{opacity:1,transition:{delay:0,duration:.14,ease:"easeInOut"},x:0},exit:{delay:0,opacity:0,x:!(0,u.isRTL)()&&_.isBack||(0,u.isRTL)()&&!_.isBack?50:-50,transition:{duration:.14,ease:"easeInOut"}},initial:T};return(0,o.createElement)(i.motion.div,(0,a.default)({ref:j,className:M},b,I),r)}),"NavigatorScreen");t.NavigatorScreen=h;var g=h;t.default=g},5486:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorScreen",{enumerable:!0,get:function(){return o.default}});var o=r(n(71334))},3058:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NavigatorToParentButton=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(47106);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useNavigatorBackButton)({...e,goToParent:!0});return(0,o.createElement)(l.View,(0,a.default)({ref:t},n))}),"NavigatorToParentButton");t.NavigatorToParentButton=u;var c=u;t.default=c},14258:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigatorToParentButton",{enumerable:!0,get:function(){return o.default}});var o=r(n(3058))},34460:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(91672);t.default=function(){const{location:e,params:t,goTo:n,goBack:a,goToParent:i}=(0,r.useContext)(o.NavigatorContext);return{location:e,goTo:n,goBack:a,goToParent:i,params:t}}},3908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findParent=function(e,t){if(!e.startsWith("/"))return;const n=e.split("/");let r;for(;n.length>1&&void 0===r;){n.pop();const e=""===n.join("/")?"/":n.join("/");t.find((t=>!1!==o(e,t.path)))&&(r=e)}return r},t.patternMatch=function(e,t){for(const n of t){const t=o(e,n.path);if(t)return{params:t.params,id:n.id}}};var r=n(95997);function o(e,t){return(0,r.match)(t,{decode:decodeURIComponent})(e)}},75574:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(25150),l=n(38384),s=n(58446),u=r(n(55932));const c=()=>{};function d(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}t.default=function(e){let{className:t,status:n="info",children:r,spokenMessage:f=r,onRemove:m=c,isDismissible:p=!0,actions:v=[],politeness:h=d(n),__unstableHTML:g,onDismiss:b=c}=e;!function(e,t){const n="string"==typeof e?e:(0,o.renderToString)(e);(0,o.useEffect)((()=>{n&&(0,l.speak)(n,t)}),[n,t])}(f,h);const y=(0,a.default)(t,"components-notice","is-"+n,{"is-dismissible":p});return g&&"string"==typeof r&&(r=(0,o.createElement)(o.RawHTML,null,r)),(0,o.createElement)("div",{className:y},(0,o.createElement)("div",{className:"components-notice__content"},r,(0,o.createElement)("div",{className:"components-notice__actions"},v.map(((e,t)=>{let{className:n,label:r,isPrimary:i,variant:l,noDefaultClasses:s=!1,onClick:c,url:d}=e,f=l;return"primary"===l||s||(f=d?"link":"secondary"),void 0===f&&i&&(f="primary"),(0,o.createElement)(u.default,{key:t,href:d,variant:f,onClick:d?void 0:c,className:(0,a.default)("components-notice__action",n)},r)})))),p&&(0,o.createElement)(u.default,{className:"components-notice__dismiss",icon:s.close,label:(0,i.__)("Dismiss this notice"),onClick:e=>{var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),b(),m()},showTooltip:!1}))}},27121:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(75574));const s=()=>{};t.default=function(e){let{notices:t,onRemove:n=s,className:r,children:u}=e;return r=(0,i.default)("components-notice-list",r),(0,o.createElement)("div",{className:r},u,[...t].reverse().map((e=>{const{content:t,...r}=e;return(0,o.createElement)(l.default,(0,a.default)({},r,{key:e.id,onRemove:(i=e.id,()=>n(i))}),e.content);var i})))}},5838:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NumberControl=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(58446),u=n(89029),c=r(n(6777)),d=n(44758),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(49129)),m=n(72337),p=n(39984),v=n(44384),h=n(87268);function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}const b=()=>{},y=(0,o.forwardRef)((function(e,t){let{__unstableStateReducer:n,className:r,dragDirection:g="n",hideHTMLArrows:y=!1,spinControls:_="native",isDragEnabled:w=!0,isShiftStepEnabled:x=!0,label:C,max:E=1/0,min:O=-1/0,required:S=!1,shiftStep:M=10,step:P=1,type:k="number",value:j,size:T="default",suffix:I,onChange:N=b,...R}=e;y&&((0,c.default)("wp.components.NumberControl hideHTMLArrows prop ",{alternative:'spinControls="none"',since:"6.2",version:"6.3"}),_="none");const L=(0,o.useRef)(),D=(0,u.useMergeRefs)([L,t]),V="any"===P,B=V?1:(0,p.ensureNumber)(P),A=(0,m.roundClamp)(0,O,E,B),z=(e,t)=>V?Math.min(E,Math.max(O,(0,p.ensureNumber)(e))):(0,m.roundClamp)(e,O,E,null!=t?t:B),H="number"===k?"off":void 0,F=(0,i.default)("components-number-control",r),W=(e,t,n)=>{null==n||n.preventDefault();const r=(null==n?void 0:n.shiftKey)&&x,o=r?(0,p.ensureNumber)(M)*B:B;let a=(0,p.isValueEmpty)(e)?A:e;return"up"===t?a=(0,m.add)(a,o):"down"===t&&(a=(0,m.subtract)(a,o)),z(a,r?o:void 0)},Z=e=>t=>N(String(W(j,e,t)),{event:{...t,target:L.current}});return(0,o.createElement)(d.Input,(0,a.default)({autoComplete:H,inputMode:"numeric"},R,{className:F,dragDirection:g,hideHTMLArrows:"native"!==_,isDragEnabled:w,label:C,max:E,min:O,ref:D,required:S,step:P,type:k,value:j,__unstableStateReducer:(e,t)=>{var r;const o=((e,t)=>{const n={...e},{type:r,payload:o}=t,a=o.event,i=n.value;if(r!==f.PRESS_UP&&r!==f.PRESS_DOWN||(n.value=W(i,r===f.PRESS_UP?"up":"down",a)),r===f.DRAG&&w){const[e,t]=o.delta,r=o.shiftKey&&x,a=r?(0,p.ensureNumber)(M)*B:B;let s,u;switch(g){case"n":u=t,s=-1;break;case"e":u=e,s=(0,l.isRTL)()?-1:1;break;case"s":u=t,s=1;break;case"w":u=e,s=(0,l.isRTL)()?1:-1}if(0!==u){u=Math.ceil(Math.abs(u))*Math.sign(u);const e=u*a*s;n.value=z((0,m.add)(i,e),r?a:void 0)}}if(r===f.PRESS_ENTER||r===f.COMMIT){const e=!1===S&&""===i;n.value=e?i:z(i)}return n})(e,t);return null!==(r=null==n?void 0:n(o,t))&&void 0!==r?r:o},size:T,suffix:"custom"===_?(0,o.createElement)(o.Fragment,null,I,(0,o.createElement)(h.Spacer,{marginBottom:0,marginRight:2},(0,o.createElement)(v.HStack,{spacing:1},(0,o.createElement)(d.SpinButton,{icon:s.plus,isSmall:!0,"aria-hidden":"true","aria-label":(0,l.__)("Increment"),tabIndex:-1,onClick:Z("up"),size:T}),(0,o.createElement)(d.SpinButton,{icon:s.reset,isSmall:!0,"aria-hidden":"true","aria-label":(0,l.__)("Decrement"),tabIndex:-1,onClick:Z("down"),size:T})))):I,onChange:N}))}));t.NumberControl=y;var _=y;t.default=_},44758:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.SpinButton=t.Input=void 0;var o=r(n(12272)),a=n(18591),i=r(n(97115)),l=n(40455),s=r(n(55932)),u=n(36877),c={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const d=(0,o.default)(i.default,{target:"ep09it41"})((e=>{let{hideHTMLArrows:t}=e;return t?c:""}),";");t.Input=d;const f=(0,o.default)(s.default,{target:"ep09it40"})("&&&&&{color:",l.COLORS.ui.theme,";",(e=>{let{size:t}=e;return"small"!==t?"":(0,a.css)("width:",(0,u.space)(5),";min-width:",(0,u.space)(5),";height:",(0,u.space)(5),";","")}),";}");t.SpinButton=f},14308:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{gradients:t,colors:n=T,onChange:r,paletteLabel:a,paletteLabelHeadingLevel:d=2,emptyMessage:f,canOnlyChangeValues:m,canReset:p,slugPrefix:v=""}=e;const y=!!t,C=y?t:n,[O,P]=(0,o.useState)(!1),[k,I]=(0,o.useState)(null),N=O&&k&&C[k]&&!C[k].slug,R=C.length>0,L=(0,u.useDebounce)(r,100),D=(0,o.useCallback)(((e,t)=>{const n=C[t];n&&n[y?"gradient":"color"]===e?I(t):P(!0)}),[y,C]);return(0,o.createElement)(_.PaletteEditStyles,null,(0,o.createElement)(_.PaletteHStackHeader,null,(0,o.createElement)(_.PaletteHeading,{level:d},a),(0,o.createElement)(_.PaletteActionsContainer,null,R&&O&&(0,o.createElement)(_.DoneButton,{isSmall:!0,onClick:()=>{P(!1),I(null)}},(0,l.__)("Done")),!m&&(0,o.createElement)(c.default,{isSmall:!0,isPressed:N,icon:s.plus,label:y?(0,l.__)("Add gradient"):(0,l.__)("Add color"),onClick:()=>{const e=S(C,v);r([...C,{...y?{gradient:x.DEFAULT_GRADIENT}:{color:E},name:e,slug:v+(0,i.kebabCase)(e)}]),P(!0),I(C.length)}}),R&&(!O||!m||p)&&(0,o.createElement)(b.default,{icon:s.moreVertical,label:y?(0,l.__)("Gradient options"):(0,l.__)("Color options"),toggleProps:{isSmall:!0}},(e=>{let{onClose:t}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(w.NavigableMenu,{role:"menu"},!O&&(0,o.createElement)(c.default,{variant:"tertiary",onClick:()=>{P(!0),t()},className:"components-palette-edit__menu-button"},(0,l.__)("Show details")),!m&&(0,o.createElement)(c.default,{variant:"tertiary",onClick:()=>{I(null),P(!1),r(),t()},className:"components-palette-edit__menu-button"},y?(0,l.__)("Remove all gradients"):(0,l.__)("Remove all colors")),p&&(0,o.createElement)(c.default,{variant:"tertiary",onClick:()=>{I(null),r(),t()}},y?(0,l.__)("Reset gradient"):(0,l.__)("Reset colors"))))})))),R&&(0,o.createElement)(o.Fragment,null,O&&(0,o.createElement)(j,{canOnlyChangeValues:m,elements:C,onChange:r,editingElement:k,setEditingElement:I,slugPrefix:v,isGradient:y}),!O&&null!==k&&(0,o.createElement)(M,{isGradient:y,onClose:()=>I(null),onChange:e=>{L(C.map(((t,n)=>n===k?e:t)))},element:C[k]}),!O&&(y?(0,o.createElement)(h.default,{__nextHasNoMargin:!0,gradients:t,onChange:D,clearable:!1,disableCustomGradients:!0}):(0,o.createElement)(g.default,{colors:n,onChange:D,clearable:!1,disableCustomColors:!0}))),!R&&f)},t.getNameForPosition=S;var o=n(32847),a=r(n(31304)),i=n(61888),l=n(25150),s=n(58446),u=n(89029),c=r(n(55932)),d=n(1478),f=n(53753),m=n(44384),p=n(48824),v=n(74618),h=r(n(51268)),g=r(n(92950)),b=r(n(15830)),y=r(n(87059)),_=n(27796),w=n(40417),x=n(38057),C=r(n(26410));const E="#000";function O(e){let{value:t,onChange:n,label:r}=e;return(0,o.createElement)(_.NameInputControl,{label:r,hideLabelFromVision:!0,value:t,onChange:n})}function S(e,t){const n=new RegExp(`^${t}color-([\\d]+)$`),r=e.reduce(((e,t)=>{if("string"==typeof(null==t?void 0:t.slug)){const r=null==t?void 0:t.slug.match(n);if(r){const t=parseInt(r[1],10);if(t>=e)return t+1}}return e}),1);return(0,l.sprintf)((0,l.__)("Color %s"),r)}function M(e){let{isGradient:t,element:n,onChange:r,onClose:a=(()=>{})}=e;return(0,o.createElement)(y.default,{placement:"left-start",offset:20,className:"components-palette-edit__popover",onClose:a},!t&&(0,o.createElement)(d.ColorPicker,{color:n.color,enableAlpha:!0,onChange:e=>r({...n,color:e})}),t&&(0,o.createElement)("div",{className:"components-palette-edit__popover-gradient-picker"},(0,o.createElement)(C.default,{__nextHasNoMargin:!0,__experimentalIsRenderedInSidebar:!0,value:n.gradient,onChange:e=>r({...n,gradient:e})})))}function P(e){let{canOnlyChangeValues:t,element:n,onChange:r,isEditing:c,onStartEditing:d,onRemove:p,onStopEditing:v,slugPrefix:h,isGradient:g}=e;const b=(0,u.__experimentalUseFocusOutside)(v),y=g?n.gradient:n.color;return(0,o.createElement)(_.PaletteItem,(0,a.default)({className:c?"is-selected":void 0,as:"div",onClick:d},c?{...b}:{style:{cursor:"pointer"}}),(0,o.createElement)(m.HStack,{justify:"flex-start"},(0,o.createElement)(f.FlexItem,null,(0,o.createElement)(_.IndicatorStyled,{style:{background:y,color:"transparent"}})),(0,o.createElement)(f.FlexItem,null,c&&!t?(0,o.createElement)(O,{label:g?(0,l.__)("Gradient name"):(0,l.__)("Color name"),value:n.name,onChange:e=>r({...n,name:e,slug:h+(0,i.kebabCase)(e)})}):(0,o.createElement)(_.NameContainer,null,n.name)),c&&!t&&(0,o.createElement)(f.FlexItem,null,(0,o.createElement)(_.RemoveButton,{isSmall:!0,icon:s.lineSolid,label:(0,l.__)("Remove color"),onClick:p}))),c&&(0,o.createElement)(M,{isGradient:g,onChange:r,element:n}))}function k(e,t){let{slug:n,color:r,gradient:o}=t;return new RegExp(`^${e}color-([\\d]+)$`).test(n)&&(!!r&&r===E||!!o&&o===x.DEFAULT_GRADIENT)}function j(e){let{elements:t,onChange:n,editingElement:r,setEditingElement:a,canOnlyChangeValues:i,slugPrefix:l,isGradient:s}=e;const c=(0,o.useRef)();(0,o.useEffect)((()=>{c.current=t}),[t]),(0,o.useEffect)((()=>()=>{if(c.current.some(((e,t)=>k(l,e)))){const e=c.current.filter((e=>!k(l,e)));n(e.length?e:void 0)}}),[]);const d=(0,u.useDebounce)(n,100);return(0,o.createElement)(v.VStack,{spacing:3},(0,o.createElement)(p.ItemGroup,{isRounded:!0},t.map(((e,u)=>(0,o.createElement)(P,{isGradient:s,canOnlyChangeValues:i,key:u,element:e,onStartEditing:()=>{r!==u&&a(u)},onChange:e=>{d(t.map(((t,n)=>n===u?e:t)))},onRemove:()=>{a(null);const e=t.filter(((e,t)=>t!==u));n(e.length?e:void 0)},isEditing:u===r,onStopEditing:()=>{u===r&&a(null)},slugPrefix:l})))))}const T=[]},27796:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButton=t.PaletteItem=t.PaletteHeading=t.PaletteHStackHeader=t.PaletteEditStyles=t.PaletteActionsContainer=t.NameInputControl=t.NameContainer=t.IndicatorStyled=t.DoneButton=void 0;var o=r(n(12272)),a=r(n(55932)),i=n(44754),l=n(44384),s=n(36877),u=n(40455),c=n(29640),d=r(n(97115)),f=n(75882),m=r(n(32137));const p=(0,o.default)(m.default.Option,{target:"e5bw3229"})("width:",(0,s.space)(6),";height:",(0,s.space)(6),";pointer-events:none;");t.IndicatorStyled=p;const v=(0,o.default)(d.default,{target:"e5bw3228"})(f.Container,"{background:",u.COLORS.gray[100],";border-radius:",u.CONFIG.controlBorderRadius,";",f.Input,f.Input,f.Input,f.Input,"{height:",(0,s.space)(8),";}",f.BackdropUI,f.BackdropUI,f.BackdropUI,"{border-color:transparent;box-shadow:none;}}");t.NameInputControl=v;const h=(0,o.default)(c.View,{target:"e5bw3227"})("padding:3px 0 3px ",(0,s.space)(3),";height:calc( 40px - ",u.CONFIG.borderWidth," );border:1px solid ",u.CONFIG.surfaceBorderColor,";border-bottom-color:transparent;&:first-of-type{border-top-left-radius:",u.CONFIG.controlBorderRadius,";border-top-right-radius:",u.CONFIG.controlBorderRadius,";}&:last-of-type{border-bottom-left-radius:",u.CONFIG.controlBorderRadius,";border-bottom-right-radius:",u.CONFIG.controlBorderRadius,";border-bottom-color:",u.CONFIG.surfaceBorderColor,";}&.is-selected+&{border-top-color:transparent;}&.is-selected{border-color:",u.COLORS.ui.theme,";}");t.PaletteItem=h;const g=(0,o.default)("div",{target:"e5bw3226"})("line-height:",(0,s.space)(8),";margin-left:",(0,s.space)(2),";margin-right:",(0,s.space)(2),";white-space:nowrap;overflow:hidden;",h,":hover &{color:",u.COLORS.ui.theme,";}");t.NameContainer=g;const b=(0,o.default)(i.Heading,{target:"e5bw3225"})("text-transform:uppercase;line-height:",(0,s.space)(6),";font-weight:500;&&&{font-size:11px;margin-bottom:0;}");t.PaletteHeading=b;const y=(0,o.default)(c.View,{target:"e5bw3224"})("height:",(0,s.space)(6),";display:flex;");t.PaletteActionsContainer=y;const _=(0,o.default)(l.HStack,{target:"e5bw3223"})("margin-bottom:",(0,s.space)(2),";");t.PaletteHStackHeader=_;const w=(0,o.default)(c.View,{target:"e5bw3222"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"});t.PaletteEditStyles=w;const x=(0,o.default)(a.default,{target:"e5bw3221"})("&&{color:",u.COLORS.ui.theme,";}");t.DoneButton=x;const C=(0,o.default)(a.default,{target:"e5bw3220"})("&&{margin-top:",(0,s.space)(1),";}");t.RemoveButton=C},75699:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.PanelBody=m,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=n(58446),u=r(n(55932)),c=r(n(72818)),d=n(40455);const f=()=>{};function m(e,t){let{buttonProps:n={},children:r,className:s,icon:u,initialOpen:c,onToggle:m=f,opened:v,title:h,scrollAfterOpen:g=!0}=e;const[b,y]=(0,d.useControlledState)(v,{initial:void 0===c||c}),_=(0,o.useRef)(),w=(0,l.useReducedMotion)()?"auto":"smooth",x=(0,o.useRef)();x.current=g,(0,d.useUpdateEffect)((()=>{var e;b&&x.current&&null!==(e=_.current)&&void 0!==e&&e.scrollIntoView&&_.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:w})}),[b,w]);const C=(0,i.default)("components-panel__body",s,{"is-opened":b});return(0,o.createElement)("div",{className:C,ref:(0,l.useMergeRefs)([_,t])},(0,o.createElement)(p,(0,a.default)({icon:u,isOpened:b,onClick:e=>{e.preventDefault();const t=!b;y(t),m(t)},title:h},n)),"function"==typeof r?r({opened:b}):b&&r)}const p=(0,o.forwardRef)(((e,t)=>{let{isOpened:n,icon:r,title:i,...l}=e;return i?(0,o.createElement)("h2",{className:"components-panel__body-title"},(0,o.createElement)(u.default,(0,a.default)({className:"components-panel__body-toggle","aria-expanded":n,ref:t},l),(0,o.createElement)("span",{"aria-hidden":"true"},(0,o.createElement)(c.default,{className:"components-panel__arrow",icon:n?s.chevronUp:s.chevronDown})),i,r&&(0,o.createElement)(c.default,{icon:r,className:"components-panel__icon",size:20}))):null})),v=(0,o.forwardRef)(m);v.displayName="PanelBody";var h=v;t.default=h},72964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847);t.default=function(e){let{label:t,children:n}=e;return(0,r.createElement)("div",{className:"components-panel__header"},t&&(0,r.createElement)("h2",null,t),n)}},59491:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Panel=void 0;var o=n(32847),a=r(n(26372)),i=r(n(72964));const l=(0,o.forwardRef)((function(e,t){let{header:n,className:r,children:l}=e;const s=(0,a.default)(r,"components-panel");return(0,o.createElement)("div",{className:s,ref:t},n&&(0,o.createElement)(i.default,{label:n}),l)}));t.Panel=l;var s=l;t.default=s},36539:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PanelRow=void 0;var o=n(32847),a=r(n(26372));const i=(0,o.forwardRef)((function(e,t){let{className:n,children:r}=e;return(0,o.createElement)("div",{className:(0,a.default)("components-panel__row",n),ref:t},r)}));t.PanelRow=i;var l=i;t.default=l},78058:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Placeholder=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=n(62682),u=r(n(72818));const c=(0,o.createElement)(s.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none"},(0,o.createElement)(s.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"}));function d(e){const{icon:t,children:n,label:r,instructions:s,className:d,notices:f,preview:m,isColumnLayout:p,withIllustration:v,...h}=e,[g,{width:b}]=(0,l.useResizeObserver)();let y;"number"==typeof b&&(y={"is-large":b>=480,"is-medium":b>=160&&b<480,"is-small":b<160});const _=(0,i.default)("components-placeholder",d,y,v?"has-illustration":null),w=(0,i.default)("components-placeholder__fieldset",{"is-column-layout":p});return(0,o.createElement)("div",(0,a.default)({},h,{className:_}),v?c:null,g,f,m&&(0,o.createElement)("div",{className:"components-placeholder__preview"},m),(0,o.createElement)("div",{className:"components-placeholder__label"},(0,o.createElement)(u.default,{icon:t}),r),(0,o.createElement)("fieldset",{className:w},!!s&&(0,o.createElement)("legend",{className:"components-placeholder__instructions"},s),n))}var f=d;t.default=f},87059:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Popover=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(73676),s=n(65606),u=n(89029),c=n(58446),d=r(n(6777)),f=n(62682),m=n(59201),p=r(n(55932)),v=r(n(50993)),h=n(16361),g=n(28655),b=n(45677),y=n(30634);const _="Popover",w=()=>(0,o.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation"},(0,o.createElement)(f.Path,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,o.createElement)(f.Path,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})),x=(0,o.forwardRef)(((e,t)=>{let{style:n,placement:r,shouldAnimate:i=!1,...l}=e;const[u,c]=(0,o.useState)(!1),d=(0,s.useReducedMotion)(),{style:f,...m}=(0,o.useMemo)((()=>(0,g.placementToMotionAnimationProps)(r)),[r]),p=(0,o.useCallback)((()=>c(!0)),[]),v=i&&!d?{style:{...f,...n},...m,onAnimationComplete:p,animate:!u&&m.animate}:{animate:!1,style:n};return(0,o.createElement)(s.motion.div,(0,a.default)({},v,l,{ref:t}))})),C=(0,o.createContext)(void 0),E=(0,o.forwardRef)(((e,t)=>{var n,r,s,f;const{animate:E=!0,headerTitle:O,onClose:S,children:M,className:P,noArrow:k=!0,position:j,placement:T="bottom-start",offset:I=0,focusOnMount:N="firstElement",anchor:R,expandOnMobile:L,onFocusOutside:D,__unstableSlotName:V=_,flip:B=!0,resize:A=!0,shift:z=!1,variant:H,__unstableForcePosition:F,anchorRef:W,anchorRect:Z,getAnchorRect:$,isAlternate:U,...G}=e;let Y=B,q=A;void 0!==F&&((0,d.default)("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),Y=!F,q=!F),void 0!==W&&(0,d.default)("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==Z&&(0,d.default)("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==$&&(0,d.default)("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});const K=U?"toolbar":H;void 0!==U&&(0,d.default)("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});const X=(0,o.useRef)(null),[Q,J]=(0,o.useState)(null),[ee,te]=(0,o.useState)(),ne=(0,o.useCallback)((e=>{J(e)}),[]),re=(0,u.useViewportMatch)("medium","<"),oe=L&&re,ae=!oe&&!k,ie=j?(0,g.positionToPlacement)(j):T,le=(0,o.useRef)((0,g.getFrameOffset)(ee)),se=[..."overlay"===T?(0,y.overlayMiddlewares)():[],{name:"frameOffset",fn(e){let{x:t,y:n}=e;return le.current?{x:t+le.current.x,y:n+le.current.y,data:{amount:le.current}}:{x:t,y:n}}},(0,l.offset)(I),Y?(0,l.flip)():void 0,q?(0,l.size)({apply(e){var t;const{firstElementChild:n}=null!==(t=be.floating.current)&&void 0!==t?t:{};n instanceof HTMLElement&&Object.assign(n.style,{maxHeight:`${e.availableHeight}px`,overflow:"auto"})}}):void 0,z?(0,l.shift)({crossAxis:!0,limiter:(0,b.limitShift)(),padding:1}):void 0,(0,l.arrow)({element:X})].filter((e=>void 0!==e)),ue=(0,o.useContext)(C)||V,ce=(0,h.useSlot)(ue);let de;(S||D)&&(de=(e,t)=>{"focus-outside"===e&&D?D(t):S&&S()});const[fe,me]=(0,u.__experimentalUseDialog)({focusOnMount:N,__unstableOnClose:de,onClose:de}),{x:pe,y:ve,reference:he,floating:ge,refs:be,strategy:ye,update:_e,placement:we,middlewareData:{arrow:xe}}=(0,l.useFloating)({placement:"overlay"===ie?void 0:ie,middleware:se,whileElementsMounted:(e,t,n)=>(0,l.autoUpdate)(e,t,n,{animationFrame:!0})}),Ce=(0,o.useCallback)((e=>{X.current=e,_e()}),[_e]),Ee=null==W?void 0:W.top,Oe=null==W?void 0:W.bottom,Se=null==W?void 0:W.startContainer,Me=null==W?void 0:W.current;(0,o.useLayoutEffect)((()=>{const e=(0,g.getReferenceOwnerDocument)({anchor:R,anchorRef:W,anchorRect:Z,getAnchorRect:$,fallbackReferenceElement:Q,fallbackDocument:document}),t=(0,g.getFrameScale)(e),n=(0,g.getReferenceElement)({anchor:R,anchorRef:W,anchorRect:Z,getAnchorRect:$,fallbackReferenceElement:Q,scale:t});he(n),te(e)}),[R,W,Ee,Oe,Se,Me,Z,$,Q,he]),(0,o.useLayoutEffect)((()=>{var e,t;if(ee===document||ee===(null===(e=be.floating.current)||void 0===e?void 0:e.ownerDocument)||null==ee||null===(t=ee.defaultView)||void 0===t||!t.frameElement)return void(le.current=void 0);const{defaultView:n}=ee,{frameElement:r}=n,o=r?(0,m.getScrollContainer)(r):null,a=()=>{le.current=(0,g.getFrameOffset)(ee),_e()};return n.addEventListener("resize",a),null==o||o.addEventListener("scroll",a),a(),()=>{n.removeEventListener("resize",a),null==o||o.removeEventListener("scroll",a)}}),[ee,_e,be.floating]);const Pe=(0,u.useMergeRefs)([ge,fe,t]);let ke=(0,o.createElement)(x,(0,a.default)({shouldAnimate:E&&!oe,placement:we,className:(0,i.default)("components-popover",P,{"is-expanded":oe,"is-positioned":null!==pe&&null!==ve,[`is-${"toolbar"===K?"alternate":K}`]:K})},G,{ref:Pe},me,{tabIndex:-1,style:oe?void 0:{position:ye,top:0,left:0,x:Math.round(null!=pe?pe:0)||void 0,y:Math.round(null!=ve?ve:0)||void 0}}),oe&&(0,o.createElement)(v.default,null),oe&&(0,o.createElement)("div",{className:"components-popover__header"},(0,o.createElement)("span",{className:"components-popover__header-title"},O),(0,o.createElement)(p.default,{className:"components-popover__close",icon:c.close,onClick:S})),(0,o.createElement)("div",{className:"components-popover__content"},M),ae&&(0,o.createElement)("div",{ref:Ce,className:["components-popover__arrow",`is-${we.split("-")[0]}`].join(" "),style:{left:void 0!==(null==xe?void 0:xe.x)&&Number.isFinite(xe.x)?`${xe.x+(null!==(n=null===(r=le.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)}px`:"",top:void 0!==(null==xe?void 0:xe.y)&&Number.isFinite(xe.y)?`${xe.y+(null!==(s=null===(f=le.current)||void 0===f?void 0:f.y)&&void 0!==s?s:0)}px`:""}},(0,o.createElement)(w,null)));return ce.ref&&(ke=(0,o.createElement)(h.Fill,{name:ue},ke)),W||Z||R?ke:(0,o.createElement)("span",{ref:ne},ke)}));t.Popover=E,E.Slot=(0,o.forwardRef)((function(e,t){let{name:n=_}=e;return(0,o.createElement)(h.Slot,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),E.__unstableSlotNameProvider=C.Provider;var O=E;t.default=O},45677:function(e,t){"use strict";function n(e){return e.split("-")[0]}Object.defineProperty(t,"__esModule",{value:!0}),t.limitShift=void 0,t.limitShift=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{options:e,fn(t){var r;const{x:o,y:a,placement:i,rects:l,middlewareData:s}=t,{offset:u=0,mainAxis:c=!0,crossAxis:d=!0}=e,f={x:o,y:a},m=function(e){return["top","bottom"].includes(n(e))?"x":"y"}(i),p="x"===m?"y":"x";let v=f[m],h=f[p];const g="function"==typeof u?u(t):u,b="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g},y={x:0,y:0,...null===(r=s.frameOffset)||void 0===r?void 0:r.amount};if(c){const e="y"===m?"height":"width",t=l.reference[m]-l.floating[e]+b.mainAxis+y[m],n=l.reference[m]+l.reference[e]-b.mainAxis+y[m];v<t?v=t:v>n&&(v=n)}if(d){var _,w,x,C;const e="y"===m?"width":"height",t=["top","left"].includes(n(i)),r=l.reference[p]-l.floating[e]+(t&&null!==(_=null===(w=s.offset)||void 0===w?void 0:w[p])&&void 0!==_?_:0)+(t?0:b.crossAxis)+y[p],o=l.reference[p]+l.reference[e]+(t?0:null!==(x=null===(C=s.offset)||void 0===C?void 0:C[p])&&void 0!==x?x:0)-(t?b.crossAxis:0)+y[p];h<r?h=r:h>o&&(h=o)}return{[m]:v,[p]:h}}}}},30634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overlayMiddlewares=function(){return[{name:"overlay",fn(e){let{rects:t}=e;return t.reference}},(0,r.size)({apply(e){var t;let{rects:n,elements:r}=e;const{firstElementChild:o}=null!==(t=r.floating)&&void 0!==t?t:{};o instanceof HTMLElement&&Object.assign(o.style,{width:`${n.reference.width}px`,height:`${n.reference.height}px`})}})]};var r=n(73676)},28655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.positionToPlacement=t.placementToMotionAnimationProps=t.getReferenceOwnerDocument=t.getReferenceElement=t.getFrameScale=t.getFrameOffset=void 0;const n={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"};t.positionToPlacement=e=>{var t;return null!==(t=n[e])&&void 0!==t?t:"bottom"};const r={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}};t.placementToMotionAnimationProps=e=>{const t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",n=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:r[e],initial:{opacity:0,scale:0,[t]:2*n+"em"},animate:{opacity:1,scale:1,[t]:0},transition:{duration:.1,ease:[0,0,.2,1]}}},t.getFrameOffset=e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return;const r=n.getBoundingClientRect();return{x:r.left,y:r.top}},t.getFrameScale=e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return{x:1,y:1};const r=n.getBoundingClientRect();return{x:r.width/n.offsetWidth,y:r.height/n.offsetHeight}},t.getReferenceOwnerDocument=e=>{var t;let n,{anchor:r,anchorRef:o,anchorRect:a,getAnchorRect:i,fallbackReferenceElement:l,fallbackDocument:s}=e;if(r)n=r.ownerDocument;else if(null!=o&&o.top)n=null==o?void 0:o.top.ownerDocument;else if(null!=o&&o.startContainer)n=o.startContainer.ownerDocument;else if(null!=o&&o.current)n=o.current.ownerDocument;else if(o)n=o.ownerDocument;else if(a&&null!=a&&a.ownerDocument)n=a.ownerDocument;else if(i){var u;n=null===(u=i(l))||void 0===u?void 0:u.ownerDocument}return null!==(t=n)&&void 0!==t?t:s},t.getReferenceElement=e=>{var t;let{anchor:n,anchorRef:r,anchorRect:o,getAnchorRect:a,fallbackReferenceElement:i,scale:l}=e,s=null;if(n?s=n:null!=r&&r.top?s={getBoundingClientRect(){const e=r.top.getBoundingClientRect(),t=r.bottom.getBoundingClientRect();return new window.DOMRect(e.x,e.y,e.width,t.bottom-e.top)}}:null!=r&&r.current?s=r.current:r?s=r:o?s={getBoundingClientRect(){return o}}:a?s={getBoundingClientRect(){var e,t,n,r;const o=a(i);return new window.DOMRect(null!==(e=o.x)&&void 0!==e?e:o.left,null!==(t=o.y)&&void 0!==t?t:o.top,null!==(n=o.width)&&void 0!==n?n:o.right-o.left,null!==(r=o.height)&&void 0!==r?r:o.bottom-o.top)}}:i&&(s=i.parentElement),s&&(1!==l.x||1!==l.y)){const e=s.getBoundingClientRect();s={getBoundingClientRect(){return new window.DOMRect(e.x*l.x,e.y*l.y,e.width*l.x,e.height*l.y)}}}return null!==(t=s)&&void 0!==t?t:null}},70048:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.unlock=t.privateApis=t.lock=void 0;var o=n(90093),a=r(n(63366)),i=n(28655);const{lock:l,unlock:s}=(0,o.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.","@wordpress/components");t.unlock=s,t.lock=l;const u={};t.privateApis=u,l(u,{CustomSelectControl:a.default,__experimentalPopoverLegacyPositionToPlacement:i.positionToPlacement})},97071:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{label:t,noOptionLabel:n,authorList:r,selectedAuthorId:l,onChange:s}=e;if(!r)return null;const u=(0,a.buildTermsTree)(r);return(0,o.createElement)(i.default,{label:t,noOptionLabel:n,onChange:s,tree:u,selectedId:void 0!==l?String(l):void 0})};var o=n(32847),a=n(5406),i=r(n(52019))},81364:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{label:t,noOptionLabel:n,categoriesList:r,selectedCategoryId:s,onChange:u,...c}=e;const d=(0,o.useMemo)((()=>(0,i.buildTermsTree)(r)),[r]);return(0,o.createElement)(l.default,(0,a.default)({label:t,noOptionLabel:n,onChange:u,tree:d,selectedId:void 0!==s?String(s):void 0},c))};var o=n(32847),a=r(n(31304)),i=n(5406),l=r(n(52019))},58595:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.QueryControls=h,t.default=void 0;var o=n(32847),a=n(25150),i=r(n(97071)),l=r(n(81364)),s=r(n(77985)),u=r(n(96484)),c=r(n(13719));const d=1,f=100,m=20;function p(e){return"categoriesList"in e}function v(e){return"categorySuggestions"in e}function h(e){let{authorList:t,selectedAuthorId:n,numberOfItems:r,order:h,orderBy:g,maxItems:b=f,minItems:y=d,onAuthorChange:_,onNumberOfItemsChange:w,onOrderChange:x,onOrderByChange:C,...E}=e;return(0,o.createElement)(o.Fragment,null,[x&&C&&(0,o.createElement)(c.default,{__nextHasNoMarginBottom:!0,key:"query-controls-order-select",label:(0,a.__)("Order by"),value:`${g}/${h}`,options:[{label:(0,a.__)("Newest to oldest"),value:"date/desc"},{label:(0,a.__)("Oldest to newest"),value:"date/asc"},{label:(0,a.__)("A → Z"),value:"title/asc"},{label:(0,a.__)("Z → A"),value:"title/desc"}],onChange:e=>{if("string"!=typeof e)return;const[t,n]=e.split("/");n!==h&&x(n),t!==g&&C(t)}}),p(E)&&E.categoriesList&&E.onCategoryChange&&(0,o.createElement)(l.default,{key:"query-controls-category-select",categoriesList:E.categoriesList,label:(0,a.__)("Category"),noOptionLabel:(0,a.__)("All"),selectedCategoryId:E.selectedCategoryId,onChange:E.onCategoryChange}),v(E)&&E.categorySuggestions&&E.onCategoryChange&&(0,o.createElement)(s.default,{key:"query-controls-categories-select",label:(0,a.__)("Categories"),value:E.selectedCategories&&E.selectedCategories.map((e=>({id:e.id,value:e.name||e.value}))),suggestions:Object.keys(E.categorySuggestions),onChange:E.onCategoryChange,maxSuggestions:m}),_&&(0,o.createElement)(i.default,{key:"query-controls-author-select",authorList:t,label:(0,a.__)("Author"),noOptionLabel:(0,a.__)("All"),selectedAuthorId:n,onChange:_}),w&&(0,o.createElement)(u.default,{__nextHasNoMarginBottom:!0,key:"query-controls-range-control",label:(0,a.__)("Number of items"),value:r,onChange:w,min:y,max:b,required:!0})])}var g=h;t.default=g},5406:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildTermsTree=function(e){const t=e.map((e=>({children:[],parent:null,...e,id:String(e.id)}))),n=(0,r.groupBy)(t,"parent");if(n.null&&n.null.length)return t;const o=e=>e.map((e=>{const t=n[e.id];return{...e,children:t&&t.length?o(t):[]}}));return o(n[0]||[])};var r=n(61888)},66639:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.RadioControl=c,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(75339)),u=n(74618);function c(e){const{label:t,className:n,selected:r,help:d,onChange:f,hideLabelFromVision:m,options:p=[],...v}=e,h=`inspector-radio-control-${(0,l.useInstanceId)(c)}`,g=e=>f(e.target.value);return null!=p&&p.length?(0,o.createElement)(s.default,{__nextHasNoMarginBottom:!0,label:t,id:h,hideLabelFromVision:m,help:d,className:(0,i.default)(n,"components-radio-control")},(0,o.createElement)(u.VStack,{spacing:1},p.map(((e,t)=>(0,o.createElement)("div",{key:`${h}-${t}`,className:"components-radio-control__option"},(0,o.createElement)("input",(0,a.default)({id:`${h}-${t}`,className:"components-radio-control__input",type:"radio",name:h,value:e.value,onChange:g,checked:e.value===r,"aria-describedby":d?`${h}__help`:void 0},v)),(0,o.createElement)("label",{htmlFor:`${h}-${t}`},e.label)))))):null}var d=c;t.default=d},57163:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(45742),l=r(n(87074)),s=r(n(21109)),u=(0,o.forwardRef)((function(e,t){let{label:n,checked:r,defaultChecked:u,disabled:c,onChange:d,...f}=e;const m=(0,i.useRadioState)({state:u,baseId:f.id}),p={...m,disabled:c,state:null!=r?r:m.state,setState:null!=d?d:m.setState};return(0,o.createElement)(s.default.Provider,{value:p},(0,o.createElement)(i.RadioGroup,(0,a.default)({ref:t,as:l.default,"aria-label":n},m,f)))}));t.default=u},21109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(32847).createContext)({state:null,setState:()=>{}});t.default=r},59122:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(45742),l=r(n(55932)),s=r(n(21109)),u=(0,o.forwardRef)((function(e,t){let{children:n,value:r,...u}=e;const c=(0,o.useContext)(s.default),d=c.state===r;return(0,o.createElement)(i.Radio,(0,a.default)({ref:t,as:l.default,variant:d?"primary":"secondary",value:r},c,u),n||r)}));t.default=u},96484:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RangeControl=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(25150),s=n(89029),u=r(n(75339)),c=r(n(55932)),d=r(n(72818)),f=n(40455),m=n(77254),p=n(72337),v=r(n(64924)),h=r(n(38106)),g=r(n(33805)),b=n(63883);const y=()=>{},_=(0,o.forwardRef)((function e(t,n){var r;const{__nextHasNoMarginBottom:_=!1,afterIcon:w,allowReset:x=!1,beforeIcon:C,className:E,color:O=f.COLORS.ui.theme,currentInput:S,disabled:M=!1,help:P,hideLabelFromVision:k=!1,initialPosition:j,isShiftStepEnabled:T=!0,label:I,marks:N=!1,max:R=100,min:L=0,onBlur:D=y,onChange:V=y,onFocus:B=y,onMouseLeave:A=y,onMouseMove:z=y,railColor:H,renderTooltipContent:F=(e=>e),resetFallbackValue:W,shiftStep:Z=10,showTooltip:$,step:U=1,trackColor:G,value:Y,withInputField:q=!0,...K}=t,[X,Q]=(0,m.useControlledRangeValue)({min:L,max:R,value:null!=Y?Y:null,initial:j}),J=(0,o.useRef)(!1);let ee=$,te=q;"any"===U&&(ee=!1,te=!1);const[ne,re]=(0,o.useState)(ee),[oe,ae]=(0,o.useState)(!1),ie=(0,o.useRef)(),le=null===(r=ie.current)||void 0===r?void 0:r.matches(":focus"),se=!M&&oe,ue=null===X,ce=ue?"":void 0!==X?X:S,de=ue?(R-L)/2+L:X,fe=ue?50:(X-L)/(R-L)*100,me=`${(0,p.clamp)(fe,0,100)}%`,pe=(0,i.default)("components-range-control",E),ve=(0,i.default)("components-range-control__wrapper",!!N&&"is-marked"),he=(0,s.useInstanceId)(e,"inspector-range-control"),ge=P?`${he}__help`:void 0,be=!1!==ee&&Number.isFinite(X),ye=()=>{let e=parseFloat(`${W}`),t=e;isNaN(e)&&(e=null,t=void 0),Q(e),V(t)},_e={[(0,l.isRTL)()?"right":"left"]:me};return(0,o.createElement)(u.default,{__nextHasNoMarginBottom:_,className:pe,label:I,hideLabelFromVision:k,id:`${he}`,help:P},(0,o.createElement)(b.Root,{className:"components-range-control__root"},C&&(0,o.createElement)(b.BeforeIconWrapper,null,(0,o.createElement)(d.default,{icon:C})),(0,o.createElement)(b.Wrapper,{__nextHasNoMarginBottom:_,className:ve,color:O,marks:!!N},(0,o.createElement)(v.default,(0,a.default)({},K,{className:"components-range-control__slider",describedBy:ge,disabled:M,id:`${he}`,label:I,max:R,min:L,onBlur:e=>{D(e),ae(!1),re(!1)},onChange:e=>{const t=parseFloat(e.target.value);Q(t),V(t)},onFocus:e=>{B(e),ae(!0),re(!0)},onMouseMove:z,onMouseLeave:A,ref:(0,s.useMergeRefs)([ie,n]),step:U,value:null!=ce?ce:void 0})),(0,o.createElement)(h.default,{"aria-hidden":!0,disabled:M,marks:N,max:R,min:L,railColor:H,step:U,value:de}),(0,o.createElement)(b.Track,{"aria-hidden":!0,className:"components-range-control__track",disabled:M,style:{width:me},trackColor:G}),(0,o.createElement)(b.ThumbWrapper,{className:"components-range-control__thumb-wrapper",style:_e,disabled:M},(0,o.createElement)(b.Thumb,{"aria-hidden":!0,isFocused:se,disabled:M})),be&&(0,o.createElement)(g.default,{className:"components-range-control__tooltip",inputRef:ie,tooltipPosition:"bottom",renderTooltipContent:F,show:le||ne,style:_e,value:X})),w&&(0,o.createElement)(b.AfterIconWrapper,null,(0,o.createElement)(d.default,{icon:w})),te&&(0,o.createElement)(b.InputNumber,{"aria-label":I,className:"components-range-control__number",disabled:M,inputMode:"decimal",isShiftStepEnabled:T,max:R,min:L,onBlur:()=>{J.current&&(ye(),J.current=!1)},onChange:e=>{let t=parseFloat(e);Q(t),isNaN(t)?x&&(J.current=!0):((t<L||t>R)&&(t=(0,m.floatClamp)(t,L,R)),V(t),J.current=!1)},shiftStep:Z,step:U,value:ce}),x&&(0,o.createElement)(b.ActionRightWrapper,null,(0,o.createElement)(c.default,{className:"components-range-control__reset",disabled:M||void 0===X,variant:"secondary",isSmall:!0,onClick:ye},(0,l.__)("Reset")))))}));t.RangeControl=_;var w=_;t.default=w},64924:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(63883),l=(0,o.forwardRef)((function(e,t){const{describedBy:n,label:r,value:l,...s}=e;return(0,o.createElement)(i.InputRange,(0,a.default)({},s,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:l}))}));t.default=l},56332:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{className:t,isFilled:n=!1,label:r,style:s={},...u}=e,c=(0,i.default)("components-range-control__mark",n&&"is-filled",t),d=(0,i.default)("components-range-control__mark-label",n&&"is-filled");return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.Mark,(0,a.default)({},u,{"aria-hidden":"true",className:c,isFilled:n,style:s})),r&&(0,o.createElement)(l.MarkLabel,{"aria-hidden":"true",className:d,isFilled:n,style:s},r))};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(63883)},38106:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{disabled:t=!1,marks:n=!1,min:r=0,max:i=100,step:l=1,value:c=0,...d}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.Rail,(0,a.default)({disabled:t},d)),n&&(0,o.createElement)(u,{disabled:t,marks:n,min:r,max:i,step:l,value:c}))};var o=n(32847),a=r(n(31304)),i=n(25150),l=r(n(56332)),s=n(63883);function u(e){const{disabled:t=!1,marks:n=!1,min:r=0,max:u=100,step:c=1,value:d=0}=e,f=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:a=0}=e;if(!t)return[];const l=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(l/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.value<n||e.value>r)return;const o=`mark-${t}`,u=e.value<=a,c=(e.value-n)/l*100+"%",d={[(0,i.isRTL)()?"right":"left"]:c};s.push({...e,isFilled:u,key:o,style:d})})),s}({marks:n,min:r,max:u,step:"any"===c?1:c,value:d});return(0,o.createElement)(s.MarksWrapper,{"aria-hidden":"true",className:"components-range-control__marks"},f.map((e=>(0,o.createElement)(l.default,(0,a.default)({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}},63883:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.Track=t.Tooltip=t.ThumbWrapper=t.Thumb=t.Root=t.Rail=t.MarksWrapper=t.MarkLabel=t.Mark=t.InputRange=t.InputNumber=t.BeforeIconWrapper=t.AfterIconWrapper=t.ActionRightWrapper=void 0;var o=r(n(12272)),a=n(18591),i=r(n(5838)),l=n(40455),s=n(36877);const u=()=>(0,a.css)({height:30,minHeight:30},"",""),c=(0,o.default)("div",{target:"e1epgpqk14"})({name:"1se47kl",styles:"-webkit-tap-highlight-color:transparent;align-items:flex-start;display:flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"});t.Root=c;const d=(0,o.default)("div",{target:"e1epgpqk13"})("display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=l.COLORS.ui.borderFocus}=e;return(0,a.css)({color:t},"","")}),";",u,";",(e=>{let{marks:t,__nextHasNoMarginBottom:n}=e;return n?"":(0,a.css)({marginBottom:t?16:void 0},"","")}),";");t.Wrapper=d;const f=(0,o.default)("span",{target:"e1epgpqk12"})("display:flex;margin-top:",4,"px;",(0,l.rtl)({marginRight:6}),";");t.BeforeIconWrapper=f;const m=(0,o.default)("span",{target:"e1epgpqk11"})("display:flex;margin-top:",4,"px;",(0,l.rtl)({marginLeft:6}),";");t.AfterIconWrapper=m;const p=(0,o.default)("span",{target:"e1epgpqk10"})("background-color:",l.COLORS.gray[300],";left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||"";return t&&(r=l.COLORS.ui.backgroundDisabled),(0,a.css)({background:r},"","")}),";");t.Rail=p;const v=(0,o.default)("span",{target:"e1epgpqk9"})("background-color:currentColor;border-radius:",4,"px;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=l.COLORS.gray[400]),(0,a.css)({background:r},"","")}),";");t.Track=v;const h=(0,o.default)("span",{target:"e1epgpqk8"})({name:"l7tjj5",styles:"display:block;pointer-events:none;position:relative;width:100%;user-select:none"});t.MarksWrapper=h;const g=(0,o.default)("span",{target:"e1epgpqk7"})("height:",12,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":l.COLORS.gray[300];return t&&(r=l.COLORS.gray[400]),(0,a.css)({backgroundColor:r},"","")}),";");t.Mark=g;const b=(0,o.default)("span",{target:"e1epgpqk6"})("color:",l.COLORS.gray[300],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return(0,a.css)({color:t?l.COLORS.gray[700]:l.COLORS.gray[300]},"","")}),";");t.MarkLabel=b;const y=e=>{let{disabled:t}=e;return t?(0,a.css)("background-color:",l.COLORS.gray[400],";",""):(0,a.css)("background-color:",l.COLORS.ui.theme,";","")},_=(0,o.default)("span",{target:"e1epgpqk5"})("align-items:center;display:flex;height:",12,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",12,"px;border-radius:50%;",y,";",(0,l.rtl)({marginLeft:-10}),";",(0,l.rtl)({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";");t.ThumbWrapper=_;const w=(0,o.default)("span",{target:"e1epgpqk4"})("align-items:center;border-radius:50%;height:100%;outline:0;position:absolute;user-select:none;width:100%;",y,";",(e=>{let{isFocused:t}=e;return t?(0,a.css)("&::before{content:' ';position:absolute;background-color:",l.COLORS.ui.theme,";opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";");t.Thumb=w;const x=(0,o.default)("input",{target:"e1epgpqk3"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",12,"px );");t.InputRange=x;var C={name:"1cypxip",styles:"top:-80%"},E={name:"1lr98c4",styles:"bottom:-80%"};const O=(0,o.default)("span",{target:"e1epgpqk2"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return(0,a.css)({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?E:C}),";",(0,l.reduceMotion)("transition"),";",(0,l.rtl)({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";");t.Tooltip=O;const S=(0,o.default)(i.default,{target:"e1epgpqk1"})("display:inline-block;font-size:13px;margin-top:0;width:",(0,s.space)(16),"!important;input[type='number']&{",u,";}",(0,l.rtl)({marginLeft:`${(0,s.space)(4)} !important`}),";");t.InputNumber=S;const M=(0,o.default)("span",{target:"e1epgpqk0"})("display:block;margin-top:0;button,button.is-small{margin-left:0;",u,";}",(0,l.rtl)({marginLeft:8}),";");t.ActionRightWrapper=M},33805:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{className:t,inputRef:n,tooltipPosition:r,show:s=!1,style:u={},value:c=0,renderTooltipContent:d=(e=>e),zIndex:f=100,...m}=e,p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,a]=(0,o.useState)(),i=(0,o.useCallback)((()=>{t&&t.current&&a(n)}),[n,t]);return(0,o.useEffect)((()=>{i()}),[i]),(0,o.useEffect)((()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}))),r}({inputRef:n,tooltipPosition:r}),v=(0,i.default)("components-simple-tooltip",t),h={...u,zIndex:f};return(0,o.createElement)(l.Tooltip,(0,a.default)({},m,{"aria-hidden":s,className:v,position:p,show:s,role:"tooltip",style:h}),d(c))};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(63883)},77254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.floatClamp=i,t.useControlledRangeValue=function(e){const{min:t,max:n,value:a,initial:l}=e,[s,u]=(0,o.useControlledState)(i(a,t,n),{initial:i(null!=l?l:null,t,n),fallback:null});return[s,(0,r.useCallback)((e=>{u(null===e?null:i(e,t,n))}),[t,n,u])]};var r=n(32847),o=n(92342),a=n(72337);function i(e,t,n){return"number"!=typeof e?null:parseFloat(`${(0,a.clamp)(e,t,n)}`)}},27737:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ResizableBox=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(98841),s=r(n(44940));const u="components-resizable-box__handle",c="components-resizable-box__side-handle",d="components-resizable-box__corner-handle",f={top:(0,i.default)(u,c,"components-resizable-box__handle-top"),right:(0,i.default)(u,c,"components-resizable-box__handle-right"),bottom:(0,i.default)(u,c,"components-resizable-box__handle-bottom"),left:(0,i.default)(u,c,"components-resizable-box__handle-left"),topLeft:(0,i.default)(u,d,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:(0,i.default)(u,d,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:(0,i.default)(u,d,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:(0,i.default)(u,d,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},m={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},p={top:m,right:m,bottom:m,left:m,topLeft:m,topRight:m,bottomRight:m,bottomLeft:m},v=(0,o.forwardRef)((function(e,t){let{className:n,children:r,showHandle:u=!0,__experimentalShowTooltip:c=!1,__experimentalTooltipProps:d={},...m}=e;return(0,o.createElement)(l.Resizable,(0,a.default)({className:(0,i.default)("components-resizable-box__container",u&&"has-show-handle",n),handleClasses:f,handleStyles:p,ref:t},m),r,c&&(0,o.createElement)(s.default,d))}));t.ResizableBox=v;var h=v;t.default=h},44940:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(99303)),s=n(15541),u=n(4840);const c=()=>{};var d=(0,o.forwardRef)((function(e,t){let{axis:n,className:r,fadeTimeout:d=180,isVisible:f=!0,labelRef:m,onResize:p=c,position:v=s.POSITIONS.bottom,showPx:h=!0,zIndex:g=1e3,...b}=e;const{label:y,resizeListener:_}=(0,s.useResizeLabel)({axis:n,fadeTimeout:d,onResize:p,showPx:h,position:v});if(!f)return null;const w=(0,i.default)("components-resize-tooltip",r);return(0,o.createElement)(u.Root,(0,a.default)({"aria-hidden":"true",className:w,ref:t},b),_,(0,o.createElement)(l.default,{"aria-hidden":b["aria-hidden"],label:y,position:v,ref:m,zIndex:g}))}));t.default=d},99303:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(25150),l=n(15541),s=n(4840),u=(0,o.forwardRef)((function(e,t){let{label:n,position:r=l.POSITIONS.corner,zIndex:u=1e3,...c}=e;const d=!!n,f=r===l.POSITIONS.bottom,m=r===l.POSITIONS.corner;if(!d)return null;let p={opacity:d?1:void 0,zIndex:u},v={};return f&&(p={...p,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},v={transform:"translate(0, 100%)"}),m&&(p={...p,position:"absolute",top:4,right:(0,i.isRTL)()?void 0:4,left:(0,i.isRTL)()?4:void 0}),(0,o.createElement)(s.TooltipWrapper,(0,a.default)({"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",ref:t,style:p},c),(0,o.createElement)(s.Tooltip,{className:"components-resizable-tooltip__tooltip",style:v},(0,o.createElement)(s.LabelText,{as:"span"},n)))}));t.default=u},4840:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipWrapper=t.Tooltip=t.Root=t.LabelText=void 0;var o=r(n(12272)),a=n(53314),i=n(40455);const l=(0,o.default)("div",{target:"e1wq7y4k3"})({name:"1cd7zoc",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"});t.Root=l;const s=(0,o.default)("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"});t.TooltipWrapper=s;const u=(0,o.default)("div",{target:"e1wq7y4k1"})("background:",i.COLORS.gray[900],";border-radius:2px;box-sizing:border-box;font-size:12px;color:",i.COLORS.ui.textDark,";padding:4px 8px;position:relative;");t.Tooltip=u;const c=(0,o.default)(a.Text,{target:"e1wq7y4k0"})("&&&{color:",i.COLORS.ui.textDark,";display:block;font-size:13px;line-height:1.4;white-space:nowrap;}");t.LabelText=c},15541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POSITIONS=void 0,t.useResizeLabel=function(e){let{axis:t,fadeTimeout:n=180,onResize:s=a,position:u=i.bottom,showPx:c=!1}=e;const[d,f]=(0,o.useResizeObserver)(),m=!!t,[p,v]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),{width:b,height:y}=f,_=(0,r.useRef)(y),w=(0,r.useRef)(b),x=(0,r.useRef)(),C=(0,r.useCallback)((()=>{x.current&&window.clearTimeout(x.current),x.current=window.setTimeout((()=>{m||(v(!1),g(!1))}),n)}),[n,m]);return(0,r.useEffect)((()=>{if(null===b&&null===y)return;const e=b!==w.current,t=y!==_.current;if(e||t){if(b&&!w.current&&y&&!_.current)return w.current=b,void(_.current=y);e&&(v(!0),w.current=b),t&&(g(!0),_.current=y),s({width:b,height:y}),C()}}),[b,y,s,C]),{label:l({axis:t,height:y,moveX:p,moveY:h,position:u,showPx:c,width:b}),resizeListener:d}};var r=n(32847),o=n(89029);const a=()=>{},i={bottom:"bottom",corner:"corner"};function l(e){let{axis:t,height:n,moveX:r=!1,moveY:o=!1,position:a=i.bottom,showPx:l=!1,width:s}=e;if(!r&&!o)return;if(a===i.corner)return`${s} x ${n}`;const u=l?" px":"";if(t){if("x"===t&&r)return`${s}${u}`;if("y"===t&&o)return`${n}${u}`}return r&&o?`${s} x ${n}`:r?`${s}${u}`:o?`${n}${u}`:void 0}t.POSITIONS=i},79630:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(26372)),i=n(89029);t.default=function(e){let{naturalWidth:t,naturalHeight:n,children:r,isInline:l=!1}=e;const[s,{width:u}]=(0,i.useResizeObserver)();if(1!==o.Children.count(r))return null;const c={paddingBottom:t<(null!=u?u:0)?n:n/t*100+"%"},d=l?"span":"div";return(0,o.createElement)(d,{className:"components-responsive-wrapper"},s,(0,o.createElement)(d,{style:c}),(0,o.cloneElement)(r,{className:(0,a.default)("components-responsive-wrapper__content",r.props.className)}))}},43906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(89029);const a=function(){const{MutationObserver:e}=window;function t(){const e=document.body.getBoundingClientRect();window.parent.postMessage({action:"resize",width:e.width,height:e.height},"*")}function n(e){e.style&&["width","height","minHeight","maxHeight"].forEach((function(t){/^\\d+(vmin|vmax|vh|vw)$/.test(e.style[t])&&(e.style[t]="")}))}e&&document.body&&window.parent&&(new e(t).observe(document.body,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),window.addEventListener("load",t,!0),Array.prototype.forEach.call(document.querySelectorAll("[style]"),n),Array.prototype.forEach.call(document.styleSheets,(function(e){Array.prototype.forEach.call(e.cssRules||e.rules,n)})),document.body.style.position="absolute",document.body.style.width="100%",document.body.setAttribute("data-resizable-iframe-connected",""),t(),window.addEventListener("resize",t,!0))};t.default=function(e){let{html:t="",title:n="",type:i,styles:l=[],scripts:s=[],onFocus:u}=e;const c=(0,r.useRef)(),[d,f]=(0,r.useState)(0),[m,p]=(0,r.useState)(0);function v(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!function(){try{var e,t;return!(null===(e=c.current)||void 0===e||null===(t=e.contentDocument)||void 0===t||!t.body)}catch(e){return!1}}())return;const{contentDocument:o,ownerDocument:u}=c.current;if(!e&&null!==(null==o?void 0:o.body.getAttribute("data-resizable-iframe-connected")))return;const d=(0,r.createElement)("html",{lang:u.documentElement.lang,className:i},(0,r.createElement)("head",null,(0,r.createElement)("title",null,n),(0,r.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\tbody {\n\t\tmargin: 0;\n\t}\n\thtml,\n\tbody,\n\tbody > div {\n\t\twidth: 100%;\n\t}\n\thtml.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio > div,\n\tbody.wp-has-aspect-ratio > div iframe {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t}\n\tbody > div > * {\n\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\tmargin-bottom: 0 !important;\n\t}\n"}}),l.map(((e,t)=>(0,r.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})))),(0,r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:i},(0,r.createElement)("div",{dangerouslySetInnerHTML:{__html:t}}),(0,r.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:`(${a.toString()})();`}}),s.map((e=>(0,r.createElement)("script",{key:e,src:e})))));o.open(),o.write("<!DOCTYPE html>"+(0,r.renderToString)(d)),o.close()}return(0,r.useEffect)((()=>{var e;function t(){v(!1)}function n(e){const t=c.current;if(!t||t.contentWindow!==e.source)return;let n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}"resize"===n.action&&(f(n.width),p(n.height))}v();const r=c.current,o=null==r||null===(e=r.ownerDocument)||void 0===e?void 0:e.defaultView;return null==r||r.addEventListener("load",t,!1),null==o||o.addEventListener("message",n),()=>{null==r||r.removeEventListener("load",t,!1),null==o||o.addEventListener("message",n)}}),[]),(0,r.useEffect)((()=>{v()}),[n,l,s]),(0,r.useEffect)((()=>{v(!0)}),[t,i]),(0,r.createElement)("iframe",{ref:(0,o.useMergeRefs)([c,(0,o.useFocusableIframe)()]),title:n,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:u,width:Math.ceil(d),height:Math.ceil(m)})}},50993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollLock=l,t.default=void 0;var r=n(32847);let o=0;function a(e){const t=document.scrollingElement||document.body;e&&(o=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=o)}let i=0;function l(){return(0,r.useEffect)((()=>(0===i&&a(!0),++i,()=>{1===i&&a(!1),--i})),[]),null}var s=l;t.default=s},36096:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Scrollable=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(82789);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useScrollable)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Scrollable");t.Scrollable=u;var c=u;t.default=c},82789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollable=function(e){const{className:t,scrollDirection:n="y",smoothScroll:l=!1,...s}=(0,o.useContextSystem)(e,"Scrollable"),u=(0,i.useCx)();return{...s,className:(0,r.useMemo)((()=>u(a.Scrollable,a.scrollableScrollbar,l&&a.smoothScroll,"x"===n&&a.scrollX,"y"===n&&a.scrollY,"auto"===n&&a.scrollAuto,t)),[t,u,n,l])}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(69378)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},71979:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0});var o={Scrollable:!0};Object.defineProperty(t,"Scrollable",{enumerable:!0,get:function(){return a.default}});var a=r(n(36096)),i=n(82789);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},69378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.smoothScroll=t.scrollableScrollbar=t.scrollY=t.scrollX=t.scrollAuto=t.Scrollable=t.Content=void 0;var r=n(18591),o=n(40455);const a=(0,r.css)("@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.CONFIG.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",o.CONFIG.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",o.CONFIG.colorScrollbarThumbHover,";}}","");t.scrollableScrollbar=a;t.Scrollable={name:"13udsys",styles:"height:100%"};t.Content={name:"bjn8wh",styles:"position:relative"};t.smoothScroll={name:"7zq9w",styles:"scroll-behavior:smooth"};t.scrollX={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"};t.scrollY={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"};t.scrollAuto={name:"umwchj",styles:"overflow-y:auto"}},39429:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SearchControl=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=n(25150),u=n(58446),c=r(n(55932)),d=r(n(75339));const f=(0,o.forwardRef)((function(e,t){let{__nextHasNoMarginBottom:n,className:r,onChange:m,onKeyDown:p,value:v,label:h,placeholder:g=(0,s.__)("Search"),hideLabelFromVision:b=!0,help:y,onClose:_,...w}=e;const x=(0,o.useRef)(),C=`components-search-control-${(0,l.useInstanceId)(f)}`;return(0,o.createElement)(d.default,{__nextHasNoMarginBottom:n,label:h,id:C,hideLabelFromVision:b,help:y,className:(0,i.default)(r,"components-search-control")},(0,o.createElement)("div",{className:"components-search-control__input-wrapper"},(0,o.createElement)("input",(0,a.default)({},w,{ref:(0,l.useMergeRefs)([x,t]),className:"components-search-control__input",id:C,type:"search",placeholder:g,onChange:e=>m(e.target.value),onKeyDown:p,autoComplete:"off",value:v||""})),(0,o.createElement)("div",{className:"components-search-control__icon"},_?(0,o.createElement)(c.default,{icon:u.closeSmall,label:(0,s.__)("Close search"),onClick:_}):v?(0,o.createElement)(c.default,{icon:u.closeSmall,label:(0,s.__)("Reset search"),onClick:()=>{var e;m(""),null===(e=x.current)||void 0===e||e.focus()}}):(0,o.createElement)(u.Icon,{icon:u.search}))))}));t.SearchControl=f;var m=f;t.default=m},86795:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(58446),a=n(97216);t.default=()=>(0,r.createElement)(a.InputControlSuffixWrapperWithClickThrough,null,(0,r.createElement)(a.DownArrowWrapper,null,(0,r.createElement)(o.Icon,{icon:o.chevronDown,size:a.chevronIconSize})))},13719:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SelectControl=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(75339)),u=r(n(25572)),c=n(97216),d=r(n(86795));const f=()=>{},m=(0,o.forwardRef)((function(e,t){let{className:n,disabled:r=!1,help:p,hideLabelFromVision:v,id:h,label:g,multiple:b=!1,onBlur:y=f,onChange:_=f,onFocus:w=f,options:x=[],size:C="default",value:E,labelPosition:O="top",children:S,prefix:M,suffix:P,__next36pxDefaultSize:k=!1,__nextHasNoMarginBottom:j=!1,...T}=e;const[I,N]=(0,o.useState)(!1),R=function(e){const t=(0,l.useInstanceId)(m);return e||`inspector-select-control-${t}`}(h),L=p?`${R}__help`:void 0;if(!(null!=x&&x.length||S))return null;const D=(0,i.default)("components-select-control",n);return(0,o.createElement)(s.default,{help:p,id:R,__nextHasNoMarginBottom:j},(0,o.createElement)(u.default,{className:D,disabled:r,hideLabelFromVision:v,id:R,isFocused:I,label:g,size:C,suffix:P||!b&&(0,o.createElement)(d.default,null),prefix:M,labelPosition:O,__next36pxDefaultSize:k},(0,o.createElement)(c.Select,(0,a.default)({},T,{__next36pxDefaultSize:k,"aria-describedby":L,className:"components-select-control__input",disabled:r,id:R,multiple:b,onBlur:e=>{y(e),N(!1)},onChange:e=>{if(b){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})).map((e=>{let{value:t}=e;return t}));_(t)}else _(e.target.value,{event:e})},onFocus:e=>{w(e),N(!0)},ref:t,selectSize:C,value:E}),S||x.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,o.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))}));t.SelectControl=m;var p=m;t.default=p},97216:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.chevronIconSize=t.Select=t.InputControlSuffixWrapperWithClickThrough=t.DownArrowWrapper=void 0;var o=r(n(12272)),a=n(18591),i=n(40455),l=n(36877),s=r(n(78996));t.chevronIconSize=18;const u=(0,o.default)("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",i.COLORS.gray[900],";display:block;font-family:inherit;margin:0;width:100%;max-width:none;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;",(e=>{let{disabled:t}=e;return t?(0,a.css)({color:i.COLORS.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t="default"}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?(0,a.css)("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;if(n)return;const o={default:{height:36,minHeight:36,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},"__unstable-large":{height:40,minHeight:40,paddingTop:0,paddingBottom:0}};t||(o.default={height:30,minHeight:30,paddingTop:0,paddingBottom:0});const i=o[r]||o.default;return(0,a.css)(i,"","")}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;const o={default:16,small:8,"__unstable-large":16};t||(o.default=8);const a=o[r]||o.default;return(0,i.rtl)({paddingLeft:a,paddingRight:a+18,...n?{paddingTop:a,paddingBottom:a}:{}})}),";",(e=>{let{multiple:t}=e;return{overflow:t?"auto":"hidden"}}),";}");t.Select=u;const c=(0,o.default)("div",{target:"e1mv6sxx1"})("margin-inline-end:",(0,l.space)(-1),";line-height:0;");t.DownArrowWrapper=c;const d=(0,o.default)(s.default,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",(0,i.rtl)({right:0}),";");t.InputControlSuffixWrapperWithClickThrough=d},45392:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847);t.default=function(e){const{shortcut:t,className:n}=e;if(!t)return null;let o,a;return"string"==typeof t&&(o=t),null!==t&&"object"==typeof t&&(o=t.display,a=t.ariaLabel),(0,r.createElement)("span",{className:n,"aria-label":a},o)}},29499:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{name:t,children:n}=e;const{registerFill:r,unregisterFill:s,...u}=(0,a.default)(t),c=(0,o.useRef)({rerender:l()});if((0,o.useEffect)((()=>(r(c),()=>{s(c)})),[r,s]),!u.ref||!u.ref.current)return null;"function"==typeof n&&(n=n(u.fillProps));const d=(0,o.createElement)(i.default,{document:u.ref.current.ownerDocument},n);return(0,o.createPortal)(d,u.ref.current)};var o=n(32847),a=r(n(60008)),i=r(n(99405));function l(){const[,e]=(0,o.useState)({}),t=(0,o.useRef)(!0);return(0,o.useEffect)((()=>(t.current=!0,()=>{t.current=!1})),[]),()=>{t.current&&e({})}}},17268:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1924),a=n(32847);r(n(19521));var i=(0,a.createContext)({slots:(0,o.proxyMap)(),fills:(0,o.proxyMap)(),registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});t.default=i},35634:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t}=e;const n=function(){const e=(0,o.useRef)((0,i.proxyMap)()),t=(0,o.useRef)((0,i.proxyMap)()),n=(0,o.useCallback)(((t,n,r)=>{const o=e.current.get(t)||{};e.current.set(t,(0,a.ref)({...o,ref:n||o.ref,fillProps:r||o.fillProps||{}}))}),[]),r=(0,o.useCallback)(((t,n)=>{var r;(null===(r=e.current.get(t))||void 0===r?void 0:r.ref)===n&&e.current.delete(t)}),[]),s=(0,o.useCallback)(((n,r)=>{const o=e.current.get(n);if(o&&!(0,l.default)(o.fillProps,r)){o.fillProps=r;const e=t.current.get(n);e&&e.map((e=>e.current.rerender()))}}),[]),u=(0,o.useCallback)(((e,n)=>{t.current.set(e,(0,a.ref)([...t.current.get(e)||[],n]))}),[]),c=(0,o.useCallback)(((e,n)=>{t.current.get(e)&&t.current.set(e,(0,a.ref)(t.current.get(e).filter((e=>e!==n))))}),[]);return(0,o.useMemo)((()=>({slots:e.current,fills:t.current,registerSlot:n,updateSlot:s,unregisterSlot:r,registerFill:u,unregisterFill:c})),[n,s,r,u,c])}();return(0,o.createElement)(s.default.Provider,{value:n},t)};var o=n(32847),a=n(5784),i=n(1924),l=r(n(38187)),s=r(n(17268))},78001:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=r(n(17268)),s=(0,o.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:s="div",...u}=e;const{registerSlot:c,unregisterSlot:d,...f}=(0,o.useContext)(l.default),m=(0,o.useRef)();return(0,o.useLayoutEffect)((()=>(c(n,m,r),()=>{d(n,m)})),[c,d,n]),(0,o.useLayoutEffect)((()=>{f.updateSlot(n,r)})),(0,o.createElement)(s,(0,a.default)({ref:(0,i.useMergeRefs)([t,m])},u))}));t.default=s},94773:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.useContext)(i.default);return(0,o.useSnapshot)(t.fills,{sync:!0}).get(e)};var o=n(5784),a=n(32847),i=r(n(17268))},60008:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{updateSlot:t,unregisterSlot:n,registerFill:r,unregisterFill:l,...s}=(0,a.useContext)(i.default);return{...(0,o.useSnapshot)(s.slots,{sync:!0}).get(e),updateSlot:(0,a.useCallback)((n=>{t(e,n)}),[e,t]),unregisterSlot:(0,a.useCallback)((t=>{n(e,t)}),[e,n]),registerFill:(0,a.useCallback)((t=>{r(e,t)}),[e,r]),unregisterFill:(0,a.useCallback)((t=>{l(e,t)}),[e,l])}};var o=n(5784),a=n(32847),i=r(n(17268))},49289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SlotFillContext=void 0;const r=(0,n(32847).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});t.SlotFillContext=r;var o=r;t.default=o},31951:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(49289)),l=r(n(23615));function s(e){let{name:t,children:n,registerFill:r,unregisterFill:a}=e;const i=(0,l.default)(t),s=(0,o.useRef)({name:t,children:n});return(0,o.useLayoutEffect)((()=>{const e=s.current;return r(t,e),()=>a(t,e)}),[]),(0,o.useLayoutEffect)((()=>{s.current.children=n,i&&i.forceUpdate()}),[n]),(0,o.useLayoutEffect)((()=>{t!==s.current.name&&(a(s.current.name,s.current),s.current.name=t,r(t,s.current))}),[t]),i&&i.node?("function"==typeof n&&(n=n(i.props.fillProps)),(0,o.createPortal)(n,i.node)):null}t.default=e=>(0,o.createElement)(i.default.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,o.createElement)(s,(0,a.default)({},e,{registerFill:n,unregisterFill:r}))}))},16361:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Fill=p,t.Provider=function(e){let{children:t,...n}=e;return(0,o.createElement)(d.default,n,(0,o.createElement)(c.default,null,t))},t.Slot=void 0,t.createSlotFill=function(e){const t=t=>(0,o.createElement)(p,(0,a.default)({name:e},t));t.displayName=e+"Fill";const n=t=>(0,o.createElement)(v,(0,a.default)({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}},Object.defineProperty(t,"useSlot",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"useSlotFills",{enumerable:!0,get:function(){return m.default}});var o=n(32847),a=r(n(31304)),i=r(n(31951)),l=r(n(70031)),s=r(n(29499)),u=r(n(78001)),c=r(n(35634)),d=r(n(92164)),f=r(n(60008)),m=r(n(94773));function p(e){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.default,e),(0,o.createElement)(s.default,e))}const v=(0,o.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,o.createElement)(u.default,(0,a.default)({},r,{ref:t})):(0,o.createElement)(l.default,r)}));t.Slot=v},92164:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(49289));class i extends o.Component{constructor(){super(...arguments),this.registerSlot=this.registerSlot.bind(this),this.registerFill=this.registerFill.bind(this),this.unregisterSlot=this.unregisterSlot.bind(this),this.unregisterFill=this.unregisterFill.bind(this),this.getSlot=this.getSlot.bind(this),this.getFills=this.getFills.bind(this),this.hasFills=this.hasFills.bind(this),this.subscribe=this.subscribe.bind(this),this.slots={},this.fills={},this.listeners=[],this.contextValue={registerSlot:this.registerSlot,unregisterSlot:this.unregisterSlot,registerFill:this.registerFill,unregisterFill:this.unregisterFill,getSlot:this.getSlot,getFills:this.getFills,hasFills:this.hasFills,subscribe:this.subscribe}}registerSlot(e,t){const n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}registerFill(e,t){this.fills[e]=[...this.fills[e]||[],t],this.forceUpdateSlot(e)}unregisterSlot(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}unregisterFill(e,t){var n,r;this.fills[e]=null!==(n=null===(r=this.fills[e])||void 0===r?void 0:r.filter((e=>e!==t)))&&void 0!==n?n:[],this.forceUpdateSlot(e)}getSlot(e){return this.slots[e]}getFills(e,t){return this.slots[e]!==t?[]:this.fills[e]}hasFills(e){return this.fills[e]&&!!this.fills[e].length}forceUpdateSlot(e){const t=this.getSlot(e);t&&t.forceUpdate()}triggerListeners(){this.listeners.forEach((e=>e()))}subscribe(e){return this.listeners.push(e),()=>{this.listeners=this.listeners.filter((t=>t!==e))}}render(){return(0,o.createElement)(a.default.Provider,{value:this.contextValue},this.props.children)}}t.default=i},70031:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(49289));function l(e){return"function"==typeof e}class s extends o.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;this.isUnmounted=!1,e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){var e;const{children:t,name:n,fillProps:r={},getFills:a}=this.props,i=(null!==(e=a(n,this))&&void 0!==e?e:[]).map((e=>{const t=l(e.children)?e.children(r):e.children;return o.Children.map(t,((e,t)=>{if(!e||"string"==typeof e)return e;const n=e.key||t;return(0,o.cloneElement)(e,{key:n})}))})).filter((e=>!(0,o.isEmptyElement)(e)));return(0,o.createElement)(o.Fragment,null,l(t)?t(i):i)}}t.default=e=>(0,o.createElement)(i.default.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:i}=t;return(0,o.createElement)(s,(0,a.default)({},e,{registerSlot:n,unregisterSlot:r,getFills:i}))}))},23615:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(49289));t.default=e=>{const{getSlot:t,subscribe:n}=(0,o.useContext)(a.default);return(0,o.useSyncExternalStore)(n,(()=>t(e)),(()=>t(e)))}},9058:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Snackbar=void 0;var o=n(32847),a=r(n(26372)),i=n(38384),l=n(25150),s=(r(n(19521)),r(n(55932)));const u=(0,o.forwardRef)((function(e,t){let{className:n,children:r,spokenMessage:u=r,politeness:c="polite",actions:d=[],onRemove:f,icon:m=null,explicitDismiss:p=!1,onDismiss:v,listRef:h}=e;function g(e){var t;e&&e.preventDefault&&e.preventDefault(),null==h||null===(t=h.current)||void 0===t||t.focus(),null==v||v(),null==f||f()}!function(e,t){const n="string"==typeof e?e:(0,o.renderToString)(e);(0,o.useEffect)((()=>{n&&(0,i.speak)(n,t)}),[n,t])}(u,c),(0,o.useEffect)((()=>{const e=setTimeout((()=>{p||(null==v||v(),null==f||f())}),1e4);return()=>clearTimeout(e)}),[v,f,p]);const b=(0,a.default)(n,"components-snackbar",{"components-snackbar-explicit-dismiss":!!p});d&&d.length>1&&("undefined"!=typeof process&&process.env,d=[d[0]]);const y=(0,a.default)("components-snackbar__content",{"components-snackbar__content-with-icon":!!m});return(0,o.createElement)("div",{ref:t,className:b,onClick:p?void 0:g,tabIndex:0,role:p?"":"button",onKeyPress:p?void 0:g,"aria-label":p?"":(0,l.__)("Dismiss this notice")},(0,o.createElement)("div",{className:y},m&&(0,o.createElement)("div",{className:"components-snackbar__icon"},m),r,d.map(((e,t)=>{let{label:n,onClick:r,url:a}=e;return(0,o.createElement)(s.default,{key:t,href:a,variant:"tertiary",onClick:e=>function(e,t){e.stopPropagation(),null==f||f(),t&&t(e)}(e,r),className:"components-snackbar__action"},n)})),p&&(0,o.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:0,className:"components-snackbar__dismiss-button",onClick:g,onKeyPress:g},"✕")))}));t.Snackbar=u;var c=u;t.default=c},26266:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.SnackbarList=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=r(n(9058)),u=n(857);const c={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{stiffness:1e3,velocity:-100}}},exit:{opacity:0,transition:{duration:.5}}};function d(e){let{notices:t,className:n,children:r,onRemove:d}=e;const f=(0,o.useRef)(null),m=(0,l.useReducedMotion)();n=(0,i.default)("components-snackbar-list",n);const p=e=>()=>null==d?void 0:d(e.id);return(0,o.createElement)("div",{className:n,tabIndex:-1,ref:f},r,(0,o.createElement)(u.__unstableAnimatePresence,null,t.map((e=>{const{content:t,...n}=e;return(0,o.createElement)(u.__unstableMotion.div,{layout:!m,initial:"init",animate:"open",exit:"exit",key:e.id,variants:m?void 0:c},(0,o.createElement)("div",{className:"components-snackbar-list__notice-container"},(0,o.createElement)(s.default,(0,a.default)({},n,{onRemove:p(e),listRef:f}),e.content)))}))))}var f=d;t.default=f},68645:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Spacer=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(73647);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useSpacer)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Spacer");t.Spacer=u;var c=u;t.default=c},73647:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSpacer=function(e){const{className:t,margin:n,marginBottom:s=2,marginLeft:u,marginRight:c,marginTop:d,marginX:f,marginY:m,padding:p,paddingBottom:v,paddingLeft:h,paddingRight:g,paddingTop:b,paddingX:y,paddingY:_,...w}=(0,o.useContextSystem)(e,"Spacer");return{...w,className:(0,i.useCx)()(l(n)&&(0,r.css)("margin:",(0,a.space)(n),";",""),l(m)&&(0,r.css)("margin-bottom:",(0,a.space)(m),";margin-top:",(0,a.space)(m),";",""),l(f)&&(0,r.css)("margin-left:",(0,a.space)(f),";margin-right:",(0,a.space)(f),";",""),l(d)&&(0,r.css)("margin-top:",(0,a.space)(d),";",""),l(s)&&(0,r.css)("margin-bottom:",(0,a.space)(s),";",""),l(u)&&(0,i.rtl)({marginLeft:(0,a.space)(u)})(),l(c)&&(0,i.rtl)({marginRight:(0,a.space)(c)})(),l(p)&&(0,r.css)("padding:",(0,a.space)(p),";",""),l(_)&&(0,r.css)("padding-bottom:",(0,a.space)(_),";padding-top:",(0,a.space)(_),";",""),l(y)&&(0,r.css)("padding-left:",(0,a.space)(y),";padding-right:",(0,a.space)(y),";",""),l(b)&&(0,r.css)("padding-top:",(0,a.space)(b),";",""),l(v)&&(0,r.css)("padding-bottom:",(0,a.space)(v),";",""),l(h)&&(0,i.rtl)({paddingLeft:(0,a.space)(h)})(),l(g)&&(0,i.rtl)({paddingRight:(0,a.space)(g)})(),t)}};var r=n(18591),o=n(98138),a=n(36877),i=n(40455);const l=e=>null!=e},87268:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Spacer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useSpacer",{enumerable:!0,get:function(){return a.useSpacer}});var o=r(n(68645)),a=n(73647)},78787:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0,t.UnforwardedSpinner=s,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(79471);function s(e,t){let{className:n,...r}=e;return(0,o.createElement)(l.StyledSpinner,(0,a.default)({className:(0,i.default)("components-spinner",n),viewBox:"0 0 100 100",width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false"},r,{ref:t}),(0,o.createElement)(l.SpinnerTrack,{cx:"50",cy:"50",r:"50",vectorEffect:"non-scaling-stroke"}),(0,o.createElement)(l.SpinnerIndicator,{d:"m 50 0 a 50 50 0 0 1 50 50",vectorEffect:"non-scaling-stroke"}))}const u=(0,o.forwardRef)(s);t.Spinner=u;var c=u;t.default=c},79471:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledSpinner=t.SpinnerTrack=t.SpinnerIndicator=void 0;var o=r(n(12272)),a=n(18591),i=n(40455);const l=a.keyframes`
|
||
from {
|
||
transform: rotate(0deg);
|
||
}
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
`,s=(0,o.default)("svg",{target:"ea4tfvq2"})("width:",i.CONFIG.spinnerSize,"px;height:",i.CONFIG.spinnerSize,"px;display:inline-block;margin:5px 11px 0;position:relative;color:",i.COLORS.ui.theme,";overflow:visible;");t.StyledSpinner=s;const u={name:"9s4963",styles:"fill:transparent;stroke-width:1.5px"},c=(0,o.default)("circle",{target:"ea4tfvq1"})(u,";stroke:",i.COLORS.gray[300],";");t.SpinnerTrack=c;const d=(0,o.default)("path",{target:"ea4tfvq0"})(u,";stroke:currentColor;stroke-linecap:round;transform-origin:50% 50%;animation:1.4s linear infinite both ",l,";");t.SpinnerIndicator=d},99405:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StyleProvider=f,t.default=void 0;var o=n(32847),a=n(18591),i=r(n(13396)),l=r(n(35721)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(41451));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const c=new Set,d=(0,l.default)((e=>{let t=s.v4().replace(/[0-9]/g,"");for(;c.has(t);)t=s.v4().replace(/[0-9]/g,"");return c.add(t),(0,i.default)({container:e,key:t})}));function f(e){const{children:t,document:n}=e;if(!n)return null;const r=d(n.head);return(0,o.createElement)(a.CacheProvider,{value:r},t)}var m=f;t.default=m},72788:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Surface=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(85674);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useSurface)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"Surface");t.Surface=u;var c=u;t.default=c},85674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSurface=function(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:l=!1,borderRight:s=!1,borderTop:u=!1,className:c,variant:d="primary",...f}=(0,o.useContextSystem)(e,"Surface"),m=(0,i.useCx)();return{...f,className:(0,r.useMemo)((()=>{const e={borders:a.getBorders({borderBottom:n,borderLeft:l,borderRight:s,borderTop:u})};return m(a.Surface,e.borders,a.getVariant(d,`${t}px`,t-1+"px"),c)}),[t,n,l,s,u,c,m,d])}};var r=n(32847),o=n(98138),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(35363)),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},66307:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0});var o={Surface:!0};Object.defineProperty(t,"Surface",{enumerable:!0,get:function(){return a.default}});var a=r(n(72788)),i=n(85674);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},35363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.background=t.Surface=void 0,t.getBorders=function(e){let{borderBottom:t,borderLeft:n,borderRight:a,borderTop:i}=e;const l=`1px solid ${o.CONFIG.surfaceBorderColor}`;return(0,r.css)({borderBottom:t?l:void 0,borderLeft:n?l:void 0,borderRight:a?l:void 0,borderTop:i?l:void 0},"","")},t.tertiary=t.secondary=t.primary=t.getVariant=t.getGrid=t.getDotted=void 0;var r=n(18591),o=n(40455);const a=(0,r.css)("background-color:",o.CONFIG.surfaceColor,";color:",o.COLORS.gray[900],";position:relative;","");t.Surface=a;const i=(0,r.css)("background-color:",o.CONFIG.surfaceBackgroundColor,";","");t.background=i;const l=(0,r.css)("","");t.primary=l;const s=(0,r.css)("background:",o.CONFIG.surfaceBackgroundTintColor,";","");t.secondary=s;const u=(0,r.css)("background:",o.CONFIG.surfaceBackgroundTertiaryColor,";","");t.tertiary=u;const c=e=>[e,e].join(" "),d=e=>["90deg",[o.CONFIG.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),f=e=>[[o.CONFIG.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),m=(e,t)=>(0,r.css)("background:",(e=>[`linear-gradient( ${d(e)} ) center`,`linear-gradient( ${f(e)} ) center`,o.CONFIG.surfaceBorderBoldColor].join(","))(t),";background-size:",c(e),";","");t.getDotted=m;const p=[`linear-gradient( ${[`${o.CONFIG.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${o.CONFIG.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),v=e=>(0,r.css)("background:",o.CONFIG.surfaceBackgroundColor,";background-image:",p,";background-size:",c(e),";","");t.getGrid=v,t.getVariant=(e,t,n)=>{switch(e){case"dotted":return m(t,n);case"grid":return v(t);case"primary":return l;case"secondary":return s;case"tertiary":return u}}},31783:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TabPanel=d,t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(89029),s=n(40417),u=r(n(55932));const c=e=>{let{tabId:t,children:n,selected:r,...i}=e;return(0,o.createElement)(u.default,(0,a.default)({role:"tab",tabIndex:r?void 0:-1,"aria-selected":r,id:t,__experimentalIsFocusable:!0},i),n)};function d(e){var t;let{className:n,children:r,tabs:a,selectOnMove:u=!0,initialTabName:f,orientation:m="horizontal",activeClass:p="is-active",onSelect:v}=e;const h=(0,l.useInstanceId)(d,"tab-panel"),[g,b]=(0,o.useState)(),y=(0,o.useCallback)((e=>{b(e),null==v||v(e)}),[v]),_=a.find((e=>{let{name:t}=e;return t===g})),w=`${h}-${null!==(t=null==_?void 0:_.name)&&void 0!==t?t:"none"}`;return(0,o.useEffect)((()=>{if(_)return;const e=a.find((e=>e.name===f));if(!f||e)if(e&&!e.disabled)y(e.name);else{const e=a.find((e=>!e.disabled));e&&y(e.name)}}),[a,_,f,y]),(0,o.useEffect)((()=>{if(null==_||!_.disabled)return;const e=a.find((e=>!e.disabled));e&&y(e.name)}),[a,null==_?void 0:_.disabled,y]),(0,o.createElement)("div",{className:n},(0,o.createElement)(s.NavigableMenu,{role:"tablist",orientation:m,onNavigate:u?(e,t)=>{t.click()}:void 0,className:"components-tab-panel__tabs"},a.map((e=>(0,o.createElement)(c,{className:(0,i.default)("components-tab-panel__tabs-item",e.className,{[p]:e.name===g}),tabId:`${h}-${e.name}`,"aria-controls":`${h}-${e.name}-view`,selected:e.name===g,key:e.name,onClick:()=>y(e.name),disabled:e.disabled,label:e.icon&&e.title,icon:e.icon,showTooltip:!!e.icon},!e.icon&&e.title)))),_&&(0,o.createElement)("div",{key:w,"aria-labelledby":w,role:"tabpanel",id:`${w}-view`,className:"components-tab-panel__tab-content"},r(_)))}var f=d;t.default=f},12968:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TextControl=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=r(n(75339));const s=(0,o.forwardRef)((function(e,t){const{__nextHasNoMarginBottom:n,label:r,hideLabelFromVision:u,value:c,help:d,className:f,onChange:m,type:p="text",...v}=e,h=`inspector-text-control-${(0,i.useInstanceId)(s)}`;return(0,o.createElement)(l.default,{__nextHasNoMarginBottom:n,label:r,hideLabelFromVision:u,id:h,help:d,className:f},(0,o.createElement)("input",(0,a.default)({className:"components-text-control__input",type:p,id:h,value:c,onChange:e=>m(e.target.value),"aria-describedby":d?h+"__help":void 0,ref:t},v)))}));t.TextControl=s;var u=s;t.default=u},29617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TextHighlight=void 0;var r=n(32847),o=n(71892);const a=e=>{const{text:t="",highlight:n=""}=e,a=n.trim();if(!a)return(0,r.createElement)(r.Fragment,null,t);const i=new RegExp(`(${(0,o.escapeRegExp)(a)})`,"gi");return(0,r.createInterpolateElement)(t.replace(i,"<mark>$&</mark>"),{mark:(0,r.createElement)("mark",null)})};t.TextHighlight=a;var i=a;t.default=i},47099:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=r(n(3e3)),u=(0,i.contextConnect)((function(e,t){const n=(0,s.default)(e);return(0,o.createElement)(l.View,(0,a.default)({as:"span"},n,{ref:t}))}),"Text");t.default=u},84510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLineHeight=function(e,t){if(t)return t;if(!e)return;let n=`calc(${o.CONFIG.controlHeight} + ${(0,r.space)(2)})`;switch(e){case"large":n=`calc(${o.CONFIG.controlHeightLarge} + ${(0,r.space)(2)})`;break;case"small":n=`calc(${o.CONFIG.controlHeightSmall} + ${(0,r.space)(2)})`;break;case"xSmall":n=`calc(${o.CONFIG.controlHeightXSmall} + ${(0,r.space)(2)})`}return n};var r=n(36877),o=n(40455)},3e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{adjustLineHeightForInnerControls:t,align:n,children:p,className:h,color:g,ellipsizeMode:b,isDestructive:y=!1,display:_,highlightEscape:w=!1,highlightCaseSensitive:x=!1,highlightWords:C,highlightSanitize:E,isBlock:O=!1,letterSpacing:S,lineHeight:M,optimizeReadabilityFor:P,size:k,truncate:j=!1,upperCase:T=!1,variant:I,weight:N=d.CONFIG.fontWeight,...R}=(0,a.useContextSystem)(e,"Text");let L=p;const D=Array.isArray(C),V="caption"===k;if(D){if("string"!=typeof p)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");L=(0,u.createHighlighterText)({autoEscape:w,children:p,caseSensitive:x,searchWords:C,sanitize:E})}const B=(0,m.useCx)();let A;!0===j&&(A="auto"),!1===j&&(A="none");const z={...R,className:(0,o.useMemo)((()=>{const e={},o=(0,f.getLineHeight)(t,M);if(e.Base=(0,r.css)({color:g,display:_,fontSize:(0,c.getFontSize)(k),fontWeight:N,lineHeight:o,letterSpacing:S,textAlign:n},"",""),e.upperCase=v,e.optimalTextColor=null,P){const t="dark"===(0,l.getOptimalTextShade)(P);e.optimalTextColor=t?(0,r.css)({color:d.COLORS.gray[900]},"",""):(0,r.css)({color:d.COLORS.white},"","")}return B(s.Text,e.Base,e.optimalTextColor,y&&s.destructive,!!D&&s.highlighterText,O&&s.block,V&&s.muted,I&&s[I],T&&e.upperCase,h)}),[t,n,h,g,B,_,O,V,y,D,S,M,P,k,T,I,N]),children:p,ellipsizeMode:b||A},H=(0,i.useTruncate)(z);return!j&&Array.isArray(p)&&(L=o.Children.map(p,(e=>"object"==typeof e&&null!==e&&"props"in e&&(0,a.hasConnectNamespace)(e,["Link"])?(0,o.cloneElement)(e,{size:e.props.size||"inherit"}):e))),{...H,children:j?H.children:L}};var r=n(18591),o=n(32847),a=n(98138),i=n(36013),l=n(20250),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(87502)),u=n(32621),c=n(31207),d=n(40455),f=n(84510),m=n(7769);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var v={name:"50zrmy",styles:"text-transform:uppercase"}},53314:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useText",{enumerable:!0,get:function(){return a.default}});var o=r(n(47099)),a=r(n(3e3))},87502:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upperCase=t.positive=t.muted=t.highlighterText=t.destructive=t.block=t.Text=void 0;var r=n(18591),o=n(40455);const a=(0,r.css)("color:",o.COLORS.gray[900],";line-height:",o.CONFIG.fontLineHeightBase,";margin:0;","");t.Text=a;t.block={name:"4zleql",styles:"display:block"};const i=(0,r.css)("color:",o.COLORS.alert.green,";","");t.positive=i;const l=(0,r.css)("color:",o.COLORS.alert.red,";","");t.destructive=l;const s=(0,r.css)("color:",o.COLORS.gray[700],";","");t.muted=s;const u=(0,r.css)("mark{background:",o.COLORS.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}","");t.highlighterText=u;t.upperCase={name:"50zrmy",styles:"text-transform:uppercase"}},32621:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.createHighlighterText=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:s=!1,children:u,findChunks:c,highlightClassName:d="",highlightStyle:f={},highlightTag:m="mark",sanitize:p,searchWords:v=[],unhighlightClassName:h="",unhighlightStyle:g}=e;if(!u)return null;if("string"!=typeof u)return u;const b=u,y=(0,a.findAll)({autoEscape:o,caseSensitive:s,findChunks:c,sanitize:p,searchWords:v,textToHighlight:b}),_=m;let w,x=-1,C="";return y.map(((e,o)=>{const a=b.substr(e.start,e.end-e.start);if(e.highlight){let e;x++,"object"==typeof d?s?e=d[a]:(d=l(d),e=d[a.toLowerCase()]):e=d;const u=x===+n;C=`${e} ${u?t:""}`,w=!0===u&&null!==r?Object.assign({},f,r):f;const c={children:a,className:C,key:o,style:w};return"string"!=typeof _&&(c.highlightIndex=x),(0,i.createElement)(_,c)}return(0,i.createElement)("span",{children:a,className:h,key:o,style:g})}))};var o=r(n(35721)),a=n(32149),i=n(32847);const l=(0,o.default)((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t}))},68165:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TextareaControl=u,t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=r(n(75339)),s=n(78533);function u(e){const{__nextHasNoMarginBottom:t,label:n,hideLabelFromVision:r,value:c,help:d,onChange:f,rows:m=4,className:p,...v}=e,h=`inspector-textarea-control-${(0,i.useInstanceId)(u)}`;return(0,o.createElement)(l.default,{__nextHasNoMarginBottom:t,label:n,hideLabelFromVision:r,id:h,help:d,className:p},(0,o.createElement)(s.StyledTextarea,(0,a.default)({className:"components-textarea-control__input",id:h,rows:m,onChange:e=>f(e.target.value),"aria-describedby":d?h+"__help":void 0,value:c},v)))}var c=u;t.default=c},78533:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledTextarea=void 0;var o=r(n(12272)),a=n(17409);const i=(0,o.default)("textarea",{target:"e1w5nnrk0"})("width:100%;",a.inputControl,";");t.StyledTextarea=i},40748:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tip=a,t.default=void 0;var r=n(32847),o=n(58446);function a(e){const{children:t}=e;return(0,r.createElement)("div",{className:"components-tip"},(0,r.createElement)(o.Icon,{icon:o.tip}),(0,r.createElement)("p",null,t))}var i=a;t.default=i},51933:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleControl=m,t.default=void 0;var o=n(32847),a=n(18591),i=n(89029),l=n(53753),s=r(n(7434)),u=r(n(75339)),c=n(44384),d=n(40455),f=n(36877);function m(e){let{__nextHasNoMarginBottom:t,label:n,checked:r,help:p,className:v,onChange:h,disabled:g}=e;const b=`inspector-toggle-control-${(0,i.useInstanceId)(m)}`,y=(0,d.useCx)()("components-toggle-control",v,!t&&(0,a.css)({marginBottom:(0,f.space)(3)},"",""));let _,w;return p&&("function"==typeof p?void 0!==r&&(w=p(r)):w=p,w&&(_=b+"__help")),(0,o.createElement)(u.default,{id:b,help:w,className:y,__nextHasNoMarginBottom:!0},(0,o.createElement)(c.HStack,{justify:"flex-start",spacing:3},(0,o.createElement)(s.default,{id:b,checked:r,onChange:function(e){h(e.target.checked)},"aria-describedby":_,disabled:g}),(0,o.createElement)(l.FlexBlock,{as:"label",htmlFor:b,className:"components-toggle-control__label"},n)))}var p=m;t.default=p},48196:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToggleGroupControlContext=t.default=void 0;var r=n(32847);const o=(0,r.createContext)({});t.useToggleGroupControlContext=()=>(0,r.useContext)(o);var a=o;t.default=a},12131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToggleGroupControl",{enumerable:!0,get:function(){return r.ToggleGroupControl}}),Object.defineProperty(t,"ToggleGroupControlOption",{enumerable:!0,get:function(){return o.ToggleGroupControlOption}}),Object.defineProperty(t,"ToggleGroupControlOptionIcon",{enumerable:!0,get:function(){return a.ToggleGroupControlOptionIcon}});var r=n(18480),o=n(77347),a=n(6072)},58390:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(86683),l=n(89029),s=n(98138),u=n(48196),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(13176)),d=n(92342),f=r(n(30497));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const{ButtonContentView:p,LabelView:v}=c,h=e=>{let{showTooltip:t,text:n,children:r}=e;return t&&n?(0,o.createElement)(f.default,{text:n,position:"top center"},r):(0,o.createElement)(o.Fragment,null,r)};var g=(0,s.contextConnect)((function e(t,n){const r=(0,u.useToggleGroupControlContext)(),f=(0,l.useInstanceId)(e,r.baseId||"toggle-group-control-option-base"),m=(0,s.useContextSystem)({...t,id:f},"ToggleGroupControlOptionBase"),{isBlock:g=!1,isDeselectable:b=!1,size:y="default",..._}=r,{className:w,isIcon:x=!1,value:C,children:E,showTooltip:O=!1,...S}=m,M=_.state===C,P=(0,d.useCx)(),k=P(g&&c.labelBlock),j=P(c.buttonView({isDeselectable:b,isIcon:x,isPressed:M,size:y}),w),T={...S,className:j,"data-value":C,ref:n};return(0,o.createElement)(v,{className:k},(0,o.createElement)(h,{showTooltip:O,text:S["aria-label"]},b?(0,o.createElement)("button",(0,a.default)({},T,{"aria-pressed":M,type:"button",onClick:()=>{b&&M?_.setState(void 0):_.setState(C)}}),(0,o.createElement)(p,null,E)):(0,o.createElement)(i.Radio,(0,a.default)({},T,_,{as:"button",value:C}),(0,o.createElement)(p,null,E))))}),"ToggleGroupControlOptionBase");t.default=g},72514:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToggleGroupControlOptionBase",{enumerable:!0,get:function(){return o.default}});var o=r(n(58390))},13176:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.labelBlock=t.buttonView=t.LabelView=t.ButtonContentView=void 0;var o=r(n(12272)),a=n(18591),i=n(40455);const l=(0,o.default)("div",{target:"et6ln9s1"})({name:"sln1fl",styles:"display:inline-flex;max-width:100%;min-width:0;position:relative"});t.LabelView=l;t.labelBlock={name:"82a6rk",styles:"flex:1"},t.buttonView=e=>{let{isDeselectable:t,isIcon:n,isPressed:r,size:o}=e;return(0,a.css)("align-items:center;appearance:none;background:transparent;border:none;border-radius:",i.CONFIG.controlBorderRadius,";color:",i.COLORS.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;transition:background ",i.CONFIG.transitionDurationFast," linear,color ",i.CONFIG.transitionDurationFast," linear,font-weight 60ms linear;",(0,i.reduceMotion)("transition")," user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&:active{background:",i.CONFIG.toggleGroupControlBackgroundColor,";}",t&&u," ",n&&d({size:o})," ",r&&s,";","")};const s=(0,a.css)("color:",i.COLORS.white,";&:active{background:transparent;}",""),u=(0,a.css)("color:",i.COLORS.gray[900],";&:focus{box-shadow:inset 0 0 0 1px ",i.COLORS.white,",0 0 0 ",i.CONFIG.borderWidthFocus," ",i.COLORS.ui.theme,";outline:2px solid transparent;}",""),c=(0,o.default)("div",{target:"et6ln9s0"})("display:flex;font-size:",i.CONFIG.fontSize,";line-height:1;");t.ButtonContentView=c;const d=e=>{let{size:t="default"}=e;return(0,a.css)("color:",i.COLORS.gray[900],";width:",{default:"30px","__unstable-large":"34px"}[t],";padding-left:0;padding-right:0;","")}},1042:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToggleGroupControlOptionIcon=void 0;var o=n(32847),a=r(n(31304)),i=n(72514),l=r(n(72818));const s=(0,o.forwardRef)((function(e,t){const{icon:n,label:r,...s}=e;return(0,o.createElement)(i.ToggleGroupControlOptionBase,(0,a.default)({},s,{isIcon:!0,"aria-label":r,showTooltip:!0,ref:t}),(0,o.createElement)(l.default,{icon:n}))}));t.ToggleGroupControlOptionIcon=s;var u=s;t.default=u},6072:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToggleGroupControlOptionIcon",{enumerable:!0,get:function(){return o.default}});var o=r(n(1042))},77679:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToggleGroupControlOption=void 0;var o=n(32847),a=r(n(31304)),i=n(72514);const l=(0,o.forwardRef)((function(e,t){const{label:n,...r}=e,l=r["aria-label"]||n;return(0,o.createElement)(i.ToggleGroupControlOptionBase,(0,a.default)({},r,{"aria-label":l,ref:t}),n)}));t.ToggleGroupControlOption=l;var s=l;t.default=s},77347:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToggleGroupControlOption",{enumerable:!0,get:function(){return o.default}});var o=r(n(77679))},88534:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleGroupControlAsButtonGroup=void 0;var o=n(32847),a=r(n(31304)),i=n(89029),l=n(29640),s=r(n(54325)),u=r(n(48196)),c=n(92342);const d=(0,o.forwardRef)((function(e,t){let{children:n,isAdaptiveWidth:r,label:f,onChange:m,size:p,value:v,...h}=e;const g=(0,o.useRef)(),[b,y]=(0,i.useResizeObserver)(),_=(0,i.useInstanceId)(d,"toggle-group-control-as-button-group").toString(),[w,x]=(0,o.useState)(v),C={baseId:_,state:w,setState:x},E=(0,i.usePrevious)(v);return(0,c.useUpdateEffect)((()=>{E!==C.state&&m(C.state)}),[C.state]),(0,c.useUpdateEffect)((()=>{v!==C.state&&C.setState(v)}),[v]),(0,o.createElement)(u.default.Provider,{value:{...C,isBlock:!r,isDeselectable:!0,size:p}},(0,o.createElement)(l.View,(0,a.default)({"aria-label":f},h,{ref:(0,i.useMergeRefs)([g,t]),role:"group"}),b,(0,o.createElement)(s.default,{state:C.state,containerRef:g,containerWidth:y.width,isAdaptiveWidth:r}),n))}));t.ToggleGroupControlAsButtonGroup=d},60962:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleGroupControlAsRadioGroup=void 0;var o=n(32847),a=r(n(31304)),i=n(86683),l=n(89029),s=n(29640),u=r(n(54325)),c=r(n(48196)),d=n(92342);const f=(0,o.forwardRef)((function(e,t){let{children:n,isAdaptiveWidth:r,label:m,onChange:p,size:v,value:h,...g}=e;const b=(0,o.useRef)(),[y,_]=(0,l.useResizeObserver)(),w=(0,l.useInstanceId)(f,"toggle-group-control-as-radio-group").toString(),x=(0,i.useRadioState)({baseId:w,state:h}),C=(0,l.usePrevious)(h);return(0,d.useUpdateEffect)((()=>{C!==x.state&&p(x.state)}),[x.state]),(0,d.useUpdateEffect)((()=>{h!==x.state&&x.setState(h)}),[h]),(0,o.createElement)(c.default.Provider,{value:{...x,isBlock:!r,size:v}},(0,o.createElement)(i.RadioGroup,(0,a.default)({},x,{"aria-label":m,as:s.View},g,{ref:(0,l.useMergeRefs)([b,t])}),y,(0,o.createElement)(u.default,{state:x.state,containerRef:b,containerWidth:_.width,isAdaptiveWidth:r}),n))}));t.ToggleGroupControlAsRadioGroup=f},17915:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToggleGroupControl=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(92342),s=r(n(75339)),u=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(66598)),c=n(60962),d=n(88534);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}const m=()=>{},p=(0,i.contextConnect)((function(e,t){const{__nextHasNoMarginBottom:n=!1,className:r,isAdaptiveWidth:f=!1,isBlock:p=!1,isDeselectable:v=!1,label:h,hideLabelFromVision:g=!1,help:b,onChange:y=m,size:_="default",value:w,children:x,...C}=(0,i.useContextSystem)(e,"ToggleGroupControl"),E=(0,l.useCx)(),O=(0,o.useMemo)((()=>E(u.ToggleGroupControl({isBlock:p,isDeselectable:v,size:_}),p&&u.block,r)),[r,E,p,v,_]),S=v?d.ToggleGroupControlAsButtonGroup:c.ToggleGroupControlAsRadioGroup;return(0,o.createElement)(s.default,{help:b,__nextHasNoMarginBottom:n},!g&&(0,o.createElement)(u.VisualLabelWrapper,null,(0,o.createElement)(s.default.VisualLabel,null,h)),(0,o.createElement)(S,(0,a.default)({},C,{children:x,className:O,isAdaptiveWidth:f,label:h,onChange:y,ref:t,size:_,value:w})))}),"ToggleGroupControl");t.ToggleGroupControl=p;var v=p;t.default=v},18480:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToggleGroupControl",{enumerable:!0,get:function(){return o.default}});var o=r(n(17915))},66598:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.toggleGroupControlSize=t.block=t.VisualLabelWrapper=t.ToggleGroupControl=t.BackdropView=void 0;var o=r(n(12272)),a=n(18591),i=n(40455);t.ToggleGroupControl=e=>{let{isBlock:t,isDeselectable:n,size:r}=e;return(0,a.css)("background:",i.COLORS.ui.background,";border:1px solid transparent;border-radius:",i.CONFIG.controlBorderRadius,";display:inline-flex;min-width:0;padding:2px;position:relative;transition:transform ",i.CONFIG.transitionDurationFastest," linear;",(0,i.reduceMotion)("transition")," ",s(r)," ",!n&&l(t),";","")};const l=e=>{const t=(0,a.css)("border-color:",i.COLORS.ui.border,";","");return(0,a.css)(e&&t," &:hover{border-color:",i.COLORS.ui.borderHover,";}&:focus-within{border-color:",i.COLORS.ui.borderFocus,";box-shadow:",i.CONFIG.controlBoxShadowFocus,";outline:none;z-index:1;}","")},s=e=>(0,a.css)("min-height:",{default:"36px","__unstable-large":"40px"}[e],";","");t.toggleGroupControlSize=s;t.block={name:"7whenc",styles:"display:flex;width:100%"};const u=(0,o.default)("div",{target:"eakva831"})("background:",i.COLORS.gray[900],";border-radius:",i.CONFIG.controlBorderRadius,";left:0;position:absolute;top:2px;bottom:2px;transition:transform ",i.CONFIG.transitionDurationFast," ease;",(0,i.reduceMotion)("transition")," z-index:1;");t.BackdropView=u;const c=(0,o.default)("div",{target:"eakva830"})({name:"zjik7",styles:"display:flex"});t.VisualLabelWrapper=c},54325:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(66598),a=(0,r.memo)((function(e){let{containerRef:t,containerWidth:n,isAdaptiveWidth:a,state:i}=e;const[l,s]=(0,r.useState)(0),[u,c]=(0,r.useState)(0),[d,f]=(0,r.useState)(!1),[m,p]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=null==t?void 0:t.current;if(!e)return;const n=e.querySelector(`[data-value="${i}"]`);if(p(!!n),!n)return;const r=window.setTimeout((()=>{const{width:t,x:r}=n.getBoundingClientRect(),{x:o}=e.getBoundingClientRect();s(r-o-1),c(t)}),100);let o;return d||(o=window.requestAnimationFrame((()=>{f(!0)}))),()=>{window.clearTimeout(r),window.cancelAnimationFrame(o)}}),[d,t,n,i,a]),m?(0,r.createElement)(o.BackdropView,{role:"presentation",style:{transform:`translateX(${l}px)`,transition:d?void 0:"none",width:u}}):null}));t.default=a},88567:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Toolbar",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ToolbarButton",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ToolbarContext",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ToolbarDropdownMenu",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ToolbarGroup",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ToolbarItem",{enumerable:!0,get:function(){return u.default}});var o=r(n(14763)),a=r(n(41200)),i=r(n(23465)),l=r(n(35135)),s=r(n(96766)),u=r(n(82932))},41200:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(55932)),s=r(n(82932)),u=r(n(23465)),c=r(n(33919)),d=(0,o.forwardRef)((function(e,t){let{containerClassName:n,className:r,extraProps:d,children:f,title:m,isActive:p,isDisabled:v,...h}=e;return(0,o.useContext)(u.default)?(0,o.createElement)(s.default,(0,a.default)({className:(0,i.default)("components-toolbar-button",r)},d,h,{ref:t}),(e=>(0,o.createElement)(l.default,(0,a.default)({label:m,isPressed:p,disabled:v},e),f))):(0,o.createElement)(c.default,{className:n},(0,o.createElement)(l.default,(0,a.default)({ref:t,icon:h.icon,label:m,shortcut:h.shortcut,"data-subscript":h.subscript,onClick:e=>{e.stopPropagation(),h.onClick&&h.onClick(e)},className:(0,i.default)("components-toolbar__control",r),isPressed:p,disabled:v,"data-toolbar-item":!0},d,h),f))}));t.default=d},33919:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847);t.default=e=>(0,r.createElement)("div",{className:e.className},e.children)},23465:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(32847).createContext)();t.default=r},35135:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(82932)),l=r(n(23465)),s=r(n(15830)),u=(0,o.forwardRef)((function(e,t){return(0,o.useContext)(l.default)?(0,o.createElement)(i.default,(0,a.default)({ref:t},e.toggleProps),(t=>(0,o.createElement)(s.default,(0,a.default)({},e,{popoverProps:{variant:"toolbar",...e.popoverProps},toggleProps:t})))):(0,o.createElement)(s.default,e)}));t.default=u},96766:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(41200)),s=r(n(98023)),u=r(n(66459)),c=r(n(23465));t.default=function(e){var t;let{controls:n=[],children:r,className:d,isCollapsed:f,title:m,...p}=e;const v=(0,o.useContext)(c.default);if(!(n&&n.length||r))return null;const h=(0,i.default)(v?"components-toolbar-group":"components-toolbar",d);let g=n;return Array.isArray(g[0])||(g=[g]),f?(0,o.createElement)(u.default,(0,a.default)({label:m,controls:g,className:h,children:r},p)):(0,o.createElement)(s.default,(0,a.default)({className:h},p),null===(t=g)||void 0===t?void 0:t.flatMap(((e,t)=>e.map(((e,n)=>(0,o.createElement)(l.default,(0,a.default)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e)))))),r)}},66459:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=r(n(15830)),l=r(n(23465)),s=r(n(82932));t.default=function(e){let{controls:t=[],toggleProps:n,...r}=e;const u=e=>(0,o.createElement)(i.default,(0,a.default)({controls:t,toggleProps:{...e,"data-toolbar-item":!0}},r));return(0,o.useContext)(l.default)?(0,o.createElement)(s.default,n,u):u(n)}},98023:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304));t.default=e=>{let{className:t,children:n,...r}=e;return(0,o.createElement)("div",(0,a.default)({className:t},r),n)}},82932:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(47479),l=(r(n(19521)),r(n(23465))),s=(0,o.forwardRef)((function(e,t){let{children:n,as:r,...s}=e;const u=(0,o.useContext)(l.default);if("function"!=typeof n&&!r)return"undefined"!=typeof process&&process.env,null;const c={...s,ref:t,"data-toolbar-item":!0};return u?(0,o.createElement)(i.ToolbarItem,(0,a.default)({},u,c,{as:r}),n):r?(0,o.createElement)(r,c,n):n(c)}));t.default=s},14763:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Toolbar=void 0;var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(6777)),s=r(n(96766)),u=r(n(97190));const c=(0,o.forwardRef)((function(e,t){let{className:n,label:r,...c}=e;if(!r)return(0,l.default)("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"}),(0,o.createElement)(s.default,(0,a.default)({},c,{className:n}));const d=(0,i.default)("components-accessible-toolbar",n);return(0,o.createElement)(u.default,(0,a.default)({className:d,label:r,ref:t},c))}));t.Toolbar=c;var d=c;t.default=d},97190:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToolbarContainer=void 0;var o=n(32847),a=r(n(31304)),i=n(47479),l=n(25150),s=r(n(23465));const u=(0,o.forwardRef)((function(e,t){let{label:n,...r}=e;const u=(0,i.useToolbarState)({loop:!0,baseId:r.id,rtl:(0,l.isRTL)()});return(0,o.createElement)(s.default.Provider,{value:u},(0,o.createElement)(i.Toolbar,(0,a.default)({ref:t,"aria-label":n},u,r)))}));t.ToolbarContainer=u;var c=u;t.default=c},25435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToolsPanelContext=t.ToolsPanelContext=void 0;var r=n(32847);const o=()=>{},a=(0,r.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:o,deregisterPanelItem:o,flagItemCustomization:o,registerResetAllFilter:o,deregisterResetAllFilter:o,areAllOptionalControlsHidden:!0});t.ToolsPanelContext=a,t.useToolsPanelContext=()=>(0,r.useContext)(a)},67915:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToolsPanel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ToolsPanelContext",{enumerable:!0,get:function(){return i.ToolsPanelContext}}),Object.defineProperty(t,"ToolsPanelItem",{enumerable:!0,get:function(){return a.default}});var o=r(n(97726)),a=r(n(85322)),i=n(25435)},82170:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ToolsPanelWithInnerWrapper=t.ToolsPanelItemPlaceholder=t.ToolsPanelItem=t.ToolsPanelHiddenInnerWrapper=t.ToolsPanelHeading=t.ToolsPanelHeader=t.ToolsPanel=t.ResetLabel=t.DropdownMenu=t.DefaultControlsItem=void 0;var o=r(n(12272)),a=n(18591),i=n(30686),l=n(75882),s=n(40455),u=n(36877);const c={columns:e=>(0,a.css)("grid-template-columns:",`repeat( ${e}, minmax(0, 1fr) )`,";",""),spacing:(0,a.css)("column-gap:",(0,u.space)(2),";row-gap:",(0,u.space)(4),";",""),item:{fullWidth:{name:"18iuzk9",styles:"grid-column:1/-1"}}};t.ToolsPanel=e=>(0,a.css)(c.columns(e)," ",c.spacing," border-top:",s.CONFIG.borderWidth," solid ",s.COLORS.gray[300],";margin-top:-1px;padding:",(0,u.space)(4),";",""),t.ToolsPanelWithInnerWrapper=e=>(0,a.css)(">div:not( :first-of-type ){display:grid;",c.columns(e)," ",c.spacing," ",c.item.fullWidth,";}","");t.ToolsPanelHiddenInnerWrapper={name:"huufmu",styles:">div:not( :first-of-type ){display:none;}"};const d=(0,a.css)(c.item.fullWidth," gap:",(0,u.space)(2),";.components-dropdown-menu{margin:",(0,u.space)(-1)," 0;line-height:0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:",(0,u.space)(6),";}","");t.ToolsPanelHeader=d;t.ToolsPanelHeading={name:"1pmxm02",styles:"font-size:inherit;font-weight:500;line-height:normal;&&{margin:0;}"};const f=(0,a.css)(c.item.fullWidth,"&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ",i.Wrapper,"{margin-bottom:0;",i.StyledField,":last-child{margin-bottom:0;}}",i.StyledHelp,"{margin-bottom:0;}&& ",l.LabelWrapper,"{label{line-height:1.4em;}}","");t.ToolsPanelItem=f;t.ToolsPanelItemPlaceholder={name:"eivff4",styles:"display:none"};t.DropdownMenu={name:"16gsvie",styles:"min-width:200px"};const m=(0,o.default)("span",{target:"ews648u0"})("color:",s.COLORS.ui.themeDark10,";font-size:11px;font-weight:500;line-height:1.4;",(0,s.rtl)({marginLeft:(0,u.space)(3)})," text-transform:uppercase;");t.ResetLabel=m;const p=(0,a.css)("color:",s.COLORS.gray[900],";&&[aria-disabled='true']{color:",s.COLORS.gray[700],";opacity:1;&:hover{color:",s.COLORS.gray[700],";}",m,"{opacity:0.3;}}","");t.DefaultControlsItem=p},14107:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(38384),l=n(58446),s=n(25150),u=r(n(15830)),c=r(n(49954)),d=r(n(40450)),f=n(44384),m=n(44754),p=n(59200),v=n(98138),h=n(82170);const g=e=>{let{itemClassName:t,items:n,toggleItem:r}=e;if(!n.length)return null;const a=(0,o.createElement)(h.ResetLabel,{"aria-hidden":!0},(0,s.__)("Reset"));return(0,o.createElement)(c.default,{label:(0,s.__)("Defaults")},n.map((e=>{let[n,l]=e;return l?(0,o.createElement)(d.default,{key:n,className:t,role:"menuitem",label:(0,s.sprintf)((0,s.__)("Reset %s"),n),onClick:()=>{r(n),(0,i.speak)((0,s.sprintf)((0,s.__)("%s reset to default"),n),"assertive")},suffix:a},n):(0,o.createElement)(d.default,{key:n,className:t,role:"menuitemcheckbox",isSelected:!0,"aria-disabled":!0},n)})))},b=e=>{let{items:t,toggleItem:n}=e;return t.length?(0,o.createElement)(c.default,{label:(0,s.__)("Tools")},t.map((e=>{let[t,r]=e;const a=r?(0,s.sprintf)((0,s.__)("Hide and reset %s"),t):(0,s.sprintf)((0,s.__)("Show %s"),t);return(0,o.createElement)(d.default,{key:t,icon:r&&l.check,isSelected:r,label:a,onClick:()=>{r?(0,i.speak)((0,s.sprintf)((0,s.__)("%s hidden and reset to default"),t),"assertive"):(0,i.speak)((0,s.sprintf)((0,s.__)("%s is now visible"),t),"assertive"),n(t)},role:"menuitemcheckbox"},t)}))):null};var y=(0,v.contextConnect)(((e,t)=>{const{areAllOptionalControlsHidden:n,defaultControlsItemClassName:r,dropdownMenuClassName:v,hasMenuItems:h,headingClassName:y,headingLevel:_=2,label:w,menuItems:x,resetAll:C,toggleItem:E,...O}=(0,p.useToolsPanelHeader)(e);if(!w)return null;const S=Object.entries((null==x?void 0:x.default)||{}),M=Object.entries((null==x?void 0:x.optional)||{}),P=n?l.plus:l.moreVertical,k=(0,s.sprintf)((0,s._x)("%s options","Button label to reveal tool panel options"),w),j=n?(0,s.__)("All options are currently hidden"):void 0,T=[...S,...M].some((e=>{let[,t]=e;return t}));return(0,o.createElement)(f.HStack,(0,a.default)({},O,{ref:t}),(0,o.createElement)(m.Heading,{level:_,className:y},w),h&&(0,o.createElement)(u.default,{icon:P,label:k,menuProps:{className:v},toggleProps:{isSmall:!0,describedBy:j}},(()=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g,{items:S,toggleItem:E,itemClassName:r}),(0,o.createElement)(b,{items:M,toggleItem:E}),(0,o.createElement)(c.default,null,(0,o.createElement)(d.default,{"aria-disabled":!T,variant:"tertiary",onClick:()=>{T&&(C(),(0,i.speak)((0,s.__)("All options reset"),"assertive"))}},(0,s.__)("Reset all")))))))}),"ToolsPanelHeader");t.default=y},59200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToolsPanelHeader=function(e){const{className:t,headingLevel:n=2,...s}=(0,i.useContextSystem)(e,"ToolsPanelHeader"),u=(0,l.useCx)(),c=(0,r.useMemo)((()=>u(o.ToolsPanelHeader,t)),[t,u]),d=(0,r.useMemo)((()=>u(o.DropdownMenu)),[u]),f=(0,r.useMemo)((()=>u(o.ToolsPanelHeading)),[u]),m=(0,r.useMemo)((()=>u(o.DefaultControlsItem)),[u]),{menuItems:p,hasMenuItems:v,areAllOptionalControlsHidden:h}=(0,a.useToolsPanelContext)();return{...s,areAllOptionalControlsHidden:h,defaultControlsItemClassName:m,dropdownMenuClassName:d,hasMenuItems:v,headingClassName:f,headingLevel:n,menuItems:p,className:c}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82170)),a=n(25435),i=n(98138),l=n(7769);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}},69797:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(14107))},61148:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToolsPanelItem=void 0;var o=n(32847),a=r(n(31304)),i=n(51569),l=n(29640);const s=(0,n(98138).contextConnect)(((e,t)=>{const{children:n,isShown:r,shouldRenderPlaceholder:s,...u}=(0,i.useToolsPanelItem)(e);return r?(0,o.createElement)(l.View,(0,a.default)({},u,{ref:t}),n):s?(0,o.createElement)(l.View,(0,a.default)({},u,{ref:t})):null}),"ToolsPanelItem");t.ToolsPanelItem=s;var u=s;t.default=u},51569:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToolsPanelItem=function(e){var t,n,u;const{className:d,hasValue:f,isShownByDefault:m=!1,label:p,panelId:v,resetAllFilter:h=c,onDeselect:g,onSelect:b,...y}=(0,l.useContextSystem)(e,"ToolsPanelItem"),{panelId:_,menuItems:w,registerResetAllFilter:x,deregisterResetAllFilter:C,registerPanelItem:E,deregisterPanelItem:O,flagItemCustomization:S,isResetting:M,shouldRenderPlaceholderItems:P,firstDisplayedItem:k,lastDisplayedItem:j,__experimentalFirstVisibleItemClass:T,__experimentalLastVisibleItemClass:I}=(0,i.useToolsPanelContext)(),N=(0,o.useCallback)(f,[v,f]),R=(0,o.useCallback)(h,[v,h]),L=(0,r.usePrevious)(_),D=_===v||null===_;(0,o.useEffect)((()=>(D&&null!==L&&E({hasValue:N,isShownByDefault:m,label:p,panelId:v}),()=>{(null===L&&_||_===v)&&O(p)})),[_,D,m,p,N,v,L,E,O]),(0,o.useEffect)((()=>(D&&x(R),()=>{D&&C(R)})),[x,C,R,D]);const V=m?"default":"optional",B=null==w||null===(t=w[V])||void 0===t?void 0:t[p],A=(0,r.usePrevious)(B),z=void 0!==(null==w||null===(n=w[V])||void 0===n?void 0:n[p]),H=f(),F=(0,r.usePrevious)(H),W=H&&!F;(0,o.useEffect)((()=>{W&&(m||null===_)&&S(p,V)}),[_,W,m,V,p,S]),(0,o.useEffect)((()=>{z&&!M&&D&&(!B||H||A||null==b||b(),!B&&A&&(null==g||g()))}),[D,B,z,M,H,A,b,g]);const Z=m?void 0!==(null==w||null===(u=w[V])||void 0===u?void 0:u[p]):B,$=(0,s.useCx)(),U=(0,o.useMemo)((()=>{const e=P&&!Z&&a.ToolsPanelItemPlaceholder,t=k===p&&T,n=j===p&&I;return $(a.ToolsPanelItem,e,d,t,n)}),[Z,P,d,$,k,j,T,I,p]);return{...y,isShown:Z,shouldRenderPlaceholder:P,className:U}};var r=n(89029),o=n(32847),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82170)),i=n(25435),l=n(98138),s=n(7769);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const c=()=>{}},85322:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useToolsPanelItem",{enumerable:!0,get:function(){return a.useToolsPanelItem}});var o=r(n(61148)),a=n(51569)},63776:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ToolsPanel=void 0;var o=n(32847),a=r(n(31304)),i=r(n(69797)),l=n(25435),s=n(78924),u=n(29982);const c=(0,n(98138).contextConnect)(((e,t)=>{const{children:n,label:r,panelContext:c,resetAllItems:d,toggleItem:f,headingLevel:m,...p}=(0,s.useToolsPanel)(e);return(0,o.createElement)(u.Grid,(0,a.default)({},p,{columns:2,ref:t}),(0,o.createElement)(l.ToolsPanelContext.Provider,{value:c},(0,o.createElement)(i.default,{label:r,resetAll:d,toggleItem:f,headingLevel:m}),n))}),"ToolsPanel");t.ToolsPanel=c;var d=c;t.default=d},78924:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToolsPanel=function(e){const{className:t,headingLevel:n=2,resetAll:l,panelId:d,hasInnerWrapper:f=!1,shouldRenderPlaceholderItems:m=!1,__experimentalFirstVisibleItemClass:p,__experimentalLastVisibleItemClass:v,...h}=(0,a.useContextSystem)(e,"ToolsPanel"),g=(0,r.useRef)(!1),b=g.current;(0,r.useEffect)((()=>{b&&(g.current=!1)}),[b]);const[y,_]=(0,r.useState)([]),[w,x]=(0,r.useState)([]),C=(0,r.useCallback)((e=>{_((t=>{const n=[...t],r=n.findIndex((t=>t.label===e.label));return-1!==r&&n.splice(r,1),[...n,e]}))}),[_]),E=(0,r.useCallback)((e=>{_((t=>{const n=[...t],r=n.findIndex((t=>t.label===e));return-1!==r&&n.splice(r,1),n}))}),[_]),O=(0,r.useCallback)((e=>{x((t=>[...t,e]))}),[x]),S=(0,r.useCallback)((e=>{x((t=>t.filter((t=>t!==e))))}),[x]),[M,P]=(0,r.useState)({default:{},optional:{}});(0,r.useEffect)((()=>{P((e=>u({panelItems:y,shouldReset:!1,currentMenuItems:e})))}),[y,P]);const k=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";P((n=>({...n,[t]:{...n[t],[e]:!0}})))}),[P]),[j,T]=(0,r.useState)(!1);(0,r.useEffect)((()=>{if(c(null==M?void 0:M.default)&&!c(null==M?void 0:M.optional)){const e=!Object.entries(M.optional).some((e=>{let[,t]=e;return t}));T(e)}}),[M,T]);const I=(0,i.useCx)(),N=(0,r.useMemo)((()=>{const e=f&&o.ToolsPanelWithInnerWrapper(s),n=c(null==M?void 0:M.default)&&j&&o.ToolsPanelHiddenInnerWrapper;return I(o.ToolsPanel(s),e,n,t)}),[j,t,I,f,M]),R=(0,r.useCallback)((e=>{const t=y.find((t=>t.label===e));if(!t)return;const n=t.isShownByDefault?"default":"optional",r={...M,[n]:{...M[n],[e]:!M[n][e]}};P(r)}),[M,y,P]),L=(0,r.useCallback)((()=>{"function"==typeof l&&(g.current=!0,l(w));const e=u({panelItems:y,shouldReset:!0});P(e)}),[y,w,l,P]),D=e=>{const t=M.optional||{},n=e.find((e=>e.isShownByDefault||!!t[e.label]));return null==n?void 0:n.label},V=D(y),B=D([...y].reverse());return{...h,headingLevel:n,panelContext:(0,r.useMemo)((()=>({areAllOptionalControlsHidden:j,deregisterPanelItem:E,deregisterResetAllFilter:S,firstDisplayedItem:V,flagItemCustomization:k,hasMenuItems:!!y.length,isResetting:g.current,lastDisplayedItem:B,menuItems:M,panelId:d,registerPanelItem:C,registerResetAllFilter:O,shouldRenderPlaceholderItems:m,__experimentalFirstVisibleItemClass:p,__experimentalLastVisibleItemClass:v})),[j,E,S,V,k,B,M,d,y,O,C,m,p,v]),resetAllItems:L,toggleItem:R,className:N}};var r=n(32847),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(82170)),a=n(98138),i=n(7769);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}const s=2,u=e=>{let{panelItems:t,shouldReset:n,currentMenuItems:r}=e;const o={default:{},optional:{}};return t.forEach((e=>{var t;let{hasValue:a,isShownByDefault:i,label:l}=e;const s=i?"default":"optional",u=(null==r||null===(t=r[s])||void 0===t?void 0:t[l])||a();o[s][l]=!n&&u})),o},c=e=>e&&0===Object.keys(e).length},97726:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useToolsPanel",{enumerable:!0,get:function(){return a.useToolsPanel}});var o=r(n(63776)),a=n(78924)},30497:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TOOLTIP_DELAY=void 0;var o=n(32847),a=n(89029),i=r(n(87059)),l=r(n(45392));const s=700;t.TOOLTIP_DELAY=s;const u=(0,o.createElement)("div",{className:"event-catcher"}),c=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r,mergedRefs:a}=e;return(0,o.cloneElement)((0,o.createElement)("span",{className:"disabled-element-wrapper"},(0,o.cloneElement)(u,t),(0,o.cloneElement)(n,{children:r,ref:a})),{...t})},d=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r,mergedRefs:a}=e;return(0,o.cloneElement)(t,{...n,children:r,ref:a})},f=(e,t,n)=>{if(1!==o.Children.count(e))return;const r=o.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)};t.default=function(e){var t;const{children:n,position:r="bottom middle",text:u,shortcut:m,delay:p=s}=e,[v,h]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),y=(0,a.useDebounce)(b,p),[_,w]=(0,o.useState)(null),x=null===(t=o.Children.toArray(n)[0])||void 0===t?void 0:t.ref,C=(0,a.useMergeRefs)([w,x]),E=e=>{"OPTION"!==e.target.tagName&&(f(n,"onMouseDown",e),document.addEventListener("mouseup",M),h(!0))},O=e=>{"OPTION"!==e.target.tagName&&(f(n,"onMouseUp",e),document.removeEventListener("mouseup",M),h(!1))},S=e=>"mouseUp"===e?O:"mouseDown"===e?E:void 0,M=S("mouseUp"),P=(e,t)=>r=>{if(f(n,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&v)return;y.cancel();const o=["focus","mouseenter"].includes(r.type);o!==g&&(t?y(o):b(o))},k=()=>{y.cancel(),document.removeEventListener("mouseup",M)};if((0,o.useEffect)((()=>k),[]),1!==o.Children.count(n))return n;const j={onMouseEnter:P("onMouseEnter",!0),onMouseLeave:P("onMouseLeave"),onClick:P("onClick"),onFocus:P("onFocus"),onBlur:P("onBlur"),onMouseDown:S("mouseDown")},T=o.Children.only(n),{children:I,disabled:N}=T.props,R=N?c:d,L=(e=>{let{anchor:t,grandchildren:n,isOver:r,offset:a,position:s,shortcut:u,text:c}=e;return(0,o.concatChildren)(n,r&&(0,o.createElement)(i.default,{focusOnMount:!1,position:s,className:"components-tooltip","aria-hidden":"true",animate:!1,offset:a,anchor:t,shift:!0},c,(0,o.createElement)(l.default,{className:"components-tooltip__shortcut",shortcut:u})))})({grandchildren:I,anchor:_,isOver:g,offset:4,position:r,shortcut:m,text:u});return R({child:T,eventHandlers:j,childrenWithPopover:L,mergedRefs:C})}},20368:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TreeGridCell=void 0;var o=n(32847),a=r(n(31304)),i=r(n(14606));const l=(0,o.forwardRef)((function(e,t){let{children:n,withoutGridItem:r=!1,...l}=e;return(0,o.createElement)("td",(0,a.default)({},l,{role:"gridcell"}),r?(0,o.createElement)(o.Fragment,null,n):(0,o.createElement)(i.default,{ref:t},n))}));t.TreeGridCell=l;var s=l;t.default=s},45508:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TreeGrid=void 0,Object.defineProperty(t,"TreeGridCell",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"TreeGridItem",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"TreeGridRow",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(59201),l=n(76258),s=r(n(49598)),u=r(n(88169)),c=r(n(20368)),d=r(n(14606));function f(e){return i.focus.focusable.find(e,{sequential:!0}).filter((t=>t.closest('[role="row"]')===e))}const m=(0,o.forwardRef)((function(e,t){let{children:n,onExpandRow:r=(()=>{}),onCollapseRow:i=(()=>{}),onFocusRow:u=(()=>{}),applicationAriaLabel:c,...d}=e;const m=(0,o.useCallback)((e=>{const{keyCode:t,metaKey:n,ctrlKey:o,altKey:a}=e;if(n||o||a||![l.UP,l.DOWN,l.LEFT,l.RIGHT,l.HOME,l.END].includes(t))return;e.stopPropagation();const{activeElement:s}=document,{currentTarget:c}=e;if(!s||!c.contains(s))return;const d=s.closest('[role="row"]');if(!d)return;const m=f(d),p=m.indexOf(s),v=0===p,h=v&&"false"===d.getAttribute("aria-expanded")&&t===l.RIGHT;if([l.LEFT,l.RIGHT].includes(t)){let n;if(n=t===l.LEFT?Math.max(0,p-1):Math.min(p+1,m.length-1),v){if(t===l.LEFT){var g,b,y;if("true"===d.getAttribute("aria-expanded"))return i(d),void e.preventDefault();const t=Math.max(parseInt(null!==(g=null==d?void 0:d.getAttribute("aria-level"))&&void 0!==g?g:"1",10)-1,1),n=Array.from(c.querySelectorAll('[role="row"]'));let r=d;for(let e=n.indexOf(d);e>=0;e--){const o=n[e].getAttribute("aria-level");if(null!==o&&parseInt(o,10)===t){r=n[e];break}}null===(b=f(r))||void 0===b||null===(y=b[0])||void 0===y||y.focus()}if(t===l.RIGHT){if("false"===d.getAttribute("aria-expanded"))return r(d),void e.preventDefault();const t=f(d);var _;t.length>0&&(null===(_=t[n])||void 0===_||_.focus())}return void e.preventDefault()}if(h)return;m[n].focus(),e.preventDefault()}else if([l.UP,l.DOWN].includes(t)){const n=Array.from(c.querySelectorAll('[role="row"]')),r=n.indexOf(d);let o;if(o=t===l.UP?Math.max(0,r-1):Math.min(r+1,n.length-1),o===r)return void e.preventDefault();const a=f(n[o]);if(!a||!a.length)return void e.preventDefault();a[Math.min(p,a.length-1)].focus(),u(e,d,n[o]),e.preventDefault()}else if([l.HOME,l.END].includes(t)){const n=Array.from(c.querySelectorAll('[role="row"]')),r=n.indexOf(d);let o;if(o=t===l.HOME?0:n.length-1,o===r)return void e.preventDefault();const a=f(n[o]);if(!a||!a.length)return void e.preventDefault();a[Math.min(p,a.length-1)].focus(),u(e,d,n[o]),e.preventDefault()}}),[r,i,u]);return(0,o.createElement)(s.default,null,(0,o.createElement)("div",{role:"application","aria-label":c},(0,o.createElement)("table",(0,a.default)({},d,{role:"treegrid",onKeyDown:m,ref:t}),(0,o.createElement)("tbody",null,n))))}));t.TreeGrid=m;var p=m;t.default=p},14606:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TreeGridItem=void 0;var o=n(32847),a=r(n(31304)),i=r(n(65327));const l=(0,o.forwardRef)((function(e,t){let{children:n,...r}=e;return(0,o.createElement)(i.default,(0,a.default)({ref:t},r),n)}));t.TreeGridItem=l;var s=l;t.default=s},10906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRovingTabIndexContext=t.RovingTabIndexProvider=void 0;var r=n(32847);const o=(0,r.createContext)(void 0);t.useRovingTabIndexContext=()=>(0,r.useContext)(o);const a=o.Provider;t.RovingTabIndexProvider=a},65327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RovingTabIndexItem=void 0;var r=n(32847),o=n(10906);const a=(0,r.forwardRef)((function(e,t){let{children:n,as:a,...i}=e;const l=(0,r.useRef)(),s=t||l,{lastFocusedElement:u,setLastFocusedElement:c}=(0,o.useRovingTabIndexContext)();let d;u&&(d=u===("current"in s?s.current:void 0)?0:-1);const f={ref:s,tabIndex:d,onFocus:e=>null==c?void 0:c(e.target),...i};return"function"==typeof n?n(f):a?(0,r.createElement)(a,f,n):null}));t.RovingTabIndexItem=a;var i=a;t.default=i},49598:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t}=e;const[n,a]=(0,r.useState)(),i=(0,r.useMemo)((()=>({lastFocusedElement:n,setLastFocusedElement:a})),[n]);return(0,r.createElement)(o.RovingTabIndexProvider,{value:i},t)};var r=n(32847),o=n(10906)},88169:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TreeGridRow=void 0;var o=n(32847),a=r(n(31304));const i=(0,o.forwardRef)((function(e,t){let{children:n,level:r,positionInSet:i,setSize:l,isExpanded:s,...u}=e;return(0,o.createElement)("tr",(0,a.default)({},u,{ref:t,role:"row","aria-level":r,"aria-posinset":i,"aria-setsize":l,"aria-expanded":s}),n)}));t.TreeGridRow=i;var l=i;t.default=l},52019:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.TreeSelect=u,t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(98576),l=n(13719);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.flatMap((e=>[{value:e.id,label:" ".repeat(3*t)+(0,i.decodeEntities)(e.name)},...s(e.children||[],t+1)]))}function u(e){let{label:t,noOptionLabel:n,onChange:r,selectedId:i,tree:u=[],...c}=e;const d=(0,o.useMemo)((()=>[n&&{value:"",label:n},...s(u)].filter((e=>!!e))),[n,u]);return(0,o.createElement)(l.SelectControl,(0,a.default)({label:t,options:d,onChange:r,value:i},c))}var c=u;t.default=c},96128:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Truncate=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=r(n(38796));const u=(0,i.contextConnect)((function(e,t){const n=(0,s.default)(e);return(0,o.createElement)(l.View,(0,a.default)({as:"span"},n,{ref:t}))}),"Truncate");t.Truncate=u;var c=u;t.default=c},38796:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{className:t,children:n,ellipsis:u=l.TRUNCATE_ELLIPSIS,ellipsizeMode:c=l.TRUNCATE_TYPE.auto,limit:d=0,numberOfLines:f=0,...m}=(0,a.useContextSystem)(e,"Truncate"),p=(0,s.useCx)(),v=(0,l.truncateContent)("string"==typeof n?n:"",{ellipsis:u,ellipsizeMode:c,limit:d,numberOfLines:f}),h=c===l.TRUNCATE_TYPE.auto;return{...m,className:(0,o.useMemo)((()=>{const e=(0,r.css)("-webkit-box-orient:vertical;-webkit-line-clamp:",f,";display:-webkit-box;overflow:hidden;","");return p(h&&!f&&i.Truncate,h&&!!f&&e,t)}),[t,p,f,h]),children:v}};var r=n(18591),o=n(32847),a=n(98138),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(60214)),l=n(28707),s=n(7769);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}},36013:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Truncate",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useTruncate",{enumerable:!0,get:function(){return a.default}});var o=r(n(96128)),a=r(n(38796))},60214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Truncate=void 0,n(18591);t.Truncate={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"}},28707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TRUNCATE_TYPE=t.TRUNCATE_ELLIPSIS=t.TRUNCATE_DEFAULT_PROPS=void 0,t.truncateContent=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n={...i,...t},{ellipsis:r,ellipsizeMode:o,limit:s}=n;if(o===a.none)return e;let u,c;switch(o){case a.head:u=0,c=s;break;case a.middle:u=Math.floor(s/2),c=Math.floor(s/2);break;default:u=s,c=0}return o!==a.auto?l(e,u,c,r):e},t.truncateMiddle=l;var r=n(39984);const o="…";t.TRUNCATE_ELLIPSIS=o;const a={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"};t.TRUNCATE_TYPE=a;const i={ellipsis:o,ellipsizeMode:a.auto,limit:0,numberOfLines:0};function l(e,t,n,a){if("string"!=typeof e)return"";const i=e.length,l=~~t,s=~~n,u=(0,r.isValueDefined)(a)?a:o;return 0===l&&0===s||l>=i||s>=i||l+s>=i?e:0===s?e.slice(0,l)+u:e.slice(0,l)+u+e.slice(i-s)}t.TRUNCATE_DEFAULT_PROPS=i},36274:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REACT_TYPEOF_KEY=t.CONTEXT_COMPONENT_NAMESPACE=t.CONNECT_STATIC_NAMESPACE=t.CONNECTED_NAMESPACE=t.COMPONENT_NAMESPACE=void 0,t.REACT_TYPEOF_KEY="$$typeof",t.COMPONENT_NAMESPACE="data-wp-component",t.CONNECTED_NAMESPACE="data-wp-c16t",t.CONTEXT_COMPONENT_NAMESPACE="data-wp-c5tc8t",t.CONNECT_STATIC_NAMESPACE="__contextSystemKey__"},21863:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.contextConnect=function(e,t){return l(e,t,{forwardsRef:!0})},t.contextConnectWithoutRef=function(e,t){return l(e,t)},t.getConnectNamespace=s,t.hasConnectNamespace=function(e,t){return!!e&&("string"==typeof t?s(e).includes(t):!!Array.isArray(t)&&t.some((t=>s(e).includes(t))))};var o=n(32847),a=(r(n(19521)),n(36274)),i=n(83412);function l(e,t,n){const r=null!=n&&n.forwardsRef?(0,o.forwardRef)(e):e;void 0===t&&"undefined"!=typeof process&&process.env;let l=r[a.CONNECT_STATIC_NAMESPACE]||[t];return Array.isArray(t)&&(l=[...l,...t]),"string"==typeof t&&(l=[...l,t]),Object.assign(r,{[a.CONNECT_STATIC_NAMESPACE]:[...new Set(l)],displayName:t,selector:`.${(0,i.getStyledClassNameFromKey)(t)}`})}function s(e){if(!e)return[];let t=[];return e[a.CONNECT_STATIC_NAMESPACE]&&(t=e[a.CONNECT_STATIC_NAMESPACE]),e.type&&e.type[a.CONNECT_STATIC_NAMESPACE]&&(t=e.type[a.CONNECT_STATIC_NAMESPACE]),t}},28071:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useComponentsContext=t.ContextSystemProvider=t.ComponentsContext=void 0;var o=n(32847),a=r(n(8026)),i=r(n(55701)),l=n(60285),s=(r(n(19521)),n(40455));const u=(0,o.createContext)({});t.ComponentsContext=u;const c=()=>(0,o.useContext)(u);t.useComponentsContext=c;const d=(0,o.memo)((e=>{let{children:t,value:n}=e;const r=function(e){let{value:t}=e;const n=c(),r=(0,o.useRef)(t);return(0,s.useUpdateEffect)((()=>{(0,i.default)(r.current,t)&&r.current!==t&&"undefined"!=typeof process&&process.env}),[t]),(0,o.useMemo)((()=>(0,a.default)(null!=n?n:{},null!=t?t:{},{isMergeableObject:l.isPlainObject})),[n,t])}({value:n});return(0,o.createElement)(u.Provider,{value:r},t)}));t.ContextSystemProvider=d},83412:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getStyledClassNameFromKey=void 0;var o=n(61888);const a=(0,r(n(35721)).default)((function(e){return`components-${(0,o.kebabCase)(e)}`}));t.getStyledClassNameFromKey=a},98138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ContextSystemProvider:!0,useComponentsContext:!0,contextConnect:!0,hasConnectNamespace:!0,getConnectNamespace:!0,useContextSystem:!0};Object.defineProperty(t,"ContextSystemProvider",{enumerable:!0,get:function(){return o.ContextSystemProvider}}),Object.defineProperty(t,"contextConnect",{enumerable:!0,get:function(){return a.contextConnect}}),Object.defineProperty(t,"getConnectNamespace",{enumerable:!0,get:function(){return a.getConnectNamespace}}),Object.defineProperty(t,"hasConnectNamespace",{enumerable:!0,get:function(){return a.hasConnectNamespace}}),Object.defineProperty(t,"useComponentsContext",{enumerable:!0,get:function(){return o.useComponentsContext}}),Object.defineProperty(t,"useContextSystem",{enumerable:!0,get:function(){return i.useContextSystem}});var o=n(28071),a=n(21863),i=n(52742),l=n(85146);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}))},52742:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.useContextSystem=function(e,t){const n=(0,o.useComponentsContext)();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},s={...(0,a.getConnectedNamespace)(),...(0,a.getNamespace)(t)},{_overrides:u,...c}=r,d=Object.entries(c).length?Object.assign({},c,e):e,f=(0,l.useCx)()((0,i.getStyledClassNameFromKey)(t),e.className),m="function"==typeof d.renderChildren?d.renderChildren(d):d.children;for(const e in d)s[e]=d[e];for(const e in u)s[e]=u[e];return void 0!==m&&(s.children=m),s.className=f,s},r(n(19521));var o=n(28071),a=n(87535),i=n(83412),l=n(7769)},87535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConnectedNamespace=function(){return{[r.CONNECTED_NAMESPACE]:!0}},t.getNamespace=function(e){return{[r.COMPONENT_NAMESPACE]:e}};var r=n(36274)},85146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},63709:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=(0,i.contextConnect)((function(e,t){const{as:n="span",shortcut:r,className:s,...u}=(0,i.useContextSystem)(e,"Shortcut");if(!r)return null;let c,d;return"string"==typeof r?c=r:(c=r.display,d=r.ariaLabel),(0,o.createElement)(l.View,(0,a.default)({as:n,className:s,"aria-label":d,ref:t},u),c)}),"Shortcut");t.default=s},48105:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Shortcut",{enumerable:!0,get:function(){return o.default}});var o=r(n(63709))},14548:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(86683),l=n(98138),s=n(17891),u=r(n(30648)),c=n(32340),d=(0,l.contextConnect)((function(e,t){const{animated:n=!0,animationDuration:r=160,baseId:d,children:f,content:m,focusable:p=!0,gutter:v=4,id:h,modal:g=!0,placement:b,visible:y=!1,shortcut:_,...w}=(0,l.useContextSystem)(e,"Tooltip"),x=(0,i.useTooltipState)({animated:n?r:void 0,baseId:d||h,gutter:v,placement:b,visible:y,...w}),C=(0,o.useMemo)((()=>({tooltip:x})),[x]);return(0,o.createElement)(s.TooltipContext.Provider,{value:C},m&&(0,o.createElement)(u.default,{unstable_portal:g,ref:t},m,_&&(0,o.createElement)(c.TooltipShortcut,{shortcut:_})),f&&(0,o.createElement)(i.TooltipReference,(0,a.default)({},x,f.props,{ref:null==f?void 0:f.ref}),(e=>(p||(e.tabIndex=void 0),(0,o.cloneElement)(f,e)))))}),"Tooltip");t.default=d},30648:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(32847),a=r(n(31304)),i=n(86683),l=n(98138),s=n(29640),u=n(17891),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(32340)),d=n(7769);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}const{TooltipPopoverView:m}=c;var p=(0,l.contextConnect)((function(e,t){const{children:n,className:r,...f}=(0,l.useContextSystem)(e,"TooltipContent"),{tooltip:p}=(0,u.useTooltipContext)(),v=(0,d.useCx)()(c.TooltipContent,r);return(0,o.createElement)(i.Tooltip,(0,a.default)({as:s.View},f,p,{className:v,ref:t}),(0,o.createElement)(m,null,n))}),"TooltipContent");t.default=p},17891:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTooltipContext=t.TooltipContext=void 0;var r=n(32847);const o=(0,r.createContext)({});t.TooltipContext=o,t.useTooltipContext=()=>(0,r.useContext)(o)},47516:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0});var o={Tooltip:!0};Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return a.default}});var a=r(n(14548)),i=n(17891);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},32340:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.noOutline=t.TooltipShortcut=t.TooltipPopoverView=t.TooltipContent=void 0;var o=r(n(12272)),a=n(18591),i=n(48105),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(23533)),s=r(n(50081)),u=n(36877),c=n(92941);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const f=(0,a.css)("z-index:",l.Tooltip,";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ",s.default.transitionDurationFastest," ease;font-size:",s.default.fontSize,";&[data-enter]{opacity:1;}","");t.TooltipContent=f;const m=(0,o.default)("div",{target:"e7tfjmw1"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:",c.COLORS.white,";padding:4px 8px;");t.TooltipPopoverView=m;t.noOutline={name:"12mkfdx",styles:"outline:none"};const p=(0,o.default)(i.Shortcut,{target:"e7tfjmw0"})("display:inline-block;margin-left:",(0,u.space)(1),";");t.TooltipShortcut=p},25542:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.getOptimalTextColor=u,t.getOptimalTextShade=function(e){return"#000000"===u(e)?"dark":"light"};var o=r(n(35721)),a=n(9009),i=r(n(11343));let l;(0,a.extend)([i.default]);const s=(0,o.default)((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&(0,a.colord)(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!l){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),l=e}return l}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));function u(e){const t=s(e);return(0,a.colord)(t).isLight()?"#000000":"#ffffff"}},31207:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.PRESET_FONT_SIZES=t.HEADING_FONT_SIZES=t.BASE_FONT_SIZE=void 0,t.getFontSize=s,t.getHeadingFontSize=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;if(!l.includes(e))return s(e);const t=`fontSizeH${e}`;return o.default[t]};var o=r(n(50081));const a=13;t.BASE_FONT_SIZE=a;const i={body:a,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};t.PRESET_FONT_SIZES=i;const l=[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if(e in i)return s(i[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc((${e} / ${a}) * ${o.default.fontSize})`}t.HEADING_FONT_SIZES=l},9238:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValidChildren=function(e){return"string"==typeof e?[e]:r.Children.toArray(e).filter((e=>(0,r.isValidElement)(e)))};var r=n(32847)},20250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getOptimalTextShade",{enumerable:!0,get:function(){return r.getOptimalTextShade}});var r=n(25542)},36877:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.space=function(e){var t,r;if(void 0===e)return;if(!e)return"0";const o="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(r=t.supports)&&void 0!==r&&r.call(t,"margin",e.toString())||Number.isNaN(o)?e.toString():`calc(${n} * ${e})`};const n="4px"},52563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBreakpointIndex=void 0,t.useResponsiveValue=function(e){const t=a(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});if(!Array.isArray(e)&&"function"!=typeof e)return e;const n=e||[];return n[t>=n.length?n.length-1:t]};var r=n(32847);const o=["40em","52em","64em"],a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>o.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${o.length} breakpoints, got index ${t}`);const[n,a]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const e=()=>{const e=o.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&a(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n};t.useBreakpointIndex=a},41001:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UnitControl=void 0,Object.defineProperty(t,"parseQuantityAndUnitFromRawValue",{enumerable:!0,get:function(){return f.parseQuantityAndUnitFromRawValue}}),Object.defineProperty(t,"useCustomUnits",{enumerable:!0,get:function(){return f.useCustomUnits}});var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=r(n(6777)),s=n(25150),u=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(49129)),c=n(67076),d=r(n(72622)),f=n(98789),m=n(92342);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const v=(0,o.forwardRef)((function(e,t){const{__unstableStateReducer:n,autoComplete:r="off",children:p,className:v,disabled:h=!1,disableUnits:g=!1,isPressEnterToChange:b=!1,isResetValueOnUnitChange:y=!1,isUnitSelectTabbable:_=!0,label:w,onChange:x,onUnitChange:C,size:E="default",unit:O,units:S=f.CSS_UNITS,value:M,onBlur:P,onFocus:k,...j}=e;"unit"in e&&(0,l.default)("UnitControl unit prop",{since:"5.6",hint:"The unit should be provided within the `value` prop.",version:"6.2"});const T=null!=M?M:void 0,I=(0,o.useMemo)((()=>(0,f.getUnitsWithCurrentUnit)(T,O,S)),[T,O,S]),[N,R]=(0,f.getParsedQuantityAndUnit)(T,O,I),[L,D]=(0,m.useControlledState)(1===I.length?I[0].value:O,{initial:R,fallback:""});(0,o.useEffect)((()=>{void 0!==R&&D(R)}),[R,D]);const V=(0,o.useRef)(void 0),B=(0,i.default)("components-unit-control","components-unit-control-wrapper",v),A=e=>{if(!isNaN(Number(e.currentTarget.value)))return void(V.current=void 0);const[t,n]=(0,f.getValidParsedQuantityAndUnit)(e.currentTarget.value,I,N,L);if(V.current=t,b&&n!==L){const t=Array.isArray(I)?I.find((e=>e.value===n)):void 0;null==C||C(n,{event:e,data:t}),D(n)}},z=(e,t)=>{const n={...e};var r;return t.type===u.COMMIT&&void 0!==V.current&&(n.value=(null!==(r=V.current)&&void 0!==r?r:"").toString(),V.current=void 0),n};let H=z;n&&(H=(e,t)=>{const r=z(e,t);return n(r,t)});const F=g?null:(0,o.createElement)(d.default,{"aria-label":(0,s.__)("Select unit"),disabled:h,isUnitSelectTabbable:_,onChange:(e,t)=>{const{data:n}=t;let r=`${null!=N?N:""}${e}`;y&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),null==x||x(r,t),null==C||C(e,t),D(e)},size:E,unit:L,units:I,onBlur:P,onFocus:k});let W=j.step;if(!W&&I){var Z;const e=I.find((e=>e.value===L));W=null!==(Z=null==e?void 0:e.step)&&void 0!==Z?Z:1}return(0,o.createElement)(c.ValueInput,(0,a.default)({type:b?"text":"number"},j,{autoComplete:r,className:B,disabled:h,spinControls:"none",isPressEnterToChange:b,label:w,onBlur:e=>{A(e),null==P||P(e)},onKeyDown:e=>{const{key:t}=e;"Enter"===t&&A(e)},onChange:(e,t)=>{if(""===e||null==e)return void(null==x||x("",t));const n=(0,f.getValidParsedQuantityAndUnit)(e,I,N,L).join("");null==x||x(n,t)},ref:t,size:E,suffix:F,value:null!=N?N:"",step:W,__unstableStateReducer:H,onFocus:k}))}));t.UnitControl=v;var h=v;t.default=h},67076:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ValueInput=t.UnitSelect=t.UnitLabel=void 0;var o=r(n(12272)),a=n(18591),i=n(40455),l=r(n(5838)),s=n(75882),u=n(36877);const c=(0,o.default)(l.default,{target:"e1bagdl32"})("&&&{input{display:block;width:100%;}",s.BackdropUI,"{transition:box-shadow 0.1s linear;}}");t.ValueInput=c;const d=e=>{let{selectSize:t}=e;const n={default:(0,a.css)("box-sizing:border-box;padding:2px 1px;width:20px;color:",i.COLORS.gray[800],";font-size:8px;line-height:1;letter-spacing:-0.5px;text-transform:uppercase;text-align-last:center;",""),large:(0,a.css)("box-sizing:border-box;min-width:24px;max-width:48px;height:24px;margin-inline-end:",(0,u.space)(2),";padding:",(0,u.space)(1),";color:",i.COLORS.ui.theme,";font-size:13px;line-height:1;text-align-last:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;","")};return"__unstable-large"===t?n.large:n.default},f=(0,o.default)("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",d,";color:",i.COLORS.gray[900],";}");t.UnitLabel=f;const m=(0,o.default)("select",{target:"e1bagdl30"})("&&&{appearance:none;background:transparent;border-radius:2px;border:none;display:block;outline:none;margin:0;min-height:auto;font-family:inherit;",d,";",(e=>{let{selectSize:t="default"}=e;const n={default:(0,a.css)("height:100%;border:1px solid transparent;transition:box-shadow 0.1s linear,border 0.1s linear;",(0,i.rtl)({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," &:not(:disabled):hover{background-color:",i.COLORS.gray[100],";}&:focus{border:1px solid ",i.COLORS.ui.borderFocus,";box-shadow:inset 0 0 0 ",i.CONFIG.borderWidth+" "+i.COLORS.ui.borderFocus,";outline-offset:0;outline:2px solid transparent;z-index:1;}",""),large:(0,a.css)("display:flex;justify-content:center;align-items:center;&:hover{color:",i.COLORS.ui.borderFocus,";box-shadow:inset 0 0 0 ",i.CONFIG.borderWidth+" "+i.COLORS.ui.borderFocus,";outline:",i.CONFIG.borderWidth," solid transparent;}&:focus{box-shadow:0 0 0 ",i.CONFIG.borderWidthFocus+" "+i.COLORS.ui.borderFocus,";outline:",i.CONFIG.borderWidthFocus," solid transparent;}","")};return"__unstable-large"===t?n.large:n.default}),";&:not( :disabled ){cursor:pointer;}}");t.UnitSelect=m},72622:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{className:t,isUnitSelectTabbable:n=!0,onChange:r,size:u="default",unit:c="px",units:d=s.CSS_UNITS,...f}=e;if(!(0,s.hasUnits)(d)||1===(null==d?void 0:d.length))return(0,o.createElement)(l.UnitLabel,{className:"components-unit-control__unit-label",selectSize:u},c);const m=(0,i.default)("components-unit-control__select",t);return(0,o.createElement)(l.UnitSelect,(0,a.default)({className:m,onChange:e=>{const{value:t}=e.target,n=d.find((e=>e.value===t));null==r||r(t,{event:e,data:n})},selectSize:u,tabIndex:n?void 0:-1,value:c},f),d.map((e=>(0,o.createElement)("option",{value:e.value,key:e.value},e.label))))};var o=n(32847),a=r(n(31304)),i=r(n(26372)),l=n(67076),s=n(98789)},98789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_UNIT=t.CSS_UNITS=t.ALL_CSS_UNITS=void 0,t.filterUnitsWithSettings=f,t.getAccessibleLabelForUnit=function(e){const t=i.find((t=>t.value===e));return null!=t&&t.a11yLabel?null==t?void 0:t.a11yLabel:null==t?void 0:t.value},t.getParsedQuantityAndUnit=u,t.getUnitsWithCurrentUnit=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;const r=Array.isArray(n)?[...n]:[],[,o]=u(e,t,i);return o&&!r.some((e=>e.value===o))&&a[o]&&r.unshift(a[o]),r},t.getValidParsedQuantityAndUnit=function(e,t,n,r){const[o,a]=d(e,t),i=null!=o?o:n;let l=a||r;return!l&&c(t)&&(l=t[0].value),[i,l]},t.hasUnits=c,t.parseQuantityAndUnitFromRawValue=d,t.useCustomUnits=void 0;var r=n(25150);const o="web"===n(32847).Platform.OS,a={px:{value:"px",label:o?"px":(0,r.__)("Pixels (px)"),a11yLabel:(0,r.__)("Pixels (px)"),step:1},"%":{value:"%",label:o?"%":(0,r.__)("Percentage (%)"),a11yLabel:(0,r.__)("Percent (%)"),step:.1},em:{value:"em",label:o?"em":(0,r.__)("Relative to parent font size (em)"),a11yLabel:(0,r._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:o?"rem":(0,r.__)("Relative to root font size (rem)"),a11yLabel:(0,r._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:o?"vw":(0,r.__)("Viewport width (vw)"),a11yLabel:(0,r.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:o?"vh":(0,r.__)("Viewport height (vh)"),a11yLabel:(0,r.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:o?"vmin":(0,r.__)("Viewport smallest dimension (vmin)"),a11yLabel:(0,r.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:o?"vmax":(0,r.__)("Viewport largest dimension (vmax)"),a11yLabel:(0,r.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:o?"ch":(0,r.__)("Width of the zero (0) character (ch)"),a11yLabel:(0,r.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:o?"ex":(0,r.__)("x-height of the font (ex)"),a11yLabel:(0,r.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:o?"cm":(0,r.__)("Centimeters (cm)"),a11yLabel:(0,r.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:o?"mm":(0,r.__)("Millimeters (mm)"),a11yLabel:(0,r.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:o?"in":(0,r.__)("Inches (in)"),a11yLabel:(0,r.__)("Inches (in)"),step:.001},pc:{value:"pc",label:o?"pc":(0,r.__)("Picas (pc)"),a11yLabel:(0,r.__)("Picas (pc)"),step:1},pt:{value:"pt",label:o?"pt":(0,r.__)("Points (pt)"),a11yLabel:(0,r.__)("Points (pt)"),step:1}},i=Object.values(a);t.ALL_CSS_UNITS=i;const l=[a.px,a["%"],a.em,a.rem,a.vw,a.vh];t.CSS_UNITS=l;const s=a.px;function u(e,t,n){return d(t?`${null!=e?e:""}${t}`:e,n)}function c(e){return Array.isArray(e)&&!!e.length}function d(e){var t,n;let r,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if(void 0!==e||null===e){r=`${e}`.trim();const t=parseFloat(r);o=isFinite(t)?t:void 0}const l=null===(t=r)||void 0===t?void 0:t.match(/[\d.\-\+]*\s*(.*)/),u=null==l||null===(n=l[1])||void 0===n?void 0:n.toLowerCase();let d;if(c(a)){const e=a.find((e=>e.value===u));d=null==e?void 0:e.value}else d=s.value;return[o,d]}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return Array.isArray(t)?t.filter((t=>e.includes(t.value))):[]}t.DEFAULT_UNIT=s,t.useCustomUnits=e=>{let{units:t=i,availableUnits:n=[],defaultValues:r}=e;const o=f(n,t);return r&&o.forEach(((e,t)=>{if(r[e.value]){const[n]=d(r[e.value]);o[t].default=n}})),o}},76087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseLabelTypography=void 0,n(18591);t.baseLabelTypography={name:"9amh4a",styles:"font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase"}},63333:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boxSizingReset=void 0,n(18591);t.boxSizingReset={name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"}},52546:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"}},48643:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.breakpoint=void 0;var o=r(n(52546));t.breakpoint=e=>`@media (min-width: ${o.default[e]})`},92941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.COLORS=void 0;var r=n(79141);const o="#fff",a={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},i="var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1))",l={theme:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba))",themeDark10:i,background:o,backgroundDisabled:a[100],border:a[600],borderHover:a[700],borderFocus:i,borderDisabled:a[400],textDisabled:a[600],textDark:o,darkGrayPlaceholder:(0,r.rgba)(a[900],.62),lightGrayPlaceholder:(0,r.rgba)(o,.65)},s=Object.freeze({gray:a,white:o,alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},ui:l});t.COLORS=s;var u=s;t.default=u},79141:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.rgba=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,o.colord)(e).alpha(t).toRgbString()};var o=n(9009),a=r(n(11343));(0,o.extend)([a.default])},50081:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(36877),o=n(92941);const a="36px",i="12px",l={controlSurfaceColor:o.COLORS.white,controlTextActiveColor:o.COLORS.ui.theme,controlPaddingX:i,controlPaddingXLarge:`calc(${i} * 1.3334)`,controlPaddingXSmall:`calc(${i} / 1.3334)`,controlBackgroundColor:o.COLORS.white,controlBorderRadius:"2px",controlBoxShadow:"transparent",controlBoxShadowFocus:`0 0 0 0.5px ${o.COLORS.ui.theme}`,controlDestructiveBorderColor:o.COLORS.alert.red,controlHeight:a,controlHeightXSmall:`calc( ${a} * 0.6 )`,controlHeightSmall:`calc( ${a} * 0.8 )`,controlHeightLarge:`calc( ${a} * 1.2 )`,controlHeightXLarge:`calc( ${a} * 1.4 )`},s={toggleGroupControlBackgroundColor:l.controlBackgroundColor,toggleGroupControlBorderColor:o.COLORS.ui.border,toggleGroupControlBackdropBackgroundColor:l.controlSurfaceColor,toggleGroupControlBackdropBorderColor:o.COLORS.ui.border,toggleGroupControlButtonColorActive:l.controlBackgroundColor};var u=Object.assign({},l,s,{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,radiusBlockUi:"2px",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.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:`${(0,r.space)(2)}`,cardPaddingSmall:`${(0,r.space)(4)}`,cardPaddingMedium:`${(0,r.space)(4)} ${(0,r.space)(6)}`,cardPaddingLarge:`${(0,r.space)(6)} ${(0,r.space)(8)}`,surfaceBackgroundColor:o.COLORS.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:o.COLORS.white,surfaceColor:o.COLORS.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)"});t.default=u},76923:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"}},46254:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.font=function(e){return(0,o.get)(a.default,e,"")};var o=n(61888),a=r(n(76923))},92342:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useControlledState",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useControlledValue",{enumerable:!0,get:function(){return i.useControlledValue}}),Object.defineProperty(t,"useCx",{enumerable:!0,get:function(){return l.useCx}}),Object.defineProperty(t,"useLatestRef",{enumerable:!0,get:function(){return s.useLatestRef}}),Object.defineProperty(t,"useUpdateEffect",{enumerable:!0,get:function(){return a.default}});var o=r(n(8695)),a=r(n(28742)),i=n(41961),l=n(7769),s=n(93535)},8695:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847),o=n(39984);const a={initial:void 0,fallback:""};t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;const{initial:n,fallback:i}={...a,...t},[l,s]=(0,r.useState)(e),u=(0,o.isValueDefined)(e);return(0,r.useEffect)((()=>{u&&l&&s(void 0)}),[u,l]),[(0,o.getDefinedValue)([e,l,n],i),(0,r.useCallback)((e=>{u||s(e)}),[u])]}},41961:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useControlledValue=function(e){let{defaultValue:t,onChange:n,value:o}=e;const a=void 0!==o,i=a?o:t,[l,s]=(0,r.useState)(i);let u;return u=a&&"function"==typeof n?n:a||"function"!=typeof n?s:e=>{n(e),s(e)},[a?o:l,u]};var r=n(32847)},7769:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCx=void 0;var r=n(18591),o=n(66347),a=n(26912),i=n(32847);t.useCx=()=>{const e=(0,r.__unsafe_useEmotionCache)(),t=(0,i.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,a.cx)(...n.map((t=>{return null!=(n=t)&&["name","styles"].every((e=>void 0!==n[e]))?((0,o.insertStyles)(e,t,!1),`${e.key}-${t.name}`):t;var n})))}),[e]);return t}},93535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useLatestRef=function(e){const t=(0,r.useRef)(e);return(0,o.useIsomorphicLayoutEffect)((()=>{t.current=e})),t};var r=n(32847),o=n(89029)},28742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32847);t.default=function(e,t){const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}},40455:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(92342);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(68877);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}))},33014:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inputStyleNeutral=t.inputStyleFocus=void 0;var r=n(18591),o=(n(39592),n(92941)),a=n(40455);const i=(0,r.css)("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",a.CONFIG.radiusBlockUi,";border:",a.CONFIG.borderWidth," solid ",o.COLORS.ui.border,";","");t.inputStyleNeutral=i;const l=(0,r.css)("border-color:",o.COLORS.ui.theme,";box-shadow:0 0 0 calc( ",a.CONFIG.borderWidthFocus," - ",a.CONFIG.borderWidth," ) ",o.COLORS.ui.theme,";outline:2px solid transparent;","");t.inputStyleFocus=l},17409:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4921);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},4921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inputControl=void 0;var r=n(18591),o=n(33014),a=n(46254),i=n(92941),l=n(48643);const s=(0,r.css)("font-family:",(0,a.font)("default.fontFamily"),";padding:6px 8px;",o.inputStyleNeutral,";font-size:",(0,a.font)("mobileTextMinFontSize"),";line-height:normal;",(0,l.breakpoint)("small"),"{font-size:",(0,a.font)("default.fontSize"),";line-height:normal;}&:focus{",o.inputStyleFocus,";}&::-webkit-input-placeholder{color:",i.COLORS.ui.darkGrayPlaceholder,";}&::-moz-placeholder{opacity:1;color:",i.COLORS.ui.darkGrayPlaceholder,";}&:-ms-input-placeholder{color:",i.COLORS.ui.darkGrayPlaceholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",i.COLORS.ui.lightGrayPlaceholder,";}&::-moz-placeholder{opacity:1;color:",i.COLORS.ui.lightGrayPlaceholder,";}&:-ms-input-placeholder{color:",i.COLORS.ui.lightGrayPlaceholder,";}}","");t.inputControl=s},72337:function(e,t){"use strict";function n(e){const t=Number(e);return isNaN(t)?0:t}function r(e,t,r){const o=n(e);return Math.max(t,Math.min(o,r))}function o(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const a=n(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0),i=n(o),l=function(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}(o),s=r(Math.round(a/i)*i,e,t);return l?n(s.toFixed(l)):s}Object.defineProperty(t,"__esModule",{value:!0}),t.add=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t)=>e+n(t)),0)},t.clamp=r,t.getNumber=n,t.roundClamp=o,t.roundClampString=function(){return o(...arguments).toString()},t.subtract=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t,r)=>{const o=n(t);return 0===r?o:e-o}),0)}},39592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduceMotion=function(){let e;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition"){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}},49853:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertLTRToRTL=void 0,t.rtl=d;var r=n(18591),o=n(25150);const a=new RegExp(/-left/g),i=new RegExp(/-right/g),l=new RegExp(/Left/g),s=new RegExp(/Right/g);function u(e){return"left"===e?"right":"right"===e?"left":a.test(e)?e.replace(a,"-right"):i.test(e)?e.replace(i,"-left"):l.test(e)?e.replace(l,"Right"):s.test(e)?e.replace(s,"Left"):e}const c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.fromEntries(Object.entries(e).map((e=>{let[t,n]=e;return[u(t),n]})))};function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?(0,o.isRTL)()?(0,r.css)(t,""):(0,r.css)(e,""):(0,o.isRTL)()?(0,r.css)(c(e),""):(0,r.css)(e,"")}t.convertLTRToRTL=c,d.watch=()=>(0,o.isRTL)()},71892:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.escapeRegExp=function(e){return e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")},t.normalizeTextString=void 0;var o=r(n(68457));const a=new RegExp(`[${["-","~","","֊","־","᐀","᠆","‐","‑","‒","–","—","―","⁓","⁻","₋","−","⸗","⸺","⸻","〜","〰","゠","︱","︲","﹘","﹣","-"].join("")}]`,"g");t.normalizeTextString=e=>(0,o.default)(e).toLocaleLowerCase().replace(a,"-")},68877:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"COLORS",{enumerable:!0,get:function(){return d.COLORS}}),Object.defineProperty(t,"CONFIG",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"baseLabelTypography",{enumerable:!0,get:function(){return f.baseLabelTypography}}),Object.defineProperty(t,"boxSizingReset",{enumerable:!0,get:function(){return o.boxSizingReset}}),Object.defineProperty(t,"breakpoint",{enumerable:!0,get:function(){return u.breakpoint}}),Object.defineProperty(t,"font",{enumerable:!0,get:function(){return s.font}}),Object.defineProperty(t,"reduceMotion",{enumerable:!0,get:function(){return i.reduceMotion}}),Object.defineProperty(t,"rgba",{enumerable:!0,get:function(){return a.rgba}}),Object.defineProperty(t,"rtl",{enumerable:!0,get:function(){return l.rtl}});var o=n(63333),a=n(79141),i=n(39592),l=n(49853),s=n(46254),u=n(48643),c=r(n(50081)),d=n(92941),f=n(76087)},48569:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCSSUnitValue=function(e,t){return`${e}${t}`},t.parseCSSUnitValue=function(e){const t=e.trim().match(n);if(!t)return[void 0,void 0];const[,r,o]=t;let a=parseFloat(r);return a=Number.isNaN(a)?void 0:a,[a,o]};const n=/^([\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)?$/},39984:function(e,t){"use strict";function n(e){return null!=e}Object.defineProperty(t,"__esModule",{value:!0}),t.ensureString=t.ensureNumber=void 0,t.getDefinedValue=function(){var e;let t=arguments.length>1?arguments[1]:void 0;return null!==(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).find(n))&&void 0!==e?e:t},t.isValueDefined=n,t.isValueEmpty=function(e){const t=""===e;return!n(e)||t},t.isValueNumeric=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.navigator.language;a.some((e=>t.startsWith(e)))&&(t="en-GB",i.test(e)&&(e=e.replace(/[٠-٩]/g,(e=>"٠١٢٣٤٥٦٧٨٩".indexOf(e))).replace(/[۰-۹]/g,(e=>"۰۱۲۳۴۵۶۷۸۹".indexOf(e))).replace(/٬/g,",").replace(/٫/g,".")));const[n,l]=r(t),s="string"==typeof e?e.replace(n,"").replace(l,".").replace(o,""):e;return!isNaN(parseFloat(s))&&isFinite(s)},t.stringToNumber=t.numberToString=void 0;const r=e=>{const t=Intl.NumberFormat(e).format(1000.1),n=t[1],r=t[t.length-2];return[new RegExp(`\\${n}`,"g"),new RegExp(`\\${r}`,"g")]},o=/ /g,a=["ar","fa","ur","ckb","ps"],i=/([۰-۹]|[٠-٩])/g,l=e=>parseFloat(e);t.stringToNumber=l;const s=e=>`${e}`;t.numberToString=s,t.ensureNumber=e=>"string"==typeof e?l(e):e,t.ensureString=e=>"string"==typeof e?e:s(e)},23533:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=t.Flyout=void 0,t.Flyout=1e4,t.Tooltip=1000002},32584:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VStack=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(29640),s=n(62905);const u=(0,i.contextConnect)((function(e,t){const n=(0,s.useVStack)(e);return(0,o.createElement)(l.View,(0,a.default)({},n,{ref:t}))}),"VStack");t.VStack=u;var c=u;t.default=c},62905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useVStack=function(e){const{expanded:t=!1,...n}=(0,r.useContextSystem)(e,"VStack");return(0,o.useHStack)({direction:"column",expanded:t,...n})};var r=n(98138),o=n(44384)},74618:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VStack",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useVStack",{enumerable:!0,get:function(){return a.useVStack}});var o=r(n(32584)),a=n(62905)},7681:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.View=void 0;const o=(0,r(n(12272)).default)("div",{target:"e19lxcc00"})("");t.View=o,o.selector=".components-view",o.displayName="View";var a=o;t.default=a},29640:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"View",{enumerable:!0,get:function(){return o.default}});var o=r(n(7681))},2625:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.VisuallyHidden=void 0;var o=n(32847),a=r(n(31304)),i=n(98138),l=n(37930),s=n(29640);const u=(0,i.contextConnect)((function(e,t){const{style:n,...r}=(0,i.useContextSystem)(e,"VisuallyHidden");return(0,o.createElement)(s.View,(0,a.default)({ref:t},r,{style:{...l.visuallyHidden,...n||{}}}))}),"VisuallyHidden");t.VisuallyHidden=u;var c=u;t.default=c},42937:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VisuallyHidden",{enumerable:!0,get:function(){return o.default}});var o=r(n(2625))},37930:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visuallyHidden=void 0,t.visuallyHidden={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"}},56366:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ZStack=void 0;var o=n(32847),a=r(n(31304)),i=n(9238),l=n(98138),s=n(61229);const u=(0,l.contextConnect)((function(e,t){const{children:n,className:r,isLayered:u=!0,isReversed:c=!1,offset:d=0,...f}=(0,l.useContextSystem)(e,"ZStack"),m=(0,i.getValidChildren)(n),p=m.length-1,v=m.map(((e,t)=>{const n=c?p-t:t,r=d*t,a=(0,o.isValidElement)(e)?e.key:t;return(0,o.createElement)(s.ZStackChildView,{isLayered:u,offsetAmount:r,zIndex:n,key:a},e)}));return(0,o.createElement)(s.ZStackView,(0,a.default)({},f,{className:r,ref:t}),v)}),"ZStack");t.ZStack=u;var c=u;t.default=c},90896:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ZStack",{enumerable:!0,get:function(){return o.default}});var o=r(n(56366))},61229:function(e,t,n){"use strict";var r=n(64403);Object.defineProperty(t,"__esModule",{value:!0}),t.ZStackView=t.ZStackChildView=void 0;var o=r(n(12272)),a=n(18591),i=n(40455);const l=(0,o.default)("div",{target:"ebn2ljm1"})({name:"5ob2ly",styles:"display:flex;position:relative"});t.ZStackView=l;const s=(0,o.default)("div",{target:"ebn2ljm0"})((e=>{let{isLayered:t,offsetAmount:n}=e;return t?(0,a.css)((0,i.rtl)({marginLeft:n})(),"",""):(0,a.css)((0,i.rtl)({right:-1*n})(),"","")})," ",(e=>{let{isLayered:t}=e;return t?u:c})," ",(e=>{let{zIndex:t}=e;return(0,a.css)({zIndex:t},"","")}),";");t.ZStackChildView=s;const u={name:"a4hmbt",styles:"position:absolute"},c={name:"bjn8wh",styles:"position:relative"}},89029:function(e,t,n){"use strict";n.r(t),n.d(t,{__experimentalUseDialog:function(){return E.Z},__experimentalUseDragging:function(){return S.Z},__experimentalUseDropZone:function(){return ee.Z},__experimentalUseFixedWindowList:function(){return ie},__experimentalUseFocusOutside:function(){return P.Z},compose:function(){return i.Z},createHigherOrderComponent:function(){return r.o},debounce:function(){return o.D},ifCondition:function(){return s.Z},pipe:function(){return l.Z},pure:function(){return u.Z},throttle:function(){return a.P},useAsyncList:function(){return Y.Z},useConstrainedTabbing:function(){return y.Z},useCopyOnClick:function(){return x},useCopyToClipboard:function(){return C.Z},useDebounce:function(){return K.Z},useDisabled:function(){return O.Z},useFocusOnMount:function(){return M.Z},useFocusReturn:function(){return k.Z},useFocusableIframe:function(){return te.Z},useInstanceId:function(){return j.Z},useIsomorphicLayoutEffect:function(){return T.Z},useKeyboardShortcut:function(){return L},useMediaQuery:function(){return D.Z},useMergeRefs:function(){return Q.Z},usePrevious:function(){return V.Z},useReducedMotion:function(){return B.Z},useRefEffect:function(){return J.Z},useResizeObserver:function(){return G.Z},useStateWithHistory:function(){return $},useThrottle:function(){return X.Z},useViewportMatch:function(){return U.Z},useWarnOnChange:function(){return q},withGlobalEvents:function(){return v},withInstanceId:function(){return h.Z},withSafeTimeout:function(){return g.Z},withState:function(){return b}});var r=n(41979),o=n(97415),a=n(53145),i=n(51976),l=n(76785),s=n(64189),u=n(89514),c=n(70079),d=n(70205);const f=Object.create(null);function m(e,t={}){const{since:n,version:r,alternative:o,plugin:a,link:i,hint:l}=t,s=`${e} is deprecated${n?` since version ${n}`:""}${r?` and will be removed${a?` from ${a}`:""} in version ${r}`:""}.${o?` Please use ${o} instead.`:""}${i?` See: ${i}`:""}${l?` Note: ${l}`:""}`;s in f||((0,d.doAction)("deprecated",e,t,s),console.warn(s),f[s]=!0)}const p=new class{constructor(){this.listeners={},this.handleEvent=this.handleEvent.bind(this)}add(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}remove(e,t){this.listeners[e]&&(this.listeners[e]=this.listeners[e].filter((e=>e!==t)),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e]))}handleEvent(e){this.listeners[e.type]?.forEach((t=>{t.handleEvent(e)}))}};function v(e){return m("wp.compose.withGlobalEvents",{since:"5.7",alternative:"useEffect"}),(0,r.o)((t=>{class n extends c.Component{constructor(e){super(e),this.handleEvent=this.handleEvent.bind(this),this.handleRef=this.handleRef.bind(this)}componentDidMount(){Object.keys(e).forEach((e=>{p.add(e,this)}))}componentWillUnmount(){Object.keys(e).forEach((e=>{p.remove(e,this)}))}handleEvent(t){const n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}handleRef(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}render(){return(0,c.createElement)(t,{...this.props.ownProps,ref:this.handleRef})}}return(0,c.forwardRef)(((e,t)=>(0,c.createElement)(n,{ownProps:e,forwardedRef:t})))}),"withGlobalEvents")}var h=n(73285),g=n(40700);function b(e={}){return m("wp.compose.withState",{since:"5.8",alternative:"wp.element.useState"}),(0,r.o)((t=>class extends c.Component{constructor(t){super(t),this.setState=this.setState.bind(this),this.state=e}render(){return(0,c.createElement)(t,{...this.props,...this.state,setState:this.setState})}}),"withState")}var y=n(62535),_=n(92022),w=n.n(_);function x(e,t,n=4e3){m("wp.compose.useCopyOnClick",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});const r=(0,c.useRef)(),[o,a]=(0,c.useState)(!1);return(0,c.useEffect)((()=>{let o;if(e.current)return r.current=new(w())(e.current,{text:()=>"function"==typeof t?t():t}),r.current.on("success",(({clearSelection:e,trigger:t})=>{e(),t&&t.focus(),n&&(a(!0),clearTimeout(o),o=setTimeout((()=>a(!1)),n))})),()=>{r.current&&r.current.destroy(),clearTimeout(o)}}),[t,n,a]),o}var C=n(81896),E=n(30742),O=n(52173),S=n(63098),M=n(60236),P=n(34306),k=n(73761),j=n(33594),T=n(87433),I=n(47317),N=n.n(I),R=(n(88429),n(65183)),L=function(e,t,{bindGlobal:n=!1,eventName:r="keydown",isDisabled:o=!1,target:a}={}){const i=(0,c.useRef)(t);(0,c.useEffect)((()=>{i.current=t}),[t]),(0,c.useEffect)((()=>{if(o)return;const t=new(N())(a&&a.current?a.current:document);return(Array.isArray(e)?e:[e]).forEach((e=>{const o=e.split("+"),a=new Set(o.filter((e=>e.length>1))),l=a.has("alt"),s=a.has("shift");if((0,R.R)()&&(1===a.size&&l||2===a.size&&l&&s))throw new Error(`Cannot bind ${e}. Alt and Shift+Alt modifiers are reserved for character input.`);t[n?"bindGlobal":"bind"](e,((...e)=>i.current(...e)),r)})),()=>{t.reset()}}),[e,n,r,a,o])},D=n(40212),V=n(52442),B=n(35529),A=n(6692);function z(e,t){const n={...e};return Object.entries(t).forEach((([e,t])=>{n[e]?n[e]={...n[e],to:t.to}:n[e]=t})),n}const H=(e,t)=>{const n=e?.findIndex((({id:e})=>"string"==typeof e?e===t.id:(0,A.ZP)(e,t.id))),r=[...e];return-1!==n?r[n]={id:t.id,changes:z(r[n].changes,t.changes)}:r.push(t),r};function F(){let e=[],t=[],n=0;const r=()=>{e=e.slice(0,n||void 0),n=0},o=()=>{var n;const r=0===e.length?0:e.length-1;let o=null!==(n=e[r])&&void 0!==n?n:[];t.forEach((e=>{o=H(o,e)})),t=[],e[r]=o};return{addRecord(n,a=!1){const i=!n||(e=>!e.filter((({changes:e})=>Object.values(e).some((({from:e,to:t})=>"function"!=typeof e&&"function"!=typeof t&&!(0,A.ZP)(e,t))))).length)(n);if(a){if(i)return;n.forEach((e=>{t=H(t,e)}))}else{if(r(),t.length&&o(),i)return;e.push(n)}},undo(){t.length&&(r(),o());const a=e[e.length-1+n];if(a)return n-=1,a},redo(){const t=e[e.length+n];if(t)return n+=1,t},hasUndo(){return!!e[e.length-1+n]},hasRedo(){return!!e[e.length+n]}}}function W(e,t){switch(t.type){case"UNDO":{const t=e.manager.undo();return t?{...e,value:t[0].changes.prop.from}:e}case"REDO":{const t=e.manager.redo();return t?{...e,value:t[0].changes.prop.to}:e}case"RECORD":return e.manager.addRecord([{id:"object",changes:{prop:{from:e.value,to:t.value}}}],t.isStaged),{...e,value:t.value}}return e}function Z(e){return{manager:F(),value:e}}function $(e){const[t,n]=(0,c.useReducer)(W,e,Z);return{value:t.value,setValue:(0,c.useCallback)(((e,t)=>{n({type:"RECORD",value:e,isStaged:t})}),[]),hasUndo:t.manager.hasUndo(),hasRedo:t.manager.hasRedo(),undo:(0,c.useCallback)((()=>{n({type:"UNDO"})}),[]),redo:(0,c.useCallback)((()=>{n({type:"REDO"})}),[])}}var U=n(18808),G=n(10615),Y=n(57741),q=function(e,t="Change detection"){const n=(0,V.Z)(e);Object.entries(null!=n?n:[]).forEach((([n,r])=>{r!==e[n]&&console.warn(`${t}: ${n} key changed:`,r,e[n])}))},K=n(74390),X=n(34616),Q=n(67092),J=n(80052),ee=n(18331),te=n(43483);function ne(e){return e.ownerDocument.defaultView,e.ownerDocument.defaultView.getComputedStyle(e)}function re(e,t="vertical"){if(e){if(("vertical"===t||"all"===t)&&e.scrollHeight>e.clientHeight){const{overflowY:t}=ne(e);if(/(auto|scroll)/.test(t))return e}if(("horizontal"===t||"all"===t)&&e.scrollWidth>e.clientWidth){const{overflowX:t}=ne(e);if(/(auto|scroll)/.test(t))return e}return e.ownerDocument===e.parentNode?e:re(e.parentNode,t)}}var oe=n(16284);const ae=30;function ie(e,t,n,r){var a,i;const l=null!==(a=r?.initWindowSize)&&void 0!==a?a:ae,s=null===(i=r?.useWindowing)||void 0===i||i,[u,d]=(0,c.useState)({visibleItems:l,start:0,end:l,itemInView:e=>e>=0&&e<=l});return(0,c.useLayoutEffect)((()=>{if(!s)return;const a=re(e.current),i=e=>{var o;if(!a)return;const i=Math.ceil(a.clientHeight/t),l=e?i:null!==(o=r?.windowOverscan)&&void 0!==o?o:i,s=Math.floor(a.scrollTop/t),u=Math.max(0,s-l),c=Math.min(n-1,s+i+l);d((e=>{const t={visibleItems:i,start:u,end:c,itemInView:e=>u<=e&&e<=c};return e.start!==t.start||e.end!==t.end||e.visibleItems!==t.visibleItems?t:e}))};i(!0);const l=(0,o.D)((()=>{i()}),16);return a?.addEventListener("scroll",l),a?.ownerDocument?.defaultView?.addEventListener("resize",l),a?.ownerDocument?.defaultView?.addEventListener("resize",l),()=>{a?.removeEventListener("scroll",l),a?.ownerDocument?.defaultView?.removeEventListener("resize",l)}}),[t,e,n,r?.expandedState,r?.windowOverscan,s]),(0,c.useLayoutEffect)((()=>{if(!s)return;const r=re(e.current),o=e=>{switch(e.keyCode){case oe.Sd:return r?.scrollTo({top:0});case oe.uR:return r?.scrollTo({top:n*t});case oe.wx:return r?.scrollTo({top:r.scrollTop-u.visibleItems*t});case oe.Bi:return r?.scrollTo({top:r.scrollTop+u.visibleItems*t})}};return r?.ownerDocument?.defaultView?.addEventListener("keydown",o),()=>{r?.ownerDocument?.defaultView?.removeEventListener("keydown",o)}}),[n,t,e,u.visibleItems,s,r?.expandedState]),[u,d]}},32847:function(e,t,n){"use strict";n.r(t),n.d(t,{Children:function(){return o.hu},Component:function(){return o.wA},Fragment:function(){return o.HY},Platform:function(){return s.Z},RawHTML:function(){return c.Z},StrictMode:function(){return o.nF},Suspense:function(){return o.n4},cloneElement:function(){return o.Tm},concatChildren:function(){return o.Qz},createContext:function(){return o.kr},createElement:function(){return o.az},createInterpolateElement:function(){return r.Z},createPortal:function(){return a.createPortal},createRef:function(){return o.Vf},createRoot:function(){return i.s},findDOMNode:function(){return a.findDOMNode},flushSync:function(){return a.flushSync},forwardRef:function(){return o.Gp},hydrate:function(){return a.hydrate},hydrateRoot:function(){return i.a},isEmptyElement:function(){return l.V},isValidElement:function(){return o.l$},lazy:function(){return o.Vo},memo:function(){return o.X$},render:function(){return a.render},renderToString:function(){return u.ZP},startTransition:function(){return o.Le},switchChildrenNodeName:function(){return o.ko},unmountComponentAtNode:function(){return a.unmountComponentAtNode},useCallback:function(){return o.I4},useContext:function(){return o.qp},useDebugValue:function(){return o.Qb},useDeferredValue:function(){return o.pQ},useEffect:function(){return o.d4},useId:function(){return o.Me},useImperativeHandle:function(){return o.aP},useInsertionEffect:function(){return o.NU},useLayoutEffect:function(){return o.bt},useMemo:function(){return o.Ye},useReducer:function(){return o._Y},useRef:function(){return o.sO},useState:function(){return o.eJ},useSyncExternalStore:function(){return o.$N},useTransition:function(){return o.Yz}});var r=n(36146),o=n(57577),a=n(99581),i=n(2226),l=n(7284),s=n(67479),u=n(46232),c=n(13171)},58446:function(e,t,n){"use strict";n.r(t),n.d(t,{Icon:function(){return r.Z},addCard:function(){return i},addSubmenu:function(){return l},addTemplate:function(){return s},alignCenter:function(){return u.Z},alignJustify:function(){return c},alignLeft:function(){return d.Z},alignNone:function(){return f.Z},alignRight:function(){return m.Z},archive:function(){return p},arrowDown:function(){return v.Z},arrowLeft:function(){return h.Z},arrowRight:function(){return g.Z},arrowUp:function(){return b},aspectRatio:function(){return _.Z},atSymbol:function(){return y},audio:function(){return w},backup:function(){return x},blockDefault:function(){return C.Z},blockMeta:function(){return E},blockTable:function(){return O},border:function(){return S},box:function(){return M},brush:function(){return P},bug:function(){return k},button:function(){return j.Z},buttons:function(){return T},calendar:function(){return I.Z},cancelCircleFilled:function(){return N.Z},caption:function(){return R.Z},capturePhoto:function(){return L},captureVideo:function(){return D},category:function(){return V.Z},chartBar:function(){return B},check:function(){return A.Z},chevronDown:function(){return z.Z},chevronLeft:function(){return H.Z},chevronLeftSmall:function(){return F},chevronRight:function(){return W.Z},chevronRightSmall:function(){return Z},chevronUp:function(){return $.Z},chevronUpDown:function(){return U},classic:function(){return G},close:function(){return Y.Z},closeSmall:function(){return q.Z},cloud:function(){return X},cloudUpload:function(){return K},code:function(){return Q.Z},cog:function(){return J.Z},color:function(){return ee.Z},column:function(){return te.Z},columns:function(){return ne.Z},comment:function(){return oe},commentAuthorAvatar:function(){return ae},commentAuthorName:function(){return ie},commentContent:function(){return le},commentEditLink:function(){return ue},commentReplyLink:function(){return se},copy:function(){return re.Z},cover:function(){return ce},create:function(){return de},crop:function(){return fe.Z},currencyDollar:function(){return me},currencyEuro:function(){return pe},currencyPound:function(){return ve},customLink:function(){return nn},customPostType:function(){return he},desktop:function(){return ge},details:function(){return be},download:function(){return xe},dragHandle:function(){return ye.Z},drawerLeft:function(){return _e},drawerRight:function(){return we},edit:function(){return Ce.Z},external:function(){return Ee.Z},file:function(){return Oe.Z},filter:function(){return Se.Z},flipHorizontal:function(){return Me},flipVertical:function(){return Pe},footer:function(){return Lr},formatBold:function(){return ke.Z},formatCapitalize:function(){return je.Z},formatIndent:function(){return Te},formatIndentRTL:function(){return Ie},formatItalic:function(){return Ne.Z},formatListBullets:function(){return Re},formatListBulletsRTL:function(){return Le},formatListNumbered:function(){return De},formatListNumberedRTL:function(){return Ve},formatLowercase:function(){return Ae.Z},formatLtr:function(){return Be.Z},formatOutdent:function(){return ze},formatOutdentRTL:function(){return He},formatRtl:function(){return Fe},formatStrikethrough:function(){return We.Z},formatUnderline:function(){return Ze.Z},formatUppercase:function(){return $e.Z},fullscreen:function(){return Ue},gallery:function(){return Ge},globe:function(){return Ye.Z},grid:function(){return qe},group:function(){return Ke.Z},handle:function(){return Xe},header:function(){return Dr},heading:function(){return ot.Z},headingLevel1:function(){return Qe},headingLevel2:function(){return Je},headingLevel3:function(){return et},headingLevel4:function(){return tt},headingLevel5:function(){return nt},headingLevel6:function(){return rt},help:function(){return at.Z},helpFilled:function(){return it},home:function(){return ut},html:function(){return ct},image:function(){return dt.Z},inbox:function(){return lt},info:function(){return ft.Z},insertAfter:function(){return mt},insertBefore:function(){return pt},institution:function(){return st},justifyCenter:function(){return ht.Z},justifyLeft:function(){return vt.Z},justifyRight:function(){return gt.Z},justifySpaceBetween:function(){return bt.Z},justifyStretch:function(){return yt.Z},key:function(){return _t},keyboard:function(){return wt},keyboardClose:function(){return xt},keyboardReturn:function(){return Ct.Z},language:function(){return Et},layout:function(){return Ot.Z},levelUp:function(){return St},lifesaver:function(){return Mt},lineDashed:function(){return Pt.Z},lineDotted:function(){return kt.Z},lineSolid:function(){return jt.Z},link:function(){return Tt.Z},linkOff:function(){return It.Z},list:function(){return Nt},listItem:function(){return Rt},listView:function(){return Lt.Z},lock:function(){return Dt.Z},lockOutline:function(){return Vt.Z},lockSmall:function(){return Bt},login:function(){return At},loop:function(){return zt},mapMarker:function(){return Ht},media:function(){return Ft.Z},mediaAndText:function(){return Wt},megaphone:function(){return Zt},menu:function(){return $t.Z},mobile:function(){return Ut},more:function(){return Gt},moreHorizontal:function(){return Yt.Z},moreHorizontalMobile:function(){return qt},moreVertical:function(){return Kt.Z},moveTo:function(){return Xt},navigation:function(){return Qt},next:function(){return Nn},notFound:function(){return Jt},overlayText:function(){return en.Z},page:function(){return rn.Z},pageBreak:function(){return tn},pages:function(){return on},paragraph:function(){return an.Z},payment:function(){return ln},pencil:function(){return fn.Z},people:function(){return mn},percent:function(){return sn},pin:function(){return pn},pinSmall:function(){return vn},plugins:function(){return hn},plus:function(){return yn.Z},plusCircle:function(){return bn},plusCircleFilled:function(){return gn},positionCenter:function(){return un.Z},positionLeft:function(){return cn.Z},positionRight:function(){return dn.Z},post:function(){return _n.Z},postAuthor:function(){return wn},postCategories:function(){return xn},postComments:function(){return En},postCommentsCount:function(){return On},postCommentsForm:function(){return Sn},postContent:function(){return Cn},postDate:function(){return Mn},postExcerpt:function(){return Pn},postFeaturedImage:function(){return kn.Z},postList:function(){return jn.Z},postTerms:function(){return Tn},preformatted:function(){return Rn},previous:function(){return In},pullLeft:function(){return Ln},pullRight:function(){return Dn},pullquote:function(){return Vn},queryPagination:function(){return Bn},queryPaginationNext:function(){return An},queryPaginationNumbers:function(){return zn},queryPaginationPrevious:function(){return Hn},quote:function(){return Fn},receipt:function(){return Wn},redo:function(){return Zn},removeBug:function(){return $n},removeSubmenu:function(){return Un},replace:function(){return Gn},reset:function(){return Yn.Z},resizeCornerNE:function(){return qn},reusableBlock:function(){return Kn},rotateLeft:function(){return Jn},rotateRight:function(){return er.Z},row:function(){return Xn.Z},rss:function(){return tr},search:function(){return nr.Z},seen:function(){return rr},separator:function(){return ar},settings:function(){return ir.Z},shadow:function(){return lr},share:function(){return sr},shield:function(){return ur},shipping:function(){return _r},shortcode:function(){return cr},shuffle:function(){return dr},sidebar:function(){return Vr},sidesAll:function(){return Br},sidesAxial:function(){return Ar},sidesBottom:function(){return zr},sidesHorizontal:function(){return Hr},sidesLeft:function(){return Fr},sidesRight:function(){return Wr},sidesTop:function(){return Zr},sidesVertical:function(){return $r},siteLogo:function(){return fr},stack:function(){return mr.Z},starEmpty:function(){return pr.Z},starFilled:function(){return vr.Z},starHalf:function(){return hr},store:function(){return gr},stretchFullWidth:function(){return br.Z},stretchWide:function(){return wr.Z},styles:function(){return yr.Z},subscript:function(){return xr.Z},superscript:function(){return Cr.Z},swatch:function(){return Er.Z},symbol:function(){return Qn.Z},symbolFilled:function(){return Nr},table:function(){return Tr},tableColumnAfter:function(){return Or},tableColumnBefore:function(){return Sr},tableColumnDelete:function(){return Mr},tableRowAfter:function(){return Pr},tableRowBefore:function(){return kr},tableRowDelete:function(){return jr},tablet:function(){return qr},tag:function(){return Ir.Z},termDescription:function(){return Rr},textColor:function(){return Ur.Z},textHorizontal:function(){return Gr},textVertical:function(){return Yr},tip:function(){return Xr.Z},title:function(){return Kr},tool:function(){return Qr},trash:function(){return Jr},trendingDown:function(){return eo},trendingUp:function(){return to},typography:function(){return no},undo:function(){return ro},ungroup:function(){return oo},unlock:function(){return ao.Z},unseen:function(){return or},update:function(){return io},upload:function(){return lo.Z},verse:function(){return so},video:function(){return uo},warning:function(){return co},widget:function(){return fo},wordpress:function(){return mo}});var r=n(3050),o=n(70079),a=n(95549),i=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5zM12 4H6a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2v-6h-1.5v6a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5h6V4z"})),l=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})),s=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM13.9624 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V10.0391H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H10L10 10.4917L16.4589 10.5139L16.4641 9.01389L5.5 8.97618V6C5.5 5.72386 5.72386 5.5 6 5.5H13.9624V4ZM5.5 10.4762V18C5.5 18.2761 5.72386 18.5 6 18.5H8.5L8.5 10.4865L5.5 10.4762Z"})),u=n(59997),c=(0,o.createElement)(a.Wj,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})),d=n(73312),f=n(22156),m=n(5976),p=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),v=n(82489),h=n(62759),g=n(60113),b=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})),y=(0,o.createElement)(a.Wj,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M12.5939 21C14.1472 21 16.1269 20.5701 17.0711 20.1975L16.6447 18.879C16.0964 19.051 14.3299 19.6242 12.6548 19.6242C7.4467 19.6242 4.67513 16.8726 4.67513 12C4.67513 7.21338 7.50762 4.34713 12.2893 4.34713C17.132 4.34713 19.4162 7.55732 19.4162 10.7675C19.4162 14.035 19.0508 15.4968 17.4975 15.4968C16.5838 15.4968 16.0964 14.7803 16.0964 13.9777V7.5H14.4822V8.30255H14.3909C14.1777 7.67198 12.9898 7.12739 11.467 7.2707C9.18274 7.5 7.4467 9.27707 7.4467 11.8567C7.4467 14.5796 8.81726 16.672 11.467 16.758C13.203 16.8153 14.1168 16.0127 14.4822 15.1815H14.5736C14.7563 16.414 16.401 16.8439 17.467 16.8439C20.6954 16.8439 21 13.5764 21 10.7962C21 6.86943 18.0761 3 12.3807 3C6.50254 3 3 6.3535 3 11.9427C3 17.7325 6.38071 21 12.5939 21ZM11.7107 15.2962C9.73096 15.2962 9.03046 13.6051 9.03046 11.7707C9.03046 10.1083 10.0355 8.67516 11.7716 8.67516C13.599 8.67516 14.5736 9.36306 14.5736 11.7707C14.5736 14.1497 13.7513 15.2962 11.7107 15.2962Z"})),_=n(17983),w=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),x=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"})),C=n(36852),E=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M8.95 11.25H4v1.5h4.95v4.5H13V18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v.75h-2.55v-7.5H13V9c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v.75H8.95v4.5ZM14.5 15v3c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-3c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5Zm0-6V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5Z",clipRule:"evenodd"})),O=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),S=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"m6.6 15.6-1.2.8c.6.9 1.3 1.6 2.2 2.2l.8-1.2c-.7-.5-1.3-1.1-1.8-1.8zM5.5 12c0-.4 0-.9.1-1.3l-1.5-.3c0 .5-.1 1.1-.1 1.6s.1 1.1.2 1.6l1.5-.3c-.2-.4-.2-.9-.2-1.3zm11.9-3.6 1.2-.8c-.6-.9-1.3-1.6-2.2-2.2l-.8 1.2c.7.5 1.3 1.1 1.8 1.8zM5.3 7.6l1.2.8c.5-.7 1.1-1.3 1.8-1.8l-.7-1.3c-.9.6-1.7 1.4-2.3 2.3zm14.5 2.8-1.5.3c.1.4.1.8.1 1.3s0 .9-.1 1.3l1.5.3c.1-.5.2-1 .2-1.6s-.1-1.1-.2-1.6zM12 18.5c-.4 0-.9 0-1.3-.1l-.3 1.5c.5.1 1 .2 1.6.2s1.1-.1 1.6-.2l-.3-1.5c-.4.1-.9.1-1.3.1zm3.6-1.1.8 1.2c.9-.6 1.6-1.3 2.2-2.2l-1.2-.8c-.5.7-1.1 1.3-1.8 1.8zM10.4 4.2l.3 1.5c.4-.1.8-.1 1.3-.1s.9 0 1.3.1l.3-1.5c-.5-.1-1.1-.2-1.6-.2s-1.1.1-1.6.2z"})),M=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})),P=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})),k=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M6.13 5.5l1.926 1.927A4.975 4.975 0 007.025 10H5v1.5h2V13H5v1.5h2.1a5.002 5.002 0 009.8 0H19V13h-2v-1.5h2V10h-2.025a4.979 4.979 0 00-1.167-2.74l1.76-1.76-1.061-1.06-1.834 1.834A4.977 4.977 0 0012 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5zm2.37 5v3a3.5 3.5 0 107 0v-3a3.5 3.5 0 10-7 0z",fillRule:"evenodd",clipRule:"evenodd"})),j=n(84903),T=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z"})),I=n(8770),N=n(54338),R=n(28080),L=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M12 9.2c-2.2 0-3.9 1.8-3.9 4s1.8 4 3.9 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.4-1.1-2.4-2.5s1.1-2.5 2.4-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM20.2 8c-.1 0-.3 0-.5-.1l-2.5-.8c-.4-.1-.8-.4-1.1-.8l-1-1.5c-.4-.5-1-.9-1.7-.9h-2.9c-.6.1-1.2.4-1.6 1l-1 1.5c-.3.3-.6.6-1.1.7l-2.5.8c-.2.1-.4.1-.6.1-1 .2-1.7.9-1.7 1.9v8.3c0 1 .9 1.9 2 1.9h16c1.1 0 2-.8 2-1.9V9.9c0-1-.7-1.7-1.8-1.9zm.3 10.1c0 .2-.2.4-.5.4H4c-.3 0-.5-.2-.5-.4V9.9c0-.1.2-.3.5-.4.2 0 .5-.1.8-.2l2.5-.8c.7-.2 1.4-.6 1.8-1.3l1-1.5c.1-.1.2-.2.4-.2h2.9c.2 0 .3.1.4.2l1 1.5c.4.7 1.1 1.1 1.9 1.4l2.5.8c.3.1.6.1.8.2.3 0 .4.2.4.4v8.1z"})),D=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M14 5H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V7c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v10zm2.5-7v4l5 3V7l-5 3zm3.5 4.4l-2-1.2v-2.3l2-1.2v4.7z"})),V=n(52007),B=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"})),A=n(28434),z=n(19375),H=n(68525),F=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})),W=n(51694),Z=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})),$=n(97693),U=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m12 20-4.5-3.6-.9 1.2L12 22l5.5-4.4-.9-1.2L12 20zm0-16 4.5 3.6.9-1.2L12 2 6.5 6.4l.9 1.2L12 4z"})),G=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})),Y=n(61371),q=n(17193),K=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"})),X=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"})),Q=n(59620),J=n(97068),ee=n(2049),te=n(61985),ne=n(51089),re=n(44129),oe=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})),ae=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",clipRule:"evenodd"})),ie=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z",fillRule:"evenodd",clipRule:"evenodd"}),(0,o.createElement)(a.y$,{d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15",fillRule:"evenodd",clipRule:"evenodd"}),(0,o.createElement)(a.Cd,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})),le=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})),se=(0,o.createElement)(a.Wj,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"})),ue=(0,o.createElement)(a.Wj,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z"})),ce=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"})),de=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M16 11.2h-3.2V8h-1.6v3.2H8v1.6h3.2V16h1.6v-3.2H16z"})),fe=n(96816),me=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})),pe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 3.25a8.75 8.75 0 100 17.5 8.75 8.75 0 000-17.5zM4.75 12a7.25 7.25 0 1114.5 0 7.25 7.25 0 01-14.5 0zm9.195 1.944a2.75 2.75 0 01-4.066-.194h.621a.75.75 0 000-1.5H9.262a2.767 2.767 0 010-.5H11.5a.75.75 0 000-1.5H9.88a2.75 2.75 0 014.066-.194.75.75 0 001.06-1.061 4.25 4.25 0 00-6.88 1.255H7.5a.75.75 0 000 1.5h.258c-.01.166-.01.334 0 .5H7.5a.75.75 0 000 1.5h.626a4.25 4.25 0 006.88 1.255.75.75 0 00-1.06-1.06z"})),ve=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm.25 4c-.787 0-1.425.638-1.425 1.425 0 .058.014.147.069.3.04.113.088.223.147.36a26.094 26.094 0 01.173.415H12.5a.75.75 0 010 1.5h-.953c.002.047.003.095.003.144 0 .617-.236 1.168-.511 1.606h3.386a.75.75 0 010 1.5H9.35a.75.75 0 01-.452-1.349l.007-.005a4.417 4.417 0 00.596-.581c.328-.39.549-.806.549-1.171 0-.05-.002-.097-.004-.144H9.5a.75.75 0 010-1.5h.088a5.875 5.875 0 01-.106-.27 2.382 2.382 0 01-.157-.805 2.925 2.925 0 015.637-1.097.75.75 0 01-1.39.563 1.426 1.426 0 00-1.322-.891zm-3.35 5.9l.45.6-.45-.6z"})),he=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})),ge=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),be=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z",fillRule:"evenodd",clipRule:"evenodd"}),(0,o.createElement)(a.y$,{d:"m4 5.25 4 2.5-4 2.5v-5Z"})),ye=n(53106),_e=(0,o.createElement)(a.Wj,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.5 18.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h2.5v13zm10-.5c0 .3-.2.5-.5.5h-8v-13h8c.3 0 .5.2.5.5v12z"})),we=(0,o.createElement)(a.Wj,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})),xe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})),Ce=n(88848),Ee=n(97087),Oe=n(42676),Se=n(90994),Me=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z"})),Pe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z"})),ke=n(34917),je=n(40577),Te=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})),Ie=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})),Ne=n(93116),Re=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),Le=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),De=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})),Ve=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})),Be=n(53254),Ae=n(29426),ze=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})),He=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})),Fe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6zM5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z"})),We=n(31289),Ze=n(878),$e=n(10920),Ue=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4.2 9h1.5V5.8H9V4.2H4.2V9zm14 9.2H15v1.5h4.8V15h-1.5v3.2zM15 4.2v1.5h3.2V9h1.5V4.2H15zM5.8 15H4.2v4.8H9v-1.5H5.8V15z"})),Ge=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z",fillRule:"evenodd",clipRule:"evenodd"})),Ye=n(37718),qe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})),Ke=n(93488),Xe=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M7 16.5h10V15H7v1.5zm0-9V9h10V7.5H7z"})),Qe=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})),Je=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})),et=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})),tt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})),nt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})),rt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})),ot=n(81e3),at=n(81126),it=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1 16v-2h2v2h-2zm2-3v-1.141A3.991 3.991 0 0016 10a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2z"})),lt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})),st=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M18.646 9H20V8l-1-.5L12 4 5 7.5 4 8v1h14.646zm-3-1.5L12 5.677 8.354 7.5h7.292zm-7.897 9.44v-6.5h-1.5v6.5h1.5zm5-6.5v6.5h-1.5v-6.5h1.5zm5 0v6.5h-1.5v-6.5h1.5zm2.252 8.81c0 .414-.334.75-.748.75H4.752a.75.75 0 010-1.5h14.5a.75.75 0 01.749.75z",clipRule:"evenodd"})),ut=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})),ct=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"})),dt=n(57041),ft=n(330),mt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z"})),pt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z"})),vt=n(676),ht=n(19872),gt=n(50150),bt=n(74285),yt=n(42210),_t=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M9 13.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 16a4.002 4.002 0 003.8-2.75H15V16h2.5v-2.75H19v-2.5h-6.2A4.002 4.002 0 005 12a4 4 0 004 4z",fillRule:"evenodd",clipRule:"evenodd"})),wt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m16 15.5h-8v-1.5h8zm-7.5-2.5h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm-9-3h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2z"}),(0,o.createElement)(a.y$,{d:"m18.5 6.5h-13a.5.5 0 0 0 -.5.5v9.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9.5a.5.5 0 0 0 -.5-.5zm-13-1.5h13a2 2 0 0 1 2 2v9.5a2 2 0 0 1 -2 2h-13a2 2 0 0 1 -2-2v-9.5a2 2 0 0 1 2-2z"})),xt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z"})),Ct=n(1707),Et=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17.5 10h-1.7l-3.7 10.5h1.7l.9-2.6h3.9l.9 2.6h1.7L17.5 10zm-2.2 6.3 1.4-4 1.4 4h-2.8zm-4.8-3.8c1.6-1.8 2.9-3.6 3.7-5.7H16V5.2h-5.8V3H8.8v2.2H3v1.5h9.6c-.7 1.6-1.8 3.1-3.1 4.6C8.6 10.2 7.8 9 7.2 8H5.6c.6 1.4 1.7 2.9 2.9 4.4l-2.4 2.4c-.3.4-.7.8-1.1 1.2l1 1 1.2-1.2c.8-.8 1.6-1.5 2.3-2.3.8.9 1.7 1.7 2.5 2.5l.6-1.5c-.7-.6-1.4-1.3-2.1-2z"})),Ot=n(65826),St=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m13.53 8.47-1.06 1.06-2.72-2.72V12h-1.5V6.81L5.53 9.53 4.47 8.47 9 3.94l4.53 4.53Zm-1.802 7.968c1.307.697 3.235.812 5.772.812v1.5c-2.463 0-4.785-.085-6.478-.988a4.721 4.721 0 0 1-2.07-2.13C8.48 14.67 8.25 13.471 8.25 12h1.5c0 1.328.208 2.28.548 2.969.332.675.81 1.138 1.43 1.47Z"})),Mt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M17.375 15.656A6.47 6.47 0 0018.5 12a6.47 6.47 0 00-.943-3.374l-1.262.813c.448.749.705 1.625.705 2.561a4.977 4.977 0 01-.887 2.844l1.262.813zm-1.951 1.87l-.813-1.261A4.976 4.976 0 0112 17c-.958 0-1.852-.27-2.613-.736l-.812 1.261A6.47 6.47 0 0012 18.5a6.47 6.47 0 003.424-.974zm-8.8-1.87A6.47 6.47 0 015.5 12c0-1.235.344-2.39.943-3.373l1.261.812A4.977 4.977 0 007 12c0 1.056.328 2.036.887 2.843l-1.262.813zm2.581-7.803A4.977 4.977 0 0112 7c1.035 0 1.996.314 2.794.853l.812-1.262A6.47 6.47 0 0012 5.5a6.47 6.47 0 00-3.607 1.092l.812 1.261zM12 20a8 8 0 100-16 8 8 0 000 16zm0-4.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",clipRule:"evenodd"})),Pt=n(89516),kt=n(52899),jt=n(61802),Tt=n(7276),It=n(87383),Nt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),Rt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),Lt=n(67318),Dt=n(70735),Vt=n(33217),Bt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})),At=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"})),zt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),Ht=(0,o.createElement)(a.Wj,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"})),Ft=n(65726),Wt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z"})),Zt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"})),$t=n(27269),Ut=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})),Gt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})),Yt=n(99092),qt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M7.5 12C7.5 11.1716 6.82843 10.5 6 10.5C5.17157 10.5 4.5 11.1716 4.5 12C4.5 12.8284 5.17157 13.5 6 13.5C6.82843 13.5 7.5 12.8284 7.5 12Z"}),(0,o.createElement)(a.y$,{d:"M13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5C12.8284 13.5 13.5 12.8284 13.5 12Z"}),(0,o.createElement)(a.y$,{d:"M19.5 12C19.5 11.1716 18.8284 10.5 18 10.5C17.1716 10.5 16.5 11.1716 16.5 12C16.5 12.8284 17.1716 13.5 18 13.5C18.8284 13.5 19.5 12.8284 19.5 12Z"})),Kt=n(38006),Xt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"})),Qt=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})),Jt=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v10zm-11-7.6h-.7l-3.1 4.3h2.8V15h1v-1.3h.7v-.8h-.7V9.4zm-.9 3.5H6.3l1.2-1.7v1.7zm5.6-3.2c-.4-.2-.8-.4-1.2-.4-.5 0-.9.1-1.2.4-.4.2-.6.6-.8 1-.2.4-.3.9-.3 1.5s.1 1.1.3 1.6c.2.4.5.8.8 1 .4.2.8.4 1.2.4.5 0 .9-.1 1.2-.4.4-.2.6-.6.8-1 .2-.4.3-1 .3-1.6 0-.6-.1-1.1-.3-1.5-.1-.5-.4-.8-.8-1zm0 3.6c-.1.3-.3.5-.5.7-.2.1-.4.2-.7.2-.3 0-.5-.1-.7-.2-.2-.1-.4-.4-.5-.7-.1-.3-.2-.7-.2-1.2 0-.7.1-1.2.4-1.5.3-.3.6-.5 1-.5s.7.2 1 .5c.3.3.4.8.4 1.5-.1.5-.1.9-.2 1.2zm5-3.9h-.7l-3.1 4.3h2.8V15h1v-1.3h.7v-.8h-.7V9.4zm-1 3.5H16l1.2-1.7v1.7z"})),en=n(77616),tn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z"})),nn=(0,o.createElement)(a.Wj,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})),rn=n(93858),on=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"})),an=n(39805),ln=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})),sn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"})),un=n(60947),cn=n(19147),dn=n(6832),fn=n(26681),mn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),pn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"})),vn=(0,o.createElement)(a.Wj,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})),hn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})),gn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),bn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"})),yn=n(10498),_n=n(52179),wn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"})),xn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"})),Cn=(0,o.createElement)(a.Wj,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})),En=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})),On=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"})),Sn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"})),Mn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,o.createElement)(a.y$,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})),Pn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"})),kn=n(39931),jn=n(18002),Tn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})),In=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"})),Nn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})),Rn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"})),Ln=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})),Dn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})),Vn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),Bn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z"})),An=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z"})),zn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z"})),Hn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z"})),Fn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})),Wn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M16.83 6.342l.602.3.625-.25.443-.176v12.569l-.443-.178-.625-.25-.603.301-1.444.723-2.41-.804-.475-.158-.474.158-2.41.803-1.445-.722-.603-.3-.625.25-.443.177V6.215l.443.178.625.25.603-.301 1.444-.722 2.41.803.475.158.474-.158 2.41-.803 1.445.722zM20 4l-1.5.6-1 .4-2-1-3 1-3-1-2 1-1-.4L5 4v17l1.5-.6 1-.4 2 1 3-1 3 1 2-1 1 .4 1.5.6V4zm-3.5 6.25v-1.5h-8v1.5h8zm0 3v-1.5h-8v1.5h8zm-8 3v-1.5h8v1.5h-8z",clipRule:"evenodd"})),Zn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})),$n=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M8.45474 21.2069L16.4547 3.7069L15.5453 3.29114L14.2837 6.05081C13.5991 5.69873 12.8228 5.49999 12 5.49999C10.9385 5.49999 9.95431 5.83076 9.1448 6.39485L7.18994 4.44L6.12928 5.50066L8.05556 7.42694C7.49044 8.15127 7.12047 9.0353 7.02469 9.99999H5V11.5H7V13H5V14.5H7.10002C7.35089 15.7359 8.0576 16.8062 9.03703 17.5279L7.54526 20.7911L8.45474 21.2069ZM9.68024 16.1209C8.95633 15.4796 8.5 14.5431 8.5 13.5V10.5C8.5 8.567 10.067 6.99999 12 6.99999C12.6003 6.99999 13.1653 7.15111 13.659 7.41738L9.68024 16.1209ZM15.3555 9.50155L16.1645 7.73191C16.6053 8.39383 16.8926 9.16683 16.9753 9.99999H19V11.5H17V13H19V14.5H16.9C16.4367 16.7822 14.419 18.5 12 18.5C11.7508 18.5 11.5058 18.4818 11.2664 18.4466L11.928 16.9993C11.9519 16.9998 11.9759 17 12 17C13.933 17 15.5 15.433 15.5 13.5V10.5C15.5 10.1531 15.4495 9.81794 15.3555 9.50155Z"})),Un=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z"})),Gn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M16 10h4c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1zm-8 4H4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h4c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm10-2.6L14.5 15l1.1 1.1 1.7-1.7c-.1 1.1-.3 2.3-.9 2.9-.3.3-.7.5-1.3.5h-4.5v1.5H15c.9 0 1.7-.3 2.3-.9 1-1 1.3-2.7 1.4-4l1.8 1.8 1.1-1.1-3.6-3.7zM6.8 9.7c.1-1.1.3-2.3.9-2.9.4-.4.8-.6 1.3-.6h4.5V4.8H9c-.9 0-1.7.3-2.3.9-1 1-1.3 2.7-1.4 4L3.5 8l-1 1L6 12.6 9.5 9l-1-1-1.7 1.7z"})),Yn=n(47203),qn=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z"})),Kn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})),Xn=n(94969),Qn=n(16762),Jn=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 4V2.2L9 4.8l3 2.5V5.5c3.6 0 6.5 2.9 6.5 6.5 0 2.9-1.9 5.3-4.5 6.2v.2l-.1-.2c-.4.1-.7.2-1.1.2l.2 1.5c.3 0 .6-.1 1-.2 3.5-.9 6-4 6-7.7 0-4.4-3.6-8-8-8zm-7.9 7l1.5.2c.1-1.2.5-2.3 1.2-3.2l-1.1-.9C4.8 8.2 4.3 9.6 4.1 11zm1.5 1.8l-1.5.2c.1.7.3 1.4.5 2 .3.7.6 1.3 1 1.8l1.2-.8c-.3-.5-.6-1-.8-1.5s-.4-1.1-.4-1.7zm1.5 5.5c1.1.9 2.4 1.4 3.8 1.6l.2-1.5c-1.1-.1-2.2-.5-3.1-1.2l-.9 1.1z"})),er=n(11381),tr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"})),nr=n(37186),rr=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})),or=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4.67 10.664s-2.09 1.11-2.917 1.582l.494.87 1.608-.914.002.002c.343.502.86 1.17 1.563 1.84.348.33.742.663 1.185.976L5.57 16.744l.858.515 1.02-1.701a9.1 9.1 0 0 0 4.051 1.18V19h1v-2.263a9.1 9.1 0 0 0 4.05-1.18l1.021 1.7.858-.514-1.034-1.723c.442-.313.837-.646 1.184-.977.703-.669 1.22-1.337 1.563-1.839l.002-.003 1.61.914.493-.87c-1.75-.994-2.918-1.58-2.918-1.58l-.003.005a8.29 8.29 0 0 1-.422.689 10.097 10.097 0 0 1-1.36 1.598c-1.218 1.16-3.042 2.293-5.544 2.293-2.503 0-4.327-1.132-5.546-2.293a10.099 10.099 0 0 1-1.359-1.599 8.267 8.267 0 0 1-.422-.689l-.003-.005Z"})),ar=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z"})),ir=n(87596),lr=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})),sr=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),ur=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 3.176l6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 01-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176zM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21z",fillRule:"evenodd",clipRule:"evenodd"})),cr=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),dr=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/SVG"},(0,o.createElement)(a.y$,{d:"M17.192 6.75L15.47 5.03l1.06-1.06 3.537 3.53-3.537 3.53-1.06-1.06 1.723-1.72h-3.19c-.602 0-.993.202-1.28.498-.309.319-.538.792-.695 1.383-.13.488-.222 1.023-.296 1.508-.034.664-.116 1.413-.303 2.117-.193.721-.513 1.467-1.068 2.04-.575.594-1.359.954-2.357.954H4v-1.5h4.003c.601 0 .993-.202 1.28-.498.308-.319.538-.792.695-1.383.149-.557.216-1.093.288-1.662l.039-.31a9.653 9.653 0 0 1 .272-1.653c.193-.722.513-1.467 1.067-2.04.576-.594 1.36-.954 2.358-.954h3.19zM8.004 6.75c.8 0 1.46.23 1.988.628a6.24 6.24 0 0 0-.684 1.396 1.725 1.725 0 0 0-.024-.026c-.287-.296-.679-.498-1.28-.498H4v-1.5h4.003zM12.699 14.726c-.161.459-.38.94-.684 1.396.527.397 1.188.628 1.988.628h3.19l-1.722 1.72 1.06 1.06L20.067 16l-3.537-3.53-1.06 1.06 1.723 1.72h-3.19c-.602 0-.993-.202-1.28-.498a1.96 1.96 0 0 1-.024-.026z"})),fr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"})),mr=n(36789),pr=n(61927),vr=n(87149),hr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})),gr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})),br=n(47372),yr=n(19505),_r=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),wr=n(36501),xr=n(62491),Cr=n(2084),Er=n(17152),Or=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),Sr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),Mr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),Pr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),kr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),jr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),Tr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"})),Ir=n(58801),Nr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})),Rr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})),Lr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})),Dr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})),Vr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})),Br=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM7 20.5h10V19H7v1.5zM19 7v10h1.5V7H19zM7 5h10V3.5H7V5z",style:{fill:"#1e1e1e"}})),Ar=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M8.2 5.3h8V3.8h-8v1.5zm0 14.5h8v-1.5h-8v1.5zm3.5-6.5h1v-1h-1v1zm1-6.5h-1v.5h1v-.5zm-1 4.5h1v-1h-1v1zm0-2h1v-1h-1v1zm0 7.5h1v-.5h-1v.5zm1-2.5h-1v1h1v-1zm-8.5 1.5h1.5v-8H4.2v8zm14.5-8v8h1.5v-8h-1.5zm-5 4.5v-1h-1v1h1zm-6.5 0h.5v-1h-.5v1zm3.5-1v1h1v-1h-1zm6 1h.5v-1h-.5v1zm-8-1v1h1v-1h-1zm6 0v1h1v-1h-1z",style:{fill:"#1e1e1e",fillRule:"evenodd",clipRule:"evenodd"}})),zr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M7 20.5h10V19H7v1.5z",style:{fill:"#1e1e1e"}}),(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM19 7v10h1.5V7H19zM7 5h10V3.5H7V5z",style:{fill:"#1e1e1e",opacity:.1}})),Hr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM19 7v10h1.5V7H19z",style:{fill:"#1e1e1e"}}),(0,o.createElement)(a.y$,{d:"M7 20.5h10V19H7v1.5zm0-17V5h10V3.5H7z",style:{fill:"#1e1e1e",opacity:.1}})),Fr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M5 17H3.5V7H5v10z",style:{fill:"#1e1e1e"}}),(0,o.createElement)(a.y$,{d:"M7 20.5h10V19H7v1.5zM19 7v10h1.5V7H19zM7 5h10V3.5H7V5z",style:{fill:"#1e1e1e",opacity:.1}})),Wr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20.5 7H19v10h1.5V7z",style:{fill:"#1e1e1e"}}),(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM7 20.5h10V19H7v1.5zm0-17V5h10V3.5H7z",style:{fill:"#1e1e1e",opacity:.1}})),Zr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM7 20.5h10V19H7v1.5zM19 7v10h1.5V7H19z",style:{fill:"#1e1e1e",opacity:.1}}),(0,o.createElement)(a.y$,{d:"M7 5h10V3.5H7V5z",style:{fill:"#1e1e1e"}})),$r=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.5 17H5V7H3.5v10zM19 7v10h1.5V7H19z",style:{fill:"#1e1e1e",opacity:.1}}),(0,o.createElement)(a.y$,{d:"M7 20.5h10V19H7v1.5zm0-17V5h10V3.5H7z",style:{fill:"#1e1e1e"}})),Ur=n(8426),Gr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})),Yr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})),qr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),Kr=(0,o.createElement)(a.Wj,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})),Xr=n(1210),Qr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M14.103 7.128l2.26-2.26a4 4 0 00-5.207 4.804L5.828 15a2 2 0 102.828 2.828l5.329-5.328a4 4 0 004.804-5.208l-2.261 2.26-1.912-.512-.513-1.912zm-7.214 9.64a.5.5 0 11.707-.707.5.5 0 01-.707.707z"})),Jr=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"})),eo=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M4.195 8.245a.75.75 0 011.06-.05l5.004 4.55 4.025-3.521L19 13.939V10.75h1.5v5.75h-5.75V15h3.19l-3.724-3.723-3.975 3.478-5.995-5.45a.75.75 0 01-.051-1.06z"})),to=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M3.445 16.505a.75.75 0 001.06.05l5.005-4.55 4.024 3.521 4.716-4.715V14h1.5V8.25H14v1.5h3.19l-3.724 3.723L9.49 9.995l-5.995 5.45a.75.75 0 00-.05 1.06z"})),no=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})),ro=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})),oo=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})),ao=n(70882),io=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"m11.3 17.2-5-5c-.1-.1-.1-.3 0-.4l2.3-2.3-1.1-1-2.3 2.3c-.7.7-.7 1.8 0 2.5l5 5H7.5v1.5h5.3v-5.2h-1.5v2.6zm7.5-6.4-5-5h2.7V4.2h-5.2v5.2h1.5V6.8l5 5c.1.1.1.3 0 .4l-2.3 2.3 1.1 1.1 2.3-2.3c.6-.7.6-1.9-.1-2.5z"})),lo=n(73269),so=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),uo=(0,o.createElement)(a.Wj,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(a.y$,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),co=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})),fo=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.y$,{d:"M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z"})),mo=(0,o.createElement)(a.Wj,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(a.y$,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}))},62682:function(e,t,n){"use strict";n.r(t),n.d(t,{BlockQuotation:function(){return a},Circle:function(){return r.Cd},Defs:function(){return r.eP},G:function(){return r.G},HorizontalRule:function(){return o},Line:function(){return r.x1},LinearGradient:function(){return r.o},Path:function(){return r.y$},Polygon:function(){return r.mg},RadialGradient:function(){return r.XM},Rect:function(){return r.UL},SVG:function(){return r.Wj},Stop:function(){return r.dV},View:function(){return i}});var r=n(95549);const o="hr",a="blockquote",i="div"},90093:function(e,t,n){"use strict";n.r(t),n.d(t,{__dangerousOptInToUnstableAPIsOnlyForCoreModules:function(){return r.es}});var r=n(86066)},19521:function(e,t,n){"use strict";function r(e){"undefined"!=typeof process&&process.env}n.r(t),n.d(t,{default:function(){return r}}),new Set},96021:function(e,t,n){"use strict";var r=n(26372),o=n.n(r),a=n(2226),i=n(26952),l=n(56249),s=n(81433),u=n(7936),c=n(44259),d=n(9003),f=n(49156),m=n(26041),p=n(19382),v=n(53339),h=n(15312),g=n(85180),b=n(96328),y=n(70079),_=n(84209),w=n(99357),x=n(37182),C=n(20174),E=n(35250);function O(e){let{onClick:t}=e;const{query:n}=(0,l.Z)((e=>({query:e(x.storeName).getCurrentQuery()}))),{primary:r,secondary:o}=(0,w.getCurrentDates)(n,"period=month&compare=previous_year");return(0,E.jsxs)("div",{className:"woocommerce-filters-filter",children:[(0,E.jsx)("span",{className:"woocommerce-filters-label",children:(0,u.__)("Date range:","mailpoet")}),(0,E.jsx)("div",{className:"components-dropdown",tabIndex:-1,children:(0,E.jsx)("button",{type:"button","aria-expanded":"false",onClick:t,className:"components-button woocommerce-dropdown-button is-multi-line",children:(0,E.jsxs)("div",{className:"woocommerce-dropdown-button__labels",children:[(0,E.jsxs)("span",{children:[r.label," (",r.range,")"]}),(0,E.jsx)("span",{children:(0,u.sprintf)((0,u.__)("vs. %1$s (%2$s)","mailpoet"),o.label,o.range)})]})})})]})}function S(){const[e,t]=y.useState(!1),n=_.Hooks.applyFilters("mailpoet_analytics_filter",(0,E.jsx)(O,{onClick:()=>{t(!0)}}));return(0,E.jsxs)("div",{className:"mailpoet-analytics-filter-element woocommerce-layout",children:[n,e&&(0,E.jsx)(C.ZG,{tracking:{utm_medium:"upsell_modal",utm_campaign:"automation_analytics_date_range_filter"},onRequestClose:()=>t(!1),children:(0,u.__)("Changing the date range is a premium feature.","mailpoet")})]})}var M=n(69177),P=n(12031),k=n(26462),j=n(87895),T=n(77309),I=n(95858);function N(){const{automation:e}=(0,l.Z)((e=>({automation:e(P.tC).getAutomationData()})));return(0,E.jsxs)("header",{className:"mailpoet-analytics-header",children:[(0,E.jsx)(S,{}),(0,E.jsx)(I.s,{}),(0,E.jsx)(f.Z,{focusOnMount:!1,popoverProps:{placement:"bottom-end"},renderToggle:t=>{let{isOpen:n,onToggle:r}=t;return(0,E.jsxs)(m.Z,{children:[(0,E.jsx)(p.ZP,{href:(0,h.f)(M.MailPoet.urls.automationEditor,{id:e.id}),isPrimary:!0,children:(0,u.__)("Edit automation","mailpoet")}),(0,E.jsxs)(p.ZP,{onClick:r,"aria-expanded":n,variant:"primary",children:[" ",(0,E.jsx)(g.Z,{icon:b.Z,size:18})]})]})},renderContent:()=>(0,E.jsxs)(v.Z,{children:[e.status===k.b.ACTIVE&&(0,E.jsx)(j.eX,{}),e.status===k.b.DEACTIVATING&&(0,E.jsx)(j.wq,{}),(0,E.jsx)(T.Q,{performActionAfterDelete:()=>{window.location.href=M.MailPoet.urls.automationListing}})]})})]})}var R=n(58663),L=n(25150),D=n(23401),V=n(61888),B=n(39519),A=n.n(B),z=n(3050),H=n(330),F=n(86056);const W=({href:e,children:t,type:n="wc-admin",...r})=>{const o={...r,"data-link-type":n};return"wc-admin"===n&&(o.onClick=(0,V.partial)(((e,t)=>{var n;if(!((null==t?void 0:t.ctrlKey)||(null==t?void 0:t.metaKey)||(null==t?void 0:t.altKey)||(null==t?void 0:t.shiftKey))&&(null==t||t.preventDefault(),!1!==(!e||!t||e(t))&&(null==t?void 0:t.target)instanceof Element)){const e=null===(n=t.target.closest("a"))||void 0===n?void 0:n.getAttribute("href");e?(0,F.s1)().push(e):console.error("@woocommerce/components/link is trying to push an undefined state into navigation stack")}}),o.onClick)),(0,y.createElement)("a",{href:e,...o},t)};W.contextTypes={router:A().object};var Z=W;const $=n(35630).Z,U=({children:e,delta:t,href:n,hrefType:r,isOpen:a,label:i,labelTooltipText:l,onToggle:s,prevLabel:u,prevValue:c,reverseTrend:d,selected:f,value:m,onLinkClickCallback:v})=>{const h=o()("woocommerce-summary__item-container",{"is-dropdown-button":s,"is-dropdown-expanded":a}),g=o()("woocommerce-summary__item",{"is-selected":f,"is-good-trend":d?t<0:t>0,"is-bad-trend":d?t>0:t<0});let b,_=t>0?(0,L.sprintf)((0,L.__)("Up %f%% from %s","woocommerce"),t,u):(0,L.sprintf)((0,L.__)("Down %f%% from %s","woocommerce"),Math.abs(t),u);t||(_=(0,L.sprintf)((0,L.__)("No change from %s","woocommerce"),u));const w={className:g,"aria-current":f?"page":null};if(s||n){const e=!!s;b=e?p.ZP:Z,e?(w.onClick=s,w["aria-expanded"]=a):(w.href=n,w.role="menuitem",w.onClick=v,w.type=r)}else b="div";return(0,y.createElement)("li",{className:h},(0,y.createElement)(b,{...w},(0,y.createElement)("div",{className:"woocommerce-summary__item-label"},(0,y.createElement)($,{variant:"body.small",size:"14",lineHeight:"20px"},i),l&&(0,y.createElement)(R.Z,{text:l,position:"top center"},(0,y.createElement)("div",{className:"woocommerce-summary__info-tooltip"},(0,y.createElement)(z.Z,{width:20,height:20,icon:H.Z})))),(0,y.createElement)("div",{className:"woocommerce-summary__item-data"},(0,y.createElement)("div",{className:"woocommerce-summary__item-value"},(0,y.createElement)($,{variant:"title.small",size:"20",lineHeight:"28px"},(0,V.isNil)(m)?(0,L.__)("N/A","woocommerce"):m)),(0,y.createElement)(R.Z,{text:(0,V.isNil)(c)?(0,L.__)("N/A","woocommerce"):`${u} ${c}`,position:"top center"},(0,y.createElement)("div",{className:"woocommerce-summary__item-delta",role:"presentation","aria-label":_},(0,y.createElement)($,{variant:"caption",size:"12",lineHeight:"16px"},(0,V.isNil)(t)?(0,L.__)("N/A","woocommerce"):(0,L.sprintf)((0,L.__)("%f%%","woocommerce"),t))))),s?(0,y.createElement)(D.Z,{className:"woocommerce-summary__toggle",size:24}):null,e))};U.propTypes={delta:A().number,href:A().string,hrefType:A().oneOf(["wp-admin","wc-admin","external"]).isRequired,isOpen:A().bool,label:A().string.isRequired,labelTooltipText:A().string,onToggle:A().func,prevLabel:A().string,prevValue:A().oneOfType([A().number,A().string]),reverseTrend:A().bool,selected:A().bool,value:A().oneOfType([A().number,A().string]),onLinkClickCallback:A().func},U.defaultProps={href:"",hrefType:"wc-admin",isOpen:!1,prevLabel:(0,L.__)("Previous period:","woocommerce"),reverseTrend:!1,selected:!1,onLinkClickCallback:V.noop};var G=U,Y=n(27208);function q(e){return e<10?`has-${e}-items`:"has-10-items"}const K=({className:e})=>(0,y.createElement)("li",{"data-testid":"summary-placeholder",className:o()("woocommerce-summary__item-container is-placeholder",e)},(0,y.createElement)("div",{className:"woocommerce-summary__item"},(0,y.createElement)("div",{className:"woocommerce-summary__item-label"}),(0,y.createElement)("div",{className:"woocommerce-summary__item-data"},(0,y.createElement)("div",{className:"woocommerce-summary__item-value"}),(0,y.createElement)("div",{className:"woocommerce-summary__item-delta"}))));class X extends y.Component{render(){const{isDropdownBreakpoint:e}=this.props,t=e?1:this.props.numberOfItems,n=q(t),r=o()("woocommerce-summary",{[n]:!e,"is-placeholder":!0});return(0,y.createElement)("ul",{className:r,"aria-hidden":"true"},(0,V.range)(t).map((e=>(0,y.createElement)(K,{key:e}))))}}X.propTypes={numberOfItems:A().number.isRequired},X.defaultProps={numberOfRows:5};var Q=(0,Y.hq)({isDropdownBreakpoint:"< large"})(X),J=n(4506);const ee=({label:e,orientation:t,itemCount:n,items:r})=>{const a=(0,V.uniqueId)("woocommerce-summary-helptext-"),i=q(n),l=o()("woocommerce-summary",{[i]:"horizontal"===t});return(0,y.createElement)(J.Z,{"aria-label":e,"aria-describedby":a,orientation:t,stopNavigationEvents:!0},(0,y.createElement)("p",{id:a,className:"screen-reader-text"},(0,L.__)("List of data points available for filtering. Use arrow keys to cycle through the list. Click a data point for a detailed report.","woocommerce")),(0,y.createElement)("ul",{className:l},r))};ee.propTypes={label:A().string,orientation:A().oneOf(["vertical","horizontal"]).isRequired,items:A().node.isRequired,itemCount:A().number.isRequired};var te=ee;const ne=({children:e,isDropdownBreakpoint:t,label:n})=>{const r=e({}),o=y.Children.count(r)||1,a=t?"vertical":"horizontal",i=(0,y.createElement)(te,{label:n,orientation:a,itemCount:o,items:r});if(!t||o<2)return i;const l=r.find((e=>!!e.props.selected));return l?(0,y.createElement)(f.Z,{className:"woocommerce-summary",position:"bottom",headerTitle:n,renderToggle:({isOpen:e,onToggle:t})=>(0,y.cloneElement)(l,{onToggle:t,isOpen:e}),renderContent:t=>(0,y.createElement)(te,{label:n,orientation:a,itemCount:o,items:e(t)})}):i};ne.propTypes={children:A().func.isRequired,label:A().string},ne.defaultProps={label:(0,L.__)("Performance Indicators","woocommerce")};var re=(0,Y.hq)({isDropdownBreakpoint:"< large"})(ne),oe=n(84638),ae=n(34379),ie=n(98576),le=n(10110),se=n.n(le);var ue=n(6777),ce=function(e){let t;function n(e){if(e.priceFormat)return function(e){const t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}(e.priceFormat.toString());switch(e.symbolPosition){case"left":return"%1$s%2$s";case"right":return"%2$s%1$s";case"left_space":return"%1$s %2$s";case"right_space":return"%2$s %1$s"}return"%1$s%2$s"}function r(e){const r={code:"USD",symbol:"$",symbolPosition:"left",thousandSeparator:",",decimalSeparator:".",precision:2,...e};let o=r.precision;null===o?(console.warn("Currency precision is null"),o=NaN):"string"==typeof o&&(o=parseInt(o,10)),t={code:r.code.toString(),symbol:r.symbol.toString(),symbolPosition:r.symbolPosition.toString(),decimalSeparator:r.decimalSeparator.toString(),priceFormat:n(r),thousandSeparator:r.thousandSeparator.toString(),precision:o}}function o(e,n=!1){const r=function({precision:e=null,decimalSeparator:t=".",thousandSeparator:n=","},r){if(void 0===r)return"";if("number"!=typeof r&&(r=parseFloat(r)),isNaN(r))return"";let o=null===e?NaN:Number(e);if(isNaN(o)){const[,e]=r.toString().split(".");o=e?e.length:0}return se()(r,o,t,n)}(t,e);if(""===r)return r;const{priceFormat:o,symbol:a,code:i}=t;return(0,L.sprintf)(o,n?i:a,r)}return r(e),{getCurrencyConfig:()=>({...t}),getDataForCountry:function(e,t={},n={}){const r=t[e];if(!r)return{};const o=n[r.currency_code];return o?{code:r.currency_code,symbol:(0,ie.decodeEntities)(o),symbolPosition:r.currency_pos,thousandSeparator:r.thousand_sep,decimalSeparator:r.decimal_sep,precision:r.num_decimals}:{}},setCurrency:r,formatAmount:o,formatCurrency:function(e){return(0,ue.default)("Currency().formatCurrency",{version:"5.0.0",alternative:"Currency().formatAmount",plugin:"WooCommerce",hint:"`formatAmount` accepts the same arguments as formatCurrency"}),o(e)},getPriceFormat:n,formatDecimal(e){if("number"!=typeof e&&(e=parseFloat(e)),Number.isNaN(e))return 0;const{precision:n}=t;return Math.round(e*Math.pow(10,n))/Math.pow(10,n)},formatDecimalString(e){if("number"!=typeof e&&(e=parseFloat(e)),Number.isNaN(e))return"";const{precision:n}=t;return e.toFixed(n)},render(e){return"number"!=typeof e&&(e=parseFloat(e)),e<0?(0,y.createElement)("span",{className:"is-negative"},o(e)):o(e)}}};function de(e){return ce(M.MailPoet.WooCommerceStoreConfig).formatAmount(e)}const fe=G;function me(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"current";const n=(0,s.select)(x.storeName).getSection("overview");if(void 0===n.data)return;const r=n.data[e]??null,o=n.data?.sent??null;return r&&o&&r[t]&&o[t]?100*r[t]/o[t]/100:0}function pe(e){const t=me(e,"current"),n=me(e,"previous");return void 0===t||void 0===n||0===n?0:(t-n)/n*100}function ve(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"current";const n=(0,s.select)(x.storeName).getSection("overview");if(void 0===n.data)return;const r=n.data[e]??null;return r&&r[t]?r[t]:0}function he(e){const t=ve(e,"current"),n=ve(e,"previous");if(void 0===t||void 0===n)return;const r=t-n;return 0===r||0===n?0:r/n*100}function ge(){const{overview:e,hasEmails:t}=(0,l.Z)((e=>({overview:e(x.storeName).getSection("overview"),hasEmails:e(oe.storeName).automationHasStep("mailpoet:send-email")}))),n=new Intl.NumberFormat(ae.locale.toString(),{style:"percent",maximumFractionDigits:2}),r=new Intl.NumberFormat(ae.locale.toString()),o=[];return void 0!==e.data&&(o.push((0,E.jsx)(fe,{label:(0,u.__)("Opened","mailpoet"),value:n.format(me("opened")),delta:Number(pe("opened").toFixed(2))},"overview-opened")),o.push((0,E.jsx)(fe,{label:(0,u.__)("Clicked","mailpoet"),value:n.format(me("clicked")),delta:Number(pe("clicked").toFixed(2))},"overview-clicked"))),void 0!==e.data&&M.MailPoet.isWoocommerceActive&&(o.push((0,E.jsx)(fe,{label:(0,u._x)("Orders","WooCommerce orders","mailpoet"),delta:Number(he("orders").toFixed(2)),value:r.format(ve("orders"))},"overview-orders")),o.push((0,E.jsx)(fe,{label:(0,u.__)("Revenue","mailpoet"),delta:Number(he("revenue").toFixed(2)),value:de(void 0!==e.data?e.data.revenue.current:0)},"overview-revenue"))),t?(0,E.jsxs)("div",{className:"mailpoet-automation-analytics-overview",children:[(0,E.jsx)("h1",{children:(0,u.__)("Overview","mailpoet")}),0===o.length&&(0,E.jsx)(Q,{numberOfItems:M.MailPoet.isWoocommerceActive?4:2},"placeholder"),0!==o.length&&(0,E.jsx)(re,{label:(0,u.__)("Overview","mailpoet"),children:()=>o})]}):null}var be=n(16374),ye=n(35100),_e=n(84862),we=n(68806),xe=n(75233),Ce=n(71458),Ee=n(12711);const Oe=[{key:"entered",label:(0,u._x)("Total Entered","automation stats","mailpoet"),value:0},{key:"processing",label:(0,u._x)("Total Processing","automation stats","mailpoet"),value:0},{key:"exited",label:(0,u._x)("Total Exited","automation stats","mailpoet"),value:0}];function Se(){return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"mailpoet-automation-editor-step-wrapper mailpoet-automation-editor-step-wrapper-placeholder",children:(0,E.jsxs)("div",{className:"mailpoet-automation-editor-step",children:[(0,E.jsx)("div",{className:"mailpoet-automation-editor-step-icon"}),(0,E.jsxs)("div",{className:"mailpoet-automation-editor-step-content",children:[(0,E.jsx)("div",{className:"mailpoet-automation-editor-step-title"}),(0,E.jsx)("div",{className:"mailpoet-automation-editor-step-subtitle"})]}),(0,E.jsx)("div",{className:"mailpoet-automation-editor-step-footer"})]})}),(0,E.jsx)("div",{className:"mailpoet-automation-editor-separator"})]})}function Me(){return(0,E.jsxs)("div",{className:"mailpoet-automation-editor-automation-wrapper",children:[(0,E.jsx)("div",{className:"mailpoet-automation-editor-stats mailpoet-automation-editor-stats-placeholder",children:(0,E.jsx)(Ee.g,{items:Oe})}),(0,E.jsx)(Se,{}),(0,E.jsx)(Se,{}),(0,E.jsx)(Se,{}),(0,E.jsx)(g.Z,{className:"mailpoet-automation-editor-automation-end",icon:Ce.Z}),(0,E.jsx)("div",{})]})}const Pe=window.mailpoet_automation_api,ke=(()=>{const e=(window.mailpoet_locale_full??document.documentElement.lang??"en").replace("_","-");try{return new Intl.Locale(e)}catch(t){try{return new Intl.Locale(e.split("-")[0])}catch(e){return new Intl.Locale("en")}}})();function je(e,t){if(t){const n=(0,s.select)(x.storeName).getSection(e),r={...n,customQuery:{...n.customQuery,filter:{...t.filters}},currentView:t};(0,s.dispatch)(x.storeName).updateSection(r)}const n=document.querySelector(`.${{"automation-flow":"mailpoet-analytics-tab-flow",emails:"mailpoet-analytics-tab-emails",orders:"mailpoet-analytics-tab-orders",subscribers:"mailpoet-analytics-tab-subscribers"}[e]}`);n?.click()}var Te=n(2981);const Ie=Intl.NumberFormat(ke.toString(),{notation:"compact"}),Ne=Intl.NumberFormat(ke.toString(),{style:"percent"});function Re(e){let{step:t}=e;const{section:n}=(0,l.Z)((e=>({section:e(x.storeName).getSection("automation_flow")})),[]),{data:r}=n,o=r.step_data?.failed,a=void 0!==o?o[t.id]??0:0,i=(0,y.useMemo)((()=>{if(!a)return null;const e=r.step_data.total>0?Math.round(a/r.step_data.total*100):0,t=Ie.format(a),n=Ne.format(e/100);return(0,E.jsx)("div",{className:"mailpoet-automation-analytics-step-failed",children:(0,E.jsxs)("p",{children:[n," (",t,")",(0,E.jsx)("span",{children:(0,u.__)("failed","mailpoet")})]})})}),[r.step_data.total,a]);return"mailpoet:send-email"!==t.key||(0,Te.s)(t)?i:(0,E.jsx)(R.Z,{text:(0,u.__)("Email sending could fail if the user didn’t consent to receive marketing emails.","mailpoet"),children:i})}function Le(e){let{step:t}=e;const{section:n}=(0,l.Z)((e=>({section:e(x.storeName).getSection("automation_flow")})),[]),{data:r}=n;if(!r||"trigger"===t.type)return null;const o=r.step_data?.waiting,a=void 0!==o?o[t.id]??0:0,i=r.step_data.total>0?Math.round(a/r.step_data.total*100):0,s=Ie.format(a),c=Ne.format(i/100);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(Re,{step:t}),(0,E.jsx)(R.Z,{text:(0,u.__)("View subscribers","mailpoet"),children:(0,E.jsx)("div",{className:"mailpoet-automation-analytics-step-footer",children:(0,E.jsx)("p",{children:(0,E.jsxs)("a",{href:(0,h.f)(window.location.href,{tab:"automation-subscribers"}),onClick:e=>{e.preventDefault(),je("subscribers",{filters:{status:[],step:[t.id]}})},children:[c," (",s,")"," ",(0,E.jsx)("span",{children:(0,u.__)("waiting","mailpoet")})]})})})})]})}function De(e,t){if(0===t)return 0;const n=100*e/t;return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?n-100:n}function Ve(e){let{email:t,property:n,className:r}=e;if(!t)return(0,E.jsx)(E.Fragment,{children:"0"});if(0===t.sent.current)return(0,E.jsx)(E.Fragment,{children:`${t[n]}`});const o=(a=De(t[n],t.sent.current))>3?{badge:(0,u.__)("Excellent","mailpoet"),badgeType:"mailpoet-analytics-badge-success"}:a>1?{badge:(0,u.__)("Good","mailpoet"),badgeType:"mailpoet-analytics-badge-success"}:{badge:(0,u.__)("Average","mailpoet"),badgeType:"mailpoet-analytics-badge-warning"};var a;return(0,E.jsxs)("div",{className:`mailpoet-analytics-badge ${r??""} ${o.badgeType??""}`,children:[(0,E.jsx)("span",{className:"mailpoet-analytics-badge-text",children:o.badge}),`${t[n]}`]})}function Be(e){let{label:t,value:n,isLoading:r}=e;return r?(0,E.jsx)("div",{className:"mailpoet-automation-analytics-send-email-panel-section is-loading"}):(0,E.jsxs)("div",{className:"mailpoet-automation-analytics-send-email-panel-section",children:[(0,E.jsx)("span",{className:"mailpoet-automation-analytics-send-email-panel-label",children:t}),(0,E.jsx)("span",{className:"mailpoet-automation-analytics-send-email-panel-value",children:n})]})}function Ae(e){let{step:t}=e;const{section:n}=(0,l.Z)((e=>({section:e(x.storeName).getSection("overview")})),[]),r=void 0===n.data,o=r?void 0:Object.values(n.data.emails).find((e=>e.id===t.args.email_id)),a=void 0===o?"0":(0,E.jsx)(R.Z,{text:(0,u.__)("View sending status","mailpoet"),children:(0,E.jsx)("a",{href:`?page=mailpoet-newsletters#/sending-status/${o.id}`,children:Intl.NumberFormat(ke.toString(),{notation:"compact"}).format(o.sent.current)})});return(0,E.jsxs)("div",{className:"mailpoet-automation-analytics-send-email-panel",children:[(0,E.jsx)(Be,{label:(0,u.__)("Sent","mailpoet"),value:a,isLoading:r}),(0,E.jsx)(Be,{label:(0,u.__)("Opened","mailpoet"),value:Intl.NumberFormat(ke.toString(),{notation:"compact"}).format(o?.opened??0),isLoading:r}),(0,E.jsx)(Be,{label:(0,u.__)("Clicked","mailpoet"),value:(0,E.jsx)(Ve,{email:o,property:"clicked"}),isLoading:r}),M.MailPoet.isWoocommerceActive&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("hr",{}),(0,E.jsx)(Be,{label:(0,u.__)("Orders","mailpoet"),value:(0,E.jsx)(R.Z,{text:(0,u.__)("View orders","mailpoet"),children:(0,E.jsx)("a",{href:(0,h.f)(window.location.href,{tab:"automation-orders"}),onClick:e=>{e.preventDefault(),je("orders",{filters:{emails:[`${o.id}`]}})},children:Intl.NumberFormat(ke.toString(),{notation:"compact"}).format(o?.orders??0)})}),isLoading:r}),(0,E.jsx)(Be,{label:(0,u.__)("Revenue","mailpoet"),value:de(o?.revenue??0),isLoading:r})]})]})}function ze(e){let{previousStep:t,index:n}=e;const{section:r,stepType:o}=(0,l.Z)((e=>({section:e(x.storeName).getSection("automation_flow"),stepType:e(oe.storeName).getStepType(t.key)})),[]),{data:a}=r;if(!a)return null;if("trigger"===t.type){const e=Intl.NumberFormat(ke.toString(),{notation:"compact"}).format(a.step_data.total);return(0,E.jsx)("div",{className:`mailpoet-automation-editor-separator mailpoet-automation-analytics-separator mailpoet-automation-analytics-separator-${t.id}`,children:(0,E.jsxs)("p",{children:[(0,E.jsx)("span",{className:"mailpoet-automation-analytics-separator-values",children:e}),(0,E.jsx)("span",{className:"mailpoet-automation-analytics-separator-text",children:(0,u.__)("entered","mailpoet")})]})})}const i=a.step_data?.flow,s=void 0!==i?i[t.id]??0:0,c=a.step_data.total>0?Math.round(s/a.step_data.total*100):0,d=Intl.NumberFormat(ke.toString(),{notation:"compact"}).format(s),f=Intl.NumberFormat(ke.toString(),{style:"percent"}).format(c/100),m=t.next_steps.length>1&&o?.branchBadge;return(0,E.jsxs)(E.Fragment,{children:[m&&(0,E.jsx)("div",{className:"mailpoet-automation-editor-branch-badge",children:(0,E.jsx)(m,{step:t,index:n})}),(0,E.jsx)("div",{className:`mailpoet-automation-editor-separator mailpoet-automation-analytics-separator mailpoet-automation-analytics-separator-${t.id}`,children:(0,E.jsxs)("p",{children:[(0,E.jsxs)("span",{className:"mailpoet-automation-analytics-separator-values",children:[f," (",d,")"]}),(0,E.jsx)("span",{className:"mailpoet-automation-analytics-separator-text",children:(0,u.__)("completed","mailpoet")})]})})]})}function He(){const{section:e}=(0,l.Z)((e=>({section:e(x.storeName).getSection("automation_flow")})),[]);return void 0===e.data?(0,E.jsx)(Me,{}):(0,E.jsxs)(E.Fragment,{children:[e.data.tree_is_inconsistent&&(0,E.jsx)("div",{className:"mailpoet-automation-editor-automation-notices",children:(0,E.jsx)(we.Z,{status:"warning",isDismissible:!1,className:"mailpoet-automation-flow-notice",children:(0,E.jsx)("p",{children:(0,u.__)("In this time period, the automation structure did change and therefore some numbers in the flow chart might not be accurate.","mailpoet")})})}),(0,E.jsx)(xe.q,{context:"view",scroll:!1,drag:!1})]})}_.Hooks.addFilter("mailpoet.automation.step.footer","mailpoet",((e,t,n)=>"view"!==n?e:(0,E.jsx)(Le,{step:t}))),_.Hooks.addFilter("mailpoet.automation.step.more","mailpoet",((e,t,n)=>"view"!==n?e:"mailpoet:send-email"===t.key?(0,E.jsx)(Ae,{step:t}):e)),_.Hooks.addFilter("mailpoet.automation.step.more-controls","mailpoet",(function(e,t,n){const r=(0,s.select)(x.storeName).getSection("overview");if("view"!==n)return e;if("trigger"===t.type)return{};const o={};if("mailpoet:send-email"===t.key){const e=void 0!==r.data?Object.values(r.data.emails).find((e=>e.id===t.args?.email_id)):void 0;o.statistics={key:"statistics",control:{icon:null,title:(0,u.__)("View statistics","mailpoet"),isDisabled:!1,onClick:()=>{window.open(`admin.php?page=mailpoet-newsletters#/stats/${t.args.email_id}`,"_blank")}},slot:()=>null},e&&(o.preview={key:"preview",control:{icon:null,title:(0,u.__)("Preview email","mailpoet"),isDisabled:!1,onClick:()=>{window.open(e.previewUrl,"_blank")}},slot:()=>null})}const a={subscribers:{key:"view-subscribers",control:{icon:null,title:(0,u.__)("View subscribers","mailpoet"),isDisabled:!1,onClick:()=>{je("subscribers",{filters:{status:[],step:[t.id]}})}},slot:()=>null}};return{...o,...a}}),20),_.Hooks.addFilter("mailpoet.automation.render_step_separator","mailpoet",((e,t)=>"view"!==t?e:function(e,t){return(0,E.jsxs)(E.Fragment,{children:[e.next_steps.length>1&&(0,E.jsx)("div",{className:t<e.next_steps.length/2?"mailpoet-automation-editor-separator-curve-leaf-left":"mailpoet-automation-editor-separator-curve-leaf-right"}),(0,E.jsx)(ze,{previousStep:e,index:t})]})}),20);var Fe=n(50483),We=n(52542),Ze=n(97471),$e=n(96756),Ue=n(74457);function Ge(e){let{id:t,previewUrl:n}=e;const r=[{title:(0,u.__)("Preview email","mailpoet"),icon:Ze.Z,onClick:()=>{window.location.href=n}},{title:(0,u.__)("Edit email","mailpoet"),icon:$e.Z,onClick:()=>{window.location.href=`?page=mailpoet-newsletter-editor&id=${t}&context=automation`}}];return(0,E.jsxs)("div",{className:"mailpoet-analytics-email-actions",children:[(0,E.jsx)("p",{children:(0,E.jsx)("a",{href:`admin.php?page=mailpoet-newsletters#/stats/${t}`,children:(0,u.__)("Statistics","mailpoet")})}),(0,E.jsx)(We.Z,{label:(0,u.__)("More","mailpoet"),icon:Ue.Z,controls:r,popoverProps:{position:"bottom left"}})]})}function Ye(e){let{value:t,subValue:n,className:r}=e;const o=(0,E.jsx)("div",{className:`mailpoet-analytics-main-value ${r??""}`,children:t}),a=(0,E.jsx)(E.Fragment,{children:" "});return(0,E.jsxs)("div",{className:"mailpoet-automation-analytics-emails-table-cell",children:[o,(0,E.jsxs)("p",{className:"mailpoet-automation-analytics-table-subvalue",children:[n,(void 0===n||0===n.toString().length)&&a]})]})}const qe=Intl.NumberFormat(ae.locale.toString(),{style:"percent",maximumFractionDigits:2}),Ke=[{key:"email",label:(0,u.__)("Email","mailpoet")},{key:"sent",label:(0,u.__)("Sent","mailpoet"),isLeftAligned:!1,isNumeric:!0},{key:"opened",label:(0,u.__)("Opened","mailpoet"),isLeftAligned:!1,isNumeric:!0},{key:"clicked",label:(0,u.__)("Clicked","mailpoet"),isLeftAligned:!1,isNumeric:!0}];function Xe(){const{overview:e}=(0,l.Z)((e=>({overview:e(x.storeName).getSection("overview")}))),[t,n]=(0,y.useState)(void 0),[r,o]=(0,y.useState)(1),[a,i]=(0,y.useState)(25);(0,y.useEffect)((()=>{n(void 0!==e.data?Object.values(e.data.emails).splice((r-1)*a,a):void 0)}),[e.data,r,a]);const s=void 0!==t?t.map((e=>{const t=De(e.clicked,e.sent.current),n=[{display:(0,E.jsx)(Ye,{className:"mailpoet-automation-analytics-email-name",value:e.name,subValue:(0,u.sprintf)((0,u.__)("Email %d","mailpoet"),e.order)}),value:e.name},{display:(0,E.jsx)(Ye,{value:(0,E.jsx)(R.Z,{text:(0,u.__)("View sending status","mailpoet"),children:(0,E.jsx)("a",{href:`?page=mailpoet-newsletters#/sending-status/${e.id}`,children:`${e.sent.current}`})}),subValue:qe.format(De(e.sent.current,e.sent.previous,!0)/100)}),value:e.sent.current},{display:(0,E.jsx)(Ye,{value:e.opened,subValue:qe.format(De(e.opened,e.sent.current)/100)}),value:e.opened},{display:(0,E.jsx)(Ye,{value:(0,E.jsx)(Ve,{email:e,property:"clicked"}),className:e.sent.current>0?"mailpoet-automation-analytics-email-clicked":"",subValue:qe.format(t/100)}),value:e.clicked}];return M.MailPoet.isWoocommerceActive&&n.push({display:(0,E.jsx)(Ye,{value:(0,E.jsx)(R.Z,{text:(0,u.__)("View orders","mailpoet"),children:(0,E.jsx)("a",{href:(0,h.f)(window.location.href,{tab:"automation-orders"}),onClick:t=>{t.preventDefault(),je("orders",{filters:{emails:[`${e.id}`]}})},children:`${e.orders}`})})}),value:e.orders},{display:(0,E.jsx)(Ye,{value:de(e.revenue)}),value:e.revenue}),n.concat([{display:(0,E.jsx)(Ye,{value:e.unsubscribed}),value:e.unsubscribed},{display:(0,E.jsx)(Ge,{id:e.id,previewUrl:e.previewUrl}),value:null}])})):[],c=function(e){if(0===e.length)return[];const t=e.reduce(((e,t)=>(e.sent+=t.sent.current,e.opened+=t.opened,e.clicked+=t.clicked,e.orders+=t.orders,e.unsubscribed+=t.unsubscribed,e.revenue+=t.revenue,e)),{sent:0,opened:0,clicked:0,orders:0,unsubscribed:0,revenue:0}),n=Intl.NumberFormat(ae.locale.toString(),{notation:"compact"}),r=[{label:(0,u.__)("sent","mailpoet"),value:n.format(t.sent)},{label:(0,u.__)("opened","mailpoet"),value:n.format(t.opened)},{label:(0,u.__)("clicked","mailpoet"),value:n.format(t.clicked)}];return M.MailPoet.isWoocommerceActive&&r.push({label:(0,u.__)("orders","mailpoet"),value:n.format(t.orders)},{label:(0,u.__)("revenue","mailpoet"),value:de(t.revenue)}),r.push({label:(0,u.__)("unsubscribed","mailpoet"),value:n.format(t.unsubscribed)}),r}(t??[]);return(0,E.jsx)(Fe.Z,{title:"",onQueryChange:t=>r=>{"paged"===t?(o(r),n(void 0!==e.data?Object.values(e.data.emails).splice((r-1)*a,a):void 0)):"per_page"===t&&(o(1),i(r),n(void 0!==e.data?Object.values(e.data.emails).splice(0,r):void 0))},query:{paged:r,orderby:"email",order:"asc"},rows:s,headers:Ke,showMenu:!1,rowsPerPage:a,totalRows:void 0!==e.data?Object.values(e.data.emails).length:0,summary:c,isLoading:void 0===e.data})}M.MailPoet.isWoocommerceActive&&Ke.push({key:"orders",label:(0,u.__)("Orders","mailpoet"),isLeftAligned:!1,isNumeric:!0},{key:"revenue",label:(0,u.__)("Revenue","mailpoet"),isLeftAligned:!1,isNumeric:!0}),Ke.push({key:"unsubscribed",label:(0,u.__)("Unsubscribed","mailpoet"),isLeftAligned:!1,isNumeric:!0},{key:"actions",label:""});var Qe=n(48405);function Je(e){let{order:t,isSample:n=!1}=e;const{openPremiumModalForSampleData:r}=(0,Qe.Z)(x.storeName);return(0,E.jsx)(R.Z,{text:(0,u.__)("Order details","mailpoet"),children:(0,E.jsx)("a",{onClick:e=>{n&&(e.preventDefault(),r())},href:n?"":`post.php?post=${t.id}&action=edit`,children:`${t.id}`})})}function et(e){let{customer:t,isSample:n=!1}=e;const{openPremiumModalForSampleData:r}=(0,Qe.Z)(x.storeName),o=[t.first_name,t.last_name].filter(Boolean).join(" ")||t.email;return(0,E.jsxs)("a",{className:"mailpoet-analytics-orders__customer",onClick:e=>{n&&(e.preventDefault(),r())},href:n?"":`?page=mailpoet-subscribers#/edit/${t.id}`,children:[(0,E.jsx)("img",{src:t.avatar,alt:o,width:"20"}),o]})}var tt=n(80373);const nt=({items:e})=>(0,y.createElement)(tt.Z,{className:"woocommerce-view-more-list",label:(0,L.sprintf)((0,L.__)("+%d more","woocommerce"),e.length-1),popoverContents:(0,y.createElement)("ul",{className:"woocommerce-view-more-list__popover"},e.map(((e,t)=>(0,y.createElement)("li",{key:t,className:"woocommerce-view-more-list__popover__item"},e))))});nt.propTypes={items:A().arrayOf(A().node)},nt.defaultProps={items:[]};const rt=nt;function ot(e){let{order:t}=e;const n=t.products.length>0?t.products.map((e=>(0,E.jsxs)("span",{children:[e.name," ",(0,E.jsxs)("span",{className:"quantity",children:["(",e.quantity,"×)"]})]},`key-${e.id}`))):[];if(!n.length)return(0,E.jsx)("span",{children:"—"});const r=n.slice(0,1);return(0,E.jsxs)("div",{className:"mailpoet-automations-analytics-order-products",children:[r,n.length>1&&(0,E.jsx)(rt,{items:n})]})}function at(e){let{order:t,isSample:n}=e;const{automation:r}=(0,l.Z)((e=>({automation:e(oe.storeName).getAutomationData()}))),{openPremiumModalForSampleData:o}=(0,Qe.Z)(x.storeName);return(0,E.jsx)(R.Z,{text:(0,u.__)("View in automation","mailpoet"),children:(0,E.jsx)("a",{onClick:e=>{n&&(e.preventDefault(),o())},href:n?"":(0,h.f)(M.MailPoet.urls.automationEditor,{id:r.id}),children:`${t.email.subject}`})})}function it(e){let{id:t,name:n}=e;return(0,E.jsx)("span",{className:`mailpoet-analytics-order-status mailpoet-analytics-order-status-${t}`,children:n})}function lt(e){const t=e.map((e=>new Date(e.date).getTime())).filter(((e,t,n)=>n.indexOf(e)===t)),n=Math.max.apply(null,t),r=Math.min.apply(null,t);return Math.max.apply(null,[1,Math.round((n-r)/864e5)])}var st=n(33995),ut=n(19200);const ct=(e,t)=>{const{action:n,cta:r}=t;return"string"==typeof n?r:"busy"===e?n.busy:"success"===e?n.success:r};function dt(){const e=(0,ut.qo)({},{utm_medium:"upsell_modal",utm_campaign:"automation-analytics"}),[t,n]=(0,y.useState)();(0,y.useEffect)((()=>{n(void 0)}),[e]);const r=(0,y.useCallback)((async()=>{if("string"!=typeof e.action)if("success"!==t){n("busy");try{await e.action.handler(),n("success")}catch(e){n("error")}}else e.action.successHandler()}),[t,e.action]);return(0,E.jsx)(st.Notice,{className:"mailpoet-analytics-upgrade-banner",status:"warning",isDismissible:!1,children:(0,E.jsxs)("span",{className:"mailpoet-analytics-upgrade-banner__inner",children:[(0,E.jsxs)("span",{children:[(0,E.jsx)("strong",{children:(0,u.__)("You're viewing sample data.","mailpoet")})," ",e.info]}),"string"==typeof e.action?(0,E.jsx)(p.ZP,{variant:"primary",href:e.action,target:"_blank",rel:"noopener noreferrer",children:e.cta}):(0,E.jsx)(p.ZP,{variant:"primary",onClick:r,isBusy:"busy"===t,disabled:"busy"===t,children:ct(t,e)})]})})}const ft=[{key:"created_at",isSortable:!0,label:(0,u.__)("Date","mailpoet")},{key:"id",label:(0,u.__)("Order #","mailpoet")},{key:"last_name",isSortable:!0,label:(0,u.__)("Customer","mailpoet")},{key:"items",label:(0,u.__)("Product(s)","mailpoet")},{key:"subject",isSortable:!0,label:(0,u.__)("Email clicked","mailpoet")},{key:"status",isSortable:!0,label:(0,u.__)("Status","mailpoet")},{key:"revenue",isSortable:!0,label:(0,u.__)("Revenue","mailpoet")}];function mt(){const{ordersSection:e}=(0,l.Z)((e=>({ordersSection:e(x.storeName).getSection("orders")}))),t=e?.data?.items,n=function(e){const t=e?.items;return void 0===t?[]:t.map((t=>[{display:M.MailPoet.Date.format(new Date(t.date)),value:t.date},{display:(0,E.jsx)(Je,{order:t.details,isSample:e?.isSample}),value:t.details.id},{display:(0,E.jsx)(et,{customer:t.customer,isSample:e?.isSample}),value:t.customer.last_name},{display:(0,E.jsx)(ot,{order:t.details}),value:null},{display:(0,E.jsx)(at,{order:t,isSample:e?.isSample}),value:t.email.subject},{display:(0,E.jsx)(it,{id:t.details.status.id,name:t.details.status.name}),value:t.details.status.id},{display:de(t.details.total),value:t.details.total}]))}(e?.data),r=function(e){const t=e.map((e=>e.customer.id)).filter(((e,t,n)=>n.indexOf(e)===t)).length,n=e.map((e=>e.details.products.map((e=>e.id)))).flat().filter(((e,t,n)=>n.indexOf(e)===t)).length,r=e.map((e=>e.details.total)).reduce(((e,t)=>e+t),0);return[{label:(0,u.__)("days","mailpoet"),value:lt(e)},{label:(0,u.__)("subscribers","mailpoet"),value:t},{label:(0,u.__)("products","mailpoet"),value:n},{label:(0,u.__)("revenue","mailpoet"),value:de(r)}]}(t??[]),o=_.Hooks.applyFilters("mailpoet_analytics_orders_before_table",(0,E.jsx)(dt,{}));return(0,E.jsxs)("div",{className:"mailpoet-analytics-orders",children:[o,(0,E.jsx)(Fe.Z,{title:"",onQueryChange:t=>n=>{let r={};"paged"===t?r={page:n}:"per_page"===t?r={page:1,limit:n}:"sort"===t&&(r={page:1,order_by:n,order:e.customQuery.order_by===n&&"asc"===e.customQuery.order?"desc":"asc"}),(0,s.dispatch)(x.storeName).updateSection({...e,customQuery:{...e.customQuery,...r}})},query:{paged:e.customQuery.page,orderby:e.customQuery.order_by,order:e.customQuery.order},rows:n,headers:ft,showMenu:!1,rowsPerPage:e.customQuery.limit,totalRows:void 0!==e.data?e.data.results:0,summary:r,isLoading:void 0===t})]})}var pt=n(43202),vt=n(95172),ht=n(33334);function gt(e){let{name:t,data:n}=e;const{stepType:r}=(0,l.Z)((e=>({stepType:n.key?e(oe.storeName).getStepType(n.key):void 0}))),o=(0,y.useMemo)((()=>{const e=r?r.subtitle(n,"other"):"";if("object"!=typeof e||e.type!==ht.x)return"mailpoet:send-email"===n?.key&&e===t?n?.args?.subject:e}),[n,t,r]);return(0,E.jsxs)("div",{className:"mailpoet-analytics-subscribers-step-cell",children:[r?(0,E.jsx)(vt.O,{width:"12px",height:"12px",background:r.background,foreground:r.foreground,icon:r.icon}):(0,E.jsx)("div",{}),(0,E.jsxs)("div",{children:[(0,E.jsx)("p",{children:t}),o&&(0,E.jsx)("span",{children:o})]})]})}const bt=[{key:"last_name",isSortable:!0,label:(0,u.__)("Subscriber","mailpoet")},{key:"step",isSortable:!0,label:(0,u.__)("Automation step","mailpoet")},{key:"status",isSortable:!0,label:(0,u.__)("Status","mailpoet")},{key:"updated_at",isSortable:!0,label:(0,u.__)("Updated on","mailpoet")}];function yt(){const{subscriberSection:e}=(0,l.Z)((e=>({subscriberSection:e(x.storeName).getSection("subscribers")}))),t=function(e){const t=e?.items;return void 0===t?[]:t.map((t=>[{display:(0,E.jsx)(et,{customer:t.subscriber,isSample:e.isSample}),value:t.subscriber.last_name},{display:(0,E.jsx)(gt,{name:t.run.step.name,data:e.steps[t.run.step.id]}),value:t.run.step.name},{display:(0,E.jsx)(pt.g,{status:t.run.status}),value:t.run.status},{display:M.MailPoet.Date.format(new Date(t.date)),value:t.date}]))}(e.data),n=_.Hooks.applyFilters("mailpoet_analytics_subscribers_before_table",(0,E.jsx)(dt,{}));return(0,E.jsxs)("div",{className:"mailpoet-analytics-subscribers",children:[n,(0,E.jsx)(Fe.Z,{title:"",onQueryChange:t=>n=>{let r={};"paged"===t?r={page:n}:"per_page"===t?r={page:1,limit:n}:"sort"===t&&(r={page:1,order_by:n,order:e.customQuery.order_by===n&&"asc"===e.customQuery.order?"desc":"asc"}),(0,s.dispatch)(x.storeName).updateSection({...e,customQuery:{...e.customQuery,...r}})},query:{paged:e.customQuery.page,orderby:e.customQuery.order_by,order:e.customQuery.order},rows:t,headers:bt,showMenu:!1,rowsPerPage:e.customQuery.limit,totalRows:void 0!==e.data?e.data.results:0,isLoading:void 0===e.data?.items})]})}function _t(){const e=(0,be.k6)(),t=(0,be.TH)(),{hasEmails:n}=(0,l.Z)((e=>({hasEmails:e(P.tC).automationHasStep("mailpoet:send-email")}))),r=(0,y.useMemo)((()=>new URLSearchParams(t.search)),[t]),o=r.get("tab")??"automation-flow",a=[{name:"automation-flow",className:"mailpoet-analytics-tab-flow",title:(0,u.__)("Automation flow","mailpoet")}];n&&(a.push({name:"automation-emails",className:"mailpoet-analytics-tab-emails",title:(0,u.__)("Emails","mailpoet")}),M.MailPoet.isWoocommerceActive&&a.push({name:"automation-orders",className:"mailpoet-analytics-tab-orders",title:(0,E.jsxs)(E.Fragment,{children:[(0,u._x)("Orders","WooCommerce orders","mailpoet")," ",(0,E.jsx)(g.Z,{icon:_e.Z})]})}),a.push({name:"automation-subscribers",className:"mailpoet-analytics-tab-subscribers",title:(0,E.jsxs)(E.Fragment,{children:[(0,u.__)("Subscribers","mailpoet")," ",(0,E.jsx)(g.Z,{icon:_e.Z})]})}));const i=(0,y.useCallback)((t=>{const n=new URLSearchParams({...Object.fromEntries(r.entries()),tab:t});e.push({search:n.toString()})}),[r,e]);return(0,E.jsx)("div",{className:"mailpoet-analytics-tabs",children:(0,E.jsx)(ye.Z,{onSelect:i,initialTabName:o,tabs:a,children:e=>{switch(e.name){case"automation-flow":return(0,E.jsx)(He,{});case"automation-emails":return(0,E.jsx)(Xe,{});case"automation-orders":return(0,E.jsx)(mt,{});case"automation-subscribers":return(0,E.jsx)(yt,{});default:return null}}})})}var wt=n(82974),xt=n(77159),Ct=n(59956);function Et(){const e=(0,l.Z)((e=>e(x.storeName).getPremiumModal())),{closePremiumModal:t}=(0,s.dispatch)(x.storeName);return(0,E.jsxs)("div",{className:"mailpoet-automation-analytics",children:[(0,E.jsx)(N,{}),(0,E.jsx)(ge,{}),(0,E.jsx)(_t,{}),e&&(0,E.jsx)(C.ZG,{onRequestClose:t,tracking:{utm_campaign:e.utmCampaign??"automation_analytics"},children:e.content})]})}function Ot(){const{automation:e}=(0,l.Z)((e=>({automation:e(oe.storeName).getAutomationData()})));let t=(0,u.__)("Draft","mailpoet"),n="";return e.status===k.b.ACTIVE&&(t=(0,u.__)("Active","mailpoet"),n="mailpoet-analytics-badge-success"),e.status===k.b.DEACTIVATING&&(t=(0,u.__)("Deactivating","mailpoet"),n="mailpoet-analytics-badge-warning"),(0,E.jsx)(c.Q,{children:(0,E.jsxs)("p",{className:"mailpoet-automation-analytics-title",children:[(0,E.jsx)("a",{href:M.MailPoet.urls.automationListing,children:(0,u.__)("Automations","mailpoet")})," ","› ",(0,E.jsx)("strong",{children:e.name}),(0,E.jsx)("div",{className:o()("mailpoet-analytics-badge",n),children:(0,E.jsx)("span",{className:"mailpoet-analytics-badge-text",children:t})})]})})}function St(){return(0,E.jsxs)(i.BrowserRouter,{children:[(0,E.jsx)(Ot,{}),(0,E.jsx)(d.w,{}),(0,E.jsx)(Et,{})]})}window.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("mailpoet_automation_analytics");e&&((0,x.createStore)(),(0,oe.createStore)(),(0,Ct.R)(),(0,wt.y)(),(()=>{const e=`${Pe.root}/mailpoet/v1/`;xt.default.use(xt.default.createRootURLMiddleware(e)),xt.default.use(xt.default.createNonceMiddleware(Pe.nonce))})(),(0,s.select)(x.storeName).getSections().forEach((e=>{(0,s.dispatch)(x.storeName).updateSection(e)})),(0,a.s)(e).render((0,E.jsx)(St,{})))}))},9009:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n={grad:.9,turn:360,rad:360/(2*Math.PI)},r=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},o=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},a=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},i=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:a(e.r,0,255),g:a(e.g,0,255),b:a(e.b,0,255),a:a(e.a)}},s=function(e){return{r:o(e.r),g:o(e.g),b:o(e.b),a:o(e.a,3)}},u=/^#([0-9a-f]{3,8})$/i,c=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},d=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),i=a-Math.min(t,n,r),l=i?a===t?(n-r)/i:a===n?2+(r-t)/i:4+(t-n)/i:0;return{h:60*(l<0?l+6:l),s:a?i/a*100:0,v:a/255*100,a:o}},f=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),i=r*(1-n),l=r*(1-(t-a)*n),s=r*(1-(1-t+a)*n),u=a%6;return{r:255*[r,l,i,i,s,r][u],g:255*[s,r,r,l,i,i][u],b:255*[i,i,s,r,r,l][u],a:o}},m=function(e){return{h:i(e.h),s:a(e.s,0,100),l:a(e.l,0,100),a:a(e.a)}},p=function(e){return{h:o(e.h),s:o(e.s),l:o(e.l),a:o(e.a,3)}},v=function(e){return f((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},h=function(e){return{h:(t=d(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},g=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w={string:[[function(e){var t=u.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?o(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?o(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=y.exec(e)||_.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=g.exec(e)||b.exec(e);if(!t)return null;var r,o,a=m({h:(r=t[1],o=t[2],void 0===o&&(o="deg"),Number(r)*(n[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return v(a)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,a=e.a,i=void 0===a?1:a;return r(t)&&r(n)&&r(o)?l({r:Number(t),g:Number(n),b:Number(o),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,a=e.a,i=void 0===a?1:a;if(!r(t)||!r(n)||!r(o))return null;var l=m({h:Number(t),s:Number(n),l:Number(o),a:Number(i)});return v(l)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,l=e.a,s=void 0===l?1:l;if(!r(t)||!r(n)||!r(o))return null;var u=function(e){return{h:i(e.h),s:a(e.s,0,100),v:a(e.v,0,100),a:a(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(s)});return f(u)},"hsv"]]},x=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},C=function(e){return"string"==typeof e?x(e.trim(),w.string):"object"==typeof e&&null!==e?x(e,w.object):[null,void 0]},E=function(e,t){var n=h(e);return{h:n.h,s:a(n.s+100*t,0,100),l:n.l,a:n.a}},O=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},S=function(e,t){var n=h(e);return{h:n.h,s:n.s,l:a(n.l+100*t,0,100),a:n.a}},M=function(){function e(e){this.parsed=C(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return o(O(this.rgba),2)},e.prototype.isDark=function(){return O(this.rgba)<.5},e.prototype.isLight=function(){return O(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=s(this.rgba)).r,n=e.g,r=e.b,i=(a=e.a)<1?c(o(255*a)):"","#"+c(t)+c(n)+c(r)+i;var e,t,n,r,a,i},e.prototype.toRgb=function(){return s(this.rgba)},e.prototype.toRgbString=function(){return t=(e=s(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return p(h(this.rgba))},e.prototype.toHslString=function(){return t=(e=p(h(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=d(this.rgba),{h:o(e.h),s:o(e.s),v:o(e.v),a:o(e.a,3)};var e},e.prototype.invert=function(){return P({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),P(E(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),P(E(this.rgba,-e))},e.prototype.grayscale=function(){return P(E(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),P(S(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),P(S(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?P({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):o(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=h(this.rgba);return"number"==typeof e?P({h:e,s:t.s,l:t.l,a:t.a}):o(t.h)},e.prototype.isEqual=function(e){return this.toHex()===P(e).toHex()},e}(),P=function(e){return e instanceof M?e:new M(e)},k=[];t.Colord=M,t.colord=P,t.extend=function(e){e.forEach((function(e){k.indexOf(e)<0&&(e(M,w),k.push(e))}))},t.getFormat=function(e){return C(e)[1]},t.random=function(){return new M({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}},76675:function(e){var t=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},n=function(e){return.2126*t(e.r)+.7152*t(e.g)+.0722*t(e.b)};e.exports=function(e){e.prototype.luminance=function(){return e=n(this.rgba),void 0===(t=2)&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0;var e,t,r},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var r,o,a,i,l,s,u,c=t instanceof e?t:new e(t);return i=this.rgba,l=c.toRgb(),r=(s=n(i))>(u=n(l))?(s+.05)/(u+.05):(u+.05)/(s+.05),void 0===(o=2)&&(o=0),void 0===a&&(a=Math.pow(10,o)),Math.floor(a*r)/a+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(a=(n=t).size)?"normal":a,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===i?7:"AA"===o&&"large"===i?3:4.5);var n,r,o,a,i}}},11343:function(e){e.exports=function(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,i,l=r[this.toHex()];if(l)return l;if(null==t?void 0:t.closest){var s=this.toRgb(),u=1/0,c="black";if(!a.length)for(var d in n)a[d]=new e(n[d]).toRgb();for(var f in n){var m=(o=s,i=a[f],Math.pow(o.r-i.r,2)+Math.pow(o.g-i.g,2)+Math.pow(o.b-i.b,2));m<u&&(u=m,c=f)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}},34885:function(e,t,n){"use strict";n.r(t),n.d(t,{add:function(){return u},addBusinessDays:function(){return m},addDays:function(){return o.default},addHours:function(){return p.default},addISOWeekYears:function(){return y},addMilliseconds:function(){return _.Z},addMinutes:function(){return w.default},addMonths:function(){return a.default},addQuarters:function(){return x.default},addSeconds:function(){return C},addWeeks:function(){return E.default},addYears:function(){return O.default},areIntervalsOverlapping:function(){return S},clamp:function(){return k},closestIndexTo:function(){return j},closestTo:function(){return T},compareAsc:function(){return I},compareDesc:function(){return N},daysInWeek:function(){return R.ju},daysInYear:function(){return R.dT},daysToWeeks:function(){return L},differenceInBusinessDays:function(){return B},differenceInCalendarDays:function(){return g.default},differenceInCalendarISOWeekYears:function(){return A},differenceInCalendarISOWeeks:function(){return W},differenceInCalendarMonths:function(){return Z.default},differenceInCalendarQuarters:function(){return U},differenceInCalendarWeeks:function(){return q},differenceInCalendarYears:function(){return K.default},differenceInDays:function(){return Q},differenceInHours:function(){return te},differenceInISOWeekYears:function(){return re},differenceInMilliseconds:function(){return J.Z},differenceInMinutes:function(){return oe.Z},differenceInMonths:function(){return se},differenceInQuarters:function(){return ue},differenceInSeconds:function(){return ce},differenceInWeeks:function(){return de},differenceInYears:function(){return fe},eachDayOfInterval:function(){return me},eachHourOfInterval:function(){return pe},eachMinuteOfInterval:function(){return he},eachMonthOfInterval:function(){return ge},eachQuarterOfInterval:function(){return ye},eachWeekOfInterval:function(){return _e},eachWeekendOfInterval:function(){return we},eachWeekendOfMonth:function(){return Ce},eachWeekendOfYear:function(){return Se},eachYearOfInterval:function(){return Me},endOfDay:function(){return ae.default},endOfDecade:function(){return Pe},endOfHour:function(){return ke},endOfISOWeek:function(){return Te},endOfISOWeekYear:function(){return Ie},endOfMinute:function(){return Ne},endOfMonth:function(){return ie.default},endOfQuarter:function(){return Re},endOfSecond:function(){return Le},endOfToday:function(){return De},endOfTomorrow:function(){return Ve},endOfWeek:function(){return je.default},endOfYear:function(){return Ee.default},endOfYesterday:function(){return Be},format:function(){return Ae.default},formatDistance:function(){return Ye},formatDistanceStrict:function(){return Je},formatDistanceToNow:function(){return et},formatDistanceToNowStrict:function(){return tt},formatDuration:function(){return rt},formatISO:function(){return at},formatISO9075:function(){return it},formatISODuration:function(){return lt},formatRFC3339:function(){return st},formatRFC7231:function(){return dt},formatRelative:function(){return mt},fromUnixTime:function(){return pt},getDate:function(){return vt.default},getDay:function(){return ht.default},getDayOfYear:function(){return gt},getDaysInMonth:function(){return bt.Z},getDaysInYear:function(){return _t},getDecade:function(){return wt},getDefaultOptions:function(){return xt},getHours:function(){return Ct.default},getISODay:function(){return Et},getISOWeek:function(){return Ot.default},getISOWeekYear:function(){return v.Z},getISOWeeksInYear:function(){return Mt},getMilliseconds:function(){return Pt},getMinutes:function(){return kt.default},getMonth:function(){return jt.default},getOverlappingDaysInIntervals:function(){return It},getQuarter:function(){return $.default},getSeconds:function(){return Nt.default},getTime:function(){return Rt.default},getUnixTime:function(){return Lt},getWeek:function(){return At},getWeekOfMonth:function(){return zt},getWeekYear:function(){return Dt},getWeeksInMonth:function(){return Ft},getYear:function(){return Wt.default},hoursToMilliseconds:function(){return Zt},hoursToMinutes:function(){return $t},hoursToSeconds:function(){return Ut},intervalToDuration:function(){return Gt},intlFormat:function(){return Yt},intlFormatDistance:function(){return qt},isAfter:function(){return Kt.default},isBefore:function(){return Xt.default},isDate:function(){return Qt.default},isEqual:function(){return Jt.default},isExists:function(){return en},isFirstDayOfMonth:function(){return tn},isFriday:function(){return nn},isFuture:function(){return rn.Z},isLastDayOfMonth:function(){return le},isLeapYear:function(){return yt},isMatch:function(){return an},isMonday:function(){return ln},isPast:function(){return sn.Z},isSameDay:function(){return D.default},isSameHour:function(){return cn},isSameISOWeek:function(){return fn},isSameISOWeekYear:function(){return mn},isSameMinute:function(){return pn},isSameMonth:function(){return vn.default},isSameQuarter:function(){return hn.default},isSameSecond:function(){return bn},isSameWeek:function(){return dn},isSameYear:function(){return yn.default},isSaturday:function(){return f},isSunday:function(){return d},isThisHour:function(){return _n},isThisISOWeek:function(){return wn},isThisMinute:function(){return xn},isThisMonth:function(){return Cn},isThisQuarter:function(){return En},isThisSecond:function(){return On},isThisWeek:function(){return Sn},isThisYear:function(){return Mn},isThursday:function(){return Pn},isToday:function(){return kn},isTomorrow:function(){return jn},isTuesday:function(){return Tn},isValid:function(){return V.default},isWednesday:function(){return In},isWeekend:function(){return c},isWithinInterval:function(){return Nn.default},isYesterday:function(){return Ln},lastDayOfDecade:function(){return Dn},lastDayOfISOWeek:function(){return Bn},lastDayOfISOWeekYear:function(){return An},lastDayOfMonth:function(){return Ht},lastDayOfQuarter:function(){return zn},lastDayOfWeek:function(){return Vn},lastDayOfYear:function(){return Hn},lightFormat:function(){return Gn},max:function(){return M.default},maxTime:function(){return R.LI},milliseconds:function(){return qn},millisecondsInHour:function(){return R.vh},millisecondsInMinute:function(){return R.yJ},millisecondsInSecond:function(){return R.qk},millisecondsToHours:function(){return Kn},millisecondsToMinutes:function(){return Xn},millisecondsToSeconds:function(){return Qn},min:function(){return P.default},minTime:function(){return R.QI},minutesInHour:function(){return R.fR},minutesToHours:function(){return Jn},minutesToMilliseconds:function(){return er},minutesToSeconds:function(){return tr},monthsInQuarter:function(){return R.Ob},monthsInYear:function(){return R.CU},monthsToQuarters:function(){return nr},monthsToYears:function(){return rr},nextDay:function(){return or},nextFriday:function(){return ar},nextMonday:function(){return ir},nextSaturday:function(){return lr},nextSunday:function(){return sr},nextThursday:function(){return ur},nextTuesday:function(){return cr},nextWednesday:function(){return dr},parse:function(){return on.default},parseISO:function(){return fr.default},parseJSON:function(){return mr},previousDay:function(){return pr},previousFriday:function(){return vr},previousMonday:function(){return hr},previousSaturday:function(){return gr},previousSunday:function(){return br},previousThursday:function(){return yr},previousTuesday:function(){return _r},previousWednesday:function(){return wr},quartersInYear:function(){return R._j},quartersToMonths:function(){return xr},quartersToYears:function(){return Cr},roundToNearestMinutes:function(){return Er},secondsInDay:function(){return R.gM},secondsInHour:function(){return R.R3},secondsInMinute:function(){return R.xx},secondsInMonth:function(){return R.nZ},secondsInQuarter:function(){return R.Y2},secondsInWeek:function(){return R.vr},secondsInYear:function(){return R.rz},secondsToHours:function(){return Or},secondsToMilliseconds:function(){return Sr},secondsToMinutes:function(){return Mr},set:function(){return Pr.default},setDate:function(){return kr},setDay:function(){return jr},setDayOfYear:function(){return Tr},setDefaultOptions:function(){return Ir},setHours:function(){return Nr.default},setISODay:function(){return Rr},setISOWeek:function(){return Lr},setISOWeekYear:function(){return b},setMilliseconds:function(){return Dr},setMinutes:function(){return Vr.default},setMonth:function(){return Br.default},setQuarter:function(){return Ar.default},setSeconds:function(){return zr.default},setWeek:function(){return Hr},setWeekYear:function(){return Fr},setYear:function(){return Wr.default},startOfDay:function(){return Zr.default},startOfDecade:function(){return $r},startOfHour:function(){return un},startOfISOWeek:function(){return H.Z},startOfISOWeekYear:function(){return h.Z},startOfMinute:function(){return ve.Z},startOfMonth:function(){return xe.default},startOfQuarter:function(){return be.default},startOfSecond:function(){return gn},startOfToday:function(){return Ur},startOfTomorrow:function(){return Gr},startOfWeek:function(){return G.default},startOfWeekYear:function(){return Vt},startOfYear:function(){return Oe.default},startOfYesterday:function(){return Yr},sub:function(){return Kr},subBusinessDays:function(){return Xr},subDays:function(){return Rn.default},subHours:function(){return Qr},subISOWeekYears:function(){return ne},subMilliseconds:function(){return ft.Z},subMinutes:function(){return Jr},subMonths:function(){return qr.default},subQuarters:function(){return eo.default},subSeconds:function(){return to},subWeeks:function(){return no.default},subYears:function(){return ro.default},toDate:function(){return i.default},weeksToDays:function(){return oo},yearsToMonths:function(){return ao},yearsToQuarters:function(){return io}});var r=n(6994),o=n(98145),a=n(88816),i=n(39795),l=n(12498),s=n(23671);function u(e,t){if((0,l.Z)(2,arguments),!t||"object"!==(0,r.Z)(t))return new Date(NaN);var n=t.years?(0,s.Z)(t.years):0,u=t.months?(0,s.Z)(t.months):0,c=t.weeks?(0,s.Z)(t.weeks):0,d=t.days?(0,s.Z)(t.days):0,f=t.hours?(0,s.Z)(t.hours):0,m=t.minutes?(0,s.Z)(t.minutes):0,p=t.seconds?(0,s.Z)(t.seconds):0,v=(0,i.default)(e),h=u||n?(0,a.default)(v,u+12*n):v,g=d||c?(0,o.default)(h,d+7*c):h,b=1e3*(p+60*(m+60*f));return new Date(g.getTime()+b)}function c(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e).getDay();return 0===t||6===t}function d(e){return(0,l.Z)(1,arguments),0===(0,i.default)(e).getDay()}function f(e){return(0,l.Z)(1,arguments),6===(0,i.default)(e).getDay()}function m(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=c(n),o=(0,s.Z)(t);if(isNaN(o))return new Date(NaN);var a=n.getHours(),u=o<0?-1:1,m=(0,s.Z)(o/5);n.setDate(n.getDate()+7*m);for(var p=Math.abs(o%5);p>0;)n.setDate(n.getDate()+u),c(n)||(p-=1);return r&&c(n)&&0!==o&&(f(n)&&n.setDate(n.getDate()+(u<0?2:-1)),d(n)&&n.setDate(n.getDate()+(u<0?1:-2))),n.setHours(a),n}var p=n(92566),v=n(85211),h=n(66273),g=n(844);function b(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t),o=(0,g.default)(n,(0,h.Z)(n)),a=new Date(0);return a.setFullYear(r,0,4),a.setHours(0,0,0,0),(n=(0,h.Z)(a)).setDate(n.getDate()+o),n}function y(e,t){(0,l.Z)(2,arguments);var n=(0,s.Z)(t);return b(e,(0,v.Z)(e)+n)}var _=n(8001),w=n(78071),x=n(96724);function C(e,t){(0,l.Z)(2,arguments);var n=(0,s.Z)(t);return(0,_.Z)(e,1e3*n)}var E=n(18914),O=n(23083);function S(e,t,n){(0,l.Z)(2,arguments);var r=(0,i.default)(null==e?void 0:e.start).getTime(),o=(0,i.default)(null==e?void 0:e.end).getTime(),a=(0,i.default)(null==t?void 0:t.start).getTime(),s=(0,i.default)(null==t?void 0:t.end).getTime();if(!(r<=o&&a<=s))throw new RangeError("Invalid interval");return null!=n&&n.inclusive?r<=s&&a<=o:r<s&&a<o}var M=n(88804),P=n(63054);function k(e,t){var n=t.start,r=t.end;return(0,l.Z)(2,arguments),(0,P.default)([(0,M.default)([e,n]),r])}function j(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e);if(isNaN(Number(n)))return NaN;var r,o,a=n.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e,t){var n=(0,i.default)(e);if(isNaN(Number(n)))return r=NaN,void(o=NaN);var l=Math.abs(a-n.getTime());(null==r||l<Number(o))&&(r=t,o=l)})),r}function T(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e);if(isNaN(Number(n)))return new Date(NaN);var r,o,a=n.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e){var t=(0,i.default)(e);if(isNaN(Number(t)))return r=new Date(NaN),void(o=NaN);var n=Math.abs(a-t.getTime());(null==r||n<Number(o))&&(r=t,o=n)})),r}function I(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function N(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=n.getTime()-r.getTime();return o>0?-1:o<0?1:o}var R=n(51250);function L(e){(0,l.Z)(1,arguments);var t=e/R.ju;return Math.floor(t)}var D=n(5389),V=n(30673);function B(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t);if(!(0,V.default)(n)||!(0,V.default)(r))return NaN;var a=(0,g.default)(n,r),u=a<0?-1:1,d=(0,s.Z)(a/7),f=5*d;for(r=(0,o.default)(r,7*d);!(0,D.default)(n,r);)f+=c(r)?0:u,r=(0,o.default)(r,u);return 0===f?0:f}function A(e,t){return(0,l.Z)(2,arguments),(0,v.Z)(e)-(0,v.Z)(t)}var z=n(95321),H=n(14874),F=6048e5;function W(e,t){(0,l.Z)(2,arguments);var n=(0,H.Z)(e),r=(0,H.Z)(t),o=n.getTime()-(0,z.Z)(n),a=r.getTime()-(0,z.Z)(r);return Math.round((o-a)/F)}var Z=n(19305),$=n(20904);function U(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t);return 4*(n.getFullYear()-r.getFullYear())+((0,$.default)(n)-(0,$.default)(r))}var G=n(27675),Y=6048e5;function q(e,t,n){(0,l.Z)(2,arguments);var r=(0,G.default)(e,n),o=(0,G.default)(t,n),a=r.getTime()-(0,z.Z)(r),i=o.getTime()-(0,z.Z)(o);return Math.round((a-i)/Y)}var K=n(74951);function X(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Q(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=X(n,r),a=Math.abs((0,g.default)(n,r));n.setDate(n.getDate()-o*a);var s=o*(a-Number(X(n,r)===-o));return 0===s?0:s}var J=n(9001),ee=n(68555);function te(e,t,n){(0,l.Z)(2,arguments);var r=(0,J.Z)(e,t)/R.vh;return(0,ee.u)(null==n?void 0:n.roundingMethod)(r)}function ne(e,t){return(0,l.Z)(2,arguments),y(e,-(0,s.Z)(t))}function re(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=I(n,r),a=Math.abs(A(n,r));n=ne(n,o*a);var s=o*(a-Number(I(n,r)===-o));return 0===s?0:s}var oe=n(93865),ae=n(68415),ie=n(17460);function le(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return(0,ae.default)(t).getTime()===(0,ie.default)(t).getTime()}function se(e,t){(0,l.Z)(2,arguments);var n,r=(0,i.default)(e),o=(0,i.default)(t),a=I(r,o),s=Math.abs((0,Z.default)(r,o));if(s<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*s);var u=I(r,o)===-a;le((0,i.default)(e))&&1===s&&1===I(e,o)&&(u=!1),n=a*(s-Number(u))}return 0===n?0:n}function ue(e,t,n){(0,l.Z)(2,arguments);var r=se(e,t)/3;return(0,ee.u)(null==n?void 0:n.roundingMethod)(r)}function ce(e,t,n){(0,l.Z)(2,arguments);var r=(0,J.Z)(e,t)/1e3;return(0,ee.u)(null==n?void 0:n.roundingMethod)(r)}function de(e,t,n){(0,l.Z)(2,arguments);var r=Q(e,t)/7;return(0,ee.u)(null==n?void 0:n.roundingMethod)(r)}function fe(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,i.default)(t),o=I(n,r),a=Math.abs((0,K.default)(n,r));n.setFullYear(1584),r.setFullYear(1584);var s=I(n,r)===-o,u=o*(a-Number(s));return 0===u?0:u}function me(e,t){var n;(0,l.Z)(1,arguments);var r=e||{},o=(0,i.default)(r.start),a=(0,i.default)(r.end).getTime();if(!(o.getTime()<=a))throw new RangeError("Invalid interval");var s=[],u=o;u.setHours(0,0,0,0);var c=Number(null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1);if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;u.getTime()<=a;)s.push((0,i.default)(u)),u.setDate(u.getDate()+c),u.setHours(0,0,0,0);return s}function pe(e,t){var n;(0,l.Z)(1,arguments);var r=e||{},o=(0,i.default)(r.start),a=(0,i.default)(r.end),s=o.getTime(),u=a.getTime();if(!(s<=u))throw new RangeError("Invalid interval");var c=[],d=o;d.setMinutes(0,0,0);var f=Number(null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1);if(f<1||isNaN(f))throw new RangeError("`options.step` must be a number greater than 1");for(;d.getTime()<=u;)c.push((0,i.default)(d)),d=(0,p.default)(d,f);return c}var ve=n(16355);function he(e,t){var n;(0,l.Z)(1,arguments);var r=(0,ve.Z)((0,i.default)(e.start)),o=(0,i.default)(e.end),a=r.getTime(),s=o.getTime();if(a>=s)throw new RangeError("Invalid interval");var u=[],c=r,d=Number(null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1);if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number equal to or greater than 1");for(;c.getTime()<=s;)u.push((0,i.default)(c)),c=(0,w.default)(c,d);return u}function ge(e){(0,l.Z)(1,arguments);var t=e||{},n=(0,i.default)(t.start),r=(0,i.default)(t.end).getTime(),o=[];if(!(n.getTime()<=r))throw new RangeError("Invalid interval");var a=n;for(a.setHours(0,0,0,0),a.setDate(1);a.getTime()<=r;)o.push((0,i.default)(a)),a.setMonth(a.getMonth()+1);return o}var be=n(78456);function ye(e){(0,l.Z)(1,arguments);var t=e||{},n=(0,i.default)(t.start),r=(0,i.default)(t.end),o=r.getTime();if(!(n.getTime()<=o))throw new RangeError("Invalid interval");var a=(0,be.default)(n);o=(0,be.default)(r).getTime();for(var s=[],u=a;u.getTime()<=o;)s.push((0,i.default)(u)),u=(0,x.default)(u,1);return s}function _e(e,t){(0,l.Z)(1,arguments);var n=e||{},r=(0,i.default)(n.start),o=(0,i.default)(n.end),a=o.getTime();if(!(r.getTime()<=a))throw new RangeError("Invalid interval");var s=(0,G.default)(r,t),u=(0,G.default)(o,t);s.setHours(15),u.setHours(15),a=u.getTime();for(var c=[],d=s;d.getTime()<=a;)d.setHours(0),c.push((0,i.default)(d)),(d=(0,E.default)(d,1)).setHours(15);return c}function we(e){(0,l.Z)(1,arguments);for(var t=me(e),n=[],r=0;r<t.length;){var o=t[r++];c(o)&&(n.push(o),d(o)&&(r+=5))}return n}var xe=n(63951);function Ce(e){(0,l.Z)(1,arguments);var t=(0,xe.default)(e);if(isNaN(t.getTime()))throw new RangeError("The passed date is invalid");return we({start:t,end:(0,ie.default)(e)})}var Ee=n(56523),Oe=n(98453);function Se(e){return(0,l.Z)(1,arguments),we({start:(0,Oe.default)(e),end:(0,Ee.default)(e)})}function Me(e){(0,l.Z)(1,arguments);var t=e||{},n=(0,i.default)(t.start),r=(0,i.default)(t.end).getTime();if(!(n.getTime()<=r))throw new RangeError("Invalid interval");var o=[],a=n;for(a.setHours(0,0,0,0),a.setMonth(0,1);a.getTime()<=r;)o.push((0,i.default)(a)),a.setFullYear(a.getFullYear()+1);return o}function Pe(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getFullYear(),r=9+10*Math.floor(n/10);return t.setFullYear(r,11,31),t.setHours(23,59,59,999),t}function ke(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return t.setMinutes(59,59,999),t}var je=n(92616);function Te(e){return(0,l.Z)(1,arguments),(0,je.default)(e,{weekStartsOn:1})}function Ie(e){(0,l.Z)(1,arguments);var t=(0,v.Z)(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var r=(0,H.Z)(n);return r.setMilliseconds(r.getMilliseconds()-1),r}function Ne(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return t.setSeconds(59,999),t}function Re(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getMonth(),r=n-n%3+3;return t.setMonth(r,0),t.setHours(23,59,59,999),t}function Le(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return t.setMilliseconds(999),t}function De(){return(0,ae.default)(Date.now())}function Ve(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(23,59,59,999),o}function Be(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(23,59,59,999),o}var Ae=n(15826),ze=n(80805),He=n(48233),Fe=n(14594);function We(e){return(0,Fe.Z)({},e)}var Ze=1440,$e=2520,Ue=43200,Ge=86400;function Ye(e,t,n){var r,o;(0,l.Z)(2,arguments);var a=(0,ze.j)(),s=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:a.locale)&&void 0!==r?r:He.Z;if(!s.formatDistance)throw new RangeError("locale must contain formatDistance property");var u=I(e,t);if(isNaN(u))throw new RangeError("Invalid time value");var c,d,f=(0,Fe.Z)(We(n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:u});u>0?(c=(0,i.default)(t),d=(0,i.default)(e)):(c=(0,i.default)(e),d=(0,i.default)(t));var m,p=ce(d,c),v=((0,z.Z)(d)-(0,z.Z)(c))/1e3,h=Math.round((p-v)/60);if(h<2)return null!=n&&n.includeSeconds?p<5?s.formatDistance("lessThanXSeconds",5,f):p<10?s.formatDistance("lessThanXSeconds",10,f):p<20?s.formatDistance("lessThanXSeconds",20,f):p<40?s.formatDistance("halfAMinute",0,f):p<60?s.formatDistance("lessThanXMinutes",1,f):s.formatDistance("xMinutes",1,f):0===h?s.formatDistance("lessThanXMinutes",1,f):s.formatDistance("xMinutes",h,f);if(h<45)return s.formatDistance("xMinutes",h,f);if(h<90)return s.formatDistance("aboutXHours",1,f);if(h<Ze){var g=Math.round(h/60);return s.formatDistance("aboutXHours",g,f)}if(h<$e)return s.formatDistance("xDays",1,f);if(h<Ue){var b=Math.round(h/Ze);return s.formatDistance("xDays",b,f)}if(h<Ge)return m=Math.round(h/Ue),s.formatDistance("aboutXMonths",m,f);if((m=se(d,c))<12){var y=Math.round(h/Ue);return s.formatDistance("xMonths",y,f)}var _=m%12,w=Math.floor(m/12);return _<3?s.formatDistance("aboutXYears",w,f):_<9?s.formatDistance("overXYears",w,f):s.formatDistance("almostXYears",w+1,f)}var qe=6e4,Ke=1440,Xe=30*Ke,Qe=365*Ke;function Je(e,t,n){var r,o,a;(0,l.Z)(2,arguments);var s=(0,ze.j)(),u=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:s.locale)&&void 0!==r?r:He.Z;if(!u.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=I(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var d,f,m=(0,Fe.Z)(We(n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:c});c>0?(d=(0,i.default)(t),f=(0,i.default)(e)):(d=(0,i.default)(e),f=(0,i.default)(t));var p,v=String(null!==(a=null==n?void 0:n.roundingMethod)&&void 0!==a?a:"round");if("floor"===v)p=Math.floor;else if("ceil"===v)p=Math.ceil;else{if("round"!==v)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");p=Math.round}var h,g=f.getTime()-d.getTime(),b=g/qe,y=(g-((0,z.Z)(f)-(0,z.Z)(d)))/qe,_=null==n?void 0:n.unit;if("second"===(h=_?String(_):b<1?"second":b<60?"minute":b<Ke?"hour":y<Xe?"day":y<Qe?"month":"year")){var w=p(g/1e3);return u.formatDistance("xSeconds",w,m)}if("minute"===h){var x=p(b);return u.formatDistance("xMinutes",x,m)}if("hour"===h){var C=p(b/60);return u.formatDistance("xHours",C,m)}if("day"===h){var E=p(y/Ke);return u.formatDistance("xDays",E,m)}if("month"===h){var O=p(y/Xe);return 12===O&&"month"!==_?u.formatDistance("xYears",1,m):u.formatDistance("xMonths",O,m)}if("year"===h){var S=p(y/Qe);return u.formatDistance("xYears",S,m)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function et(e,t){return(0,l.Z)(1,arguments),Ye(e,Date.now(),t)}function tt(e,t){return(0,l.Z)(1,arguments),Je(e,Date.now(),t)}var nt=["years","months","weeks","days","hours","minutes","seconds"];function rt(e,t){var n,r,o,a,i;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var l=(0,ze.j)(),s=null!==(n=null!==(r=null==t?void 0:t.locale)&&void 0!==r?r:l.locale)&&void 0!==n?n:He.Z,u=null!==(o=null==t?void 0:t.format)&&void 0!==o?o:nt,c=null!==(a=null==t?void 0:t.zero)&&void 0!==a&&a,d=null!==(i=null==t?void 0:t.delimiter)&&void 0!==i?i:" ";return s.formatDistance?u.reduce((function(t,n){var r="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()}))),o=e[n];return"number"==typeof o&&(c||e[n])?t.concat(s.formatDistance(r,o)):t}),[]).join(d):""}var ot=n(49545);function at(e,t){var n,r;(0,l.Z)(1,arguments);var o=(0,i.default)(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var a=String(null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended"),s=String(null!==(r=null==t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==s&&"time"!==s&&"complete"!==s)throw new RangeError("representation must be 'date', 'time', or 'complete'");var u="",c="",d="extended"===a?"-":"",f="extended"===a?":":"";if("time"!==s){var m=(0,ot.Z)(o.getDate(),2),p=(0,ot.Z)(o.getMonth()+1,2),v=(0,ot.Z)(o.getFullYear(),4);u="".concat(v).concat(d).concat(p).concat(d).concat(m)}if("date"!==s){var h=o.getTimezoneOffset();if(0!==h){var g=Math.abs(h),b=(0,ot.Z)(Math.floor(g/60),2),y=(0,ot.Z)(g%60,2);c="".concat(h<0?"+":"-").concat(b,":").concat(y)}else c="Z";var _=""===u?"":"T",w=[(0,ot.Z)(o.getHours(),2),(0,ot.Z)(o.getMinutes(),2),(0,ot.Z)(o.getSeconds(),2)].join(f);u="".concat(u).concat(_).concat(w).concat(c)}return u}function it(e,t){var n,r;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var o=(0,i.default)(e);if(!(0,V.default)(o))throw new RangeError("Invalid time value");var a=String(null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended"),l=String(null!==(r=null==t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==l&&"time"!==l&&"complete"!==l)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",u="extended"===a?"-":"",c="extended"===a?":":"";if("time"!==l){var d=(0,ot.Z)(o.getDate(),2),f=(0,ot.Z)(o.getMonth()+1,2),m=(0,ot.Z)(o.getFullYear(),4);s="".concat(m).concat(u).concat(f).concat(u).concat(d)}if("date"!==l){var p=(0,ot.Z)(o.getHours(),2),v=(0,ot.Z)(o.getMinutes(),2),h=(0,ot.Z)(o.getSeconds(),2),g=""===s?"":" ";s="".concat(s).concat(g).concat(p).concat(c).concat(v).concat(c).concat(h)}return s}function lt(e){if((0,l.Z)(1,arguments),"object"!==(0,r.Z)(e))throw new Error("Duration must be an object");var t=e.years,n=void 0===t?0:t,o=e.months,a=void 0===o?0:o,i=e.days,s=void 0===i?0:i,u=e.hours,c=void 0===u?0:u,d=e.minutes,f=void 0===d?0:d,m=e.seconds,p=void 0===m?0:m;return"P".concat(n,"Y").concat(a,"M").concat(s,"DT").concat(c,"H").concat(f,"M").concat(p,"S")}function st(e,t){var n;if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var r=(0,i.default)(e);if(!(0,V.default)(r))throw new RangeError("Invalid time value");var o=Number(null!==(n=null==t?void 0:t.fractionDigits)&&void 0!==n?n:0);if(!(o>=0&&o<=3))throw new RangeError("fractionDigits must be between 0 and 3 inclusively");var a=(0,ot.Z)(r.getDate(),2),l=(0,ot.Z)(r.getMonth()+1,2),u=r.getFullYear(),c=(0,ot.Z)(r.getHours(),2),d=(0,ot.Z)(r.getMinutes(),2),f=(0,ot.Z)(r.getSeconds(),2),m="";if(o>0){var p=r.getMilliseconds(),v=Math.floor(p*Math.pow(10,o-3));m="."+(0,ot.Z)(v,o)}var h="",g=r.getTimezoneOffset();if(0!==g){var b=Math.abs(g),y=(0,ot.Z)((0,s.Z)(b/60),2),_=(0,ot.Z)(b%60,2);h="".concat(g<0?"+":"-").concat(y,":").concat(_)}else h="Z";return"".concat(u,"-").concat(l,"-").concat(a,"T").concat(c,":").concat(d,":").concat(f).concat(m).concat(h)}var ut=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ct=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dt(e){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=(0,i.default)(e);if(!(0,V.default)(t))throw new RangeError("Invalid time value");var n=ut[t.getUTCDay()],r=(0,ot.Z)(t.getUTCDate(),2),o=ct[t.getUTCMonth()],a=t.getUTCFullYear(),l=(0,ot.Z)(t.getUTCHours(),2),s=(0,ot.Z)(t.getUTCMinutes(),2),u=(0,ot.Z)(t.getUTCSeconds(),2);return"".concat(n,", ").concat(r," ").concat(o," ").concat(a," ").concat(l,":").concat(s,":").concat(u," GMT")}var ft=n(49698);function mt(e,t,n){var r,o,a,u,c,d,f,m,p,v;(0,l.Z)(2,arguments);var h=(0,i.default)(e),b=(0,i.default)(t),y=(0,ze.j)(),_=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:y.locale)&&void 0!==r?r:He.Z,w=(0,s.Z)(null!==(a=null!==(u=null!==(c=null!==(d=null==n?void 0:n.weekStartsOn)&&void 0!==d?d:null==n||null===(f=n.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==c?c:y.weekStartsOn)&&void 0!==u?u:null===(p=y.locale)||void 0===p||null===(v=p.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==a?a:0);if(!_.localize)throw new RangeError("locale must contain localize property");if(!_.formatLong)throw new RangeError("locale must contain formatLong property");if(!_.formatRelative)throw new RangeError("locale must contain formatRelative property");var x,C=(0,g.default)(h,b);if(isNaN(C))throw new RangeError("Invalid time value");x=C<-6?"other":C<-1?"lastWeek":C<0?"yesterday":C<1?"today":C<2?"tomorrow":C<7?"nextWeek":"other";var E=(0,ft.Z)(h,(0,z.Z)(h)),O=(0,ft.Z)(b,(0,z.Z)(b)),S=_.formatRelative(x,E,O,{locale:_,weekStartsOn:w});return(0,Ae.default)(h,S,{locale:_,weekStartsOn:w})}function pt(e){(0,l.Z)(1,arguments);var t=(0,s.Z)(e);return(0,i.default)(1e3*t)}var vt=n(912),ht=n(1380);function gt(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return(0,g.default)(t,(0,Oe.default)(t))+1}var bt=n(18574);function yt(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}function _t(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return"Invalid Date"===String(new Date(t))?NaN:yt(t)?366:365}function wt(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e).getFullYear();return 10*Math.floor(t/10)}function xt(){return(0,Fe.Z)({},(0,ze.j)())}var Ct=n(85586);function Et(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e).getDay();return 0===t&&(t=7),t}var Ot=n(11658),St=6048e5;function Mt(e){(0,l.Z)(1,arguments);var t=(0,h.Z)(e),n=(0,h.Z)((0,E.default)(t,60)).valueOf()-t.valueOf();return Math.round(n/St)}function Pt(e){return(0,l.Z)(1,arguments),(0,i.default)(e).getMilliseconds()}var kt=n(76577),jt=n(91540),Tt=864e5;function It(e,t){(0,l.Z)(2,arguments);var n=e||{},r=t||{},o=(0,i.default)(n.start).getTime(),a=(0,i.default)(n.end).getTime(),s=(0,i.default)(r.start).getTime(),u=(0,i.default)(r.end).getTime();if(!(o<=a&&s<=u))throw new RangeError("Invalid interval");if(!(o<u&&s<a))return 0;var c=(u>a?a:u)-(s<o?o:s);return Math.ceil(c/Tt)}var Nt=n(53380),Rt=n(78437);function Lt(e){return(0,l.Z)(1,arguments),Math.floor((0,Rt.default)(e)/1e3)}function Dt(e,t){var n,r,o,a,u,c,d,f;(0,l.Z)(1,arguments);var m=(0,i.default)(e),p=m.getFullYear(),v=(0,ze.j)(),h=(0,s.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(u=t.locale)||void 0===u||null===(c=u.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:v.firstWeekContainsDate)&&void 0!==r?r:null===(d=v.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setFullYear(p+1,0,h),g.setHours(0,0,0,0);var b=(0,G.default)(g,t),y=new Date(0);y.setFullYear(p,0,h),y.setHours(0,0,0,0);var _=(0,G.default)(y,t);return m.getTime()>=b.getTime()?p+1:m.getTime()>=_.getTime()?p:p-1}function Vt(e,t){var n,r,o,a,i,u,c,d;(0,l.Z)(1,arguments);var f=(0,ze.j)(),m=(0,s.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(u=i.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==o?o:f.firstWeekContainsDate)&&void 0!==r?r:null===(c=f.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1),p=Dt(e,t),v=new Date(0);return v.setFullYear(p,0,m),v.setHours(0,0,0,0),(0,G.default)(v,t)}var Bt=6048e5;function At(e,t){(0,l.Z)(1,arguments);var n=(0,i.default)(e),r=(0,G.default)(n,t).getTime()-Vt(n,t).getTime();return Math.round(r/Bt)+1}function zt(e,t){var n,r,o,a,i,u,c,d;(0,l.Z)(1,arguments);var f=(0,ze.j)(),m=(0,s.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(u=i.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==o?o:f.weekStartsOn)&&void 0!==r?r:null===(c=f.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=(0,vt.default)(e);if(isNaN(p))return NaN;var v=m-(0,ht.default)((0,xe.default)(e));v<=0&&(v+=7);var h=p-v;return Math.ceil(h/7)+1}function Ht(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function Ft(e,t){return(0,l.Z)(1,arguments),q(Ht(e),(0,xe.default)(e),t)+1}var Wt=n(12892);function Zt(e){return(0,l.Z)(1,arguments),Math.floor(e*R.vh)}function $t(e){return(0,l.Z)(1,arguments),Math.floor(e*R.fR)}function Ut(e){return(0,l.Z)(1,arguments),Math.floor(e*R.R3)}function Gt(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e.start),n=(0,i.default)(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(fe(n,t));var o=I(n,t),a=u(t,{years:o*r.years});r.months=Math.abs(se(n,a));var s=u(a,{months:o*r.months});r.days=Math.abs(Q(n,s));var c=u(s,{days:o*r.days});r.hours=Math.abs(te(n,c));var d=u(c,{hours:o*r.hours});r.minutes=Math.abs((0,oe.Z)(n,d));var f=u(d,{minutes:o*r.minutes});return r.seconds=Math.abs(ce(n,f)),r}function Yt(e,t,n){var r,o,a;return(0,l.Z)(1,arguments),void 0===(a=t)||"locale"in a?n=t:o=t,new Intl.DateTimeFormat(null===(r=n)||void 0===r?void 0:r.locale,o).format(e)}function qt(e,t,n){(0,l.Z)(2,arguments);var r,o=0,a=(0,i.default)(e),s=(0,i.default)(t);if(null!=n&&n.unit)"second"===(r=null==n?void 0:n.unit)?o=ce(a,s):"minute"===r?o=(0,oe.Z)(a,s):"hour"===r?o=te(a,s):"day"===r?o=(0,g.default)(a,s):"week"===r?o=q(a,s):"month"===r?o=(0,Z.default)(a,s):"quarter"===r?o=U(a,s):"year"===r&&(o=(0,K.default)(a,s));else{var u=ce(a,s);Math.abs(u)<R.xx?(o=ce(a,s),r="second"):Math.abs(u)<R.R3?(o=(0,oe.Z)(a,s),r="minute"):Math.abs(u)<R.gM&&Math.abs((0,g.default)(a,s))<1?(o=te(a,s),r="hour"):Math.abs(u)<R.vr&&(o=(0,g.default)(a,s))&&Math.abs(o)<7?r="day":Math.abs(u)<R.nZ?(o=q(a,s),r="week"):Math.abs(u)<R.Y2?(o=(0,Z.default)(a,s),r="month"):Math.abs(u)<R.rz&&U(a,s)<4?(o=U(a,s),r="quarter"):(o=(0,K.default)(a,s),r="year")}return new Intl.RelativeTimeFormat(null==n?void 0:n.locale,{localeMatcher:null==n?void 0:n.localeMatcher,numeric:(null==n?void 0:n.numeric)||"auto",style:null==n?void 0:n.style}).format(o,r)}var Kt=n(99860),Xt=n(91866),Qt=n(8086),Jt=n(44296);function en(e,t,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}function tn(e){return(0,l.Z)(1,arguments),1===(0,i.default)(e).getDate()}function nn(e){return(0,l.Z)(1,arguments),5===(0,i.default)(e).getDay()}var rn=n(43656),on=n(41991);function an(e,t,n){return(0,l.Z)(2,arguments),(0,V.default)((0,on.default)(e,t,new Date,n))}function ln(e){return(0,l.Z)(1,arguments),1===(0,i.default)(e).getDay()}var sn=n(1589);function un(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return t.setMinutes(0,0,0),t}function cn(e,t){(0,l.Z)(2,arguments);var n=un(e),r=un(t);return n.getTime()===r.getTime()}function dn(e,t,n){(0,l.Z)(2,arguments);var r=(0,G.default)(e,n),o=(0,G.default)(t,n);return r.getTime()===o.getTime()}function fn(e,t){return(0,l.Z)(2,arguments),dn(e,t,{weekStartsOn:1})}function mn(e,t){(0,l.Z)(2,arguments);var n=(0,h.Z)(e),r=(0,h.Z)(t);return n.getTime()===r.getTime()}function pn(e,t){(0,l.Z)(2,arguments);var n=(0,ve.Z)(e),r=(0,ve.Z)(t);return n.getTime()===r.getTime()}var vn=n(45003),hn=n(81998);function gn(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e);return t.setMilliseconds(0),t}function bn(e,t){(0,l.Z)(2,arguments);var n=gn(e),r=gn(t);return n.getTime()===r.getTime()}var yn=n(44193);function _n(e){return(0,l.Z)(1,arguments),cn(Date.now(),e)}function wn(e){return(0,l.Z)(1,arguments),fn(e,Date.now())}function xn(e){return(0,l.Z)(1,arguments),pn(Date.now(),e)}function Cn(e){return(0,l.Z)(1,arguments),(0,vn.default)(Date.now(),e)}function En(e){return(0,l.Z)(1,arguments),(0,hn.default)(Date.now(),e)}function On(e){return(0,l.Z)(1,arguments),bn(Date.now(),e)}function Sn(e,t){return(0,l.Z)(1,arguments),dn(e,Date.now(),t)}function Mn(e){return(0,l.Z)(1,arguments),(0,yn.default)(e,Date.now())}function Pn(e){return(0,l.Z)(1,arguments),4===(0,i.default)(e).getDay()}function kn(e){return(0,l.Z)(1,arguments),(0,D.default)(e,Date.now())}function jn(e){return(0,l.Z)(1,arguments),(0,D.default)(e,(0,o.default)(Date.now(),1))}function Tn(e){return(0,l.Z)(1,arguments),2===(0,i.default)(e).getDay()}function In(e){return(0,l.Z)(1,arguments),3===(0,i.default)(e).getDay()}var Nn=n(66791),Rn=n(66536);function Ln(e){return(0,l.Z)(1,arguments),(0,D.default)(e,(0,Rn.default)(Date.now(),1))}function Dn(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getFullYear(),r=9+10*Math.floor(n/10);return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}function Vn(e,t){var n,r,o,a,u,c,d,f;(0,l.Z)(1,arguments);var m=(0,ze.j)(),p=(0,s.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(u=t.locale)||void 0===u||null===(c=u.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var v=(0,i.default)(e),h=v.getDay(),g=6+(h<p?-7:0)-(h-p);return v.setHours(0,0,0,0),v.setDate(v.getDate()+g),v}function Bn(e){return(0,l.Z)(1,arguments),Vn(e,{weekStartsOn:1})}function An(e){(0,l.Z)(1,arguments);var t=(0,v.Z)(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var r=(0,H.Z)(n);return r.setDate(r.getDate()-1),r}function zn(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getMonth(),r=n-n%3+3;return t.setMonth(r,0),t.setHours(0,0,0,0),t}function Hn(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}var Fn=n(68817),Wn=/(\w)\1*|''|'(''|[^'])+('|$)|./g,Zn=/^'([^]*?)'?$/,$n=/''/g,Un=/[a-zA-Z]/;function Gn(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e);if(!(0,V.default)(n))throw new RangeError("Invalid time value");var r=(0,z.Z)(n),o=(0,ft.Z)(n,r),a=t.match(Wn);return a?a.map((function(e){if("''"===e)return"'";var t,n,r=e[0];if("'"===r)return(n=(t=e).match(Zn))?n[1].replace($n,"'"):t;var a=Fn.Z[r];if(a)return a(o,e);if(r.match(Un))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return e})).join(""):""}var Yn=365.2425;function qn(e){var t=e.years,n=e.months,r=e.weeks,o=e.days,a=e.hours,i=e.minutes,s=e.seconds;(0,l.Z)(1,arguments);var u=0;t&&(u+=t*Yn),n&&(u+=n*(Yn/12)),r&&(u+=7*r),o&&(u+=o);var c=24*u*60*60;return a&&(c+=60*a*60),i&&(c+=60*i),s&&(c+=s),Math.round(1e3*c)}function Kn(e){(0,l.Z)(1,arguments);var t=e/R.vh;return Math.floor(t)}function Xn(e){(0,l.Z)(1,arguments);var t=e/R.yJ;return Math.floor(t)}function Qn(e){(0,l.Z)(1,arguments);var t=e/R.qk;return Math.floor(t)}function Jn(e){(0,l.Z)(1,arguments);var t=e/R.fR;return Math.floor(t)}function er(e){return(0,l.Z)(1,arguments),Math.floor(e*R.yJ)}function tr(e){return(0,l.Z)(1,arguments),Math.floor(e*R.xx)}function nr(e){(0,l.Z)(1,arguments);var t=e/R.Ob;return Math.floor(t)}function rr(e){(0,l.Z)(1,arguments);var t=e/R.CU;return Math.floor(t)}function or(e,t){(0,l.Z)(2,arguments);var n=t-(0,ht.default)(e);return n<=0&&(n+=7),(0,o.default)(e,n)}function ar(e){return(0,l.Z)(1,arguments),or(e,5)}function ir(e){return(0,l.Z)(1,arguments),or(e,1)}function lr(e){return(0,l.Z)(1,arguments),or(e,6)}function sr(e){return(0,l.Z)(1,arguments),or(e,0)}function ur(e){return(0,l.Z)(1,arguments),or(e,4)}function cr(e){return(0,l.Z)(1,arguments),or(e,2)}function dr(e){return(0,l.Z)(1,arguments),or(e,3)}var fr=n(71622);function mr(e){if((0,l.Z)(1,arguments),"string"==typeof e){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}return(0,i.default)(e)}function pr(e,t){(0,l.Z)(2,arguments);var n=(0,ht.default)(e)-t;return n<=0&&(n+=7),(0,Rn.default)(e,n)}function vr(e){return(0,l.Z)(1,arguments),pr(e,5)}function hr(e){return(0,l.Z)(1,arguments),pr(e,1)}function gr(e){return(0,l.Z)(1,arguments),pr(e,6)}function br(e){return(0,l.Z)(1,arguments),pr(e,0)}function yr(e){return(0,l.Z)(1,arguments),pr(e,4)}function _r(e){return(0,l.Z)(1,arguments),pr(e,2)}function wr(e){return(0,l.Z)(1,arguments),pr(e,3)}function xr(e){return(0,l.Z)(1,arguments),Math.floor(e*R.Ob)}function Cr(e){(0,l.Z)(1,arguments);var t=e/R._j;return Math.floor(t)}function Er(e,t){var n;if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var r=(0,s.Z)(null!==(n=null==t?void 0:t.nearestTo)&&void 0!==n?n:1);if(r<1||r>30)throw new RangeError("`options.nearestTo` must be between 1 and 30");var o=(0,i.default)(e),a=o.getSeconds(),l=o.getMinutes()+a/60,u=(0,ee.u)(null==t?void 0:t.roundingMethod)(l/r)*r,c=l%r,d=Math.round(c/r)*r;return new Date(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),u+d)}function Or(e){(0,l.Z)(1,arguments);var t=e/R.R3;return Math.floor(t)}function Sr(e){return(0,l.Z)(1,arguments),e*R.qk}function Mr(e){(0,l.Z)(1,arguments);var t=e/R.xx;return Math.floor(t)}var Pr=n(64767);function kr(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t);return n.setDate(r),n}function jr(e,t,n){var r,a,u,c,d,f,m,p;(0,l.Z)(2,arguments);var v=(0,ze.j)(),h=(0,s.Z)(null!==(r=null!==(a=null!==(u=null!==(c=null==n?void 0:n.weekStartsOn)&&void 0!==c?c:null==n||null===(d=n.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==u?u:v.weekStartsOn)&&void 0!==a?a:null===(m=v.locale)||void 0===m||null===(p=m.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==r?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.default)(e),b=(0,s.Z)(t),y=g.getDay(),_=7-h,w=b<0||b>6?b-(y+_)%7:((b%7+7)%7+_)%7-(y+_)%7;return(0,o.default)(g,w)}function Tr(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t);return n.setMonth(0),n.setDate(r),n}function Ir(e){(0,l.Z)(1,arguments);var t={},n=(0,ze.j)();for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(void 0===e[o]?delete t[o]:t[o]=e[o]);(0,ze.b)(t)}var Nr=n(12898);function Rr(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t)-Et(n);return(0,o.default)(n,r)}function Lr(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t),o=(0,Ot.default)(n)-r;return n.setDate(n.getDate()-7*o),n}function Dr(e,t){(0,l.Z)(2,arguments);var n=(0,i.default)(e),r=(0,s.Z)(t);return n.setMilliseconds(r),n}var Vr=n(53930),Br=n(27688),Ar=n(17925),zr=n(47053);function Hr(e,t,n){(0,l.Z)(2,arguments);var r=(0,i.default)(e),o=(0,s.Z)(t),a=At(r,n)-o;return r.setDate(r.getDate()-7*a),r}function Fr(e,t,n){var r,o,a,u,c,d,f,m;(0,l.Z)(2,arguments);var p=(0,ze.j)(),v=(0,s.Z)(null!==(r=null!==(o=null!==(a=null!==(u=null==n?void 0:n.firstWeekContainsDate)&&void 0!==u?u:null==n||null===(c=n.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==a?a:p.firstWeekContainsDate)&&void 0!==o?o:null===(f=p.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==r?r:1),h=(0,i.default)(e),b=(0,s.Z)(t),y=(0,g.default)(h,Vt(h,n)),_=new Date(0);return _.setFullYear(b,0,v),_.setHours(0,0,0,0),(h=Vt(_,n)).setDate(h.getDate()+y),h}var Wr=n(36268),Zr=n(9634);function $r(e){(0,l.Z)(1,arguments);var t=(0,i.default)(e),n=t.getFullYear(),r=10*Math.floor(n/10);return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}function Ur(){return(0,Zr.default)(Date.now())}function Gr(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(0,0,0,0),o}function Yr(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(0,0,0,0),o}var qr=n(77343);function Kr(e,t){if((0,l.Z)(2,arguments),!t||"object"!==(0,r.Z)(t))return new Date(NaN);var n=t.years?(0,s.Z)(t.years):0,o=t.months?(0,s.Z)(t.months):0,a=t.weeks?(0,s.Z)(t.weeks):0,i=t.days?(0,s.Z)(t.days):0,u=t.hours?(0,s.Z)(t.hours):0,c=t.minutes?(0,s.Z)(t.minutes):0,d=t.seconds?(0,s.Z)(t.seconds):0,f=(0,qr.default)(e,o+12*n),m=(0,Rn.default)(f,i+7*a),p=1e3*(d+60*(c+60*u));return new Date(m.getTime()-p)}function Xr(e,t){return(0,l.Z)(2,arguments),m(e,-(0,s.Z)(t))}function Qr(e,t){(0,l.Z)(2,arguments);var n=(0,s.Z)(t);return(0,p.default)(e,-n)}function Jr(e,t){(0,l.Z)(2,arguments);var n=(0,s.Z)(t);return(0,w.default)(e,-n)}var eo=n(90669);function to(e,t){return(0,l.Z)(2,arguments),C(e,-(0,s.Z)(t))}var no=n(22304),ro=n(84949);function oo(e){return(0,l.Z)(1,arguments),Math.floor(e*R.ju)}function ao(e){return(0,l.Z)(1,arguments),Math.floor(e*R.CU)}function io(e){return(0,l.Z)(1,arguments),Math.floor(e*R._j)}},65606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70079),o=n(37265),a=n(43047);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s=i(r),u=l(r);const c=r.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),d=r.createContext({});function f(){return r.useContext(d).visualElement}const m=r.createContext(null),p="undefined"!=typeof document,v=p?r.useLayoutEffect:r.useEffect,h=r.createContext({strict:!1});function g(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function b(e){return"string"==typeof e||Array.isArray(e)}function y(e){return"object"==typeof e&&"function"==typeof e.start}const _=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function w(e){return y(e.animate)||_.some((t=>b(e[t])))}function x(e){return Boolean(w(e)||e.variants)}function C(e){return Array.isArray(e)?e.join(" "):e}const E=e=>({isEnabled:t=>e.some((e=>!!t[e]))}),O={measureLayout:E(["layout","layoutId","drag"]),animation:E(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:E(["exit"]),drag:E(["drag","dragControls"]),focus:E(["whileFocus"]),hover:E(["whileHover","onHoverStart","onHoverEnd"]),tap:E(["whileTap","onTap","onTapStart","onTapCancel"]),pan:E(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:E(["whileInView","onViewportEnter","onViewportLeave"])};function S(e){for(const t in e)"projectionNodeConstructor"===t?O.projectionNodeConstructor=e[t]:O[t].Component=e[t]}function M(e){const t=r.useRef(null);return null===t.current&&(t.current=e()),t.current}const P={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let k=1;const j=r.createContext({});class T extends s.default.Component{getSnapshotBeforeUpdate(){const{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}const I=r.createContext({}),N=Symbol.for("motionComponentSymbol");function R({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:o,useVisualState:a,Component:i}){e&&S(e);const l=r.forwardRef((function(l,s){const y={...r.useContext(c),...l,layoutId:L(l)},{isStatic:_}=y;let x=null;const E=function(e){const{initial:t,animate:n}=function(e,t){if(w(e)){const{initial:t,animate:n}=e;return{initial:!1===t||b(t)?t:void 0,animate:b(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,r.useContext(d));return r.useMemo((()=>({initial:t,animate:n})),[C(t),C(n)])}(l),S=_?void 0:M((()=>{if(P.hasEverUpdated)return k++})),j=a(l,_);if(!_&&p){E.visualElement=function(e,t,n,o){const a=f(),i=r.useContext(h),l=r.useContext(m),s=r.useContext(c).reducedMotion,u=r.useRef();o=o||i.renderer,!u.current&&o&&(u.current=o(e,{visualState:t,parent:a,props:n,presenceId:l?l.id:void 0,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:s}));const d=u.current;return v((()=>{d&&d.render()})),v((()=>{d&&d.animationState&&d.animationState.animateChanges()})),v((()=>()=>d&&d.notify("Unmount")),[]),d}(i,j,y,t);const o=r.useContext(h).strict,a=r.useContext(I);E.visualElement&&(x=E.visualElement.loadFeatures(y,o,e,S,n||O.projectionNodeConstructor,a))}return u.createElement(T,{visualElement:E.visualElement,props:y},x,u.createElement(d.Provider,{value:E},o(i,l,S,function(e,t,n){return r.useCallback((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):g(n)&&(n.current=r))}),[t])}(j,E.visualElement,s),j,_,E.visualElement)))}));return l[N]=i,l}function L({layoutId:e}){const t=r.useContext(j).id;return t&&void 0!==e?t+"-"+e:e}function D(e){function t(t,n={}){return R(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const V=["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 B(e){return"string"==typeof e&&!e.includes("-")&&!!(V.indexOf(e)>-1||/[A-Z]/.test(e))}const A={};function z(e){Object.assign(A,e)}const H=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(H);function W(e,{layout:t,layoutId:n}){return F.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!A[e]||"opacity"===e)}const Z=e=>!!(null==e?void 0:e.getVelocity),$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},U=(e,t)=>H.indexOf(e)-H.indexOf(t);function G({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},o,a){let i="";t.sort(U);for(const n of t)i+=`${$[n]||n}(${e[n]}) `;return n&&!e.z&&(i+="translateZ(0)"),i=i.trim(),a?i=a(e,o?"":i):r&&o&&(i="none"),i}function Y(e){return e.startsWith("--")}const q=(e,t)=>t&&"number"==typeof e?t.transform(e):e,K=(e,t,n)=>Math.min(Math.max(n,e),t),X={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Q={...X,transform:e=>K(0,1,e)},J={...X,default:1},ee=e=>Math.round(1e5*e)/1e5,te=/(-)?([\d]*\.?[\d])+/g,ne=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,re=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function oe(e){return"string"==typeof e}const ae=e=>({test:t=>oe(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ie=ae("deg"),le=ae("%"),se=ae("px"),ue=ae("vh"),ce=ae("vw"),de={...le,parse:e=>le.parse(e)/100,transform:e=>le.transform(100*e)},fe={...X,transform:Math.round},me={borderWidth:se,borderTopWidth:se,borderRightWidth:se,borderBottomWidth:se,borderLeftWidth:se,borderRadius:se,radius:se,borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomRightRadius:se,borderBottomLeftRadius:se,width:se,maxWidth:se,height:se,maxHeight:se,size:se,top:se,right:se,bottom:se,left:se,padding:se,paddingTop:se,paddingRight:se,paddingBottom:se,paddingLeft:se,margin:se,marginTop:se,marginRight:se,marginBottom:se,marginLeft:se,rotate:ie,rotateX:ie,rotateY:ie,rotateZ:ie,scale:J,scaleX:J,scaleY:J,scaleZ:J,skew:ie,skewX:ie,skewY:ie,distance:se,translateX:se,translateY:se,translateZ:se,x:se,y:se,z:se,perspective:se,transformPerspective:se,opacity:Q,originX:de,originY:de,originZ:se,zIndex:fe,fillOpacity:Q,strokeOpacity:Q,numOctaves:fe};function pe(e,t,n,r){const{style:o,vars:a,transform:i,transformKeys:l,transformOrigin:s}=e;l.length=0;let u=!1,c=!1,d=!0;for(const e in t){const n=t[e];if(Y(e)){a[e]=n;continue}const r=me[e],f=q(n,r);if(F.has(e)){if(u=!0,i[e]=f,l.push(e),!d)continue;n!==(r.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,s[e]=f):o[e]=f}if(t.transform||(u||r?o.transform=G(e,n,d,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const ve=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function he(e,t,n){for(const r in t)Z(t[r])||W(r,n)||(e[r]=t[r])}function ge(e,t,n){const o={},a=function(e,t,n){const o={};return he(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,n){return r.useMemo((()=>{const r=ve();return pe(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)}),[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),o.style=a,o}const be=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function ye(e){return be.has(e)}let _e=e=>!ye(e);function we(e){e&&(_e=t=>t.startsWith("on")?!ye(t):e(t))}try{we(n(1555).Z)}catch(e){}function xe(e,t,n){const r={};for(const o in e)(_e(o)||!0===n&&ye(o)||!t&&!ye(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Ce(e,t,n){return"string"==typeof e?e:se.transform(t+n*e)}const Ee={offset:"stroke-dashoffset",array:"stroke-dasharray"},Oe={offset:"strokeDashoffset",array:"strokeDasharray"};function Se(e,{attrX:t,attrY:n,originX:r,originY:o,pathLength:a,pathSpacing:i=1,pathOffset:l=0,...s},u,c,d){if(pe(e,s,u,d),c)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:m,dimensions:p}=e;f.transform&&(p&&(m.transform=f.transform),delete f.transform),p&&(void 0!==r||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Ce(t,e.x,e.width)} ${Ce(n,e.y,e.height)}`}(p,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?Ee:Oe;e[a.offset]=se.transform(-r);const i=se.transform(t),l=se.transform(n);e[a.array]=`${i} ${l}`}(f,a,i,l,!1)}const Me=()=>({...ve(),attrs:{}}),Pe=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ke(e,t,n,o){const a=r.useMemo((()=>{const n=Me();return Se(n,t,{enableHardwareAcceleration:!1},Pe(o),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};he(t,e.style,e),a.style={...t,...a.style}}return a}function je(e=!1){return(t,n,o,a,{latestValues:i},l)=>{const s=(B(t)?ke:ge)(n,i,l,t),u={...xe(n,"string"==typeof t,e),...s,ref:a};return o&&(u["data-projection-id"]=o),r.createElement(t,u)}}const Te=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ie(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Ne=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 Re(e,t,n,r){Ie(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Ne.has(n)?n:Te(n),t.attrs[n])}function Le(e){const{style:t}=e,n={};for(const r in t)(Z(t[r])||W(r,e))&&(n[r]=t[r]);return n}function De(e){const t=Le(e);for(const n in e)Z(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function Ve(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const Be=e=>Array.isArray(e),Ae=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),ze=e=>Be(e)?e[e.length-1]||0:e;function He(e){const t=Z(e)?e.get():e;return Ae(t)?t.toValue():t}const Fe=e=>(t,n)=>{const o=r.useContext(d),a=r.useContext(m),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:We(r,o,a,e),renderState:t()};return n&&(i.mount=e=>n(r,e,i)),i}(e,t,o,a);return n?i():M(i)};function We(e,t,n,r){const o={},a=r(e);for(const e in a)o[e]=He(a[e]);let{initial:i,animate:l}=e;const s=w(e),u=x(e);t&&u&&!s&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===l&&(l=t.animate));let c=!!n&&!1===n.initial;c=c||!1===i;const d=c?l:i;return d&&"boolean"!=typeof d&&!y(d)&&(Array.isArray(d)?d:[d]).forEach((t=>{const n=Ve(e,t);if(!n)return;const{transitionEnd:r,transition:a,...i}=n;for(const e in i){let t=i[e];Array.isArray(t)&&(t=t[c?t.length-1:0]),null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})),o}const Ze={useVisualState:Fe({scrapeMotionValuesFromProps:De,createRenderState:Me,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Se(n,r,{enableHardwareAcceleration:!1},Pe(t.tagName),e.transformTemplate),Re(t,n)}})},$e={useVisualState:Fe({scrapeMotionValuesFromProps:Le,createRenderState:ve})};function Ue(e,{forwardMotionProps:t=!1},n,r,o){return{...B(e)?Ze:$e,preloadedFeatures:n,useRender:je(t),createVisualElement:r,projectionNodeConstructor:o,Component:e}}var Ge;function Ye(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function qe(e,t,n,o){r.useEffect((()=>{const r=e.current;if(n&&r)return Ye(r,t,n,o)}),[e,t,n,o])}function Ke(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Xe(e){return!!e.touches}t.AnimationType=void 0,(Ge=t.AnimationType||(t.AnimationType={})).Animate="animate",Ge.Hover="whileHover",Ge.Tap="whileTap",Ge.Drag="whileDrag",Ge.Focus="whileFocus",Ge.InView="whileInView",Ge.Exit="exit";const Qe={pageX:0,pageY:0};function Je(e,t="page"){const n=e.touches[0]||e.changedTouches[0]||Qe;return{x:n[t+"X"],y:n[t+"Y"]}}function et(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function tt(e,t="page"){return{point:Xe(e)?Je(e,t):et(e,t)}}const nt=(e,t=!1)=>{const n=t=>e(t,tt(t));return t?(r=n,e=>{const t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n;var r},rt=()=>p&&null===window.onpointerdown,ot=()=>p&&null===window.ontouchstart,at=()=>p&&null===window.onmousedown,it={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},lt={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function st(e){return rt()?e:ot()?lt[e]:at()?it[e]:e}function ut(e,t,n,r){return Ye(e,st(t),nt(n,"pointerdown"===t),r)}function ct(e,t,n,r){return qe(e,st(t),n&&nt(n,"pointerdown"===t),r)}function dt(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const ft=dt("dragHorizontal"),mt=dt("dragVertical");function pt(e){let t=!1;if("y"===e)t=mt();else if("x"===e)t=ft();else{const e=ft(),n=mt();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function vt(){const e=pt(!0);return!e||(e(),!1)}function ht(e,n,r){return(o,a)=>{Ke(o)&&!vt()&&(e.animationState&&e.animationState.setActive(t.AnimationType.Hover,n),r&&r(o,a))}}const gt=(e,t)=>!!t&&(e===t||gt(e,t.parentElement));function bt(e){return r.useEffect((()=>()=>e()),[])}const yt=(e,t)=>n=>t(e(n)),_t=(...e)=>e.reduce(yt),wt=("undefined"==typeof process||process.env,"production"),xt=new Set;function Ct(e,t,n){e||xt.has(t)||(console.warn(t),n&&console.warn(n),xt.add(t))}const Et=new WeakMap,Ot=new WeakMap,St=e=>{const t=Et.get(e.target);t&&t(e)},Mt=e=>{e.forEach(St)};const Pt={some:0,all:1};function kt(e,n,o,{root:a,margin:i,amount:l="some",once:s}){r.useEffect((()=>{if(!e||!o.current)return;const r={root:null==a?void 0:a.current,rootMargin:i,threshold:"number"==typeof l?l:Pt[l]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;Ot.has(n)||Ot.set(n,{});const r=Ot.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Mt,{root:e,...t})),r[o]}(t);return Et.set(e,n),r.observe(e),()=>{Et.delete(e),r.unobserve(e)}}(o.current,r,(e=>{const{isIntersecting:r}=e;if(n.isInView===r)return;if(n.isInView=r,s&&!r&&n.hasEnteredView)return;r&&(n.hasEnteredView=!0),o.animationState&&o.animationState.setActive(t.AnimationType.InView,r);const a=o.getProps(),i=r?a.onViewportEnter:a.onViewportLeave;i&&i(e)}))}),[e,a,i,l])}function jt(e,n,o,{fallback:a=!0}){r.useEffect((()=>{e&&a&&("production"!==wt&&Ct(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((()=>{n.hasEnteredView=!0;const{onViewportEnter:e}=o.getProps();e&&e(null),o.animationState&&o.animationState.setActive(t.AnimationType.InView,!0)})))}),[e])}const Tt=e=>t=>(e(t),null),It={inView:Tt((function({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:o,viewport:a={}}){const i=r.useRef({hasEnteredView:!1,isInView:!1});let l=Boolean(t||n||o);a.once&&i.current.hasEnteredView&&(l=!1),("undefined"==typeof IntersectionObserver?jt:kt)(l,i.current,e,a)})),tap:Tt((function({onTap:e,onTapStart:n,onTapCancel:o,whileTap:a,visualElement:i}){const l=e||n||o||a,s=r.useRef(!1),u=r.useRef(null),c={passive:!(n||e||o||v)};function d(){u.current&&u.current(),u.current=null}function f(){return d(),s.current=!1,i.animationState&&i.animationState.setActive(t.AnimationType.Tap,!1),!vt()}function m(t,n){f()&&(gt(i.current,t.target)?e&&e(t,n):o&&o(t,n))}function p(e,t){f()&&o&&o(e,t)}function v(e,r){d(),s.current||(s.current=!0,u.current=_t(ut(window,"pointerup",m,c),ut(window,"pointercancel",p,c)),i.animationState&&i.animationState.setActive(t.AnimationType.Tap,!0),n&&n(e,r))}ct(i,"pointerdown",l?v:void 0,c),bt(d)})),focus:Tt((function({whileFocus:e,visualElement:n}){const{animationState:r}=n;qe(n,"focus",e?()=>{r&&r.setActive(t.AnimationType.Focus,!0)}:void 0),qe(n,"blur",e?()=>{r&&r.setActive(t.AnimationType.Focus,!1)}:void 0)})),hover:Tt((function({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){ct(r,"pointerenter",e||n?ht(r,!0,e):void 0,{passive:!e}),ct(r,"pointerleave",t||n?ht(r,!1,t):void 0,{passive:!t})}))};function Nt(){const e=r.useContext(m);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=e,a=r.useId();return r.useEffect((()=>o(a)),[]),!t&&n?[!1,()=>n&&n(a)]:[!0]}function Rt(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Lt={delta:0,timestamp:0},Dt=1/60*1e3,Vt="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Bt="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(Vt())),Dt);let At=!0,zt=!1,Ht=!1;const Ft=["read","update","preRender","render","postRender"],Wt=Ft.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,a=!1;const i=new WeakSet,l={schedule:(e,a=!1,l=!1)=>{const s=l&&o,u=s?t:n;return a&&i.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:s=>{if(o)a=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(s),i.has(r)&&(l.schedule(r),e())}o=!1,a&&(a=!1,l.process(s))}}};return l}((()=>zt=!0)),e)),{}),Zt=Ft.reduce(((e,t)=>{const n=Wt[t];return e[t]=(e,t=!1,r=!1)=>(zt||qt(),n.schedule(e,t,r)),e}),{}),$t=Ft.reduce(((e,t)=>(e[t]=Wt[t].cancel,e)),{}),Ut=Ft.reduce(((e,t)=>(e[t]=()=>Wt[t].process(Lt),e)),{}),Gt=e=>Wt[e].process(Lt),Yt=e=>{zt=!1,Lt.delta=At?Dt:Math.max(Math.min(e-Lt.timestamp,40),1),Lt.timestamp=e,Ht=!0,Ft.forEach(Gt),Ht=!1,zt&&(At=!1,Bt(Yt))},qt=()=>{zt=!0,At=!0,Ht||Bt(Yt)};function Kt(e,t){-1===e.indexOf(t)&&e.push(t)}function Xt(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Qt{constructor(){this.subscriptions=[]}add(e){return Kt(this.subscriptions,e),()=>Xt(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Jt(e,t){return t?e*(1e3/t):0}class en{constructor(e,t={}){var n;this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=Lt;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Zt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Zt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){return this.events[e]||(this.events[e]=new Qt),this.events[e].add(t)}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Jt(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.stopAnimation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function tn(e,t){return new en(e,t)}const nn=(e,t)=>n=>Boolean(oe(n)&&re.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),rn=(e,t,n)=>r=>{if(!oe(r))return r;const[o,a,i,l]=r.match(te);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},on={...X,transform:e=>Math.round((e=>K(0,255,e))(e))},an={test:nn("rgb","red"),parse:rn("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+on.transform(e)+", "+on.transform(t)+", "+on.transform(n)+", "+ee(Q.transform(r))+")"},ln={test:nn("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:an.transform},sn={test:nn("hsl","hue"),parse:rn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+le.transform(ee(t))+", "+le.transform(ee(n))+", "+ee(Q.transform(r))+")"},un={test:e=>an.test(e)||ln.test(e)||sn.test(e),parse:e=>an.test(e)?an.parse(e):sn.test(e)?sn.parse(e):ln.parse(e),transform:e=>oe(e)?e:e.hasOwnProperty("red")?an.transform(e):sn.transform(e)},cn="${c}",dn="${n}";function fn(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0,r=0;const o=e.match(ne);o&&(n=o.length,e=e.replace(ne,cn),t.push(...o.map(un.parse)));const a=e.match(te);return a&&(r=a.length,e=e.replace(te,dn),t.push(...a.map(X.parse))),{values:t,numColors:n,numNumbers:r,tokenised:e}}function mn(e){return fn(e).values}function pn(e){const{values:t,numColors:n,tokenised:r}=fn(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?cn:dn,r<n?un.transform(e[r]):ee(e[r]));return t}}const vn=e=>"number"==typeof e?0:e,hn={test:function(e){var t,n;return isNaN(e)&&oe(e)&&((null===(t=e.match(te))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ne))||void 0===n?void 0:n.length)||0)>0},parse:mn,createTransformer:pn,getAnimatableNone:function(e){const t=mn(e);return pn(e)(t.map(vn))}},gn=new Set(["brightness","contrast","saturate","opacity"]);function bn(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(te)||[];if(!r)return e;const o=n.replace(r,"");let a=gn.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const yn=/([a-z-]*)\(.*?\)/g,_n={...hn,getAnimatableNone:e=>{const t=e.match(yn);return t?t.map(bn).join(" "):e}},wn={...me,color:un,backgroundColor:un,outlineColor:un,fill:un,stroke:un,borderColor:un,borderTopColor:un,borderRightColor:un,borderBottomColor:un,borderLeftColor:un,filter:_n,WebkitFilter:_n},xn=e=>wn[e];function Cn(e,t){var n;let r=xn(e);return r!==_n&&(r=hn),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}const En=e=>t=>t.test(e),On=[X,se,le,ie,ce,ue,{test:e=>"auto"===e,parse:e=>e}],Sn=e=>On.find(En(e)),Mn=[...On,un,hn],Pn=e=>Mn.find(En(e));function kn(e,t,n){const r=e.getProps();return Ve(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.getVelocity())),t}(e))}function jn(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,tn(n))}function Tn(e,t){const n=kn(e,t);let{transitionEnd:r={},transition:o={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const t in a)jn(e,t,ze(a[t]))}function In(e,t){[...t].reverse().forEach((n=>{var r;const o=e.getVariant(n);o&&Tn(e,o),null===(r=e.variantChildren)||void 0===r||r.forEach((e=>{In(e,t)}))}))}function Nn(e,t,n){var r,o;const a=Object.keys(t).filter((t=>!e.hasValue(t))),i=a.length;if(i)for(let l=0;l<i;l++){const i=a[l],s=t[i];let u=null;Array.isArray(s)&&(u=s[0]),null===u&&(u=null!==(o=null!==(r=n[i])&&void 0!==r?r:e.readValue(i))&&void 0!==o?o:t[i]),null!=u&&("string"==typeof u&&(/^\-?\d*\.?\d+$/.test(u)||/^0[^.\s]+$/.test(u))?u=parseFloat(u):!Pn(u)&&hn.test(s)&&(u=Cn(i,s)),e.addValue(i,tn(u,{owner:e})),void 0===n[i]&&(n[i]=u),null!==u&&e.setBaseTarget(i,u))}}function Rn(e,t){if(t)return(t[e]||t.default||t).from}function Ln(e,t,n){var r;const o={};for(const a in e){const e=Rn(a,t);o[a]=void 0!==e?e:null===(r=n.getValue(a))||void 0===r?void 0:r.get()}return o}function Dn(e){return Boolean(Z(e)&&e.add)}const Vn=(e,t)=>`${e}: ${t}`;function Bn(e,t){const{MotionAppearAnimations:n}=window,r=Vn(e,F.has(t)?"transform":t),o=n&&n.get(r);return o?(Zt.render((()=>{try{o.cancel(),n.delete(r)}catch(e){}})),o.currentTime||0):0}const An="framerAppearId",zn="data-"+Te(An),Hn=e=>1e3*e,Fn={current:!1},Wn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Zn=e=>t=>1-e(1-t),$n=e=>e*e,Un=Zn($n),Gn=Wn($n),Yn=(e,t,n)=>-n*e+n*t+e;function qn(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const Kn=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Xn=[ln,an,sn];function Qn(e){const t=(n=e,Xn.find((e=>e.test(n))));var n;o.invariant(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===sn&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,a=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;o=qn(l,r,e+1/3),a=qn(l,r,e),i=qn(l,r,e-1/3)}else o=a=i=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:r}}(r)),r}const Jn=(e,t)=>{const n=Qn(e),r=Qn(t),o={...n};return e=>(o.red=Kn(n.red,r.red,e),o.green=Kn(n.green,r.green,e),o.blue=Kn(n.blue,r.blue,e),o.alpha=Yn(n.alpha,r.alpha,e),an.transform(o))};function er(e,t){return"number"==typeof e?n=>Yn(e,t,n):un.test(e)?Jn(e,t):rr(e,t)}const tr=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>er(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},nr=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=er(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},rr=(e,t)=>{const n=hn.createTransformer(t),r=fn(e),a=fn(t);return r.numColors===a.numColors&&r.numNumbers>=a.numNumbers?_t(tr(r.values,a.values),n):(o.warning(!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.`),n=>`${n>0?t:e}`)},or=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ar=(e,t)=>n=>Yn(e,t,n);function ir(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const i=e.length;o.invariant(i===t.length,"Both input and output ranges must be the same length"),o.invariant(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=function(e,t,n){const r=[],o=n||("number"==typeof(a=e[0])?ar:"string"==typeof a?un.test(a)?Jn:rr:Array.isArray(a)?tr:"object"==typeof a?nr:ar);var a;const i=e.length-1;for(let n=0;n<i;n++){let a=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;a=_t(e,a)}r.push(a)}return r}(t,r,a),s=l.length,u=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=or(e[n],e[n+1],t);return l[n](r)};return n?t=>u(K(e[0],e[i-1],t)):u}const lr=e=>e,sr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ur(e,t,n,r){if(e===t&&n===r)return lr;return o=>0===o||1===o?o:sr(function(e,t,n,r,o){let a,i,l=0;do{i=t+(n-t)/2,a=sr(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>1e-7&&++l<12);return i}(o,0,1,e,n),t,r)}const cr=e=>1-Math.sin(Math.acos(e)),dr=Zn(cr),fr=Wn(dr),mr=ur(.33,1.53,.69,.99),pr=Zn(mr),vr=Wn(pr),hr={linear:lr,easeIn:$n,easeInOut:Gn,easeOut:Un,circIn:cr,circInOut:fr,circOut:dr,backIn:pr,backInOut:vr,backOut:mr,anticipate:e=>(e*=2)<1?.5*pr(e):.5*(2-Math.pow(2,-10*(e-1)))},gr=e=>{if(Array.isArray(e)){o.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,a]=e;return ur(t,n,r,a)}return"string"==typeof e?(o.invariant(void 0!==hr[e],`Invalid easing type '${e}'`),hr[e]):e};function br({keyframes:e,ease:t=Gn,times:n,duration:r=300}){e=[...e];const o=br[0],a=(e=>Array.isArray(e)&&"number"!=typeof e[0])(t)?t.map(gr):gr(t),i={done:!1,value:o},l=function(e,t){return e.map((e=>e*t))}(n&&n.length===br.length?n:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(e),r);function s(){return ir(l,e,{ease:Array.isArray(a)?a:(t=e,n=a,t.map((()=>n||Gn)).splice(0,t.length-1))});var t,n}let u=s();return{next:e=>(i.value=u(e),i.done=e>=r,i),flipTarget:()=>{e.reverse(),u=s()}}}const yr=.001,_r=.01,wr=10,xr=.05,Cr=1;const Er=12;function Or(e,t){return e*Math.sqrt(1-t*t)}const Sr=["duration","bounce"],Mr=["stiffness","damping","mass"];function Pr(e,t){return t.some((t=>void 0!==e[t]))}function kr({keyframes:e,restSpeed:t=2,restDelta:n=.01,...r}){let a=e[0],i=e[e.length-1];const l={done:!1,value:a},{stiffness:s,damping:u,mass:c,velocity:d,duration:f,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Pr(e,Mr)&&Pr(e,Sr)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let a,i;o.warning(e<=1e3*wr,"Spring duration must be 10 seconds or less");let l=1-t;l=K(xr,Cr,l),e=K(_r,wr,e/1e3),l<1?(a=t=>{const r=t*l,o=r*e,a=r-n,i=Or(t,l),s=Math.exp(-o);return yr-a/i*s},i=t=>{const r=t*l*e,o=r*n+n,i=Math.pow(l,2)*Math.pow(t,2)*e,s=Math.exp(-r),u=Or(Math.pow(t,2),l);return(-a(t)+yr>0?-1:1)*((o-i)*s)/u}):(a=t=>Math.exp(-t*e)*((t-n)*e+1)-yr,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Er;n++)r-=e(r)/t(r);return r}(a,i,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*l*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r);let p=jr,v=d?-d/1e3:0;const h=u/(2*Math.sqrt(s*c));function g(){const e=i-a,t=Math.sqrt(s/c)/1e3;if(void 0===n&&(n=Math.min(Math.abs(i-a)/100,.4)),h<1){const n=Or(t,h);p=r=>{const o=Math.exp(-h*t*r);return i-o*((v+h*t*e)/n*Math.sin(n*r)+e*Math.cos(n*r))}}else if(1===h)p=n=>i-Math.exp(-t*n)*(e+(v+t*e)*n);else{const n=t*Math.sqrt(h*h-1);p=r=>{const o=Math.exp(-h*t*r),a=Math.min(n*r,300);return i-o*((v+h*t*e)*Math.sinh(a)+n*e*Math.cosh(a))/n}}}return g(),{next:e=>{const r=p(e);if(m)l.done=e>=f;else{let o=v;if(0!==e)if(h<1){const t=Math.max(0,e-5);o=Jt(r-p(t),e-t)}else o=0;const a=Math.abs(o)<=t,s=Math.abs(i-r)<=n;l.done=a&&s}return l.value=l.done?i:r,l},flipTarget:()=>{v=-v,[a,i]=[i,a],g()}}}kr.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const jr=e=>0,Tr={decay:function({keyframes:e=[0],velocity:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:a}){const i=e[0],l={done:!1,value:i};let s=n*t;const u=i+s,c=void 0===a?u:a(u);return c!==u&&(s=c-i),{next:e=>{const t=-s*Math.exp(-e/r);return l.done=!(t>o||t<-o),l.value=l.done?c:c+t,l},flipTarget:()=>{}}},keyframes:br,tween:br,spring:kr};function Ir(e,t,n=0){return e-t-n}const Nr=e=>{const t=({delta:t})=>e(t);return{start:()=>Zt.update(t,!0),stop:()=>$t.update(t)}};function Rr({duration:e,driver:t=Nr,elapsed:n=0,repeat:r=0,repeatType:o="loop",repeatDelay:a=0,keyframes:i,autoplay:l=!0,onPlay:s,onStop:u,onComplete:c,onRepeat:d,onUpdate:f,type:m="keyframes",...p}){var v,h;let g,b,y,_=0,w=e,x=!1,C=!0;const E=Tr[i.length>2?"keyframes":m],O=i[0],S=i[i.length-1];(null===(h=(v=E).needsInterpolation)||void 0===h?void 0:h.call(v,O,S))&&(y=ir([0,100],[O,S],{clamp:!1}),i=[0,100]);const M=E({...p,duration:e,keyframes:i});return l&&(s&&s(),g=t((function(e){if(C||(e=-e),n+=e,!x){const e=M.next(Math.max(0,n));b=e.value,y&&(b=y(b)),x=C?e.done:n<=0}f&&f(b),x&&(0===_&&(w=void 0!==w?w:n),_<r?function(e,t,n,r){return r?e>=t+n:e<=-n}(n,w,a,C)&&(_++,"reverse"===o?(C=_%2==0,n=function(e,t=0,n=0,r=!0){return r?Ir(t+-e,t,n):t-(e-t)+n}(n,w,a,C)):(n=Ir(n,w,a),"mirror"===o&&M.flipTarget()),x=!1,d&&d()):(g.stop(),c&&c()))})),g.start()),{stop:()=>{u&&u(),g.stop()},sample:e=>M.next(Math.max(0,e))}}const Lr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Dr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Lr([0,.65,.55,1]),circOut:Lr([.55,0,1,.45]),backIn:Lr([.31,.01,.66,-.59]),backOut:Lr([.33,1.53,.69,.99])};function Vr(e){if(e)return Array.isArray(e)?Lr(e):Dr[e]}function Br(e,t,n,{delay:r=0,duration:o,repeat:a=0,repeatType:i="loop",ease:l,times:s}={}){return e.animate({[t]:n,offset:s},{delay:r,duration:o,easing:Vr(l),fill:"both",iterations:a+1,direction:"reverse"===i?"alternate":"normal"})}function Ar(e,t){const n=performance.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&($t.read(r),e(a-t))};return Zt.read(r,!0),()=>$t.read(r)}function zr({keyframes:e,elapsed:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),()=>{});return t?Ar(o,-t):o()}const Hr=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Fr=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),Wr=()=>({type:"keyframes",ease:"linear",duration:.3}),Zr={type:"keyframes",duration:.8},$r={x:Hr,y:Hr,z:Hr,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scaleX:Fr,scaleY:Fr,scale:Fr,opacity:Wr,backgroundColor:Wr,color:Wr,default:Fr},Ur=(e,{keyframes:t})=>t.length>2?Zr:($r[e]||$r.default)(t[1]),Gr=(e,t)=>!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!hn.test(t)||t.startsWith("url(")));function Yr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function qr(e){return"number"==typeof e?0:Cn("",e)}function Kr(e,t){return e[t]||e.default||e}const Xr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Qr={},Jr={};for(const e in Xr)Jr[e]=()=>(void 0===Qr[e]&&(Qr[e]=Xr[e]()),Qr[e]);const eo=new Set(["opacity"]),to=(e,t,n,r={})=>a=>{const i=Kr(r,e)||{},l=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=Hn(l);const u=function(e,t,n,r){const o=Gr(t,n);let a=void 0!==r.from?r.from:e.get();return"none"===a&&o&&"string"==typeof n?a=Cn(t,n):Yr(a)&&"string"==typeof n?a=qr(n):!Array.isArray(n)&&Yr(n)&&"string"==typeof a&&(n=qr(a)),Array.isArray(n)?(null===n[0]&&(n[0]=a),n):[a,n]}(t,e,n,i),c=u[0],d=u[u.length-1],f=Gr(e,c),m=Gr(e,d);o.warning(f===m,`You are trying to animate ${e} from "${c}" to "${d}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${d} via the \`style\` property.`);let p={keyframes:u,velocity:t.getVelocity(),...i,elapsed:s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{a(),i.onComplete&&i.onComplete()}};if(!f||!m||Fn.current||!1===i.type)return zr(p);if("inertia"===i.type){const e=function({keyframes:e,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:m}){const p=e[0];let v;function h(e){return void 0!==n&&e<n||void 0!==r&&e>r}function g(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function b(e){null==v||v.stop(),v=Rr({keyframes:[0,1],velocity:0,...e,driver:c,onUpdate:t=>{var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:m})}function y(e){b({type:"spring",stiffness:i,damping:l,restDelta:s,...e})}if(h(p))y({velocity:t,keyframes:[p,g(p)]});else{let e=o*t+p;void 0!==u&&(e=u(e));const r=g(e),i=r===n?-1:1;let l,c;const d=e=>{l=c,c=e,t=Jt(e-l,Lt.delta),(1===i&&e>r||-1===i&&e<r)&&y({keyframes:[e,r],velocity:t})};b({type:"decay",keyframes:[p,0],velocity:t,timeConstant:a,power:o,restDelta:s,modifyTarget:u,onUpdate:h(e)?d:void 0})}return{stop:()=>null==v?void 0:v.stop()}}(p);return()=>e.stop()}(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:l,from:s,...u}){return!!Object.keys(u).length})(i)||(p={...p,...Ur(e,p)}),p.duration&&(p.duration=Hn(p.duration)),p.repeatDelay&&(p.repeatDelay=Hn(p.repeatDelay));const v=t.owner,h=v&&v.current;if(Jr.waapi()&&eo.has(e)&&!p.repeatDelay&&"mirror"!==p.repeatType&&0!==p.damping&&v&&h instanceof HTMLElement&&!v.getProps().onUpdate)return function(e,t,{onUpdate:n,onComplete:r,...o}){let{keyframes:a,duration:i=.3,elapsed:l=0,ease:s}=o;if("spring"===o.type||!(!(u=o.ease)||Array.isArray(u)||"string"==typeof u&&Dr[u])){const e=Rr(o);let t={done:!1,value:a[0]};const n=[];let r=0;for(;!t.done;)t=e.sample(r),n.push(t.value),r+=10;a=n,i=r-10,s="linear"}var u;const c=Br(e.owner.current,t,a,{...o,delay:-l,duration:i,ease:s});return c.onfinish=()=>{e.set(a[a.length-1]),r&&r()},()=>{const{currentTime:t}=c;if(t){const n=Rr(o);e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}Zt.update((()=>c.cancel()))}}(t,e,p);{const e=Rr(p);return()=>e.stop()}};function no(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>ro(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=ro(e,t,n);else{const o="function"==typeof t?kn(e,t,n.custom):t;r=oo(e,o,n)}return r.then((()=>e.notify("AnimationComplete",t)))}function ro(e,t,n={}){var r;const o=kn(e,t,n.custom);let{transition:a=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(a=n.transitionOverride);const i=o?()=>oo(e,o,n):()=>Promise.resolve(),l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?(r=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:l}=a;return function(e,t,n=0,r=0,o=1,a){const i=[],l=(e.variantChildren.size-1)*r,s=1===o?(e=0)=>e*r:(e=0)=>l-e*r;return Array.from(e.variantChildren).sort(ao).forEach(((e,r)=>{i.push(ro(e,t,{...a,delay:n+s(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(i)}(e,t,o+r,i,l,n)}:()=>Promise.resolve(),{when:s}=a;if(s){const[e,t]="beforeChildren"===s?[i,l]:[l,i];return e().then(t)}return Promise.all([i(),l(n.delay)])}function oo(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var a;let{transition:i=e.getDefaultTransition(),transitionEnd:l,...s}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(i=r);const c=[],d=o&&(null===(a=e.animationState)||void 0===a?void 0:a.getState()[o]);for(const t in s){const r=e.getValue(t),o=s[t];if(!r||void 0===o||d&&io(d,t))continue;let a={delay:n,elapsed:0,...i};if(e.shouldReduceMotion&&F.has(t)&&(a={...a,type:!1,delay:0}),!r.hasAnimated){const n=e.getProps()[zn];n&&(a.elapsed=Bn(n,t))}let l=r.start(to(t,r,o,a));Dn(u)&&(u.add(t),l=l.then((()=>u.remove(t)))),c.push(l)}return Promise.all(c).then((()=>{l&&Tn(e,l)}))}function ao(e,t){return e.sortNodePosition(t)}function io({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}const lo=[t.AnimationType.Animate,t.AnimationType.InView,t.AnimationType.Focus,t.AnimationType.Hover,t.AnimationType.Tap,t.AnimationType.Drag,t.AnimationType.Exit],so=[...lo].reverse(),uo=lo.length;function co(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}const fo={animation:Tt((({visualElement:e,animate:n})=>{e.animationState||(e.animationState=function(e){let n=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>no(e,t,n))))}(e);const r={[t.AnimationType.Animate]:co(!0),[t.AnimationType.InView]:co(),[t.AnimationType.Hover]:co(),[t.AnimationType.Tap]:co(),[t.AnimationType.Drag]:co(),[t.AnimationType.Focus]:co(),[t.AnimationType.Exit]:co()};let o=!0;const a=(t,n)=>{const r=kn(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(t,i){const l=e.getProps(),s=e.getVariantContext(!0)||{},u=[],c=new Set;let d={},f=1/0;for(let n=0;n<uo;n++){const v=so[n],h=r[v],g=void 0!==l[v]?l[v]:s[v],_=b(g),w=v===i?h.isActive:null;!1===w&&(f=n);let x=g===s[v]&&g!==l[v]&&_;if(x&&o&&e.manuallyAnimateOnMount&&(x=!1),h.protectedKeys={...d},!h.isActive&&null===w||!g&&!h.prevProp||y(g)||"boolean"==typeof g)continue;const C=(m=h.prevProp,"string"==typeof(p=g)?p!==m:!!Array.isArray(p)&&!Rt(p,m));let E=C||v===i&&h.isActive&&!x&&_||n>f&&_;const O=Array.isArray(g)?g:[g];let S=O.reduce(a,{});!1===w&&(S={});const{prevResolvedValues:M={}}=h,P={...M,...S},k=e=>{E=!0,c.delete(e),h.needsAnimating[e]=!0};for(const e in P){const t=S[e],n=M[e];d.hasOwnProperty(e)||(t!==n?Be(t)&&Be(n)?!Rt(t,n)||C?k(e):h.protectedKeys[e]=!0:void 0!==t?k(e):c.add(e):void 0!==t&&c.has(e)?k(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=S,h.isActive&&(d={...d,...S}),o&&e.blockInitialAnimation&&(E=!1),E&&!x&&u.push(...O.map((e=>({animation:e,options:{type:v,...t}}))))}var m,p;if(c.size){const t={};c.forEach((n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)})),u.push({animation:t})}let v=Boolean(u.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(v=!1),o=!1,v?n(u):Promise.resolve()}return{animateChanges:i,setActive:function(t,n,o){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const l=i(o,t);for(const e in r)r[e].protectedKeys={};return l},setAnimateFunction:function(t){n=t(e)},getState:()=>r}}(e)),y(n)&&r.useEffect((()=>n.subscribe(e)),[n])})),exit:Tt((e=>{const{custom:n,visualElement:o}=e,[a,i]=Nt(),l=r.useContext(m);r.useEffect((()=>{o.isPresent=a;const e=o.animationState&&o.animationState.setActive(t.AnimationType.Exit,!a,{custom:l&&l.custom||n});e&&!a&&e.then(i)}),[a])}))},mo=(e,t)=>Math.abs(e-t);function po(e,t){const n=mo(e.x,t.x),r=mo(e.y,t.y);return Math.sqrt(n**2+r**2)}class vo{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=bo(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=po(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=Lt;this.history.push({...r,timestamp:o});const{onStart:a,onMove:i}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ho(t,this.transformPagePoint),Ke(e)&&0===e.buttons?this.handlePointerUp(e,t):Zt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r}=this.handlers,o=bo(ho(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},Xe(e)&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=n;const r=ho(tt(e),this.transformPagePoint),{point:o}=r,{timestamp:a}=Lt;this.history=[{...o,timestamp:a}];const{onSessionStart:i}=t;i&&i(e,bo(r,this.history)),this.removeListeners=_t(ut(window,"pointermove",this.handlePointerMove),ut(window,"pointerup",this.handlePointerUp),ut(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),$t.update(this.updatePoint)}}function ho(e,t){return t?{point:t(e.point)}:e}function go(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bo({point:e},t){return{point:e,delta:go(e,_o(t)),offset:go(e,yo(t)),velocity:wo(t,.1)}}function yo(e){return e[0]}function _o(e){return e[e.length-1]}function wo(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=_o(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Hn(t)));)n--;if(!r)return{x:0,y:0};const a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function xo(e){return e.max-e.min}function Co(e,t=0,n=.01){return Math.abs(e-t)<=n}function Eo(e,t,n,r=.5){e.origin=r,e.originPoint=Yn(t.min,t.max,e.origin),e.scale=xo(n)/xo(t),(Co(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Yn(n.min,n.max,e.origin)-e.originPoint,(Co(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Oo(e,t,n,r){Eo(e.x,t.x,n.x,null==r?void 0:r.originX),Eo(e.y,t.y,n.y,null==r?void 0:r.originY)}function So(e,t,n){e.min=n.min+t.min,e.max=e.min+xo(t)}function Mo(e,t,n){e.min=t.min-n.min,e.max=e.min+xo(t)}function Po(e,t,n){Mo(e.x,t.x,n.x),Mo(e.y,t.y,n.y)}function ko(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function jo(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const To=.35;function Io(e,t,n){return{min:No(e,t),max:No(e,n)}}function No(e,t){return"number"==typeof e?e:e[t]||0}const Ro=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),Lo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Do(e){return[e("x"),e("y")]}function Vo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Bo(e){return void 0===e||1===e}function Ao({scale:e,scaleX:t,scaleY:n}){return!Bo(e)||!Bo(t)||!Bo(n)}function zo(e){return Ao(e)||Ho(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ho(e){return Fo(e.x)||Fo(e.y)}function Fo(e){return e&&"0%"!==e}function Wo(e,t,n){return n+t*(e-n)}function Zo(e,t,n,r,o){return void 0!==o&&(e=Wo(e,o,r)),Wo(e,n,r)+t}function $o(e,t=0,n=1,r,o){e.min=Zo(e.min,t,n,r,o),e.max=Zo(e.max,t,n,r,o)}function Uo(e,{x:t,y:n}){$o(e.x,t.translate,t.scale,t.originPoint),$o(e.y,n.translate,n.scale,n.originPoint)}function Go(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Yo(e,t){e.min=e.min+t,e.max=e.max+t}function qo(e,t,[n,r,o]){const a=void 0!==t[o]?t[o]:.5,i=Yn(e.min,e.max,a);$o(e,t[n],t[r],i,t.scale)}const Ko=["x","scaleX","originX"],Xo=["y","scaleY","originY"];function Qo(e,t){qo(e.x,t,Ko),qo(e.y,t,Xo)}function Jo(e,t){return Vo(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const ea=new WeakMap;class ta{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Lo(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){!1!==this.visualElement.isPresent&&(this.panSession=new vo(e,{onSessionStart:e=>{this.stopAnimation(),n&&this.snapToCursor(tt(e,"page").point)},onStart:(e,n)=>{var r;const{drag:o,dragPropagation:a,onDragStart:i}=this.getProps();(!o||a||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=pt(o),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Do((e=>{var t,n;let r=this.getAxisMotionValue(e).get()||0;if(le.test(r)){const o=null===(n=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.layoutBox[e];o&&(r=xo(o)*(parseFloat(r)/100))}this.originPoint[e]=r})),null==i||i(e,n),null===(r=this.visualElement.animationState)||void 0===r||r.setActive(t.AnimationType.Drag,!0))},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:i}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(i),void(null!==this.currentDirection&&(null==o||o(this.currentDirection)));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),null==a||a(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();null==o||o(e,t)}cancel(){var e,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(t.AnimationType.Drag,!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!na(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Yn(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Yn(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&g(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ko(e.x,n,o),y:ko(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=To){return!1===e?e=0:!0===e&&(e=To),{x:Io(e,"left","right"),y:Io(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Do((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!g(e))return!1;const n=e.current;o.invariant(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const a=function(e,t,n){const r=Jo(e,n),{scroll:o}=t;return o&&(Yo(r.x,o.offset.x),Yo(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:jo(e.x,t.x),y:jo(e.y,t.y)}}(r.layout.layoutBox,a);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Vo(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},s=Do((i=>{if(!na(i,t,this.currentDirection))return;let s=(null==l?void 0:l[i])||{};a&&(s={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[i]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...s};return this.startAxisValueAnimation(i,d)}));return Promise.all(s).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(to(e,n,0,t))}stopAnimation(){Do((e=>this.getAxisMotionValue(e).stop()))}getAxisMotionValue(e){var t;const n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,(null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])||0)}snapToCursor(e){Do((t=>{const{drag:n}=this.getProps();if(!na(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:a}=r.layout.layoutBox[t];o.set(e[t]-Yn(n,a,.5))}}))}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!g(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Do((e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const r=xo(e),o=xo(t);return o>r?n=or(t.min,t.max-r,e.min):r>o&&(n=or(e.min,e.max-o,t.min)),K(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout(),this.resolveConstraints(),Do((e=>{if(!na(e,t,null))return;const n=this.getAxisMotionValue(e),{min:r,max:a}=this.constraints[e];n.set(Yn(r,a,o[e]))}))}addListeners(){var e;if(!this.visualElement.current)return;ea.set(this.visualElement,this);const t=ut(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),n=()=>{const{dragConstraints:e}=this.getProps();g(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout()),n();const a=Ye(window,"resize",(()=>this.scalePositionWithinConstraints())),i=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Do((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{a(),t(),o(),null==i||i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=To,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:i}}}function na(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ra={pan:Tt((function({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:o,visualElement:a}){const i=e||t||n||o,l=r.useRef(null),{transformPagePoint:s}=r.useContext(c),u={onSessionStart:o,onStart:t,onMove:e,onEnd:(e,t)=>{l.current=null,n&&n(e,t)}};r.useEffect((()=>{null!==l.current&&l.current.updateHandlers(u)})),ct(a,"pointerdown",i&&function(e){l.current=new vo(e,u,{transformPagePoint:s})}),bt((()=>l.current&&l.current.end()))})),drag:Tt((function(e){const{dragControls:t,visualElement:n}=e,o=M((()=>new ta(n)));r.useEffect((()=>t&&t.subscribe(o)),[o,t]),r.useEffect((()=>o.addListeners()),[o])}))};function oa(e){return"string"==typeof e&&e.startsWith("var(--")}const aa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ia(e,t,n=1){o.invariant(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,a]=function(e){const t=aa.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():oa(a)?ia(a,t,n+1):a}const la=new Set(["width","height","top","left","right","bottom","x","y"]),sa=e=>la.has(e),ua=(e,t)=>{e.set(t,!1),e.set(t)},ca=e=>e===X||e===se;var da;!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(da||(da={}));const fa=(e,t)=>parseFloat(e.split(", ")[t]),ma=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return fa(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?fa(t[1],e):0}},pa=new Set(["x","y","z"]),va=H.filter((e=>!pa.has(e))),ha={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ma(4,13),y:ma(5,14)};function ga(e,t,n,r){return(e=>Object.keys(e).some(sa))(t)?((e,t,n={},r={})=>{t={...t},r={...r};const a=Object.keys(t).filter(sa);let i=[],l=!1;const s=[];if(a.forEach((a=>{const u=e.getValue(a);if(!e.hasValue(a))return;let c=n[a],d=Sn(c);const f=t[a];let m;if(Be(f)){const e=f.length,t=null===f[0]?1:0;c=f[t],d=Sn(c);for(let n=t;n<e;n++)m?o.invariant(Sn(f[n])===m,"All keyframes must be of the same type"):(m=Sn(f[n]),o.invariant(m===d||ca(d)&&ca(m),"Keyframes must be of the same dimension as the current value"))}else m=Sn(f);if(d!==m)if(ca(d)&&ca(m)){const e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof f?t[a]=parseFloat(f):Array.isArray(f)&&m===se&&(t[a]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==m?void 0:m.transform)&&(0===c||0===f)?0===c?u.set(m.transform(c)):t[a]=d.transform(f):(l||(i=function(e){const t=[];return va.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),l=!0),s.push(a),r[a]=void 0!==r[a]?r[a]:t[a],ua(u,f))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:i}=a,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),n.forEach((e=>{l[e]=ha[e](r,a)})),t.render();const s=t.measureViewportBox();return n.forEach((n=>{const r=t.getValue(n);ua(r,l[n]),e[n]=ha[n](s,a)})),e})(t,e,s);return i.length&&i.forEach((([t,n])=>{e.getValue(t).set(n)})),e.render(),p&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}})(e,t,n,r):{target:t,transitionEnd:r}}const ba={current:null},ya={current:!1};function _a(){if(ya.current=!0,p)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ba.current=e.matches;e.addListener(t),t()}else ba.current=!1}const wa=Object.keys(O),xa=wa.length,Ca=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Ea{constructor({parent:e,props:t,reducedMotionConfig:n,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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.scheduleRender=()=>Zt.render(this.render,!1,!0);const{latestValues:a,renderState:i}=r;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=i,this.parent=e,this.props=t,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=w(t),this.isVariantNode=x(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...s}=this.scrapeMotionValuesFromProps(t);for(const e in s){const t=s[e];void 0!==a[e]&&Z(t)&&(t.set(a[e],!1),Dn(l)&&l.add(e))}}scrapeMotionValuesFromProps(e){return{}}mount(e){var t;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),ya.current||_a(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ba.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,t,n;null===(e=this.projection)||void 0===e||e.unmount(),$t.update(this.notifyUpdate),$t.render(this.render),this.valueSubscriptions.forEach((e=>e())),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this);for(const e in this.events)this.events[e].clear();this.current=null}bindToMotionValue(e,t){const n=F.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Zt.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{r(),o()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,n,a,i,l){const s=[];"production"!==wt&&n&&t&&o.invariant(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let t=0;t<xa;t++){const n=wa[t],{isEnabled:o,Component:a}=O[n];o(e)&&a&&s.push(r.createElement(a,{key:n,...e,visualElement:this}))}if(!this.projection&&i){this.projection=new i(a,this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:n,drag:r,dragConstraints:o,layoutScroll:s}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(r)||o&&g(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:l,layoutScroll:s})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Lo()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(let t=0;t<Ca.length;t++){const n=Ca[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(Z(a))e.addValue(o,a),Dn(r)&&r.add(o);else if(Z(i))e.addValue(o,tn(a,{owner:e})),Dn(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(a)}else{const t=e.getStaticValue(o);e.addValue(o,tn(void 0!==t?t:a))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e),this.prevMotionValues)}getProps(){return this.props}getVariant(e){var t;return null===(t=this.props.variants)||void 0===t?void 0:t[e]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var e;return this.isVariantNode?this:null===(e=this.parent)||void 0===e?void 0:e.getClosestVariantNode()}getVariantContext(e=!1){var t,n;if(e)return null===(t=this.parent)||void 0===t?void 0:t.getVariantContext();if(!this.isControllingVariants){const e=(null===(n=this.parent)||void 0===n?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const r={};for(let e=0;e<Sa;e++){const t=Oa[e],n=this.props[t];(b(n)||!1===n)&&(r[t]=n)}return r}addVariantChild(e){var t;const n=this.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),()=>n.variantChildren.delete(e)}addValue(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}removeValue(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=tn(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Ve(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Z(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Qt),this.events[e].add(t)}notify(e,...t){var n;null===(n=this.events[e])||void 0===n||n.notify(...t)}}const Oa=["initial",...lo],Sa=Oa.length;class Ma extends Ea{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let a=Ln(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),a&&(a=r(a))),o){Nn(this,n,a);const e=((e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach((e=>{const t=e.get();if(!oa(t))return;const n=ia(t,r);n&&e.set(n)}));for(const e in t){const o=t[e];if(!oa(o))continue;const a=ia(o,r);a&&(t[e]=a,n&&void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return ga(e,t=o.target,n,r=o.transitionEnd)})(this,n,a,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Pa extends Ma{readValueFromInstance(e,t){if(F.has(t)){const e=xn(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Y(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Jo(e,t)}build(e,t,n,r){pe(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e){return Le(e)}renderInstance(e,t,n,r){Ie(e,t,n,r)}}class ka extends Ma{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){var n;return F.has(t)?(null===(n=xn(t))||void 0===n?void 0:n.default)||0:(t=Ne.has(t)?t:Te(t),e.getAttribute(t))}measureInstanceViewportBox(){return Lo()}scrapeMotionValuesFromProps(e){return De(e)}build(e,t,n,r){Se(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Re(e,t,0,r)}mount(e){this.isSVGTag=Pe(e.tagName),super.mount(e)}}const ja=(e,t)=>B(e)?new ka(t,{enableHardwareAcceleration:!1}):new Pa(t,{enableHardwareAcceleration:!0});function Ta(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ia={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!se.test(e))return e;e=parseFloat(e)}return`${Ta(e,t.target.x)}% ${Ta(e,t.target.y)}%`}},Na="_$css",Ra={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=e.includes("var("),a=[];o&&(e=e.replace(aa,(e=>(a.push(e),Na))));const i=hn.parse(e);if(i.length>5)return r;const l=hn.createTransformer(e),s="number"!=typeof i[0]?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;i[0+s]/=u,i[1+s]/=c;const d=Yn(u,c,.5);"number"==typeof i[2+s]&&(i[2+s]/=d),"number"==typeof i[3+s]&&(i[3+s]/=d);let f=l(i);if(o){let e=0;f=f.replace(Na,(()=>{const t=a[e];return e++,t}))}return f}};class La extends s.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;z(Da),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),P.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,a=n.projection;return a?(a.isPresent=o,r||e.layoutDependency!==t||void 0===t?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||Zt.postRender((()=>{var e;(null===(e=a.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(r),(null==n?void 0:n.deregister)&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;null==e||e()}render(){return null}}const Da={borderRadius:{...Ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ia,borderTopRightRadius:Ia,borderBottomLeftRadius:Ia,borderBottomRightRadius:Ia,boxShadow:Ra},Va={measureLayout:function(e){const[t,n]=Nt(),o=r.useContext(j);return s.default.createElement(La,{...e,layoutGroup:o,switchLayoutGroup:r.useContext(I),isPresent:t,safeToRemove:n})}};function Ba(e,t,n={}){const r=Z(e)?e:tn(e);return r.start(to("",r,t,n)),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const Aa=["TopLeft","TopRight","BottomLeft","BottomRight"],za=Aa.length,Ha=e=>"string"==typeof e?parseFloat(e):e,Fa=e=>"number"==typeof e||se.test(e);function Wa(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Za=Ua(0,.5,dr),$a=Ua(.5,.95,lr);function Ua(e,t,n){return r=>r<e?0:r>t?1:n(or(e,t,r))}function Ga(e,t){e.min=t.min,e.max=t.max}function Ya(e,t){Ga(e.x,t.x),Ga(e.y,t.y)}function qa(e,t,n,r,o){return e=Wo(e-=t,1/n,r),void 0!==o&&(e=Wo(e,1/o,r)),e}function Ka(e,t,[n,r,o],a,i){!function(e,t=0,n=1,r=.5,o,a=e,i=e){if(le.test(t)&&(t=parseFloat(t),t=Yn(i.min,i.max,t/100)-i.min),"number"!=typeof t)return;let l=Yn(a.min,a.max,r);e===a&&(l-=t),e.min=qa(e.min,t,n,l,o),e.max=qa(e.max,t,n,l,o)}(e,t[n],t[r],t[o],t.scale,a,i)}const Xa=["x","scaleX","originX"],Qa=["y","scaleY","originY"];function Ja(e,t,n,r){Ka(e.x,t,Xa,null==n?void 0:n.x,null==r?void 0:r.x),Ka(e.y,t,Qa,null==n?void 0:n.y,null==r?void 0:r.y)}function ei(e){return 0===e.translate&&1===e.scale}function ti(e){return ei(e.x)&&ei(e.y)}function ni(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function ri(e){return xo(e.x)/xo(e.y)}class oi{constructor(){this.members=[]}add(e){Kt(this.members,e),e.scheduleRender()}remove(e){if(Xt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){var n;const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{var t,n,r,o,a;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(a=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===a||a.call(o)}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ai(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const i=e.x.scale*t.x,l=e.y.scale*t.y;return 1===i&&1===l||(r+=`scale(${i}, ${l})`),r||"none"}const ii=(e,t)=>e.depth-t.depth;class li{constructor(){this.children=[],this.isDirty=!1}add(e){Kt(this.children,e),this.isDirty=!0}remove(e){Xt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ii),this.isDirty=!1,this.children.forEach(e)}}const si=["","X","Y","Z"];let ui=0;function ci({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e,n={},r=(null==t?void 0:t())){this.id=ui++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(mi),this.nodes.forEach(bi),this.nodes.forEach(yi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=n,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new li)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Qt),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);null==n||n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,n=!1){var r;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;const{layoutId:o,layout:a,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(a||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=Ar(r,250),P.hasAnimatedSinceResize&&(P.hasAnimatedSinceResize=!1,this.nodes.forEach(gi))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&i&&(o||a)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{var o,a,l,s,u;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const c=null!==(a=null!==(o=this.options.transition)&&void 0!==o?o:i.getDefaultTransition())&&void 0!==a?a:Oi,{onLayoutAnimationStart:d,onLayoutAnimationComplete:f}=i.getProps(),m=!this.targetLayout||!ni(this.targetLayout,r)||n,p=!t&&n;if((null===(l=this.resumeFrom)||void 0===l?void 0:l.instance)||p||t&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,p);const t={...Kr(c,"layout"),onPlay:d,onComplete:f};i.shouldReduceMotion&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||0!==this.animationProgress||gi(this),this.isLead()&&(null===(u=(s=this.options).onExitComplete)||void 0===u||u.call(s));this.targetLayout=r}))}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,$t.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(_i),this.animationId++)}willUpdate(e=!0){var t,n,r;if(this.root.isUpdateBlocked())return void(null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t));if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot")}const{layoutId:o,layout:a}=this.options;if(void 0===o&&!a)return;const i=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==i?void 0:i(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vi);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Si),this.potentialNodes.clear()),this.nodes.forEach(hi),this.nodes.forEach(di),this.nodes.forEach(fi),this.clearAllSnapshots(),Ut.update(),Ut.preRender(),Ut.render())}clearAllSnapshots(){this.nodes.forEach(pi),this.sharedNodes.forEach(wi)}scheduleUpdateProjection(){Zt.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Zt.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var e;if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Lo(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(e=this.options.visualElement)||void 0===e||e.notify("LayoutMeasure",this.layout.layoutBox,null==t?void 0:t.layoutBox)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){var e;if(!o)return;const t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!ti(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,a=null==r?void 0:r(this.latestValues,""),i=a!==this.prevTransformTemplateValue;t&&(n||zo(this.latestValues)||i)&&(o(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Mi((r=n).x),Mi(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return Lo();const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Yo(t.x,n.offset.x),Yo(t.y,n.offset.y)),t}removeElementScroll(e){const t=Lo();Ya(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:a}=r;if(r!==this.root&&o&&a.layoutScroll){if(o.isRoot){Ya(t,e);const{scroll:n}=this.root;n&&(Yo(t.x,-n.offset.x),Yo(t.y,-n.offset.y))}Yo(t.x,o.offset.x),Yo(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n=Lo();Ya(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Qo(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),zo(r.latestValues)&&Qo(n,r.latestValues)}return zo(this.latestValues)&&Qo(n,this.latestValues),n}removeTransform(e){var t;const n=Lo();Ya(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];if(!r.instance)continue;if(!zo(r.latestValues))continue;Ao(r.latestValues)&&r.updateSnapshot();const o=Lo();Ya(o,r.measurePageBox()),Ja(n,r.latestValues,null===(t=r.snapshot)||void 0===t?void 0:t.layoutBox,o)}return zo(this.latestValues)&&Ja(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e;const t=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;const{layout:n,layoutId:r}=this.options;if(this.layout&&(n||r)){if(!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout?(this.relativeParent=e,this.relativeTarget=Lo(),this.relativeTargetOrigin=Lo(),Po(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ya(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}var o,a,i;if((this.relativeTarget||this.targetDelta)&&(this.target||(this.target=Lo(),this.targetWithTransforms=Lo()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(o=this.target,a=this.relativeTarget,i=this.relativeParent.target,So(o.x,a.x,i.x),So(o.y,a.y,i.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ya(this.target,this.layout.layoutBox),Uo(this.target,this.targetDelta)):Ya(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target?(this.relativeParent=e,this.relativeTarget=Lo(),this.relativeTargetOrigin=Lo(),Po(this.relativeTargetOrigin,this.target,e.target),Ya(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!Ao(this.parent.latestValues)&&!Ho(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var e;const{isProjectionDirty:t,isTransformDirty:n}=this;this.isProjectionDirty=this.isTransformDirty=!1;const r=this.getLead(),o=Boolean(this.resumingFrom)||this!==r;let a=!0;if(t&&(a=!1),o&&n&&(a=!1),a)return;const{layout:i,layoutId:l}=this.options;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!l)return;Ya(this.layoutCorrected,this.layout.layoutBox),function(e,t,n,r=!1){var o,a;const i=n.length;if(!i)return;let l,s;t.x=t.y=1;for(let u=0;u<i;u++)l=n[u],s=l.projectionDelta,"contents"!==(null===(a=null===(o=l.instance)||void 0===o?void 0:o.style)||void 0===a?void 0:a.display)&&(r&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Qo(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Uo(e,s)),r&&zo(l.latestValues)&&Qo(e,l.latestValues));t.x=Go(t.x),t.y=Go(t.y)}(this.layoutCorrected,this.treeScale,this.path,o);const{target:s}=r;if(!s)return;this.projectionDelta||(this.projectionDelta=Ro(),this.projectionDeltaWithTransform=Ro());const u=this.treeScale.x,c=this.treeScale.y,d=this.projectionTransform;Oo(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=ai(this.projectionDelta,this.treeScale),this.projectionTransform===d&&this.treeScale.x===u&&this.treeScale.y===c||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t,n,r;null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){var n,r;const o=this.snapshot,a=(null==o?void 0:o.latestValues)||{},i={...this.latestValues},l=Ro();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;const s=Lo(),u=(null==o?void 0:o.source)!==(null===(n=this.layout)||void 0===n?void 0:n.source),c=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(Ei));this.animationProgress=0,this.mixTargetDelta=t=>{var n;const r=t/1e3;var o,f,m,p;xi(l.x,e.x,r),xi(l.y,e.y,r),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(Po(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),o=this.relativeTarget,f=this.relativeTargetOrigin,m=s,p=r,Ci(o.x,f.x,m.x,p),Ci(o.y,f.y,m.y,p)),u&&(this.animationValues=i,function(e,t,n,r,o,a){o?(e.opacity=Yn(0,void 0!==n.opacity?n.opacity:1,Za(r)),e.opacityExit=Yn(void 0!==t.opacity?t.opacity:1,0,$a(r))):a&&(e.opacity=Yn(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<za;o++){const a=`border${Aa[o]}Radius`;let i=Wa(t,a),l=Wa(n,a);void 0===i&&void 0===l||(i||(i=0),l||(l=0),0===i||0===l||Fa(i)===Fa(l)?(e[a]=Math.max(Yn(Ha(i),Ha(l),r),0),(le.test(l)||le.test(i))&&(e[a]+="%")):e[a]=l)}(t.rotate||n.rotate)&&(e.rotate=Yn(t.rotate||0,n.rotate||0,r))}(i,a,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(0)}startAnimation(e){var t,n;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&($t.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Zt.update((()=>{P.hasAnimatedSinceResize=!0,this.currentAnimation=Ba(0,1e3,{...e,onUpdate:t=>{var n;this.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Pi(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Lo();const t=xo(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=xo(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Ya(t,n),Qo(t,o),Oo(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new oi),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<si.length;t++){const o="rotate"+si[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}null==e||e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n,r;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const a=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=He(e.pointerEvents)||"",o.transform=a?a(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=He(e.pointerEvents)||""),this.hasProjected&&!zo(this.latestValues)&&(t.transform=a?a({},""):"none",this.hasProjected=!1),t}const l=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=ai(this.projectionDeltaWithTransform,this.treeScale,l),a&&(o.transform=a(l,o.transform));const{x:s,y:u}=this.projectionDelta;o.transformOrigin=`${100*s.origin}% ${100*u.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(r=null!==(n=l.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:o.opacity=i===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0;for(const e in A){if(void 0===l[e])continue;const{correct:t,applyTo:n}=A[e],r=t(l[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?He(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(vi),this.root.sharedNodes.clear()}}}function di(e){e.updateLayout()}function fi(e){var t,n,r;const o=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,a=o.source!==e.layout.source;"size"===r?Do((e=>{const n=a?o.measuredBox[e]:o.layoutBox[e],r=xo(n);n.min=t[e].min,n.max=n.min+r})):Pi(r,o.layoutBox,t)&&Do((e=>{const n=a?o.measuredBox[e]:o.layoutBox[e],r=xo(t[e]);n.max=n.min+r}));const i=Ro();Oo(i,t,o.layoutBox);const l=Ro();a?Oo(l,e.applyTransform(n,!0),o.measuredBox):Oo(l,t,o.layoutBox);const s=!ti(i);let u=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:e,layout:r}=n;if(e&&r){const n=Lo();Po(n,o.layoutBox,e.layoutBox);const a=Lo();Po(a,t,r.layoutBox),ni(n,a)||(u=!0)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:o,delta:l,layoutDelta:i,hasLayoutChanged:s,hasRelativeTargetChanged:u})}else e.isLead()&&(null===(r=(n=e.options).onExitComplete)||void 0===r||r.call(n));e.options.transition=void 0}function mi(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function pi(e){e.clearSnapshot()}function vi(e){e.clearMeasurements()}function hi(e){const{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function gi(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function bi(e){e.resolveTargetDelta()}function yi(e){e.calcProjection()}function _i(e){e.resetRotation()}function wi(e){e.removeLeadSnapshot()}function xi(e,t,n){e.translate=Yn(t.translate,0,n),e.scale=Yn(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ci(e,t,n,r){e.min=Yn(t.min,n.min,r),e.max=Yn(t.max,n.max,r)}function Ei(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Oi={duration:.45,ease:[.4,0,.1,1]};function Si(e,t){let n=e.root;for(let t=e.path.length-1;t>=0;t--)if(Boolean(e.path[t].instance)){n=e.path[t];break}const r=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);r&&e.mount(r,!0)}function Mi(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Pi(e,t,n){return"position"===e||"preserve-aspect"===e&&!Co(ri(t),ri(n),.2)}const ki=ci({attachResizeListener:(e,t)=>Ye(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ji={current:void 0},Ti=ci({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ji.current){const e=new ki(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ji.current=e}return ji.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ii={...fo,...It,...ra,...Va},Ni=D(((e,t)=>Ue(e,t,Ii,ja,Ti))),Ri=D(Ue);function Li(){const e=r.useRef(!1);return v((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Di(){const e=Li(),[t,n]=r.useState(0),o=r.useCallback((()=>{e.current&&n(t+1)}),[t]);return[r.useCallback((()=>Zt.postRender(o)),[o]),t]}class Vi extends u.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Bi({children:e,isPresent:t}){const n=r.useId(),o=r.useRef(null),a=r.useRef({width:0,height:0,top:0,left:0});return r.useInsertionEffect((()=>{const{width:e,height:r,top:i,left:l}=a.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;const s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${i}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(s)}}),[t]),u.createElement(Vi,{isPresent:t,childRef:o,sizeRef:a},u.cloneElement(e,{ref:o}))}const Ai=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:i,mode:l})=>{const s=M(zi),c=r.useId(),d=r.useMemo((()=>({id:c,initial:t,isPresent:n,custom:a,onExitComplete:e=>{s.set(e,!0);for(const e of s.values())if(!e)return;o&&o()},register:e=>(s.set(e,!1),()=>s.delete(e))})),i?void 0:[n]);return r.useMemo((()=>{s.forEach(((e,t)=>s.set(t,!1)))}),[n]),u.useEffect((()=>{!n&&!s.size&&o&&o()}),[n]),"popLayout"===l&&(e=u.createElement(Bi,{isPresent:n},e)),u.createElement(m.Provider,{value:d},e)};function zi(){return new Map}const Hi=e=>e.key||"",Fi=r.createContext(null),Wi=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Zi(){const e=new Set,t=new WeakMap,n=()=>e.forEach(Wi);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{var o;e.delete(r),null===(o=t.get(r))||void 0===o||o(),t.delete(r),n()},dirty:n}}const $i=e=>!0===e,Ui=({children:e,id:t,inheritId:n,inherit:o=!0})=>{void 0!==n&&(o=n);const a=r.useContext(j),i=r.useContext(Fi),[l,s]=Di(),c=r.useRef(null),d=a.id||i;null===c.current&&((e=>$i(!0===e)||"id"===e)(o)&&d&&(t=t?d+"-"+t:d),c.current={id:t,group:$i(o)&&a.group||Zi()});const f=r.useMemo((()=>({...c.current,forceRender:l})),[s]);return u.createElement(j.Provider,{value:f},e)};let Gi=0;function Yi(e){return"function"==typeof e}const qi=r.createContext(null),Ki=r.forwardRef((function({children:e,as:t="ul",axis:n="y",onReorder:a,values:i,...l},s){const c=M((()=>Ni(t))),d=[],f=r.useRef(!1);o.invariant(Boolean(i),"Reorder.Group must be provided a values prop");const m={axis:n,registerItem:(e,t)=>{t&&-1===d.findIndex((t=>e===t.value))&&(d.push({value:e,layout:t[n]}),d.sort(Qi))},updateOrder:(e,t,n)=>{if(f.current)return;const r=function(e,t,n,r){if(!r)return e;const o=e.findIndex((e=>e.value===t));if(-1===o)return e;const a=r>0?1:-1,i=e[o+a];if(!i)return e;const l=e[o],s=i.layout,u=Yn(s.min,s.max,.5);return 1===a&&l.layout.max+n>u||-1===a&&l.layout.min+n<u?function([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const r=n<0?e.length+n:n,[o]=e.splice(t,1);e.splice(r,0,o)}return e}(e,o,o+a):e}(d,e,t,n);d!==r&&(f.current=!0,a(r.map(Xi).filter((e=>-1!==i.indexOf(e)))))}};return r.useEffect((()=>{f.current=!1})),u.createElement(c,{...l,ref:s},u.createElement(qi.Provider,{value:m},e))}));function Xi(e){return e.value}function Qi(e,t){return e.layout.min-t.layout.min}function Ji(e){const t=M((()=>tn(e))),{isStatic:n}=r.useContext(c);if(n){const[,n]=r.useState(e);r.useEffect((()=>t.on("change",n)),[])}return t}const el=e=>(e=>"object"==typeof e&&e.mix)(e)?e.mix:void 0;function tl(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],a=e[2+n],i=e[3+n],l=ir(o,a,{mixer:el(a[0]),...i});return t?l(r):l}function nl(e,t){const n=Ji(t()),r=()=>n.set(t());return r(),function(e,t,n){v((()=>{const n=e.map((e=>e.on("change",t)));return()=>{n.forEach((e=>e())),$t.update(r)}}))}(e,(()=>Zt.update(r,!1,!0))),n}function rl(e,t,n,r){const o="function"==typeof t?t:tl(t,n,r);return Array.isArray(e)?ol(e,o):ol([e],(([e])=>o(e)))}function ol(e,t){const n=M((()=>[]));return nl(e,(()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)}))}function al(e,t=0){return Z(e)?e:Ji(t)}const il={Group:Ki,Item:r.forwardRef((function({children:e,style:t={},value:n,as:a="li",onDrag:i,layout:l=!0,...s},c){const d=M((()=>Ni(a))),f=r.useContext(qi),m={x:al(t.x),y:al(t.y)},p=rl([m.x,m.y],(([e,t])=>e||t?1:"unset")),v=r.useRef(null);o.invariant(Boolean(f),"Reorder.Item must be a child of Reorder.Group");const{axis:h,registerItem:g,updateOrder:b}=f;return r.useEffect((()=>{g(n,v.current)}),[f]),u.createElement(d,{drag:h,...s,dragSnapToOrigin:!0,style:{...t,x:m.x,y:m.y,zIndex:p},layout:l,onDrag:(e,t)=>{const{velocity:r}=t;r[h]&&b(n,m[h].get(),r[h]),i&&i(e,t)},onLayoutMeasure:e=>{v.current=e},ref:c},e)}))},ll={renderer:ja,...fo,...It},sl={...ll,...ra,...Va,projectionNodeConstructor:Ti},ul=()=>({scrollX:tn(0),scrollY:tn(0),scrollXProgress:tn(0),scrollYProgress:tn(0)});function cl({container:e,target:t,layoutEffect:n=!0,...o}={}){const i=M(ul);return(n?v:r.useEffect)((()=>a.scroll((({x:e,y:t})=>{i.scrollX.set(e.current),i.scrollXProgress.set(e.progress),i.scrollY.set(t.current),i.scrollYProgress.set(t.progress)}),{...o,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[]),i}function dl(e){const t=r.useRef(0),{isStatic:n}=r.useContext(c);r.useEffect((()=>{if(n)return;const r=({timestamp:n,delta:r})=>{t.current||(t.current=n),e(n-t.current,r)};return Zt.update(r,!0),()=>$t.update(r)}),[e])}class fl extends en{constructor(){super(...arguments),this.members=[],this.transforms=new Set}add(e){let t;F.has(e)?(this.transforms.add(e),t="transform"):e.startsWith("origin")||Y(e)||"willChange"===e||(t=Te(e)),t&&(Kt(this.members,t),this.update())}remove(e){F.has(e)?(this.transforms.delete(e),this.transforms.size||Xt(this.members,"transform")):Xt(this.members,Te(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function ml(){!ya.current&&_a();const[e]=r.useState(ba.current);return e}function pl(){let e=!1;const t=[],n=new Set,r={subscribe(e){return n.add(e),()=>{n.delete(e)}},start(r,o){if(e){const e=[];return n.forEach((t=>{e.push(no(t,r,{transitionOverride:o}))})),Promise.all(e)}return new Promise((e=>{t.push({animation:[r,o],resolve:e})}))},set(t){return o.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),n.forEach((e=>{!function(e,t){Array.isArray(t)?In(e,t):"string"==typeof t?In(e,[t]):Tn(e,t)}(e,t)}))},stop(){n.forEach((e=>{!function(e){e.values.forEach((e=>e.stop()))}(e)}))},mount(){return e=!0,t.forEach((({animation:e,resolve:t})=>{r.start(...e).then(t)})),()=>{e=!1,r.stop()}}};return r}function vl(){const e=M(pl);return r.useEffect(e.mount,[]),e}const hl=vl,gl=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};class bl{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach((n=>{n.start(e.nativeEvent||e,t)}))}}const yl=()=>new bl;function _l(e){return null!==e&&"object"==typeof e&&N in e}function wl(){return xl}function xl(e){ji.current&&(ji.current.isUpdating=!1,ji.current.blockUpdate(),e&&e())}const Cl=()=>({});class El extends Ea{build(){}measureInstanceViewportBox(){return Lo()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return{}}getBaseTargetFromProps(){}readValueFromInstance(e,t,n){return n.initialState[t]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n}){return Nn(this,n,Ln(n,e||{},this)),{transition:e,transitionEnd:t,...n}}}const Ol=Fe({scrapeMotionValuesFromProps:Cl,createRenderState:Cl}),Sl=e=>e>.001?1/e:1e5;let Ml=!1;t.AnimatePresence=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:a,presenceAffectsLayout:i=!0,mode:l="sync"})=>{a&&(l="wait",Ct(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Di();const c=r.useContext(j).forceRender;c&&(s=c);const d=Li(),f=function(e){const t=[];return r.Children.forEach(e,(e=>{r.isValidElement(e)&&t.push(e)})),t}(e);let m=f;const p=new Set,h=r.useRef(m),g=r.useRef(new Map).current,b=r.useRef(!0);if(v((()=>{b.current=!1,function(e,t){e.forEach((e=>{const n=Hi(e);t.set(n,e)}))}(f,g),h.current=m})),bt((()=>{b.current=!0,g.clear(),p.clear()})),b.current)return u.createElement(u.Fragment,null,m.map((e=>u.createElement(Ai,{key:Hi(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:i,mode:l},e))));m=[...m];const y=h.current.map(Hi),_=f.map(Hi),w=y.length;for(let e=0;e<w;e++){const t=y[e];-1===_.indexOf(t)&&p.add(t)}return"wait"===l&&p.size&&(m=[]),p.forEach((e=>{if(-1!==_.indexOf(e))return;const n=g.get(e);if(!n)return;const r=y.indexOf(e);m.splice(r,0,u.createElement(Ai,{key:Hi(n),isPresent:!1,onExitComplete:()=>{g.delete(e),p.delete(e);const t=h.current.findIndex((t=>t.key===e));if(h.current.splice(t,1),!p.size){if(h.current=f,!1===d.current)return;s(),o&&o()}},custom:t,presenceAffectsLayout:i,mode:l},n))})),m=m.map((e=>{const t=e.key;return p.has(t)?e:u.createElement(Ai,{key:Hi(e),isPresent:!0,presenceAffectsLayout:i,mode:l},e)})),"production"!==wt&&"wait"===l&&m.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),u.createElement(u.Fragment,null,p.size?m:m.map((e=>r.cloneElement(e))))},t.AnimateSharedLayout=({children:e})=>(u.useEffect((()=>{o.warning(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")}),[]),u.createElement(Ui,{id:M((()=>"asl-"+Gi++))},e)),t.DeprecatedLayoutGroupContext=Fi,t.DragControls=bl,t.FlatTree=li,t.LayoutGroup=Ui,t.LayoutGroupContext=j,t.LazyMotion=function({children:e,features:t,strict:n=!1}){const[,o]=r.useState(!Yi(t)),a=r.useRef(void 0);if(!Yi(t)){const{renderer:e,...n}=t;a.current=e,S(n)}return r.useEffect((()=>{Yi(t)&&t().then((({renderer:e,...t})=>{S(t),a.current=e,o(!0)}))}),[]),u.createElement(h.Provider,{value:{renderer:a.current,strict:n}},e)},t.MotionConfig=function({children:e,isValidProp:t,...n}){t&&we(t),(n={...r.useContext(c),...n}).isStatic=M((()=>n.isStatic));const o=r.useMemo((()=>n),[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return u.createElement(c.Provider,{value:o},e)},t.MotionConfigContext=c,t.MotionContext=d,t.MotionValue=en,t.PresenceContext=m,t.Reorder=il,t.SwitchLayoutGroupContext=I,t.VisualElement=Ea,t.addPointerEvent=ut,t.addScaleCorrector=z,t.animate=Ba,t.animateVisualElement=no,t.animationControls=pl,t.animations=fo,t.buildTransform=G,t.calcLength=xo,t.checkTargetForNewValues=Nn,t.clamp=K,t.createBox=Lo,t.createDomMotionComponent=function(e){return R(Ue(e,{forwardMotionProps:!1},Ii,ja,Ti))},t.createMotionComponent=R,t.delay=Ar,t.distance=mo,t.distance2D=po,t.domAnimation=ll,t.domMax=sl,t.filterProps=xe,t.isBrowser=p,t.isDragActive=vt,t.isMotionComponent=_l,t.isMotionValue=Z,t.isValidMotionProp=ye,t.m=Ri,t.makeUseVisualState=Fe,t.mix=Yn,t.motion=Ni,t.motionValue=tn,t.optimizedAppearDataAttribute=zn,t.pipe=_t,t.resolveMotionValue=He,t.spring=kr,t.startOptimizedAppearAnimation=function(e,t,n,r){window.MotionAppearAnimations||(window.MotionAppearAnimations=new Map);const o=e.dataset[An],a=Br(e,t,n,r);return o&&a&&window.MotionAppearAnimations.set(Vn(o,t),a),a},t.transform=tl,t.unwrapMotionComponent=function(e){if(_l(e))return e[N]},t.useAnimation=hl,t.useAnimationControls=vl,t.useAnimationFrame=dl,t.useCycle=function(...e){const t=r.useRef(0),[n,o]=r.useState(e[t.current]);return[n,r.useCallback((n=>{t.current="number"!=typeof n?gl(0,e.length,t.current+1):n,o(e[t.current])}),[e.length,...e])]},t.useDeprecatedAnimatedState=function(e){const[t,n]=r.useState(e),o=Ol({},!1),a=M((()=>new El({props:{},visualState:o},{initialState:e})));return r.useEffect((()=>(a.mount({}),()=>a.unmount())),[a]),r.useEffect((()=>{a.setProps({onUpdate:e=>{n({...e})}})}),[n,a]),[t,M((()=>e=>no(a,e)))]},t.useDeprecatedInvertedScale=function(e){let t=Ji(1),n=Ji(1);const r=f();return o.invariant(!(!e&&!r),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),o.warning(Ml,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Ml=!0,e?(t=e.scaleX||t,n=e.scaleY||n):r&&(t=r.getValue("scaleX",1),n=r.getValue("scaleY",1)),{scaleX:rl(t,Sl),scaleY:rl(n,Sl)}},t.useDomEvent=qe,t.useDragControls=function(){return M(yl)},t.useElementScroll=function(e){return Ct(!1,"useElementScroll is deprecated. Convert to useScroll({ container: ref })."),cl({container:e})},t.useForceUpdate=Di,t.useInView=function(e,{root:t,margin:n,amount:o,once:i=!1}={}){const[l,s]=r.useState(!1);return r.useEffect((()=>{if(!e.current||i&&l)return;const r={root:t&&t.current||void 0,margin:n,amount:"some"===o?"any":o};return a.inView(e.current,(()=>(s(!0),i?void 0:()=>s(!1))),r)}),[t,e,n,i]),l},t.useInstantLayoutTransition=wl,t.useInstantTransition=function(){const[e,t]=Di(),n=wl();return r.useEffect((()=>{Zt.postRender((()=>Zt.postRender((()=>Fn.current=!1))))}),[t]),t=>{n((()=>{Fn.current=!0,e(),t()}))}},t.useIsPresent=function(){return null===(e=r.useContext(m))||e.isPresent;var e},t.useIsomorphicLayoutEffect=v,t.useMotionTemplate=function(e,...t){const n=e.length;return nl(t,(function(){let r="";for(let o=0;o<n;o++)r+=e[o],t[o]&&(r+=t[o].get());return r}))},t.useMotionValue=Ji,t.useMotionValueEvent=function(e,t,n){v((()=>e.on(t,n)),[e,t,n])},t.usePresence=Nt,t.useReducedMotion=ml,t.useReducedMotionConfig=function(){const e=ml(),{reducedMotion:t}=r.useContext(c);return"never"!==t&&("always"===t||e)},t.useResetProjection=function(){return u.useCallback((()=>{const e=ji.current;e&&e.resetTree()}),[])},t.useScroll=cl,t.useSpring=function(e,t={}){const{isStatic:n}=r.useContext(c),o=r.useRef(null),a=Ji(Z(e)?e.get():e);return r.useMemo((()=>a.attach(((e,r)=>n?r(e):(o.current&&o.current.stop(),o.current=Rr({keyframes:[a.get(),e],velocity:a.getVelocity(),type:"spring",...t,onUpdate:r}),a.get())))),[JSON.stringify(t)]),function(e,t){v((()=>{if(Z(e))return t(e.get()),e.on("change",t)}),[e,t])}(e,(e=>a.set(parseFloat(e)))),a},t.useTime=function(){const e=Ji(0);return dl((t=>e.set(t))),e},t.useTransform=rl,t.useUnmountEffect=bt,t.useVelocity=function(e){const t=Ji(e.getVelocity());return r.useEffect((()=>e.on("velocityChange",(e=>{t.set(e)}))),[e]),t},t.useViewportScroll=function(){return Ct(!1,"useViewportScroll is deprecated. Convert to useScroll()."),cl()},t.useVisualElementContext=f,t.useWillChange=function(){return M((()=>new fl("auto")))},t.wrap=gl,t.wrapHandler=nt},23401:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,l=(e.icon,e.className),s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),u=["gridicon","gridicons-chevron-down",l,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:u,height:n,width:n,onClick:r},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586z"})))};var r,o=(r=n(70079))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},60285:function(e,t){"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},10110:function(e){"use strict";e.exports=function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,l=void 0===n?".":n,s="";return s=(a?function(e,t){if(-1===(""+e).indexOf("e"))return+(Math.round(e+"e+"+t)+"e-"+t);var n=(""+e).split("e"),r="";return+n[1]+t>0&&(r="+"),(+(Math.round(+n[0]+"e"+r+(+n[1]+t))+"e-"+t)).toFixed(t)}(o,a).toString():""+Math.round(o)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(s[1]||"").length<a&&(s[1]=s[1]||"",s[1]+=new Array(a-s[1].length+1).join("0")),s.join(l)}},88429:function(){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,a){return!!this.paused||!t[o]&&!t[a]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},45742:function(e,t,n){"use strict";n.r(t),n.d(t,{Radio:function(){return r.Y},RadioGroup:function(){return o.E},useRadio:function(){return r.x},useRadioGroup:function(){return o.a},useRadioState:function(){return a.i}}),n(70079),n(87274);var r=n(9106),o=n(27920),a=n(85761)},3178:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},z:function(){return l}});var r=n(8036),o=n(77134),a=n(90703),i=n(33508),l=(0,a.B)({name:"Separator",compose:i.q,keys:["orientation"],useOptions:function(e){var t=e.orientation,n=void 0===t?"horizontal":t,o=(0,r._)(e,["orientation"]);return(0,r.a)({orientation:n},o)},useProps:function(e,t){return(0,r.a)({role:"separator","aria-orientation":e.orientation},t)}}),s=(0,o.L)({as:"hr",memo:!0,useHook:l})},61905:function(e,t,n){"use strict";n.d(t,{J:function(){return u},h:function(){return s}});var r=n(8036),o=n(77134),a=n(90703),i=n(3178),l=n(11795),s=(0,a.B)({name:"ToolbarSeparator",compose:i.z,keys:l.b,useOptions:function(e){var t=e.orientation,n=void 0===t?"vertical":t,o=(0,r._)(e,["orientation"]);return(0,r.a)({orientation:"vertical"===n?"horizontal":"vertical"},o)}}),u=(0,o.L)({as:"hr",memo:!0,useHook:s})},47479:function(e,t,n){"use strict";n.r(t),n.d(t,{Toolbar:function(){return r.o},ToolbarItem:function(){return o.E},ToolbarSeparator:function(){return a.J},useToolbar:function(){return r.S},useToolbarItem:function(){return o.N},useToolbarSeparator:function(){return a.h},useToolbarState:function(){return i.U}}),n(70079),n(87274);var r=n(8496),o=n(61244),a=n(61905),i=n(1482)},86683:function(e,t,n){"use strict";n.r(t),n.d(t,{Box:function(){return s},Button:function(){return h},Checkbox:function(){return C},Clickable:function(){return f.P},Composite:function(){return S.b},CompositeGroup:function(){return ae.E},CompositeItem:function(){return G.A},Dialog:function(){return ct},DialogBackdrop:function(){return Pt},DialogDisclosure:function(){return Nt},Disclosure:function(){return Tt},DisclosureContent:function(){return Se.k},FormRadioGroupContext:function(){return hn},Group:function(){return oe.Z},Input:function(){return on},Menu:function(){return Kn},MenuArrow:function(){return er},MenuBar:function(){return Gn},MenuButton:function(){return lr},MenuDisclosure:function(){return ur},MenuGroup:function(){return dr},MenuItem:function(){return vr},MenuItemCheckbox:function(){return gr},MenuItemRadio:function(){return yr},MenuSeparator:function(){return xr},Popover:function(){return ht},PopoverArrow:function(){return Qn},PopoverBackdrop:function(){return Or},PopoverDisclosure:function(){return rr},Portal:function(){return Me.h},PortalContext:function(){return Me.w},Provider:function(){return lo},Radio:function(){return vn.Y},RadioGroup:function(){return Sr.E},Role:function(){return c.u},Rover:function(){return Tr},Separator:function(){return _r.Z},Tab:function(){return Ar},TabList:function(){return Hr},TabPanel:function(){return Zr},Tabbable:function(){return d.V},Toolbar:function(){return Ur.o},ToolbarItem:function(){return Gr.E},ToolbarSeparator:function(){return Yr.J},Tooltip:function(){return Kr.u},TooltipArrow:function(){return Jr},TooltipReference:function(){return eo.v},VisuallyHidden:function(){return ro},unstable_Combobox:function(){return Z},unstable_ComboboxGridCell:function(){return re},unstable_ComboboxGridRow:function(){return ue},unstable_ComboboxItem:function(){return te},unstable_ComboboxList:function(){return xe},unstable_ComboboxOption:function(){return Oe},unstable_ComboboxPopover:function(){return bt},unstable_Composite:function(){return S.b},unstable_CompositeGroup:function(){return ae.E},unstable_CompositeItem:function(){return G.A},unstable_CompositeItemWidget:function(){return St},unstable_Form:function(){return Ut},unstable_FormCheckbox:function(){return en},unstable_FormGroup:function(){return nn},unstable_FormInput:function(){return ln},unstable_FormLabel:function(){return un},unstable_FormMessage:function(){return dn},unstable_FormPushButton:function(){return pn},unstable_FormRadio:function(){return _n},unstable_FormRadioGroup:function(){return bn},unstable_FormRemoveButton:function(){return xn},unstable_FormSubmitButton:function(){return Rn},unstable_Grid:function(){return Dn},unstable_GridCell:function(){return Q},unstable_GridRow:function(){return le},unstable_Id:function(){return U.s},unstable_IdContext:function(){return $.U},unstable_IdProvider:function(){return $.s},unstable_useCombobox:function(){return W},unstable_useComboboxGridCell:function(){return ne},unstable_useComboboxGridRow:function(){return se},unstable_useComboboxGridState:function(){return ye},unstable_useComboboxItem:function(){return ee},unstable_useComboboxList:function(){return we},unstable_useComboboxListGridState:function(){return pe},unstable_useComboboxListState:function(){return Ce},unstable_useComboboxOption:function(){return Ee},unstable_useComboboxPopover:function(){return gt},unstable_useComboboxState:function(){return yt},unstable_useCompositeItemWidget:function(){return Ot},unstable_useCompositeState:function(){return de.u},unstable_useForm:function(){return $t},unstable_useFormCheckbox:function(){return Jt},unstable_useFormGroup:function(){return tn},unstable_useFormInput:function(){return an},unstable_useFormLabel:function(){return sn},unstable_useFormMessage:function(){return cn},unstable_useFormPushButton:function(){return mn},unstable_useFormRadio:function(){return yn},unstable_useFormRadioGroup:function(){return gn},unstable_useFormRemoveButton:function(){return wn},unstable_useFormState:function(){return In},unstable_useFormSubmitButton:function(){return Nn},unstable_useGrid:function(){return Ln},unstable_useGridCell:function(){return X},unstable_useGridRow:function(){return ie},unstable_useGridState:function(){return fe},unstable_useId:function(){return U.i},unstable_useIdState:function(){return ce.C},useBox:function(){return l},useButton:function(){return v},useCheckbox:function(){return x},useCheckboxState:function(){return O},useClickable:function(){return f.h},useComposite:function(){return S.Q},useCompositeGroup:function(){return ae.K},useCompositeItem:function(){return G.E},useCompositeState:function(){return de.u},useDialog:function(){return ut},useDialogBackdrop:function(){return Mt},useDialogDisclosure:function(){return It},useDialogState:function(){return he.b},useDisclosure:function(){return jt},useDisclosureContent:function(){return Se.f},useDisclosureState:function(){return ve.b},useGroup:function(){return oe._},useInput:function(){return rn},useMenu:function(){return qn},useMenuArrow:function(){return Jn},useMenuBar:function(){return Un},useMenuBarState:function(){return tr},useMenuButton:function(){return ir},useMenuDisclosure:function(){return sr},useMenuGroup:function(){return cr},useMenuItem:function(){return pr},useMenuItemCheckbox:function(){return hr},useMenuItemRadio:function(){return br},useMenuSeparator:function(){return wr},useMenuState:function(){return Cr},usePopover:function(){return vt},usePopoverArrow:function(){return Xn},usePopoverBackdrop:function(){return Er},usePopoverDisclosure:function(){return nr},usePopoverState:function(){return ge.v},useRadio:function(){return vn.x},useRadioGroup:function(){return Sr.a},useRadioState:function(){return Mr.i},useRole:function(){return c.q},useRover:function(){return jr},useRoverState:function(){return Nr},useSeparator:function(){return _r.z},useTab:function(){return Br},useTabList:function(){return zr},useTabPanel:function(){return Wr},useTabState:function(){return $r},useTabbable:function(){return d.u},useToolbar:function(){return Ur.S},useToolbarItem:function(){return Gr.N},useToolbarSeparator:function(){return Yr.h},useToolbarState:function(){return qr.U},useTooltip:function(){return Kr.l},useTooltipArrow:function(){return Qr},useTooltipReference:function(){return eo.O},useTooltipState:function(){return to.K},useVisuallyHidden:function(){return no}});var r=n(8036),o=n(77134),a=n(90703),i=n(69730),l=(0,a.B)({name:"Box",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,o=(0,r._)(e,["unstable_system"]),a=t.unstable_system,l=(0,r._)(t,["unstable_system"]);return!(n!==a&&!(0,i.w)(n,a))&&(0,i.w)(o,l)}}),s=(0,o.L)({as:"div",useHook:l}),u=n(70079),c=(n(87274),n(33508)),d=n(73194),f=n(32421),m=n(43557),p=n(26863),v=(0,a.B)({name:"Button",compose:f.h,keys:[],useProps:function(e,t){var n=t.ref,o=(0,r._)(t,["ref"]),a=(0,u.useRef)(null),i=(0,u.useState)(void 0),l=i[0],s=i[1],c=(0,u.useState)("button"),d=c[0],f=c[1];return(0,u.useEffect)((function(){var e=a.current;e&&((0,p.i)(e)||("A"!==e.tagName&&s("button"),f(void 0)))}),[]),(0,r.a)({ref:(0,m.c)(a,n),role:l,type:d},o)}}),h=(0,o.L)({as:"button",memo:!0,useHook:v}),g=n(35939);function b(e,t){return-1===t?e:[].concat(e.slice(0,t),e.slice(t+1))}var y=n(96415),_=[].concat(["state","setState"],["value","checked"]);function w(e){return void 0!==e.checked?e.checked:void 0===e.value?!!e.state:-1!==(Array.isArray(e.state)?e.state:[]).indexOf(e.value)}var x=(0,a.B)({name:"Checkbox",compose:f.h,keys:_,useOptions:function(e,t){var n=t.value,o=t.checked,a=e.unstable_clickOnEnter,i=void 0!==a&&a,l=(0,r._)(e,["unstable_clickOnEnter"]);return(0,r.a)({unstable_clickOnEnter:i,value:n,checked:w((0,r.a)({checked:o},l))},l)},useProps:function(e,t){var n=t.ref,o=t.onChange,a=t.onClick,i=(0,r._)(t,["ref","onChange","onClick"]),l=(0,u.useRef)(null),s=(0,u.useState)(!0),c=s[0],d=s[1],f=(0,g.c)(o),p=(0,g.c)(a);(0,u.useEffect)((function(){var e=l.current;e&&("INPUT"===e.tagName&&"checkbox"===e.type||d(!1))}),[]),function(e,t){(0,u.useEffect)((function(){var n=e.current;n&&("indeterminate"===t.state?n.indeterminate=!0:n.indeterminate&&(n.indeterminate=!1))}),[t.state,e])}(l,e);var v=(0,u.useCallback)((function(t){var n=t.currentTarget;if(e.disabled)return t.stopPropagation(),void t.preventDefault();if(f.current&&(c||(n.checked=!n.checked),f.current(t)),e.setState)if(void 0===e.value)e.setState(!e.checked);else{var r=Array.isArray(e.state)?e.state:[],o=r.indexOf(e.value);-1===o?e.setState([].concat(r,[e.value])):e.setState(b(r,o))}}),[e.disabled,c,e.setState,e.value,e.checked,e.state]),h=(0,u.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),e.defaultPrevented||c||function(e,t){var n=(0,y.y)(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}(e.currentTarget,v)}),[c,v]);return(0,r.a)({ref:(0,m.c)(l,n),role:c?void 0:"checkbox",type:c?"checkbox":void 0,value:c?e.value:void 0,checked:e.checked,"aria-checked":"indeterminate"===e.state?"mixed":e.checked,onChange:v,onClick:h},i)}}),C=(0,o.L)({as:"input",memo:!0,useHook:x}),E=n(25379);function O(e){void 0===e&&(e={});var t=(0,E.T)(e).state,n=void 0!==t&&t,r=(0,u.useState)(n);return{state:r[0],setState:r[1]}}var S=n(60369);function M(e,t){var n=(0,u.useRef)(!1);(0,u.useEffect)((function(){if(n.current)return e();n.current=!0}),t)}var P=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","items","menuRole","inputValue","minValueLength","currentValue","values","limit","matches","list","inline","autoSelect","visible","setBaseId","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","registerItem","setInputValue","setMinValueLength","setValues","setLimit","setList","setInline","setAutoSelect"],k=[].concat(P,["columns","setColumns"]),j=[].concat(P,["animated","animating","modal","unstable_disclosureRef","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","show","hide","toggle","setVisible","setAnimated","stopAnimation","setModal","place"]),T=[].concat(k,j),I=[].concat(T,["hideOnEsc"]),N=T,R=N,L=[].concat(R,["value"]),D=R,V=D,B=V;function A(e){return e+"-menu"}function z(e,t){var n=A(e);return t?t+" "+n:n}function H(e){return e.list&&e.inline?"both":e.list?"list":e.inline?"inline":"none"}function F(e,t){return!!t&&t.length>e.length&&0===t.toLowerCase().indexOf(e.toLowerCase())}var W=(0,a.B)({name:"Combobox",compose:S.Q,keys:I,useOptions:function(e){var t=e.menuRole,n=void 0===t?"listbox":t,o=e.hideOnEsc,a=void 0===o||o,i=(0,r._)(e,["menuRole","hideOnEsc"]);return(0,r.a)({menuRole:n,hideOnEsc:a},i)},useProps:function(e,t){var n=t.ref,o=t.onKeyDown,a=t.onKeyPress,i=t.onChange,l=t.onClick,s=t.onBlur,c=t["aria-controls"],d=(0,r._)(t,["ref","onKeyDown","onKeyPress","onChange","onClick","onBlur","aria-controls"]),f=(0,u.useRef)(null),p=(0,u.useReducer)((function(){return{}}),{}),v=p[0],h=p[1],b=(0,g.c)(o),y=(0,g.c)(a),_=(0,g.c)(i),w=(0,g.c)(l),x=(0,g.c)(s),C=function(e){return(0,u.useMemo)((function(){return e.inline?function(e,t,n){if(!t)return!1;var r=e.find((function(e){return!e.disabled}));return n&&(null==r?void 0:r.id)===n}(e.items,e.autoSelect,e.currentId)?F(e.inputValue,e.currentValue)?e.inputValue+function(e,t){if(!t)return"";var n=t.toLowerCase().indexOf(e.toLowerCase());return t.slice(n+e.length)}(e.inputValue,e.currentValue):e.inputValue:e.currentValue||e.inputValue:e.inputValue}),[e.inline,e.inputValue,e.autoSelect,e.items,e.currentId,e.currentValue])}(e),E=(0,u.useRef)(!1);(0,u.useEffect)((function(){var t;if(e.inline&&e.autoSelect&&e.currentValue&&e.currentId===(null===(t=e.items.find((function(e){return!e.disabled})))||void 0===t?void 0:t.id)&&F(e.inputValue,e.currentValue)){var n=f.current;null==n||n.setSelectionRange(e.inputValue.length,e.currentValue.length)}}),[v,e.inline,e.autoSelect,e.currentValue,e.inputValue,e.currentId,e.items]),M((function(){e.autoSelect&&e.items.length&&E.current?e.setCurrentId(void 0):e.setCurrentId(null)}),[e.items,e.inputValue,e.autoSelect,e.setCurrentId]);var O=(0,u.useCallback)((function(t){var n,r;null===(n=b.current)||void 0===n||n.call(b,t),E.current=!1,t.defaultPrevented||"Escape"===t.key&&e.hideOnEsc&&(null===(r=e.hide)||void 0===r||r.call(e))}),[e.hideOnEsc,e.hide]),S=(0,u.useCallback)((function(e){var t;null===(t=y.current)||void 0===t||t.call(y,e),E.current=!0}),[]),P=(0,u.useCallback)((function(t){var n,r,o,a,i;null===(n=_.current)||void 0===n||n.call(_,t),t.defaultPrevented||(null===(r=e.show)||void 0===r||r.call(e),null===(o=e.setInputValue)||void 0===o||o.call(e,t.target.value),h(),e.autoSelect&&E.current?null===(a=e.setCurrentId)||void 0===a||a.call(e,void 0):null===(i=e.setCurrentId)||void 0===i||i.call(e,null))}),[e.show,e.autoSelect,e.setCurrentId,e.setInputValue]),k=(0,u.useCallback)((function(t){var n,r,o;(null===(n=w.current)||void 0===n||n.call(w,t),t.defaultPrevented)||((!e.minValueLength||C.length>=e.minValueLength)&&(null===(o=e.show)||void 0===o||o.call(e)),null===(r=e.setCurrentId)||void 0===r||r.call(e,null),e.setInputValue(C))}),[e.show,e.setCurrentId,e.setInputValue,e.minValueLength,C]),j=(0,u.useCallback)((function(t){var n;null===(n=x.current)||void 0===n||n.call(x,t),t.defaultPrevented||e.setInputValue(C)}),[e.setInputValue,C]);return(0,r.a)({ref:(0,m.c)(f,(0,m.c)(e.unstable_referenceRef,n)),role:"combobox",autoComplete:"off","aria-controls":z(e.baseId,c),"aria-haspopup":e.menuRole,"aria-expanded":e.visible,"aria-autocomplete":H(e),value:C,onKeyDown:O,onKeyPress:S,onChange:P,onClick:k,onBlur:j},d)},useComposeProps:function(e,t){var n=t.onKeyUp,o=t.onKeyDownCapture,a=t.onKeyDown,i=(0,r._)(t,["onKeyUp","onKeyDownCapture","onKeyDown"]),l=(0,S.Q)(e,i,!0),s=(0,g.c)(o),c=(0,g.c)(a),d=(0,u.useCallback)((function(t){var n,r;if(null===(n=s.current)||void 0===n||n.call(s,t),!t.defaultPrevented){if("grid"!==e.menuRole){if("Home"===t.key)return;if("End"===t.key)return}1!==t.key.length&&(null===(r=l.onKeyDownCapture)||void 0===r||r.call(l,t))}}),[e.menuRole,l.onKeyDownCapture]),f=(0,u.useCallback)((function(t){var n,r,o;(null===(n=c.current)||void 0===n||n.call(c,t),t.defaultPrevented||null!==e.currentId||"ArrowLeft"===t.key||"ArrowRight"===t.key||"Home"===t.key||"End"===t.key)||(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||"ArrowUp"!==t.key&&"ArrowDown"!==t.key&&1!==t.key.length||null===(o=e.show)||void 0===o||o.call(e),null===(r=l.onKeyDown)||void 0===r||r.call(l,t))}),[e.currentId,e.show,l.onKeyDown]);return(0,r.a)((0,r.a)({},l),{},{onKeyDownCapture:d,onKeyDown:f,onKeyUp:n})}}),Z=(0,o.L)({as:"input",memo:!0,useHook:W}),$=n(57958),U=n(92754),G=n(83453),Y=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],q=Y,K=q,X=(0,a.B)({name:"GridCell",compose:G.E,keys:q,useProps:function(e,t){return(0,r.a)({role:"gridcell"},t)}}),Q=(0,o.L)({as:"span",memo:!0,useHook:X});function J(e,t,n){return n||e+"-"+t.toLowerCase().replace(/[^a-z0-9]/g,"-")}var ee=(0,a.B)({name:"ComboboxItem",compose:l,keys:L,propsAreEqual:function(e,t){if(e.value!==t.value)return!1;if(!(e.value&&t.value&&e.baseId&&t.baseId))return G.E.unstable_propsAreEqual(e,t);var n=e.currentValue,o=(e.inputValue,e.matches,(0,r._)(e,["currentValue","inputValue","matches"])),a=t.currentValue,i=(t.inputValue,t.matches,(0,r._)(t,["currentValue","inputValue","matches"]));if(n!==a&&(t.value===n||t.value===a))return!1;var l=J(e.baseId,e.value,e.id),s=J(t.baseId,t.value,e.id);return G.E.unstable_propsAreEqual((0,r.a)((0,r.a)({},o),{},{id:l}),(0,r.a)((0,r.a)({},i),{},{id:s}))},useOptions:function(e){var t=e.disabled&&!e.focusable?void 0:e.value,n=(0,u.useCallback)((function(n){var o;e.visible&&(null===(o=e.registerItem)||void 0===o||o.call(e,(0,r.a)((0,r.a)({},n),{},{value:t})))}),[e.registerItem,e.visible,t]);if(e.id||!e.baseId||!e.value)return(0,r.a)((0,r.a)({},e),{},{registerItem:n});var o=J(e.baseId,e.value,e.id);return(0,r.a)((0,r.a)({},e),{},{registerItem:n,id:o})},useProps:function(e,t){var n=t.onClick,o=(0,r._)(t,["onClick"]),a=(0,g.c)(n),i=(0,u.useCallback)((function(t){var n,r,o;null===(n=a.current)||void 0===n||n.call(a,t),t.defaultPrevented||e.value&&(null===(r=e.hide)||void 0===r||r.call(e),null===(o=e.setInputValue)||void 0===o||o.call(e,e.value))}),[e.hide,e.setInputValue,e.value]);return(0,r.a)({children:e.value,onClick:i,tabIndex:-1},o)}}),te=(0,o.L)({as:"span",memo:!0,useHook:ee}),ne=(0,a.B)({name:"ComboboxGridCell",compose:[ee,X],keys:N}),re=(0,o.L)({as:"span",memo:!0,useHook:ne}),oe=n(74661),ae=n(19386),ie=(0,a.B)({name:"GridRow",compose:ae.K,keys:K,useProps:function(e,t){return(0,r.a)({role:"row"},t)}}),le=(0,o.L)({as:"div",useHook:ie}),se=(0,a.B)({name:"ComboboxGridRow",compose:ie,keys:R}),ue=(0,o.L)({as:"div",useHook:se}),ce=n(58992),de=n(77996);function fe(e){void 0===e&&(e={});var t=(0,E.T)(e);return(0,de.u)(t)}function me(e,t){var n=void 0===t?{}:t,o=n.inputValue,a=void 0===o?"":o,i=n.minValueLength,l=void 0===i?0:i,s=n.values,c=void 0===s?[]:s,d=n.limit,f=void 0===d?10:d,m=n.list,p=void 0===m?!!c.length:m,v=n.inline,h=void 0!==v&&v,g=n.autoSelect,b=void 0!==g&&g,y=(0,u.useRef)({}),_=(0,u.useState)(a),w=_[0],x=_[1],C=(0,u.useState)(l),E=C[0],O=C[1],S=(0,u.useState)(c),M=S[0],P=S[1],k=(0,u.useState)(f),j=k[0],T=k[1],I=(0,u.useState)(p),N=I[0],R=I[1],L=(0,u.useState)(h),D=L[0],V=L[1],B=(0,u.useState)(b),A=B[0],z=B[1],H=(0,u.useMemo)((function(){return function(e,t,n,o,a,i){if(0===n||e.length<i)return[];var l=!1===n?void 0:n;if(!o)return t.slice(0,l);var s=new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),u=[];if(a){var c=t.find((function(e){return 0===e.search(s)}));c&&u.push(c)}for(var d,f=(0,r.b)(t);!(d=f()).done;){var m=d.value;if(l&&u.length>=l)break;m!==u[0]&&-1!==m.search(s)&&u.push(m)}return u}(w,M,j,N,A,E)}),[w,M,j,N,A,E]),F=(0,u.useMemo)((function(){return e.currentId?y.current[e.currentId]:void 0}),[y,e.currentId]),W=(0,u.useMemo)((function(){return e.items.forEach((function(e){e.id&&(e.value=y.current[e.id])})),e.items}),[e.items]),Z=(0,u.useCallback)((function(t){e.registerItem(t),t.id&&(y.current[t.id]=t.value)}),[e.registerItem]),$=(0,u.useCallback)((function(t){e.unregisterItem(t),delete y.current[t]}),[e.unregisterItem]);return(0,r.a)((0,r.a)({},e),{},{menuRole:"listbox",items:W,registerItem:Z,unregisterItem:$,visible:!0,inputValue:w,minValueLength:E,currentValue:F,values:M,limit:j,matches:H,list:N,inline:D,autoSelect:A,setInputValue:x,setMinValueLength:O,setValues:P,setLimit:T,setList:R,setInline:V,setAutoSelect:z})}function pe(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.columns,o=void 0===n?1:n,a=t.currentId,i=void 0===a?null:a,l=t.loop,s=void 0===l||l,c=(0,r._)(t,["columns","currentId","loop"]),d=(0,u.useState)(o),f=d[0],m=d[1],p=me(fe((0,r.a)((0,r.a)({currentId:i,loop:s},c),{},{unstable_virtual:!0,unstable_includesBaseElement:!0})),c),v=(0,u.useMemo)((function(){return function(e,t){for(var n=[],r=0,o=e.length;r<o;r+=t)n.push(e.slice(r,r+t));return n}(p.matches,f)}),[p.matches,f]);return(0,r.a)((0,r.a)({},p),{},{menuRole:"grid",columns:f,matches:v,setColumns:m})}var ve=n(94539),he=n(69131),ge=n(66887);function be(e,t){void 0===t&&(t={});var n=t,o=n.gutter,a=void 0===o?0:o,i=n.placement,l=void 0===i?"bottom-start":i,s=(0,r._)(n,["gutter","placement"]),c=(0,ge.v)((0,r.a)({gutter:a,placement:l},s)),d=c.visible&&e.inputValue.length>=e.minValueLength;return(0,u.useEffect)((function(){d||e.reset()}),[d,e.reset]),(0,r.a)((0,r.a)((0,r.a)({},e),c),{},{visible:d})}function ye(e){void 0===e&&(e={});var t=(0,E.T)(e);return be(pe(t),t)}var _e=n(43537),we=(0,a.B)({name:"ComboboxList",compose:l,keys:D,useOptions:function(e){var t=e.menuRole,n=void 0===t?"listbox":t,o=(0,r._)(e,["menuRole"]);return(0,r.a)({menuRole:n},o)},useProps:function(e,t){return(0,r.a)({role:e.menuRole,id:A(e.baseId)},t)}}),xe=(0,o.L)({as:"div",useHook:we,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}});function Ce(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.currentId,o=void 0===n?null:n,a=t.orientation,i=void 0===a?"vertical":a,l=t.loop,s=void 0===l||l,u=(0,r._)(t,["currentId","orientation","loop"]);return me((0,de.u)((0,r.a)((0,r.a)({currentId:o,orientation:i,loop:s},u),{},{unstable_virtual:!0,unstable_includesBaseElement:!0})),u)}var Ee=(0,a.B)({name:"ComboboxOption",compose:[ee,G.E],keys:V,useProps:function(e,t){return(0,r.a)({role:"option"},t)}}),Oe=(0,o.L)({as:"div",memo:!0,useHook:Ee}),Se=n(74459),Me=(n(99581),n(37848)),Pe=n(57580),ke=n(51966),je=n(47209),Te=n(75991),Ie=n(69397),Ne=n(91628);function Re(e,t){var n=e.indexOf(t);return b(e,n)}var Le=(0,u.createContext)(null),De=!1;if("undefined"!=typeof window){var Ve={get passive(){De=!0}};window.addEventListener("testPassive",null,Ve),window.removeEventListener("testPassive",null,Ve)}var Be="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),Ae=[],ze=!1,He=-1,Fe=void 0,We=void 0,Ze=function(e){return Ae.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},$e=function(e){var t=e||window.event;return!!Ze(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},Ue=n(15454);function Ge(e,t){if("closest"in e)return e.closest(t);do{if((0,Ue.w)(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}var Ye=n(84931),qe=n(86310),Ke=(0,u.createContext)(void 0),Xe=n(12277);function Qe(e){return Array.isArray(e)?!e.length:(0,Xe.K)(e)?!Object.keys(e).length:null==e||""===e}var Je=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal"],et=[].concat(Je,["hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_initialFocusRef","unstable_finalFocusRef","unstable_orphan","unstable_autoFocusOnShow","unstable_autoFocusOnHide"]),tt=Je,nt=tt;function rt(e,t){var n=Boolean(t.preventBodyScroll&&t.visible);(0,u.useEffect)((function(){var t=e.current;if(t&&n)return function(e,t){if(e){if(!Ae.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Ae=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Ae),[n]),Be?(e.ontouchstart=function(e){1===e.targetTouches.length&&(He=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-He;!Ze(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?$e(e):e.stopPropagation())}(t,e)},ze||(document.addEventListener("touchmove",$e,De?{passive:!1}:void 0),ze=!0)):function(e){if(void 0===We){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(We=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Fe&&(Fe=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}(t,{reserveScrollBarGap:!0}),function(){var e;(e=t)?(Ae=Ae.filter((function(t){return t.targetElement!==e})),Be?(e.ontouchstart=null,e.ontouchmove=null,ze&&0===Ae.length&&(document.removeEventListener("touchmove",$e,De?{passive:!1}:void 0),ze=!1)):Ae.length||(void 0!==We&&(document.body.style.paddingRight=We,We=void 0),void 0!==Fe&&(document.body.style.overflow=Fe,Fe=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}),[e,n])}function ot(e){null!=e.parentNode&&e.parentNode.removeChild(e)}var at="__reakit-focus-trap";var it=(0,u.createContext)({});function lt(e,t,n,r,o,a,i){var l=(0,g.c)(o);(0,u.useEffect)((function(){if(a){var o=function(r){if(l.current){var o,a=e.current,i=t.current,s=r.target;a&&function(e){var t=(0,Te.M)(e);return"HTML"===e.tagName||(0,qe.r)(t.body,e)}(s)&&((0,qe.r)(a,s)||i&&function(e,t){return(0,qe.r)(t,e)}(s,i)||(null===(o=s.classList)||void 0===o?void 0:o.contains(at))||n.some(function(e){return function(t){var n=t.current;if(!n)return!1;if((0,qe.r)(n,e))return!0;var r=(0,Te.M)(n).querySelector('[data-dialog-ref="'+n.id+'"]');return!!r&&(0,qe.r)(r,e)}}(s))||l.current(r))}},s=(0,Te.M)(e.current);return s.addEventListener(r,o,i),function(){return s.removeEventListener(r,o,i)}}}),[e,t,n,r,a,l])}function st(e){return e&&e.tagName&&"HTML"!==e.tagName&&e!==(0,Te.M)(e).body}var ut=(0,a.B)({name:"Dialog",compose:Se.f,keys:et,useOptions:function(e){var t=e.modal,n=void 0===t||t,o=e.hideOnEsc,a=void 0===o||o,i=e.hideOnClickOutside,l=void 0===i||i,s=e.preventBodyScroll,u=void 0===s?n:s,c=e.unstable_autoFocusOnShow,d=void 0===c||c,f=e.unstable_autoFocusOnHide,m=void 0===f||f,p=e.unstable_orphan,v=(0,r._)(e,["modal","hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_autoFocusOnShow","unstable_autoFocusOnHide","unstable_orphan"]);return(0,r.a)({modal:n,hideOnEsc:a,hideOnClickOutside:l,preventBodyScroll:n&&u,unstable_autoFocusOnShow:d,unstable_autoFocusOnHide:m,unstable_orphan:n&&p},v)},useProps:function(e,t){var n=t.ref,o=t.onKeyDown,a=t.onBlur,i=t.wrapElement,l=t.tabIndex,s=(0,r._)(t,["ref","onKeyDown","onBlur","wrapElement","tabIndex"]),c=(0,u.useRef)(null),d=(0,u.useContext)(Ke),f=d&&d===e.baseId,v=function(e,t){var n=(0,u.useRef)(null),r=!(!t.animated||!t.animating);return(0,u.useEffect)((function(){if(!t.visible&&!r){var o=function(e){var r=e.target;"focus"in r&&(n.current=r,t.unstable_disclosureRef&&(t.unstable_disclosureRef.current=r))},a=(0,Te.M)(e.current);return a.addEventListener("focusin",o),function(){return a.removeEventListener("focusin",o)}}}),[t.visible,r,t.unstable_disclosureRef,e]),(0,u.useEffect)((function(){var e;if(t.visible&&!r){var o=function(e){var t=e.currentTarget;(0,p.i)(t)&&(e.preventDefault(),t.focus())},a=(null===(e=t.unstable_disclosureRef)||void 0===e?void 0:e.current)||n.current;return null==a||a.addEventListener("mousedown",o),function(){return null==a?void 0:a.removeEventListener("mousedown",o)}}}),[t.visible,r,t.unstable_disclosureRef]),t.unstable_disclosureRef||n}(c,e),h=(0,g.c)(o),b=(0,g.c)(a),y=function(e,t){var n=(0,u.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return(0,Pe.Y)((function(){var n=e.current;t.visible&&r&&(st((0,Ye.v)(n))||null==n||n.focus())}),[r,e]),(0,u.useCallback)((function(e){t.visible&&(st((0,Ie.a)(e))||o())}),[t.visible])}(c,e),_=function(e,t){var n=(0,u.useContext)(it),r=(0,u.useState)([]),o=r[0],a=r[1],i=(0,u.useState)(o),l=i[0],s=i[1],c=(0,u.useCallback)((function(e){var t;null===(t=n.addDialog)||void 0===t||t.call(n,e),a((function(t){return[].concat(t,[e])}))}),[n.addDialog]),d=(0,u.useCallback)((function(e){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e),a((function(t){return Re(t,e)}))}),[n.removeDialog]),f=(0,u.useCallback)((function(e){var t;null===(t=n.showDialog)||void 0===t||t.call(n,e),s((function(t){return[].concat(t,[e])}))}),[n.showDialog]),m=(0,u.useCallback)((function(e){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e),s((function(t){return Re(t,e)}))}),[n.hideDialog]);(0,u.useEffect)((function(){var r;if(!t.unstable_orphan)return null===(r=n.addDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,n.addDialog,e,n.removeDialog]),(0,u.useEffect)((function(){var r;if(!t.unstable_orphan&&t.modal&&t.visible)return null===(r=n.showDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,t.modal,t.visible,n.showDialog,e,n.hideDialog]),(0,u.useEffect)((function(){var e;!1===n.visible&&t.visible&&!t.unstable_orphan&&(null===(e=t.hide)||void 0===e||e.call(t))}),[n.visible,t.visible,t.hide,t.unstable_orphan]);var p=(0,u.useMemo)((function(){return{visible:t.visible,addDialog:c,removeDialog:d,showDialog:f,hideDialog:m}}),[t.visible,c,d,f,m]);return{dialogs:o,visibleModals:l,wrap:(0,u.useCallback)((function(e){return(0,u.createElement)(it.Provider,{value:p},e)}),[p])}}(c,e),w=_.dialogs,x=_.visibleModals,C=_.wrap,E=!(!e.modal||x.length)||void 0;rt(c,e),function(e,t,n){var r=function(e,t){var n=(0,u.useRef)(null);return(0,u.useEffect)((function(){var r=e.current;r&&t.visible&&(n.current=Ge(r,Me.h.__selector))}),[e,t.visible]),n}(e,n),o=n.visible&&n.modal,a=(0,u.useRef)(null),i=(0,u.useRef)(null);(0,u.useEffect)((function(){if(o){var e=r.current;if(e){if(!a.current){var t=(0,Te.M)(e);a.current=t.createElement("div"),a.current.className=at,a.current.tabIndex=0,a.current.style.position="fixed",a.current.setAttribute("aria-hidden","true")}return i.current||(i.current=a.current.cloneNode()),e.insertAdjacentElement("beforebegin",a.current),e.insertAdjacentElement("afterend",i.current),function(){a.current&&ot(a.current),i.current&&ot(i.current)}}}}),[r,o]),(0,u.useEffect)((function(){var n=a.current,r=i.current;if(o&&n&&r){var l=function(n){var o=e.current;if(o&&!t.length){n.preventDefault();var a=n.target===r?(0,je.YC)(o):(0,je.KE)(o);a?a.focus():o.focus()}};return n.addEventListener("focus",l),r.addEventListener("focus",l),function(){n.removeEventListener("focus",l),r.removeEventListener("focus",l)}}}),[e,t,o])}(c,x,e),function(e,t){(0,u.useEffect)((function(){var n=e.current;if(t.visible&&n){var r=new MutationObserver((function(e){if(e[0].target===n){var t=(0,Te.M)(n),r=(0,Ye.v)(n);(r===t.body||Qe(r))&&n.focus()}}));return r.observe(n,{childList:!0,subtree:!0}),function(){r.disconnect()}}}),[t.visible,e])}(c,e),function(e,t,n){var r=n.unstable_initialFocusRef,o=n.visible&&n.unstable_autoFocusOnShow,a=!(!n.animated||!n.animating);M((function(){var n=e.current;if(o&&n&&!a&&!t.some((function(e){return e.current&&!e.current.hidden})))if(null!=r&&r.current)r.current.focus({preventScroll:!0});else{var i=(0,je.YC)(n,!0),l=function(){return(0,ke.B)(n)};i?(0,Ne.I)(i,{preventScroll:!0,isActive:l}):(0,Ne.I)(n,{preventScroll:!0,isActive:l})}}),[e,o,a,t,r])}(c,w,e),function(e,t,n){var r=n.unstable_autoFocusOnHide&&!n.visible,o=!(!n.animated||!n.animating);M((function(){var a;if(r&&!o&&!function(e){var t=e.current;if(!t)return!1;var n=(0,Ye.v)(t);return!(!n||(0,qe.r)(t,n)||!(0,je.Wq)(n)&&"true"!==n.getAttribute("data-dialog"))}(e)){var i=(null===(a=n.unstable_finalFocusRef)||void 0===a?void 0:a.current)||t.current;if(i){if(i.id){var l=(0,Te.M)(i).querySelector("[aria-activedescendant='"+i.id+"']");if(l)return void(0,Ne.I)(l)}(0,Ne.I)(i)}}}),[r,o,e,t])}(c,v,e),function(e,t,n,r){var o=function(e,t){var n=(0,u.useRef)();return(0,u.useEffect)((function(){if(t.visible&&t.hideOnClickOutside){var r=(0,Te.M)(e.current),o=function(e){n.current=e.target};return r.addEventListener("mousedown",o),function(){return r.removeEventListener("mousedown",o)}}}),[t.visible,t.hideOnClickOutside,e]),n}(e,r);lt(e,t,n,"click",(function(e){var t;o.current===e.target&&(null===(t=r.hide)||void 0===t||t.call(r))}),r.visible&&r.hideOnClickOutside),lt(e,t,n,"focusin",(function(t){var n,o=(0,Te.M)(e.current);t.target!==o&&t.target!==o.body&&(null===(n=r.hide)||void 0===n||n.call(r))}),r.visible&&r.hideOnClickOutside)}(c,v,w,e),function(e,t,n){var r=function(r){return lt(e,{current:null},t,r,(function(e){e.stopPropagation(),e.preventDefault()}),n.visible&&n.modal,!0)};r("mouseover"),r("mousemove"),r("mouseout")}(c,w,e);var O=(0,u.useCallback)((function(t){var n;null===(n=h.current)||void 0===n||n.call(h,t),t.defaultPrevented||"Escape"===t.key&&e.hideOnEsc&&e.hide&&(t.stopPropagation(),e.hide())}),[e.hideOnEsc,e.hide]),S=(0,u.useCallback)((function(e){var t;null===(t=b.current)||void 0===t||t.call(b,e),y(e)}),[y]),P=(0,u.useCallback)((function(t){return t=C(t),e.modal&&!f&&(t=(0,u.createElement)(Me.h,null,t)),i&&(t=i(t)),(0,u.createElement)(Le.Provider,{value:null},t)}),[C,e.modal,f,i]);return(0,r.a)({ref:(0,m.c)(c,n),role:"dialog",tabIndex:null!=l?l:-1,"aria-modal":E,"data-dialog":!0,onKeyDown:O,onBlur:S,wrapElement:P},s)}}),ct=(0,o.L)({as:"div",useHook:ut,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}}),dt=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place"],ft=[].concat(dt,["size"]),mt=dt,pt=mt,vt=(0,a.B)({name:"Popover",compose:ut,keys:dt,useOptions:function(e){var t=e.modal,n=void 0!==t&&t,o=(0,r._)(e,["modal"]);return(0,r.a)({modal:n},o)},useProps:function(e,t){var n=t.ref,o=t.style,a=(0,r._)(t,["ref","style"]);return(0,r.a)({ref:(0,m.c)(e.unstable_popoverRef,n),style:(0,r.a)((0,r.a)({},e.unstable_popoverStyles),o)},a)}}),ht=(0,o.L)({as:"div",useHook:vt,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}}),gt=(0,a.B)({name:"ComboboxPopover",compose:[we,vt],keys:B,useOptions:function(e){return(0,r.a)((0,r.a)({},e),{},{unstable_disclosureRef:e.unstable_referenceRef,unstable_autoFocusOnShow:!1,unstable_autoFocusOnHide:!1})},useComposeProps:function(e,t){var n=t.tabIndex,o=(0,r._)(t,["tabIndex"]);return o=we(e,o,!0),o=vt(e,o,!0),(0,r.a)((0,r.a)({},o),{},{tabIndex:null!=n?n:void 0})}}),bt=(0,o.L)({as:"div",useHook:gt,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}});function yt(e){void 0===e&&(e={});var t=(0,E.T)(e);return be(Ce(t),t)}var _t=n(62259),wt=n(72068),xt=n(69309),Ct=n(21194);function Et(e,t){var n;t&&(null===(n=(0,Te.M)(e).getElementById(t))||void 0===n||n.focus())}var Ot=(0,a.B)({name:"CompositeItemWidget",compose:c.q,keys:wt.c,useProps:function(e,t){var n=t.onFocus,o=t.onBlur,a=t.onKeyDown,i=(0,r._)(t,["onFocus","onBlur","onKeyDown"]),l=(0,u.useRef)(""),s=(0,g.c)(n),c=(0,g.c)(o),d=(0,g.c)(a),f=(0,u.useCallback)((function(t){var n,r;null===(n=s.current)||void 0===n||n.call(s,t),null===(r=e.unstable_setHasActiveWidget)||void 0===r||r.call(e,!0),(0,xt.e)(t.currentTarget)&&(l.current=t.currentTarget.value)}),[e.unstable_setHasActiveWidget]),m=(0,u.useCallback)((function(t){var n,r;null===(n=c.current)||void 0===n||n.call(c,t),null===(r=e.unstable_setHasActiveWidget)||void 0===r||r.call(e,!1)}),[e.unstable_setHasActiveWidget]),p=(0,u.useCallback)((function(t){var n;if(null===(n=d.current)||void 0===n||n.call(d,t),!t.defaultPrevented&&(0,_t.U)(t)&&!t.nativeEvent.isComposing){var r=t.currentTarget;if("Enter"===t.key){if((0,xt.e)(r)){if("TEXTAREA"===r.tagName&&t.shiftKey)return;t.preventDefault(),Et(r,e.currentId)}}else"Escape"===t.key&&(Et(r,e.currentId),(0,xt.e)(r)&&(0,Ct.s)(r,l.current))}}),[e.currentId]);return(0,r.a)({tabIndex:e.unstable_hasActiveWidget?0:-1,"data-composite-item-widget":!0,onFocus:f,onBlur:m,onKeyDown:p},i)}}),St=(0,o.L)({as:"div",useHook:Ot}),Mt=(0,a.B)({name:"DialogBackdrop",compose:Se.f,keys:tt,useOptions:function(e){var t=e.modal,n=void 0===t||t,o=(0,r._)(e,["modal"]);return(0,r.a)({modal:n},o)},useProps:function(e,t){var n=t.wrapElement,o=(0,r._)(t,["wrapElement"]),a=(0,u.useCallback)((function(t){return e.modal&&(t=(0,u.createElement)(Me.h,null,(0,u.createElement)(Ke.Provider,{value:e.baseId},t))),n?n(t):t}),[e.modal,n]);return(0,r.a)({id:void 0,"data-dialog-ref":e.baseId,wrapElement:a},o)}}),Pt=(0,o.L)({as:"div",memo:!0,useHook:Mt}),kt=n(26140),jt=(0,a.B)({name:"Disclosure",compose:v,keys:kt.D,useProps:function(e,t){var n=t.onClick,o=t["aria-controls"],a=(0,r._)(t,["onClick","aria-controls"]),i=(0,g.c)(n),l=o?o+" "+e.baseId:e.baseId,s=(0,u.useCallback)((function(t){var n,r;null===(n=i.current)||void 0===n||n.call(i,t),t.defaultPrevented||null===(r=e.toggle)||void 0===r||r.call(e)}),[e.toggle]);return(0,r.a)({"aria-expanded":!!e.visible,"aria-controls":l,onClick:s},a)}}),Tt=(0,o.L)({as:"button",memo:!0,useHook:jt}),It=(0,a.B)({name:"DialogDisclosure",compose:jt,keys:nt,useProps:function(e,t){var n=t.ref,o=t.onClick,a=(0,r._)(t,["ref","onClick"]),i=(0,u.useRef)(null),l=(0,g.c)(o),s=(0,u.useState)(!1),c=s[0],d=s[1],f=e.unstable_disclosureRef;(0,Pe.Y)((function(){var t=i.current;f&&!f.current&&(f.current=t);var n=!(null!=f&&f.current)||f.current===t;d(!!e.visible&&n)}),[e.visible,f]);var p=(0,u.useCallback)((function(e){var t;null===(t=l.current)||void 0===t||t.call(l,e),e.defaultPrevented||f&&(f.current=e.currentTarget)}),[f]);return(0,r.a)({ref:(0,m.c)(i,n),"aria-haspopup":"dialog","aria-expanded":c,onClick:p},a)}}),Nt=(0,o.L)({as:"button",memo:!0,useHook:It}),Rt=["baseId","unstable_idCountRef","values","touched","messages","errors","validating","valid","submitting","submitSucceed","submitFailed","setBaseId","reset","validate","submit","update","blur","push","remove"],Lt=[].concat(Rt,["name","value"]),Dt=[].concat(Rt,["name"]),Vt=Dt,Bt=[].concat(Vt,["label"]),At=Vt,zt=[].concat(At,Lt),Ht=zt,Ft=At,Wt=[].concat(Ft,["index"]),Zt=Rt,$t=(0,a.B)({name:"Form",compose:c.q,keys:Rt,useProps:function(e,t){var n=t.onSubmit,o=(0,r._)(t,["onSubmit"]),a=(0,g.c)(n),i=(0,u.useCallback)((function(t){var n,r;null===(n=a.current)||void 0===n||n.call(a,t),t.defaultPrevented||(t.preventDefault(),null===(r=e.submit)||void 0===r||r.call(e))}),[e.submit]);return(0,r.a)({role:"form",noValidate:!0,onSubmit:i},o)}}),Ut=(0,o.L)({as:"form",useHook:$t});function Gt(e,t){return void 0===t&&(t="."),Array.isArray(e)?e.join(t):e}function Yt(e,t,n){if(void 0===n&&(n=""),t)return t+"-"+Gt(e,"-")+n}function qt(e,t){return Yt(e,t,"-label")}function Kt(e,t,n){if("string"==typeof t)return null==e[t]?n:e[t];for(var o,a=e,i=(0,r.b)(t);!(o=i()).done;){var l=o.value;if(!(l in a))return n;a=a[l]}return null==a?n:a}function Xt(e,t){return Yt(e,t,"-message")}function Qt(e,t){var n=e.touched,r=e.errors;return!(!Kt(n,t)||!Kt(r,t))}var Jt=(0,a.B)({name:"FormCheckbox",compose:x,keys:Lt,useOptions:function(e,t){var n=e.name||t.name,o=void 0!==e.value?e.value:t.value,a=Kt(e.values,n);return(0,r.a)((0,r.a)({},e),{},{state:a,setState:function(t){return e.update(n,t)},name:n,value:o})},useProps:function(e,t){var n=t.onBlur,o=(0,r._)(t,["onBlur"]),a=(0,g.c)(n),i=void 0===e.value,l=(0,u.useCallback)((function(t){var n,r;null===(n=a.current)||void 0===n||n.call(a,t),t.defaultPrevented||null===(r=e.blur)||void 0===r||r.call(e,e.name)}),[e.blur,e.name]);return(0,r.a)((0,r.a)({"aria-invalid":Qt(e,e.name),name:Gt(e.name),onBlur:l},i?{id:Yt(e.name,e.baseId),"aria-describedby":Xt(e.name,e.baseId),"aria-labelledby":qt(e.name,e.baseId)}:{}),o)}}),en=(0,o.L)({as:"input",memo:!0,useHook:Jt}),tn=(0,a.B)({name:"FormGroup",compose:oe._,keys:Dt,useProps:function(e,t){return(0,r.a)({id:Yt(e.name,e.baseId),tabIndex:-1,"aria-describedby":Xt(e.name,e.baseId),"aria-labelledby":qt(e.name,e.baseId),"aria-invalid":Qt(e,e.name)},t)}}),nn=(0,o.L)({as:"fieldset",useHook:tn}),rn=(0,a.B)({name:"Input",compose:d.u,keys:[]}),on=(0,o.L)({as:"input",memo:!0,useHook:rn}),an=(0,a.B)({name:"FormInput",compose:rn,keys:Vt,useOptions:function(e,t){var n=t.name;return(0,r.a)((0,r.a)({},e),{},{name:e.name||n})},useProps:function(e,t){var n=t.onChange,o=t.onBlur,a=(0,r._)(t,["onChange","onBlur"]),i=(0,g.c)(n),l=(0,g.c)(o),s=(0,u.useCallback)((function(t){var n,r;null===(n=i.current)||void 0===n||n.call(i,t),t.defaultPrevented||null===(r=e.update)||void 0===r||r.call(e,e.name,t.target.value)}),[e.update,e.name]),c=(0,u.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.blur)||void 0===r||r.call(e,e.name)}),[e.blur,e.name]);return(0,r.a)({id:Yt(e.name,e.baseId),name:Gt(e.name),value:Kt(e.values,e.name,""),"aria-describedby":Xt(e.name,e.baseId),"aria-labelledby":qt(e.name,e.baseId),"aria-invalid":Qt(e,e.name),onChange:s,onBlur:c},a)}}),ln=(0,o.L)({as:"input",memo:!0,useHook:an}),sn=(0,a.B)({name:"FormLabel",compose:c.q,keys:Bt,useProps:function(e,t){return(0,r.a)({children:e.label,id:qt(e.name,e.baseId),htmlFor:Yt(e.name,e.baseId)},t)}}),un=(0,o.L)({as:"label",memo:!0,useHook:sn}),cn=(0,a.B)({name:"FormMessage",compose:c.q,keys:At,useProps:function(e,t){var n,o,a,i,l=Qt(e,e.name)?Kt(e.errors,e.name):void 0;return l=l||(n=e,o=e.name,a=n.touched,i=n.messages,Kt(a,o)&&Kt(i,o)?Kt(e.messages,e.name):void 0),(0,r.a)({role:"alert",id:Xt(e.name,e.baseId),children:l},t)}}),dn=(0,o.L)({as:"div",memo:!0,useHook:cn});function fn(e,t){return Yt(e,t,"-push")}var mn=(0,a.B)({name:"FormPushButton",compose:v,keys:zt,useOptions:function(e,t){var n,o=t.name,a=t.value;return(0,r.a)((0,r.a)({},e),{},{name:e.name||o,value:null!=(n=e.value)?n:a})},useProps:function(e,t){var n=t.onClick,o=(0,r._)(t,["onClick"]),a=(0,g.c)(n),i=(0,u.useCallback)((function(t){var n,r;if(null===(n=a.current)||void 0===n||n.call(a,t),!t.defaultPrevented){null===(r=e.push)||void 0===r||r.call(e,e.name,e.value);var o=Kt(e.values,e.name,[]).length,i=Yt(Gt(e.name,"-")+"-"+o,e.baseId);if(i){var l=t.currentTarget;window.requestAnimationFrame((function(){var e='[id^="'+i+'"]',t=(0,Te.M)(l).querySelector(e);null==t||t.focus()}))}}}),[e.push,e.name,e.value,e.values,e.baseId]);return(0,r.a)({id:fn(e.name,e.baseId),onClick:i},o)}}),pn=(0,o.L)({as:"button",memo:!0,useHook:mn}),vn=n(9106),hn=(0,u.createContext)(null),gn=(0,a.B)({name:"FormRadioGroup",compose:tn,keys:Ft,useOptions:function(e,t){var n=t.name;return(0,r.a)((0,r.a)({},e),{},{name:e.name||n})},useProps:function(e,t){var n=t.wrapElement,o=(0,r._)(t,["wrapElement"]),a=Yt(e.name,e.baseId),i=(0,de.u)({baseId:a,loop:!0}),l=(0,u.useMemo)((function(){return i}),Object.values(i)),s=(0,u.useCallback)((function(e){return e=(0,u.createElement)(hn.Provider,{value:l},e),n?n(e):e}),[l,n]);return(0,r.a)({role:"radiogroup",wrapElement:s},o)}}),bn=(0,o.L)({as:"fieldset",useHook:gn}),yn=(0,a.B)({name:"FormRadio",compose:vn.x,keys:Ht,useOptions:function(e,t){var n=e.name||t.name,o=void 0!==e.value?e.value:t.value,a=(0,u.useContext)(hn),i=Kt(e.values,n)===o;if(!a)throw new Error("Missing FormRadioGroup");return(0,r.a)((0,r.a)((0,r.a)({},e),a),{},{checked:i,name:n,value:o})},useProps:function(e,t){var n=t.onChange,o=t.onBlur,a=(0,r._)(t,["onChange","onBlur"]),i=(0,g.c)(n),l=(0,g.c)(o),s=(0,u.useCallback)((function(t){var n,r;null===(n=i.current)||void 0===n||n.call(i,t),t.defaultPrevented||null===(r=e.update)||void 0===r||r.call(e,e.name,e.value)}),[e.update,e.name,e.value]),c=(0,u.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.blur)||void 0===r||r.call(e,e.name)}),[e.blur,e.name]);return(0,r.a)({name:Gt(e.name),onChange:s,onBlur:c},a)}}),_n=(0,o.L)({as:"input",memo:!0,useHook:yn}),wn=(0,a.B)({name:"FormRemoveButton",compose:v,keys:Wt,useOptions:function(e,t){var n=t.name;return(0,r.a)((0,r.a)({},e),{},{name:e.name||n})},useProps:function(e,t){var n=t.onClick,o=(0,r._)(t,["onClick"]),a=(0,g.c)(n),i=(0,u.useCallback)((function(t){var n,r;if(null===(n=a.current)||void 0===n||n.call(a,t),!t.defaultPrevented){null===(r=e.remove)||void 0===r||r.call(e,e.name,e.index);var o=Yt(e.name,e.baseId);if(o){var i=(0,Te.M)(t.currentTarget);window.requestAnimationFrame((function(){var t='[id^="'+o+'-"]',n=i.querySelectorAll(t);if(n.length){var r=Array.from(n).reduce((function(t,n){var r=n.id.match(new RegExp(o+"-([0-9]+)"));if(!r)return t;var a=r[1];return Number(a)>t&&e.index>=t?Number(a):t}),0),a='[id^="'+o+"-"+r+'"]',l=i.querySelector(a);if(l)return void l.focus()}var s=fn(e.name,e.baseId);if(s){var u=i.getElementById(s);null==u||u.focus()}}))}}}),[e.remove,e.name,e.index,e.baseId]);return(0,r.a)({onClick:i},o)}}),xn=(0,o.L)({as:"button",memo:!0,useHook:wn}),Cn=n(93641);function En(e,t){for(var n=e,r={},o=0,a=Object.keys(e);o<a.length;o++){var i=a[o],l=n[i];Array.isArray(l)?r[i]=l.map((function(e){return(0,Xe.K)(e)?En(e,t):t})):(0,Xe.K)(l)?r[i]=En(l,t):r[i]=t}return r}var On=n(99118);function Sn(e){return"number"==typeof e?Math.floor(e)===e:String(Math.floor(Number(e)))===e}function Mn(e,t,n){var o,a=(0,On.q)(t),i=a[0],l=a.slice(1);if(null==i)return e;var s=Sn(i)?e||[]:e||{},u=l.length?Mn(s[i],l,n):n;return Sn(i)?e?[].concat(e.slice(0,Number(i)),[u],e.slice(Number(i)+1)):[u]:(0,r.a)((0,r.a)({},e),{},((o={})[i]=u,o))}function Pn(e){if(Array.isArray(e))return e.filter((function(e){return!(0,Cn.P)(e)&&!Array.isArray(e)||Pn(e)}));for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],a=e[o];t[o]=(0,Cn.P)(a)||Array.isArray(a)?Pn(a):e[o]}return t}function kn(e){return(0,Xe.K)(e)&&!Qe(e)}function jn(e,t){return Qe(t)?Qe(e)?e:{}:t}function Tn(e,t){switch(t.type){case"reset":return(0,r.a)((0,r.a)({},e),{},{values:e.initialValues,touched:{},errors:{},messages:{},valid:!0,validating:!1,submitting:!1,submitFailed:0,submitSucceed:0});case"startValidate":return(0,r.a)((0,r.a)({},e),{},{validating:!0});case"endValidate":return(0,r.a)((0,r.a)({},e),{},{validating:!1,errors:jn(e.errors,t.errors),messages:jn(e.messages,t.messages),valid:!kn(t.errors)});case"startSubmit":return(0,r.a)((0,r.a)({},e),{},{touched:En(e.values,!0),submitting:!0});case"endSubmit":var n=!kn(t.errors);return(0,r.a)((0,r.a)({},e),{},{valid:n,submitting:!1,errors:jn(e.errors,t.errors),messages:jn(e.messages,t.messages),submitSucceed:n?e.submitSucceed+1:e.submitSucceed,submitFailed:n?e.submitFailed:e.submitFailed+1});case"update":var o=t.name,a=t.value,i="function"==typeof a?a(Kt(e.values,o)):a;return(0,r.a)((0,r.a)({},e),{},{values:Mn(e.values,o,null!=i?i:"")});case"blur":return(0,r.a)((0,r.a)({},e),{},{touched:Mn(e.touched,t.name,!0)});case"push":var l=Kt(e.values,t.name,[]);return(0,r.a)((0,r.a)({},e),{},{values:Mn(e.values,t.name,[].concat(l,[t.value]))});case"remove":var s=Kt(e.values,t.name,[]).slice();return delete s[t.index],(0,r.a)((0,r.a)({},e),{},{values:Mn(e.values,t.name,s)});default:throw new Error}}function In(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.values,o=void 0===n?{}:n,a=t.validateOnBlur,i=void 0===a||a,l=t.validateOnChange,s=void 0===l||l,c=t.resetOnSubmitSucceed,d=void 0!==c&&c,f=t.resetOnUnmount,m=void 0===f||f,p=t.onValidate,v=t.onSubmit,h=(0,r._)(t,["values","validateOnBlur","validateOnChange","resetOnSubmitSucceed","resetOnUnmount","onValidate","onSubmit"]),b=(0,g.c)("function"!=typeof e?e.onValidate:p),y=(0,g.c)("function"!=typeof e?e.onSubmit:v),_=(0,ce.C)(h),w=(0,u.useReducer)(Tn,{initialValues:o,values:o,touched:{},errors:{},messages:{},valid:!0,validating:!1,submitting:!1,submitFailed:0,submitSucceed:0}),x=w[0],C=(x.initialValues,(0,r._)(x,["initialValues"])),O=w[1],S=(0,u.useCallback)((function(e){return void 0===e&&(e=C.values),new Promise((function(t){if(b.current){var n=b.current(e);r=n,Boolean(r&&"then"in r&&r.then)&&O({type:"startValidate"}),t(Promise.resolve(n).then((function(e){return O({type:"endValidate",messages:e}),e})))}else t(void 0);var r})).catch((function(e){throw O({type:"endValidate",errors:e}),e}))}),[C.values]);return M((function(){s&&S().catch((function(){}))}),[S,s]),(0,u.useEffect)((function(){if(m)return function(){O({type:"reset"})}}),[m]),(0,r.a)((0,r.a)((0,r.a)({},_),C),{},{values:C.values,validate:S,reset:(0,u.useCallback)((function(){return O({type:"reset"})}),[]),submit:(0,u.useCallback)((function(){return O({type:"startSubmit"}),S().then((function(e){return y.current?Promise.resolve(y.current(Pn(C.values))).then((function(t){var n=(0,r.a)((0,r.a)({},e),t);O({type:"endSubmit",messages:n})})):O({type:"endSubmit",messages:e})})).then((function(){d&&O({type:"reset"})})).catch((function(e){O({type:"endSubmit",errors:e})}))}),[S]),update:(0,u.useCallback)((function(e,t){return O({type:"update",name:e,value:t})}),[]),blur:(0,u.useCallback)((function(e){O({type:"blur",name:e}),i&&S().catch((function(){}))}),[S]),push:(0,u.useCallback)((function(e,t){return O({type:"push",name:e,value:t})}),[]),remove:(0,u.useCallback)((function(e,t){return O({type:"remove",name:e,index:t})}),[])})}var Nn=(0,a.B)({name:"FormSubmitButton",compose:v,keys:Zt,useOptions:function(e){return(0,r.a)({disabled:e.submitting},e)},useProps:function(e,t){var n=t.onClick,o=(0,r._)(t,["onClick"]),a=(0,g.c)(n),i=(0,u.useCallback)((function(t){var n;if(null===(n=a.current)||void 0===n||n.call(a,t),!t.defaultPrevented){var r=t.currentTarget;window.requestAnimationFrame((function(){var t,n,o,a=(t=e.baseId,n=r,o="[aria-invalid=true][id^="+t+"]",(0,Te.M)(n).querySelector(o));null==a||a.focus(),a&&"select"in a&&a.select()}))}}),[e.baseId]);return(0,r.a)({type:"submit",onClick:i},o)}}),Rn=(0,o.L)({as:"button",memo:!0,useHook:Nn}),Ln=(0,a.B)({name:"Grid",compose:S.Q,keys:Y,useProps:function(e,t){return(0,r.a)({role:"grid"},t)}}),Dn=(0,o.L)({as:"div",useHook:Ln,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}}),Vn=[].concat(["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","unstable_values","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","unstable_setValue"],["visible","animated","animating","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place"]),Bn=Vn,An=Bn,zn=An,Hn=zn,Fn=Hn,Wn=[].concat(Fn,["name"]),Zn=Wn,$n=Fn,Un=(0,a.B)({name:"MenuBar",compose:S.Q,keys:An,useProps:function(e,t){var n=t.ref,o=t.wrapElement,a=t.role,i=void 0===a?"menubar":a,l=(0,r._)(t,["ref","wrapElement","role"]),s=(0,u.useRef)(null),c=function(e,t,n){var r="unstable_orphan"in n&&n.unstable_orphan,o=(0,u.useContext)(Le),a=(0,u.useState)([]),i=a[0],l=a[1],s=o||{},c=s.addChild,d=s.removeChild,f=(0,u.useCallback)((function(e){return l((function(t){return[].concat(t,[e])}))}),[]),m=(0,u.useCallback)((function(e){return l((function(t){return Re(t,e)}))}),[]);(0,u.useEffect)((function(){if(c&&!r)return c(e),function(){null==d||d(e)}}),[e,c,d,r]);var p=(0,u.useMemo)((function(){return{orientation:n.orientation,next:n.next,previous:n.previous,ref:e,role:t,parent:o,children:i,addChild:f,removeChild:m}}),[n.orientation,n.next,n.previous,e,t,o,i,f,m]);return(0,u.useCallback)((function(e){return(0,u.createElement)(Le.Provider,{value:p},e)}),[p])}(s,i,e);!function(e,t,n){var r=t.items,o=void 0===r?[]:r,a=t.move;void 0===n&&(n=500);var i=(0,u.useState)(""),l=i[0],s=i[1];(0,u.useEffect)((function(){if(l){var e=setTimeout((function(){return s("")}),n),t=o.find((function(e){return Boolean(e.ref.current&&e.ref.current.textContent&&e.ref.current.textContent.toLowerCase().startsWith(l))}));return t&&a(t.id),function(){return clearTimeout(e)}}}),[l,o,a,n]),(0,u.useEffect)((function(){var t=e.current;if(t){var n=function(e){var n;if(!(e.key.length>1||e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)){var r=e.target,o=null===(n=r.getAttribute)||void 0===n?void 0:n.call(r,"role"),a=r===t,i=o&&-1!==o.indexOf("menuitem")&&Ge(r,"[role=menu],[role=menubar]")===t;(a||i)&&/^[a-z0-9_-]$/i.test(e.key)&&(e.stopPropagation(),e.preventDefault(),s((function(t){return""+t+e.key})))}};return t.addEventListener("keydown",n),function(){return t.removeEventListener("keydown",n)}}}),[e,s])}(s,e);var d=(0,u.useCallback)((function(e){return e=c(e),o?o(e):e}),[c,o]);return(0,r.a)({ref:(0,m.c)(s,n),role:i,"aria-orientation":e.orientation,wrapElement:d},l)}}),Gn=(0,o.L)({as:"div",useHook:Un,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}}),Yn=n(52027),qn=(0,a.B)({name:"Menu",compose:[Un,vt],keys:Vn,useOptions:function(e){var t=(0,u.useContext)(Le),n="menubar"===(null==t?void 0:t.role);return(0,r.a)((0,r.a)({unstable_autoFocusOnHide:!n,modal:!1},e),{},{unstable_autoFocusOnShow:!1,hideOnEsc:!1})},useProps:function(e,t){for(var n=t.onKeyDown,o=(0,r._)(t,["onKeyDown"]),a=(0,g.c)(n),i=(0,u.useContext)(Le),l=!!i,s=i;s&&"menubar"!==s.role;)s=s.parent;var c,d=s||{},f=d.next,m=d.previous,p="horizontal"===d.orientation,v=(c=e.placement,(0,u.useMemo)((function(){var e;return null==c||null===(e=c.split("-"))||void 0===e?void 0:e[0]}),[c])),h=(0,u.useCallback)((function(t){var n,r;if(null===(n=a.current)||void 0===n||n.call(a,t),!t.defaultPrevented)if("Escape"===t.key)l||t.stopPropagation(),null===(r=e.hide)||void 0===r||r.call(e);else if(l&&!(0,Yn.K)(t)){var o={ArrowRight:p&&"left"!==v?f:"left"===v&&e.hide,ArrowLeft:p&&"right"!==v?m:"right"===v&&e.hide}[t.key];o&&(t.preventDefault(),l&&t.stopPropagation(),o())}}),[l,p,f,m,v,e.hide]);return(0,r.a)({role:"menu",onKeyDown:h},o)}}),Kn=(0,o.L)({as:"div",useHook:qn,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}}),Xn=(0,a.B)({name:"PopoverArrow",compose:c.q,keys:ft,useOptions:function(e){var t=e.size,n=void 0===t?30:t,o=(0,r._)(e,["size"]);return(0,r.a)({size:n},o)},useProps:function(e,t){var n,o=t.ref,a=t.style,i=(0,r._)(t,["ref","style"]),l=e.placement.split("-")[0],s=e.unstable_arrowStyles,c={top:"rotateZ(180deg)",right:"rotateZ(-90deg)",bottom:"rotateZ(360deg)",left:"rotateZ(90deg)"}[l],d=(0,u.useMemo)((function(){return(0,u.createElement)("svg",{viewBox:"0 0 30 30",style:{transform:c}},(0,u.createElement)("path",{className:"stroke",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),(0,u.createElement)("path",{className:"fill",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"}))}),[c]);return(0,r.a)({ref:(0,m.c)(e.unstable_arrowRef,o),style:(0,r.a)((0,r.a)({},s),{},(n={fontSize:e.size,width:"1em",height:"1em",pointerEvents:"none"},n[l]="100%",n),a),children:d},i)}}),Qn=(0,o.L)({as:"div",memo:!0,useHook:Xn}),Jn=(0,a.B)({name:"MenuArrow",compose:Xn,keys:Bn}),er=(0,o.L)({as:"div",memo:!0,useHook:Jn});function tr(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.orientation,o=void 0===n?"horizontal":n,a=t.unstable_values,i=void 0===a?{}:a,l=(0,r._)(t,["orientation","unstable_values"]),s=(0,u.useState)(i),c=s[0],d=s[1],f=(0,de.u)((0,r.a)((0,r.a)({},l),{},{orientation:o}));return(0,r.a)((0,r.a)({},f),{},{unstable_values:c,unstable_setValue:(0,u.useCallback)((function(e,t){d((function(n){var o;return(0,r.a)((0,r.a)({},n),{},((o={})[e]="function"==typeof t?t(n):t,o))}))}),[])})}var nr=(0,a.B)({name:"PopoverDisclosure",compose:It,keys:pt,useProps:function(e,t){var n=t.ref,o=(0,r._)(t,["ref"]);return(0,r.a)({ref:(0,m.c)(e.unstable_referenceRef,n)},o)}}),rr=(0,o.L)({as:"button",memo:!0,useHook:nr});function or(e){var t=null==e?void 0:e.find((function(e){return e.current&&!e.current.hidden}));return null==t?void 0:t.current}var ar=function(){},ir=(0,a.B)({name:"MenuButton",compose:nr,keys:zn,propsAreEqual:function(e,t){e.unstable_popoverStyles,e.unstable_arrowStyles,e.currentId,e.unstable_moves;var n=(0,r._)(e,["unstable_popoverStyles","unstable_arrowStyles","currentId","unstable_moves"]),o=(t.unstable_popoverStyles,t.unstable_arrowStyles,t.currentId,t.unstable_moves,(0,r._)(t,["unstable_popoverStyles","unstable_arrowStyles","currentId","unstable_moves"]));return nr.unstable_propsAreEqual(n,o)},useProps:function(e,t){var n=t.ref,o=t.onClick,a=t.onKeyDown,i=t.onFocus,l=t.onMouseEnter,s=t.onMouseDown,c=(0,r._)(t,["ref","onClick","onKeyDown","onFocus","onMouseEnter","onMouseDown"]),d=(0,u.useContext)(Le),f=(0,u.useRef)(null),p=(0,u.useRef)(!1),v=e.placement.split("-")[0],h=!!d,b="menubar"===(null==d?void 0:d.role),y=e.disabled||c["aria-disabled"],_=(0,g.c)(o),w=(0,g.c)(a),x=(0,g.c)(i),C=(0,g.c)(l),E=(0,g.c)(s),O=(0,u.useCallback)((function(t){var n,r;if("Escape"===t.key)null===(r=e.hide)||void 0===r||r.call(e);else if(!y){var o,a=e.first&&function(){return setTimeout(e.first)},i=e.last&&function(){return setTimeout(e.last)},l={Enter:a," ":a,ArrowUp:("top"===v||"bottom"===v)&&i,ArrowRight:"right"===v&&a,ArrowDown:("bottom"===v||"top"===v)&&a,ArrowLeft:"left"===v&&a}[t.key];if(l)return t.preventDefault(),t.stopPropagation(),null===(o=e.show)||void 0===o||o.call(e),void l()}null===(n=w.current)||void 0===n||n.call(w,t)}),[y,e.hide,e.first,e.last,v,e.show]),S=(0,u.useCallback)((function(t){var n;if(null===(n=C.current)||void 0===n||n.call(C,t),!t.defaultPrevented&&d){var r=t.currentTarget;b?or(d.children)&&r.focus():setTimeout((function(){var t;(0,ke.B)(r)&&(null===(t=e.show)||void 0===t||t.call(e))}),200)}}),[d,b,e.show]),M=(0,u.useCallback)((function(e){var t;p.current=!0,null===(t=E.current)||void 0===t||t.call(E,e)}),[]),P=(0,u.useCallback)((function(t){var n,r;null===(n=x.current)||void 0===n||n.call(x,t),t.defaultPrevented||y||b&&!p.current&&(null===(r=e.show)||void 0===r||r.call(e))}),[b,y,e.show]),k=(0,u.useCallback)((function(t){var n,r,o,a;(null===(n=_.current)||void 0===n||n.call(_,t),t.defaultPrevented)||(h&&!b?null===(r=e.show)||void 0===r||r.call(e):(null===(o=e.toggle)||void 0===o||o.call(e),!p.current||b||e.visible||null===(a=e.move)||void 0===a||a.call(e,null)),p.current=!1)}),[h,b,e.show,e.toggle,e.visible,e.move]);return(0,r.a)({ref:(0,m.c)(f,n),"aria-haspopup":"menu",onKeyDown:O,onMouseEnter:S,onMouseDown:M,onFocus:P,onClick:k},c)},useComposeOptions:function(e){return(0,r.a)((0,r.a)({},e),{},{toggle:ar})}}),lr=(0,o.L)({as:"button",memo:!0,useHook:ir}),sr=(0,a.B)({name:"MenuDisclosure",compose:ir,useProps:function(e,t){return t}}),ur=(0,o.L)({as:"button",useHook:sr}),cr=(0,a.B)({name:"MenuGroup",compose:c.q,keys:Hn,useProps:function(e,t){return(0,r.a)({role:"group"},t)}}),dr=(0,o.L)({as:"div",useHook:cr});function fr(e,t,n){return Math.abs((e.x*(t.y-n.y)+t.x*(n.y-e.y)+n.x*(e.y-t.y))/2)}function mr(e){var t=e.relatedTarget;return(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE?e.relatedTarget:e.toElement||null}var pr=(0,a.B)({name:"MenuItem",compose:G.E,keys:Fn,propsAreEqual:function(e,t){e.unstable_popoverStyles,e.unstable_arrowStyles,e.visible;var n=(0,r._)(e,["unstable_popoverStyles","unstable_arrowStyles","visible"]),o=(t.unstable_popoverStyles,t.unstable_arrowStyles,t.visible,(0,r._)(t,["unstable_popoverStyles","unstable_arrowStyles","visible"]));return G.E.unstable_propsAreEqual(n,o)},useProps:function(e,t){var n=t.onMouseEnter,o=t.onMouseMove,a=t.onMouseLeave,i=(0,r._)(t,["onMouseEnter","onMouseMove","onMouseLeave"]),l=(0,u.useContext)(Le),s=(0,g.c)(o),c=(0,g.c)(a),d=function(e,t){var n=(0,g.c)(t),r=(0,u.useRef)(null),o=(0,u.useRef)(null),a=(0,u.useRef)(null),i=(0,u.useRef)(0),l=(0,u.useRef)(0),s=(0,u.useCallback)((function(t){if(null!=e&&e.children.length){o.current=null,a.current=null;var n=or(e.children);if(n){var r=function(e,t){var n=t.getBoundingClientRect(),r=n.top,o=n.right,a=n.bottom,i=n.left,l=i>e.clientX?i:o;return[{x:l,y:r},{x:l,y:a}]}(t,n);o.current=r[0],a.current=r[1]}}}),[null==e?void 0:e.children]),c=(0,u.useCallback)((function(e){var t=i.current!==e.clientX||l.current!==e.clientY;if(e.isTrusted&&!t)return!0;var n=Math.abs(i.current-e.clientX);i.current=e.clientX,l.current=e.clientY;var u,c,d,f,m=function(){return o.current&&a.current};return"mouseleave"!==e.type||m()||s(e),!!m()&&n&&r.current&&(u={x:e.clientX,y:e.clientY},fr(c=r.current,d=o.current,f=a.current)===fr(u,d,f)+fr(c,u,f)+fr(c,d,u))}),[s]);return{onMouseEnter:(0,u.useCallback)((function(t){var o;null===(o=n.current)||void 0===o||o.call(n,t),t.defaultPrevented||"menubar"!==(null==e?void 0:e.role)&&(r.current={x:t.clientX,y:t.clientY},s(t))}),[null==e?void 0:e.role,s]),isMouseInTransitToSubmenu:c}}(l,n),f=d.onMouseEnter,m=d.isMouseInTransitToSubmenu,p=(0,u.useCallback)((function(t){var n,r;null===(n=s.current)||void 0===n||n.call(s,t),t.defaultPrevented||"menubar"!==(null==l?void 0:l.role)&&(m(t)||(0,ke.B)(t.currentTarget)||null===(r=e.move)||void 0===r||r.call(e,t.currentTarget.id))}),[e.move]),v=(0,u.useCallback)((function(t){var n;if(null===(n=c.current)||void 0===n||n.call(c,t),!(t.defaultPrevented||"menubar"===(null==l?void 0:l.role)||function(e){var t=mr(e);return!!t&&(0,qe.r)(e.currentTarget,t)}(t)||function(e,t){if(null==t||!t.length)return!1;var n=mr(e);if(!n)return!1;var r=or(t);return r&&(0,qe.r)(r,n)}(t,null==l?void 0:l.children)||function(e,t){var n=mr(e);return!!n&&(null==t?void 0:t.some((function(e){return e.ref.current&&(0,qe.r)(e.ref.current,n)})))}(t,e.items))){var r;if(m(t))return;null===(r=e.move)||void 0===r||r.call(e,null)}}),[null==l?void 0:l.role,null==l?void 0:l.children,e.items,e.move]);return(0,r.a)({role:"menuitem",onMouseEnter:f,onMouseMove:p,onMouseLeave:v},i)}}),vr=(0,o.L)({as:"button",memo:!0,useHook:pr}),hr=(0,a.B)({name:"MenuItemCheckbox",compose:[pr,x],keys:Wn,propsAreEqual:function(e,t){if(e.name!==t.name)return pr.unstable_propsAreEqual(e,t);var n=e.unstable_values,o=(0,r._)(e,["unstable_values"]),a=t.unstable_values,i=(0,r._)(t,["unstable_values"]);return n[t.name]===a[t.name]&&pr.unstable_propsAreEqual(o,i)},useOptions:function(e){var t=(0,u.useCallback)((function(t){return e.unstable_setValue(e.name,t)}),[e.unstable_setValue,e.name]);return(0,r.a)((0,r.a)({},e),{},{state:e.unstable_values[e.name],setState:t})},useProps:function(e,t){return(0,r.a)({role:"menuitemcheckbox",name:e.name},t)}}),gr=(0,o.L)({as:"button",memo:!0,useHook:hr}),br=(0,a.B)({name:"MenuItemRadio",compose:[pr,vn.x],keys:Zn,propsAreEqual:function(e,t){if(e.name!==t.name)return pr.unstable_propsAreEqual(e,t);var n=e.unstable_values,o=(0,r._)(e,["unstable_values"]),a=t.unstable_values,i=(0,r._)(t,["unstable_values"]);return n[t.name]===a[t.name]&&pr.unstable_propsAreEqual(o,i)},useOptions:function(e){var t=(0,u.useCallback)((function(t){return e.unstable_setValue(e.name,t)}),[e.unstable_setValue,e.name]);return(0,r.a)((0,r.a)({},e),{},{unstable_checkOnFocus:!1,state:e.unstable_values[e.name],setState:t})},useProps:function(e,t){return(0,r.a)({role:"menuitemradio"},t)}}),yr=(0,o.L)({as:"button",memo:!0,useHook:br}),_r=n(3178),wr=(0,a.B)({name:"MenuSeparator",compose:_r.z,keys:$n,useOptions:function(e){var t=e.orientation,n=void 0===t?"vertical":t,o=(0,r._)(e,["orientation"]);return(0,r.a)({orientation:"vertical"===n?"horizontal":"vertical"},o)}}),xr=(0,o.L)({as:"hr",memo:!0,useHook:wr});function Cr(e){void 0===e&&(e={});var t=(0,u.useContext)(Le),n=(0,E.T)(e),o=n.orientation,a=void 0===o?"vertical":o,i=n.gutter,l=void 0===i?0:i,s=(0,r._)(n,["orientation","gutter"]),c=s.placement||(t&&"vertical"===t.orientation?"right-start":"bottom-start"),d=tr((0,r.a)((0,r.a)({},s),{},{orientation:a})),f=(0,ge.v)((0,r.a)((0,r.a)({},s),{},{placement:c,gutter:l}));return(0,u.useEffect)((function(){f.visible||d.reset()}),[f.visible,d.reset]),(0,r.a)((0,r.a)({},d),f)}var Er=(0,a.B)({name:"PopoverBackdrop",compose:Mt,keys:mt,useOptions:function(e){var t=e.modal,n=void 0!==t&&t,o=(0,r._)(e,["modal"]);return(0,r.a)({modal:n},o)}}),Or=(0,o.L)({as:"div",memo:!0,useHook:Er}),Sr=n(27920),Mr=n(85761),Pr=[].concat(["baseId","unstable_idCountRef","orientation","stops","currentId","unstable_pastId","unstable_moves","loop","setBaseId","register","unregister","move","next","previous","first","last","unstable_reset","unstable_orientate"],["stopId"]);function kr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,u.useCallback)((function(){for(var e,n=t.filter(Boolean),o=(0,r.b)(n);!(e=o()).done;)e.value.apply(void 0,arguments)}),t)}var jr=(0,a.B)({name:"Rover",compose:[f.h,U.i],keys:Pr,useProps:function(e,t){var n=t.ref,o=t.tabIndex,a=void 0===o?0:o,i=t.onFocus,l=t.onKeyDown,s=(0,r._)(t,["ref","tabIndex","onFocus","onKeyDown"]),c=(0,u.useRef)(null),d=e.stopId||e.id,f=e.disabled&&!e.focusable,p=null==e.currentId,v=e.currentId===d,h=(e.stops||[])[0]&&e.stops[0].id===d,g=v||h&&p;(0,u.useEffect)((function(){if(!f&&d)return e.register&&e.register(d,c),function(){return e.unregister&&e.unregister(d)}}),[d,f,e.register,e.unregister]),(0,u.useEffect)((function(){var t=c.current;t&&e.unstable_moves&&v&&!(0,ke.B)(t)&&t.focus()}),[v,e.unstable_moves]);var b=(0,u.useCallback)((function(t){d&&t.currentTarget.contains(t.target)&&e.move(d,!0)}),[e.move,d]),y=(0,u.useMemo)((function(){return function(e){var t=void 0===e?{}:e,n=t.keyMap,r=t.onKey,o=t.stopPropagation,a=t.onKeyDown,i=t.shouldKeyDown,l=void 0===i?function(){return!0}:i,s=t.preventDefault,u=void 0===s||s;return function(e){if(n){var t,i="function"==typeof n?n(e):n,s="function"==typeof u?u(e):u,c="function"==typeof o?o(e):o;if(e.key in i){var d=i[e.key];if("function"==typeof d&&l(e))return s&&e.preventDefault(),c&&e.stopPropagation(),r&&r(e),void d(e)}a&&"current"in a?null===(t=a.current)||void 0===t||t.call(a,e):null==a||a(e)}}}({onKeyDown:l,stopPropagation:!0,shouldKeyDown:function(e){return e.currentTarget.contains(e.target)},keyMap:{ArrowUp:"horizontal"!==e.orientation&&e.previous,ArrowRight:"vertical"!==e.orientation&&e.next,ArrowDown:"horizontal"!==e.orientation&&e.next,ArrowLeft:"vertical"!==e.orientation&&e.previous,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}})}),[l,e.orientation,e.previous,e.next,e.first,e.last]);return(0,r.a)({id:d,ref:(0,m.c)(c,n),tabIndex:g?a:-1,onFocus:kr(b,i),onKeyDown:y},s)}}),Tr=(0,o.L)({as:"button",useHook:jr});function Ir(e,t){var n=e.stops,o=e.currentId,a=e.unstable_pastId,i=e.unstable_moves,l=e.loop;switch(t.type){case"register":var s=t.id,u=t.ref;if(0===n.length)return(0,r.a)((0,r.a)({},e),{},{stops:[{id:s,ref:u}]});var c=n.findIndex((function(e){return e.id===s}));if(c>=0)return e;var d=n.findIndex((function(e){return!(!e.ref.current||!u.current)&&Boolean(e.ref.current.compareDocumentPosition(u.current)&Node.DOCUMENT_POSITION_PRECEDING)}));return-1===d?(0,r.a)((0,r.a)({},e),{},{stops:[].concat(n,[{id:s,ref:u}])}):(0,r.a)((0,r.a)({},e),{},{stops:[].concat(n.slice(0,d),[{id:s,ref:u}],n.slice(d))});case"unregister":var f=t.id,m=n.filter((function(e){return e.id!==f}));return m.length===n.length?e:(0,r.a)((0,r.a)({},e),{},{stops:m,unstable_pastId:a&&a===f?null:a,currentId:o&&o===f?null:o});case"move":var p=t.id,v=t.silent?i:i+1;if(null===p)return(0,r.a)((0,r.a)({},e),{},{currentId:null,unstable_pastId:o,unstable_moves:v});var h=n.findIndex((function(e){return e.id===p}));return-1===h?e:n[h].id===o?(0,r.a)((0,r.a)({},e),{},{unstable_moves:v}):(0,r.a)((0,r.a)({},e),{},{currentId:n[h].id,unstable_pastId:o,unstable_moves:v});case"next":if(null==o)return Ir(e,{type:"move",id:n[0]&&n[0].id});var g=n.findIndex((function(e){return e.id===o})),b=[].concat(n.slice(g+1),l?n.slice(0,g):[]),y=b.findIndex((function(e){return e.id===o}))+1;return Ir(e,{type:"move",id:b[y]&&b[y].id});case"previous":var _=Ir((0,r.a)((0,r.a)({},e),{},{stops:n.slice().reverse()}),{type:"next"}),w=(_.stops,(0,r._)(_,["stops"]));return(0,r.a)((0,r.a)({},e),w);case"first":var x=n[0];return Ir(e,{type:"move",id:x&&x.id});case"last":var C=n[n.length-1];return Ir(e,{type:"move",id:C&&C.id});case"reset":return(0,r.a)((0,r.a)({},e),{},{currentId:null,unstable_pastId:null});case"orientate":return(0,r.a)((0,r.a)({},e),{},{orientation:t.orientation});default:throw new Error}}function Nr(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.orientation,o=t.currentId,a=void 0===o?null:o,i=t.loop,l=void 0!==i&&i,s=(0,r._)(t,["orientation","currentId","loop"]),c=(0,u.useReducer)(Ir,{orientation:n,stops:[],currentId:a,unstable_pastId:null,unstable_moves:0,loop:l}),d=c[0],f=c[1],m=(0,ce.C)(s);return(0,r.a)((0,r.a)((0,r.a)({},m),d),{},{register:Rr((function(e,t){return f({type:"register",id:e,ref:t})})),unregister:Rr((function(e){return f({type:"unregister",id:e})})),move:Rr((function(e,t){return f({type:"move",id:e,silent:t})})),next:Rr((function(){return f({type:"next"})})),previous:Rr((function(){return f({type:"previous"})})),first:Rr((function(){return f({type:"first"})})),last:Rr((function(){return f({type:"last"})})),unstable_reset:Rr((function(){return f({type:"reset"})})),unstable_orientate:Rr((function(e){return f({type:"orientate",orientation:e})}))})}function Rr(e){return(0,u.useCallback)(e,[])}var Lr=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","selectedId","panels","manual","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","select","setSelectedId","registerPanel","unregisterPanel"],Dr=Lr,Vr=[].concat(Dr,["tabId"]),Br=(0,a.B)({name:"Tab",compose:G.E,keys:Lr,useOptions:function(e){var t=e.focusable,n=void 0===t||t,o=(0,r._)(e,["focusable"]);return(0,r.a)({focusable:n},o)},useProps:function(e,t){var n=t.onClick,o=t.onFocus,a=(0,r._)(t,["onClick","onFocus"]),i=e.selectedId===e.id,l=function(e){return(0,u.useMemo)((function(){var t,n;return(null===(t=e.panels)||void 0===t||null===(n=t.find((function(t){return t.groupId===e.id})))||void 0===n?void 0:n.id)||void 0}),[e.panels,e.id])}(e),s=(0,g.c)(n),c=(0,g.c)(o),d=(0,u.useCallback)((function(t){var n,r;null===(n=s.current)||void 0===n||n.call(s,t),t.defaultPrevented||e.disabled||e.id&&(i||null===(r=e.select)||void 0===r||r.call(e,e.id))}),[e.disabled,i,e.select,e.id]),f=(0,u.useCallback)((function(t){var n,r;null===(n=c.current)||void 0===n||n.call(c,t),t.defaultPrevented||e.disabled||e.manual||e.id&&(i||null===(r=e.select)||void 0===r||r.call(e,e.id))}),[e.id,e.disabled,e.manual,i,e.select]);return(0,r.a)({role:"tab","aria-selected":i,"aria-controls":l,onClick:d,onFocus:f},a)}}),Ar=(0,o.L)({as:"button",memo:!0,useHook:Br}),zr=(0,a.B)({name:"TabList",compose:S.Q,keys:Dr,useProps:function(e,t){return(0,r.a)({role:"tablist","aria-orientation":e.orientation},t)}}),Hr=(0,o.L)({as:"div",useHook:zr,useCreateElement:function(e,t,n){return(0,_e.C)(e,t,n)}});function Fr(e){var t,n,r=null===(t=e.panels)||void 0===t?void 0:t.find((function(t){return t.id===e.id})),o=e.tabId||(null==r?void 0:r.groupId);if(o||!r||!e.panels||!e.items)return o;var a,i,l,s=function(e,t){return e.filter((function(e){return!e.groupId})).indexOf(t)}(e.panels,r),u=(a=e.items,i=e.panels,l=i.map((function(e){return e.groupId})).filter(Boolean),a.filter((function(e){return-1===l.indexOf(e.id||void 0)})));return(null===(n=u[s])||void 0===n?void 0:n.id)||void 0}var Wr=(0,a.B)({name:"TabPanel",compose:[U.i,Se.f],keys:Vr,useProps:function(e,t){var n=t.ref,o=(0,r._)(t,["ref"]),a=(0,u.useRef)(null),i=Fr(e),l=e.id,s=e.registerPanel,c=e.unregisterPanel;return(0,u.useEffect)((function(){if(l)return null==s||s({id:l,ref:a,groupId:i}),function(){null==c||c(l)}}),[i,l,s,c]),(0,r.a)({ref:(0,m.c)(a,n),role:"tabpanel",tabIndex:0,"aria-labelledby":i},o)},useComposeOptions:function(e){var t=Fr(e);return(0,r.a)({visible:!!t&&e.selectedId===t},e)}}),Zr=(0,o.L)({as:"div",useHook:Wr});function $r(e){void 0===e&&(e={});var t=(0,E.T)(e),n=t.selectedId,o=t.loop,a=void 0===o||o,i=t.manual,l=void 0!==i&&i,s=(0,r._)(t,["selectedId","loop","manual"]),c=(0,de.u)((0,r.a)({loop:a,currentId:n},s)),d=(0,de.u)(),f=(0,u.useState)(n),m=f[0],p=f[1],v=(0,u.useCallback)((function(e){c.move(e),p(e)}),[c.move]);return(0,u.useEffect)((function(){null!==m&&(c.items.find((function(e){return e.id===m}))||c.currentId&&p(c.currentId))}),[m,c.items,c.currentId]),(0,r.a)((0,r.a)({},c),{},{selectedId:m,panels:d.items,manual:l,select:v,setSelectedId:p,registerPanel:(0,u.useCallback)((function(e){return d.registerItem(e)}),[d.registerItem]),unregisterPanel:(0,u.useCallback)((function(e){return d.unregisterItem(e)}),[d.unregisterItem])})}var Ur=n(8496),Gr=n(61244),Yr=n(61905),qr=n(1482),Kr=n(23561),Xr=n(55625),Qr=(0,a.B)({name:"TooltipArrow",compose:Xn,keys:Xr.a,useOptions:function(e){var t=e.size,n=void 0===t?16:t,o=(0,r._)(e,["size"]);return(0,r.a)({size:n},o)}}),Jr=(0,o.L)({as:"div",memo:!0,useHook:Qr}),eo=n(6686),to=n(33955),no=(0,a.B)({name:"VisuallyHidden",compose:c.q,keys:[],useProps:function(e,t){var n=t.style,o=(0,r._)(t,["style"]);return(0,r.a)({style:(0,r.a)({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},n)},o)}}),ro=(0,o.L)({as:"span",memo:!0,useHook:no}),oo=n(44866);function ao(e){var t=e.children,n=e.unstable_system;return(0,u.createElement)(oo.y.Provider,{value:n},t)}var io={};function lo(e){var t=e.unstable_prefix,n=e.unstable_system,r=void 0===n?io:n,o=e.children;return(0,u.createElement)($.s,{prefix:t},(0,u.createElement)(ao,{unstable_system:r},o))}},41451:function(e,t,n){"use strict";n.r(t),n.d(t,{NIL:function(){return O},parse:function(){return d},stringify:function(){return i.Z},v1:function(){return u},v3:function(){return _},v4:function(){return w.Z},v5:function(){return E},validate:function(){return c.Z},version:function(){return S}});var r,o,a=n(60470),i=n(92946),l=0,s=0,u=function(e,t,n){var u=t&&n||0,c=t||new Array(16),d=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==f){var m=e.random||(e.rng||a.Z)();null==d&&(d=r=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),null==f&&(f=o=16383&(m[6]<<8|m[7]))}var p=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:s+1,h=p-l+(v-s)/1e4;if(h<0&&void 0===e.clockseq&&(f=f+1&16383),(h<0||p>l)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,s=v,o=f;var g=(1e4*(268435455&(p+=122192928e5))+v)%4294967296;c[u++]=g>>>24&255,c[u++]=g>>>16&255,c[u++]=g>>>8&255,c[u++]=255&g;var b=p/4294967296*1e4&268435455;c[u++]=b>>>8&255,c[u++]=255&b,c[u++]=b>>>24&15|16,c[u++]=b>>>16&255,c[u++]=f>>>8|128,c[u++]=255&f;for(var y=0;y<6;++y)c[u+y]=d[y];return t||(0,i.Z)(c)},c=n(74931),d=function(e){if(!(0,c.Z)(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function f(e,t,n){function r(e,r,o,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=d(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+e.length);if(l.set(r),l.set(e,r.length),(l=n(l))[6]=15&l[6]|t,l[8]=63&l[8]|128,o){a=a||0;for(var s=0;s<16;++s)o[a+s]=l[s];return o}return(0,i.Z)(l)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function m(e){return 14+(e+64>>>9<<4)+1}function p(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function v(e,t,n,r,o,a){return p((i=p(p(t,e),p(r,a)))<<(l=o)|i>>>32-l,n);var i,l}function h(e,t,n,r,o,a,i){return v(t&n|~t&r,e,t,o,a,i)}function g(e,t,n,r,o,a,i){return v(t&r|n&~r,e,t,o,a,i)}function b(e,t,n,r,o,a,i){return v(t^n^r,e,t,o,a,i)}function y(e,t,n,r,o,a,i){return v(n^(t|~r),e,t,o,a,i)}var _=f("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",o=0;o<n;o+=8){var a=e[o>>5]>>>o%32&255,i=parseInt(r.charAt(a>>>4&15)+r.charAt(15&a),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[m(t)-1]=t;for(var n=1732584193,r=-271733879,o=-1732584194,a=271733878,i=0;i<e.length;i+=16){var l=n,s=r,u=o,c=a;n=h(n,r,o,a,e[i],7,-680876936),a=h(a,n,r,o,e[i+1],12,-389564586),o=h(o,a,n,r,e[i+2],17,606105819),r=h(r,o,a,n,e[i+3],22,-1044525330),n=h(n,r,o,a,e[i+4],7,-176418897),a=h(a,n,r,o,e[i+5],12,1200080426),o=h(o,a,n,r,e[i+6],17,-1473231341),r=h(r,o,a,n,e[i+7],22,-45705983),n=h(n,r,o,a,e[i+8],7,1770035416),a=h(a,n,r,o,e[i+9],12,-1958414417),o=h(o,a,n,r,e[i+10],17,-42063),r=h(r,o,a,n,e[i+11],22,-1990404162),n=h(n,r,o,a,e[i+12],7,1804603682),a=h(a,n,r,o,e[i+13],12,-40341101),o=h(o,a,n,r,e[i+14],17,-1502002290),n=g(n,r=h(r,o,a,n,e[i+15],22,1236535329),o,a,e[i+1],5,-165796510),a=g(a,n,r,o,e[i+6],9,-1069501632),o=g(o,a,n,r,e[i+11],14,643717713),r=g(r,o,a,n,e[i],20,-373897302),n=g(n,r,o,a,e[i+5],5,-701558691),a=g(a,n,r,o,e[i+10],9,38016083),o=g(o,a,n,r,e[i+15],14,-660478335),r=g(r,o,a,n,e[i+4],20,-405537848),n=g(n,r,o,a,e[i+9],5,568446438),a=g(a,n,r,o,e[i+14],9,-1019803690),o=g(o,a,n,r,e[i+3],14,-187363961),r=g(r,o,a,n,e[i+8],20,1163531501),n=g(n,r,o,a,e[i+13],5,-1444681467),a=g(a,n,r,o,e[i+2],9,-51403784),o=g(o,a,n,r,e[i+7],14,1735328473),n=b(n,r=g(r,o,a,n,e[i+12],20,-1926607734),o,a,e[i+5],4,-378558),a=b(a,n,r,o,e[i+8],11,-2022574463),o=b(o,a,n,r,e[i+11],16,1839030562),r=b(r,o,a,n,e[i+14],23,-35309556),n=b(n,r,o,a,e[i+1],4,-1530992060),a=b(a,n,r,o,e[i+4],11,1272893353),o=b(o,a,n,r,e[i+7],16,-155497632),r=b(r,o,a,n,e[i+10],23,-1094730640),n=b(n,r,o,a,e[i+13],4,681279174),a=b(a,n,r,o,e[i],11,-358537222),o=b(o,a,n,r,e[i+3],16,-722521979),r=b(r,o,a,n,e[i+6],23,76029189),n=b(n,r,o,a,e[i+9],4,-640364487),a=b(a,n,r,o,e[i+12],11,-421815835),o=b(o,a,n,r,e[i+15],16,530742520),n=y(n,r=b(r,o,a,n,e[i+2],23,-995338651),o,a,e[i],6,-198630844),a=y(a,n,r,o,e[i+7],10,1126891415),o=y(o,a,n,r,e[i+14],15,-1416354905),r=y(r,o,a,n,e[i+5],21,-57434055),n=y(n,r,o,a,e[i+12],6,1700485571),a=y(a,n,r,o,e[i+3],10,-1894986606),o=y(o,a,n,r,e[i+10],15,-1051523),r=y(r,o,a,n,e[i+1],21,-2054922799),n=y(n,r,o,a,e[i+8],6,1873313359),a=y(a,n,r,o,e[i+15],10,-30611744),o=y(o,a,n,r,e[i+6],15,-1560198380),r=y(r,o,a,n,e[i+13],21,1309151649),n=y(n,r,o,a,e[i+4],6,-145523070),a=y(a,n,r,o,e[i+11],10,-1120210379),o=y(o,a,n,r,e[i+2],15,718787259),r=y(r,o,a,n,e[i+9],21,-343485551),n=p(n,l),r=p(r,s),o=p(o,u),a=p(a,c)}return[n,r,o,a]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(m(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),w=n(95024);function x(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function C(e,t){return e<<t|e>>>32-t}var E=f("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o<r.length;++o)e.push(r.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,i=Math.ceil(a/16),l=new Array(i),s=0;s<i;++s){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*s+4*c]<<24|e[64*s+4*c+1]<<16|e[64*s+4*c+2]<<8|e[64*s+4*c+3];l[s]=u}l[i-1][14]=8*(e.length-1)/Math.pow(2,32),l[i-1][14]=Math.floor(l[i-1][14]),l[i-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<i;++d){for(var f=new Uint32Array(80),m=0;m<16;++m)f[m]=l[d][m];for(var p=16;p<80;++p)f[p]=C(f[p-3]^f[p-8]^f[p-14]^f[p-16],1);for(var v=n[0],h=n[1],g=n[2],b=n[3],y=n[4],_=0;_<80;++_){var w=Math.floor(_/20),E=C(v,5)+x(w,h,g,b)+y+t[w]+f[_]>>>0;y=b,b=g,g=C(h,30)>>>0,h=v,v=E}n[0]=n[0]+v>>>0,n[1]=n[1]+h>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+y>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),O="00000000-0000-0000-0000-000000000000",S=function(e){if(!(0,c.Z)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},65311:function(e){"use strict";e.exports=jQuery}},function(e){e.O(0,[351],(function(){return 96021,e(e.s=96021)})),e.O()}]); |