PageSourceSearch

https://www.graphika.com/_next/static/chunks/0bm0vz24dy_gz.js?dpl=dpl_4Ko21XhkZzq9aNZB6DXjJoQvxAbX

js graphika.com collected 2026-10-01 09:10:43 UTC 718,277 bytes, 1,354 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58614,(e,t,n)=>{"use strict";var r=e.r(30159).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;n.c=function(e){return r.H.useMemoCache(e)}},36368,(e,t,n)=>{"use strict";t.exports=e.r(58614)},95690,e=>{"use strict";var t,n,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(t=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]});e.s(["default",0,i],95690)},27701,(e,t,n)=>{"use strict";var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),d=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case s:case c:case h:case m:return e;default:switch(e=e&&e.$$typeof){case d:case u:case p:case f:case l:return e;default:return t}}case i:return t}}}n.ContextConsumer=l,n.ContextProvider=d,n.Element=r,n.ForwardRef=u,n.Fragment=o,n.Lazy=p,n.Memo=f,n.Portal=i,n.Profiler=a,n.StrictMode=s,n.Suspense=c,n.SuspenseList=h,n.isContextConsumer=function(e){return v(e)===l},n.isContextProvider=function(e){return v(e)===d},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return v(e)===u},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===p},n.isMemo=function(e){return v(e)===f},n.isPortal=function(e){return v(e)===i},n.isProfiler=function(e){return v(e)===a},n.isStrictMode=function(e){return v(e)===s},n.isSuspense=function(e){return v(e)===c},n.isSuspenseList=function(e){return v(e)===h},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===s||e===c||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===d||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1},n.typeOf=v},60592,(e,t,n)=>{"use strict";
1t.exports=e.r(27701)},86403,(e,t,n)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5477,(e,t,n)=>{t.exports=e.g&&e.g.Object===Object&&e.g},8465,(e,t,n)=>{var r=e.r(5477),i="object"==typeof self&&self&&self.Object===Object&&self;t.exports=r||i||Function("return this")()},93487,(e,t,n)=>{t.exports=e.r(8465).Symbol},50426,(e,t,n)=>{var r=e.r(93487),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},48957,(e,t,n)=>{var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},71333,(e,t,n)=>{var r=e.r(93487),i=e.r(50426),o=e.r(48957),s=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},5348,(e,t,n)=>{var r=e.r(71333),i=e.r(86403);t.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},62405,(e,t,n)=>{t.exports=e.r(8465)["__core-js_shared__"]},89931,(e,t,n)=>{var r,i=e.r(62405),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(e){return!!o&&o in e}},50525,(e,t,n)=>{var r=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},19379,(e,t,n)=>{var r=e.r(5348),i=e.r(89931),o=e.r(86403),s=e.r(50525),a=/^\[object .+?Constructor\]$/,l=Object.prototype,d=Function.prototype.toString,u=l.hasOwnProperty,c=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!o(e)||i(e))&&(r(e)?c:a).test(s(e))}},79654,(e,t,n)=>{t.exports=function(e,t){return null==e?void 0:e[t]}},87789,(e,t,n)=>{var r=e.r(19379),i=e.r(79654);t.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},81285,(e,t,n)=>{var r=e.r(87789);t.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},50175,(e,t,n)=>{var r=e.r(81285);t.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},53060,(e,t,n)=>{t.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}},2574,(e,t,n)=>{t.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}},33645,(e,t,n)=>{t.exports=e.r(2574)()},29540,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},4614,(e,t,n)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},23746,(e,t,n)=>{var r=e.r(71333),i=e.r(4614);t.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},50635,(e,t,n)=>{var r=e.r(23746),i=e.r(4614),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable;t.exports=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")}},79215,(e,t,n)=>{t.exports=Array.isArray},61394,(e,t,n)=>{t.exports=function(){return!1}},37409,(e,t,n)=>{var r=e.r(8465),i=e.r(61394),o=n&&!n.nodeType&&n,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0;t.exports=(a?a.isBuffer:void 0)||i},96116,(e,t,n)=>{var r=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},24231,(e,t,n)=>{t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},56089,(e,t,n)=>{var r=e.r(71333),i=e.r(24231),o=e.r(4614),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exp
1orts=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},47344,(e,t,n)=>{t.exports=function(e){return function(t){return e(t)}}},68146,(e,t,n)=>{var r=e.r(5477),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process;t.exports=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}()},60856,(e,t,n)=>{var r=e.r(56089),i=e.r(47344),o=e.r(68146),s=o&&o.isTypedArray;t.exports=s?i(s):r},74823,(e,t,n)=>{var r=e.r(29540),i=e.r(50635),o=e.r(79215),s=e.r(37409),a=e.r(96116),l=e.r(60856),d=Object.prototype.hasOwnProperty;t.exports=function(e,t){var n=o(e),u=!n&&i(e),c=!n&&!u&&s(e),h=!n&&!u&&!c&&l(e),f=n||u||c||h,p=f?r(e.length,String):[],m=p.length;for(var g in e)(t||d.call(e,g))&&!(f&&("length"==g||c&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m)))&&p.push(g);return p}},84558,(e,t,n)=>{var r=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},93477,(e,t,n)=>{t.exports=function(e,t){return function(n){return e(t(n))}}},64894,(e,t,n)=>{t.exports=e.r(93477)(Object.keys,Object)},5731,(e,t,n)=>{var r=e.r(84558),i=e.r(64894),o=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},13494,(e,t,n)=>{var r=e.r(5348),i=e.r(24231);t.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},93959,(e,t,n)=>{var r=e.r(74823),i=e.r(5731),o=e.r(13494);t.exports=function(e){return o(e)?r(e):i(e)}},52001,(e,t,n)=>{var r=e.r(33645),i=e.r(93959);t.exports=function(e,t){return e&&r(e,t,i)}},14126,(e,t,n)=>{var r=e.r(13494);t.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,s=t?o:-1,a=Object(n);(t?s--:++s<o)&&!1!==i(a[s],s,a););return n}}},77283,(e,t,n)=>{var r=e.r(52001);t.exports=e.r(14126)(r)},7690,(e,t,n)=>{var r=e.r(77283);t.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},34787,(e,t,n)=>{t.exports=function(){this.__data__=[],this.size=0}},11801,(e,t,n)=>{t.exports=function(e,t){return e===t||e!=e&&t!=t}},79932,(e,t,n)=>{var r=e.r(11801);t.exports=function(e,t){for(var n=e.length;n--;
1)if(r(e[n][0],t))return n;return -1}},42003,(e,t,n)=>{var r=e.r(79932),i=Array.prototype.splice;t.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},57496,(e,t,n)=>{var r=e.r(79932);t.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},69173,(e,t,n)=>{var r=e.r(79932);t.exports=function(e){return r(this.__data__,e)>-1}},38340,(e,t,n)=>{var r=e.r(79932);t.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},48328,(e,t,n)=>{var r=e.r(34787),i=e.r(42003),o=e.r(57496),s=e.r(69173),a=e.r(38340);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},5631,(e,t,n)=>{var r=e.r(48328);t.exports=function(){this.__data__=new r,this.size=0}},70495,(e,t,n)=>{t.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},10118,(e,t,n)=>{t.exports=function(e){return this.__data__.get(e)}},1451,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},52581,(e,t,n)=>{t.exports=e.r(87789)(e.r(8465),"Map")},73899,(e,t,n)=>{t.exports=e.r(87789)(Object,"create")},25490,(e,t,n)=>{var r=e.r(73899);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},69882,(e,t,n)=>{t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},51288,(e,t,n)=>{var r=e.r(73899),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},97644,(e,t,n)=>{var r=e.r(73899),i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},86729,(e,t,n)=>{var r=e.r(73899);t.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},90484,(e,t,n)=>{var r=e.r(25490),i=e.r(69882),o=e.r(51288),s=e.r(97644),a=e.r(86729);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},695,(e,t,n)=>{var r=e.r(90484),i=e.r(48328),o=e.r(52581);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11356,(e,t,n)=>{t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},99221,(e,t,n)=>{var r=e.r(11356);t.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},84641,(e,t,n)=>{var r=e.r(99221);t.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},3587,(e,t,n)=>{var r=e.r(99221);t.exports=function(e){return r(this,e).get(e)}},20403,(e,t,n)=>{var r=e.r(99221);t.exports=function(e){return r(this,e).has(e)}},80374,(e,t,n)=>{var r=e.r(99221);t.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},39706,(e,t,n)=>{var r=e.r(695),i=e.r(84641),o=e.r(3587),s=e.r(20403),a=e.r(80374);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},68748,(e,t,n)=>{var r=e.r(48328),i=e.r(52581),o=e.r(39706);t.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},28863,(e,t,n)=>{var r=e.r(48328),i=e.r(5631),o=e.r(70495),s=e.r(10118),a=e.r(1451),l=e.r(68748);function d(e){var t=this.__data__=new r(e);this.size=t.size}d.prototype.clear=i,d.prototype.delete=o,d.prototype.get=s,d.prototype.has=a,d.prototype.set=l,t.exports=d},85594,(e,t,n)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},7571,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},37473,(e,t,n)=>{var r=e.r(39706),i=e.r(85594),o=e.r(7571);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,t.exports=s},38547,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},39939,(e,t,n)=>{t.exports=function(e,t){return e.has(t)}},41408,(e,t,n)=>{var r=e.r(37473),i=e.r(38547),o=e.r(39939);t.exports=function(e,t,n,s,a,l){var d=1&n,u=e.length,c=t.length;if(u!=c&&!(d&&c>u))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var v=e[p],y=t[p];if(s)var w=d?s(y,v,p,t,e,l):s(v,y,p,e,t,l);if(void 0!==w){if(w)continue;m=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(v===e||a(v,e,n,s,l)))return g.push(t)})){m=!1;break}}else if(!(v===y||a(v,y,n,s,l))){m=!1;break}}return l.delete(e),l.delete(t),m}},6737,(e,t,n)=>{t.exports=e.r(8465).Uint8Array},39898,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},53003,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},68616,(e,t,n)=>{var r=e.r(93487),i=e.r(6737),o=e.r(11801),s=e.r(41408),a=e.r(39898),l=e.r(53003),d=r?r.prototype:void 0,u=d?d.valueOf
1:void 0;t.exports=function(e,t,n,r,d,c,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!c(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var p=1&r;if(f||(f=l),e.size!=t.size&&!p)break;var m=h.get(e);if(m)return m==t;r|=2,h.set(e,t);var g=s(f(e),f(t),r,d,c,h);return h.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},56595,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},38341,(e,t,n)=>{var r=e.r(56595),i=e.r(79215);t.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},56783,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}},82451,(e,t,n)=>{t.exports=function(){return[]}},78741,(e,t,n)=>{var r=e.r(56783),i=e.r(82451),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;t.exports=s?function(e){return null==e?[]:r(s(e=Object(e)),function(t){return o.call(e,t)})}:i},60022,(e,t,n)=>{var r=e.r(38341),i=e.r(78741),o=e.r(93959);t.exports=function(e){return r(e,o,i)}},51111,(e,t,n)=>{var r=e.r(60022),i=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,o,s,a){var l=1&n,d=r(e),u=d.length;if(u!=r(t).length&&!l)return!1;for(var c=u;c--;){var h=d[c];if(!(l?h in t:i.call(t,h)))return!1}var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=l;++c<u;){var v=e[h=d[c]],y=t[h];if(o)var w=l?o(y,v,h,t,e,a):o(v,y,h,e,t,a);if(!(void 0===w?v===y||s(v,y,n,o,a):w)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x)&&(m=!1)}return a.delete(e),a.delete(t),m}},28185,(e,t,n)=>{t.exports=e.r(87789)(e.r(8465),"DataView")},8227,(e,t,n)=>{t.exports=e.r(87789)(e.r(8465),"Promise")},72262,(e,t,n)=>{t.exports=e.r(87789)(e.r(8465),"Set")},40312,(e,t,n)=>{t.exports=e.r(87789)(e.r(8465),"WeakMap")},23948,(e,t,n)=>{var r=e.r(28185),i=e.r(52581),o=e.r(8227),s=e.r(72262),a=e.r(40312),l=e.r(71333),d=e.r(50525),u="[object Map]",c="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=d(r),g=d(i),v=d(o),y=d(s),w=d(a),b=l;
1(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=u||o&&b(o.resolve())!=c||s&&b(new s)!=h||a&&b(new a)!=f)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?d(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return c;case y:return h;case w:return f}return t}),t.exports=b},71166,(e,t,n)=>{var r=e.r(28863),i=e.r(41408),o=e.r(68616),s=e.r(51111),a=e.r(23948),l=e.r(79215),d=e.r(37409),u=e.r(60856),c="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,m,g,v){var y=l(e),w=l(t),b=y?h:a(e),x=w?h:a(t);b=b==c?f:b,x=x==c?f:x;var C=b==f,k=x==f,j=b==x;if(j&&d(e)){if(!d(t))return!1;y=!0,C=!1}if(j&&!C)return v||(v=new r),y||u(e)?i(e,t,n,m,g,v):o(e,t,b,n,m,g,v);if(!(1&n)){var M=C&&p.call(e,"__wrapped__"),L=k&&p.call(t,"__wrapped__");if(M||L){var S=M?e.value():e,E=L?t.value():t;return v||(v=new r),g(S,E,n,m,v)}}return!!j&&(v||(v=new r),s(e,t,n,m,g,v))}},7437,(e,t,n)=>{var r=e.r(71166),i=e.r(4614);t.exports=function e(t,n,o,s,a){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,s,e,a):t!=t&&n!=n)}},76005,(e,t,n)=>{var r=e.r(28863),i=e.r(7437);t.exports=function(e,t,n,o){var s=n.length,a=s,l=!o;if(null==e)return!a;for(e=Object(e);s--;){var d=n[s];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++s<a;){var u=(d=n[s])[0],c=e[u],h=d[1];if(l&&d[2]){if(void 0===c&&!(u in e))return!1}else{var f=new r;if(o)var p=o(c,h,u,e,t,f);if(!(void 0===p?i(h,c,3,o,f):p))return!1}}return!0}},66787,(e,t,n)=>{var r=e.r(86403);t.exports=function(e){return e==e&&!r(e)}},98862,(e,t,n)=>{var r=e.r(66787),i=e.r(93959);t.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,r(s)]}return t}},69378,(e,t,n)=>{t.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},70335,(e,t,n)=>{var r=e.r(76005),i=e.r(98862),o=e.r(69378);t.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},5831,(e,t,n)=>{var r=e.r(71333),i=e.r(4614);t.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},81131,(e,t,n)=>{var r=e.r(79215),i=e.r(5831),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},90437,(e,t,n)=>{var r=e.r(39706);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},9924,(e,t,n)=>{var r=e.r(90437);t.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},21133,(e,t,n)=>{var r=e.r(9924),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;t.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},29528,(e,t,n)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},62077,(e,t,n)=>{var r=e.r(93487),i=e.r(29528),o=e.r(79215),s=e.r(5831),a=1/0,l=r?r.prototype:void 0,d=l?l.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},92417,(e,t,n)=>{var r=e.r(62077);t.exports=function(e){return null==e?"":r(e)}},67147,(e,t,n)=>{var r=e.r(79215),i=e.r(81131),o=e.r(21133),s=e.r(92417);t.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}},68952,(e,t,n)=>{var r=e.r(5831),i=1/0;t.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},83977,(e,t,n)=>{var r=e.r(67147),i=e.r(68952);t.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},89143,(e,t,n)=>{var r=e.r(83977);t.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},34089,(e,t,n)=>{t.exports=function(e,t){return null!=e&&t in Object(e)}},5056,(e,t,n)=>{var r=e.r(67147),i=e.r(50635),o=e.r(79215),s=e.r(96116),a=e.r(24231),l=e.r(68952);t.exports=function(e,t,n){t=r(t,e);for(var d=-1,u=t.length,c=!1;++d<u;){var h=l(t[d]);if(!(c=null!=e&&n(e,h)))break;e=e[h]}return c||++d!=u?c:!!(u=null==e?0:e.length)&&a(u)&&s(h,u)&&(o(e)||i(e))}},94516,(e,t,n)=>{var r=e.r(34089),i=e.r(5056);t.exports=function(e,t){return null!=e&&i(e,t,r)}},67518,(e,t,n)=>{var r=e.r(7437),i=e.r(89143),o=e.r(94516),s=e.r(81131),a=e.r(66787),l=e.r(69378),d=e.r(68952);t.exports=function(e,t){return s(e)&&a(t)?l(d(e),t):function(n){var s=i(n,e);return void 0===s&&s===t?o(n,e):r(t,s,3)}}},17327,(e,t,n)=>{t.exports=function(e){return e}},61761,(e,t,n)=>{t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},63618,(e,t,n)=>{var r=e.r(83977);t.exports=function(e){return function(t){return r(t,e)}}},29276,(e,t,n)=>{var r=e.r(61761),i=e.r(63618),o=e.r(81131),s=e.r(68952);t.exports=function(e){return o(e)?r(s(e)):i(e)}},4856,(e,t,n)=>{var r=e.r(70335),i=e.r(67518),o=e.r(17327),s=e.r(79215),a=e.r(29276);t.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):r(e):a(e)}},4803,(e,t,n)=>{var r=e.r(53060),i=e.r(7690),o=e.r(4856),s=e.r(79215);t.exports=function(e,t){return function(n,a){var l=s(n)?r:i,d=t?t():{};return l(n,e,o(a,2),d)}}},10354,(e,t,n)=>{var r=e.r(50175),i=e.r(4803),o=Object.prototype.hasOwnProperty;t.exports=i(function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])})},39740,9506,96481,19867,99670,19060,e=>{"use strict";let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x;var C,k,j,M,L,S,E,R,V,H,$,A,T,_,P=e.i(82012),I=e.i(36368),O=e.i(44331),B=e.i(30159),W=e.i(44135),z=e.i(42670);let N=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],D=["50","100","200","300","400","500","600","700","800","900","950"],F={sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},Z={textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},U={border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},G={dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},q={border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}}
1,radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},Y=new WeakMap;function X(e){let t=Y.get(e);if(t)return t;let n=J(e,e.card.enabled),r={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:n.accent,avatar:n.avatar,backdrop:e.base.shadow.ambient,badge:n.badge,bg:e.base.bg,border:e.base.border,button:{default:K(e,e.button.default),ghost:K(e,e.button.ghost),bleed:K(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:Q(e.input.default),invalid:Q(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:K(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return Y.set(e,r),r}function K(e,t){return{default:{enabled:J(e,t.default.enabled),hovered:J(e,t.default.hovered),pressed:J(e,t.default.pressed),selected:J(e,t.default.selected),disabled:J(e,t.default.disabled)},neutral:{enabled:J(e,t.default.enabled),hovered:J(e,t.default.hovered),pressed:J(e,t.default.pressed),selected:J(e,t.default.selected),disabled:J(e,t.default.disabled)},primary:{enabled:J(e,t.primary.enabled),hovered:J(e,t.primary.hovered),pressed:J(e,t.primary.pressed),selected:J(e,t.primary.selected),disabled:J(e,t.primary.disabled)},suggest:{enabled:J(e,t.primary.enabled),hovered:J(e,t.primary.hovered),pressed:J(e,t.primary.pressed),selected:J(e,t.primary.selected),disabled:J(e,t.primary.disabled)},positive:{enabled:J(e,t.positive.enabled),hovered:J(e,t.positive.hovered),pressed:J(e,t.positive.pressed),selected:J(e,t.positive.selected),disabled:J(e,t.positive.disabled)},caution:{enabled:J(e,t.caution.enabled),hovered:J(e,t.caution.hovered),pressed:J(e,t.caution.pressed),selected:J(e,t.caution.selected),disabled:J(e,t.caution.disabled)},critical:{enabled:J(e,t.critical.enabled),hovered:J(e,t.critical.hovered),pressed:J(e,t.critical.pressed),selected:J(e,t.critical.selected),disabled:J(e,t.critical.disabled)}}}function J(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg},cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg},critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function Q(e){return{enabled:ee(e.enabled),disabled:ee(e.disabled),readOnly:ee(e.readOnly),hovered:ee(e.hovered)}}function ee(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let et=new WeakMap;function en(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=et.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...F,...e.sanity.avatar},button:{...Z,...e.sanity.button},card:U,color:X(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...q,...e.sanity.input,checkbox:{...q.checkbox,...e.sanity.input.checkbox},radio:{...q.radio,...e.sanity.input.radio},switch:{...q.switch,...e.sanity.input.switch}},layer:e.sanity.layer??G,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return et.set(e,n),n}function er(e){return 2===e._version}let ei=new WeakMap;function eo(e,t,n){Object.defineProperty(e,t,{get(){let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,writable:!1,
1configurable:!1}),r},enumerable:!0,configurable:!0})}let es=new WeakMap,ea=["transparent","default","primary","positive","caution","critical"];function el(e,t){let n={};for(let r of ea)eo(n,r,()=>{var n;return{base:{bg:(n=t[e][r]).bg,fg:n.fg,border:n.border,focusRing:n.focusRing,shadow:n.shadow},button:n.button,card:n.selectable.default,dark:n._dark,input:{default:eu(n.input.default),invalid:eu(n.input.invalid)},muted:{...n.button.ghost,transparent:n.button.ghost.default},solid:{...n.button.default,transparent:n.button.default.default},selectable:n.selectable,spot:{gray:n.avatar.gray.bg,blue:n.avatar.blue.bg,purple:n.avatar.purple.bg,magenta:n.avatar.magenta.bg,red:n.avatar.red.bg,orange:n.avatar.orange.bg,yellow:n.avatar.yellow.bg,green:n.avatar.green.bg,cyan:n.avatar.cyan.bg},syntax:n.syntax}});return n}function ed(e){let t=es.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,font:s,input:a,media:l,radius:d,shadow:u,space:c,style:h}=e,f={};eo(f,"light",()=>el("light",i)),eo(f,"dark",()=>el("dark",i));let p={_version:0,avatar:n,button:r,container:o,color:f,focusRing:a.text.focusRing,fonts:s,input:a,media:l,radius:d,shadows:u,space:c,styles:h,v2:e};return es.set(e,p),p}function eu(e){return{enabled:ec(e.enabled),disabled:ec(e.disabled),readOnly:ec(e.readOnly),hovered:ec(e.hovered)}}function ec(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let eh=["multiply","screen"],ef=["transparent","default","neutral","primary","suggest","positive","caution","critical"],ep=["default","neutral","primary","suggest","positive","caution","critical"],em=["enabled","hovered","pressed","selected","disabled"],eg=["default","ghost","bleed"],ev=["default","invali
1d"],ey=["enabled","hovered","readOnly","disabled"];function ew(e){return D.includes(e)}function eb(e){return/^\d+%$/.test(e)}function ex(e){var t;let n=e.split("/"),r=n.shift()||"",[i,o]=r.split(" ");if(ew(i)){let e=n.shift()||"";return eb(o)?{type:"color",tint:i,mix:Number(o.slice(0,-1))/100}:eC(e)?{type:"color",tint:i,opacity:Number(e)}:{type:"color",tint:i}}if("black"===(t=i)||"white"===t){let e=n.shift()||"";return eb(o)?{type:"color",key:i,mix:Number(o.slice(0,-1))/100}:eC(e)?{type:"color",key:i,opacity:Number(e)}:{type:"color",key:i}}if(N.includes(i)){let[e,t]=(r=n.shift()||"").split(" ");if(ew(e)){let r=n.shift()||"";return eb(t)?{type:"color",hue:i,tint:e,mix:Number(t.slice(0,-1))/100}:eC(r)?{type:"color",hue:i,tint:e,opacity:Number(r)}:{type:"color",hue:i,tint:e}}return{type:"hue",value:i}}if(eh.includes(i))return{type:"blendMode",value:i}}function eC(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...N],[...ef],[...ep],[...em],[...ev],[...ey];let ek=["500","500"];function ej(e,t=ek){var n;let r,{hue:i,scheme:o}=e,s=ex(t[+("light"!==o)]);if(!s||"color"!==s.type)throw Error(`Invalid color token: ${t[0]}`);return n={...s,hue:s.hue||i},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0!==n.mix?`${r} ${100*n.mix}%`:(void 0!==n.opacity&&(r+=`/${n.opacity}`),r)}let eM={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
1,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","900"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","800"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
1data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function eL(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function eS(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(eE,{})}function eE(e,t){for(let n of Object.keys(t)){let r=e[n],i=t[n];eL(r)&&eL(i)?e[n]=eS(r,i):e[n]=i}return e}function eR(e,t){let{scheme:n}=e,r={};for(let e of ef)eo(r,e,()=>(function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:ej(o,i?.accent?.fg)},avatar:eV({scheme:n},i),backdrop:ej(o,i?.backdrop),badge:e$(i?.badge,{scheme:n},t),bg:ej(o,i?.bg),border:ej(o,i?.border),button:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of eg)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:i}=e,o={};for(let e of ep)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:i,tone:o}=e,s={};for(let e of em)s[e]=function(e,t){let{cardTone:n,mode:r,tone:i,scheme:o,state:s}=e,a=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[i]?.[s],d=l?._hue||a?._hue||"gray",u=l?._blend||["screen","multiply"],c={hue:d,scheme:o};return{_blend:u[+("light"!==o)],accent:{fg:ej(c,l?.accent?.fg)},avatar:eV({scheme:o},l),badge:e$(l?.badge,{scheme:o},t),bg:ej(c,l?.bg),border:ej(c,l?.border),code:{bg:ej(c,l?.code?.bg),fg:ej(c,l?.code?.fg)},fg:ej(c,l?.fg),icon:ej(c,l?.icon),muted:{bg:ej(c,l?.muted?.bg),fg:ej(c,l?.muted?.fg)},kbd:{bg:ej(c,l?.kbd?.bg),fg:ej(c,l?.kbd?.fg),border:ej(c,l?.kbd?.border)},link:{fg:ej(c,l?.link?.fg)},skeleton:{from:ej(c,l?.skeleton?.from),to:ej(c,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:o,scheme:i,state:e},t);return s}({cardTone:n,mode:r,scheme:i,tone:e},t);return o}({cardTone:r,scheme:n,mode:e},t);return i}({scheme:n,tone:r},t),code:{bg:ej(o,i?.code?.bg),fg:ej(o,i?.code?.fg)},fg:ej(o,i?.fg),focusRing:ej(o,i?.focusRing),icon:ej(o,i?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:eA({mode:"default",scheme:n,tone:r},t),invalid:eA({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:ej(o,i?.kbd?.bg),fg:ej(o,i?.kbd?.fg),border:ej(o,i?.kbd?.border)},link:{fg:ej(o,i?.link?.fg)},muted:{bg:ej(o,i?.muted?.bg),fg:ej(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of ep)i[e]=function(e,t){let{cardTone:n,scheme:r,tone:i}=e,o={};for(let e of em)o[e]=function(e,t){let{cardTone:n,scheme:r,state:i,tone:o}=e,s=t?.color?.base?.[n],a=t?.color?.selectable?.[o]?.[i],l=a?._hue||s?._hue||"gray",d=a?._blend||["screen","multiply"],u={hue:l,scheme:r};return{_blend:d[+("light"!==r)],accent:{fg:ej(u,a?.accent?.fg)},avatar:eV({scheme:r},a),badge:e$(a?.badge,{scheme:r},t),bg:ej(u,a?.bg),border:ej(u,a?.border),code:{bg:ej(u,a?.code?.bg),fg:ej(u,a?.code?.fg)},fg:ej(u,a?.fg),icon:ej(u,a?.icon),muted:{bg:ej(u,a?.muted?.bg),fg:ej(u,a?.muted?.fg)},kbd:{bg:ej(u,a?.kbd?.bg),fg:ej(u,a?.kbd?.fg),border:ej(u,a?.kbd?.border)},link:{fg:ej(u,a?.link?.fg)},skeleton:{from:ej(u,a?.skeleton?.from),to:ej(u,a?.skeleton?.to)}}}({cardTone:n,tone:i,scheme:r,state:e},t);return o}({cardTone:r,scheme:n,tone:e},t);return i}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{outline:ej(o,i?.shadow?.outline),umbra:ej(o,i?.shadow?.umbra),penumbra:ej(o,i?.shadow?.penumbra),ambient:ej(o,i?.shadow?.ambient)}}
1({scheme:n,tone:r},t),skeleton:{from:ej(o,i?.skeleton?.from),to:ej(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,i={hue:"gray",scheme:n};return{atrule:ej(i,r?.atrule),attrName:ej(i,r?.attrName),attrValue:ej(i,r?.attrValue),attribute:ej(i,r?.attribute),boolean:ej(i,r?.boolean),builtin:ej(i,r?.builtin),cdata:ej(i,r?.cdata),char:ej(i,r?.char),class:ej(i,r?.class),className:ej(i,r?.className),comment:ej(i,r?.comment),constant:ej(i,r?.constant),deleted:ej(i,r?.deleted),doctype:ej(i,r?.doctype),entity:ej(i,r?.entity),function:ej(i,r?.function),hexcode:ej(i,r?.hexcode),id:ej(i,r?.id),important:ej(i,r?.important),inserted:ej(i,r?.inserted),keyword:ej(i,r?.keyword),number:ej(i,r?.number),operator:ej(i,r?.operator),prolog:ej(i,r?.prolog),property:ej(i,r?.property),pseudoClass:ej(i,r?.pseudoClass),pseudoElement:ej(i,r?.pseudoElement),punctuation:ej(i,r?.punctuation),regex:ej(i,r?.regex),selector:ej(i,r?.selector),string:ej(i,r?.string),symbol:ej(i,r?.symbol),tag:ej(i,r?.tag),unit:ej(i,r?.unit),url:ej(i,r?.url),variable:ej(i,r?.variable)}}({scheme:n},t)}})({scheme:n,tone:e},t));return r}function eV(e,t){let{scheme:n}=e;return{gray:eH({color:"gray",scheme:n},t),blue:eH({color:"blue",scheme:n},t),purple:eH({color:"purple",scheme:n},t),magenta:eH({color:"magenta",scheme:n},t),red:eH({color:"red",scheme:n},t),orange:eH({color:"orange",scheme:n},t),yellow:eH({color:"yellow",scheme:n},t),green:eH({color:"green",scheme:n},t),cyan:eH({color:"cyan",scheme:n},t)}}function eH(e,t){let{color:n,scheme:r}=e,i=t?.avatar?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["screen","multiply"])[+("light"!==r)],bg:ej(o,i?.bg),fg:ej(o,i?.fg)}}function e$(e,t,n){let{scheme:r}=t,i={};for(let t of ep)i[t]=function(e,t,n){let{scheme:r,tone:i}=t,o=e?.[i],s={hue:o?._hue||n?.color?.base?.[i]?._hue||"gray",scheme:r};return{bg:ej(s,o?.bg),fg:ej(s,o?.fg),dot:ej(s,o?.dot),icon:ej(s,o?.icon)}}(e,{scheme:r,tone:t},n);return i}function eA(e,t){let{mode:n,scheme:r,tone:i}=e;return{enabled:eT({mode:n,scheme:r,state:"enabled",cardTone:i},t),hovered:eT({mode:n,scheme:r,state:"hovered",cardTone:i},t),readOnly:eT({mode:n,scheme:r,state:"readOnly",cardTone:i},t),disabled:eT({mode:n,scheme:r,state:"disabled",cardTone:i},t)}}function eT(e,t){let{cardTone:n,mode:r,scheme:i,state:o}=e,s=t?.color?.base?.[n],a=t?.color?.input?.[r]?.[o],l=a?._hue||s?._hue||"gray",d=a?._blend||["screen","multiply"],u={hue:l,scheme:i};return{_blend:d[+("light"!==i)],bg:ej(u,a?.bg),border:ej(u,a?.border),fg:ej(u,a?.fg),muted:{bg:ej(u,a?.muted?.bg)},placeholder:ej(u,a?.placeholder)}}function e_(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function eP(e,t,n,r,i){var o;return n*(1-(o=e_((i-e)/(t-e))))+r*o}function eI(e){return Math.round(e)}function eO(e){if(4===e.length){let t=e.slice(1,2),n=e.slice(2,3),r=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(n+n,16),b:parseInt(r+r,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function eB(e){let t=eI(e_(Math.round(e.r),0,255)),n=eI(e_(Math.round(e.g),0,255)),r=eI(e_(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${n},${r},${e.a})`:"#"+(0x1000000+(t<<16)+(n<<8)+r).toString(16).slice(1)}let eW=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function ez(e){var t;if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return eO(e);if(e.startsWith("hsl(")){let n,r,i,o,s,a,l,d;return n=(t=function(e){let t=eW.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e)).s/100,o=(i=(1-Math.abs(2*(r=t.l/100)-1))*n)*(1-Math.abs(t.h/60%2-1)),s=r-i/2,a=0,l=0,d=0,0<=t.h&&t.h<60?(a=i,l=o,d=0):60<=t.h&&t.h<120?(a=o,l=i,d=0):120<=t.h&&t.h<180?(a=0,l=i,d=o):180<=t.h&&t.h<240?(a=0,l=o,d=i):240<=t.h&&t.h<300?(a=o,l=0,d=i):300<=t.h&&t.h<360&&(a=i,l=0,d=o),{r:Math.round((a+s)*255),g:Math.round((l+s)*255),b:Math.round((d+s)*255)}}if(e.startsWith("rgba(")){let t;return{r:parseInt((t=e.replace(/rgba\(|\)/g,"").split(","))[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}throw Error(`parseColor: unexpected color format: "${e}"`)}let eN=[0,255];function eD(e,t){var n,r,i,o,s,a,l,d,u;let c,{bg:h,blendMode:f,colorPalette:p}=t;if("white"===h)throw Error("Cannot blend with white background");let m=ex(e);if(!m||"color"!==m.type)throw Error(`Invalid color token value: ${e}`);let g="";if("black"===m.key&&(g=eF(p.black)),"white"===m.key&&(g=eF(p.white)),m.hue&&m.tint&&(g=eF(p[m.hue][m.tint])),!g)throw Error(`Invalid color token value: ${e}`);let v=g,y={blendMode:f,bg:h,black:eF(p.black),white:eF(p.white)};try{if(g=function(e,t){var n,r,i,o,s,a;let{blendMode:l}=t,d=ez(e),u=ez(t.black),c=ez(t.white),h=t.bg?ez(t.bg):"multiply"===l?c:u,f={r:[u.r,c.r],g:[u.g,c.g],b:[u.b,c.b]},p={r:e_(eP(...f.r,...eN,h.r),...eN),g:e_(eP(...f.g,...eN,h.g),...eN),b:e_(eP(...f.b,...eN,h.b),...eN)},m={r:e_(eP(...f.r,...eN,d.r),...eN),g:e_(eP(...f.g,...eN,d.g),...eN),b:e_(eP(...f.b,...eN,d.b),...eN)},g="multiply"===l?{r:255*(p.r/255*(m.r/255)),g:255*(p.g/255*(m.g/255)),b:255*(p.b/255*(m.b/255))}:{r:255*((n=p.r/255)+(r=m.r/255)-n*r),g:255*((i=p.g/255)+(o=m.g/255)-i*o),b:255*((s=p.b/255)+(a=m.b/255)-s*a)};return eB({r:e_(eP(...eN,...f.r,g.r),...f.r),g:e_(eP(...eN,...f.g,g.g),...f.g),b:e_(eP(...eN,...f.b,g.b),...f.b)})}(g,y),h&&void 0!==m.mix){let e=eO(h),t=eO(g);g=eB((n=m.mix,{r:(r=e.r,i=t.r,r+(i-r)*n),g:(o=e.g,s=t.g,o+(s-o)*n),b:(a=e.b,l=t.b,a+(l-a)*n)}))}}catch(e){throw console.warn("could not blend",g,y),e}
1return"#aN"===g&&(console.warn(`invalid color token value: ${e}`),g=v),void 0!==m.opacity&&(d=g,u=m.opacity,c=ez(d),g=`rgba(${c.r},${c.g},${c.b},${u})`),g}function eF(e){return"string"==typeof e?e:e.hex}function eZ(e,t){let n=eU(t.default,{colorPalette:e}),r=n.bg;if("white"===r)throw Error("Cannot blend with white background");let i={default:n};for(let n of ef){if("default"===n)continue;let o="transparent"===n?{colorPalette:e}:{bg:r,colorPalette:e};eo(i,n,()=>eU(t[n],o))}return i}function eU(e,t){var n,r,i,o;let{colorPalette:s,bg:a}=t,l=e._blend||"multiply",d=eD(e.bg,{colorPalette:s,bg:a,blendMode:l}),u={colorPalette:s,bg:d,blendMode:l},c=(n=e.button,r={baseBg:d,blendMode:l,colorPalette:s},{default:eY(n.default,r),ghost:eY(n.ghost,r),bleed:eY(n.bleed,r)}),h=function(e,t){let n={};for(let o of ep){var r,i;n[o]=(r=e[o],i=t,{enabled:eX(r.enabled,i),hovered:eX(r.hovered,i),pressed:eX(r.pressed,i),selected:eX(r.selected,i),disabled:eX(r.disabled,i)})}return n}(e.selectable,{colorPalette:s,baseBg:d,blendMode:l}),f={outline:eD(e.shadow.outline,u),umbra:eD(e.shadow.umbra,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}}),penumbra:eD(e.shadow.penumbra,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}}),ambient:eD(e.shadow.ambient,{...u,bg:void 0,colorPalette:{...s,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:eD(e.accent.fg,u)},avatar:eG(e.avatar,{baseBg:d,colorPalette:s,blendMode:l}),backdrop:eD(e.backdrop,u),badge:eq(e.badge,{baseBg:d,colorPalette:s,blendMode:l}),bg:d,border:eD(e.border,u),button:c,code:{bg:eD(e.code.bg,u),fg:eD(e.code.fg,u)},fg:eD(e.fg,u),focusRing:eD(e.focusRing,u),icon:eD(e.icon,u),input:(i=e.input,o={baseBg:d,colorPalette:s,blendMode:l},{default:eK(i.default,o),invalid:eK(i.invalid,o)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=eD(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,fg:eD(e.fg,s),border:eD(e.border,s)}}(e.kbd,{baseBg:d,colorPalette:s,blendMode:l}),link:{fg:eD(e.link.fg,u)},muted:{bg:eD(e.muted.bg,u),fg:eD(e.muted.fg,u)},shadow:f,skeleton:{from:eD(e.skeleton.from,u),to:eD(e.skeleton.to,u)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:i}=t,o={colorPalette:n,bg:r,blendMode:i};return{atrule:eD(e.atrule,o),attrName:eD(e.attrName,o),attrValue:eD(e.attrValue,o),attribute:eD(e.attribute,o),boolean:eD(e.boolean,o),builtin:eD(e.builtin,o),cdata:eD(e.cdata,o),char:eD(e.char,o),class:eD(e.class,o),className:eD(e.className,o),comment:eD(e.comment,o),constant:eD(e.constant,o),deleted:eD(e.deleted,o),doctype:eD(e.doctype,o),entity:eD(e.entity,o),function:eD(e.function,o),hexcode:eD(e.hexcode,o),id:eD(e.id,o),important:eD(e.important,o),inserted:eD(e.inserted,o),keyword:eD(e.keyword,o),number:eD(e.number,o),operator:eD(e.operator,o),prolog:eD(e.prolog,o),property:eD(e.property,o),pseudoClass:eD(e.pseudoClass,o),pseudoElement:eD(e.pseudoElement,o),punctuation:eD(e.punctuation,o),regex:eD(e.regex,o),selector:eD(e.selector,o),string:eD(e.string,o),symbol:eD(e.symbol,o),tag:eD(e.tag,o),unit:eD(e.unit,o),url:eD(e.url,o),variable:eD(e.variable,o)}}(e.syntax,{baseBg:d,colorPalette:s,blendMode:l}),selectable:h}}function eG(e,t){let n={};for(let r of N)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=eD(e.bg,{bg:n,blendMode:r,colorPalette:i});return{_blend:o,bg:s,fg:eD(e.fg,{bg:s,blendMode:o,colorPalette:i})}}(e[r],t);return n}function eq(e,t){let n={};for(let r of ep)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=eD(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,dot:eD(e.dot,s),fg:eD(e.fg,s),icon:eD(e.icon,s)}}(e[r],t);return n}function eY(e,t){let n={};for(let o of ep){var r,i;n[o]=(r=e[o],i=t,{enabled:eX(r.enabled,i),hovered:eX(r.hovered,i),pressed:eX(r.pressed,i),selected:eX(r.selected,i),disabled:eX(r.disabled,i)})}return n}function eX(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=eD(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:s,blendMode:o,colorPalette:i};return{_blend:o,accent:{fg:eD(e.accent.fg,a)},avatar:eG(e.avatar,{baseBg:s,colorPalette:i,blendMode:o}),badge:eq(e.badge,{baseBg:s,colorPalette:i,blendMode:o}),bg:s,border:eD(e.border,a),code:{bg:eD(e.code.bg,a),fg:eD(e.code.fg,a)},fg:eD(e.fg,a),icon:eD(e.icon,a),link:{fg:eD(e.link.fg,a)},muted:{bg:eD(e.muted.bg,a),fg:eD(e.muted.fg,a)},kbd:{bg:eD(e.kbd.bg,a),fg:eD(e.kbd.fg,a),border:eD(e.kbd.border,a)},skeleton:{from:eD(e.skeleton?.from,a),to:eD(e.skeleton?.to,a)}}}function eK(e,t){return{enabled:eJ(e.enabled,t),hovered:eJ(e.hovered,t),readOnly:eJ(e.readOnly,t),disabled:eJ(e.disabled,t)}}function eJ(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=eD(e.bg,{colorPalette:i,bg:n,blendMode:r}),a={colorPalette:i,bg:s,blendMode:o};return{_blend:o,bg:s,border:eD(e.border,a),fg:eD(e.fg,a),muted:{bg:eD(e.muted.bg,a)},placeholder:eD(e.placeholder,a)}}let eQ=new Map;var e1=e.i(38794),e0=e.i(77414);e.i(95690);var e5="-ms-",e2="-moz-",e3="-webkit-",e4="comm",e6="rule",e8="decl",e9="@keyframes",e7=Math.abs,te=String.fromCharCode,tt=Object.assign;function tn(e,t){return(e=t.exec(e))?e[0]:e}function tr(e,t,n){return e.replace(t,n)}function ti(e,t,n){return e.indexOf(t,n)}function to(e,t){return 0|e.charCodeAt(t)}function ts(e,t,n){return e.slice(t,n)}function ta(e){return e.length}function tl(e,t){return t.push(e),e}function td(e,t){return e.filter(function(e){return!tn(e,t)})}var tu=1,tc=1,th=0,tf=0,tp=0,tm="";function tg(e,t,n,r,i,o,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:tu,column:tc,length:s,return:"",siblings:a}}function tv(e,t){return tt(tg("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ty(e){for(;e.root;)e=tv(e.root,{children:[e]});tl(e,e.siblings)}function tw(){return tp=tf<th?to(tm,tf++):0,tc++,10===tp&&(tc=1,tu++),tp}function tb(){return to(tm,tf)}function tx(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tC(e){var t,n;return(t=tf-1,n=function e(t){for(;tw();)switch(tp){case t:return tf;case 34:case 39:34!==t&&39!==t&&e(tp);break;case 40:41===t&&e(t);break;case 92:tw()}return tf}(91===e?e+2:40===e?e+1:e),ts(tm,t,n)).trim()}function tk(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function tj(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case e8:return e.return=e.return||e.value;case e4:return"";case e9:return e.return=e.value+"{"+tk(e.children,r)+"}";case e6:if(!ta(e.value=e.props.join(",")))return""}return ta(n=tk(e.children,r))?e.return=e.value+"{"+n+"}":""}function tM(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case e8:e.return=function e(t,n,r){var i;switch(i=n,45^to(t,0)?(((i<<2^to(t,0))<<2^to(t,1))<<2^to(t,2))<<2^to(t,3):0){case 5103:return e3+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return e3+t+t;case 4855:return e3+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return e2+t+t;
1case 5349:case 4246:case 4810:case 6968:case 2756:return e3+t+e2+t+e5+t+t;case 5936:switch(to(t,n+11)){case 114:return e3+t+e5+tr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return e3+t+e5+tr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return e3+t+e5+tr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return e3+t+e5+t+t;case 6165:return e3+t+e5+"flex-"+t+t;case 5187:return e3+t+tr(t,/(\w+).+(:[^]+)/,e3+"box-$1$2"+e5+"flex-$1$2")+t;case 5443:return e3+t+e5+"flex-item-"+tr(t,/flex-|-self/g,"")+(tn(t,/flex-|baseline/)?"":e5+"grid-row-"+tr(t,/flex-|-self/g,""))+t;case 4675:return e3+t+e5+"flex-line-pack"+tr(t,/align-content|flex-|-self/g,"")+t;case 5548:return e3+t+e5+tr(t,"shrink","negative")+t;case 5292:return e3+t+e5+tr(t,"basis","preferred-size")+t;case 6060:return e3+"box-"+tr(t,"-grow","")+e3+t+e5+tr(t,"grow","positive")+t;case 4554:return e3+tr(t,/([^-])(transform)/g,"$1"+e3+"$2")+t;case 6187:return tr(tr(tr(t,/(zoom-|grab)/,e3+"$1"),/(image-set)/,e3+"$1"),t,"")+t;case 5495:case 3959:return tr(t,/(image-set\([^]*)/,e3+"$1$`$1");case 4968:return tr(tr(t,/(.+:)(flex-)?(.*)/,e3+"box-pack:$3"+e5+"flex-pack:$3"),/space-between/,"justify")+e3+t+t;case 4200:if(!tn(t,/flex-|baseline/))return e5+"grid-column-align"+ts(t,n)+t;break;case 2592:case 3360:return e5+tr(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,tn(e.props,/grid-\w+-end/)}))return~ti(t+(r=r[n].value),"span",0)?t:e5+tr(t,"-start","")+t+e5+"grid-row-span:"+(~ti(r,"span",0)?tn(r,/\d+/):tn(r,/\d+/)-tn(t,/\d+/))+";";return e5+tr(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return tn(e.props,/grid-\w+-start/)})?t:e5+tr(tr(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return tr(t,/(.+)-inline(.+)/,e3+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ta(t)-1-n>6)switch(to(t,n+1)){case 109:if(45!==to(t,n+4))break;case 102:return tr(t,/(.+:)(.+)-([^]+)/,"$1"+e3+"$2-$3$1"+e2+(108==to(t,n+3)?"$3":"$2-$3"))+t;case 115:return~ti(t,"stretch",0)?e(tr(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return tr(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,a){return e5+n+":"+r+a+(i?e5+n+"-span:"+(o?s:s-r)+a:"")+t});case 4949:if(121===to(t,n+6))return tr(t,":",":"+e3)+t;break;case 6444:switch(to(t,45===to(t,14)?18:11)){case 120:return tr(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+e3+(45===to(t,14)?"inline-":"")+"box$3$1"+e3+"$2$3$1"+e5+"$2box$3")+t;case 100:return tr(t,":",":"+e5)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return tr(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case e9:return tk([tv(e,{value:tr(e.value,"@","@"+e3)})],r);case e6:if(e.length){var i,o;return i=n=e.props,o=function(t){switch(tn(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ty(tv(e,{props:[tr(t,/:(read-\w+)/,":"+e2+"$1")]})),ty(tv(e,{props:[t]})),tt(e,{props:td(n,r)});break;case"::placeholder":ty(tv(e,{props:[tr(t,/:(plac\w+)/,":"+e3+"input-$1")]})),ty(tv(e,{props:[tr(t,/:(plac\w+)/,":"+e2+"$1")]})),ty(tv(e,{props:[tr(t,/:(plac\w+)/,e5+"input-$1")]})),ty(tv(e,{props:[t]})),tt(e,{props:td(n,r)})}return""},i.map(o).join("")}}}function tL(e,t,n,r,i,o,s,a,l,d,u,c){for(var h=i-1,f=0===i?o:[""],p=f.length,m=0,g=0,v=0;m<r;++m)for(var y=0,w=ts(e,h+1,h=e7(g=s[m])),b=e;y<p;++y)(b=(g>0?f[y]+" "+w:tr(w,/&\f/g,f[y])).trim())&&(l[v++]=b);return tg(e,t,n,0===i?e6:a,l,d,u,c)}function tS(e,t,n,r,i){return tg(e,t,n,e8,ts(e,0,r),ts(e,r+1,-1),r,i)}let tE=void 0!==e0.default&&void 0!==e0.default.env&&(e0.default.env.REACT_APP_SC_ATTR||e0.default.env.SC_ATTR)||"data-styled",tR="active",tV="data-styled-version",tH="6.4.1",t$="/*!sc*/\n",tA="u">typeof window&&"u">typeof document;function tT(e){if(void 0!==e0.default&&void 0!==e0.default.env){let t=e0.default.env[e];if(void 0!==t&&""!==t)return"false"!==t}}let t_=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:null!=(V=null!=(R=tT("REACT_APP_SC_DISABLE_SPEEDY"))?R:tT("SC_DISABLE_SPEEDY"))?V:void 0===e0.default||void 0===e0.default.env),tP="sc-keyframes-";function tI(e,...t){return Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let tO=new Map,tB=new Map,tW=1,tz=e=>{if(tO.has(e))return tO.get(e);for(;tB.has(tW);)tW++;let t=tW++;return tO.set(e,t),tB.set(t,e),t},tN=e=>tB.get(e),tD=(e,t)=>{tW=t+1,tO.set(e,t),tB.set(t,e)},tF=Object.freeze([]),tZ=Object.freeze({}),tU=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tG=/(^-|-$)/g;function tq(e){return e.replace(tU,"-").replace(tG,"")}let tY=/(a)(d)/gi,tX=e=>String.fromCharCode(e+(e>25?39:97));function tK(e){let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tX(t%52)+n;return(tX(t%52)+n).replace(tY,"$1-$2")}let tJ=(e,t)=>
1{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e};function tQ(e){return tK(tJ(5381,e)>>>0)}function t1(e){return"string"==typeof e}let t0=Symbol.for("react.memo"),t5=Symbol.for("react.forward_ref"),t2={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},t3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},t6={[t5]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[t0]:t4};function t8(e){return("type"in e&&e.type.$$typeof)===t0?t4:"$$typeof"in e?t6[e.$$typeof]:t2}let t9=Object.defineProperty,t7=Object.getOwnPropertyNames,ne=Object.getOwnPropertySymbols,nt=Object.getOwnPropertyDescriptor,nn=Object.getPrototypeOf,nr=Object.prototype;function ni(e){return"function"==typeof e}function no(e){return"object"==typeof e&&"styledComponentId"in e}function ns(e,t){return e&&t?e+" "+t:e||t||""}function na(e,t){return e.join(t||"")}function nl(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nd(e,t){Object.defineProperty(e,"toString",{value:t})}let nu=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){let t=this.groupSizes,n=t.length,r=n;for(;e>=r;)if((r<<=1)<0)throw tI(16,`${e}`);this.groupSizes=new Uint32Array(r),this.groupSizes.set(t),this.length=r;for(let e=n;e<r;e++)this.groupSizes[e]=0}let n=this.indexOfGroup(e+1),r=0;for(let i=0,o=t.length;i<o;i++)this.tag.insertRule(n,t[i])&&(this.groupSizes[e]++,n++,r++);r>0&&this._cGroup>e&&(this._cIndex+=r)}clearGroup(e){if(e<this.length){let t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(let e=n;e<r;e++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||0===this.groupSizes[e])return t;let n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n;for(let e=r;e<i;e++)t+=this.tag.getRule(e)+t$;return t}},nc=`style[${tE}][${tV}="${tH}"]`,nh=RegExp(`^${tE}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),nf=e=>"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType,np=e=>{if(!e)return document;if(nf(e))return e;if("getRootNode"in e){let t=e.getRootNode();if(nf(t))return t}return document},nm=(e,t,n)=>{let r,i=n.split(",");for(let n=0,o=i.length;n<o;n++)(r=i[n])&&e.registerName(t,r)},ng=(e,t)=>{var n;let r=(null!=(n=t.textContent)?n:"").split(t$),i=[];for(let t=0,n=r.length;t<n;t++){let n=r[t].trim();if(!n)continue;let o=n.match(nh);if(o){let t=0|parseInt(o[1],10),n=o[2];0!==t&&(tD(n,t),nm(e,n,o[3]),e.getTag().insertRules(t,i)),i.length=0}else i.push(n)}},nv=e=>{let t=np(e.options.target).querySelectorAll(nc);for(let n=0,r=t.length;n<r;n++){let r=t[n];r&&r.getAttribute(tE)!==tR&&(ng(e,r),r.parentNode&&r.parentNode.removeChild(r))}},ny=!1,nw=(e,t)=>{let n,r=document.head,i=e||r,o=document.createElement("style"),s=(n=Array.from(i.querySelectorAll(`style[${tE}]`)))[n.length-1],a=void 0!==s?s.nextSibling:null;o.setAttribute(tE,tR),o.setAttribute(tV,tH);let l=t||function(){if(!1!==ny)return ny;if("u">typeof document){let e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return ny=e.nonce||e.getAttribute("content")||void 0;let t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return ny=t.getAttribute("content")||void 0}return ny="u">typeof __webpack_nonce__?__webpack_nonce__:void 0}();return l&&o.setAttribute("nonce",l),i.insertBefore(o,a),o},nb=class{constructor(e,t){this.element=nw(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(e=>{var t;if(e.sheet)return e.sheet;let n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets;for(let t=0,r=n.length;t<r;t++){let r=n[t];if(r.ownerNode===e)return r}throw tI(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){let t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}}
1,nx=class{constructor(e,t){this.element=nw(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){let n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}},nC=tA,nk={isServer:!tA,useCSSOMInjection:!t_};class nj{static registerId(e){return tz(e)}constructor(e=tZ,t={},n){this.options=Object.assign(Object.assign({},nk),e),this.gs=t,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!e.isServer,!this.server&&tA&&nC&&(nC=!1,nv(this)),nd(this,()=>(e=>{let t=e.getTag(),{length:n}=t,r="";for(let i=0;i<n;i++){let n=tN(i);if(void 0===n)continue;let o=e.names.get(n);if(void 0===o||!o.size)continue;let s=t.getGroup(i);if(0===s.length)continue;let a=tE+".g"+i+'[id="'+n+'"]',l="";for(let e of o)e.length>0&&(l+=e+",");r+=s+a+'{content:"'+l+'"}'+t$}return r})(this))}rehydrate(){!this.server&&tA&&nv(this)}reconstructWithOptions(e,t=!0){let n=new nj(Object.assign(Object.assign({},this.options),e),this.gs,t&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&tA&&e.target!==this.options.target&&np(this.options.target)!==np(e.target)&&nv(n),n}allocateGSInstance(e){return this.gs[e]=(this.gs[e]||0)+1}getTag(){return this.tag||(this.tag=new nu((({useCSSOMInjection:e,target:t,nonce:n})=>e?new nb(t,n):new nx(t,n))(this.options)))}hasNameForId(e,t){var n,r;return null!=(r=null==(n=this.names.get(e))?void 0:n.has(t))&&r}registerName(e,t){tz(e),e.startsWith(tP)&&this.keyframeIds.add(e);let n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))}insertRules(e,t,n){this.registerName(e,t),this.getTag().insertRules(tz(e),n)}clearNames(e){this.names.has(e)&&this.names.get(e).clear()}clearRules(e){this.getTag().clearGroup(tz(e)),this.clearNames(e)}clearTag(){this.tag=void 0}}let nM=new WeakSet,nL={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function nS(e){if(45===e.charCodeAt(0)&&45===e.charCodeAt(1))return e;let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t+=r>=65&&r<=90?"-"+String.fromCharCode(r+32):e[n]}return t.startsWith("ms-")?"-"+t:t}let nE=Symbol.for("sc-keyframes");function nR(e){return ni(e)&&!(e.prototype&&e.prototype.isReactComponent)}let nV=e=>null==e||!1===e||""===e,nH=Symbol.for("react.client.reference");function n$(e){return e.$$typeof===nH}function nA(e,t,n,r,i=[]){if(nV(e))return i;let o=typeof e;if("string"===o)return i.push(e),i;if("function"===o)return n$(e)?i:nR(e)&&t?nA(e(t),t,n,r,i):(i.push(e),i);if(Array.isArray(e)){for(let o=0;o<e.length;o++)nA(e[o],t,n,r,i);return i}return no(e)?i.push(`.${e.styledComponentId}`):"object"==typeof e&&null!==e&&nE in e?n?(e.inject(n,r),i.push(e.getName(r))):i.push(e):n$(e)||(nl(e)?function e(t,n){for(let r in t){let i=t[r];t.hasOwnProperty(r)&&!nV(i)&&(Array.isArray(i)&&nM.has(i)||ni(i)?n.push(nS(r)+":",i,";"):nl(i)?(n.push(r+" {"),e(i,n),n.push("}")):n.push(nS(r)+": "+(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in nL||r.startsWith("--")?String(i).trim():i+"px")+";"))}}(e,i):i.push(e.toString())),i}let nT=tJ(5381,tH);class n_{constructor(e,t,n){this.rules=e,this.componentId=t,this.baseHash=tJ(nT,t),this.baseStyle=n,nj.registerId(t)}generateAndInjectStyles(e,t,n){let r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";{let i="";for(let r=0;r<this.rules.length;r++){let o=this.rules[r];if("string"==typeof o)i+=o;else if(o)if(nR(o)){let r=o(e);"string"==typeof r?i+=r:null!=r&&!1!==r&&(i+=na(nA(r,e,t,n)))}else i+=na(nA(o,e,t,n))}
1if(i){this.dynamicNameCache||(this.dynamicNameCache=new Map);let e=n.hash?n.hash+i:i,o=this.dynamicNameCache.get(e);if(!o){if(o=tK(tJ(tJ(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){let e=this.dynamicNameCache.keys().next().value;void 0!==e&&this.dynamicNameCache.delete(e)}this.dynamicNameCache.set(e,o)}if(!t.hasNameForId(this.componentId,o)){let e=n(i,"."+o,void 0,this.componentId);t.insertRules(this.componentId,o,e)}r=ns(r,o)}}return r}}let nP=/&/g;function nI(e,t){let n=0;for(;--t>=0&&92===e.charCodeAt(t);)n++;return!(1&~n)}function nO(e){let t=e.length,n="",r=0,i=0,o=0,s=!1,a=!1;for(let l=0;l<t;l++){let d=e.charCodeAt(l);if(0!==o||s||47!==d||42!==e.charCodeAt(l+1))if(s)42===d&&47===e.charCodeAt(l+1)&&(s=!1,l++);else if(34!==d&&39!==d||nI(e,l)){if(0===o)if(123===d)i++;else if(125===d){if(--i<0){a=!0;let n=l+1;for(;n<t;){let t=e.charCodeAt(n);if(59===t||10===t)break;n++}n<t&&59===e.charCodeAt(n)&&n++,i=0,l=n-1,r=n;continue}0===i&&(n+=e.substring(r,l+1),r=l+1)}else 59===d&&0===i&&(n+=e.substring(r,l+1),r=l+1)}else 0===o?o=d:o===d&&(o=0);else s=!0,l++}return a||0!==i||0!==o?(r<t&&0===i&&0===o&&(n+=e.substring(r)),n):e}let nB=new nj,nW=function({options:e=tZ,plugins:t=tF}=tZ){var n,r,i;let o,s,a,l=(e,t,n)=>n.startsWith(s)&&n.endsWith(s)&&n.replaceAll(s,"").length>0?`.${o}`:e,d=t.slice();d.push(e=>{e.type===e6&&e.value.includes("&")&&(a||(a=RegExp(`\\${s}\\b`,"g")),e.props[0]=e.props[0].replace(nP,s).replace(a,l))}),e.prefix&&d.push(tM),d.push(tj);let u=[],c=(i=(r=d.concat((n=e=>u.push(e),function(e){!e.root&&(e=e.return)&&n(e)}))).length,function(e,t,n,o){for(var s="",a=0;a<i;a++)s+=r[a](e,t,n,o)||"";return s}),h=(t,n="",r="",i="&")=>{var l,d,h;o=i,s=n,a=void 0;let f=function(e){let t=-1!==e.indexOf("//"),n=-1!==e.indexOf("}");if(!t&&!n)return e;if(!t)return nO(e);let r=e.length,i="",o=0,s=0,a=0,l=0,d=0,u=!1;for(;s<r;){let t=e.charCodeAt(s);if(34!==t&&39!==t||nI(e,s))if(0===a)if(47===t&&s+1<r&&42===e.charCodeAt(s+1)){for(s+=2;s+1<r&&(42!==e.charCodeAt(s)||47!==e.charCodeAt(s+1));)s++;s+=2}else if(40!==t)if(41!==t)if(l>0)s++;else if(42===t&&s+1<r&&47===e.charCodeAt(s+1))i+=e.substring(o,s),s+=2,o=s,u=!0;else if(47===t&&s+1<r&&47===e.charCodeAt(s+1)){for(i+=e.substring(o,s);s<r&&10!==e.charCodeAt(s);)s++;o=s,u=!0}else 123===t?d++:125===t&&d--,s++;else l>0&&l--,s++;else l++,s++;else s++;else 0===a?a=t:a===t&&(a=0),s++}return u?(o<r&&(i+=e.substring(o)),0===d?i:nO(i)):0===d?e:nO(e)}(t),p=(h=function e(t,n,r,i,o,s,a,l,d){for(var u,c,h,f,p=0,m=0,g=a,v=0,y=0,w=0,b=1,x=1,C=1,k=0,j="",M=o,L=s,S=i,E=j;x;)switch(w=k,k=tw()){case 40:if(108!=w&&58==to(E,g-1)){-1!=ti(E+=tr(tC(k),"&","&\f"),"&\f",e7(p?l[p-1]:0))&&(C=-1);break}case 34:case 39:case 91:E+=tC(k);break;case 9:case 10:case 13:case 32:E+=function(e){for(;tp=tb();)if(tp<33)tw();else break;return tx(e)>2||tx(tp)>3?"":" "}(w);break;case 92:E+=function(e,t){for(var n;--t&&tw()&&!(tp<48)&&!(tp>102)&&(!(tp>57)||!(tp<65))&&(!(tp>
170)||!(tp<97)););return n=tf+(t<6&&32==tb()&&32==tw()),ts(tm,e,n)}(tf-1,7);continue;case 47:switch(tb()){case 42:case 47:tl((u=function(e,t){for(;tw();)if(e+tp===57)break;else if(e+tp===84&&47===tb())break;return"/*"+ts(tm,t,tf-1)+"*"+te(47===e?e:tw())}(tw(),tf),c=n,h=r,f=d,tg(u,c,h,e4,te(tp),ts(u,2,-2),0,f)),d),(5==tx(w||1)||5==tx(tb()||1))&&ta(E)&&" "!==ts(E,-1,void 0)&&(E+=" ");break;default:E+="/"}break;case 123*b:l[p++]=ta(E)*C;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+m:-1==C&&(E=tr(E,/\f/g,"")),y>0&&(ta(E)-g||0===b&&47===w)&&tl(y>32?tS(E+";",i,r,g-1,d):tS(tr(E," ","")+";",i,r,g-2,d),d);break;case 59:E+=";";default:if(tl(S=tL(E,n,r,p,m,o,l,j,M=[],L=[],g,s),s),123===k)if(0===m)e(E,n,S,S,M,s,g,l,L);else{switch(v){case 99:if(110===to(E,3))break;case 108:if(97===to(E,2))break;default:m=0;case 100:case 109:case 115:}m?e(t,S,S,i&&tl(tL(t,S,S,0,0,o,l,j,o,M=[],g,L),L),o,L,g,l,i?M:L):e(E,S,S,S,[""],L,0,l,L)}}p=m=y=0,b=C=1,j=E="",g=a;break;case 58:g=1+ta(E),y=w;default:if(b<1){if(123==k)--b;else if(125==k&&0==b++&&125==(tp=tf>0?to(tm,--tf):0,tc--,10===tp&&(tc=1,tu--),tp))continue}switch(E+=te(k),k*b){case 38:C=m>0?1:(E+="\f",-1);break;case 44:l[p++]=(ta(E)-1)*C,C=1;break;case 64:45===tb()&&(E+=tC(tw())),v=tb(),m=g=ta(j=E+=function(e){for(;!tx(tb());)tw();return ts(tm,e,tf)}(tf)),k++;break;case 45:45===w&&2==ta(E)&&(b=0)}}return s}("",null,null,null,[""],(d=l=r||n?r+" "+n+" { "+f+" }":f,tu=tc=1,th=ta(tm=d),tf=0,l=[]),0,[0],l),tm="",h);return e.namespace&&(p=function e(t,n){let r=n+" ",i=","+r;for(let o=0;o<t.length;o++){let s=t[o];if("rule"===s.type){s.value=(r+s.value).replaceAll(",",i);let e=s.props,t=[];for(let n=0;n<e.length;n++)t[n]=r+e[n];s.props=t}Array.isArray(s.children)&&"@keyframes"!==s.type&&e(s.children,n)}return t}(p,e.namespace)),u=[],tk(p,c),u},f=5381;for(let e=0;e<t.length;e++)t[e].name||tI(15),f=tJ(f,t[e].name);return(null==e?void 0:e.namespace)&&(f=tJ(f,e.namespace)),(null==e?void 0:e.prefix)&&(f=tJ(f,"p")),h.hash=5381!==f?f.toString():"",h}(),nz=B.default.createContext({shouldForwardProp:void 0,styleSheet:nB,stylis:nW,stylisPlugins:void 0});nz.Consumer;let nN=B.default.createContext(void 0);function nD(e){let t=B.default.useContext(nN),n=B.default.useMemo(()=>(function(e,t){if(!e)throw tI(14);if(ni(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw tI(8);return t?Object.assign(Object.assign({},t),e):e})(e.theme,t),[e.theme,t]);return e.children?B.default.createElement(nN.Provider,{value:n},e.children):null}nN.Consumer;let nF=Object.prototype.hasOwnProperty,nZ={};function nU(e,t,n){var r,i;let o,s,a=no(e),l=!t1(e),{attrs:d=tF,componentId:u=(r=t.displayName,i=t.parentComponentId,nZ[o="string"!=typeof r?"sc":tq(r)]=(nZ[o]||0)+1,s=o+"-"+tQ(tH+o+nZ[o]),i?i+"-"+s:s),displayName:c=t1(e)?`styled.${e}`:`Styled(${e.displayName||e.name||"Component"})`}=t,h=t.displayName&&t.componentId?tq(t.displayName)+"-"+t.componentId:t.componentId||u,f=a&&e.attrs?e.attrs.concat(d).filter(Boolean):d,{shouldForwardProp:p}=t;if(a&&e.shouldForwardProp){let n=e.shouldForwardProp;if(t.shouldForwardProp){let e=t.shouldForwardProp;p=(t,r)=>n(t,r)&&e(t,r)}else p=n}let m=new n_(n,h,a?e.componentStyle:void 0);function g(e,t){return function(e,t,n){let r,i,{attrs:o,componentStyle:s,defaultProps:a,foldedComponentIds:l,styledComponentId:d,target:u}=e,c=B.default.useContext(nN),h=B.default.useContext(nz),f=e.shouldForwardProp||h.shouldForwardProp,p=function(e,t,n=tZ){return e.theme!==n.theme&&e.theme||t||n.theme}(t,c,a)||tZ;{let e=B.default.useRef(null),n=e.current;if(null!==n&&n[1]===p&&n[2]===h.styleSheet&&n[3]===h.stylis&&n[7]===s&&function(e,t,n){let r=0;for(let n in t)if(nF.call(t,n)&&(r++,e[n]!==t[n]))return!1;return r===n}(n[0],t,n[4]))r=n[5],i=n[6];else{var m,g,v;r=function(e,t,n){let r=Object.assign(Object.assign({},t),{className:void 0,theme:n}),i=e.length>1;for(let n=0;n<e.length;n++){let o=e[n],s=ni(o)?o(i?Object.assign({},r):r):o;for(let e in s)"className"===e?r.className=ns(r.className,s[e]):"style"===e?r.style=Object.assign(Object.assign({},r.style),s[e]):e in t&&void 0===t[e]||(r[e]=s[e])}return"className"in t&&"string"==typeof t.className&&(r.className=ns(r.className,t.className)),r}(o,t,p),m=r,g=h.styleSheet,v=h.stylis,i=s.generateAndInjectStyles(m,g,v);let n=0;for(let e in t)nF.call(t,e)&&n++;e.current=[t,p,h.styleSheet,h.stylis,n,r,i,s]}}let y=r.as||u,w=function(e,t,n,r){let i={};for(let o in e)void 0===e[o]||"$"===o[0]||"as"===o||"theme"===o&&e.theme===n||("forwardedAs"===o?i.as=e.forwardedAs:r&&!r(o,t)||(i[o]=e[o]));return i}(r,y,p,f),b=ns(l,d);return i&&(b+=" "+i),r.className&&(b+=" "+r.className),w[t1(y)&&y.includes("-")?"class":"className"]=b,n&&(w.ref=n),(0,B.createElement)(y,w)}(v,e,t)}g.displayName=c;
1let v=B.default.forwardRef(g);return v.attrs=f,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=p,v.foldedComponentIds=a?ns(e.foldedComponentIds,e.styledComponentId):"",v.styledComponentId=h,v.target=a?e.target:e,Object.defineProperty(v,"defaultProps",{get(){return this._foldedDefaultProps},set(t){this._foldedDefaultProps=a?function(e,...t){for(let n of t)!function e(t,n,r=!1){if(!r&&!nl(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(let r=0;r<n.length;r++)t[r]=e(t[r],n[r]);else if(nl(n))for(let r in n)t[r]=e(t[r],n[r]);return t}(e,n,!0);return e}({},e.defaultProps,t):t}}),nd(v,()=>`.${v.styledComponentId}`),l&&function e(t,n,r){if("string"!=typeof n){let i=nn(n);i&&i!==nr&&e(t,i,r);let o=t7(n).concat(ne(n)),s=t8(t),a=t8(n);for(let e=0;e<o.length;++e){let i=o[e];if(!(i in t3||r&&r[i]||a&&i in a||s&&i in s)){let e=nt(n,i);try{t9(t,i,e)}catch(e){}}}}return t}(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}var nG=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function nq(e,t){let n=[e[0]];for(let r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}let nY=e=>(nM.add(e),e);function nX(e,...t){return ni(e)||nl(e)?nY(nA(nq(tF,[e,...t]))):0===t.length&&1===e.length&&"string"==typeof e[0]?nA(e):nY(nA(nq(e,t)))}let nK=e=>(function e(t,n,r=tZ){if(!n)throw tI(1,n);let i=(e,...i)=>t(n,r,nX(e,...i));return i.attrs=i=>e(t,n,Object.assign(Object.assign({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)})),i.withConfig=i=>e(t,n,Object.assign(Object.assign({},r),i)),i})(nU,e);nG.forEach(e=>{nK[e]=nK(e)});class nJ{constructor(e,t){this[H]=!0,this.inject=(e,t=nW)=>{let n=this.getName(t);if(!e.hasNameForId(this.id,n)){let r=t(this.rules,n,"@keyframes");e.insertRules(this.id,n,r)}},this.name=e,this.id=tP+e,this.rules=t,tz(this.id),nd(this,()=>{throw tI(12,String(this.name))})}getName(e=nW){return e.hash?this.name+tK(e.hash>>>0):this.name}}function nQ(e,...t){let n=na(nX(e,...t));return new nJ(tQ(n),n)}H=nE;var n1=e.i(60592);let n0=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"access-denied",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),n5=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"activity",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),n2=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"add-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),n3=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"add-comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),n4=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"add-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11.5 4.5H18.5V12M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5M6.5 9.5V19.5H11M20 17.5H16.5M16.5 17.5H13M16.5 17.5V14M16.5 17.5V21",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),n6=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"add",
1width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),n8=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"add-user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7.17857 15.2368C6.10714 15.7632 4.5 16.8158 4.5 20.5H19.5C19.5 16.8158 18.2589 15.943 16.8214 15.2368C15.75 14.7105 13.6071 14.7105 13.6071 13.1316C13.6071 11.5526 14.6786 10.7632 14.6786 8.65789C14.6786 6.55263 13.6071 5.5 12 5.5C10.3929 5.5 9.32142 6.55263 9.32142 8.65789C9.32142 10.7632 10.3929 11.5526 10.3929 13.1316C10.3929 14.7105 8.25 14.7105 7.17857 15.2368Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 6V13M17 9.5H24",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),n9=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"api",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})}),n7=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"archive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 10V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 17.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),re=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"arrow-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rt=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"arrow-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5.5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11 18L5.5 12.5L11 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rn=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19.5 12.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M14 7L19.5 12.5L14 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rr=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"arrow-top-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ri=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"arrow-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ro=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"asterisk",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 4V21M16.75 5.13879L8.25 19.8612M19.8612 8.25L5.13878 16.75M4.00002 12.5H21M5.13881 8.25L19.8612 16.75M8.25002 5.13879L16.75 19.8612",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rs=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bar-chart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ra=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"basket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19 
116.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rl=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bell",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rd=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bill",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ru=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"binary-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})]})}),rc=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"block-content",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z",fill:"currentColor"})]})}),rh=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"block-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rf=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"blockquote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rp=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bold",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z",fill:"currentColor"})})}),rm=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bolt",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rg=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"book",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M19.5 18V7C19.5 7 18.5 6.5 16.5 6.5C14.5 6.5 12.5 7.5 12.5 7.5M19.5 18V18.5C19.5 18.5 18 18.5 16 18.5C14 18.5 12.5 18.5 12.5 18.5M19.5 18C19.5 18 18.5 17.5 16.5 17.5C14.5 17.5 12.5 18.5 12.5 18.5M5.5 18V7C5.5 7 6.5 6.5 8.5 6.5C10.5 6.5 12.5 7.5 12.5 7.5M5.5 18V18.5C5.5 18.5 7 18.5 9 18.5C11 18.5 12.5 18.5 12.5 18.5M5.5 18C5.5 18 6.5 17.5 8.5 17.5C10.5 17.5 12.5 18.5 12.5 18.5M12.5 18.5V7.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rv=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bookmark-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ry=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bookmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 6.5V19.5L12.5 14.5L17.5 19.5V6.5C17.5 5.94772 17.0523 5.5 16.5 5.5H8.5C7.94772 5.5 7.5 5.94772 7.5 6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rw=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bottle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rb=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 9.5V8.9C8.16863 8.9 7.9 9.16863 7.9 9.5H8.5ZM16.5 9.5H17.1C17.1 9.16863 16.8314 8.9 16.5 8.9V9.5ZM8.5 10.1H9.5V8.9H8.5V10.1ZM9.5 10.1H15.5V8.9H9.5V10.1ZM15.5 10.1H16.5V8.9H15.5V10.1ZM15.9 9.5V13.5H17.1V9.5H15.9ZM15.9 13.5C15.9 14.395 15.678 15.0264 15.3758 15.4797C15.0711 15.9367 14.6605 16.2489 14.2317 16.4633C13.8005 16.6789 13.3621 16.7897 13.0264 16.8457C12.8599 16.8734 12.7226 16.887 12.6291 16.8937C12.5825 16.897 12.5472 16.8986 12.5249 16.8994C12.5138 16.8997 12.506 16.8999 12.5018 16.9C12.4997 16.9 12.4984 16.9 12.4981 16.9C12.498 16.9 12.4981 16.9 12.4984 16.9C12.4985 16.9 12.4987 16.9 12.499 16.9C12.4991 16.9 12.4994 16.9 12.4995 16.9C12.4997 16.9 12.5 16.9 12.5 17.5C12.5 18.1 12.5003 18.1 12.5006 18.1C12.5008 18.1 12.5011 18.1 12.5014 18.1C12.5019 18.1 12.5025 18.1 12.5031 18.1C12.5044 18.1 12.5059 18.1 12.5077 18.1C12.5112 18.0999 12.5157 18.0999 12.5212 18.0998C12.532 18.0996 12.5467 18.0993 12.5649 18.0987C12.6013 18.0975 12.6519 18.0951 12.7146 18.0907C12.8399 18.0817 13.0151 18.0641 13.2236 18.0293C13.6379 17.9603 14.1995 17.8211 14.7683 17.5367C15.3395 17.2511 15.9289 16.8133 16.3742 16.1453C16.822 15.4736 17.1 14.605 17.1 13.5H15.9ZM12.5 17.5C12.5 16.9 12.5003 16.9 12.5005 16.9C12.5006 16.9 12.5009 16.9 12.501 16.9C12.5013 16.9 12.5015 16.9 12.5016 16.9C12.5019 16.9 12.502 16.9 12.5019 16.9C12.5016 16.9 12.5003 16.9 12.4982 16.9C12.494 16.8999 12.4862 16.8997 12.4751 16.8994C12.4528 16.8986 12.4175 16.897 12.3709 16.8937C12.2774 16.887 12.1401 16.8734 11.9736 16.8457C11.6379 16.7897 11.1995 16.6789 10.7683 16.4633C10.3395 16.2489 9.92894 15.9367 9.62423 15.4797C9.32203 15.0264 9.1 14.395 9.1 13.5H7.9C7.9 14.605 8.17797 15.4736 8.62577 16.1453C9.07106 16.8133 9.66049 17.2511 10.2317 17.5367C10.8005 17.8211 11.3621 17.9603 11.7764 18.0293C11.9849 18.0641 12.1601 18.0817 12.2854 18.0907C12.3481 18.0951 12.3987 18.0975 12.4351 18.0987C12.4533 18.0993 12.468 18.0996 12.4788 18.0998C12.4843 18.0999 12.4888 18.0999 12.4923 18.1C12.4941 18.1 12.4956 18.1 12.4969 18.1C12.4975 18.1 12.4981 18.1 12.4986 18.1C12.4989 18.1 12.4992 18.1 12.4994 18.1C12.4997 18.1 12.5 18.1 12.5 17.5ZM9.1 13.5V9.5H7.9V13.5H9.1Z
1M9.5 9.5C10.1 9.5 10.1 9.50028 10.1 9.50055C10.1 9.50063 10.1 9.50089 10.1 9.50104C10.1 9.50134 10.1 9.5016 10.1 9.50182C10.1 9.50225 10.1 9.5025 10.1 9.50259C10.1 9.50276 10.1 9.50224 10.1 9.50107C10.1001 9.49872 10.1002 9.49374 10.1004 9.4863C10.1009 9.4714 10.102 9.44678 10.1043 9.41384C10.1091 9.34776 10.1188 9.24944 10.1387 9.12989C10.179 8.88793 10.2586 8.5745 10.4117 8.26833C10.5636 7.96451 10.782 7.67894 11.0984 7.46798C11.4111 7.25953 11.855 7.1 12.5 7.1V5.9C11.645 5.9 10.9639 6.11547 10.4328 6.46952C9.90549 6.82106 9.56143 7.28549 9.33834 7.73167C9.11643 8.1755 9.00846 8.61207 8.95504 8.93261C8.92809 9.09431 8.91438 9.23036 8.90738 9.32835C8.90388 9.37744 8.90203 9.41727 8.90107 9.44632C8.90058 9.46085 8.90031 9.47272 8.90017 9.48172C8.9001 9.48622 8.90005 9.49001 8.90003 9.49306C8.90002 9.49459 8.90001 9.49593 8.90001 9.49709C8.9 9.49767 8.9 9.4982 8.9 9.49869C8.9 9.49893 8.9 9.49926 8.9 9.49938C8.9 9.4997 8.9 9.5 9.5 9.5ZM12.5 7.1C13.145 7.1 13.5889 7.25953 13.9016 7.46798C14.218 7.67894 14.4364 7.96451 14.5883 8.26833C14.7414 8.5745 14.821 8.88793 14.8613 9.12989C14.8812 9.24944 14.8909 9.34776 14.8957 9.41384C14.898 9.44678 14.8991 9.4714 14.8996 9.4863C14.8998 9.49374 14.8999 9.49872 14.9 9.50107C14.9 9.50224 14.9 9.50276 14.9 9.50259C14.9 9.5025 14.9 9.50225 14.9 9.50182C14.9 9.5016 14.9 9.50134 14.9 9.50104C14.9 9.50089 14.9 9.50063 14.9 9.50055C14.9 9.50028 14.9 9.5 15.5 9.5C16.1 9.5 16.1 9.4997 16.1 9.49938C16.1 9.49926 16.1 9.49893 16.1 9.49869C16.1 9.4982 16.1 9.49767 16.1 9.49709C16.1 9.49593 16.1 9.49459 16.1 9.49306C16.0999 9.49001 16.0999 9.48622 16.0998 9.48172C16.0997 9.47272 16.0994 9.46085 16.0989 9.44632C16.098 9.41727 16.0961 9.37744 16.0926 9.32835C16.0856 9.23036 16.0719 9.09431 16.045 8.93261C15.9915 8.61207 15.8836 8.1755 15.6617 7.73167C15.4386 7.28549 15.0945 6.82106 14.5672 6.46952C14.0361 6.11547 13.355 5.9 12.5 5.9V7.1ZM11.9 9.5V17.5H13.1V9.5H11.9ZM8.5 9.9C7.71525 9.9 7.10887 9.51034 6.67426 9.07574C6.45859 8.86006 6.29547 8.64279 6.18673 8.47968C6.1327 8.39863 6.09302 8.33235 6.06782 8.28825C6.05524 8.26624 6.04634 8.24988 6.04113 8.24011C6.03853 8.23523 6.03685 8.232 6.0361 8.23055C6.03573 8.22983 6.03559 8.22955 6.03568 8.22973C6.03573 8.22982 6.03583 8.23003 6.03599 8.23035C6.03607 8.23051 6.03617 8.2307 6.03628 8.23092C6.03634 8.23103 6.03643 8.23122 6.03646 8.23127C6.03656 8.23147 6.03666 8.23167 5.5 8.5C4.96334 8.76833 4.96345 8.76855 4.96357 8.76877C4.96361 8.76886 4.96372 8.76909 4.96381 8.76926C4.96398 8.7696 4.96417 8.76997 4.96437 8.77038C4.96478 8.77119 4.96525 8.77212 4.96579 8.77317C4.96685 8.77527 4.96818 8.77786 4.96976 8.78092C4.97292 8.78704 4.9771 8.79505 4.98231 8.80481C4.99272 8.82434 5.00726 8.85094 5.02593 8.88362C5.06323 8.9489 5.1173 9.03887 5.18827 9.14532C5.32953 9.35721 5.54141 9.63994 5.82574 9.92426C6.39113 10.4897 7.28475 11.1 8.5 11.1V9.9ZM16.5 11.1C17.7153 11.1 18.6089 10.4897 19.1743 9.92426C19.4586 9.63994 19.6705 9.35721 19.8117 9.14532C19.8827 9.03887 19.9368 8.9489 19.9741 8.88362C19.9927 8.85094 20.0073 8.82434 20.0177 8.80481C20.0229 8.79505 20.0271 8.78704 20.0302 8.78092C20.0318 8.77786 20.0331 8.77527 20.0342 8.77317C20.0347 8.77212 20.0352 8.77119 20.0356 8.77038C20.0358 8.76997 20.036 8.7696 20.0362 8.76926C20.0363 8.76909 20.0364 8.76886 20.0364 8.76877C20.0365 8.76855 20.0367 8.76833 19.5 8.5C18.9633 8.23167 18.9634 8.23147 18.9635 8.23127C18.9636 8.23122 18.9637 8.23103 18.9637 8.23092C18.9638 8.2307 18.9639 8.23051 18.964 8.23035C18.9642 8.23003 18.9643 8.22982 18.9643 8.22973C18.9644 8.22955 18.9643 8.22983 18.9639 8.23055C18.9632 8.232 18.9615 8.23523 18.9589 8.24011C18.9537 8.24988 18.9448 8.26624 18.9322 8.28825C18.907 8.33235 18.8673 8.39863 18.8133 8.47968C18.7045 8.64279 18.5414 8.86006 18.3257 9.07574C17.8911 9.51034 17.2847 9.9 16.5 9.9V11.1ZM16.5 13.1H20V11.9H16.5V13.1ZM16.5 15.1C17.2847 15.1 17.8911 15.4897 18.3257 15.9243C18.5414 16.1399 18.7045 16.3572 18.8133 16.5203C18.8673 16.6014 18.907 16.6676 18.9322 16.7117C18.9448 16.7338 18.9537 16.7501 18.9589 16.7599C18.9615 16.7648 18.9632 16.768 18.9639 16.7694C18.9643 16.7702 18.9644 16.7705 18.9643 16.7703C18.9643 16.7702 18.9642 16.77 18.964 16.7697C18.9639 16.7695 18.9638 16.7693 18.9637 16.7691C18.9637 16.769 18.9636 16.7688 18.9635 16.7687C18.9634 16.7685 18.9633 16.7683 19.5 16.5C20.0367 16.2317 20.0365 16.2315 20.0364 16.2312C20.0364 16.2311 20.0363 16.2309 20.0362 16.2307C20.036 16.23
104 20.0358 16.23 20.0356 16.2296C20.0352 16.2288 20.0347 16.2279 20.0342 16.2268C20.0331 16.2247 20.0318 16.2221 20.0302 16.2191C20.0271 16.213 20.0229 16.205 20.0177 16.1952C20.0073 16.1757 19.9927 16.1491 19.9741 16.1164C19.9368 16.0511 19.8827 15.9611 19.8117 15.8547C19.6705 15.6428 19.4586 15.3601 19.1743 15.0757C18.6089 14.5103 17.7153 13.9 16.5 13.9V15.1ZM8.5 13.9C7.28475 13.9 6.39113 14.5103 5.82574 15.0757C5.54141 15.3601 5.32953 15.6428 5.18827 15.8547C5.1173 15.9611 5.06323 16.0511 5.02593 16.1164C5.00726 16.1491 4.99272 16.1757 4.98231 16.1952C4.9771 16.205 4.97292 16.213 4.96976 16.2191C4.96818 16.2221 4.96685 16.2247 4.96579 16.2268C4.96525 16.2279 4.96478 16.2288 4.96437 16.2296C4.96417 16.23 4.96398 16.2304 4.96381 16.2307C4.96372 16.2309 4.96361 16.2311 4.96357 16.2312C4.96345 16.2315 4.96334 16.2317 5.5 16.5C6.03666 16.7683 6.03656 16.7685 6.03646 16.7687C6.03643 16.7688 6.03634 16.769 6.03628 16.7691C6.03617 16.7693 6.03607 16.7695 6.03599 16.7697C6.03583 16.77 6.03573 16.7702 6.03568 16.7703C6.03559 16.7705 6.03573 16.7702 6.0361 16.7694C6.03685 16.768 6.03853 16.7648 6.04113 16.7599C6.04634 16.7501 6.05524 16.7338 6.06782 16.7117C6.09302 16.6676 6.1327 16.6014 6.18673 16.5203C6.29547 16.3572 6.45859 16.1399 6.67426 15.9243C7.10887 15.4897 7.71525 15.1 8.5 15.1V13.9ZM8.5 11.9H5V13.1H8.5V11.9Z",fill:"currentColor"})})}),rx=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bulb-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),rC=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"bulb-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z",stroke:"currentColor",strokeWidth:1.2})})}),rk=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"calendar",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16.5 8V4M8.5 8V4M8 12.5H10M8 15.5H10M11.5 12.5H13.5M11.5 15.5H13.5M15 12.5H17M15 15.5H17M12.5 8V4M5.5 9.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rj=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"case",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rM=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"chart-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rL=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"checkmark-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rS=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"checkmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rE=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17 10L12.5 14.5L8 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rR=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15 17L10.5 12.5L15 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rV=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10 8L14.5 12.5L10 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rH=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 15L12.5 10.5L17 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r$=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rA=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"clipboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rT=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"clipboard-image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r_=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"clock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rP=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"close-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rI=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"close",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rO=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"code-block",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rB=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"code",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rW=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C
17.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rz=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"collapse",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10.5 14.5L6 19M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rN=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"color-wheel",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rD=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rF=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"component",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rZ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"compose",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rU=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"compose-sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M17 9L9.5 16.5L9 19L11.5 18.5L19 11M17 9L19 7L21 9L19 11M17 9L19 11M4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})}),rG=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"confetti",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M16.5 6.25C16.9142 6.25 17.25 5.91421 17.25 5.5C17.25 5.08579 16.9142 4.75 16.5 4.75C16.0858 4.75 15.75 5.08579 15.75 5.5C15.75 5.91421 16.0858 6.25 16.5 6.25Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M19.5 16.25C19.9142 16.25 20.25 15.9142 20.25 15.5C20.25 15.0858 19.9142 14.75 19.5 14.75C19.0858 14.75 18.75 15.0858 18.75 15.5C18.75 15.9142 
119.0858 16.25 19.5 16.25Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M13 4C11 6 14.5 5.5 12.5 7.5M21 12C19 14 19.5 10.5 17.5 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16.066 16.4904C15.3965 17.1598 13.1126 15.9613 10.9647 13.8135C8.81684 11.6656 7.61835 9.38165 8.28782 8.71218M16.066 16.4904C16.7355 15.8209 15.537 13.537 13.3891 11.3891C11.2412 9.2412 8.95729 8.04271 8.28782 8.71218M16.066 16.4904C15.8661 16.6902 15.6277 16.8474 15.3657 16.952L6.99288 20.296C6.26931 20.5849 5.44878 20.4193 4.9038 19.8744C4.35883 19.3294 4.19324 18.5089 4.48221 17.7853L7.82614 9.41242C7.93077 9.15042 8.08793 8.91208 8.28782 8.71218M20 5C20 14 11.5 5.32688 11.5 14.3269",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rq=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"controls",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rY=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"copy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rX=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"credit-card",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M20.5 9.5H4.5V11.5H20.5V9.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rK=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"crop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 5V15.5H20M5 9.5H15.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),rJ=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"cube",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),rQ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"dashboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r1=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"database",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.0504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r0=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"desktop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r5=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"diamond",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M21 10.5L12.5 21M21 10.5L18 5.5H11M21 10.5H16M12.5 21L4 10.5M12.5 21L9 10.5M12.5 21L16 10.5M4 10.5L7 5.5H11M4 10.5H9M9 10.5H12.5H16M9 10.5L11 5.5M16 10.5L14.5 5.5H11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),r2=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M18.5 20.5H6.5V9.5L11.5 4.5H18.5V20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r3=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-pdf",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 
118.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r4=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r6=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-sheet",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r8=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"documents",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M10.5 4.5V9.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r9=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),r7=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 16.5V13.5L14 15L11.5 16.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ie=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-word",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
1),(0,P.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),it=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"document-zip",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ir=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"dot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("circle",{cx:12.5,cy:12.5,r:2.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})}),ii=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"double-chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17 7.5C15.6332 8.86683 12.5 12 12.5 12L8 7.5M17 12.5C15.6332 13.8668 12.5 17 12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),io=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"double-chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M17.5 17L13 12.5L17.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),is=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"double-chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M7.5 8L12 12.5L7.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ia=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"double-chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 17.5L12.5 13L17 17.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),il=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"download",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19.5 17V19.5H5.5V17M12.5 16L12.5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),id=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"drag-handle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z",fill:"currentColor"})]})}),iu=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"drop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.5 14.5C18.5 18 
116 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ic=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"earth-americas",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ih=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"earth-globe",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 12.5H4.5M12.5 20.5C12.5 20.5 9.5 17.5 9.5 12.5C9.5 7.5 12.5 4.5 12.5 4.5C12.5 4.5 15.5 7.5 15.5 12.5C15.5 17.5 12.5 20.5 12.5 20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ip=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"edit",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),im=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"ellipsis-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z",fill:"currentColor"})]})}),ig=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"ellipsis-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z",fill:"currentColor"})]})}),iv=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"empty",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 21V19.1111M8.25 19.8614L9.19445 18.2255M5.13878 16.7501L6.77461 15.8057M4 12.5H5.8889M5.13872 8.2499L6.77455 9.19436M8.25004 5.13876L9.19449 6.7746M12.5 5.88891V4M15.8055 6.77465L16.75 5.1388M18.2254 9.19449L19.8612 8.25004M19.1111 12.5001H21M18.2254 15.8056L19.8612 16.7501M15.8056 18.2255L16.75 19.8614",stroke:"currentColor",strokeWidth:1.2})})}),iy=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"enter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6 14.5H19.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10 18.5L6 14.5L10 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iw=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"enter-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19 14.5H5.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M15 18.5L19 14.5L15 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ib=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"envelope",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ix=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"equal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7.5 4.5H3.5V20.5
1H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),iC=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"error-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z",fill:"currentColor"})})}),ik=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"error-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ij=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"error-screen",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M10 8.5L15 13.5M15 8.5L10 13.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M12.5 16.5H5.5C4.94772 16.5 4.5 16.0523 4.5 15.5V6.5C4.5 5.94771 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5ZM12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iM=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"expand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iL=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"eye-closed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iS=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"eye-open",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),iE=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"face-happy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 14C8.5 14 9.50001 16.5 12.5 16.5C15.5 16.5 16.5 14 16.5 14M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iR=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"face-indifferent",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 15.5C8.5 15.5 9.50001 15.5 12.5 15.5C15.5 15.5 16.5 15.5 16.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iV=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"face-sad",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 9V12M14.5 9V12M8.5 16.5C8.5 16.5 9.50001 14.5 12.5 14.5C15.5 14.5 16.5 16.5 16.5 16.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iH=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"feedback",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M10 11.5V12H9.5L9.5 11.5H10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M13 11.5V12H12.5V11.5H13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16 11.5V12H15.5V11.5H16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i$=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"filter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M6 7.5H19M8 12.5H17M10 17.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iA=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"folder",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iT=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"generate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9
1183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i_=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"github",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.507 4C7.80286 4 4 7.8309 4 12.5702C4 16.3587 6.43663 19.5655 9.81687 20.7005C10.2395 20.7858 10.3943 20.5161 10.3943 20.2892C10.3943 20.0905 10.3804 19.4094 10.3804 18.6999C8.01391 19.2108 7.52112 17.6782 7.52112 17.6782C7.14081 16.685 6.57732 16.4297 6.57732 16.4297C5.80279 15.9047 6.63374 15.9047 6.63374 15.9047C7.49291 15.9615 7.94374 16.7844 7.94374 16.7844C8.70417 18.0897 9.92953 17.7209 10.4225 17.4938C10.4929 16.9404 10.7184 16.5573 10.9578 16.3445C9.07037 16.1459 7.08457 15.4081 7.08457 12.1161C7.08457 11.1796 7.42239 10.4134 7.95767 9.81757C7.87321 9.60478 7.57736 8.72489 8.04229 7.54724C8.04229 7.54724 8.76059 7.32017 10.3802 8.42695C11.0736 8.23935 11.7887 8.14392 12.507 8.14312C13.2253 8.14312 13.9576 8.24255 14.6337 8.42695C16.2535 7.32017 16.9718 7.54724 16.9718 7.54724C17.4367 8.72489 17.1407 9.60478 17.0562 9.81757C17.6056 10.4134 17.9295 11.1796 17.9295 12.1161C17.9295 15.4081 15.9437 16.1316 14.0422 16.3445C14.3521 16.6141 14.6196 17.1248 14.6196 17.9337C14.6196 19.0829 14.6057 20.0053 14.6057 20.289C14.6057 20.5161 14.7606 20.7858 15.1831 20.7006C18.5633 19.5653 21 16.3587 21 12.5702C21.0139 7.8309 17.1971 4 12.507 4Z",fill:"currentColor"})})}),iP=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"groq",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M13 13H21L13 21L13 13Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M12 12V4L4 12H12Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M12 13H4L12 21V13Z",fill:"currentColor"})]})}),iI=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"hash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33894 16.1002H5.44615L5.63077 14.9002H8.52356L9.26202 10.1002H6.36923L6.55384 8.90018H9.44663L9.89281 6H11.1069L10.6608 8.90018H15.4466L15.8928 6H17.1069L16.
16608 8.90018H19.5539L19.3693 10.1002H16.4761L15.7377 14.9002H18.6308L18.4462 16.1002H15.5531L15.1069 19H13.8928L14.3389 16.1002H9.55306L9.10693 19H7.89281L8.33894 16.1002ZM10.4761 10.1002L9.73767 14.9002H14.5236L15.262 10.1002H10.4761Z",fill:"currentColor"})})}),iO=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"heart-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iB=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"heart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iW=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"help-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iz=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"highlight",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17.5311 13.7141L8.02451 8.22547M17.5311 13.7141L20.25 9.00478M17.5311 13.7141L16.5 15.5L13.232 16.134L12 18L11.4142 17.6485M8.02451 8.22547L10.75 3.50479M8.02451 8.22547L6.99999 9.99998L7.99999 13L6.99999 15L7.58576 15.3514M7.58576 15.3514L4.90192 20L10.0566 20L11.4142 17.6485M7.58576 15.3514L11.4142 17.6485M13 20H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iN=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"home",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M14.5 18.5V12.5H10.5V18.5M5.5 11.5V18.5H19.5V11.5L12.5 5.5L5.5 11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iD=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"ice-cream",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iF=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iZ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"image-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iU=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"images",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iG=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"inbox",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9 8.5H8.17703C7.76813 8.5 7.40042 8.74895 7.24856 9.12861L5.5 13.5M5.5 13.5V17.5C5.5 18.0523 5.94302 18.5 6.4953 18.5C9.00381 18.5 15.5919 18.5 18.504 18.5C19.0563 18.5 19.5 18.0523 19.5 17.5V13.5M5.5 13.5H8.5L10 15.5H15L16.5 13.5H19.5M19.5 13.5L17.7514 9.12861C17.5996 8.74895 17.2319 8.5 16.823 8.5H16M12.5 5V12.5M12.5 12.5L15 10M12.5 12.5L10 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iq=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"info-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z",fill:"currentColor"})})}),iY=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"info-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iX=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"inl
1ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iK=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"inline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),iJ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"insert-above",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})}),iQ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"insert-below",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})}),i1=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"italic",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3042 8.29849C13.8021 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8021 6.48795 13.3042 6.48795C12.8063 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8063 8.29849 13.3042 8.29849Z",fill:"currentColor"})})}),i0=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"joystick",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i5=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"json",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 5.5H9.5C8.39543 5.5 7.5 6.39543 7.5 7.5V12.5M7.5 12.5H4M7.5 12.5V17.5C7.5 18.6046 8.39543 19.5 9.5 19.5H11M14 5.5H15.5C16.6046 5.5 17.5 6.39543 17.5 7.5V12.5M17.5 12.5H21M17.5 12.5V17.5C17.5 18.6046 16.6046 19.5 15.5 19.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i2=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"launch",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12 7.5H6.5V18.5H17.5V13M19.5 5.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M14 5.5H19.5V11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i3=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"leave",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M14.5 15V18.5H5.5V6.5H14.5V10M9 12.5H21.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M18 9L21.5 12.5L18 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),i4=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"lemon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379 
112.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i6=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"linkedin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M20.0249 20H16.9137V15.1278C16.9137 13.9659 16.893 12.4704 15.2956 12.4704C13.6753 12.4704 13.4273 13.7362 13.4273 15.0432V19.9997H10.3162V9.98042H13.3028V11.3496H13.3447C13.6436 10.8386 14.0755 10.4182 14.5944 10.1332C15.1134 9.8482 15.6999 9.7092 16.2915 9.7312C19.4448 9.7312 20.0262 11.8054 20.0262 14.5036L20.0249 20ZM6.80572 8.6109C6.44863 8.6109 6.0996 8.50507 5.80265 8.30683C5.50571 8.10848 5.27427 7.82653 5.13757 7.4967C5.00086 7.16677 4.96502 6.80378 5.03463 6.45356C5.10423 6.10334 5.27613 5.78157 5.52858 5.52903C5.78103 5.2765 6.10271 5.10448 6.45293 5.03476C6.80315 4.96502 7.16614 5.00072 7.49607 5.13731C7.826 5.2739 8.10796 5.50526 8.30641 5.80212C8.50486 6.09894 8.6108 6.44798 8.6109 6.80507C8.6109 7.04216 8.56422 7.277 8.47352 7.49606C8.38283 7.71512 8.24995 7.91422 8.0823 8.08187C7.91466 8.24952 7.71567 8.3826 7.4966 8.4733C7.27765 8.5641 7.04281 8.61079 6.80572 8.6109ZM8.36136 20H5.24695V9.98042H8.36136V20Z",fill:"currentColor"})})}),i8=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"link",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i9=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"link-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),i7=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M6 6.5H19M6 14.5H19M6 10.5H19M6 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oe=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"lock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ot=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"logo-js",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),on=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"logo-ts",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})}),or=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"marker",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oi=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"marker-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oo=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"master-detail",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H5.5M9.5 14.5V18.5M9.5 14.5H5.5M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),os=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"menu",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M6 7.5H19M6 17.5H19M6 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oa=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"microphone",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 16.5C15.8137 16.5 18.5 13.8137 18.5 10.5V10M12.5 16.5C9.18629 16.5 6.5 13.8137 6.5 10.5V10M12.5 16.5V20.5M8 20.5H17M15.5 10.5C15.5 12.1569 14.1569 13.5 12.5 13.5C10.8431 13.5 9.5 12.1569 9.5 10.5V7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5V10.5Z",stroke:"currentColor",strokeWidth:1.2})})}),ol=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"microphone-slash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M17.8162 14.412C18.6231 13.3173 19.1 11.9644 19.1 10.5V10H17.9V10.5C17.9 11.6324 17.5514 12.6834 16.9557 13.5516L17.8162 14.412Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M14.2171 15.6213L15.1446 16.5488C14.5091 16.8271 13.8213 17.0081 13.1 17.0731V19.9H17V21.1H7.99999V19.9H11.9V17.0731C8.53609 16.77 5.89999 13.9429 5.89999 10.5V10H7.09999V10.5C7.09999 13.4824 9.51766 15.9 12.5 15.9C13.1003 15.9 13.6777 15.802
11 14.2171 15.6213Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M15.6494 12.2453C15.9365 11.7283 16.1 11.1333 16.1 10.5V7.50002C16.1 5.5118 14.4882 3.90002 12.5 3.90002C11.0945 3.90002 9.87704 4.70551 9.2842 5.88007L10.2038 6.79966C10.5035 5.81583 11.4181 5.10002 12.5 5.10002C13.8255 5.10002 14.9 6.17454 14.9 7.50002V10.5C14.9 10.7968 14.8461 11.0811 14.7476 11.3435L15.6494 12.2453Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M8.89999 10.3042L12.6909 14.0951C12.6277 14.0984 12.564 14.1 12.5 14.1C10.5118 14.1 8.89999 12.4882 8.89999 10.5V10.3042Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M19 18L6 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),od=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"mobile-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ou=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"moon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oc=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"number",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})}),oh=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"ok-hand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.995
17 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),of=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"olist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),op=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"overage",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M18.5 11V6.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),om=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"package",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),og=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"panel-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 6.5H19.5V18.5H10.5M10.5 6.5H5.5V18.5H10.5M10.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ov=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"panel-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M14.5 6.5H19.5V18.5H14.5M14.5 6.5H5.5V18.5H14.5M14.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oy=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"pause",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",stroke:"currentColor",strokeWidth:1.2})]})}),ow=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"pin-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ob=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"pin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12 15L12.5 20L13 15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),ox=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"pin-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oC=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"play",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ok=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"plug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oj=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"presentation",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oM=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"progress-50",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M17 12.5C17 14.9853 14.9853 17 12.5 17V8C14.9853 8 17 10.0147 17 12.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
1),(0,P.jsx)("path",{d:"M12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oL=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"progress-75",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 17C14.9853 17 17 14.9853 17 12.5C17 10.0147 14.9853 8 12.5 8V12.5H8C8 14.9853 10.0147 17 12.5 17Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oS=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"projects",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M21 17.5H14M17.5 14V21M5.5 14.5H10.5V19.5H5.5V14.5ZM14.5 5.5H19.5V10.5H14.5V5.5ZM5.5 5.5H10.5V10.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oE=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"publish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oR=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"read-only",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oV=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"redo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oH=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"refresh",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19.5 13.5C19.5 17.366 16.366 20.5 12.5 20.5C8.63401 20.5 5.5 17.366 5.5 13.5C5.5 9.63401 8.63401 6.5 12.5 6.5H15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11.5 10.5L15.5 6.5L11.5 2.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o$=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"remove-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oA=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oT=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"reset",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7 11L4.56189 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M9.50001 15.5L15.5 9.5M9.5 9.5L15.5 15.5M4.56189 13.5C4.52104 13.1724 4.5 12.8387 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C9.75033 20.5 7.32466 19.1128 5.88468 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o_=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"restore",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
1183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oP=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"retrieve",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M16 14L12.5 10.5L9 14M5.5 7.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oI=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"retry",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M15 13.5L19 9.5L15 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oO=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"revert",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oB=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"robot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oW=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"rocket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.49999L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oz=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"schema",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oN=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"search",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15.0355 15.0355L20 20M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5
1Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oD=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"select",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M16 15L12.5 18.5L9 15M9 10L12.5 6.5L16 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oF=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"share",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M15 10.5H18.5V19.5H6.5L6.5 10.5H10M12.5 16V3.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M9 7L12.5 3.5L16 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),oZ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"sort",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oU=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"sparkle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oG=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})}),oq=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oY=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"split-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oX=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"split-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oK=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"square",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oJ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"stack-compact",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),oQ=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"stack",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),o1=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"star-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 5L14.3956 9.89092L19.6329 10.1824L15.5672 13.4966L16.9084 18.5676L12.5 15.725L8.09161 18.5676L9.43284 13.4966L5.36708 10.1824L10.6044 9.89092L12.5 5Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})}),o0=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"star",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 5L14.3956 9.89092L19.6329 10.1824L15.5672 13.4966L16.9084 18.5676L12.5 15.725L8.09161 18.5676L9.43284 13.4966L5.36708 10.1824L10.6044 9.89092L12.5 5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),o5=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"stop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),o2=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"strikethrough",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5656 7.73438C11.0656 7.73438 10.
10734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})]})}),o3=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"string",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279 15.637 16.4609 15.637Z",fill:"currentColor"}),(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})}),o4=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"sun",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),o6=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"sync",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o8=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"tablet-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5.5 5.5C5.5 4.94772 5.94772 4.5 6.5 4.5H18.5C19.0523 4.5 19.5 4.94772 19.5 5.5V19.5C19.5 20.0523 19.0523 20.5 18.5 20.5H6.5C5.94772 20.5 5.5 20.0523 5.5 19.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M13 18C13 18.2761 12.7761 18.5 12.5 18.5C12.2239 18.5 12 18.2761 12 18C12 17.7239 12.2239 17.5 12.5 17.5C12.7761 17.5 13 17.7239 13 18Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o9=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"tag",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),o7=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"tags",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),se=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"target",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 3V10M22 12.5H15M12.5 22V15M3 12.5H10M19 12.5C19 16.
10899 16.0899 19 12.5 19C8.91015 19 6 16.0899 6 12.5C6 8.91015 8.91015 6 12.5 6C16.0899 6 19 8.91015 19 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),st=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"task",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M20.5 10.75V19.75H4.5V10.75M20.5 10.75V5.75H17.5M20.5 10.75H4.5M4.5 10.75V5.75H7.5M7.5 5.75H17.5M7.5 5.75V8.25M7.5 5.75V3.25M17.5 5.75V8.25M17.5 5.75V3.25M9.7002 14.7358L11.7002 16.7358L15.3002 13.1758",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sn=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"terminal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sr=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M7.5 9V6.5H17.5V9M12.5 18.5V6.5M10 18.5H15",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),si=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"th-large",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H19.5M12.5 12.5H5.5M19.5 12.5V6.5H5.5V12.5M19.5 12.5V18.5H5.5V12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),so=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"th-list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H19.5M9.5 10.5H5.5M9.5 14.5V18.5M9.5 14.5H19.5M9.5 14.5H5.5M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),ss=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"thumbs-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 15C9.5 15 12.5 16.5 12.5 18C12.5 19.5 13.5 19.5 13.5 19.5C13.5 19.5 14.5 19.5 14.5 18C14.5 16.5 14.5 15.5 14.5 15.5H18C18 15.5 18 15.5 18 15.5C18 15.5 19 15.5 19 14.5C19 13.5 19.5 14 19.5 13C19.5 12 19 11.5 19 10.5C19 9.5 18 9.5 18 8.5C18 7.5 17 7.5 16.5 7.5C16 7.5 9.5 7.5 9.5 7.5M9.5 7.5H6.5V15.5H9.5V7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sa=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"thumbs-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 10C9.5 10 12.5 8.5 12.5 7C12.5 5.5 13.5 5.5 13.5 5.5C13.5 5.5 14.5 5.5 14.5 7C14.5 8.5 14.5 9.5 14.5 9.5H18C18 9.5 18 9.5 18 9.5C18 9.5 19 9.5 19 10.5C19 11.5 19.5 11 19.5 12C19.5 13 19 13.5 19 14.5C19 15.5 18 15.5 18 16.5C18 17.5 17 17.5 16.5 17.5C16 17.5 9.5 17.5 9.5 17.5M9.5 17.5H6.5V9.5H9.5V17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sl=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"tiers",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sd=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"timeline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 5V20",stroke:"currentColor",strokeWidth:1.2}),(0,P.jsx)("path",{d:"M5 8.5H11M7 12.5H11M9 16.5H11M13 16.5H20M13 12.5H18M13 8.5H16",stroke:"currentColor",strokeWidth:1.2})]})}),su=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"toggle-arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M10.5 16V9L16 12.5L10.5 16Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})}),sc=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"token",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sh=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"transfer",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sf=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"translate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.37
173 15.9Z",fill:"currentColor"})})}),sp=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"trash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sm=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"trend-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sg=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"triangle-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sv=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"trolley",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sy=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"truncate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sw=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"twitter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z",fill:"currentColor"})})}),sb=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"ulist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M7.10153 17.5C7.10153 17.8322 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8322 5.89847 17.5C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7.10153 7.49997C7.10153 7.83218 6.83221 8.1015 6.5 8.1015C6.16778 8.1015 5.89847 7.83218 5.89847 7.49997C5.89847 7.16775 6.16778 6.89844 6.5 6.89844C6.83221 6.89844 7.10153 7.16775 7.10153 7.49997Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8984 6.5 11.8984C6.83221 11.8984 7.10153 12.1678 7.10153 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sx=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"unarchive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 10.5V18M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 10.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sC=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"underline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z",fill:"currentColor"}),(0,P.jsx)("path",{d:"M7 20.5H18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sk=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"undo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M10 13.5L6 9.5L10 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sj=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"unknown",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sM=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"unlink",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M15 13.5L17.5 11C18.281 10.219 18.281 8.78105 17.5 8L17 7.5C16.2189 6.71895 14.781 6.71895 14 7.5L11.5 10M10 11.5L7.5 14C6.71896 14.781 6.71895 16.219 7.5 17L8 17.5C8.78105 18.281 10.2189 18.281 11 17.5L13.5 15M9.5 8V5M8 9.5H5M17 15.5H20M15.5 17V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sL=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"unlock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sS=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"unpublish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sE=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"upload",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M12.5 6V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M7.5 11L12.5 6L17.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sR=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sV=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"users",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M17.5 18.5H2
11.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),sH=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"versions",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M10.5 7.5H7.5V17.5H10.5M7.5 9.5H4.5V15.5H7.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M20.5 19.5V5.5H10.5V19.5H20.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),s$=(0,B.forwardRef)(function(e,t){return(0,P.jsxs)("svg",{"data-sanity-icon":"video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:[(0,P.jsx)("path",{d:"M19.5 18.5H5.5V6.5H19.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,P.jsx)("path",{d:"M11.5 14.5V10.5L14.5 12.5L11.5 14.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})}),sA=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"warning-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.741 5.12635C13.7357 3.41736 11.2643 3.41736 10.259 5.12635L3.7558 16.1817C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1817L14.741 5.12635ZM11.9 8.99998V13H13.1V8.99998H11.9ZM13.1 16V14.5H11.9V16H13.1Z",fill:"currentColor"})})}),sT=(0,B.forwardRef)(function(e,t){return(0,P.jsx)("svg",{"data-sanity-icon":"warning-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,P.jsx)("path",{d:"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})}),s_=["top","right","bottom","left"],sP=s_.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),sI=Math.min,sO=Math.max,sB=Math.round,sW=Math.floor,sz=e=>({x:e,y:e}),sN={left:"right",right:"left",bottom:"top",top:"bottom"};function sD(e,t){return"function"==typeof e?e(t):e}function sF(e){return e.split("-")[0]}function sZ(e){return e.split("-")[1]}function sU(e){return"x"===e?"y":"x"}function sG(e){return"y"===e?"height":"width"}function sq(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function sY(e,t,n){void 0===n&&(n=!1);let r=sZ(e),i=sU(sq(e)),o=sG(i),s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=s0(s)),[s,s0(s)]}function sX(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let sK=["left","right"],sJ=["right","left"],sQ=["top","bottom"],s1=["bottom","top"];function s0(e){let t=sF(e);return sN[t]+e.slice(t.length)}function s5(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function s2(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function s3(e,t,n){let r,{reference:i,floating:o}=e,s=sq(t),a=sU(sq(t)),l=sG(a),d=sF(t),u="y"===s,c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(d){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-o.width,y:h};break;default:r={x:i.x,y:i.y}}switch(sZ(t)){case"start":r[a]-=f*(n&&u?-1:1);break;case"end":r[a]+=f*(n&&u?-1:1)}return r}async function s4(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:h=!1,padding:f=0}=sD(t,e),p=s5(f),m=a[h?"floating"===c?"reference":"floating":c],g=s2(await o.getClippingRect
1({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:d,rootBoundary:u,strategy:l})),v="floating"===c?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},b=s2(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-b.top+p.top)/w.y,bottom:(b.bottom-g.bottom+p.bottom)/w.y,left:(g.left-b.left+p.left)/w.x,right:(b.right-g.right+p.right)/w.x}}let s6=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:s4},l=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=s3(d,r,l),h=r,f=0,p={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:v}=m,{x:y,y:w,data:b,reset:x}=await v({x:u,y:c,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:d,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,c=null!=w?w:c,p[g]={...p[g],...b},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:c}=s3(d,h,l)),n=-1)}return{x:u,y:c,placement:h,strategy:i,middlewareData:p}};function s8(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s9(e){return s_.some(t=>e[t]>=0)}let s7=new Set(["left","top"]);async function ae(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),s=sF(n),a=sZ(n),l="y"===sq(n),d=s7.has(s)?-1:1,u=o&&l?-1:1,c=sD(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof p&&(f="end"===a?-1*p:p),l?{x:f*u,y:h*d}:{x:h*d,y:f*u}}function at(){return"u">typeof window}function an(e){return ao(e)?(e.nodeName||"").toLowerCase():"#document"}function ar(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ai(e){var t;return null==(t=(ao(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ao(e){return!!at()&&(e instanceof Node||e instanceof ar(e).Node)}function as(e){return!!at()&&(e instanceof Element||e instanceof ar(e).Element)}function aa(e){return!!at()&&(e instanceof HTMLElement||e instanceof ar(e).HTMLElement)}function al(e){return!(!at()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ar(e).ShadowRoot)}function ad(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=av(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function au(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let ac=/transform|translate|scale|rotate|perspective|filter/,ah=/paint|layout|strict|content/,af=e=>!!e&&"none"!==e;function ap(e){let t=as(e)?av(e):e;return af(t.transform)||af(t.translate)||af(t.scale)||af(t.rotate)||af(t.perspective)||!am()&&(af(t.backdropFilter)||af(t.filter))||ac.test(t.willChange||"")||ah.test(t.contain||"")}function am(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ag(e){return/^(html|body|#document)$/.test(an(e))}function av(e){return ar(e).getComputedStyle(e)}function ay(e){return as(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function aw(e){if("html"===an(e))return e;let t=e.assignedSlot||e.parentNode||al(e)&&e.host||ai(e);return al(t)?t.host:t}function ab(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=aw(t);return ag(n)?t.ownerDocument?t.ownerDocument.body:t.body:aa(n)&&ad(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=ar(i);if(!o)return t.concat(i,ab(i,[],n));{let e=ax(s);
1return t.concat(s,s.visualViewport||[],ad(i)?i:[],e&&n?ab(e):[])}}function ax(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function aC(e){let t=av(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=aa(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=sB(n)!==o||sB(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function ak(e){return as(e)?e:e.contextElement}function aj(e){let t=ak(e);if(!aa(t))return sz(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=aC(t),s=(o?sB(n.width):n.width)/r,a=(o?sB(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let aM=sz(0);function aL(e){let t=ar(e);return am()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:aM}function aS(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),s=ak(e),a=sz(1);t&&(r?as(r)&&(a=aj(r)):a=aj(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===ar(s))&&i)?aL(s):sz(0),d=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,c=o.width/a.x,h=o.height/a.y;if(s){let e=ar(s),t=r&&as(r)?ar(r):r,n=e,i=ax(n);for(;i&&r&&t!==n;){let e=aj(i),t=i.getBoundingClientRect(),r=av(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,u*=e.y,c*=e.x,h*=e.y,d+=o,u+=s,i=ax(n=ar(i))}}return s2({width:c,height:h,x:d,y:u})}function aE(e,t){let n=ay(e).scrollLeft;return t?t.left+n:aS(ai(e)).left+n}function aR(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-aE(e,n),y:n.top+t.scrollTop}}function aV(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=ar(e),r=ai(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=am();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let d=aE(r);if(d<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else d<=25&&(o+=d);return{width:o,height:s,x:a,y:l}}(e,n);else if("document"===t){let t,n,o,s,a,l,d;r=ai(e),t=ai(r),n=ay(r),o=r.ownerDocument.body,s=sO(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=sO(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-n.scrollLeft+aE(r),d=-n.scrollTop,"rtl"===av(o).direction&&(l+=sO(t.clientWidth,o.clientWidth)-s),i={width:s,height:a,x:l,y:d}}else if(as(t)){let e,r,o,s,a,l;r=(e=aS(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,s=aa(t)?aj(t):sz(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,i={width:a,height:l,x:o*s.x,y:r*s.y}}else{let n=aL(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return s2(i)}function aH(e){return"static"===av(e).position}function a$(e,t){if(!aa(e)||"fixed"===av(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ai(e)===n&&(n=n.ownerDocument.body),n}function aA(e,t){var n;let r=ar(e);if(au(e))return r;if(!aa(e)){let t=aw(e);for(;t&&!ag(t);){if(as(t)&&!aH(t))return t;t=aw(t)}return r}let i=a$(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(an(n)))&&aH(i);)i=a$(i,t);return i&&ag(i)&&aH(i)&&!ap(i)?r:i||function(e){let t=aw(e);for(;aa(t)&&!ag(t);){if(ap(t))return t;if(au(t))break;t=aw(t)}return null}(e)||r}let aT=async function(e){let t=this.getOffsetParent||aA,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=aa(t),i=ai(t),o="fixed"===n,s=aS(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=sz(0);if(r||!r&&!o)if(("body"!==an(t)||ad(i))&&(a=ay(t)),r){let e=aS(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=aE(i));o&&!r&&i&&(l.x=aE(i));let d=!i||r||o?sz(0):aR(i,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},a_={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,s=ai(r),a=!!t&&au(t.floating);if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},d=sz(1),u=sz(0),c=aa(r);if((c||!c&&!o)&&(("body"!==an(r)||ad(s))&&(l=ay(r)),c)){let e=aS(r);d=aj(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let h=!s||c||o?sz(0):aR(s,l);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-l.scrollTop*d.y+u.y+h.y}},getDocumentElement:ai,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?au(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ab(e,[],!1).filter(e=>as(e)&&"body"!==an(e)),i=null,o="fixed"===av(e).position,s=o?aw(e):e;for(;as(s)&&!ag(s);){let t=av(s),n=ap(s);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||ad(s)&&!n&&function e(t,n){let r=aw(t);return!(r===n||!as(r)||ag(r))&&("fixed"===av(r).position||e(r,n))}(e,s)))?i=t:r=r.filter(e=>e!==s),s=aw(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=aV(t,o[0],i),a=s.top,l=s.right,d=s.bottom,u=s.left;for(let e=1;e<o.length;e++){let n=aV(t,o[e],i);a=sO(n.top,a),l=sI(n.right,l),d=sI(n.bottom,d),u=sO(n.left,u)}return{width:l-u,height:d-a,x:u,y:a}},getOffsetParent:aA,getElementRects:aT,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=aC(e);return{width:t,height:n}},getScale:aj,isElement:as,isRTL:function(e){return"rtl"===av(e).direction}};function aP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aI(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,u=ak(e),c=o||s?[...u?ab(u):[],...t?ab(t):[]]:[];
1c.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=u&&l?function(e,t){let n,r=null,i=ai(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();let d=e.getBoundingClientRect(),{left:u,top:c,width:h,height:f}=d;if(a||t(),!h||!f)return;let p={rootMargin:-sW(c)+"px "+-sW(i.clientWidth-(u+h))+"px "+-sW(i.clientHeight-(c+f))+"px "+-sW(u)+"px",threshold:sO(0,sI(1,l))||1},m=!0;function g(t){let r=t[0].intersectionRatio;if(r!==l){if(!m)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||aP(d,e.getBoundingClientRect())||s(),m=!1}try{r=new IntersectionObserver(g,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,p)}r.observe(e)}(!0),o}(u,n):null,f=-1,p=null;a&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),u&&!d&&p.observe(u),t&&p.observe(t));let m=d?aS(e):null;return d&&function t(){let r=aS(e);m&&!aP(m,r)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,d&&cancelAnimationFrame(i)}}let aO=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:d,padding:u=0}=sD(e,t)||{};if(null==d)return{};let c=s5(u),h={x:n,y:r},f=sU(sq(i)),p=sG(f),m=await s.getDimensions(d),g="y"===f,v=g?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[f]-h[f]-o.floating[p],w=h[f]-o.reference[f],b=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),x=b?b[v]:0;x&&await (null==s.isElement?void 0:s.isElement(b))||(x=a.floating[v]||o.floating[p]);let C=x/2-m[p]/2-1,k=sI(c[g?"top":"left"],C),j=sI(c[g?"bottom":"right"],C),M=x-m[p]-j,L=x/2-m[p]/2+(y/2-w/2),S=sO(k,sI(L,M)),E=!l.arrow&&null!=sZ(i)&&L!==S&&o.reference[p]/2-(L<k?k:j)-m[p]/2<0,R=E?L<k?L-k:L-M:0;return{[f]:h[f]+R,data:{[f]:S,centerOffset:L-S-R,...E&&{alignmentOffset:R}},reset:E}}});var aB="u">typeof document?B.useLayoutEffect:function(){};function aW(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!aW(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!aW(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function az(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function aN(e,t){let n=az(e);return Math.round(t*n)/n}function aD(e){let t=B.useRef(e);return aB(()=>{t.current=e}),t}function aF(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[u,c]=B.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=B.useState(r);aW(h,r)||f(r);let[p,m]=B.useState(null),[g,v]=B.useState(null),y=B.useCallback(e=>{e!==C.current&&(C.current=e,m(e))},[]),w=B.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),b=o||p,x=s||g,C=B.useRef(null),k=B.useRef(null),j=B.useRef(u),M=null!=l,L=aD(l),S=aD(i),E=aD(d),R=B.useCallback(()=>{var e,r;let i,o,s;if(!C.current||!k.current)return;let a={placement:t,strategy:n,middleware:h};S.current&&(a.platform=S.current),(e=C.current,r=k.current,i=new Map,s={...(o={platform:a_,...a}).platform,_c:i},s6(e,r,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==E.current};V.current&&!aW(j.current,t)&&(j.current=t,W.flushSync(()=>{c(t)}))})},[h,t,n,S,E]);aB(()=>{!1===d&&j.current.isPositioned&&(j.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[d]);let V=B.useRef(!1);aB(()=>(V.current=!0,()=>{V.current=!1}),[]),aB(()=>{if(b&&(C.current=b),x&&(k.current=x),b&&x){if(L.current)return L.current(b,x,R);R()}},[b,x,R,L,M]);let H=B.useMemo(()=>({reference:C,floating:k,setReference:y,setFloating:w}),[y,w]),$=B.useMemo(()=>({reference:b,floating:x}),[b,x]),A=B.useMemo(()=>{let e={position:n,left:0,top:0};if(!$.floating)return e;let t=aN($.floating,u.x),r=aN($.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...az($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,$.floating,u.x,u.y]);return B.useMemo(()=>({...u,update:R,refs:H,elements:$,floatingStyles:A}),[u,R,H,$,A])}let aZ=(e,t)=>{var n;let r=(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:s,middlewareData:a}=e,l=await ae(e,n);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}});return{name:r.name,fn:r.fn,options:[e,t]}},aU=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i,platform:o}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=sD(n,e),u={x:t,y:r},c=await o.detectOverflow(e,d),h=sq(sF(i)),f=sU(h),p=u[f],m=u[h];if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=sO(n,sI(p,r))}
1if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+c[e],r=m-c[t];m=sO(n,sI(m,r))}let g=l.fn({...e,[f]:p,[h]:m});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[f]:s,[h]:a}}}}});return{name:r.name,fn:r.fn,options:[e,t]}},aG=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,s;let a,l,d,{placement:u,middlewareData:c,rects:h,initialPlacement:f,platform:p,elements:m}=e,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:x=!0,...C}=sD(n,e);if(null!=(t=c.arrow)&&t.alignmentOffset)return{};let k=sF(u),j=sq(f),M=sF(f)===f,L=await (null==p.isRTL?void 0:p.isRTL(m.floating)),S=y||(M||!x?[s0(f)]:(a=s0(f),[sX(f),a,sX(a)])),E="none"!==b;!y&&E&&S.push(...(l=sZ(f),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?sJ:sK;return t?sK:sJ;case"left":case"right":return t?sQ:s1;default:return[]}}(sF(f),"start"===b,L),l&&(d=d.map(e=>e+"-"+l),x&&(d=d.concat(d.map(sX)))),d));let R=[f,...S],V=await p.detectOverflow(e,C),H=[],$=(null==(r=c.flip)?void 0:r.overflows)||[];if(g&&H.push(V[k]),v){let e=sY(u,h,L);H.push(V[e[0]],V[e[1]])}if($=[...$,{placement:u,overflows:H}],!H.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=R[e];if(t&&("alignment"!==v||j===sq(t)||$.every(e=>sq(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let n=null==(o=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(w){case"bestFit":{let e=null==(s=$.filter(e=>{if(E){let t=sq(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[e,t]}},aq=(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?aO({element:n.current,padding:r}).fn(t):{}:n?aO({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},aY=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],aX=new Set(aY),aK=(e,t,n)=>n>t?t:n<e?e:n,aJ={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},aQ={...aJ,transform:e=>aK(0,1,e)},a1={...aJ,default:1},a0=e=>Math.round(1e5*e)/1e5,a5=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,a2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a3=(e,t)=>n=>!!("string"==typeof n&&a2.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),a4=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,o,s,a]=r.match(a5);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},a6={...aJ,transform:e=>Math.round(aK(0,255,e))},a8={test:a3("rgb","red"),parse:a4("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+a6.transform(e)+", "+a6.transform(t)+", "+a6.transform(n)+", "+a0(aQ.transform(r))+")"},a9={test:a3("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:a8.transform},a7=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),le=a7("deg"),lt=a7("%"),ln=a7("px"),lr=a7("vh"),li=a7("vw"),lo={...lt,parse:e=>lt.parse(e)/100,transform:e=>lt.transform(100*e)},ls={test:a3("hsl","hue"),parse:a4("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+lt.transform(a0(t))+", "+lt.transform(a0(n))+", "+a0(aQ.transform(r))+")"},la={test:e=>a8.test(e)||a9.test(e)||ls.test(e),parse:e=>a8.test(e)?a8.parse(e):ls.test(e)?ls.parse(e):a9.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?a8.transform(e):ls.transform(e),getAnimatableNone:e=>{let t=la.parse(e);return t.alpha=0,la.transform(t)}},ll=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ld="number",lu="color",lc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function lh(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,s=t.replace(lc,e=>(la.test(e)?(r.color.push(o),i.push(lu),n.push(la.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(ld),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function lf({split:e,types:t}){let n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],void 0!==r[o]){let e=t[o];e===ld?i+=a0(r[o]):e===lu?i+=la.transform(r[o]):i+=r[o]}return i}}let lp={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(a5)?.length||0)+(e.match(ll)?.length||0)>0},parse:function(e){return lh(e).values},createTransformer:function(e){return lf(lh(e))},getAnimatableNone:function(e){let t=lh(e);return lf(t)(t.values.map((e,n)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:la.test(e)?la.getAnimatableNone(e):e)(e,t.split[n])))}},lm=new Set(["brightness","contrast","saturate","opacity"]);function lg(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(a5)||[];if(!r)return e;let i=n.replace(r,""),o=+!!lm.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let lv=/\b([a-z-]*)\(.*?\)/gu,ly={...lp,getAnimatableNone:e=>{let t=e.match(lv);return t?t.map(lg).join(" "):e}},lw={...lp,getAnimatableNone:e=>{let t=lp.parse(e);return lp.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},lb={...aJ,transform:Math.round},lx={borderWidth:ln,borderTopWidth:ln,borderRightWidth:ln,borderBottomWidth:ln,borderLeftWidth:ln,borderRadius:ln,borderTopLeftRadius:ln,borderTopRightRadius:ln,borderBottomRightRadius:ln,borderBottomLeftRadius:ln,width:ln,maxWidth:ln,height:ln,maxHeight:ln,top:ln,right:ln,bottom:ln,left:ln,inset:ln,insetBlock:ln,insetBlockStart:ln,insetBlockEnd:ln,insetInline:ln,insetInlineStart:ln,insetInlineEnd:ln,padding:ln,paddingTop:ln,paddingRight:ln,paddingBottom:ln,paddingLeft:ln,paddingBlock:ln,paddingBlockStart:ln,paddingBlockEnd:ln,paddingInline:ln,paddingInlineStart:ln,paddingInlineEnd:ln,margin:ln,marginTop:ln,marginRight:ln,marginBottom:ln,marginLeft:ln,marginBlock:ln,marginBlockStart:ln,marginBlockEnd:ln,marginInline:ln,marginInlineStart:ln,marginInlineEnd:ln,fontSize:ln,backgroundPositionX:ln,backgroundPositionY:ln,rotate:le,rotateX:le,rotateY:le,rotateZ:le,scale:a1,scaleX:a1,scaleY:a1,scaleZ:a1,skew:le,skewX:le,skewY:le,distance:ln,translateX:ln,translateY:ln,translateZ:ln,x:ln,y:ln,z:ln,perspective:ln,transformPerspective:ln,opacity:aQ,originX:lo,originY:lo,originZ:ln,zIndex:lb,fillOpacity:aQ,strokeOpacity:aQ,numOctaves:lb},lC={...lx,color:la,backgroundColor:la,outlineColor:la,fill:la,stroke:la,borderColor:la,borderTopColor:la,borderRightColor:la,borderBottomColor:la,borderLeftColor:la,filter:ly,WebkitFilter:ly,mask:lw,WebkitMask:lw},lk=e=>lC[e],lj=()=>({translate:0,scale:1,origin:0,originPoint:0}),lM=()=>({x:lj(),y:lj()}),lL=()=>({min:0,max:0}),lS=()=>({x:lL(),y:lL()}),lE=e=>!!(e&&e.getVelocity),lR=new Set(["width","height","top","left","right","bottom",...aY]),lV=e=>t=>t.test(e),lH=[aJ,ln,lt,le,li,lr,{test:e=>"auto"===e,parse:e=>e}],l$=e=>lH.find(lV(e)),lA=()=>{},lT=()=>{};e0.default;let l_=e=>t=>"string"==typeof t&&t.startsWith(e),lP=l_("--"),lI=l_("var(--"),lO=e=>!!lI(e)&&lB.test(e.split("/*")[0].trim()),lB=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function lW(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let lz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,lN=e=>180*e/Math.PI,lD=e=>lZ(lN(Math.atan2(e[1],e[0]))),lF={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:lD,rotateZ:lD,skewX:e=>lN(Math.atan(e[1])),skewY:e=>lN(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},lZ=e=>((e%=360)<0&&(e+=360),e),lU=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),lG=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),lq={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lU,scaleY:lG,scale:e=>(lU(e)+lG(e))/2,rotateX:e=>lZ(lN(Math.atan2(e[6],e[5]))),rotateY:e=>lZ(lN(Math.atan2(-e[2],e[0]))),rotateZ:lD,rotate:lD,skewX:e=>lN(Math.atan(e[4])),skewY:e=>lN(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function lY(e){return+!!e.includes("scale")}function lX(e,t){let n,r;if(!e||"none"===e)return lY(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=lq,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=lF,r=t}if(!r)return lY(t);let o=n[t],s=r[1].split(",").map(lK);return"function"==typeof o?o(s):s[o]}function lK(e){return parseFloat(e.trim())}let lJ=e=>e===aJ||e===ln,lQ=new Set(["x","y","z"]),l1=aY.filter(e=>!lQ.has(e)),l0={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{let i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{let i=e.max-e.min;return"border-box"===r?i:i-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:(e,{transform:t})=>lX(t,"x"),y:(e,{transform:t})=>lX(t,"y")};l0.translateX=l0.x,l0.translateY=l0.y;let l5=e=>e,l2={},l3=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function l4(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=l3.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function d(t){s.has(t)&&(u.schedule(t),e()),l++,t(a)}let u={schedule:(e,t=!1,o=!1)=>{let a=o&&i?n:r;return t&&s.add(e),a.add(e),e},cancel:e=>{r.delete(e),s.delete(e)},process:e=>{if(a=e,i){o=!0;return}i=!0;let s=n;
1n=r,r=s,n.forEach(d),t,l=0,n.clear(),i=!1,o&&(o=!1,u.process(e))}};return u}(o,t?n:void 0),e),{}),{setup:a,read:l,resolveKeyframes:d,preUpdate:u,update:c,preRender:h,render:f,postRender:p}=s,m=()=>{let o=l2.useManualTiming,s=o?i.timestamp:performance.now();n=!1,o||(i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),d.process(i),u.process(i),c.process(i),h.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:l3.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!n&&(n=!0,r=!0,i.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<l3.length;t++)s[l3[t]].cancel(e)},state:i,steps:s}}let{schedule:l6,cancel:l8,state:l9,steps:l7}=l4("u">typeof requestAnimationFrame?requestAnimationFrame:l5,!0),de=new Set,dt=!1,dn=!1,dr=!1;function di(){if(dn){let e=Array.from(de).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t,r=(t=[],l1.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t);r.length&&(n.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}dn=!1,dt=!1,de.forEach(e=>e.complete(dr)),de.clear()}function ds(){de.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dn=!0)})}class da{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(de.add(this),dt||(dt=!0,l6.read(ds),l6.resolveKeyframes(di))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),de.delete(this)}cancel(){"scheduled"===this.state&&(de.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let dl=new Set([ly,lw]);function dd(e,t){let n=lk(e);return dl.has(n)||(n=lp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let du=new Set(["auto","none","0"]);class dc extends da{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&lO(r=r.trim())){let i=function e(t,n,r=1){lT(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=lz.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return lO(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!lR.has(n)||2!==e.length)return;let[r,i]=e,o=l$(r),s=l$(i);if(lW(r)!==lW(i)&&l0[n]){this.needsMeasurement=!0;return}if(o!==s)if(lJ(o)&&lJ(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else l0[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!du.has(t)&&lh(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=dd(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l0[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=l0[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let dh=e=>1e3*e;function df(e,t){-1===e.indexOf(t)&&e.push(t)}function dp(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class dm{constructor(){this.subscriptions=[]}add(e){return df(this.subscriptions,e),()=>dp(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function dg(e,t,n){t.startsWith("--")?e.style.setProperty(t,n):e.style[t]=n}function dv(e){let t;return()=>(void 0===t&&(t=e()),t)}let dy={};function dw(e,t){let n=dv(e);return()=>dy[t]??n()}let db=dw(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),dx=e=>null!==e;function dC(e,{repeat:t,repeatType:n="loop"},r,i=1){let o=e.filter(dx),s=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}class dk{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let dj={layout:0,mainThread:0,waapi:0},dM=e=>Array.isArray(e)&&"number"==typeof e[0],dL=dw(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),dS=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},dE=([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:dE([0,.65,.55,1]),circOut:dE([.55,0,1,.45]),backIn:dE([.31,.01,.66,-.59]),backOut:dE([.33,1.53,.69,.99])};function dV(e){return"function"==typeof e&&"applyToOptions"in e}class dH extends dk{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,lT("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return dV(e)&&dL()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},d){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t?dL()?dS(t,n):"ease-out":dM(t)?dE(t):Array.isArray(t)?t.map(t=>e(t,n)||dR.easeOut):dR[t]}(a,i);Array.isArray(c)&&(u.easing=c);let h={delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};d&&(h.pseudoElement=d);let f=e.animate(u,h);return f}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=dC(r,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),dg(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=dh(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&db())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),l5):r(this)}}let d$=new Set(["opacity","clipPath","filter","transform"]),{schedule:dA}=l4(queueMicrotask,!1);function dT(){n=void 0}let d_={now:()=>(void 0===n&&d_.set(l9.isProcessing||l2.useManualTiming?l9.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(dT)}};class dP{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=d_.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=d_.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new dm);let n=this.events[e].add(t);return"change"===e?()=>{n(),l6.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}
1setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return g&&g.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=d_.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function dI(e,t){return new dP(e,t)}let dO=[...lH,la,lp],dB=new WeakMap;function dW(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function dz(e){return"string"==typeof e||Array.isArray(e)}let dN=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dD=["initial",...dN];function dF(e){return dW(e.animate)||dD.some(t=>dz(e[t]))}function dZ(e){return!!(dF(e)||e.variants)}let dU={current:null},dG={current:!1},dq="u">typeof window;function dY(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function dX(e,t,n,r){if("function"==typeof t){let[i,o]=dY(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=dY(r);t=t(void 0!==n?n:e.custom,i,o)}return t}let dK=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],dJ={};class dQ{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=da,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=d_.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,l6.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=d,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=dF(t),this.isVariantNode=dZ(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==l[e]&&lE(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,dB.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(dG.current||function(){if(dG.current=!0,dq)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dU.current=e.matches;e.addEventListener("change",t),t()}else dU.current=!1}(),this.shouldReduceMotion=dU.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),l8(this.notifyUpdate),l8(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&d$.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:o,duration:s}=t.accelerate,a=new dH({element:this.current,name:e,keyframes:r,times:i,ease:o,duration:dh(s)}),l=n(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=aX.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&l6.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in dJ){let t=dJ[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):lS()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<dK.length;t++){let n=dK[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(lE(i))e.addValue(r,i);else if(lE(o))e.addValue(r,dI(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,dI(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=dI(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){let r,i;if("string"==typeof n&&(r=n,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(i=n,/^0[^.\s]+$/u.test(i))))n=parseFloat(n);else{let r;
1r=n,!dO.find(lV(r))&&lp.test(t)&&(n=dd(e,t))}this.setBaseTarget(e,lE(n)?n.get():n)}return lE(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=dX(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||lE(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new dm),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){dA.render(this.render)}}class d1 extends dQ{constructor(){super(...arguments),this.KeyframeResolver=dc}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;lE(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function d0(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let d5=(e,t)=>t&&"number"==typeof e?t.transform(e):e,d2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},d3=aY.length;function d4(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,s=!1,a=!1;for(let e in t){let n=t[e];if(aX.has(e)){s=!0;continue}if(lP(e)){i[e]=n;continue}{let t=d5(n,lx[e]);e.startsWith("origin")?(a=!0,o[e]=t):r[e]=t}}if(!t.transform&&(s||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<d3;o++){let s=aY[o],a=e[s];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!s.startsWith("scale");else{let e=parseFloat(a);l=s.startsWith("scale")?1===e:0===e}if(!l||n){let e=d5(a,lx[s]);if(!l){i=!1;let t=d2[s]||s;r+=`${t}(${e}) `}n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}let d6={offset:"stroke-dashoffset",array:"stroke-dasharray"},d8={offset:"strokeDashoffset",array:"strokeDasharray"},d9=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function d7(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,d,u){if(d4(e,a,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:h}=e;for(let e of(c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete c.transformBox),d9))void 0!==c[e]&&(h[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==n&&(c.y=n),void 0!==r&&(c.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?d6:d8;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}(c,i,o,s,!1)}let ue=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"]),ut=e=>"string"==typeof e&&"svg"===e.toLowerCase();function un(e,{style:t,vars:n},r,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,r),n)s.setProperty(o,n[o])}function ur(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ui={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!ln.test(e))return e;else e=parseFloat(e);let n=ur(e,t.target.x),r=ur(e,t.target.y);return`${n}% ${r}%`}},uo=(e,t,n)=>e+(t-e)*n,us={borderRadius:{...ui,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ui,borderTopRightRadius:ui,borderBottomLeftRadius:ui,borderBottomRightRadius:ui,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=lp.parse(e);if(r.length>5)return e;let i=lp.createTransformer(e),o=+("number"!=typeof r[0]),s=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=s,r[1+o]/=a;let l=uo(s,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}};function ua(e,{layout:t,layoutId:n}){return aX.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!us[e]||"opacity"===e)}function ul(e,t,n){let r=e.style,i=t?.style,o={};if(!r)return o;for(let t in r)(lE(r[t])||i&&lE(i[t])||ua(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(o[t]=r[t]);return o}function ud(e,t,n){let r=ul(e,t,n);for(let n in e)(lE(e[n])||lE(t[n]))&&(r[-1!==aY.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}class uu extends d1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=lS}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(aX.has(t)){let e=lk(t);return e&&e.default||0}return t=ue.has(t)?t:d0(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return ud(e,t,n)}
1build(e,t,n){d7(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in un(e,t,void 0,r),t.attrs)e.setAttribute(ue.has(n)?n:d0(n),t.attrs[n])}mount(e){this.isSVGTag=ut(e.tagName),super.mount(e)}}function uc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function uh(e){return void 0===e||1===e}function uf({scale:e,scaleX:t,scaleY:n}){return!uh(e)||!uh(t)||!uh(n)}function up(e){return uf(e)||um(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function um(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function ug(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function uv(e,t=0,n=1,r,i){e.min=ug(e.min,t,n,r,i),e.max=ug(e.max,t,n,r,i)}function uy(e,{x:t,y:n}){uv(e.x,t.translate,t.scale,t.originPoint),uv(e.y,n.translate,n.scale,n.originPoint)}function uw(e,t){e.min+=t,e.max+=t}function ub(e,t,n,r,i=.5){let o=uo(e.min,e.max,i);uv(e,t,n,o,r)}function ux(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function uC(e,t,n){let r=n??e;ub(e.x,ux(t.x,r.x),t.scaleX,t.scale,t.originX),ub(e.y,ux(t.y,r.y),t.scaleY,t.scale,t.originY)}function uk(e,t){return uc(function(e,t){if(!t)return e;let 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))}class uj extends d1{constructor(){super(...arguments),this.type="html",this.renderInstance=un}readValueFromInstance(e,t){if(aX.has(t))return this.projection?.isProjecting?lY(t):((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return lX(n,t)})(e,t);{let n=window.getComputedStyle(e),r=(lP(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return uk(e,t)}build(e,t,n){d4(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ul(e,t,n)}}let uM=["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 uL(e){if("string"!=typeof e||e.includes("-"));else if(uM.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let uS=(0,B.createContext)({}),uE=(0,B.createContext)({strict:!1}),uR=(0,B.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),uV=(0,B.createContext)({});function uH(e){return Array.isArray(e)?e.join(" "):e}let u$=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uA(e,t,n){for(let r in t)lE(t[r])||ua(r,n)||(e[r]=t[r])}let uT=()=>({...u$(),attrs:{}}),u_=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function uP(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||u_.has(e)}let uI=e=>!uP(e);try{k=e.r(95690).default,"function"==typeof k&&(uI=e=>e.startsWith("on")?!uP(e):k(e))}catch{}function uO(e){return lE(e)?e.get():e}let uB=(0,B.createContext)(null);function uW(e){let t=(0,B.useRef)(null);return null===t.current&&(t.current=e()),t.current}let uz=e=>(t,n)=>{let r=(0,B.useContext)(uV),i=(0,B.useContext)(uB),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=uO(o[e]);let{initial:s,animate:a}=e,l=dF(e),d=dZ(e);t&&d&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial,c=(u=u||!1===s)?a:s;if(c&&"boolean"!=typeof c&&!dW(c)){let t=Array.isArray(c)?c:[c];for(let n=0;n<t.length;n++){let r=dX(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,r,i,e),renderState:t()}})(e,t,r,i);return n?o():uW(o)},uN=uz({scrapeMotionValuesFromProps:ul,createRenderState:u$}),uD=uz({scrapeMotionValuesFromProps:ud,createRenderState:uT}),uF={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},uZ=!1;function uU(){return!function(){if(uZ)return;let e={};for(let t in uF)e[t]={isEnabled:e=>uF[t].some(t=>!!e[t])};dJ=e,uZ=!0}(),dJ}let uG=Symbol.for("motionComponentSymbol"),uq="data-"+d0("framerAppearId"),uY=(0,B.createContext)({});function uX(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let uK="u">typeof window?B.useLayoutEffect:B.useEffect;function uJ(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&function(e){let t=uU();for(let n in e)t[n]={...t[n],...e[n]};dJ=t}(r);let o=n?"svg"===n:uL(e),s=o?uD:uN;function a(n,r){var a;let l,d,u,c={...(0,B.useContext)(uR),...n,layoutId:function({layoutId:e}){let t=(0,B.useContext)(uS).id;return t&&void 0!==e?t+"-"+e:e}(n)},{isStatic:h}=c,f=function(e){let{initial:t,animate:n}=function(e,t){if(dF(e)){let{initial:t,animate:n}=e;return{initial:!1===t||dz(t)?t:void 0,animate:dz(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,B.useContext)(uV));return(0,B.useMemo)(()=>({initial:t,animate:n}),[uH(t),uH(n)])}(n),p=s(n,h);if(!h&&"u">typeof window){(0,B.useContext)(uE).strict;let t=function(e){let{drag:t,layout:n}=uU();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(c);l=t.MeasureLayout,f.visualElement=function(e,t,n,r,i,o){let{visualElement:s}=(0,B.useContext)(uV),a=(0,B.useContext)(uE),l=(0,B.useContext)(uB),d=(0,B.useContext)(uR),u=d.reducedMotion,c=d.skipAnimations,h=(0,B.useRef)(null),f=(0,B.useRef)(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:c,isSVG:o}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let p=h.current,m=(0,B.useContext)(uY);p&&!p.projection&&i&&("html"===p.type||"svg"===p.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:d,layoutAnchor:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&uX(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:d,layoutAnchor:u})}(h.current,n,i,m);let g=(0,B.useRef)(!1);(0,B.useInsertionEffect)(()=>{p&&g.current&&p.update(n,l)});let v=n[uq],y=(0,B.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return uK(()=>{f.current=!0,p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),y.current&&p.animationState&&p.animationState.animateChanges())}),(0,B.useEffect)(()=>{p&&(!y.current&&p.animationState&&p.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),p.enteringChildren=void 0)}),p}(e,p,c,i,t.ProjectionNode,o)}return(0,P.jsxs)(uV.Provider,{value:f,children:[l&&f.visualElement?(0,P.jsx)(l,{visualElement:f.visualElement,...c}):null,function(e,t,n,{latestValues:r},i,o=!1,s){let a=(s??uL(e)?function(e,t,n,r){let i=(0,B.useMemo)(()=>{let n=uT();return d7(n,t,ut(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};uA(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n,r,i={},o=(n=e.style||{},uA(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,B.useMemo)(()=>{let n=u$();return d4(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,r,i,e),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!lE(e[i])&&(uI(i)||!0===n&&uP(i)||!t&&!uP(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,o),d=e!==B.Fragment?{...l,...a,ref:n}:{},{children:u}=t,c=(0,B.useMemo)(()=>lE(u)?u.get():u,[u]);return(0,B.createElement)(e,{...d,children:c})}(e,n,(a=f.visualElement,d=(0,B.useRef)(r),(0,B.useInsertionEffect)(()=>{d.current=r}),u=(0,B.useRef)(null),(0,B.useCallback)(e=>{e&&p.onMount?.(e);let t=d.current;if("function"==typeof t)if(e){let n=t(e);"function"==typeof n&&(u.current=n)}else u.current?(u.current(),u.current=null):t(e);else t&&(t.current=e);a&&(e?a.mount(e):a.unmount())},[a])),p,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,B.forwardRef)(a);return l[uG]=e,l}class uQ{constructor(e){this.isMounted=!1,this.node=e}update(){}}function u1(e,t,n){let r=e.getProps();return dX(r,t,void 0!==n?n:r.custom,e)}function u0(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function u5(e,t){let n=e?.[t]??e?.default??e;return n!==e?u0(n,e):n}let u2=e=>Array.isArray(e);function u3(e,t){let n=e.getValue("willChange");if(lE(n)&&n.add)return n.add(t);if(!n&&l2.WillChange){let n=new l2.WillChange("auto");e.addValue("willChange",n),n.add(t)}}let u4=(e,t)=>n=>t(e(n)),u6=(...e)=>e.reduce(u4);function u8(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function u9(e,t){return n=>n>0?t:e}let u7=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ce=[a9,a8,ls];function ct(e){let t=ce.find(t=>t.test(e));if(lA(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===ls&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=u8(a,r,e+1/3),o=u8(a,r,e),s=u8(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let cn=(e,t)=>{let n=ct(e),r=ct(t);if(!n||!r)return u9(e,t);let i={...n};return e=>(i.red=u7(n.red,r.red,e),i.green=u7(n.green,r.green,e),i.blue=u7(n.blue,r.blue,e),i.alpha=uo(n.alpha,r.alpha,e),a8.transform(i))},cr=new Set(["none","hidden"]);function ci(e,t){return n=>uo(e,t,n)}function co(e){return"number"==typeof e?ci:"string"==typeof e?lO(e)?u9:la.test(e)?cn:cl:Array.isArray(e)?cs:"object"==typeof e?la.test(e)?cn:ca:u9}function cs(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>co(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function ca(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=co(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let cl=(e,t)=>{let n=lp.createTransformer(t),r=lh(e),i=lh(t);
1if(!(r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length))return lA(!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.`,"complex-values-different"),u9(e,t);if(cr.has(e)&&!i.values.length||cr.has(t)&&!r.values.length)return cr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e;return u6(cs(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}(r,i),i.values),n)};function cd(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?uo(e,t,n):co(e)(e,t)}let cu=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>l6.update(t,e),stop:()=>l8(t),now:()=>l9.isProcessing?l9.timestamp:d_.now()}};function cc(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let ch=.01,cf=2,cp=.005,cm=.5;function cg(e,t){return e*Math.sqrt(1-t*t)}let cv=["duration","bounce"],cy=["stiffness","damping","mass"];function cw(e,t){return t.some(t=>void 0!==e[t])}function cb(e=.3,t=.3){let n,r,i,o,s,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:d,restDelta:u}=l,c=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],f={done:!1,value:c},{stiffness:p,damping:m,mass:g,duration:v,velocity:y,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!cw(e,cy)&&cw(e,cv))if(t.velocity=0,e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*aK(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:i}}else{let n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let i,o;lA(e<=dh(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=aK(.05,1,s),e=aK(.01,10,e/1e3),s<1?(i=t=>{let r=t*s,i=r*e;return .001-(r-n)/cg(t,s)*Math.exp(-i)},o=t=>{let r=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=cg(Math.pow(t,2),s);return(r*n+n-o)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=dh(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),b=y||0,x=m/(2*Math.sqrt(p*g)),C=h-c,k=Math.sqrt(p/g)/1e3,j=5>Math.abs(C);if(d||(d=j?ch:cf),u||(u=j?cp:cm),x<1)i=cg(k,x),o=(b+x*k*C)/i,n=e=>h-Math.exp(-x*k*e)*(o*Math.sin(i*e)+C*Math.cos(i*e)),s=x*k*o+C*i,a=x*k*C-o*i,r=e=>Math.exp(-x*k*e)*(s*Math.sin(i*e)+a*Math.cos(i*e));else if(1===x){n=e=>h-Math.exp(-k*e)*(C+(b+k*C)*e);let e=b+k*C;r=t=>Math.exp(-k*t)*(k*e*t-b)}else{let e=k*Math.sqrt(x*x-1);n=t=>{let n=Math.exp(-x*k*t),r=Math.min(e*t,300);return h-n*((b+x*k*C)*Math.sinh(r)+e*C*Math.cosh(r))/e};let t=(b+x*k*C)/e,i=x*k*t-C*e,o=x*k*C-t*e;r=t=>{let n=Math.exp(-x*k*t),r=Math.min(e*t,300);return n*(i*Math.sinh(r)+o*Math.cosh(r))}}let M={calculatedDuration:w&&v||null,velocity:e=>dh(r(e)),next:e=>{if(!w&&x<1){let t=Math.exp(-x*k*e),n=Math.sin(i*e),r=Math.cos(i*e),l=h-t*(o*n+C*r);return f.done=Math.abs(dh(t*(s*n+a*r)))<=d&&Math.abs(h-l)<=u,f.value=f.done?h:l,f}let t=n(e);return w?f.done=e>=v:f.done=Math.abs(dh(r(e)))<=d&&Math.abs(h-t)<=u,f.value=f.done?h:t,f},toString:()=>{let e=Math.min(cc(M),2e4),t=dS(t=>M.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return M}function cx(e,t,n){var r,i;let o=Math.max(t-5,0);return r=n-e(o),(i=t-o)?1e3/i*r:0}function cC({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:d=.5,restSpeed:u}){let c,h,f=e[0],p={done:!1,value:f},m=n*t,g=f+m,v=void 0===s?g:s(g);v!==g&&(m=v-f);let y=e=>-m*Math.exp(-e/r),w=e=>v+y(e),b=e=>{let t=y(e),n=w(e);p.done=Math.abs(t)<=d,p.value=p.done?v:n},x=e=>{let t;if(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l){var n;c=e,h=cb({keyframes:[p.value,(n=p.value,void 0===a?l:void 0===l||Math.abs(a-n)<Math.abs(l-n)?a:l)],velocity:cx(w,e,p.value),damping:i,stiffness:o,restDelta:d,restSpeed:u})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;
1return(h||void 0!==c||(t=!0,b(e),x(e)),void 0!==c&&e>=c)?h.next(e-c):(t||b(e),p)}}}cb.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(cc(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:i/1e3}}(e,100,cb);return e.ease=t.ease,e.duration=dh(t.duration),e.type="keyframes",e};let ck=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function cj(e,t,n,r){return e===t&&n===r?l5:i=>0===i||1===i?i:ck(function(e,t,n,r,i){let o,s,a=0;do(o=ck(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<12)return s}(i,0,1,e,n),t,r)}let cM=cj(.42,0,1,1),cL=cj(0,0,.58,1),cS=cj(.42,0,.58,1),cE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cR=e=>t=>1-e(1-t),cV=cj(.33,1.53,.69,.99),cH=cR(cV),c$=cE(cH),cA=e=>e>=1?1:(e*=2)<1?.5*cH(e):.5*(2-Math.pow(2,-10*(e-1))),cT=e=>1-Math.sin(Math.acos(e)),c_=cR(cT),cP=cE(cT),cI={linear:l5,easeIn:cM,easeInOut:cS,easeOut:cL,circIn:cT,circInOut:cP,circOut:c_,backIn:cH,backInOut:c$,backOut:cV,anticipate:cA},cO=e=>{if(dM(e)){lT(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,r,i]=e;return cj(t,n,r,i)}return"string"==typeof e?(lT(void 0!==cI[e],`Invalid easing type '${e}'`,"invalid-easing-type"),cI[e]):e},cB=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r};function cW({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o,s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(cO):cO(r),a={done:!1,value:t[0]},l=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if(lT(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||l2.mix||cd,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);t&&(o=u6(Array.isArray(t)?t[n]||l5:t,o)),r.push(o)}return r}(t,r,i),l=a.length,d=n=>{if(s&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=cB(e[r],e[r+1],n);return a[r](i)};return n?t=>d(aK(e[0],e[o-1],t)):d}((i=n&&n.length===t.length?n:(!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=cB(0,t,r);e.push(uo(n,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||cS).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let cz={decay:cC,inertia:cC,tween:cW,keyframes:cW,spring:cb};function cN(e){"string"==typeof e.type&&(e.type=cz[e.type])}let cD=e=>e/100;class cF extends dk{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==d_.now()&&this.tick(d_.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},dj.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;cN(e);let{type:t=cW,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||cW;a!==cW&&"number"!=typeof s[0]&&(this.mixKeyframes=u6(cD,cd(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=cc(l));let{calculatedDuration:d}=l;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let n,{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:d=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,b=r;if(c){let e=Math.min(this.currentTime,i)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,c+1))%2&&("reverse"===h?(n=1-n,f&&(n-=f/a)):"mirror"===h&&(b=s)),w=aK(0,1,n)*a}y?(this.delayState.value=u[0],n=this.delayState):n=b.next(w),o&&!y&&(n.value=o(n.value));let{done:x}=n;y||null===l||(x=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return C&&p!==cC&&(n.value=dC(u,this.options,g,this.speed)),m&&m(n.value),C&&this.finish(),n}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=dh(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return cx(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(d_.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=cu,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(d_.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,dj.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let cZ={anticipate:cA,backInOut:c$,circInOut:cP};class cU extends dH{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in cZ&&(e.ease=cZ[e.ease])}(e),cN(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new cF({...o,autoplay:!1}),a=Math.max(10,d_.now()-this.startTime),l=aK(0,10,a-10),d=s.sample(a).value,{name:u}=this.options;i&&u&&dg(i,u,d),t.setWithVelocity(s.sample(Math.max(0,a-l)).value,d,l),s.stop()}}let cG=(e,t)=>
1"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(lp.test(e)||"0"===e)&&!e.startsWith("url("));function cq(e){e.duration=0,e.type="keyframes"}let cY=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,cX=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),cK=dv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class cJ extends dk{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:d,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=d_.now();const c={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:d,...u},h=d?.KeyframeResolver||da;this.keyframeResolver=new h(s,(e,t,n)=>this.onKeyframesResolved(e,t,c,!n),a,l,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){let i;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:d,onUpdate:u}=n;this.resolvedAt=d_.now();let c=!0;!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=cG(i,t),a=cG(o,t);return lA(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||dV(n))&&r)}(e,o,s,a)&&(c=!1,(l2.instantAnimations||!l)&&u?.(dC(e,n,t)),e[0]=e[e.length-1],cq(n),n.repeat=0);let h={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=c&&!d&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:d}=t.owner.getProps();return cK()&&n&&(d$.has(n)||cX.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&cY.test(e[t]))return!0;return!1}(a))&&("transform"!==n||!d)&&!l&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(h),p=h.motionValue?.owner?.current;if(f)try{i=new cU({...h,element:p})}catch{i=new cF(h)}else i=new cF(h);i.finished.then(()=>{this.notifyFinished()}).catch(l5),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),dr=!0,ds(),di(),dr=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let cQ={type:"spring",stiffness:500,damping:25,restSpeed:10},c1={type:"keyframes",duration:.8},c0={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},c5=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),c2=(e,t,n,r={},i,o)=>s=>{let a=u5(r,e)||{},l=a.delay||r.delay||0,{elapsed:d=0}=r;d-=dh(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-d,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function(e){for(let t in e)if(!c5.has(t))return!0;return!1}(a)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?c1:aX.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:cQ:c0)(e,u)),u.duration&&(u.duration=dh(u.duration)),u.repeatDelay&&(u.repeatDelay=dh(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let c=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(cq(u),0===u.delay&&(c=!0)),(l2.instantAnimations||l2.skipAnimations||i?.shouldSkipAnimations)&&(c=!0,cq(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,c&&!o&&void 0!==t.get()){let e=dC(u.ke
1yframes,a);if(void 0!==e)return void l6.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new cF(u):new cJ(u)};function c3(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?u0(o,l):l;let d=o?.reduceMotion;r&&(o=r);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let s={delay:n,...u5(o||{},t)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){l6.update(()=>r.set(i));continue}let h=!1;if(window.MotionHandoffAnimation){let n=e.props[uq];if(n){let e=window.MotionHandoffAnimation(n,t,l6);null!==e&&(s.startTime=e,h=!0)}}u3(e,t);let f=d??e.shouldReduceMotion;r.start(c2(t,r,i,f&&lR.has(t)?{type:!1}:s,e,h));let p=r.animation;p&&u.push(p)}if(s){let t=()=>l6.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=u1(e,t)||{};for(let t in i={...i,...n}){var o;let n=u2(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,dI(n))}}(e,s)});u.length?Promise.all(u).then(t):t()}return u}function c4(e,t,n,r=0,i=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*r;return"function"==typeof n?n(o,s):1===i?o*r:a-o*r}function c6(e,t,n={}){let r=u1(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(c3(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(c6(l,t,{...s,delay:n+("function"==typeof r?0:r)+c4(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(n.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let c8=dD.length;function c9(e,t){if(!Array.isArray(t))return!1;let 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}let c7=[...dN].reverse(),he=dN.length;function ht(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hn(){return{animate:ht(!0),whileInView:ht(),whileHover:ht(),whileTap:ht(),whileDrag:ht(),whileFocus:ht(),exit:ht()}}let hr=0;function hi(e){return[e("x"),e("y")]}function ho(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let hs={x:!1,y:!1};function ha(e){return e.max-e.min}function hl(e,t,n,r=.5){e.origin=r,e.originPoint=uo(t.min,t.max,e.origin),e.scale=ha(n)/ha(t),e.translate=uo(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function hd(e,t,n,r){hl(e.x,t.x,n.x,r?r.originX:void 0),hl(e.y,t.y,n.y,r?r.originY:void 0)}function hu(e,t,n,r=0){e.min=(r?uo(n.min,n.max,r):n.min)+t.min,e.max=e.min+ha(t)}function hc(e,t,n,r=0){let i=r?uo(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+ha(t)}function hh(e,t,n,r){hc(e.x,t.x,n.x,r?.x),hc(e.y,t.y,n.y,r?.y)}function hf(e){return"object"==typeof e&&null!==e}function hp(e){return hf(e)&&"ownerSVGElement"in e}function hm(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let hg=new WeakMap,hv=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:hp(r)&&"getBBox"in r?r.getBBox()[t]:r[n],hy=hv("inline","width","offsetWidth"),hw=hv("block","height","offsetHeight");function hb({target:e,borderBoxSize:t}){hg.get(e)?.forEach(n=>{n(e,{get width(){return hy(e,t)},get height(){return hw(e,t)}})})}function hx(e){e.forEach(hb)}let hC=new Set;function hk(e,t){let n;return"function"==typeof e?(hC.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};hC.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{hC.delete(e),hC.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(hx)),(n=hm(e)).forEac
1h(e=>{let n=hg.get(e);n||(n=new Set,hg.set(e,n)),n.add(t),r?.observe(e)}),()=>{n.forEach(e=>{let n=hg.get(e);n?.delete(t),n?.size||r?.unobserve(e)})})}let hj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),hM=new Set(["INPUT","SELECT","TEXTAREA"]),hL=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function hS(e){return{point:{x:e.pageX,y:e.pageY}}}function hE(e,t,n,r){return ho(e,t,e=>hL(e)&&n(e,hS(e)),r)}let hR=({current:e})=>e?e.ownerDocument.defaultView:null,hV=(e,t)=>Math.abs(e-t),hH=new Set(["auto","scroll"]);class h${constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=hA(this.lastRawMoveEventInfo,this.transformPagePoint));let n=h_(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(hV(e.x,t.x)**2+hV(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!i)return;let{point:o}=n,{timestamp:s}=l9;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=hA(t,this.transformPagePoint),l6.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=h_("pointercancel"===e.type?this.lastMoveEventInfo:hA(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!hL(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const a=hA(hS(e),this.transformPagePoint),{point:l}=a,{timestamp:d}=l9;this.history=[{...l,timestamp:d}];const{onSessionStart:u}=t;u&&u(e,h_(a,this.history)),this.removeListeners=u6(hE(this.contextWindow,"pointermove",this.handlePointerMove),hE(this.contextWindow,"pointerup",this.handlePointerUp),hE(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(hH.has(e.overflowX)||hH.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(0!==i.x||0!==i.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),l6.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),l8(this.updatePoint)}}function hA(e,t){return t?{point:t(e.point)}:e}function hT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function h_({point:e},t){return{point:e,delta:hT(e,hP(t)),offset:hT(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,n=null,r=hP(e);for(;t>=0&&(n=e[t],!(r.timestamp-n.timestamp>dh(.1)));)t--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&r.timestamp-n.timestamp>
12*dh(.1)&&(n=e[1]);let i=(r.timestamp-n.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(r.x-n.x)/i,y:(r.y-n.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function hP(e){return e[e.length-1]}function hI(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 hO(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function hB(e,t,n){return{min:hW(e,t),max:hW(e,n)}}function hW(e,t){return"number"==typeof e?e:e[t]||0}let hz=new WeakMap;class hN{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=lS(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let i=e=>{t&&this.snapToCursor(hS(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(hs[e])return null;else return hs[e]=!0,()=>{hs[e]=!1};return hs.x||hs.y?null:(hs.x=hs.y=!0,()=>{hs.x=hs.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),hi(e=>{let t=this.getAxisMotionValue(e).get()||0;if(lt.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=ha(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&l6.update(()=>i(e,t),!1,!0),u3(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=t;if(r&&null===this.currentDirection){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}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&l6.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new h$(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:n,contextWindow:hR(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&l6.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!hF(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?uo(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?uo(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&uX(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:hI(e.x,n,i),y:hI(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:hB(e,"left","right"),y:hB(e,"top","bottom")}}(t),r!==this.constraints&&!uX(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&hi(e=>{var t,r;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],r=this.constraints[e],i={},void 0!==r.min&&(i.min=r.min-t.min),void 0!==r.max&&(i.max=r.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!uX(t))return!1;let r=t.current;lT(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=uk(e,n),{scroll:i}=t;return i&&(uw(r.x,i.offset.x),uw(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:hO(e.x,o.x),y:hO(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=uc(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(hi(s=>{if(!hF(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,d)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return u3(this.visualElement,e),n.start(c2(e,n,0,t,this.visualElement,!1))}stopAnimation(){hi(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){hi(t=>{let{drag:n}=this.getProps();if(!hF(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-uo(n,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!uX(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};hi(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,i;let o,s,a,l=t.get();r[e]=(n={min:l,max:l},i=this.constraints[e],o=.5,s=ha(n),(a=ha(i))>s?o=cB(i.min,i.max-s,n.min):s>a&&(o=cB(n.min,n.max-a,i.min)),aK(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),hi(t=>
1{if(!hF(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(uo(i,o,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;hz.set(this.visualElement,this);let t=this.visualElement.current,n=hE(t,"pointerdown",e=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=e.target,o=i!==t&&(hM.has(i.tagName)||!0===i.isContentEditable);n&&r&&!o&&this.start(e)}),r=()=>{var n,r,i;let o,s,{dragConstraints:a}=this.getProps();uX(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(n=t,r=a.current,o=hk(n,hD(i=()=>this.scalePositionWithinConstraints())),s=hk(r,hD(i)),e=()=>{o(),s()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),l6.read(r);let s=ho(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(hi(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function hD(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function hF(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let hZ=e=>(t,n)=>{e&&l6.update(()=>e(t,n),!1,!0)},hU={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var hG=B;function hq(e=!0){let t=(0,B.useContext)(uB);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,o=(0,B.useId)();(0,B.useEffect)(()=>{if(e)return i(o)},[e]);let s=(0,B.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}let hY=!1;class hX extends hG.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),hY&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),hU.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),hY=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||l6.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),dA.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;hY=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function hK(e){let[t,n]=hq(),r=(0,hG.useContext)(uS);return(0,P.jsx)(hX,{...e,layoutGroup:r,switchLayoutGroup:(0,hG.useContext)(uY),isPresent:t,safeToRemove:n})}let hJ=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],hQ=hJ.length,h1=e=>"string"==typeof e?parseFloat(e):e,h0=e=>"number"==typeof e||ln.test(e);function h5(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let h2=h4(0,.5,c_),h3=h4(.5,.95,l5);function h4(e,t,n){return r=>r<e?0:r>t?1:n(cB(e,t,r))}function h6(e,t){e.min=t.min,e.max=t.max}function h8(e,t){h6(e.x,t.x),h6(e.y,t.y)}function h9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function h7(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function fe(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(lt.test(t)&&(t=parseFloat(t),t=uo(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=uo(o.min,o.max,r);e===o&&(a-=t),e.min=h7(e.min,t,n,a,i),e.max=h7(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}let ft=["x","scaleX","originX"],fn=["y","scaleY","originY"];function fr(e,t,n,r){fe(e.x,t,ft,n?n.x:void 0,r?r.x:void 0),fe(e.y,t,fn,n?n.y:void 0,r?r.y:void 0)}function fi(e){return 0===e.translate&&1===e.scale}function fo(e){return fi(e.x)&&fi(e.y)}function fs(e,t){return e.min===t.min&&e.max===t.max}function fa(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function fl(e,t){return fa(e.x,t.x)&&fa(e.y,t.y)}function fd(e){return ha(e.x)/ha(e.y)}function fu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class fc{constructor(){this.members=[]}add(e){df(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;r&&!1!==r.isConnected||n.snapshot||(dp(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(dp(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(void 0===r||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isU
1pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let fh=(e,t)=>e.depth-t.depth;class ff{constructor(){this.children=[],this.isDirty=!1}add(e){df(this.children,e),this.isDirty=!0}remove(e){dp(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fh),this.isDirty=!1,this.children.forEach(e)}}let fp=["","X","Y","Z"],fm=0;function fg(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function fv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=fm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(fb),this.nodes.forEach(fR),this.nodes.forEach(fV),this.nodes.forEach(fx)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ff)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new dm),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=hp(t)&&!(hp(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;l6.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,o;r=e,this.root.updateBlockedByResize=!0,n&&n(),t=d_.now(),o=({timestamp:e})=>{let n=e-t;n>=250&&(l8(o),i(n-250))},l6.setup(o,!0),n=()=>l8(o),hU.hasAnimatedSinceResize&&(hU.hasAnimatedSinceResize=!1,this.nodes.forEach(fE))}})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||fP,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!fl(this.targetLayout,r),d=!t&&n;if(this.options.layoutRoot||this.resumeFrom||d||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...u5(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d)}else t||fE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),l8(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(fH),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[uq];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",l6,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(fj),this.nodes.forEach(fk);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(fM);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fL),this.nodes.forEach(fS),this.nodes.forEach(fy),this.nodes.forEach(fw)):this.nodes.forEach(fM),this.clearAllSnapshots();let e=d_.now();l9.delta=aK(0,1e3/60,e-l9.timestamp),l9.timestamp=e,l9.isProcessing=!0,l7.update.process(l9),l7.preRender.process(l9),l7.render.process(l9),l9.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dA.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fC),this.sharedNodes.forEach(f$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,l6.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){l6.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||ha(this.snapshot.measuredBox.x)||ha(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(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();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=lS()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!fo(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||up(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),fB((t=r).x),fB(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return lS();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(fz))){let{scroll:e}=this.root;e&&(uw(t.x,e.offset.x),uw(t.y,e.offset.y))}return t}removeElementScroll(e){let t=lS();if(h8(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&h8(t,e),uw(t.x,i.offset.x),uw(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||lS();h8(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(uw(r.x,-n.scroll.offset.x),uw(r.y,-n.scroll.offset.y)),up(n.latestValues)&&uC(r,n.latestValues,n.layout?.layoutBox)}return up(this.latestValues)&&uC(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=lS();h8(t,e);for(let e=0;e<this.path.length;e++){let n,r=this.path[e];up(r.latestValues)&&(r.instance&&(uf(r.latestValues)&&r.updateSnapshot(),h8(n=lS(),r.measurePageBox())),fr(t,r.latestValues,r.snapshot?.layoutBox,n))}return up(this.latestValues)&&fr(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==l9.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=l9.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=lS(),this.targetWithTransforms=lS()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l,d;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,d=this.options.layoutAnchor||void 0,hu(s.x,a.x,l.x,d?.x),hu(s.y,a.y,l.y,d?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):h8(this.target,this.layout.layoutBox),uy(this.target,this.targetDelta)):h8(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||uf(this.parent.latestValues)||um(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=lS(),this.relativeTargetOrigin=lS(),hh(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),h8(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===l9.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;h8(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let i,o,s=n.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(uw(e.x,-i.scroll.offset.x),uw(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,uy(e,o)),r&&up(i.latestValues)&&uC(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=lS());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(h9(this.prevProjectionDelta.x,this.projectionDelta.x),h9(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),hd(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&fu(this.projectionDelta.x,this.prevProjectionDelta.x)&&fu(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=lM(),this.projectionDelta=lM(),this.projectionDeltaWithTransform=lM()}setAnimationOrigin(e,t=!1){let n,r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=lM();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=lS(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),u=!d||d.members.length<=1,c=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(f_));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(fA(s.x,e.x,r),fA(s.y,e.y,r),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,h,f,p,m,g;hh(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,p=this.relativeTargetOrigin,m=a,g=r,fT(f.x,p.x,m.x,g),fT(f.y,p.y,m.y,g),n&&(d=this.relativeTarget,h=n,fs(d.x,h.x)&&fs(d.y,h.y))&&(this.isProjectionDirty=!1),n||(n=lS()),h8(n,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=uo(0,n.opacity??1,h2(r)),e.o
1pacityExit=uo(t.opacity??1,0,h3(r))):o&&(e.opacity=uo(t.opacity??1,n.opacity??1,r));for(let i=0;i<hQ;i++){let o=hJ[i],s=h5(t,o),a=h5(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||h0(s)===h0(a)?(e[o]=Math.max(uo(h1(s),h1(a),r),0),(lt.test(a)||lt.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=uo(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(l8(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=l6.update(()=>{var t,n,r;let i;hU.hasAnimatedSinceResize=!0,dj.layout++,this.motionValue||(this.motionValue=dI(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,n=[0,1e3],r={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{dj.layout--},onComplete:()=>{dj.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=lE(t)?t:dI(t)).start(c2("",i,n,r)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&fW(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||lS();let t=ha(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ha(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}h8(t,n),uC(t,i),hd(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new fc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&fg("z",e,r,this.animationValues);for(let t=0;t<fp.length;t++)fg(`rotate${fp[t]}`,e,r,this.animationValues),fg(`skew${fp[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=uO(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=uO(t?.pointerEvents)||""),this.hasProjected&&!up(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();
1let o=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,us){if(void 0===i[t])continue;let{correct:n,applyTo:s,isCSSVariable:a}=us[t],l="none"===o?i[t]:n(i[t],r);if(s){let t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?uO(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(fk),this.root.sharedNodes.clear()}}}function fy(e){e.updateLayout()}function fw(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)hi(e=>{let r=o?t.measuredBox[e]:t.layoutBox[e],i=ha(r);r.min=n[e].min,r.max=r.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";h6(o?t.measuredBox[e]:t.layoutBox[e],n[e])}else fW(i,t.layoutBox,n)&&hi(r=>{let i=o?t.measuredBox[r]:t.layoutBox[r],s=ha(n[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});let s=lM();hd(s,n,t.layoutBox);let a=lM();o?hd(a,e.applyTransform(r,!0),t.measuredBox):hd(a,n,t.layoutBox);let l=!fo(s),d=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=e.options.layoutAnchor||void 0,a=lS();hh(a,t.layoutBox,i.layoutBox,s);let l=lS();hh(l,n,o.layoutBox,s),fl(a,l)||(d=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fb(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function fx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function fC(e){e.clearSnapshot()}function fk(e){e.clearMeasurements()}function fj(e){e.isLayoutDirty=!0,e.updateLayout()}function fM(e){e.isLayoutDirty=!1}function fL(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function fS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fR(e){e.resolveTargetDelta()}function fV(e){e.calcProjection()}function fH(e){e.resetSkewAndRotation()}function f$(e){e.removeLeadSnapshot()}function fA(e,t,n){e.translate=uo(t.translate,0,n),e.scale=uo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function fT(e,t,n,r){e.min=uo(t.min,n.min,r),e.max=uo(t.max,n.max,r)}function f_(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let fP={duration:.45,ease:[.4,0,.1,1]},fI=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),fO=fI("applewebkit/")&&!fI("chrome/")?Math.round:l5;function fB(e){e.min=fO(e.min),e.max=fO(e.max)}function fW(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(fd(t)-fd(n)))}function fz(e){return e!==e.root&&e.scroll?.wasRoot}let fN=fv({attachResizeListener:(e,t)=>ho(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),fD={current:void 0},fF=fv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!fD.current){let e=new fN({});e.mount(window),e.setOptions({layoutScroll:!0}),fD.current=e}return fD.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function fZ(e,t){let n=hm(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function fU(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&l6.postRender(()=>i(t,hS(t)))}function fG(e){return hf(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}let fq=(e,t)=>!!t&&(e===t||fq(e,t.parentElement)),fY=new WeakSet;function fX(e){return t=>{"Enter"===t.key&&e(t)}}function fK(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function fJ(e){return hL(e)&&!(hs.x||hs.y)}let fQ=new WeakSet;function f1(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&l6.postRender(()=>i(t,hS(t)))}let f0=new WeakMap,f5=new WeakMap,f2=e=>{let t=f0.get(e.target);t&&t(e)},f3=e=>{e.forEach(f2)},f4={some:0,all:1},f6=function(e,t){if("u"<typeof Proxy)return uJ;let n=new Map,r=(n,r)=>uJ(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,uJ(o,void 0,e,t)),n.get(o))})}({animation:{Feature:class extends uQ{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>c6(e,t,n)));else if("string"==typeof t)r=c6(e,t,n);else{let i="function"==typeof t?u1(e,t,n.custom):t;r=Promise.all(c3(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=hn(),r=!0,i=!1,o=t=>(n,r)=>{let i=u1(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<c8;e++){let r=dD[e],i=t.props[r];(dz(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},d=[],u=new Set,c={},h=1/0;for(let t=0;t<he;t++){var f,p;let m=c7[t],g=n[m],v=void 0!==a[m]?a[m]:l[m],y=dz(v),w=m===s?g.isActive:null;!1===w&&(h=t);let b=v===l[m]&&v!==a[m]&&y;if(b&&(r||i)&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...c},!g.isActive&&null===w||!v&&!g.prevProp||dW(v)||"boolean"==typeof v)continue;if("exit"===m&&g.isActive&&!0!==w){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let x=(f=g.prevProp,"string"==typeof(p=v)?p!==f:!!Array.isArray(p)&&!c9(p,f)),C=x||m===s&&g.isActive&&!b&&y||t>h&&y,k=!1,j=Array.isArray(v)?v:[v],M=j.reduce(o(m),{});!1===w&&(M={});let{prevResolvedValues:L={}}=g,S={...L,...M},E=t=>{C=!0,u.has(t)&&(k=!0,u.delete(t)),g.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in S){let t=M[e],n=L[e];if(!c.hasOwnProperty(e))(u2(t)&&u2(n)?c9(t,n):t===n)?void 0!==t&&u.has(e)?E(e):g.protectedKeys[e]=!0:null!=t?E(e):u.add(e)}g.prevProp=v,g.prevResolvedValues=M,g.isActive&&(c={...c,...M}),(r||i)&&e.blockInitialAnimation&&(C=!1);let R=b&&x,V=!R||k;C&&V&&d.push(...j.map(t=>{let n={type:m};if("string"==typeof t&&(r||i)&&!R&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=u1(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=c4(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let n=u1(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),d.push({animation:t})}let m=!!d.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,i=!1,m?t(d):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=hn(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();dW(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends uQ{constructor(){super(...arguments),this.id=hr++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let n=u1(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
1{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends uQ{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:n={}}=this.node.getProps(),{root:r,margin:i,amount:o="some",once:s}=n,a={root:r?r.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:f4[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let n=e||document;f5.has(n)||f5.set(n,{});let r=f5.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(f3,{root:e,...t})),r[i]}(a),f0.set(e,l),t.observe(e),()=>{f0.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends uQ{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=function(e,t,n={}){let[r,i,o]=fZ(e,n),s=e=>{let r=e.currentTarget;if(!fJ(e)||fQ.has(e))return;fY.add(r),n.stopPropagation&&fQ.add(e);let o=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),fY.has(r)&&fY.delete(r),fJ(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,r===window||r===document||n.useGlobalTarget||fq(r,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),fG(e))&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=fX(()=>{if(fY.has(n))return;fK(n,"down");let e=fX(()=>{fK(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>fK(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),hj.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(f1(this.node,t,"Start"),(e,{success:t})=>f1(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}}},focus:{Feature:class extends uQ{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=u6(ho(this.node.current,"focus",()=>this.onFocus()),ho(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends uQ{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=fZ(e,n);return r.forEach(e=>{let n,r=!1,o=!1,s=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(r){o=!0;return}s(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||hs.x||hs.y)return;o=!1;let s=t(e,r);"function"==typeof s&&(n=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(e,(e,t)=>(fU(this.node,t,"Start"),e=>fU(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends uQ{constructor(){super(...arguments),this.removePointerDownListener=l5}onPointerDown(e){this.session=new h$(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hR(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:hZ(e),onStart:hZ(t),onMove:hZ(n),onEnd:(e,t)=>{delete this.session,r&&l6.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=hE(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends uQ{constructor(e){super(e),this.removeGroupControls=l5,this.removeListeners=l5,this.controls=new hN(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||l5}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:fF,MeasureLayout:hK},layout:{ProjectionNode:fF,MeasureLayout:hK}},(e,t)=>t.isSVG??uL(e)?new uu(t):new uj(t,{allowProjection:e!==B.Fragment}));var f8=B;function f9(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f7 extends f8.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(fG(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=fG(e)&&e.offsetWidth||0,r=fG(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function pe({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){let s=(0,f8.useId)(),a=(0,f8.useRef)(null),l=(0,f8.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=(0,f8.useContext)(uR),u=function(...e){return B.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=f9(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():f9(e[t],null)}}}}(...e),e)}(a,e.props?.ref??e?.ref);return(0,f8.useInsertionEffect)(()=>{let{width:e,height:u,top:c,left:h,right:f,bottom:p}=l.current;if(t||!1===o||!a.current||!e||!u)return;
1let m="left"===n?`left: ${h}`:`right: ${f}`,g="bottom"===r?`bottom: ${p}`:`top: ${c}`;a.current.dataset.motionPopId=s;let v=document.createElement("style");d&&(v.nonce=d);let y=i??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(`
2          [data-motion-pop-id="${s}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${u}px !important;
6            ${m}px !important;
7            ${g}px !important;
8          }
9        `),()=>{a.current?.removeAttribute("data-motion-pop-id"),y.contains(v)&&y.removeChild(v)}},[t]),(0,P.jsx)(f7,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:!1===o?e:f8.cloneElement(e,{ref:u})})}let pt=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:l,root:d})=>{let u=uW(pn),c=(0,B.useId)(),h=!0,f=(0,B.useMemo)(()=>(h=!1,{id:c,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(u.set(e,!0),u.values()))if(!t)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[n,u,r]);return o&&h&&(f={...f}),(0,B.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),B.useEffect(()=>{n||u.size||!r||r()},[n]),e=(0,P.jsx)(pe,{pop:"popLayout"===s,isPresent:n,anchorX:a,anchorY:l,root:d,children:e}),(0,P.jsx)(uB.Provider,{value:f,children:e})};function pn(){return new Map}let pr=e=>e.key||"";function pi(e){let t=[];return B.Children.forEach(e,e=>{(0,B.isValidElement)(e)&&t.push(e)}),t}let po=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:d})=>{let[u,c]=hq(s),h=(0,B.useMemo)(()=>pi(e),[e]),f=s&&!u?[]:h.map(pr),p=(0,B.useRef)(!0),m=(0,B.useRef)(h),g=uW(()=>new Map),v=(0,B.useRef)(new Set),[y,w]=(0,B.useState)(h),[b,x]=(0,B.useState)(h);uK(()=>{p.current=!1,m.current=h;for(let e=0;e<b.length;e++){let t=pr(b[e]);f.includes(t)?(g.delete(t),v.current.delete(t)):!0!==g.get(t)&&g.set(t,!1)}},[b,f.length,f.join("-")]);let C=[];if(h!==y){let e=[...h];for(let t=0;t<b.length;t++){let n=b[t],r=pr(n);f.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===o&&C.length&&(e=C),x(pi(e)),w(h),null}let{forceRender:k}=(0,B.useContext)(uS);return(0,P.jsx)(P.Fragment,{children:b.map(e=>{let y=pr(e),w=(!s||!!u)&&(h===b||f.includes(y));return(0,P.jsx)(pt,{isPresent:w,initial:(!p.current||!!n)&&void 0,custom:t,presenceAffectsLayout:i,mode:o,root:d,onExitComplete:w?void 0:()=>{if(v.current.has(y)||!g.has(y))return;v.current.add(y),g.set(y,!0);let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(k?.(),x(m.current),s&&c?.(),r&&r())},anchorX:a,anchorY:l,children:e},y)})})};var ps=[],pa="ResizeObserver loop completed with undelivered notifications.",pl=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:pa}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=pa),window.dispatchEvent(e)};(j=$||($={})).BORDER_BOX="border-box",j.CONTENT_BOX="content-box",j.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var pd=function(e){return Object.freeze(e)},pu=function(e,t){this.inlineSize=e,this.blockSize=t,pd(this)},pc=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,pd(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ph=function(e){return e instanceof SVGElement&&"getBBox"in e},pf=function(e){if(ph(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},pp=function(e){if(e instanceof Element)return!0;var t,n=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},pm=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},pg="u">typeof window?window:{},pv=new WeakMap,py=/auto|scroll/,pw=/^tb|vertical/,pb=/msie|trident/i.test(pg.navigator&&pg.navigator.userAgent),px=function(e){return parseFloat(e||"0")},pC=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new pu((n?t:e)||0,(n?e:t)||0)},pk=pd({devicePixelContentBoxSize:pC(),borderBoxSize:pC(),contentBoxSize:pC(),contentRect:new pc(0,0,0,0)}),pj=function(e,t){if(void 0===t&&(t=!1),pv.has(e)&&!t)return pv.get(e);if(pf(e))return pv.set(e,pk),pk;var n=getComputedStyle(e),r=ph(e)&&e.ownerSVGElement&&e.getBBox(),i=!pb&&"border-box"===n.boxSizing,o=pw.test(n.writingMode||""),s=!r&&py.test(n.overflowY||""),a=!r&&py.test(n.overflowX||""),l=r?0:px(n.paddingTop),d=r?0:px(n.paddingRight),u=r?0:px(n.paddingBottom),c=r?0:px(n.paddingLeft),h=r?0:px(n.borderTopWidth),f=r?0:px(n.borderRightWidth),p=r?0:px(n.borderBottomWidth),m=r?0:px(n.borderLeftWidth),g=c+d,v=l+u,y=m+f,w=h+p,b=a?e.offsetHeight-w-e.clientHeight:0,x=s?e.offsetWidth-y-e.clientWidth:0,C=r?r.width:px(n.width)-(i?g+y:0)-x,k=r?r.height:px(n.height)-(i?v+w:0)-b,j=C+g+x+y,M=k+v+b+w,L=pd({devicePixelContentBoxSize:pC(Math.round(C*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:pC(j,M,o),contentBoxSize:pC(C,k,o),contentRect:new pc(c,l,C,k)});return pv.set(e,L),L},pM=function(e,t,n){var r=pj(e,n),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case $.DEVICE_PIXEL_CONTENT_BOX:return s;case $.BORDER_BOX:return i;default:return o}},pL=function(e){var t=pj(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=pd([t.borderBoxSize]),this.contentBoxSize=pd([t.contentBoxSize]),this.devicePixelContentBoxSize=pd([t.devicePixelContentBoxSize])},pS=function(e){if(pf(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},pE=function(){var e=1/0,t=[];ps.forEach(function(n){if(0!==n.activeTargets.length){var r=[];
9n.activeTargets.forEach(function(t){var n=new pL(t.target),i=pS(t.target);r.push(n),t.lastReportedSize=pM(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},pR=function(e){ps.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(pS(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},pV=function(){var e=0;for(pR(0);ps.some(function(e){return e.activeTargets.length>0});)pR(e=pE());return ps.some(function(e){return e.skippedTargets.length>0})&&pl(),e>0},pH=[],p$=function(e){if(!A){var t=0,n=document.createTextNode("");new MutationObserver(function(){return pH.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),A=function(){n.textContent="".concat(t?t--:t++)}}pH.push(e),A()},pA=function(e){p$(function(){requestAnimationFrame(e)})},pT=0,p_={attributes:!0,characterData:!0,childList:!0,subtree:!0},pP=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],pI=function(e){return void 0===e&&(e=0),Date.now()+e},pO=!1,pB=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!pO){pO=!0;var n=pI(e);pA(function(){var r=!1;try{r=pV()}finally{if(pO=!1,e=n-pI(),!pT)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,p_)};document.body?t():pg.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),pP.forEach(function(t){return pg.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),pP.forEach(function(t){return pg.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),pW=function(e){!pT&&e>0&&pB.start(),(pT+=e)||pB.stop()},pz=function(){function e(e,t){this.target=e,this.observedBox=t||$.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=pM(this.target,this.observedBox,!0);return ph(e=this.target)||pm(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),pN=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},pD=new WeakMap,pF=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},pZ=function(){function e(){}return e.connect=function(e,t){var n=new pN(e,t);pD.set(e,n)},e.observe=function(e,t,n){var r=pD.get(e),i=0===r.observationTargets.length;0>pF(r.observationTargets,t)&&(i&&ps.push(r),r.observationTargets.push(new pz(t,n&&n.box)),pW(1),pB.schedule())},e.unobserve=function(e,t){var n=pD.get(e),r=pF(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&ps.splice(ps.indexOf(n),1),n.observationTargets.splice(r,1),pW(-1))},e.disconnect=function(e){var t=this,n=pD.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),pU=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");pZ.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!pp(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");pZ.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!pp(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");pZ.unobserve(this,e)},e.prototype.disconnect=function(){pZ.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();let pG=B.default.createContext(!0);function pq(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}let pY="use"in B.default?()=>{try{return B.default.use(pG)}catch{return!1}}:()=>!1;function pX(e){let t=B.default.useRef(pq);return B.default.useInsertionEffect(()=>{t.current=e},[e]),(...e)=>(pY()&&pq(),(0,t.current)(...e))}
9let pK=(C=void 0,y={color:{base:function(e){let t={};for(let n of ef)t[n]=function(e,t){let n=eS(e?.base?.["*"],e?.base?.[t]),r=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:r,avatar:N.reduce((e,t)=>({...e,[t]:eS({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:ep.reduce((t,i)=>({...t,[i]:{_hue:e?.base?.[i]?._hue||r,...n.badge?.["*"],...n.badge?.[i]}}),{})}}(e,n);return t}(v=eS(eM,C?.color)),button:function(e){let t={};for(let n of eg)t[n]=function(e,t){let n={};for(let r of ep)n[r]=function(e,t,n){let r={};for(let i of em)r[i]=function(e,t,n,r){let i=eS(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[r],e?.button?.[n]?.[t]?.[r]),o=i._hue||e?.base?.[t]?._hue;return{...i,_hue:o,avatar:N.reduce((e,t)=>({...e,[t]:eS({_hue:t},i.avatar?.["*"],i.avatar?.[t])}),{}),badge:ep.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...i.badge?.["*"],...i.badge?.[n]}}),{})}}(e,n,t,i);return r}(e,t,r);return n}(e,n);return t}(v),input:function(e){let t={};for(let n of ev)t[n]=function(e,t){let n={};for(let r of ey)n[r]=function(e,t,n){let r=eS(e?.input?.["*"]?.["*"],e?.
9input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),i=r._hue||e?.input?.[t]?._hue;return{...r,_hue:i}}(e,t,r);return n}(e,n);return t}(v),selectable:function(e){let t={};for(let n of ep)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let r of em)n[r]=function(e,t,n){let r=eS(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),i=r._hue||e?.base?.[t]?._hue;return{...r,_hue:i,avatar:N.reduce((e,t)=>({...e,[t]:eS({_hue:t},r.avatar?.["*"],r.avatar?.[t])}),{}),badge:ep.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||i,...r.badge?.["*"],...r.badge?.[n]}}),{})}}(e,t,r);return n}(e,n);return t}(v),syntax:v.syntax}},eo(w={},"light",()=>eR({scheme:"light"},y)),eo(w,"dark",()=>eR({scheme:"dark"},y)),ed({_version:2,avatar:(void 0)??F,button:(void 0)??Z,card:(void 0)??U,color:(h=w,M=void 0,u=M?.palette??{black:{title:"Black",hex:"#0d0e12"},white:{title:"White",hex:"#ffffff"},gray:{50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},blue:{50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},purple:{50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:{50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:{50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},green:{50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},eo(c={},"light",()=>eZ(u,h.light)),eo(c,"dark",()=>eZ(u,h.dark)),c),container:(void 0)??[320,640,960,1280,1600,1920],font:(void 0)??{code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0}
9,{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},input:(void 0)??q,layer:(void 0)??G,media:(void 0)??[360,600,900,1200,1800,2400],radius:(void 0)??[0,1,3,6,9,12,21],shadow:(void 0)??[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],space:(void 0)??[0,4,8,12,20,32,52,84,136,220],style:(void 0)??{button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}}})),pJ=[],pQ={},p1={initial:{scale:.97,willChange:"transform"},hidden:{opacity:0},visible:{opacity:1,transition:{when:"beforeChildren",duration:.1}},scaleIn:{scale:1},scaleOut:{scale:.97}},p0={hidden:{opacity:0},visible:{opacity:1}},p5={type:"spring",visualDuration:.2,bounce:.25};function p2(e){return e instanceof Node&&e.nodeType===Node.ELEMENT_NODE}function p3(e){return p2(e)&&"A"===e.nodeName}function p4(e){return p2(e)&&"BUTTON"===e.nodeName}function p6(e,t){return e.contains(t)||e===t}function p8(e){return 0===e?0:`${e/16}rem`}function p9(e,t,n){return(t?.map(n)||[]).map((t,n)=>0===n?t:{[`@media screen and (min-width: ${e[n-1]}px)`]:t})}function p7(e,t){return void 0===e?t||pJ:Array.isArray(e)?e:[e]}function me(e,t,n=pJ){if(!Array.isArray(n))throw Error("the property must be array of numbers");if(0===n.length)return null;let{media:r,space:i}=en(e);return p9(r,n,e=>{var n;return n=p8(i[e]),t.reduce((e,t)=>(e[t]=n,e),{})})}function mt(e,t){let{$size:n,$weight:r}=t,{font:i,media:o}=en(t.theme),{family:s,sizes:a,weights:l}=i[e],d=r&&l[r]||l.regular,u=a[2],c={position:"relative",fontFamily:s,fontWeight:`${d}`,padding:"1px 0",margin:0,"&:before":{content:'""',display:"block",height:0}
9,"&:after":{content:'""',display:"block",height:0},"& > code, & > span":{display:"block"},"&:not([hidden])":{display:"block"}};return n?[c,...p9(o,n,e=>(function(e){let{ascenderHeight:t,descenderHeight:n,fontSize:r,iconSize:i,letterSpacing:o,lineHeight:s}=e,a=t+n,l=s-a,d=2*Math.floor(1.125*r/2)+1;return{fontSize:p8(r),lineHeight:`calc(${s} / ${r})`,letterSpacing:p8(o),transform:`translateY(${p8(n)})`,"&:before":{marginTop:`calc(${p8(0-a)} - 1px)`},"&:after":{marginBottom:"-1px"},"& svg:not([data-sanity-icon])":{fontSize:`calc(${d} / 16 * 1rem)`,margin:p8((l-d)/2)},"& [data-sanity-icon]":{fontSize:`calc(${i} / 16 * 1rem)`,margin:p8((l-i)/2)}}})(a[e]||u))]:(mt.warned||(console.warn("No size specified for responsive font",{fontKey:e,$size:n,props:t,base:c}),mt.warned=!0),[c])}function mn(e){let{media:t}=en(e.theme);return p9(t,e.$align,e=>({textAlign:e}))}let mr="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof self?self:e.g;function mi(e,t){let n=Symbol.for(e);if(typeof document>"u"){let n=(0,B.createContext)(t);return n.displayName=e,n}return mr[n]=mr[n]||(0,B.createContext)(t),mr[n]}let mo=mi("@sanity/ui/context/theme",null);function ms(e){let t,n,r,i,o=(0,e1.c)(15),s=(0,B.useContext)(mo),{children:a}=e,l=e.scheme??(s?.scheme||"light"),d=e.theme??(s?.theme||null),u=e.tone??(s?.tone||"default");e:{let e;if(!d){t=null;break e}o[0]!==d||o[1]!==l||o[2]!==u?(e={version:0,theme:d,scheme:l,tone:u},o[0]=d,o[1]=l,o[2]=u,o[3]=e):e=o[3],t=e}let c=t;t:{let e;if(!d){n=null;break t}o[4]!==d||o[5]!==l||o[6]!==u?(e=function(e,t,n){var r,i,o,s,a;let l,d=function(e,t,n){let r=eQ.get(t);if(!r)return;let i=r.get(n);if(i)return i.get(e)}(e,t,n);if(d)return d;let u=er(e)?ed(e):e,c=er(e)?e:function(e){if(e.v2)return e.v2;let t=ei.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,fonts:s,input:a,layer:l,media:d,radius:u,shadows:c,space:h,styles:f}=e,p={_version:2,avatar:{...F,...n},button:{...Z,...r},card:U,color:{light:{transparent:X(i.light.transparent),default:X(i.light.default),neutral:X(i.light.transparent),primary:X(i.light.primary),suggest:X(i.light.primary),positive:X(i.light.positive),caution:X(i.light.caution),critical:X(i.light.critical)},dark:{transparent:X(i.dark.transparent),default:X(i.dark.default),neutral:X(i.dark.transparent),primary:X(i.dark.primary),suggest:X(i.dark.primary),positive:X(i.dark.positive),caution:X(i.dark.caution),critical:X(i.dark.critical)}},container:o,font:s,input:{...q,...a,checkbox:{...q.checkbox,...a.checkbox},radio:{...q.radio,...a.radio},switch:{...q.switch,...a.switch}},layer:l??G,media:d,radius:u,shadow:c,space:h,style:f};return ei.set(e,p),p}(e),h=u.layer||G,f=c.color[t]||c.color.light,p="neutral"in(r=f[n]||f.default).badge?r:{...r,badge:{...r.badge,neutral:r.badge.default,suggest:r.badge.primary},button:{bleed:{...r.button.bleed,neutral:r.button.bleed.default,suggest:r.button.bleed.primary},default:{...r.button.default,neutral:r.button.default.default,suggest:r.button.default.primary},ghost:{...r.button.ghost,neutral:r.button.ghost.default,suggest:r.button.ghost.primary}},selectable:{...r.selectable,neutral:r.selectable.default,suggest:r.selectable.primary}},m=c.layer||G,{color:g,...v}=u,y={...v,layer:h,v2:{...c,_resolved:!0,color:p,layer:m}};eo(y,"color",()=>{let e=u.color[t]||u.color.light;return e[n]||e.default});let w={sanity:y};return i=e,o=t,s=n,a=w,eQ.has(o)||eQ.set(o,new Map),(l=eQ.get(o)).has(s)||l.set(s,new WeakMap),l.get(s).set(i,a),w}(d,l,u),o[4]=d,o[5]=l,o[6]=u,o[7]=e):e=o[7],n=e}let h=n;if(!h){let e;return o[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,P.jsx)("pre",{children:'ThemeProvider: no "theme" property provided'}),o[8]=e):e=o[8],e}return o[9]!==a||o[10]!==h?(r=(0,P.jsx)(nD,{theme:h,children:a}),o[9]=a,o[10]=h,o[11]=r):r=o[11],o[12]!==r||o[13]!==c?(i=(0,P.jsx)(mo.Provider,{value:c,children:r}),o[12]=r,o[13]=c,o[14]=i):i=o[14],i}function ma(){let e=(0,B.useContext)(mo);if(!e)throw Error("useRootTheme(): missing context value");return e}function ml(e){let t,n=(0,e1.c)(5),{children:r,scheme:i,tone:o}=e,s=ma(),a=i||s.scheme;return n[0]!==r||n[1]!==s.theme||n[2]!==a||n[3]!==o?(t=(0,P.jsx)(ms,{scheme:a,theme:s.theme,tone:o,children:r}),n[0]=r,n[1]=s.theme,n[2]=a,n[3]=o,n[4]=t):t=n[4],t}function md(){let e,t=(0,e1.c)(2),n=function(){let e=B.default.useContext(nN);if(!e)throw tI(18);return e}();return t[0]!==n?(e=en(n),t[0]=n,t[1]=e):e=t[1],e}function mu(e){let{card:t,media:n}=en(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return p9(n,e.$border,e=>e?{"&&":{border:r}}:{"&&":{border:0}})}function mc(e){let{card:t,media:n}=en(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return p9(n,e.$borderTop,e=>e?{"&&":{borderTop:r}}:{"&&":{borderTop:0}})}function mh(e){let{card:t,media:n}=en(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return p9(n,e.$borderRight,e=>e?{"&&":{borderRight:r}}:{"&&":{borderRight:0}})}function mf(e){let{card:t,media:n}=en(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return p9(n,e.$borderBottom,e=>e?{"&&":{borderBottom:r}}:{"&&":{borderBottom:0}})}function mp(e){let{card:t,media:n}=en(e.theme),r=`${t.border?.width??1}px solid var(--card-border-color)`;return p9(n,e.$borderLeft,e=>e?{"&&":{borderLeft:r}}:{"&&":{borderLeft:0}})}ms.displayName="ThemeProvider",ml.displayName="ThemeColorProvider";let mm={'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},mg={content:"content-box",border:"border-box"},mv={stretch:"stretch",fill:"100%"};function my(e){let{media:t}
9=en(e.theme);return p9(t,e.$display,e=>({"&:not([hidden])":{display:e}}))}function mw(e){let{media:t}=en(e.theme);return p9(t,e.$sizing,e=>({boxSizing:mg[e]}))}function mb(e){let{media:t}=en(e.theme);return p9(t,e.$height,e=>({height:mv[e]}))}function mx(e){let{media:t}=en(e.theme);return p9(t,e.$overflow,e=>({overflow:e}))}let mC={minWidth:0,minHeight:0};function mk(){return[mC,mj]}function mj(e){let{media:t}=en(e.theme);return e.$flex?p9(t,e.$flex,e=>({flex:`${e}`})):pJ}let mM={"&&:not([hidden])":{display:"flex"}};function mL(e){let{media:t}=en(e.theme);return p9(t,e.$align,e=>({alignItems:e}))}function mS(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$gap,e=>({gap:e?p8(n[e]):void 0}))}function mE(e){let{media:t}=en(e.theme);return p9(t,e.$wrap,e=>({flexWrap:e}))}function mR(e){let{media:t}=en(e.theme);return p9(t,e.$justify,e=>({justifyContent:e}))}function mV(e){let{media:t}=en(e.theme);return p9(t,e.$direction,e=>({flexDirection:e}))}function mH(e){return`inset 0 0 0 ${e.width}px ${e.color}`}function m$(e){let{base:t,border:n,focusRing:r}=e,i=r.offset+r.width,o=0-r.offset,s=t?t.bg:"var(--card-bg-color)";return[o>0&&`inset 0 0 0 ${o}px var(--card-focus-ring-color)`,n&&mH(n),o<0&&`0 0 0 ${0-o}px ${s}`,i>0&&`0 0 0 ${i}px var(--card-focus-ring-color)`].filter(Boolean).join(",")}let mA={auto:"auto",full:"1 / -1"},mT={auto:"auto",full:"1 / -1"};function m_(e){let{media:t}=en(e.theme);return p9(t,e.$row,e=>"number"==typeof e?{gridRow:`span ${e} / span ${e}`}:{gridRow:mA[e]})}function mP(e){let{media:t}=en(e.theme);return p9(t,e.$rowStart,e=>({gridRowStart:`${e}`}))}function mI(e){let{media:t}=en(e.theme);return p9(t,e.$rowEnd,e=>({gridRowEnd:`${e}`}))}function mO(e){let{media:t}=en(e.theme);return p9(t,e.$column,e=>"number"==typeof e?{gridColumn:`span ${e} / span ${e}`}:{gridColumn:mT[e]})}function mB(e){let{media:t}=en(e.theme);return p9(t,e.$columnStart,e=>({gridColumnStart:`${e}`}))}function mW(e){let{media:t}=en(e.theme);return p9(t,e.$columnEnd,e=>({gridColumnEnd:`${e}`}))}let mz={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"}},mN={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},mD={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};function mF(e){let{media:t}=en(e.theme);return p9(t,e.$autoFlow,e=>({gridAutoFlow:e}))}function mZ(e){let{media:t}=en(e.theme);return p9(t,e.$autoRows,e=>({gridAutoRows:e&&mD[e]}))}function mU(e){let{media:t}=en(e.theme);return p9(t,e.$autoCols,e=>({gridAutoColumns:e&&mN[e]}))}function mG(e){let{media:t}=en(e.theme);return p9(t,e.$columns,e=>({gridTemplateColumns:e&&`repeat(${e},minmax(0,1fr));`}))}function mq(e){let{media:t}=en(e.theme);return p9(t,e.$rows,e=>({gridTemplateRows:e&&`repeat(${e},minmax(0,1fr));`}))}function mY(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$gap,e=>({gridGap:e?p8(n[e]):void 0}))}function mX(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$gapX,e=>({columnGap:e?p8(n[e]):void 0}))}function mK(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$gapY,e=>({rowGap:e?p8(n[e]):void 0}))}function mJ(e){let{$fontSize:t,$iconLeft:n,$iconRight:r,$padding:i,$space:o}=e,{font:s,media:a,space:l}=en(e.theme),d=Math.max(i.length,o.length,t.length),u=[],c=[],h=[];for(let e=0;e<d;e+=1)h[e]=void 0===t[e]?h[e-1]:t[e],u[e]=void 0===i[e]?u[e-1]:i[e],c[e]=void 0===o[e]?c[e-1]:o[e];return p9(a,u,(e,t)=>{let i=s.text.sizes[h[t]]||s.text.sizes[2],o=i.lineHeight-i.ascenderHeight-i.descenderHeight,a=l[u[t]],d=l[c[t]],f={paddingTop:p8(a-i.ascenderHeight),paddingRight:p8(a),paddingBottom:p8(a-i.descenderHeight),paddingLeft:p8(a)};return r&&(f.paddingRight=p8(a+o+d)),n&&(f.paddingLeft=p8(a+o+d)
9),f})}function mQ(e){return mJ({...e,$iconRight:!0})}let m1=nX`
10  &:not([hidden]) {
11    display: flex;
12  }
13
14  align-items: center;
15`;function m0(){return m1}function m5(e){let{$scheme:t,$tone:n,$weight:r}=e,{color:i,font:o}=en(e.theme);return nX`
16    appearance: none;
17    background: none;
18    border: 0;
19    border-radius: 0;
20    outline: none;
21    width: 100%;
22    box-sizing: border-box;
23    font-family: ${o.text.family};
24    font-weight: ${r&&o.text.weights[r]||o.text.weights.regular};
25    margin: 0;
26    position: relative;
27    z-index: 1;
28    display: block;
29
30    /* NOTE: This is a hack to disable Chrome’s autofill styles */
31    &:-webkit-autofill,
32    &:-webkit-autofill:hover,
33    &:-webkit-autofill:focus,
34    &:-webkit-autofill:active {
35      -webkit-text-fill-color: var(--input-fg-color) !important;
36      transition: background-color 5000s;
37      transition-delay: 86400s /* 24h */;
38    }
39
40    /* &:is(textarea) */
41    &[data-as='textarea'] {
42      resize: none;
43    }
44
45    color: var(--input-fg-color);
46
47    &::placeholder {
48      color: var(--input-placeholder-color);
49    }
50
51    &[data-scheme='${t}'][data-tone='${n}'] {
52      --input-fg-color: ${i.input.default.enabled.fg};
53      --input-placeholder-color: ${i.input.default.enabled.placeholder};
54
55      /* enabled */
56      &:not(:invalid):not(:disabled):not(:read-only) {
57        --input-fg-color: ${i.input.default.enabled.fg};
58        --input-placeholder-color: ${i.input.default.enabled.placeholder};
59      }
60
61      /* disabled */
62      &:not(:invalid):disabled {
63        --input-fg-color: ${i.input.default.disabled.fg};
64        --input-placeholder-color: ${i.input.default.disabled.placeholder};
65      }
66
67      /* invalid */
68      &:invalid {
69        --input-fg-color: ${i.input.invalid.enabled.fg};
70        --input-placeholder-color: ${i.input.invalid.enabled.placeholder};
71      }
72
73      /* readOnly */
74      &:read-only {
75        --input-fg-color: ${i.input.default.readOnly.fg};
76        --input-placeholder-color: ${i.input.default.readOnly.placeholder};
77      }
78    }
79  `}function m2(e){let{font:t,media:n}=en(e.theme);return p9(n,e.$fontSize,e=>{let n=t.text.sizes[e]||t.text.sizes[2];return{fontSize:p8(n.fontSize),lineHeight:`${n.lineHeight/n.fontSize}`}})}function m3(e){let{$hasPrefix:t,$hasSuffix:n,$scheme:r,$tone:i,$unstableDisableFocusRing:o}=e,{color:s,input:a}=en(e.theme);return nX`
80    --input-box-shadow: none;
81
82    position: absolute;
83    top: 0;
84    left: 0;
85    right: 0;
86    bottom: 0;
87    display: block;
88    pointer-events: none;
89    z-index: 0;
90
91    background-color: var(--card-bg-color);
92    box-shadow: var(--input-box-shadow);
93
94    border-top-left-radius: ${t?0:void 0};
95    border-bottom-left-radius: ${t?0:void 0};
96    border-top-right-radius: ${n?0:void 0};
97    border-bottom-right-radius: ${n?0:void 0};
98
99    &[data-scheme='${r}'][data-tone='${i}'] {
100      --card-bg-color: ${s.input.default.enabled.bg};
101      --card-fg-color: ${s.input.default.enabled.fg};
102
103      /* enabled */
104      *:not(:disabled) + &[data-border] {
105        --input-box-shadow: ${mH({color:s.input.default.enabled.border,width:a.border.width})};
106      }
107
108      /* invalid */
109      *:not(:disabled):invalid + & {
110        --card-bg-color: ${s.input.invalid.enabled.bg};
111        --card-fg-color: ${s.input.invalid.enabled.fg};
112
113        &[data-border] {
114          --input-box-shadow: ${mH({color:s.input.invalid.enabled.border,width:a.border.width})};
115        }
116      }
117
118      /* focused */
119      *:not(:disabled):focus + & {
120        &[data-border] {
121          --input-box-shadow: ${o?void 0:m$({border:{color:s.input.default.enabled.border,width:a.border.width},focusRing:a.text.focusRing})};
122        }
123
124        &:not([data-border]) {
125          --input-box-shadow: ${o?void 0:m$({focusRing:a.text.focusRing})};
126        }
127      }
128
129      /* disabled */
130      *:not(:invalid):disabled + & {
131        --card-bg-color: ${s.input.default.disabled.bg} !important;
132        --card-fg-color: ${s.input.default.disabled.fg} !important;
133        --card-icon-color: ${s.input.default.disabled.fg} !important;
134
135        &[data-border] {
136          --input-box-shadow: ${mH({color:s.input.default.disabled.border,width:a.border.width})};
137        }
138      }
139
140      *:invalid:disabled + & {
141        --card-bg-color: ${s.input.invalid.disabled.bg} !important;
142        --card-fg-color: ${s.input.invalid.disabled.fg} !important;
143        --card-icon-color: ${s.input.invalid.disabled.fg} !important;
144
145        &[data-border] {
146          --input-box-shadow: ${mH({color:s.input.invalid.disabled.border,width:a.border.width})};
147        }
148      }
149
150      /* readOnly */
151      *:not(:invalid):read-only + & {
152        --card-bg-color: ${s.input.default.readOnly.bg} !important;
153        --card-fg-color: ${s.input.default.readOnly.fg} !important;
154      }
155
156      *:invalid:read-only + & {
157        --card-bg-color: ${s.input.invalid.readOnly.bg} !important;
158        --card-fg-color: ${s.input.invalid.readOnly.fg} !important;
159      }
160
161      /* hovered */
162      @media (hover: hover) {
163        *:not(:disabled):not(:read-only):not(:invalid):hover + & {
164          --card-bg-color: ${s.input.default.hovered.bg};
165          --card-fg-color: ${s.input.default.hovered.fg};
166        }
167
168        *:invalid:not(:disabled):not(:read-only):hover + & {
169          --card-bg-color: ${s.input.invalid.hovered.bg};
170          --card-fg-color: ${s.input.invalid.hovered.fg};
171        }
172
173        *:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border] {
174          --input-box-shadow: ${mH({color:s.input.default.hovered.border,width:a.border.width})};
175        }
176
177        *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] {
178          --input-box-shadow: ${mH({color:s.input.invalid.hovered.border,width:a.border.width})};
179        }
180      }
181    }
182  `}function m4(e){let{theme:t}=e;return[me(t,["padding"],e.$padding),me(t,["paddingLeft","paddingRight"],e.$paddingX),me(t,["paddingTop","paddingBottom"],e.$paddingY),me(t,["paddingTop"],e.$paddingTop),me(t,["paddingRight"],e.$paddingRight),me(t,["paddingBottom"],e.$paddingBottom),me(t,["paddingLeft"],e.$paddingLeft)].filter(Boolean)}function m6(e){let{media:t,radius:n}=en(e.theme);return p9(t,e.$radius,e=>{let t=0;return"number"==typeof e&&(t=p8(n[e])),"full"===e&&(t="9999px"),{borderRadius:t}})}function m8(e,t){return`${e.map(p8).join(" ")} ${t}`}let m9=nK.span.withConfig({displayName:"SpanWithTextOverflow",componentId:"sc-ol2i3b-0"})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`,m7=nK.div.withConfig({displayName:"StyledLabel",componentId:"sc-1luap7z-0"})(function(e){return mt("label",e)},mn,function(e){let{$accent:t,$muted:n}=e,{font:r}=en(e.theme);return nX`
183    text-transform: uppercase;
184
185    ${t&&nX`
186      color: var(--card-accent-fg-color);
187    `}
188
189    ${n&&nX`
190      color: var(--card-muted-fg-color);
191    `}
192
193    & code {
194      font-family: ${r.code.family};
195      border-radius: 1px;
196    }
197
198    & a {
199      text-decoration: none;
200      border-radius: 1px;
201    }
202
203    & svg {
204      /* Certain popular CSS libraries changes the defaults for SVG display */
205      /* Make sure SVGs are rendered as inline elements */
206      display: inline;
207    }
208
209    & [data-sanity-icon] {
210      vertical-align: baseline;
211    }
212  `}),ge=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f=(0,e1.c)(26);f[0]!==e?({accent:n,align:r,children:i,muted:s,size:a,textOverflow:l,weight:d,...o}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=i,f[4]=o,f[5]=s,f[6]=a,f[7]=l,f[8]=d):(n=f[1],r=f[2],i=f[3],o=f[4],s=f[5],a=f[6],l=f[7],d=f[8]);let p=void 0!==s&&s,m=void 0===a?2:a,g=i;if("ellipsis"===l){let e;f[9]!==g?(e=(0,P.jsx)(m9,{children:g}),f[9]=g,f[10]=e):e=f[10],g=e}else{let e;f[11]!==g?(e=(0,P.jsx)("span",{children:g}),f[11]=g,f[12]=e):e=f[12],g=e}return f[13]!==r?(u=p7(r),f[13]=r,f[14]=u):u=f[14],f[15]!==m?(c=p7(m),f[15]=m,f[16]=c):c=f[16],f[17]!==n||f[18]!==g||f[19]!==p||f[20]!==t||f[21]!==o||f[22]!==u||f[23]!==c||f[24]!==d?(h=(0,P.jsx)(m7,{"data-ui":"Label",...o,$accent:n,$align:u,$muted:p,$size:c,$weight:d,ref:t,children:g}),f[17]=n,f[18]=g,f[19]=p,f[20]=t,f[21]=o,f[22]=u,f[23]=c,f[24]=d,f[25]=h):h=f[25],h});ge.displayName="ForwardRef(Label)";let gt=nK.div.withConfig({displayName:"StyledAvatar",componentId:"sc-1rj7kl0-0"})(function(e){let{avatar:t,media:n}=en(e.theme);return p9(n,e.$size,e=>{let n=t.sizes[e]||t.sizes[0];return{width:p8(n.size),height:p8(n.size),borderRadius:p8(n.size/2),"&>svg":{width:p8(n.size),height:p8(n.size),borderRadius:p8(n.size/2)}}})},function(e){let{$color:t}=e,{avatar:n}=en(e.theme);return{"--avatar-bg-color":`var(--card-avatar-${t}-bg-color)`,"--avatar-fg-color":`var(--card-avatar-${t}-fg-color)`,backgroundColor:"var(--avatar-bg-color)",position:"relative",boxSizing:"border-box",userSelect:"none",boxShadow:"0 0 0 1px var(--card-bg-color)",'&[data-status="inactive"]':{o
212pacity:"0.5"},"&>svg":{"&:not([hidden])":{display:"block"}},'&[data-as="button"]':{WebkitFontSmoothing:"inherit",appearance:"none",margin:0,padding:0,border:0,font:"inherit",color:"inherit",outline:"none","&:focus":{boxShadow:m$({focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:"none"}}}}),gn=nK.div.withConfig({displayName:"Arrow",componentId:"sc-1rj7kl0-1"})(function(){return{position:"absolute",boxSizing:"border-box",zIndex:"0",opacity:"0",transition:"all 0.2s linear",transform:"rotate(-90deg) translate3d(0, 6px, 0)",left:0,right:0,top:0,bottom:0,"& > svg":{width:"11px",height:"7px",position:"absolute",top:"-5px",left:"50%",transform:"translateX(-6px)","&:not([hidden])":{display:"block"}},"[data-arrow-position='inside'] > &":{transform:"rotate(-90deg) translate3d(0, 6px, 0)",opacity:"0"},"[data-arrow-position='top'] > &":{opacity:"1",transform:"rotate(0deg)"},"[data-arrow-position='bottom'] > &":{opacity:"1",transform:"rotate(-180deg)"}}}),gr=nK.ellipse.withConfig({displayName:"BgStroke",componentId:"sc-1rj7kl0-2"})(function(){return{strokeWidth:"4px",stroke:"var(--card-bg-color)"}}),gi=nK.ellipse.withConfig({displayName:"Stroke",componentId:"sc-1rj7kl0-3"})(function(){return{strokeWidth:"2px",stroke:"var(--avatar-bg-color)",'[data-status="editing"] &':{strokeDasharray:"2 4",strokeLinecap:"round"}}}),go=nK.div.withConfig({displayName:"Initials",componentId:"sc-1rj7kl0-4"})(function(){return{width:"100%",height:"100%",color:"var(--avatar-fg-color)",alignItems:"center",justifyContent:"center",textTransform:"uppercase",textAlign:"center",borderRadius:"50%","&:not([hidden])":{display:"flex"}}}),gs=nK(ge).withConfig({displayName:"InitialsLabel",componentId:"sc-1rj7kl0-5"})({color:"inherit"}),ga=nK.svg.withConfig({displayName:"AvatarImage",componentId:"sc-1rj7kl0-6"})(function(){return{position:"relative"}});function gl(e){return 1===e?1:2===e?3:5*(3===e)}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C=(0,e1.c)(46);C[0]!==e?({__unstable_hideInnerStroke:n,as:o,color:u,src:d,title:f,initials:s,onImageLoadError:a,arrowPosition:i,animateArrowFrom:r,status:c,size:h,...l}=e,C[0]=e,C[1]=n,C[2]=r,C[3]=i,C[4]=o,C[5]=s,C[6]=a,C[7]=l,C[8]=d,C[9]=u,C[10]=c,C[11]=h,C[12]=f):(n=C[1],r=C[2],i=C[3],o=C[4],s=C[5],a=C[6],l=C[7],d=C[8],u=C[9],c=C[10],h=C[11],f=C[12]);let k=void 0===u?"gray":u,j=void 0===c?"online":c,M=void 0===h?1:h,{avatar:L}=md(),S=n1.default.isValidElementType(o)?o:"div",E=p7(M),R=(L.sizes[E[0]]||L.sizes[0]).size,V=R/2,H=(0,B.useId)(),[$,A]=(0,B.useState)(r||i||"inside"),[T,_]=(0,B.useState)(!1),I=`avatar-image-${H}`;C[13]!==$||C[14]!==i?(p=()=>
212{if($===i)return;let e=requestAnimationFrame(()=>A(i));return()=>cancelAnimationFrame(e)},m=[$,i],C[13]=$,C[14]=i,C[15]=p,C[16]=m):(p=C[15],m=C[16]),(0,B.useEffect)(p,m),C[17]!==d?(g=()=>{d&&_(!1)},v=[d],C[17]=d,C[18]=g,C[19]=v):(g=C[18],v=C[19]),(0,B.useEffect)(g,v),C[20]!==a?(y=()=>{_(!0),a&&a(Error("Avatar: the image failed to load"))},C[20]=a,C[21]=y):y=C[21];let O=y,W="string"==typeof S?S:void 0;C[22]!==k?(w=(0,P.jsx)(gn,{children:(0,P.jsx)("svg",{width:"11",height:"7",viewBox:"0 0 11 7",fill:"none",children:(0,P.jsx)("path",{d:"M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z",fill:k})})}),C[22]=k,C[23]=w):w=C[23],C[24]!==n||C[25]!==V||C[26]!==R||C[27]!==O||C[28]!==T||C[29]!==I||C[30]!==d?(b=!T&&d&&(0,P.jsxs)(ga,{viewBox:`0 0 ${R} ${R}`,fill:"none",children:[(0,P.jsx)("defs",{children:(0,P.jsx)("pattern",{id:I,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,P.jsx)("image",{href:d,width:"1",height:"1",onError:O})})}),(0,P.jsx)("circle",{cx:V,cy:V,r:V,fill:`url(#${I})`}),!n&&(0,P.jsx)(gr,{cx:V,cy:V,rx:V,ry:V,vectorEffect:"non-scaling-stroke"}),(0,P.jsx)(gi,{cx:V,cy:V,rx:V,ry:V,vectorEffect:"non-scaling-stroke"})]}),C[24]=n,C[25]=V,C[26]=R,C[27]=O,C[28]=T,C[29]=I,C[30]=d,C[31]=b):b=C[31];let z=(T||!d)&&s&&(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(go,{children:(0,P.jsx)(gs,{forwardedAs:"span",size:E.map(gl),weight:"medium",children:s})})});return C[32]!==gt||C[33]!==$||C[34]!==S||C[35]!==k||C[36]!==t||C[37]!==l||C[38]!==E||C[39]!==j||C[40]!==w||C[41]!==b||C[42]!==z||C[43]!==W||C[44]!==f?(x=(0,P.jsxs)(gt,{as:S,"data-as":W,"data-ui":"Avatar",...l,$color:k,$size:E,"aria-label":f,"data-arrow-position":$,"data-status":j,ref:t,title:f,children:[w,b,z]}),C[32]=gt,C[33]=$,C[34]=S,C[35]=k,C[36]=t,C[37]=l,C[38]=E,C[39]=j,C[40]=w,C[41]=b,C[42]=z,C[43]=W,C[44]=f,C[45]=x):x=C[45],x}).displayName="ForwardRef(Avatar)";let gd=nK.div.withConfig({displayName:"StyledAvatarCounter",componentId:"sc-1ydx86y-0"})(function(e){let{avatar:t,media:n}=en(e.theme);return p9(n,e.$size,e=>{let n=t.sizes[e];return n?{borderRadius:p8(n.size/2),minWidth:p8(n.size),height:p8(n.size)}:pQ})},function(e){let{space:t}=en(e.theme);return nX`
213    align-items: center;
214    justify-content: center;
215    box-sizing: border-box;
216    user-select: none;
217    color: inherit;
218    color: var(--card-fg-color);
219    background: var(--card-bg-color);
220    box-shadow:
221      0 0 0 1px var(--card-bg-color),
222      inset 0 0 0 1px var(--card-hairline-hard-color);
223    padding: 0 ${p8(t[2])};
224
225    &:not([hidden]) {
226      display: flex;
227    }
228  `}),gu=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c=(0,e1.c)(20),{count:h,size:f}=e,p=void 0===f?1:f;if(c[0]!==t||c[1]!==p){let e=p7(p);r=gd,s=e,a="AvatarCounter",l=t,n=ge,i="span",o=e.map(gc),c[0]=t,c[1]=p,c[2]=n,c[3]=r,c[4]=i,c[5]=o,c[6]=s,c[7]=a,c[8]=l}else n=c[2],r=c[3],i=c[4],o=c[5],s=c[6],a=c[7],l=c[8];return c[9]!==n||c[10]!==h||c[11]!==i||c[12]!==o?(d=(0,P.jsx)(n,{as:i,size:o,weight:"medium",children:h}),c[9]=n,c[10]=h,c[11]=i,c[12]=o,c[13]=d):d=c[13],c[14]!==r||c[15]!==s||c[16]!==a||c[17]!==l||c[18]!==d?(u=(0,P.jsx)(r,{$size:s,"data-ui":a,ref:l,children:d}),c[14]=r,c[15]=s,c[16]=a,c[17]=l,c[18]=d,c[19]=u):u=c[19],u});function gc(e){return 1===e?1:2===e?3:5*(3===e)}gu.displayName="ForwardRef(AvatarCounter)";let gh=nX`
229  white-space: nowrap;
230
231  & > div {
232    vertical-align: top;
233
234    &:not([hidden]) {
235      display: inline-block;
236    }
237  }
238`,gf=nK.div.withConfig({displayName:"StyledAvatarStack",componentId:"sc-cysmbb-0"})(function(e){let{avatar:t,media:n}=en(e.theme);return p9(n,e.$size,e=>{let n=t.sizes[e];return n?{"& > div + div":{marginLeft:p8(n.distance)}}:pQ})},function(){return gh});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m=(0,e1.c)(38);m[0]!==e?({children:n,maxLength:i,size:o,...r}=e,m[0]=e,m[1]=n,m[2]=r,m[3]=i,m[4]=o):(n=m[1],r=m[2],i=m[3],o=m[4]);let g=void 0===i?4:i,v=void 0===o?1:o;if(m[5]!==n||m[6]!==g||m[7]!==t||m[8]!==r||m[9]!==v){let e,i,o=B.Children.toArray(n).filter(B.isValidElement),p=Math.max(g,0);m[18]!==v?(e=p7(v),m[18]=v,m[19]=e):e=m[19];let y=e,w=o.length,b=w-(p-1),x=b>1?o.slice(b,w):o;s=gf,a="AvatarStack",l=r,d=t,u=y,m[20]!==w||m[21]!==y?(c=0===w&&(0,P.jsx)("div",{children:(0,P.jsx)(gu,{count:w,size:y})}),m[20]=w,m[21]=y,m[22]=c):c=m[22],m[23]!==b||m[24]!==w||m[25]!==y?(h=0!==w&&b>1&&(0,P.jsx)("div",{children:(0,P.jsx)(gu,{count:b,size:y})}),m[23]=b,m[24]=w,m[25]=y,m[26]=h):h=m[26],m[27]!==y?(i=(e,t)=>(0,P.jsx)("div",{children:(0,B.cloneElement)(e,{size:y})},String(t)),m[27]=y,m[28]=i):i=m[28],f=x.map(i),m[5]=n,m[6]=g,m[7]=t,m[8]=r,m[9]=v,m[10]=s,m[11]=a,m[12]=l,m[13]=d,m[14]=u,m[15]=c,m[16]=h,m[17]=f}else s=m[10],a=m[11],l=m[12],d=m[13],u=m[14],c=m[15],h=m[16],f=m[17];return m[29]!==s||m[30]!==a||m[31]!==l||m[32]!==d||m[33]!==u||m[34]!==c||m[35]!==h||m[36]!==f?(p=(0,P.jsxs)(s,{"data-ui":a,...l,ref:d,$size:u,children:[c,h,f]}),m[29]=s,m[30]=a,m[31]=l,m[32]=d,m[33]=u,m[34]=c,m[35]=h,m[36]=f,m[37]=p):p=m[37],p}).displayName="ForwardRef(AvatarStack)";let gp=nK.div.withConfig({displayName:"StyledBox",componentId:"sc-1hhky9f-0"})(function(){return mm},mk,function(){return[mw,mb,mx,my]},function(){return[m_,mP,mI,mO,mB,mW]},function(e){let{theme:t}=e;return[me(t,["margin"],e.$margin),me(t,["marginLeft","marginRight"],e.$marginX),me(t,["marginTop","marginBottom"],e.$marginY),me(t,["marginTop"],e.$marginTop),me(t,["marginRight"],e.$marginRight),me(t,["marginBottom"],e.$marginBottom),me(t,["marginLeft"],e.$marginLeft)].filter(
238Boolean)},m4),gm=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O,B,W,z,N,D,F,Z,U,G,q,Y,X,K,J,Q,ee,et,en=(0,e1.c)(109);en[0]!==e?({as:M,column:n,columnStart:i,columnEnd:r,display:L,flex:o,height:s,margin:S,marginX:c,marginY:h,marginTop:u,marginRight:d,marginBottom:a,marginLeft:l,overflow:f,padding:E,paddingX:y,paddingY:w,paddingTop:v,paddingRight:g,paddingBottom:p,paddingLeft:m,row:x,rowStart:k,rowEnd:C,sizing:j,...b}=e,en[0]=e,en[1]=n,en[2]=r,en[3]=i,en[4]=o,en[5]=s,en[6]=a,en[7]=l,en[8]=d,en[9]=u,en[10]=c,en[11]=h,en[12]=f,en[13]=p,en[14]=m,en[15]=g,en[16]=v,en[17]=y,en[18]=w,en[19]=b,en[20]=x,en[21]=C,en[22]=k,en[23]=j,en[24]=M,en[25]=L,en[26]=S,en[27]=E):(n=en[1],r=en[2],i=en[3],o=en[4],s=en[5],a=en[6],l=en[7],d=en[8],u=en[9],c=en[10],h=en[11],f=en[12],p=en[13],m=en[14],g=en[15],v=en[16],y=en[17],w=en[18],b=en[19],x=en[20],C=en[21],k=en[22],j=en[23],M=en[24],L=en[25],S=en[26],E=en[27]);let er=void 0===M?"div":M,ei=void 0===L?"block":L,eo=void 0===S?0:S,es=void 0===E?0:E,ea="string"==typeof er?er:void 0;return en[28]!==n?(R=p7(n),en[28]=n,en[29]=R):R=en[29],en[30]!==i?(V=p7(i),en[30]=i,en[31]=V):V=en[31],en[32]!==r?(H=p7(r),en[32]=r,en[33]=H):H=en[33],en[34]!==ei?($=p7(ei),en[34]=ei,en[35]=$):$=en[35],en[36]!==o?(A=p7(o),en[36]=o,en[37]=A):A=en[37],en[38]!==s?(T=p7(s),en[38]=s,en[39]=T):T=en[39],en[40]!==eo?(_=p7(eo),en[40]=eo,en[41]=_):_=en[41],en[42]!==c?(I=p7(c),en[42]=c,en[43]=I):I=en[43],en[44]!==h?(O=p7(h),en[44]=h,en[45]=O):O=en[45],en[46]!==u?(B=p7(u),en[46]=u,en[47]=B):B=en[47],en[48]!==d?(W=p7(d),en[48]=d,en[49]=W):W=en[49],en[50]!==a?(z=p7(a),en[50]=a,en[51]=z):z=en[51],en[52]!==l?(N=p7(l),en[52]=l,en[53]=N):N=en[53],en[54]!==f?(D=p7(f),en[54]=f,en[55]=D):D=en[55],en[56]!==es?(F=p7(es),en[56]=es,en[57]=F):F=en[57],en[58]!==y?(Z=p7(y),en[58]=y,en[59]=Z):Z=en[59],en[60]!==w?(U=p7(w),en[60]=w,en[61]=U):U=en[61],en[62]!==v?(G=p7(v),en[62]=v,en[63]=G):G=en[63],en[64]!==g?(q=p7(g),en[64]=g,en[65]=q):q=en[65],en[66]!==p?(Y=p7(p),en[66]=p,en[67]=Y):Y=en[67],en[68]!==m?(X=p7(m),en[68]=m,en[69]=X):X=en[69],en[70]!==x?(K=p7(x),en[70]=x,en[71]=K):K=en[71],en[72]!==k?(J=p7(k),en[72]=k,en[73]=J):J=en[73],en[74]!==C?(Q=p7(C),en[74]=C,en[75]=Q):Q=en[75],en[76]!==j?(ee=p7(j),en[76]=j,en[77]=ee):ee=en[77],en[78]!==er||en[79]!==e.children||en[80]!==t||en[81]!==b||en[82]!==T||en[83]!==_||en[84]!==I||en[85]!==O||en[86]!==B||en[87]!==W||en[88]!==z||en[89]!==N||en[90]!==D||en[91]!==F||en[92]!==Z||en[93]!==U||en[94]!==G||en[95]!==q||en[96]!==Y||en[97]!==X||en[98]!==K||en[99]!==J||en[100]!==Q||en[101]!==ee||en[102]!==ea||en[103]!==R||en[104]!==V||en[105]!==H||en[106]!==$||en[107]!==A?(et=(0,P.jsx)(gp,{"data-as":ea,"data-ui":"Box",...b,$column:R,$columnStart:V,$columnEnd:H,$display:$,$flex:A,$height:T,$margin:_,$marginX:I,$marginY:O,$marginTop:B,$marginRight:W,$marginBottom:z,$marginLeft:N,$overflow:D,$padding:F,$paddingX:Z,$paddingY:U,$paddingTop:G,$paddingRight:q,$paddingBottom:Y,$paddingLeft:X,$row:K,$rowStart:J,$rowEnd:Q,$sizing:ee,as:er,ref:t,children:e.children}),en[78]=er,en[79]=e.children,en[80]=t,en[81]=b,en[82]=T,en[83]=_,en[84]=I,en[85]=O,en[86]=B,en[87]=W,en[88]=z,en[89]=N,en[90]=D,en[91]=F,en[92]=Z,en[93]=U,en[94]=G,en[95]=q,en[96]=Y,en[97]=X,en[98]=K,en[99]=J,en[100]=Q,en[101]=ee,en[102]=ea,en[103]=R,en[104]=V,en[105]=H,en[106]=$,en[107]=A,en[108]=et):et=en[108],et});gm.displayName="ForwardRef(Box)";let gg=nK.div.withConfig({displayName:"StyledText",componentId:"sc-11ov82j-0"})(function(e){return mt("text",e)},mn,function(e){let{$accent:t,$muted:n}=e,{font:r}=en(e.theme);return nX`
239    color: var(--card-fg-color);
240
241    ${t&&nX`
242      color: var(--card-accent-fg-color);
243    `}
244
245    ${n&&nX`
246      color: var(--card-muted-fg-color);
247    `}
248
249    & code {
250      font-family: ${r.code.family};
251      border-radius: 1px;
252      background-color: var(--card-code-bg-color);
253      color: var(--card-code-fg-color);
254    }
255
256    & a {
257      text-decoration: none;
258      border-radius: 1px;
259      color: var(--card-link-color);
260      outline: none;
261
262      @media (hover: hover) {
263        &:hover {
264          text-decoration: underline;
265        }
266      }
267
268      &:focus {
269        box-shadow:
270          0 0 0 1px var(--card-bg-color),
271          0 0 0 3px var(--card-focus-ring-color);
272      }
273
274      &:focus:not(:focus-visible) {
275        box-shadow: none;
276      }
277    }
278
279    & strong {
280      font-weight: ${r.text.weights.bold};
281    }
282
283    & svg {
284      /* Certain popular CSS libraries changes the defaults for SVG display */
285      /* Make sure SVGs are rendered as inline elements */
286      display: inline;
287    }
288
289    & [data-sanity-icon] {
290      vertical-align: baseline;
291      color: var(--card-icon-color);
292
293      & path {
294        vector-effect: non-scaling-stroke !important;
295      }
296    }
297  `}),gv=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p=(0,e1.c)(26);p[0]!==e?({accent:o,align:n,children:r,muted:s,size:a,textOverflow:l,weight:d,...i}=e,p[0]=e,p[1]=n,p[2]=r,p[3]=i,p[4]=o,p[5]=s,p[6]=a,p[7]=l,p[8]=d):(n=p[1],r=p[2],i=p[3],o=p[4],s=p[5],a=p[6],l=p[7],d=p[8]);let m=void 0!==o&&o,g=void 0!==s&&s,v=void 0===a?2:a,y=r;if("ellipsis"===l){let e;p[9]!==y?(e=(0,P.jsx)(m9,{children:y}),p[9]=y,p[10]=e):e=p[10],y=e}return p[11]!==n?(u=p7(n),p[11]=n,p[12]=u):u=p[12],p[13]!==v?(c=p7(v),p[13]=v,p[14]=c):c=p[14],p[15]!==y?(h=(0,P.jsx)("span",{children:y}),p[15]=y,p[16]=h):h=p[16],p[17]!==m||p[18]!==g||p[19]!==t||p[20]!==i||p[21]!==u||p[22]!==c||p[23]!==h||p[24]!==d?(f=(0,P.jsx)(gg,{"data-ui":"Text",...i,$accent:m,$align:u,$muted:g,ref:t,$size:c,$weight:d,children:h}),p[17]=m,p[18]=g,p[19]=t,p[20]=i,p[21]=u,p[22]=c,p[23]=h,p[24]=d,p[25]=f):f=p[25],f});gv.displayName="ForwardRef(Text)";let gy=nK(gm).withConfig({displayName:"StyledBadge",componentId:"sc-5u140l-0"}
297)(m6,function(e){let{$tone:t}=e;return{"--card-bg-color":`var(--card-badge-${t}-bg-color)`,"--card-fg-color":`var(--card-badge-${t}-fg-color)`,backgroundColor:"var(--card-bg-color)",cursor:"default","&:not([hidden])":{display:"inline-block",verticalAlign:"top"}}});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h=(0,e1.c)(21);if(h[0]!==e){let{children:t,fontSize:l,mode:d,padding:u,radius:c,tone:f,...p}=e;n=t,i=l,o=u,s=c,a=f,r=p,h[0]=e,h[1]=n,h[2]=r,h[3]=i,h[4]=o,h[5]=s,h[6]=a}else n=h[1],r=h[2],i=h[3],o=h[4],s=h[5],a=h[6];let f=void 0===i?1:i,p=void 0===o?1:o,m=void 0===s?"full":s,g=void 0===a?"default":a;return h[7]!==m?(l=p7(m),h[7]=m,h[8]=l):l=h[8],h[9]!==p?(d=p7(p),h[9]=p,h[10]=d):d=h[10],h[11]!==n||h[12]!==f?(u=(0,P.jsx)(gv,{size:f,children:n}),h[11]=n,h[12]=f,h[13]=u):u=h[13],h[14]!==t||h[15]!==r||h[16]!==l||h[17]!==d||h[18]!==u||h[19]!==g?(c=(0,P.jsx)(gy,{"data-ui":"Badge",...r,$tone:g,$radius:l,padding:d,ref:t,children:u}),h[14]=t,h[15]=r,h[16]=l,h[17]=d,h[18]=u,h[19]=g,h[20]=c):c=h[20],c}).displayName="ForwardRef(Badge)";let gw=nK(gm).withConfig({displayName:"StyledFlex",componentId:"sc-oxesg3-0"})(mk,function(){return[mM,mL,mS,mE,mR,mV]}),gb=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m=(0,e1.c)(27);m[0]!==e?({align:n,as:r,direction:a,gap:i,justify:o,wrap:l,...s}=e,m[0]=e,m[1]=n,m[2]=r,m[3]=i,m[4]=o,m[5]=s,m[6]=a,m[7]=l):(n=m[1],r=m[2],i=m[3],o=m[4],s=m[5],a=m[6],l=m[7]);let g=void 0===a?"row":a;return m[8]!==n?(d=p7(n),m[8]=n,m[9]=d):d=m[9],m[10]!==g?(u=p7(g),m[10]=g,m[11]=u):u=m[11],m[12]!==i?(c=p7(i),m[12]=i,m[13]=c):c=m[13],m[14]!==o?(h=p7(o),m[14]=o,m[15]=h):h=m[15],m[16]!==l?(f=p7(l),m[16]=l,m[17]=f):f=m[17],m[18]!==r||m[19]!==t||m[20]!==s||m[21]!==d||m[22]!==u||m[23]!==c||m[24]!==h||m[25]!==f?(p=(0,P.jsx)(gw,{"data-ui":"Flex",...s,$align:d,$direction:u,$gap:c,$justify:h,$wrap:f,forwardedAs:r,ref:t}),m[18]=r,m[19]=t,m[20]=s,m[21]=d,m[22]=u,m[23]=c,m[24]=h,m[25]=f,m[26]=p):p=m[26],p});gb.displayName="ForwardRef(Flex)";let gx=nQ`
298  from {
299    transform: rotate(0deg);
300  }
301
302  to {
303    transform: rotate(360deg);
304  }
305`,gC=nK(gv).withConfig({displayName:"StyledSpinner",componentId:"sc-124hnd0-0"})`& > span > svg{animation:${gx} 500ms linear infinite;}`,gk=(0,B.forwardRef)(function(e,t){let n,r,i=(0,e1.c)(4);return i[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,P.jsx)(oq,{}),i[0]=n):n=i[0],i[1]!==e||i[2]!==t?(r=(0,P.jsx)(gC,{"data-ui":"Spinner",...e,ref:t,children:n}),i[1]=e,i[2]=t,i[3]=r):r=i[3],r});function gj(e,t,n=!1){return{"--card-backdrop-color":e.backdrop,"--card-focus-ring-color":e.focusRing,"--card-shadow-outline-color":e.shadow.outline,"--card-shadow-umbra-color":e.shadow.umbra,"--card-shadow-penumbra-color":e.shadow.penumbra,"--card-shadow-ambient-color":e.shadow.ambient,"--card-accent-fg-color":t.accent.fg,"--card-avatar-gray-bg-color":t.avatar.gray.bg,"--card-avatar-gray-fg-color":t.avatar.gray.fg,"--card-avatar-blue-bg-color":t.avatar.blue.bg,"--card-avatar-blue-fg-color":t.avatar.blue.fg,"--card-avatar-purple-bg-color":t.avatar.purple.bg,"--card-avatar-purple-fg-color":t.avatar.purple.fg,"--card-avatar-magenta-bg-color":t.avatar.magenta.bg,"--card-avatar-magenta-fg-color":t.avatar.magenta.fg,"--card-avatar-red-bg-color":t.avatar.red.bg,"--card-avatar-red-fg-color":t.avatar.red.fg,"--card-avatar-orange-bg-color":t.avatar.orange.bg,"--card-avatar-orange-fg-color":t.avatar.orange.fg,"--card-avatar-yellow-bg-color":t.avatar.yellow.bg,"--card-avatar-yellow-fg-color":t.avatar.yellow.fg,"--card-avatar-green-bg-color":t.avatar.green.bg,"--card-avatar-green-fg-color":t.avatar.green.fg,"--card-avatar-cyan-bg-color":t.avatar.cyan.bg,"--card-avatar-cyan-fg-color":t.avatar.cyan.fg,"--card-bg-color":t.bg,"--card-bg-image":n?`repeating-conic-gradient(${t.bg} 0% 25%, ${t.muted.bg} 0% 50%)`:void 0,"--card-border-color":t.border,"--card-badge-default-bg-color":t.badge.default.bg,"--card-badge-default-dot-color":t.badge.default.dot,"--card-badge-default-fg-color":t.badge.default.fg,"--card-badge-default-icon-color":t.badge.default.icon,"--card-badge-neutral-bg-color":t.badge.neutral?.bg,"--card-badge-neutral-dot-color":t.badge.neutral?.dot,"--card-badge-neutral-fg-color":t.badge.neutral?.fg,"--card-badge-neutral-icon-color":t.badge.neutral?.icon,"--card-badge-primary-bg-color":t.badge.primary.bg,"--card-badge-primary-dot-color":t.badge.primary.dot,"--card-badge-primary-fg-color":t.badge.primary.fg,"--card-badge-primary-icon-color":t.badge.primary.icon,"--card-badge-suggest-bg-color":t.badge.suggest?.bg,"--card-badge-suggest-dot-color":t.badge.suggest?.dot,"--card-badge-suggest-fg-color":t.badge.suggest?.fg,"--card-badge-suggest-icon-color":t.badge.suggest?.icon,"--card-badge-positive-bg-color":t.badge.positive.bg,"--card-badge-positive-dot-color":t.badge.positive.dot,"--card-badge-positive-fg-color":t.badge.positive.fg,"--card-badge-positive-icon-color":t.badge.positive.icon,"--card-badge-caution-bg-color":t.badge.caution.bg,"--card-badge-caution-dot-color":t.badge.caution.dot,"--card-badge-caution-fg-color":t.badge.caution.fg,"--card-badge-caution-icon-color":t.badge.caution.icon,"--card-badge-critical-bg-color":t.badge.critical.bg,"--card-badge-critical-dot-color":t.badge.critical.dot,"--card-badge-critical-fg-color":t.badge.critical.fg,"--card-badge-critical-icon-color":t.badge.critical.icon,"--card-code-bg-color":t.code.bg,"--card-code-fg-color":t.code.fg,"--card-fg-color":t.fg,"--card-icon-color":t.icon,"--card-kbd-bg-color":t.kbd.bg,"--card-kbd-border-color":t.kbd.border,"--card-kbd-fg-color":t.kbd.fg,"--card-link-fg-color":t.link.fg,"--card-muted-bg-color":t.muted.bg,"--card-muted-fg-color":t.muted.fg,"--card-skeleton-color-from":t.skeleton.from,"--card-skeleton-color-to":t.skeleton.to,"--card-bg2-color":t.muted.bg,"--card-link-color":t.link.fg,"--card-hairline-soft-color":t.border,"--card-hairline-hard-color":t.border}}function gM(...e){return e.filter(Boolean).join(",")}gk.displayName="ForwardRef(Spinner)";let gL=nK.button.withConfig({displayName:"StyledButton",componentId:"sc-aaekt4-0"})(m6,function(e){let{$width:t}=e,{style:n}=en(e.theme);return nX`
306    ${n?.button};
307
308    -webkit-font-smoothing: inherit;
309    appearance: none;
310    display: inline-flex;
311    align-items: center;
312    font: inherit;
313    border: 0;
314    outline: none;
315    user-select: none;
316    text-decoration: none;
317    border: 0;
318    box-sizing: border-box;
319    padding: 0;
320    margin: 0;
321    white-space: nowrap;
322    text-align: left;
323    position: relative;
324    vertical-align: top;
325
326    ${"fill"===t&&nX`
327      width: -moz-available;
328      width: -webkit-fill-available;
329      width: stretch;
330    `}
331
332    & > span {
333      display: block;
334      flex: 1;
335      min-width: 0;
336      border-radius: inherit;
337    }
338
339    &::-moz-focus-inner {
340      border: 0;
341      padding: 0;
342    }
343  `},function(e){let{$mode:t}=e,{button:n,color:r,style:i}=en(e.theme),o="ghost"===e.$mode,s=r.button[t]||r.button.default,a=s[e.$tone]||s.default,l={width:n.border.width,color:"var(--card-border-color)"},d;return[gj(r,a.enabled),{backgroundColor:"var(--card-bg-color)",color:"var(--card-fg-color)",boxShadow:mH(l),'&:disabled, &[data-disabled="true"]':gj(r,a.disabled),"&:not([data-disabled='true'])":{boxShadow:gM(mH(l),o?d:void 0),"&:focus":{boxShadow:m$({base:r,border:{width:2,color:r.bg},focusRing:n.focusRing})},"&:focus:not(:focus-visible)":{boxShadow:gM(mH(l),o?d:void 0)},"@media (hover: hover)":{"&:hover":gj(r,a.hovered),"&:active":gj(r,a.pressed),"&[data-hovered]":gj(r,a.hovered)},"&[data-selected]":gj(r,a.pressed)}}
343,i?.button?.root].filter(Boolean)}),gS=nK.div.withConfig({displayName:"LoadingBox",componentId:"sc-aaekt4-1"})`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`,gE=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O,W,z,N,D,F,Z=(0,e1.c)(86);Z[0]!==e?({children:i,disabled:o,fontSize:m,icon:n,iconRight:r,justify:g,loading:s,mode:v,padding:y,paddingX:c,paddingY:h,paddingTop:u,paddingBottom:a,paddingLeft:l,paddingRight:d,radius:w,selected:p,space:b,text:j,textAlign:M,textWeight:L,tone:x,type:C,muted:k,width:S,...f}=e,Z[0]=e,Z[1]=n,Z[2]=r,Z[3]=i,Z[4]=o,Z[5]=s,Z[6]=a,Z[7]=l,Z[8]=d,Z[9]=u,Z[10]=c,Z[11]=h,Z[12]=f,Z[13]=p,Z[14]=m,Z[15]=g,Z[16]=v,Z[17]=y,Z[18]=w,Z[19]=b,Z[20]=x,Z[21]=C,Z[22]=k,Z[23]=j,Z[24]=M,Z[25]=L,Z[26]=S):(n=Z[1],r=Z[2],i=Z[3],o=Z[4],s=Z[5],a=Z[6],l=Z[7],d=Z[8],u=Z[9],c=Z[10],h=Z[11],f=Z[12],p=Z[13],m=Z[14],g=Z[15],v=Z[16],y=Z[17],w=Z[18],b=Z[19],x=Z[20],C=Z[21],k=Z[22],j=Z[23],M=Z[24],L=Z[25],S=Z[26]);let U=void 0===m?1:m,G=void 0===g?"center":g,q=void 0===v?"default":v,Y=void 0===y?3:y,X=void 0===w?2:w,K=void 0===b?3:b,J=void 0===x?"default":x,Q=void 0===C?"button":C,ee=void 0!==k&&k,{button:et}=md();Z[27]!==G?(E=p7(G),Z[27]=G,Z[28]=E):E=Z[28];let en=E;Z[29]!==Y?(R=p7(Y),Z[29]=Y,Z[30]=R):R=Z[30];let er=R;Z[31]!==c?(V=p7(c),Z[31]=c,Z[32]=V):V=Z[32];let ei=V;Z[33]!==h?(H=p7(h),Z[33]=h,Z[34]=H):H=Z[34];let eo=H;Z[35]!==u?($=p7(u),Z[35]=u,Z[36]=$):$=Z[36];let es=$;Z[37]!==a?(A=p7(a),Z[37]=a,Z[38]=A):A=Z[38];let ea=A;Z[39]!==l?(T=p7(l),Z[39]=l,Z[40]=T):T=Z[40];let el=T;Z[41]!==d?(_=p7(d),Z[41]=d,Z[42]=_):_=Z[42];let ed=_;Z[43]!==X?(I=p7(X),Z[43]=X,Z[44]=I):I=Z[44];let eu=I;Z[45]!==K?(O=p7(K),Z[45]=K,Z[46]=O):O=Z[46];let ec=O;Z[47]!==er||Z[48]!==ea||Z[49]!==el||Z[50]!==ed||Z[51]!==es||Z[52]!==ei||Z[53]!==eo?(W={padding:er,paddingX:ei,paddingY:eo,paddingTop:es,paddingBottom:ea,paddingLeft:el,paddingRight:ed},Z[47]=er,Z[48]=ea,Z[49]=el,Z[50]=ed,Z[51]=es,Z[52]=ei,Z[53]=eo,Z[54]=W):W=Z[54];let eh=W,ef=!!(s||o),ep=p?"":void 0,em=!!(s||o);return Z[55]!==s?(z=!!s&&(0,P.jsx)(gS,{children:(0,P.jsx)(gk,{})}),Z[55]=s,Z[56]=z):z=Z[56],Z[57]!==n||Z[58]!==r||Z[59]!==eh||Z[60]!==et||Z[61]!==U||Z[62]!==en||Z[63]!==ee||Z[64]!==ec||Z[65]!==j||Z[66]!==M||Z[67]!==L?(N=(n||j||r)&&(0,P.jsx)(gm,{as:"span",...eh,children:(0,P.jsxs)(gb,{as:"span",justify:en,gap:ec,children:[n&&(0,P.jsxs)(gv,{size:U,children:[(0,B.isValidElement)(n)&&n,(0,n1.isValidElementType)(n)&&(0,P.jsx)(n,{})]}),j&&(0,P.jsx)(gm,{children:(0,P.jsx)(gv,{muted:ee,align:M,size:U,textOverflow:"ellipsis",weight:L??et.textWeight,children:j})}),r&&(0,P.jsxs)(gv,{size:U,children:[(0,B.isValidElement)(r)&&r,(0,n1.isValidElementType)(r)&&(0,P.jsx)(r,{})]})]})}),Z[57]=n,Z[58]=r,Z[59]=eh,Z[60]=et,Z[61]=U,Z[62]=en,Z[63]=ee,Z[64]=ec,Z[65]=j,Z[66]=M,Z[67]=L,Z[68]=N):N=Z[68],Z[69]!==eh||Z[70]!==i?(D=i&&(0,P.jsx)(gm,{as:"span",...eh,children:i}),Z[69]=eh,Z[70]=i,Z[71]=D):D=Z[71],Z[72]!==q||Z[73]!==eu||Z[74]!==t||Z[75]!==f||Z[76]!==ef||Z[77]!==ep||Z[78]!==em||Z[79]!==z||Z[80]!==N||Z[81]!==D||Z[82]!==J||Z[83]!==Q||Z[84]!==S?(F=(0,P.jsxs)(gL,{"data-ui":"Button",...f,$mode:q,$radius:eu,$tone:J,"data-disabled":ef,"data-selected":ep,disabled:em,ref:t,type:Q,$width:S,children:[z,N,D]}),Z[72]=q,Z[73]=eu,Z[74]=t,Z[75]=f,Z[76]=ef,Z[77]=ep,Z[78]=em,Z[79]=z,Z[80]=N,Z[81]=D,Z[82]=J,Z[83]=Q,Z[84]=S,Z[85]=F):F=Z[85],F});gE.displayName="ForwardRef(Button)";let gR=nK(gm).withConfig({displayName:"StyledCard",componentId:"sc-osnro2-0"})(function(){return[mu,mc,mh,mf,mp]},m6,function(e){let{card:t,media:n,shadow:r}=en(e.theme);return p9(n,e.$shadow,e=>(function(e,t=1){if(!e)return pQ;let n=`0 0 0 ${p8(t)} var(--card-shadow-outline-color)`,r=m8(e.umbra,"var(--card-shadow-umbra-color)"),i=m8(e.penumbra,"var(--card-shadow-penumbra-color)"),o=m8(e.ambient,"var(--card-shadow-ambient-color)");return{boxShadow:`${n}, ${r}, ${i}, ${o}`}})(r[e],t.shadow.outline))},function(e){return[function(e){let{$checkered:t}=e,{space:n}=en(e.theme);return nX`
344    ${t&&nX`
345      background-size: ${n[3]}px ${n[3]}px;
346      background-position: 50% 50%;
347      background-image: var(--card-bg-image);
348    `}
349
350    &[data-as='button'] {
351      -webkit-font-smoothing: inherit;
352      appearance: none;
353      outline: none;
354      font: inherit;
355      text-align: inherit;
356      border: 0;
357      width: -moz-available;
358      width: -webkit-fill-available;
359      width: stretch;
360    }
361
362    /* &:is(a) */
363    &[data-as='a'] {
364      outline: none;
365      text-decoration: none;
366    }
367
368    /* &:is(pre) */
369    &[data-as='pre'] {
370      font: inherit;
371    }
372  `}(e),function(e){let{$checkered:t,$focusRing:n,$muted:r}=e,{card:i,color:o,style:s}=en(e.theme),a={width:i.border.width,color:"var(--card-border-color)"};return nX`
373    color-scheme: ${o._dark?"dark":"light"};
374
375    ${gj(o,o,t)}
376
377    background-color: ${r?"var(--card-muted-bg-color)":"var(--card-bg-color)"};
378    color: var(--card-fg-color);
379
380    /* &:is(button) */
381    &[data-as='button'] {
382      --card-focus-ring-box-shadow: none;
383
384      cursor: default;
385      box-shadow: var(--card-focus-ring-box-shadow);
386
387      &:disabled {
388        ${gj(o,o.selectable.default.disabled,t)}
389      }
390
391      &:not(:disabled) {
392        &[data-pressed] {
393          ${gj(o,o.selectable.default.pressed,t)}
394        }
395
396        &[data-selected] {
397          ${gj(o,o.selectable.default.selected,t)}
398        }
399
400        @media (hover: hover) {
401          &:not([data-pressed]):not([data-selected]) {
402            &[data-hovered],
403            &:hover {
404              ${gj(o,o.selectable.default.hovered,t)}
405            }
406
407            &:active {
408              ${gj(o,o.selectable.default.pressed,t)}
409            }
410          }
411        }
412
413        &:focus-visible {
414          --card-focus-ring-box-shadow: ${n?m$({base:o,border:a,focusRing:i.focusRing}):void 0};
415        }
416      }
417    }
418
419    /* &:is(a) */
420    &[data-as='a'] {
421      cursor: pointer;
422      box-shadow: var(--card-focus-ring-box-shadow);
423
424      &[data-disabled] {
425        ${gj(o,o.selectable.default.disabled,t)}
426      }
427
428      &:not([data-disabled]) {
429        &[data-pressed] {
430          ${gj(o,o.selectable.default.pressed,t)}
431        }
432
433        &[data-selected] {
434          ${gj(o,o.selectable.default.selected,t)}
435        }
436
437        @media (hover: hover) {
438          &:not([data-pressed]):not([data-selected]) {
439            &[data-hovered],
440            &:hover {
441              ${gj(o,o.selectable.default.hovered,t)}
442            }
443
444            &:active {
445              ${gj(o,o.selectable.default.pressed,t)}
446            }
447          }
448        }
449
450        &:focus-visible {
451          --card-focus-ring-box-shadow: ${n?m$({base:o,border:a,focusRing:i.focusRing}):void 0};
452        }
453      }
454    }
455
456    ${s?.card?.root}
457  `}(e)]}),gV=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S=(0,e1.c)(56);S[0]!==e?({__unstable_checkered:p,__unstable_focusRing:m,as:n,border:r,borderTop:a,borderRight:s,borderBottom:i,borderLeft:o,muted:l,pressed:d,radius:g,scheme:c,selected:h,shadow:f,tone:v,...u}=e,S[0]=e,S[1]=n,S[2]=r,S[3]=i,S[4]=o,S[5]=s,S[6]=a,S[7]=l,S[8]=d,S[9]=u,S[10]=c,S[11]=h,S[12]=f,S[13]=p,S[14]=m,S[15]=g,S[16]=v):(n=S[1],r=S[2],i=S[3],o=S[4],s=S[5],a=S[6],l=S[7],d=S[8],u=S[9],c=S[10],h=S[11],f=S[12],p=S[13],m=S[14],g=S[15],v=S[16]);let E=void 0!==p&&p,R=void 0!==m&&m,V=void 0===g?0:g,H=void 0===v?"default":v,$=(0,n1.isValidElementType)(n)?n:"div",A=ma(),T="inherit"===H?A.tone:H,_="string"==typeof $?$:void 0,I=A.scheme;S[17]!==r?(y=p7(r),S[17]=r,S[18]=y):y=S[18],S[19]!==a?(w=p7(a),S[19]=a,S[20]=w):w=S[20],S[21]!==s?(b=p7(s),S[21]=s,S[22]=b):b=S[22],S[23]!==i?(x=p7(i),S[23]=i,S[24]=x):x=S[24],S[25]!==o?(C=p7(o),S[25]=o,S[26]=C):C=S[26],S[27]!==V?(k=p7(V),S[27]=V,S[28]=k):k=S[28],S[29]!==f?(j=p7(f),S[29]=f,S[30]=j):j=S[30];let O=E?"":void 0,B=d?"":void 0,W=h?"":void 0;return S[31]!==$||S[32]!==E||S[33]!==R||S[34]!==l||S[35]!==t||S[36]!==u||S[37]!==A.scheme||S[38]!==h||S[39]!==C||S[40]!==k||S[41]!==j||S[42]!==O||S[43]!==B||S[44]!==W||S[45]!==_||S[46]!==y||S[47]!==w||S[48]!==b||S[49]!==x||S[50]!==T?(M=(0,P.jsx)(gR,{"data-as":_,"data-scheme":I,"data-ui":"Card","data-tone":T,...u,$border:y,$borderTop:w,$borderRight:b,$borderBottom:x,$borderLeft:C,$checkered:E,$focusRing:R,$muted:l,$radius:k,$shadow:j,$tone:T,"data-checkered":O,"data-
457pressed":B,"data-selected":W,forwardedAs:$,ref:t,selected:h}),S[31]=$,S[32]=E,S[33]=R,S[34]=l,S[35]=t,S[36]=u,S[37]=A.scheme,S[38]=h,S[39]=C,S[40]=k,S[41]=j,S[42]=O,S[43]=B,S[44]=W,S[45]=_,S[46]=y,S[47]=w,S[48]=b,S[49]=x,S[50]=T,S[51]=M):M=S[51],S[52]!==c||S[53]!==M||S[54]!==T?(L=(0,P.jsx)(ml,{scheme:c,tone:T,children:M}),S[52]=c,S[53]=M,S[54]=T,S[55]=L):L=S[55],L});function gH(e,t,n){let r,i,o,s=(0,e1.c)(9),a=void 0===t?g$:t;s[0]!==n||s[1]!==a||s[2]!==e?(r=t=>{if(!e)return;let r=t.target;if(!(r instanceof Node))return;let i=n?.();if(!i||i.contains(r)){for(let e of a().flat())if(e&&(r===e||e.contains(r)))return;e(t)}},s[0]=n,s[1]=a,s[2]=e,s[3]=r):r=s[3];let l=pX(r),d=!!e;s[4]!==d||s[5]!==l?(i=()=>{if(!d)return;let e=e=>l(e);return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},s[4]=d,s[5]=l,s[6]=i):i=s[6],s[7]!==d?(o=[d],s[7]=d,s[8]=o):o=s[8],(0,B.useEffect)(i,o),(0,B.useDebugValue)(e?"MouseDown On":"MouseDown Off")}function g$(){return pJ}function gA(e,t){let n,r,i=(0,e1.c)(4);i[0]!==t||i[1]!==e?(n=()=>{e.current?.setCustomValidity(t||"")},r=[t,e],i[0]=t,i[1]=e,i[2]=n,i[3]=r):(n=i[2],r=i[3]),(0,B.useEffect)(n,r)}gV.displayName="ForwardRef(Card)";let gT="u">typeof document&&"u">typeof window&&window.ResizeObserver?window.ResizeObserver:pU,g_=(b=new WeakMap,x=new WeakMap,{subscribe(e,t){let n=x.get(e)||[],r=b.get(e);return x.has(e)||(x.set(e,n),r=({subscribe(e,t){let n=new gT(([e])=>{t({_contentRect:e.contentRect,border:{width:e.borderBoxSize[0].inlineSize,height:e.borderBoxSize[0].blockSize},content:{width:e.contentRect.width,height:e.contentRect.height}})});return n.observe(e),()=>{n.unobserve(e),n.disconnect()}}}).subscribe(e,e=>{for(let t of n)t(e)})),n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1),0===n.length&&r&&r()}}});function gP(e){let t,n,r=(0,e1.c)(3),[i,o]=(0,B.useState)(null);return r[0]!==e?(t=()=>{if(e)return g_.subscribe(e,o)},n=[e],r[0]=e,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,B.useEffect)(t,n),i}function gI(e,t){let n,r,i,o=(0,e1.c)(7);o[0]!==e?(n=t=>e(t),o[0]=e,o[1]=n):n=o[1];let s=pX(n);o[2]!==s||o[3]!==t?(r=()=>{let e=e=>s(e);return window.addEventListener("keydown",e,t),()=>window.removeEventListener("keydown",e,t)},o[2]=s,o[3]=t,o[4]=r):r=o[4],o[5]!==t?(i=[t],o[5]=t,o[6]=i):i=o[6],(0,B.useEffect)(r,i)}function gO(e,t){let n,r,i=(0,e1.c)(4);return(0,B.useDebugValue)(e),i[0]!==e?(n=t=>{let n=window.matchMedia(e);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)},i[0]=e,i[1]=n):n=i[1],i[2]!==e?(r=()=>window.matchMedia(e).matches,i[2]=e,i[3]=r):r=i[3],(0,B.useSyncExternalStore)(n,r,t)}function gB(){return 0}function gW(){let e,t,n,r,i=(0,e1.c)(2),{media:o}=md();i[0]!==o?(n=o.length,r=()=>{if(!t){t=[];for(let r=n;r>-1;r-=1){var e;let n=0===(e=r)?`screen and (max-width: ${o[e]-1}px)`:e===o.length?`screen and (min-width: ${o[e-1]}px)`:`screen and (min-width: ${o[e-1]}px) and (max-width: ${o[e]-1}px)`;t.push({index:r,mq:window.matchMedia(n)})}}return t},e={getSnapshot:()=>{for(let{index:e,mq:t}of r())if(t.matches)return e;return 0},subscribe:e=>{let t=[];for(let{mq:n}of r()){let r=()=>{n.matches&&e()};n.addEventListener("change",r),t.push(()=>n.removeEventListener("change",r))}return()=>{for(let e of t)e()}}},i[0]=o,i[1]=e):e=i[1];let s=e;return(0,B.useSyncExternalStore)(s.subscribe,s.getSnapshot,gB)}function gz(e){return gO("(prefers-color-scheme: dark)",void 0===e?gN:e)}function gN(){return!1}function gD(e){return gO("(prefers-reduced-motion: reduce)",void 0===e?gF:e)}function gF(){return!1}let gZ=nK.div.withConfig({displayName:"StyledCheckbox",componentId:"sc-1l5mt2l-0"})(function(){return nX`
458    position: relative;
459    display: inline-block;
460  `}),gU=nK.input.withConfig({displayName:"Input",componentId:"sc-1l5mt2l-1"})(function(e){let{color:t,input:n,radius:r}=en(e.theme),{focusRing:i}=n.checkbox;return nX`
461    position: absolute;
462    top: 0;
463    left: 0;
464    width: 100%;
465    height: 100%;
466    outline: none;
467    opacity: 0;
468    z-index: 1;
469    padding: 0;
470    margin: 0;
471
472    & + span {
473      position: relative;
474      display: block;
475      height: ${p8(n.checkbox.size)};
476      width: ${p8(n.checkbox.size)};
477      box-sizing: border-box;
478      box-shadow: ${mH({color:t.input.default.enabled.border,width:n.border.width})};
479      border-radius: ${p8(r[2])};
480      line-height: 1;
481      background-color: ${t.input.default.enabled.bg};
482
483      & > svg {
484        display: block;
485        position: absolute;
486        opacity: 0;
487        height: 100%;
488        width: 100%;
489
490        & > path {
491          vector-effect: non-scaling-stroke;
492          stroke-width: 1.5px !important;
493        }
494      }
495    }
496
497    &:checked + span {
498      background: ${t.input.default.enabled.fg};
499      box-shadow: ${mH({color:t.input.default.enabled.fg,width:n.border.width})};
500      color: ${t.input.default.enabled.bg};
501    }
502
503    /* focus */
504    &:not(:disabled):focus:focus-visible + span {
505      box-shadow: ${m$({focusRing:i})};
506    }
507
508    /* focus when checked - uses a different offset */
509    &:not(:disabled):focus:focus-visible&:checked + span {
510      box-shadow: ${m$({focusRing:{width:1,offset:1}})};
511    }
512
513    &[data-error] + span {
514      background-color: ${t.input.invalid.enabled.border};
515      box-shadow: ${mH({width:n.border.width,color:t.input.invalid.enabled.muted.bg})};
516      color: ${t.input.default.disabled.fg};
517    }
518    &[data-error]&:checked + span {
519      background-color: ${t.input.invalid.enabled.muted.bg};
520      color: ${t.input.default.enabled.bg};
521    }
522    &[data-error]&:checked&:not(:disabled):focus:focus-visible + span {
523      box-shadow: ${m$({border:{width:n.border.width,color:t.input.invalid.readOnly.muted.bg},focusRing:{width:1,offset:1}})};
524    }
525
526    &:disabled + span {
527      background-color: ${t.input.default.disabled.bg};
528      box-shadow: ${mH({width:n.border.width,color:t.input.default.disabled.border})};
529      color: ${t.input.default.disabled.fg};
530    }
531    &:disabled&:checked + span {
532      background-color: ${t.input.default.disabled.muted.bg};
533    }
534
535    &[data-read-only] + span {
536      background-color: ${t.input.default.readOnly.bg};
537      box-shadow: ${mH({width:n.border.width,color:t.input.default.readOnly.border})};
538      color: ${t.input.default.readOnly.fg};
539    }
540
541    &[data-read-only]&:checked + span {
542      background-color: ${t.input.default.readOnly.muted.bg};
543    }
544
545    &:checked + span > svg:first-child {
546      opacity: 1;
547    }
548    &:indeterminate + span > svg:last-child {
549      opacity: 1;
550    }
551  `});function gG({theme:e}){let{color:{syntax:t}}=en(e);return{"&.atrule":{color:t.atrule},"&.attr-name":{color:t.attrName},"&.attr-value":{color:t.attrValue},"&.attribute":{color:t.attribute},"&.boolean":{color:t.boolean},"&.builtin":{color:t.builtin},"&.cdata":{color:t.cdata},"&.char":{color:t.char},"&.class":{color:t.class},"&.class-name":{color:t.className},"&.comment":{color:t.comment},"&.constant":{color:t.constant},"&.deleted":{color:t.deleted},"&.doctype":{color:t.doctype},"&.entity":{color:t.entity},"&.function":{color:t.function},"&.hexcode":{color:t.hexcode},"&.id":{color:t.id},"&.important":{color:t.important},"&.inserted":{color:t.inserted},"&.keyword":{color:t.keyword},"&.number":{color:t.number},"&.operator":{color:t.operator},"&.prolog":{color:t.prolog},"&.property":{color:t.property},"&.pseudo-class":{color:t.pseudoClass},"&.pseudo-element":{color:t.pseudoElement},"&.punctuation":{color:t.punctuation},"&.regex":{color:t.regex},"&.selector":{color:t.selector},"&.string":{color:t.string},"&.symbol":{color:t.symbol},"&.tag":{color:t.tag},"&.unit":{color:t.unit},"&.url":{color:t.url},"&.variable":{color:t.variable}}}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g=(0,e1.c)(25);
551g[0]!==e?({checked:n,className:r,disabled:o,indeterminate:s,customValidity:i,readOnly:a,style:d,...l}=e,g[0]=e,g[1]=n,g[2]=r,g[3]=i,g[4]=o,g[5]=s,g[6]=a,g[7]=l,g[8]=d):(n=g[1],r=g[2],i=g[3],o=g[4],s=g[5],a=g[6],l=g[7],d=g[8]);let v=(0,B.useRef)(null);g[9]===Symbol.for("react.memo_cache_sentinel")?(u=()=>v.current,g[9]=u):u=g[9],(0,B.useImperativeHandle)(t,u),g[10]!==s?(c=()=>{v.current&&(v.current.indeterminate=s||!1)},h=[s],g[10]=s,g[11]=c,g[12]=h):(c=g[11],h=g[12]),(0,B.useEffect)(c,h),gA(v,i);let y=!o&&a?"":void 0,w=i?"":void 0,b=o||a;return g[13]!==n||g[14]!==a||g[15]!==l||g[16]!==y||g[17]!==w||g[18]!==b?(f=(0,P.jsx)(gU,{"data-read-only":y,"data-error":w,...l,checked:n,disabled:b,type:"checkbox",readOnly:a,ref:v}),g[13]=n,g[14]=a,g[15]=l,g[16]=y,g[17]=w,g[18]=b,g[19]=f):f=g[19],g[20]===Symbol.for("react.memo_cache_sentinel")?(p=(0,P.jsxs)("span",{children:[(0,P.jsx)(rS,{}),(0,P.jsx)(oA,{})]}),g[20]=p):p=g[20],g[21]!==r||g[22]!==d||g[23]!==f?(m=(0,P.jsxs)(gZ,{className:r,"data-ui":"Checkbox",style:d,children:[f,p]}),g[21]=r,g[22]=d,g[23]=f,g[24]=m):m=g[24],m}).displayName="ForwardRef(Checkbox)";let gq=(0,B.lazy)(()=>e.A(72514)),gY=nK.pre.withConfig({displayName:"StyledCode",componentId:"sc-4dymyn-0"})(function(){return nX`
552    color: var(--card-code-fg-color);
553
554    & code {
555      font-family: inherit;
556
557      &.refractor .token {
558        ${gG}
559      }
560    }
561
562    & a {
563      color: inherit;
564      text-decoration: underline;
565      border-radius: 1px;
566    }
567
568    & svg {
569      /* Certain popular CSS libraries changes the defaults for SVG display */
570      /* Make sure SVGs are rendered as inline elements */
571      display: inline;
572    }
573
574    & [data-sanity-icon] {
575      vertical-align: baseline;
576    }
577  `},function(e){return mt("code",e)});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h=(0,e1.c)(22);h[0]!==e?({children:n,language:r,size:o,weight:s,...i}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=i,h[4]=o,h[5]=s):(n=h[1],r=h[2],i=h[3],o=h[4],s=h[5]);let f=void 0===o?2:o;return h[6]!==f?(a=p7(f),h[6]=f,h[7]=a):a=h[7],h[8]!==n?(l=(0,P.jsx)("code",{children:n}),h[8]=n,h[9]=l):l=h[9],h[10]!==n||h[11]!==r?(d=(0,P.jsx)(gq,{language:r,value:n}),h[10]=n,h[11]=r,h[12]=d):d=h[12],h[13]!==l||h[14]!==d?(u=(0,P.jsx)(B.Suspense,{fallback:l,children:d}),h[13]=l,h[14]=d,h[15]=u):u=h[15],h[16]!==t||h[17]!==i||h[18]!==a||h[19]!==u||h[20]!==s?(c=(0,P.jsx)(gY,{"data-ui":"Code",...i,$size:a,$weight:s,ref:t,children:u}),h[16]=t,h[17]=i,h[18]=a,h[19]=u,h[20]=s,h[21]=c):c=h[21],c}).displayName="ForwardRef(Code)";let gX={width:"100%",margin:"0 auto"},gK=nK(gm).withConfig({displayName:"StyledContainer",componentId:"sc-wyroop-0"})(function(){return gX},function(e){let{container:t,media:n}=en(e.theme);return p9(n,e.$width,e=>({maxWidth:"auto"===e?"none":p8(t[e])}))}),gJ=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,e1.c)(11);a[0]!==e?({as:n,width:i,...r}=e,a[0]=e,a[1]=n,a[2]=r,a[3]=i):(n=a[1],r=a[2],i=a[3]);let l=void 0===i?2:i;return a[4]!==l?(o=p7(l),a[4]=l,a[5]=o):o=a[5],a[6]!==n||a[7]!==t||a[8]!==r||a[9]!==o?(s=(0,P.jsx)(gK,{"data-ui":"Container",...r,$width:o,forwardedAs:n,ref:t}),a[6]=n,a[7]=t,a[8]=r,a[9]=o,a[10]=s):s=a[10],s});gJ.displayName="ForwardRef(Container)";let gQ=nK(gm).withConfig({displayName:"StyledGrid",componentId:"sc-v8t8oz-0"})(function(){return[mz,mF,mZ,mU,mG,mq,mY,mX,mK]}),g1=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C=(0,e1.c)(42);C[0]!==e?({as:n,autoRows:o,autoCols:r,autoFlow:i,columns:a,gap:l,gapX:d,gapY:u,rows:h,children:s,...c}=e,C[0]=e,C[1]=n,C[2]=r,C[3]=i,C[4]=o,C[5]=s,C[6]=a,C[7]=l,C[8]=d,C[9]=u,C[10]=c,C[11]=h):(n=C[1],r=C[2],i=C[3],o=C[4],s=C[5],a=C[6],l=C[7],d=C[8],u=C[9],c=C[10],h=C[11]);let k="string"==typeof n?n:void 0;return C[12]!==o?(f=p7(o),C[12]=o,C[13]=f):f=C[13],C[14]!==r?(p=p7(r),C[14]=r,C[15]=p):p=C[15],C[16]!==i?(m=p7(i),C[16]=i,C[17]=m):m=C[17],C[18]!==a?(g=p7(a),C[18]=a,C[19]=g):g=C[19],C[20]!==l?(v=p7(l),C[20]=l,C[21]=v):v=C[21],C[22]!==d?(y=p7(d),C[22]=d,C[23]=y):y=C[23],C[24]!==u?(w=p7(u),C[24]=u,C[25]=w):w=C[25],C[26]!==h?(b=p7(h),C[26]=h,C[27]=b):b=C[27],C[28]!==n||C[29]!==s||C[30]!==t||C[31]!==c||C[32]!==k||C[33]!==f||C[34]!==p||C[35]!==m||C[36]!==g||C[37]!==v||C[38]!==y||C[39]!==w||C[40]!==b?(x=(0,P.jsx)(gQ,{"data-as":k,"data-ui":"Grid",...c,$autoRows:f,$autoCols:p,$autoFlow:m,$columns:g,$gap:v,$gapX:y,$gapY:w,$rows:b,forwardedAs:n,ref:t,children:s}),C[28]=n,C[29]=s,C[30]=t,C[31]=c,C[32]=k,C[33]=f,C[34]=p,C[35]=m,C[36]=g,C[37]=v,C[38]=y,C[39]=w,C[40]=b,C[41]=x):x=C[41],x});g1.displayName="ForwardRef(Grid)";let g0=nK.div.withConfig({displayName:"StyledHeading",componentId:"sc-137lwim-0"})(function(e){let{$accent:t,$muted:n}=e,{font:r}=en(e.theme);return nX`
578    ${t&&nX`
579      color: var(--card-accent-fg-color);
580    `}
581
582    ${n&&nX`
583      color: var(--card-muted-fg-color);
584    `}
585
586    & code {
587      font-family: ${r.code.family};
588      border-radius: 1px;
589    }
590
591    & a {
592      text-decoration: none;
593      border-radius: 1px;
594      color: var(--card-link-color);
595      outline: none;
596
597      @media (hover: hover) {
598        &:hover {
599          text-decoration: underline;
600        }
601      }
602
603      &:focus {
604        box-shadow:
605          0 0 0 1px var(--card-bg-color),
606          0 0 0 3px var(--card-focus-ring-color);
607      }
608
609      &:focus:not(:focus-visible) {
610        box-shadow: none;
611      }
612    }
613
614    & strong {
615      font-weight: ${r.heading.weights.bold};
616    }
617
618    & svg {
619      /* Certain popular CSS libraries changes the defaults for SVG display */
620      /* Make sure SVGs are rendered as inline elements */
621      display: inline;
622    }
623
624    & [data-sanity-icon] {
625      vertical-align: baseline;
626    }
627  `},mn,function(e){return mt("heading",e)});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p=(0,e1.c)(26);p[0]!==e?({accent:o,align:n,children:r,muted:s,size:a,textOverflow:l,weight:d,...i}=e,p[0]=e,p[1]=n,p[2]=r,p[3]=i,p[4]=o,p[5]=s,p[6]=a,p[7]=l,p[8]=d):(n=p[1],r=p[2],i=p[3],o=p[4],s=p[5],a=p[6],l=p[7],d=p[8]);let m=void 0!==o&&o,g=void 0!==s&&s,v=void 0===a?2:a,y=r;if("ellipsis"===l){let e;p[9]!==y?(e=(0,P.jsx)(m9,{children:y}),p[9]=y,p[10]=e):e=p[10],y=e}return p[11]!==n?(u=p7(n),p[11]=n,p[12]=u):u=p[12],p[13]!==v?(c=p7(v),p[13]=v,p[14]=c):c=p[14],p[15]!==y?(h=(0,P.jsx)("span",{children:y}),p[15]=y,p[16]=h):h=p[16],p[17]!==m||p[18]!==g||p[19]!==t||p[20]!==i||p[21]!==u||p[22]!==c||p[23]!==h||p[24]!==d?(f=(0,P.jsx)(g0,{"data-ui":"Heading",...i,$accent:m,$align:u,$muted:g,$size:c,$weight:d,ref:t,children:h}),p[17]=m,p[18]=g,p[19]=t,p[20]=i,p[21]=u,p[22]=c,p[23]=h,p[24]=d,p[25]=f):f=p[25],f}).displayName="ForwardRef(Heading)";let g5=nK(gm).withConfig({displayName:"StyledInline",componentId:"sc-1pkiy6j-0"})(function(){return{lineHeight:"0","&&:not([hidden])":{display:"block"},"& > div":{display:"inline-block",verticalAlign:"middle"}}}
627,function(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$space,e=>{let t=p8(.5===e?n[1]/2:n[e]);return{margin:`-${t} 0 0 -${t}`,"& > div":{padding:`${t} 0 0 ${t}`}}})}),g2=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d=(0,e1.c)(15);d[0]!==e?({as:n,children:r,space:o,...i}=e,d[0]=e,d[1]=n,d[2]=r,d[3]=i,d[4]=o):(n=d[1],r=d[2],i=d[3],o=d[4]),d[5]!==r?(s=B.Children.map(r,g3),d[5]=r,d[6]=s):s=d[6];let u=s;return d[7]!==o?(a=p7(o),d[7]=o,d[8]=a):a=d[8],d[9]!==n||d[10]!==u||d[11]!==i||d[12]!==a||d[13]!==t?(l=(0,P.jsx)(g5,{"data-ui":"Inline",...i,$space:a,forwardedAs:n,ref:t,children:u}),d[9]=n,d[10]=u,d[11]=i,d[12]=a,d[13]=t,d[14]=l):l=d[14],l});function g3(e){return e&&(0,P.jsx)("div",{children:e})}g2.displayName="ForwardRef(Inline)";let g4=nK.kbd.withConfig({displayName:"StyledKBD",componentId:"sc-1w7yd8w-0"})(m6,function(){return nX`
628    --card-bg-color: var(--card-kbd-bg-color);
629    --card-border-color: var(--card-kbd-border-color);
630    --card-fg-color: var(--card-kbd-fg-color);
631
632    box-shadow: inset 0 0 0 1px var(--card-border-color);
633    background: var(--card-bg-color);
634    font: inherit;
635
636    vertical-align: top;
637
638    &:not([hidden]) {
639      display: inline-block;
640    }
641  `}),g6=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c=(0,e1.c)(19);c[0]!==e?({children:n,fontSize:i,padding:o,radius:s,...r}=e,c[0]=e,c[1]=n,c[2]=r,c[3]=i,c[4]=o,c[5]=s):(n=c[1],r=c[2],i=c[3],o=c[4],s=c[5]);let h=void 0===i?0:i,f=void 0===o?1:o,p=void 0===s?2:s;return c[6]!==p?(a=p7(p),c[6]=p,c[7]=a):a=c[7],c[8]!==n||c[9]!==h?(l=(0,P.jsx)(gv,{as:"span",size:h,weight:"semibold",children:n}),c[8]=n,c[9]=h,c[10]=l):l=c[10],c[11]!==f||c[12]!==l?(d=(0,P.jsx)(gm,{as:"span",padding:f,children:l}),c[11]=f,c[12]=l,c[13]=d):d=c[13],c[14]!==t||c[15]!==r||c[16]!==a||c[17]!==d?(u=(0,P.jsx)(g4,{"data-ui":"KBD",...r,$radius:a,ref:t,children:d}),c[14]=t,c[15]=r,c[16]=a,c[17]=d,c[18]=u):u=c[18],u});g6.displayName="ForwardRef(KBD)";let g8={name:"@sanity/ui/origin",fn({middlewareData:e,placement:t,rects:n}){let[r]=t.split("-"),i=n.floating.width,o=n.floating.height,s=e.shift?.x||0,a=e.shift?.y||0;if(i<=0||o<=0)return{};let{originX:l,originY:d}=["bottom","top"].includes(r)?{originX:g9(.5-s/i,0,1),originY:+("bottom"!==r)}:{originX:+("left"===r),originY:g9(.5-a/o,0,1)};return{data:{originX:l,originY:d}}}};function g9(e,t,n){return Math.min(Math.max(e,t),n)}function g7(e,t,n){let r=t.x-e.x,i=t.y-e.y;return ve(e,t,Math.min(1,n/Math.sqrt(r*r+i*i)))}function ve(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}let vt=nK.div.withConfig({displayName:"StyledArrow",componentId:"sc-12vzy6c-0"})(({$w:e})=>nX`
642    position: absolute;
643    width: ${e}px;
644    height: ${e}px;
645
646    :empty + & {
647      display: none;
648    }
649
650    & > svg {
651      display: block;
652      line-height: 0;
653      transform-origin: ${e/2}px ${e/2}px;
654    }
655
656    [data-placement^='top'] > & {
657      bottom: -${e}px;
658
659      & > svg {
660        transform: rotate(0);
661      }
662    }
663
664    [data-placement^='right'] > & {
665      left: -${e}px;
666
667      & > svg {
668        transform: rotate(90deg);
669      }
670    }
671
672    [data-placement^='left'] > & {
673      right: -${e}px;
674
675      & > svg {
676        transform: rotate(-90deg);
677      }
678    }
679
680    [data-placement^='bottom'] > & {
681      top: -${e}px;
682
683      & > svg {
684        transform: rotate(180deg);
685      }
686    }
687  `),vn=nK.path.withConfig({displayName:"StrokePath",componentId:"sc-12vzy6c-1"})`stroke:var(--card-shadow-outline-color);`,vr=nK.path.withConfig({displayName:"ShapePath",componentId:"sc-12vzy6c-2"})`fill:var(--card-bg-color);`,vi=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h=(0,e1.c)(29);h[0]!==e?({width:o,height:n,radius:i,...r}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=i,h[4]=o):(n=h[1],r=h[2],i=h[3],o=h[4]);let f=void 0===i?0:i,{card:p}=md(),m=p.shadow.outline,g=o/2;h[5]!==g||h[6]!==n||h[7]!==f||h[8]!==o?(s=(function(e){let t=e.length,n=[];for(let r=0;r<t;r+=1){let t=e[r],i=e[r-1],o=e[r+1];if(i&&t.radius){let e=g7(t,i,t.radius),r=g7(t,o,t.radius),s=ve(e,t,.5),a=ve(t,r,.5);n.push({type:"point",...e}),n.push({type:"curve",curveEnd:r,startControl:s,endControl:a})}else n.push({type:"point",...t})}return n})([{x:0,y:0},{x:f,y:0,radius:f},{x:g,y:n-1,radius:f},{x:o-f,y:0,radius:f},{x:o,y:0}]).map((e,t)=>"point"===e.type?`${0===t?"M":"L"} ${e.x} ${e.y}`:"curve"===e.type?`C ${e.startControl.x} ${e.startControl.y} ${e.endControl.x} ${e.endControl.y} ${e.curveEnd.x} ${e.curveEnd.y}`:"").join(" "),h[5]=g,h[6]=n,h[7]=f,h[8]=o,h[9]=s):s=h[9];let v=s,y=`${v}`,w=`${v} M ${o} -1 M 0 -1 Z`,b=`0 0 ${o} ${o}`;h[10]!==m||h[11]!==o?(a=(0,P.jsx)("mask",{id:"stroke-mask",children:(0,P.jsx)("rect",{x:0,y:m,width:o,height:o,fill:"white"})}),h[10]=m,h[11]=o,h[12]=a):a=h[12];let x=2*m;return h[13]!==y||h[14]!==x?(l=(0,P.jsx)(vn,{d:y,mask:"url(#stroke-mask)",strokeWidth:x}),h[13]=y,h[14]=x,h[15]=l):l=h[15],h[16]!==w?(d=(0,P.jsx)(vr,{d:w}),h[16]=w,h[17]=d):d=h[17],h[18]!==b||h[19]!==a||h[20]!==l||h[21]!==d||h[22]!==o?(u=(0,P.jsxs)("svg",{width:o,height:o,viewBox:b,children:[a,l,d]}),h[18]=b,h[19]=a,h[20]=l,h[21]=d,h[22]=o,h[23]=u):u=h[23],h[24]!==t||h[25]!==r||h[26]!==u||h[27]!==o?(c=(0,P.jsx)(vt,{...r,$w:o,ref:t,children:u}),h[24]=t,h[25]=r,h[26]=u,h[27]=o,h[28]=c):c=h[28],c});vi.displayName="ForwardRef(Arrow)";let vo=mi("@sanity/ui/context/boundaryElement",null);function vs(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}let va={version:0,element:null};function vl(){let e=(0,B.useContext)(vo);if(e&&(!vs(e)||0!==e.version))throw Error("useBoundaryElement(): the context value is not compatible");return e||va}function vd(e){if(!vs(e)||0!==e.version)throw Error("the context value is not compatible");if(!e)throw Error("components using `useLayer()` should be wrapped in a <LayerProvider>.");
687if(0===e.version)return e;throw Error("could not get layer context")}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u=(0,e1.c)(18),c=md();u[0]!==e?({children:r,media:n,...i}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=i):(n=u[1],r=u[2],i=u[3]);let h=n??c.media,[f,p]=(0,B.useState)(null),m=gP(f)?.border.width??window.innerWidth;if(u[4]!==h||u[5]!==m){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]>t&&n.push(r);return n}(h,m);o=e.length?e.join(" "):void 0,u[4]=h,u[5]=m,u[6]=o}else o=u[6];let g=o;if(u[7]!==h||u[8]!==m){let e=function(e,t){let n=[];for(let r=0;r<e.length;r+=1)e[r]<=t&&n.push(r);return n}(h,m);s=e.length?e.join(" "):void 0,u[7]=h,u[8]=m,u[9]=s}else s=u[9];let v=s;return u[10]!==f?(a=()=>f,l=[f],u[10]=f,u[11]=a,u[12]=l):(a=u[11],l=u[12]),(0,B.useImperativeHandle)(t,a,l),u[13]!==r||u[14]!==g||u[15]!==v||u[16]!==i?(d=(0,P.jsx)("div",{"data-ui":"ElementQuery",...i,"data-eq-max":g,"data-eq-min":v,ref:p,children:r}),u[13]=r,u[14]=g,u[15]=v,u[16]=i,u[17]=d):d=u[17],d}).displayName="ForwardRef(ElementQuery)";let vu=mi("@sanity/ui/context/layer",null);function vc(e){let t,n,r,i,o,s,a,l,d=(0,e1.c)(21),{children:u,zOffset:c}=e,h=void 0===c?0:c,f=(0,B.useContext)(vu);d[0]!==f?(t=f&&vd(f),d[0]=f,d[1]=t):t=d[1];let p=t,m=p?.registerChild,g=(p?.level??0)+1;d[2]!==h?(n=p7(h),d[2]=h,d[3]=n):n=d[3];let v=n,y=v.length-1,w=Math.min(gW(),y),b=p?p.zIndex+v[w]:v[w];d[4]===Symbol.for("react.memo_cache_sentinel")?(r={},d[4]=r):r=d[4];let[,x]=(0,B.useState)(r),[C,k]=(0,B.useState)(0),j=0===C;d[5]!==m||d[6]!==x?(i=e=>{let t=m?.(e);return void 0!==e?x(t=>{let n=t[e]??0,r={...t,[e]:n+1};return k(Object.keys(r).length),r}):k(vf),()=>{void 0!==e?x(t=>{let n={...t};return 1===n[e]?(delete n[e],k(Object.keys(n).length)):n[e]=n[e]-1,n}):k(vh),t?.()}},d[5]=m,d[6]=x,d[7]=i):i=d[7];let M=i;d[8]!==g||d[9]!==m?(o=()=>m?.(g),s=[g,m],d[8]=g,d[9]=m,d[10]=o,d[11]=s):(o=d[10],s=d[11]),(0,B.useEffect)(o,s),d[12]!==j||d[13]!==g||d[14]!==M||d[15]!==C||d[16]!==b?(a={version:0,isTopLayer:j,level:g,registerChild:M,size:C,zIndex:b},d[12]=j,d[13]=g,d[14]=M,d[15]=C,d[16]=b,d[17]=a):a=d[17];let L=a;return d[18]!==u||d[19]!==L?(l=(0,P.jsx)(vu.Provider,{value:L,children:u}),d[18]=u,d[19]=L,d[20]=l):l=d[20],l}function vh(e){return e-1}function vf(e){return e+1}function vp(){let e=(0,e1.c)(2),t=(0,B.useContext)(vu);if(!t)throw Error("useLayer(): missing context value");try{let n;return e[0]!==t?(n=vd(t),e[0]=t,e[1]=n):n=e[1],n}catch(e){throw e instanceof Error?Error(`useLayer(): ${e.message}`):Error(`useLayer(): ${e}`)}}vc.displayName="LayerProvider";let vm=nK.div.withConfig({displayName:"StyledLayer",componentId:"sc-16kojrv-0"})({position:"relative"}),vg=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f=(0,e1.c)(22);f[0]!==e?({children:n,onActivate:r,onFocus:i,style:s,...o}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=i,f[4]=o,f[5]=s):(n=f[1],r=f[2],i=f[3],o=f[4],s=f[5]);let p=void 0===s?pQ:s,{zIndex:m,isTopLayer:g}=vp(),v=(0,B.useRef)(null),y=(0,B.useRef)(null),w=(0,B.useRef)(g);f[6]===Symbol.for("react.memo_cache_sentinel")?(a=()=>y.current,f[6]=a):a=f[6],(0,B.useImperativeHandle)(t,a),f[7]!==g||f[8]!==r?(l=()=>{w.current!==g&&g&&r?.({activeElement:v.current}),w.current=g},d=[g,r],f[7]=g,f[8]=r,f[9]=l,f[10]=d):(l=f[9],d=f[10]),(0,B.useEffect)(l,d),f[11]!==g||f[12]!==i?(u=e=>{i?.(e);let t=y.current,n=document.activeElement;!g||!t||!n||p2(n)&&p6(t,n)&&(v.current=n)},f[11]=g,f[12]=i,f[13]=u):u=f[13];let b=u;return f[14]!==p||f[15]!==m?(c={...p,zIndex:m},f[14]=p,f[15]=m,f[16]=c):c=f[16],f[17]!==n||f[18]!==b||f[19]!==o||f[20]!==c?(h=(0,P.jsx)(vm,{...o,"data-ui":"Layer",onFocus:b,ref:y,style:c,children:n}),f[17]=n,f[18]=b,f[19]=o,f[20]=c,f[21]=h):h=f[21],h}),vv=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,e1.c)(11);a[0]!==e?({children:n,zOffset:i,...r}=e,a[0]=e,a[1]=n,a[2]=r,a[3]=i):(n=a[1],r=a[2],i=a[3]);let l=void 0===i?1:i;return a[4]!==n||a[5]!==t||a[6]!==r?(o=(0,P.jsx)(vg,{...r,ref:t,children:n}),a[4]=n,a[5]=t,a[6]=r,a[7]=o):o=a[7],a[8]!==o||a[9]!==l?(s=(0,P.jsx)(vc,{zOffset:l,children:o}),a[8]=o,a[9]=l,a[10]=s):s=a[10],s});vv.displayName="ForwardRef(Layer)";let vy="@sanity/ui/context/portal",vw=Symbol.for(`${vy}/element`);mr[vw]=null;
687let vb=mi(vy,{version:0,boundaryElement:null,get element(){return typeof document>"u"?null:(mr[vw]||(mr[vw]=document.createElement("div"),mr[vw].setAttribute("data-portal",""),document.body.appendChild(mr[vw])),mr[vw])}});function vx(){let e=(0,B.useContext)(vb);if(!e)throw Error("usePortal(): missing context value");if(!vs(e)||0!==e.version)throw Error("usePortal(): the context value is not compatible");return e}function vC(e){let t,n=(0,e1.c)(3),{children:r,__unstable_name:i}=e,o=vx(),s=(i?o.elements&&o.elements[i]:o.element)||o.elements?.default;return s?(n[0]!==r||n[1]!==s?(t=(0,W.createPortal)(r,s),n[0]=r,n[1]=s,n[2]=t):t=n[2],t):null}function vk(e){let t,n,r=(0,e1.c)(7),{boundaryElement:i,children:o,element:s,__unstable_elements:a}=e,l=(0,B.useSyncExternalStore)(vL,vM,vj),d=i||null,u=s||l;r[0]!==a||r[1]!==d||r[2]!==u?(t={version:0,boundaryElement:d,element:u,elements:a},r[0]=a,r[1]=d,r[2]=u,r[3]=t):t=r[3];let c=t;return r[4]!==o||r[5]!==c?(n=(0,P.jsx)(vb.Provider,{value:c,children:o}),r[4]=o,r[5]=c,r[6]=n):n=r[6],n}function vj(){return null}function vM(){return document.body}vC.displayName="Portal",vk.displayName="PortalProvider";let vL=()=>()=>{},vS=nK.div.withConfig({displayName:"StyledSrOnly",componentId:"sc-mubr0c-0"})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`;(0,B.forwardRef)(function(e,t){let n,r=(0,e1.c)(4),{as:i,children:o}=e;return r[0]!==i||r[1]!==o||r[2]!==t?(n=(0,P.jsx)(vS,{"aria-hidden":!0,as:i,"data-ui":"SrOnly",ref:t,children:o}),r[0]=i,r[1]=o,r[2]=t,r[3]=n):n=r[3],n}).displayName="ForwardRef(SrOnly)";let vE=nK.div.withConfig({displayName:"StyledVirtualList",componentId:"sc-dlqsj4-0"})`position:relative;`,vR=nK.div.withConfig({displayName:"ItemWrapper",componentId:"sc-dlqsj4-1"})`position:absolute;left:0;right:0;`;function vV(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x=(0,e1.c)(44);x[0]!==e?({as:s,gap:a,getItemKey:n,items:l,onChange:r,renderItem:i,...o}=e,x[0]=e,x[1]=n,x[2]=r,x[3]=i,x[4]=o,x[5]=s,x[6]=a,x[7]=l):(n=x[1],r=x[2],i=x[3],o=x[4],s=x[5],a=x[6],l=x[7]);let C=void 0===s?"div":s,k=void 0===a?0:a;x[8]!==l?(d=void 0===l?[]:l,x[8]=l,x[9]=d):d=x[9];let j=d,{space:M}=md(),L=(0,B.useRef)(null),S=(0,B.useRef)(null),[E,R]=(0,B.useState)(0),[V,H]=(0,B.useState)(0),[$,A]=(0,B.useState)(-1);x[10]===Symbol.for("react.memo_cache_sentinel")?(u=()=>L.current,x[10]=u):u=x[10],(0,B.useImperativeHandle)(t,u),x[11]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{if(!S.current)return;let e=S.current.firstChild;e instanceof HTMLElement&&A(e.offsetHeight)},x[11]=c):c=x[11],x[12]!==i?(h=[i],x[12]=i,x[13]=h):h=x[13],(0,B.useEffect)(c,h),x[14]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{if(!L.current)return;let e=function(e){let t=e;for(;t&&!function(e){if(!(e instanceof Element))return!1;let t=window.getComputedStyle(e);return t.overflowX.includes("auto")||t.overflowX.includes("scroll")||t.overflowY.includes("auto")||t.overflowY.includes("scroll")}(t);)t=t.parentNode;return t}(L.current.parentNode);if(e){if(!(e instanceof HTMLElement))return;let t=()=>{R(e.scrollTop)};e.addEventListener("scroll",t,{passive:!0});let n=new gT(e=>{H(e[0].contentRect.height)});return n.observe(e),t(),()=>{e.removeEventListener("scroll",t),n.unobserve(e),n.disconnect()}}let t=()=>{R(window.scrollY)},n=()=>{H(window.innerHeight)};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",n),H(window.innerHeight),t(),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",n)}},p=[],x[14]=f,x[15]=p):(f=x[14],p=x[15]),(0,B.useEffect)(f,p);let T=j.length,_=$?T*($+M[k])-M[k]:0,I=_?Math.max(Math.floor(E/_*T)-2,0):0,O=_?Math.ceil((E+V)/_*T)+1:0;x[16]!==I||x[17]!==k||x[18]!==$||x[19]!==r||x[20]!==V||x[21]!==E||x[22]!==M||x[23]!==O?(g=()=>{r&&r({fromIndex:I,gap:M[k],itemHeight:$,scrollHeight:V,scrollTop:E,toIndex:O})},m=[I,k,$,r,V,E,M,O],x[16]=I,x[17]=k,x[18]=$,x[19]=r,x[20]=V,x[21]=E,x[22]=M,x[23]=O,x[24]=m,x[25]=g):(m=x[24],g=x[25]),(0,B.useEffect)(g,m),x[26]!==I||x[27]!==k||x[28]!==n||x[29]!==$||x[30]!==j||x[31]!==i||x[32]!==M||x[33]!==O?(v={fromIndex:I,gap:k,itemHeight:$,space:M,toIndex:O,getItemKey:n,items:j,renderItem:i},x[26]=I,x[27]=k,x[28]=n,x[29]=$,x[30]=j,x[31]=i,x[32]=M,x[33]=O,x[34]=v):v=x[34];let W=function(e){let t,n=(0,e1.c)(21),{fromIndex:r,gap:i,getItemKey:o,itemHeight:s,items:a,renderItem:l,space:d,toIndex:u}=e;if(!l||0===a.length)return null;if(-1===s){let e,t;return n[0]!==a[0]||n[1]!==l?(e=l(a[0]),n[0]=a[0],n[1]=l,n[2]=e):e=n[2],n[3]!==e?(t=[(0,P.jsx)(vR,{children:e},0)],n[3]=e,n[4]=t):t=n[4],t}
687if(n[5]!==r||n[6]!==i||n[7]!==o||n[8]!==s||n[9]!==a||n[10]!==l||n[11]!==d||n[12]!==u){let e;n[14]!==r||n[15]!==i||n[16]!==o||n[17]!==s||n[18]!==l||n[19]!==d?(e=(e,t)=>{let n=r+t,a=l(e),u=o?o(e,n):n;return(0,P.jsx)(vR,{style:{top:n*(s+d[i])},children:a},u)},n[14]=r,n[15]=i,n[16]=o,n[17]=s,n[18]=l,n[19]=d,n[20]=e):e=n[20],t=a.slice(r,u).map(e),n[5]=r,n[6]=i,n[7]=o,n[8]=s,n[9]=a,n[10]=l,n[11]=d,n[12]=u,n[13]=t}else t=n[13];return t}(v);return x[35]!==_?(y={height:_},x[35]=_,x[36]=y):y=x[36],x[37]!==W||x[38]!==y?(w=(0,P.jsx)("div",{ref:S,style:y,children:W}),x[37]=W,x[38]=y,x[39]=w):w=x[39],x[40]!==C||x[41]!==o||x[42]!==w?(b=(0,P.jsx)(vE,{as:C,"data-ui":"VirtualList",...o,ref:L,children:w}),x[40]=C,x[41]=o,x[42]=w,x[43]=b):b=x[43],b}).displayName="ForwardRef(VirtualList)";let vH=[0,0,0,0],v$={top:["bottom","left","right"],"top-start":["bottom-start","left-start","right-start"],"top-end":["bottom-end","left-end","right-end"],bottom:["top","left","right"],"bottom-start":["top-start","left-start","right-start"],"bottom-end":["top-end","left-end","right-end"],left:["right","top","bottom"],"left-start":["right-start","top-start","bottom-start"],"left-end":["right-end","top-end","bottom-end"],right:["left","top","bottom"],"right-start":["left-start","top-start","bottom-start"],"right-end":["left-end","top-end","bottom-end"]},vA=nK(f6.create(gV)).withConfig({displayName:"MotionCard",componentId:"sc-ihg31s-0"})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;will-change:transform;`,vT=nK(f6.create(gb)).withConfig({displayName:"MotionFlex",componentId:"sc-ihg31s-1"})`will-change:opacity;`,v_=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A=(0,e1.c)(66);A[0]!==e?({__unstable_margins:l,animate:n,arrow:r,arrowRef:i,arrowX:o,arrowY:s,children:a,padding:h,placement:f,originX:d,originY:u,overflow:c,radius:p,scheme:g,shadow:v,strategy:y,style:w,tone:b,width:x,x:C,y:k,...m}=e,A[0]=e,A[1]=n,A[2]=r,A[3]=i,A[4]=o,A[5]=s,A[6]=a,A[7]=l,A[8]=d,A[9]=u,A[10]=c,A[11]=h,A[12]=f,A[13]=p,A[14]=m,A[15]=g,A[16]=v,A[17]=y,A[18]=w,A[19]=b,A[20]=x,A[21]=C,A[22]=k):(n=A[1],r=A[2],i=A[3],o=A[4],s=A[5],a=A[6],l=A[7],d=A[8],u=A[9],c=A[10],h=A[11],f=A[12],p=A[13],m=A[14],g=A[15],v=A[16],y=A[17],w=A[18],b=A[19],x=A[20],C=A[21],k=A[22]);let{zIndex:T}=vp(),_=l||vH,I=(C??0)+_[3],O=(k??0)+_[0],B=n?"transform":void 0;A[23]!==d||A[24]!==u||A[25]!==y||A[26]!==w||A[27]!==B||A[28]!==x||A[29]!==I||A[30]!==O||A[31]!==T?(j={left:I,originX:d,originY:u,position:y,top:O,width:x,zIndex:T,willChange:B,...w},A[23]=d,A[24]=u,A[25]=y,A[26]=w,A[27]=B,A[28]=x,A[29]=I,A[30]=O,A[31]=T,A[32]=j):j=A[32];let W=j,z=null!==o?o:void 0,N=null!==s?s:void 0;A[33]!==z||A[34]!==N?(M={left:z,top:N,right:void 0,bottom:void 0},A[33]=z,A[34]=N,A[35]=M):M=A[35];let D=M,F=m;return A[36]!==n?(L=n?["hidden","initial"]:void 0,A[36]=n,A[37]=L):L=A[37],A[38]!==n?(S=n?["visible","scaleIn"]:void 0,A[38]=n,A[39]=S):S=A[39],A[40]!==n?(E=n?["hidden","scaleOut"]:void 0,A[40]=n,A[41]=E):E=A[41],A[42]!==a||A[43]!==h?(R=(0,P.jsx)(gb,{direction:"column",flex:1,padding:h,children:a}),A[42]=a,A[43]=h,A[44]=R):R=A[44],A[45]!==c||A[46]!==R?(V=(0,P.jsx)(vT,{"data-ui":"Popover__wrapper",direction:"column",flex:1,overflow:c,variants:p0,transition:p5,children:R}),A[45]=c,A[46]=R,A[47]=V):V=A[47],A[48]!==r||A[49]!==i||A[50]!==D?(H=r&&(0,P.jsx)(vi,{ref:i,style:D,width:19,height:8,radius:2}),A[48]=r,A[49]=i,A[50]=D,A[51]=H):H=A[51],A[52]!==f||A[53]!==p||A[54]!==t||A[55]!==W||A[56]!==g||A[57]!==v||A[58]!==V||A[59]!==H||A[60]!==F||A[61]!==L||A[62]!==S||A[63]!==E||A[64]!==b?($=(0,P.jsxs)(vA,{"data-ui":"Popover",...F,"data-placement":f,radius:p,ref:t,scheme:g,shadow:v,sizing:"border",style:W,tone:b,variants:p1,transition:p5,initial:L,animate:S,exit:E,children:[V,H]}),A[52]=f,A[53]=p,A[54]=t,A[55]=W,A[56]=g,A[57]=v,A[58]=V,A[59]=H,A[60]=F,A[61]=L,A[62]=S,A[63]=E,A[64]=b,A[65]=$):$=A[65],$});v_.displayName="ForwardRef(PopoverCard)";let vP=()=>{let e,t=(0,e1.c)(2),{zIndex:n}=vp();return t[0]!==n?(e=(0,P.jsx)("div",{style:{height:"100vh",inset:0,position:"fixed",width:"100vw",zIndex:n}}),t[0]=n,t[1]=e):e=t[1],e},vI=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O,W,z,N,D,F,Z,U,G,q,Y,X,K,J,Q,ee,et,en,er,ei,eo,es,ea=(0,e1.c)(126),{container:el,layer:ed}=md(),eu=vl();if(ea[0]!==e){let{__unstable_margins:t,animate:H,arrow:$,boundaryElement:A,children:T,constrainSize:_,content:P,disabled:I,fallbackPlacements:O,matchReferenceWidth:B,floatingBoundary:W,modal:z,onActivate:N,open:D,overflow:F,padding:Z,placement:U,placementStrategy:G,portal:q,preventOverflow:Y,radius:X,referenceBoundary:K,referenceElement:J,scheme:Q,shadow:ee,tone:et,width:en,zOffset:er,updateRef:ei,...eo}=e;y=t,w=H,C=$,n=A,a=T,k=_,l=P,d=I,r=O,u=B,i=W,c=z,h=D,j=F,f=Z,M=U,L=G,p=q,S=Y,E=X,o=K,m=J,v=Q,R=ee,b=et,x=en,s=er,V=ei,g=eo,ea[0]=e,ea[1]=n,ea[2]=r,ea[3]=i,ea[4]=o,ea[5]=s,ea[6]=a,ea[7]=l,ea[8]=d,ea[9]=u,ea[10]=c,ea[11]=h,ea[12]=f,ea[13]=p,ea[14]=m,ea[15]=g,ea[16]=v,ea[17]=y,ea[18]=w,ea[19]=b,ea[20]=x,ea[21]=C,ea[22]=k,ea[23]=j,ea[24]=M,ea[25]=L,ea[26]=S,ea[27]=E,ea[28]=R,ea[29]=V}else n=ea[1],r=ea[2],i=ea[3],o=ea[4],s=ea[5],a=ea[6],l=ea[7],d=ea[8],u=ea[9],c=ea[10],h=ea[11],f=ea[12],p=ea[13],m=ea[14],g=ea[15],v=ea[16],y=ea[17],w=ea[18],b=ea[19],x=ea[20],C=ea[21],k=ea[22],j=ea[23],M=ea[24],L=ea[25],S=ea[26],E=ea[27],R=ea[28],
687V=ea[29];let ec=void 0===y?vH:y,eh=void 0!==w&&w,ef=void 0!==C&&C,ep=void 0!==k&&k,em=void 0===j?"hidden":j,eg=void 0===M?"bottom":M,ev=void 0===L?"flip":L,ey=void 0===S||S,ew=void 0===E?3:E,eb=void 0===R?3:R,ex=void 0===b?"inherit":b,eC=void 0===x?"auto":x,ek=n??eu?.element,ej=r??v$[e.placement??"bottom"],eM=i??e.boundaryElement??eu.element,eL=o??e.boundaryElement??eu.element,eS=s??ed.popover.zOffset,eE=!gD()&&eh,eR=gP(ek)?.border;ea[30]!==f?(H=p7(f),ea[30]=f,ea[31]=H):H=ea[31];let eV=H;ea[32]!==ew?($=p7(ew),ea[32]=ew,ea[33]=$):$=ea[33];let eH=$;ea[34]!==eb?(A=p7(eb),ea[34]=eb,ea[35]=A):A=ea[35];let e$=A,eA=p7(eC);ea[36]!==eS?(T=p7(eS),ea[36]=eS,ea[37]=T):T=ea[37];let eT=T,e_=(0,B.useRef)(null),eP=(0,B.useRef)(null);ea[38]===Symbol.for("react.memo_cache_sentinel")?(_=()=>e_.current,ea[38]=_):_=ea[38],(0,B.useImperativeHandle)(t,_);let eI=gW(),eO=ep||ey?eR?.width:void 0,eB=function(e){let{container:t,mediaIndex:n,width:r}=e,i=r[n],o=void 0===i?r[r.length-1]:i;return"number"==typeof o?t[o]:void 0}({container:el,mediaIndex:eI,width:eA}),eW=(0,B.useRef)(eB);ea[39]!==eB?(I=()=>{eW.current=eB},O=[eB],ea[39]=eB,ea[40]=I,ea[41]=O):(I=ea[40],O=ea[41]),(0,B.useEffect)(I,O),ea[42]!==eO||ea[43]!==eB?(W=function(e){let{boundaryWidth:t,currentWidth:n}=e;if(void 0!==n||void 0!==t)return Math.min(n??1/0,(t||1/0)-8)}({boundaryWidth:eO,currentWidth:eB}),ea[42]=eO,ea[43]=eB,ea[44]=W):W=ea[44];let ez=W,eN=(0,B.useRef)(ez);ea[45]!==ez?(z=()=>{eN.current=ez},N=[ez],ea[45]=ez,ea[46]=z,ea[47]=N):(z=ea[46],N=ea[47]),(0,B.useEffect)(z,N);let eD=(0,B.useRef)(void 0);ea[48]!==u||ea[49]!==ez||ea[50]!==h||ea[51]!==eB?(D=()=>{let e=e_.current;if(!h||!e)return;let t=eD.current;u?void 0!==t&&(e.style.width=`${t}px`):void 0!==eB&&(e.style.width=`${eB}px`),"number"==typeof ez&&(e.style.maxWidth=`${ez}px`)},F=[eB,u,ez,h],ea[48]=u,ea[49]=ez,ea[50]=h,ea[51]=eB,ea[52]=D,ea[53]=F):(D=ea[52],F=ea[53]),(0,B.useEffect)(D,F);let[eF,eZ]=(0,B.useState)(void 0);ea[54]!==eE||ea[55]!==ef||ea[56]!==ep||ea[57]!==ej||ea[58]!==eM||ea[59]!==ec||ea[60]!==u||ea[61]!==eg||ea[62]!==ev||ea[63]!==ey||ea[64]!==eL?(Z={animate:eE,arrowProp:ef,arrowRef:eP,constrainSize:ep,fallbackPlacements:ej,floatingBoundary:eM,margins:ec,matchReferenceWidth:u,maxWidthRef:eN,placementProp:eg,placementStrategy:ev,preventOverflow:ey,referenceBoundary:eL,referenceWidthRef:eD,rootBoundary:"viewport",setReferenceWidth:eZ,widthRef:eW},ea[54]=eE,ea[55]=ef,ea[56]=ep,ea[57]=ej,ea[58]=eM,ea[59]=ec,ea[60]=u,ea[61]=eg,ea[62]=ev,ea[63]=ey,ea[64]=eL,ea[65]=Z):Z=ea[65];let eU=function(e){let t,n=(0,e1.c)(42),{animate:r,arrowProp:i,arrowRef:o,constrainSize:s,fallbackPlacements:a,floatingBoundary:l,margins:d,matchReferenceWidth:u,maxWidthRef:c,placementProp:h,placementStrategy:f,preventOverflow:p,referenceBoundary:m,referenceWidthRef:g,rootBoundary:v,setReferenceWidth:y,widthRef:w}=e;if(n[0]!==r||n[1]!==i||n[2]!==o||n[3]!==s||n[4]!==a||n[5]!==l||n[6]!==d||n[7]!==u||n[8]!==c||n[9]!==h||n[10]!==f||n[11]!==p||n[12]!==m||n[13]!==g||n[14]!==v||n[15]!==y||n[16]!==w){var b,x,C,k,j,M;let e,L,S;if(t=[],s||p)if("autoPlacement"===f){let e,r;n[18]!==a||n[19]!==h?(e={name:(r={name:"autoPlacement",options:C=b={allowedPlacements:[h].concat(a)},async fn(e){var t,n,r,i;let{rects:o,middlewareData:s,placement:a,platform:l,elements:d}=e,{crossAxis:u=!1,alignment:c,allowedPlacements:h=sP,autoAlignment:f=!0,...p}=sD(C,e),m=void 0!==c||h===sP?((i=c||null)?[...h.filter(e=>sZ(e)===i),...h.filter(e=>sZ(e)!==i)]:h.filter(e=>sF(e)===e)).filter(e=>!i||sZ(e)===i||!!f&&sX(e)!==e):h,g=await l.detectOverflow(e,p),v=(null==(t=s.autoPlacement)?void 0:t.index)||0,y=m[v];if(null==y)return{};let w=sY(y,o,await (null==l.isRTL?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:m[0]}};let b=[g[sF(y)],g[w[0]],g[w[1]]],x=[...(null==(n=s.autoPlacement)?void 0:n.overflows)||[],{placement:y,overflows:b}],k=m[v+1];if(k)return{data:{index:v+1,overflows:x},reset:{placement:k}};let j=x.map(e=>{let t=sZ(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),M=(null==(r=j.filter(e=>e[2].slice(0,sZ(e[0])?2:3).every(e=>e<=0))[0])?void 0:r[0])||j[0][0];return M!==a?{data:{index:v+1,overflows:x},reset:{placement:M}}:{}}}).name,fn:r.fn,options:[b,x]},n[18]=a,n[19]=h,n[20]=e):e=n[20],t.push(e)}else{let e,r=l||void 0;n[21]!==a||n[22]!==v||n[23]!==r?(e=aG({boundary:r,fallbackPlacements:a,padding:4,rootBoundary:v}),n[21]=a,n[22]=v,n[23]=r,n[24]=e):e=n[24],t.push(e)}if(n[25]===Symbol.for("react.memo_cache_sentinel")?(e=aZ({mainAxis:4}
687),n[25]=e):e=n[25],t.push(e),s||u){let e,r=l||void 0;n[26]!==s||n[27]!==d||n[28]!==u||n[29]!==c||n[30]!==g||n[31]!==y||n[32]!==r||n[33]!==w?(e=function(e){let{constrainSize:t,margins:n,matchReferenceWidth:r,maxWidthRef:i,padding:o=0,referenceWidthRef:s,setReferenceWidth:a,widthRef:l}=e;return{name:"@sanity/ui/size",async fn(d){let{elements:u,placement:c,platform:h,rects:f}=d,{floating:p,reference:m}=f,g=await s4(d,{altBoundary:!0,boundary:e.boundaryElement||void 0,elementContext:"floating",padding:o,rootBoundary:"viewport"}),v=1/0,y=1/0,w=p.width,b=p.height;c.includes("top")&&(v=w-(g.left+g.right),y=b-g.top),c.includes("right")&&(v=w-g.right,y=b-(g.top+g.bottom)),c.includes("bottom")&&(v=w-(g.left+g.right),y=b-g.bottom),c.includes("left")&&(v=w-g.left,y=b-(g.top+g.bottom));let x=v-n[1]-n[3],C=y-n[0]-n[2],k=m.width-n[1]-n[3];s.current=k,a(k),r?u.floating.style.width=`${k}px`:void 0!==l.current&&(u.floating.style.width=`${l.current}px`),t&&(u.floating.style.maxWidth=`${Math.min(x,i.current??1/0)}px`,u.floating.style.maxHeight=`${C}px`);let j=await h.getDimensions(u.floating),M=j.height;return w!==j.width||b!==M?{reset:{rects:!0}}:{}}}}({boundaryElement:r,constrainSize:s,margins:d,matchReferenceWidth:u,maxWidthRef:c,padding:4,referenceWidthRef:g,setReferenceWidth:y,widthRef:w}),n[26]=s,n[27]=d,n[28]=u,n[29]=c,n[30]=g,n[31]=y,n[32]=r,n[33]=w,n[34]=e):e=n[34],t.push(e)}if(p){let e,r=l||void 0;n[35]!==v||n[36]!==r?(e=aU({boundary:r,rootBoundary:v,padding:4}),n[35]=v,n[36]=r,n[37]=e):e=n[37],t.push(e)}if(i){let e;n[38]!==o?(e=aq({element:o,padding:4}),n[38]=o,n[39]=e):e=n[39],t.push(e)}r&&t.push(g8);let E=m||void 0;n[40]!==E?(L={name:(S={name:"hide",options:M=k={boundary:E,padding:4,strategy:"referenceHidden"},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=sD(M,e);switch(r){case"referenceHidden":{let r=s8(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:s9(r)}}}case"escaped":{let r=s8(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:s9(r)}}}default:return{}}}}).name,fn:S.fn,options:[k,j]},n[40]=E,n[41]=L):L=n[41],t.push(L),n[0]=r,n[1]=i,n[2]=o,n[3]=s,n[4]=a,n[5]=l,n[6]=d,n[7]=u,n[8]=c,n[9]=h,n[10]=f,n[11]=p,n[12]=m,n[13]=g,n[14]=v,n[15]=y,n[16]=w,n[17]=t}else t=n[17];return t}(Z);ea[66]!==m?(U=m?{reference:m}:void 0,ea[66]=m,ea[67]=U):U=ea[67],ea[68]!==eU||ea[69]!==eg||ea[70]!==U?(G={middleware:eU,placement:eg,whileElementsMounted:aI,elements:U},ea[68]=eU,ea[69]=eg,ea[70]=U,ea[71]=G):G=ea[71];let{x:eG,y:eq,middlewareData:eY,placement:eX,refs:eK,strategy:eJ,update:eQ}=aF(G),e0=eY.hide?.referenceHidden,e5=eY.arrow?.x,e2=eY.arrow?.y,e3=eY["@sanity/ui/origin"]?.originX,e4=eY["@sanity/ui/origin"]?.originY;ea[72]===Symbol.for("react.memo_cache_sentinel")?(q=e=>{eP.current=e},ea[72]=q):q=ea[72];let e6=q;ea[73]!==eK?(Y=e=>{e_.current=e,eK.setFloating(e)},ea[73]=eK,ea[74]=Y):Y=ea[74];let e8=Y;ea[75]!==a?(X=a?vV(a):null,ea[75]=a,ea[76]=X):X=ea[76],ea[77]!==eK.reference.current?(K=()=>eK.reference.current,ea[77]=eK.reference.current,ea[78]=K):K=ea[78],(0,B.useImperativeHandle)(X,K);e:{let e;if(m){J=a;break e}if(!a){J=null;break e}ea[79]!==a||ea[80]!==eK.setReference?(e=(0,B.cloneElement)(a,{ref:eK.setReference}),ea[79]=a,ea[80]=eK.setReference,ea[81]=e):e=ea[81],J=e}let e9=J;if(ea[82]!==eQ?(Q=()=>eQ,ee=[eQ],ea[82]=eQ,ea[83]=Q,ea[84]=ee):(Q=ea[83],ee=ea[84]),(0,B.useImperativeHandle)(V,Q,ee),d){let e;return ea[85]!==a?(e=a||(0,P.jsx)(P.Fragment,{}),ea[85]=a,ea[86]=e):e=ea[86],e}ea[87]!==c?(et=c&&(0,P.jsx)(vP,{}),ea[87]=c,ea[88]=et):et=ea[88];let e7=u?eF:eB;ea[89]!==eE||ea[90]!==ef||ea[91]!==e5||ea[92]!==e2||ea[93]!==l||ea[94]!==ec||ea[95]!==e3||ea[96]!==e4||ea[97]!==em||ea[98]!==eV||ea[99]!==eX||ea[100]!==eH||ea[101]!==e0||ea[102]!==g||ea[103]!==v||ea[104]!==e8||ea[105]!==e$||ea[106]!==eJ||ea[107]!==e7||ea[108]!==ex||ea[109]!==eG||ea[110]!==eq?(en=(0,P.jsx)(v_,{...g,__unstable_margins:ec,animate:eE,arrow:ef,arrowRef:e6,arrowX:e5,arrowY:e2,hidden:e0,overflow:em,padding:eV,placement:eX,radius:eH,ref:e8,scheme:v,shadow:e$,originX:e3,originY:e4,strategy:eJ,tone:ex,width:e7,x:eG,y:eq,children:l}),ea[89]=eE,ea[90]=ef,ea[91]=e5,ea[92]=e2,ea[93]=l,ea[94]=ec,ea[95]=e3,ea[96]=e4,ea[97]=em,ea[98]=eV,ea[99]=eX,ea[100]=eH,ea[101]=e0,ea[102]=g,ea[103]=v,ea[104]=e8,ea[105]=e$,ea[106]=eJ,ea[107]=e7,ea[108]=ex,ea[109]=eG,ea[110]=eq,ea[111]=en):en=ea[111],ea[112]!==et||ea[113]!==en||ea[114]!==eT?(er=(0,P.jsxs)(vc,{zOffset:eT,children:[et,en]}),ea[112]=et,ea[113]=en,ea[114]=eT,ea[115]=er):er=ea[115];let te=er;ea[116]!==h||ea[117]!==te||ea[118]!==p?(ei=h&&(p?(0,P.jsx)(vC,{__unstable_name:"string"==typeof p?p:void 0,children:te}):te),ea[116]=h,ea[117]=te,ea[118]=p,ea[119]=ei):ei=ea[119];let tt=ei;return ea[120]!==eE||ea[121]!==tt?(eo=eE?(0,P.jsx)(po,{children:tt}):tt,ea[120]=eE,ea[121]=tt,ea[122]=eo):eo=ea[122],ea[123]!==e9||ea[124]!==eo?(es=(0,P.jsxs)(P.Fragment,{children:[eo,e9]}),ea[123]=e9,ea[124]=eo,ea[125]=es):es=ea[125],es});vI.displayName="ForwardRef(Popover)";let vO=nK.div.withConfig({displayName:"StyledRadio",componentId:"sc-ccrwkf-0"})(function(){return nX`
688    position: relative;
689
690    &:not([hidden]) {
691      display: inline-block;
692    }
693
694    &[data-read-only] {
695      outline: 1px solid red;
696    }
697  `}),vB=nK.input.withConfig({displayName:"Input",componentId:"sc-ccrwkf-1"}
697)(function(e){let{color:t,input:n}=en(e.theme),r=(n.radio.size-n.radio.markSize)/2;return nX`
698    appearance: none;
699    position: absolute;
700    top: 0;
701    left: 0;
702    opacity: 0;
703    height: 100%;
704    width: 100%;
705    outline: none;
706    z-index: 1;
707    padding: 0;
708    margin: 0;
709    border-radius: ${p8(n.radio.size/2)};
710    border: none;
711
712    /* enabled */
713    & + span {
714      display: block;
715      position: relative;
716      height: ${p8(n.radio.size)};
717      width: ${p8(n.radio.size)};
718      border-radius: ${p8(n.radio.size/2)};
719      background: ${t.input.default.enabled.bg};
720      box-shadow: ${mH({color:t.input.default.enabled.border,width:n.border.width})};
721
722      &::after {
723        content: '';
724        position: absolute;
725        top: ${p8(r)};
726        left: ${p8(r)};
727        height: ${p8(n.radio.markSize)};
728        width: ${p8(n.radio.markSize)};
729        border-radius: ${p8(n.radio.markSize/2)};
730        background: ${t.input.default.enabled.fg};
731        opacity: 0;
732      }
733    }
734
735    /* focused */
736    &:not(:disabled):focus + span {
737      box-shadow: ${m$({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.radio.focusRing})};
738    }
739
740    &:not(:disabled):focus:not(:focus-visible) + span {
741      box-shadow: ${mH({color:t.input.default.enabled.border,width:n.border.width})};
742    }
743
744    &:checked + span::after {
745      opacity: 1;
746    }
747
748    /* customValidity */
749    &[data-error] + span {
750      background-color: ${t.input.invalid.enabled.border};
751      box-shadow: ${mH({width:n.border.width,color:t.input.invalid.enabled.muted.bg})};
752      &::after {
753        background: ${t.input.invalid.enabled.muted.bg};
754      }
755    }
756
757    /* read only */
758    &[data-read-only] + span {
759      box-shadow: 0 0 0 1px ${t.input.default.readOnly.border};
760      background: ${t.input.default.readOnly.bg};
761
762      &::after {
763        background: ${t.input.default.readOnly.border};
764      }
765    }
766
767    /* disabled */
768    &:not([data-read-only]):disabled + span {
769      box-shadow: 0 0 0 1px ${t.input.default.disabled.border};
770      background: ${t.input.default.disabled.bg};
771
772      &::after {
773        background: ${t.input.default.disabled.border};
774      }
775    }
776  `});function vW(e){let{font:t}=en(e.theme);return nX`
777    -webkit-font-smoothing: antialiased;
778    appearance: none;
779    border: 0;
780    font-family: ${t.text.family};
781    color: inherit;
782    width: 100%;
783    outline: none;
784    margin: 0;
785
786    &:disabled {
787      opacity: 1;
788    }
789  `}function vz(e){let{color:t,input:n}=en(e.theme);return nX`
790    /* enabled */
791    background-color: ${t.input.default.enabled.bg};
792    color: ${t.input.default.enabled.fg};
793    box-shadow: ${mH({color:t.input.default.enabled.border,width:n.border.width})};
794
795    /* hovered */
796    @media (hover: hover) {
797      &:not(:disabled):hover {
798        background-color: ${t.input.default.hovered.bg};
799        color: ${t.input.default.hovered.fg};
800        box-shadow: ${mH({color:t.input.default.hovered.border,width:n.border.width})};
801      }
802    }
803
804    /* focused */
805    &:not(:disabled):focus {
806      box-shadow: ${m$({border:{width:n.border.width,color:t.input.default.enabled.border},focusRing:n.select.focusRing})};
807    }
808
809    /* read-only */
810    &[data-read-only] {
811      background-color: ${t.input.default.readOnly.bg};
812      color: ${t.input.default.readOnly.fg};
813      box-shadow: ${mH({color:t.input.default.readOnly.border,width:n.border.width})};
814    }
815
816    /* disabled */
817    &:not([data-read-only]):disabled {
818      background-color: ${t.input.default.disabled.bg};
819      color: ${t.input.default.disabled.fg};
820      box-shadow: ${mH({color:t.input.default.disabled.border,width:n.border.width})};
821    }
822  `}function vN(e){let{$fontSize:t}=e,{font:n,media:r}=en(e.theme);return p9(r,t,e=>{var t;return{fontSize:p8((t=n.text.sizes[e]||n.text.sizes[2]).fontSize),lineHeight:`${p8(t.lineHeight)}`}})}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h=(0,e1.c)(19);h[0]!==e?({className:n,disabled:i,style:a,customValidity:r,readOnly:o,...s}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=i,h[4]=o,h[5]=s,h[6]=a):(n=h[1],r=h[2],i=h[3],o=h[4],s=h[5],a=h[6]);let f=(0,B.useRef)(null);h[7]===Symbol.for("react.memo_cache_sentinel")?(l=()=>f.current,h[7]=l):l=h[7],(0,B.useImperativeHandle)(t,l),gA(f,r);let p=!i&&o?"":void 0,m=r?"":void 0,g=i||o;return h[8]!==o||h[9]!==s||h[10]!==p||h[11]!==m||h[12]!==g?(d=(0,P.jsx)(vB,{"data-read-only":p,"data-error":m,...s,disabled:g,readOnly:o,ref:f,type:"radio"}),h[8]=o,h[9]=s,h[10]=p,h[11]=m,h[12]=g,h[13]=d):d=h[13],h[14]===Symbol.for("react.memo_cache_sentinel")?(u=(0,P.jsx)("span",{}),h[14]=u):u=h[14],h[15]!==n||h[16]!==a||h[17]!==d?(c=(0,P.jsxs)(vO,{className:n,"data-ui":"Radio",style:a,children:[d,u]}),h[15]=n,h[16]=a,h[17]=d,h[18]=c):c=h[18],c}).displayName="ForwardRef(Radio)";let vD=nK.div.withConfig({displayName:"StyledSelect",componentId:"sc-5mxno7-0"})(function(){return nX`
823    position: relative;
824    width: -moz-available;
825    width: -webkit-fill-available;
826    width: stretch;
827
828    &:not([hidden]) {
829      display: inline-block;
830    }
831  `}),vF=nK.select.withConfig({displayName:"Input",componentId:"sc-5mxno7-1"})(function(){return[m6,vW,vz,vN,mQ]}),vZ=nK(gm).withConfig({displayName:"IconBox",componentId:"sc-5mxno7-2"}
831)(function(e){let{color:t}=en(e.theme);return nX`
832    pointer-events: none;
833    position: absolute;
834    top: 0;
835    right: 0;
836
837    /* enabled */
838    --card-fg-color: ${t.input.default.enabled.fg};
839
840    /* hover */
841    @media (hover: hover) {
842      select:not(disabled):not(:read-only):hover + && {
843        --card-fg-color: ${t.input.default.hovered.fg};
844      }
845    }
846
847    /* disabled */
848    select:disabled + && {
849      --card-fg-color: ${t.input.default.disabled.fg};
850    }
851
852    /* read-only */
853    select[data-read-only] + && {
854      --card-fg-color: ${t.input.default.readOnly.fg};
855    }
856  `});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x=(0,e1.c)(37);x[0]!==e?({children:n,customValidity:r,disabled:i,fontSize:a,padding:l,radius:d,readOnly:o,space:u,...s}=e,x[0]=e,x[1]=n,x[2]=r,x[3]=i,x[4]=o,x[5]=s,x[6]=a,x[7]=l,x[8]=d,x[9]=u):(n=x[1],r=x[2],i=x[3],o=x[4],s=x[5],a=x[6],l=x[7],d=x[8],u=x[9]);let C=void 0===a?2:a,k=void 0===l?3:l,j=void 0===d?2:d,M=void 0===u?3:u,L=(0,B.useRef)(null);x[10]===Symbol.for("react.memo_cache_sentinel")?(c=()=>L.current,x[10]=c):c=x[10],(0,B.useImperativeHandle)(t,c),gA(L,r);let S=!i&&o?"":void 0;x[11]!==C?(h=p7(C),x[11]=C,x[12]=h):h=x[12],x[13]!==k?(f=p7(k),x[13]=k,x[14]=f):f=x[14],x[15]!==j?(p=p7(j),x[15]=j,x[16]=p):p=x[16],x[17]!==M?(m=p7(M),x[17]=M,x[18]=m):m=x[18];let E=i||o;return x[19]!==n||x[20]!==s||x[21]!==E||x[22]!==S||x[23]!==h||x[24]!==f||x[25]!==p||x[26]!==m?(g=(0,P.jsx)(vF,{"data-read-only":S,"data-ui":"Select",...s,$fontSize:h,$padding:f,$radius:p,$space:m,disabled:E,ref:L,children:n}),x[19]=n,x[20]=s,x[21]=E,x[22]=S,x[23]=h,x[24]=f,x[25]=p,x[26]=m,x[27]=g):g=x[27],x[28]===Symbol.for("react.memo_cache_sentinel")?(v=(0,P.jsx)(rE,{}),x[28]=v):v=x[28],x[29]!==C?(y=(0,P.jsx)(gv,{size:C,children:v}),x[29]=C,x[30]=y):y=x[30],x[31]!==k||x[32]!==y?(w=(0,P.jsx)(vZ,{padding:k,children:y}),x[31]=k,x[32]=y,x[33]=w):w=x[33],x[34]!==g||x[35]!==w?(b=(0,P.jsxs)(vD,{"data-ui":"Select",children:[g,w]}),x[34]=g,x[35]=w,x[36]=b):b=x[36],b}).displayName="ForwardRef(Select)";let vU={"&&:not([hidden])":{display:"grid"},'&[data-as="ul"],&[data-as="ol"]':{listStyle:"none"},gridTemplateColumns:"minmax(0, 1fr)",gridAutoRows:"min-content"},vG=nK(gm).withConfig({displayName:"StyledStack",componentId:"sc-8dpfq2-0"})(function(){return vU},function(e){let{media:t,space:n}=en(e.theme);return p9(t,e.$space,e=>({gridGap:p8(n[e])}))}),vq=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,e1.c)(12);a[0]!==e?({as:n,space:i,...r}=e,a[0]=e,a[1]=n,a[2]=r,a[3]=i):(n=a[1],r=a[2],i=a[3]);let l="string"==typeof n?n:void 0;return a[4]!==i?(o=p7(i),a[4]=i,a[5]=o):o=a[5],a[6]!==n||a[7]!==t||a[8]!==r||a[9]!==l||a[10]!==o?(s=(0,P.jsx)(vG,{"data-as":l,"data-ui":"Stack",...r,$space:o,forwardedAs:n,ref:t}),a[6]=n,a[7]=t,a[8]=r,a[9]=l,a[10]=o,a[11]=s):s=a[11],s});vq.displayName="ForwardRef(Stack)";let vY=nK.span.withConfig({displayName:"StyledSwitch",componentId:"sc-dw1foe-0"})(function(){return nX`
857    position: relative;
858    &:not([hidden]) {
859      display: inline-block;
860    }
861  `}),vX=nK.input.withConfig({displayName:"Input",componentId:"sc-dw1foe-1"})(function(){return nX`
862    position: absolute;
863    top: 0;
864    right: 0;
865    bottom: 0;
866    left: 0;
867    opacity: 0;
868    height: 100%;
869    width: 100%;
870    outline: none;
871    padding: 0;
872    margin: 0;
873
874    /* Place the input element above the representation element */
875    z-index: 1;
876  `}),vK=nK.span.withConfig({displayName:"Representation",componentId:"sc-dw1foe-2"})(function(e){let{color:t,input:n}=en(e.theme);return nX`
877    --switch-bg-color: ${t.input.default.enabled.border};
878    --switch-fg-color: ${t.input.default.enabled.bg};
879    --switch-box-shadow: none;
880
881    &:not([hidden]) {
882      display: block;
883    }
884    position: relative;
885    width: ${p8(n.switch.width)};
886    height: ${p8(n.switch.height)};
887    border-radius: ${p8(n.switch.height/2)};
888
889    /* Make sure it’s not possible to interact with the wrapper element */
890    pointer-events: none;
891
892    &:after {
893      content: '';
894      display: block;
895      position: absolute;
896      top: 0;
897      left: 0;
898      right: 0;
899      bottom: 0;
900      z-index: 1;
901      box-shadow: var(--switch-box-shadow);
902      border-radius: inherit;
903    }
904
905    /* Focus styles */
906    input:focus + && {
907      --switch-box-shadow: ${m$({focusRing:n.switch.focusRing})};
908    }
909
910    input:focus:not(:focus-visible) + && {
911      --switch-box-shadow: none;
912    }
913
914    input:checked + && {
915      --switch-bg-color: ${t.input.default.enabled.fg};
916      --switch-fg-color: ${t.input.default.enabled.bg};
917    }
918
919    @media (hover: hover) {
920      input:not(:disabled):hover + && {
921        --switch-bg-color: ${t.input.default.hovered.border};
922        --switch-fg-color: ${t.input.default.hovered.bg};
923      }
924
925      input:not(:disabled):checked:hover + && {
926        --switch-bg-color: ${t.input.default.enabled.fg};
927        --switch-fg-color: ${t.input.default.enabled.bg};
928      }
929    }
930
931    input:not([data-read-only]):disabled + && {
932      --switch-bg-color: ${t.input.default.disabled.border};
933      --switch-fg-color: ${t.input.default.disabled.bg};
934    }
935
936    input[data-read-only]:disabled + && {
937      --switch-bg-color: ${t.input.default.readOnly.border};
938      --switch-fg-color: ${t.input.default.readOnly.bg};
939    }
940
941    input:checked[data-read-only]:disabled + && {
942      --switch-bg-color: ${t.input.default.readOnly.fg};
943      --switch-fg-color: ${t.input.default.readOnly.bg};
944    }
945  `}),vJ=nK.span.withConfig({displayName:"Track",componentId:"sc-dw1foe-3"})(function(e){let{input:t}=en(e.theme);return nX`
946    &:not([hidden]) {
947      display: block;
948    }
949    background-color: var(--switch-bg-color);
950    position: absolute;
951    left: 0;
952    top: 0;
953    width: ${p8(t.switch.width)};
954    height: ${p8(t.switch.height)};
955    border-radius: ${p8(t.switch.height/2)};
956  `}),vQ=nK.span.withConfig({displayName:"Thumb",componentId:"sc-dw1foe-4"})(function(e){let{$indeterminate:t}=e,{input:n}=en(e.theme),r=n.switch.width,i=n.switch.height,o=n.switch.padding,s=i-2*n.switch.padding,a=r-2*o-s,l=r/2-s/2-o,d=!0!==t&&!0===e.$checked;return nX`
957    &:not([hidden]) {
958      display: block;
959    }
960    position: absolute;
961    left: ${p8(o)};
962    top: ${p8(o)};
963    height: ${p8(s)};
964    width: ${p8(s)};
965    border-radius: ${p8(s/2)};
966    transition-property: transform;
967    transition-duration: ${n.switch.transitionDurationMs}ms;
968    transition-timing-function: ${n.switch.transitionTimingFunction};
969    background: var(--switch-fg-color);
970    transform: translate3d(0, 0, 0);
971    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
972
973    ${d&&nX`
974      transform: translate3d(${a}px, 0, 0);
975    `}
976
977    ${t&&nX`
978      transform: translate3d(${l}px, 0, 0);
979    `}
980  `});(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g=(0,e1.c)(26);g[0]!==e?({checked:n,className:r,disabled:i,indeterminate:o,readOnly:s,style:l,...a}=e,g[0]=e,g[1]=n,g[2]=r,g[3]=i,g[4]=o,g[5]=s,g[6]=a,g[7]=l):(n=g[1],r=g[2],i=g[3],o=g[4],s=g[5],a=g[6],l=g[7]);let v=(0,B.useRef)(null);g[8]===Symbol.for("react.memo_cache_sentinel")?(d=()=>v.current,g[8]=d):d=g[8],(0,B.useImperativeHandle)(t,d),g[9]!==o?(u=()=>{v.current&&(v.current.indeterminate=o||!1)},c=[o],g[9]=o,g[10]=u,g[11]=c):(u=g[10],c=g[11]),(0,B.useEffect)(u,c);let y=!i&&s?"":void 0,w=!0!==o&&n,b=i||s;return g[12]!==a||g[13]!==y||g[14]!==w||g[15]!==b?(h=(0,P.jsx)(vX,{"data-read-only":y,...a,checked:w,disabled:b,type:"checkbox",ref:v}),g[12]=a,g[13]=y,g[14]=w,g[15]=b,g[16]=h):h=g[16],g[17]===Symbol.for("react.memo_cache_sentinel")?(f=(0,P.jsx)(vJ,{}),g[17]=f):f=g[17],g[18]!==n||g[19]!==o?(p=(0,P.jsxs)(vK,{"aria-hidden":!0,"data-name":"representation",children:[f,(0,P.jsx)(vQ,{$checked:n,$indeterminate:o})]}),g[18]=n,g[19]=o,g[20]=p):p=g[20],g[21]!==r||g[22]!==l||g[23]!==h||g[24]!==p?(m=(0,P.jsxs)(vY,{className:r,"data-ui":"Switch",style:l,children:[h,p]}),g[21]=r,g[22]=l,g[23]=h,g[24]=p,g[25]=m):m=g[25],m}).displayName="ForwardRef(Switch)";let v1=nK.span.withConfig({displayName:"StyledTextArea",componentId:"sc-1d6h1o8-0"})(m0),v0=nK.span.withConfig({displayName:"InputRoot",componentId:"sc-1d6h1o8-1"})`flex:1;min-width:0;display:block;position:relative;`,v5=nK.textarea.withConfig({displayName:"Input",componentId:"sc-1d6h1o8-2"})(mJ,m5,m2),v2=nK.div.withConfig({displayName:"Presentation",componentId:"sc-1d6h1o8-3"})(m6,m3);(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w=(0,e1.c)(35);w[0]!==e?({border:o,customValidity:r,disabled:s,fontSize:a,padding:l,radius:d,weight:u,__unstable_disableFocusRing:n,...i}=e,w[0]=e,w[1]=n,w[2]=r,w[3]=i,w[4]=o,w[5]=s,w[6]=a,w[7]=l,w[8]=d,w[9]=u):(n=w[1],r=w[2],i=w[3],o=w[4],s=w[5],a=w[6],l=w[7],d=w[8],u=w[9]);let b=void 0===o||o,x=void 0!==s&&s,C=void 0===a?2:a,k=void 0===l?3:l,j=void 0===d?2:d,M=(0,B.useRef)(null),L=ma();w[10]===Symbol.for("react.memo_cache_sentinel")?(c=()=>M.current,w[10]=c):c=w[10],(0,B.useImperativeHandle)(t,c),gA(M,r);let S=L.scheme,E=L.tone;w[11]!==C?(h=p7(C),w[11]=C,w[12]=h):h=w[12],w[13]!==k?(f=p7(k),w[13]=k,w[14]=f):f=w[14];let R=L.scheme;w[15]===Symbol.for("react.memo_cache_sentinel")?(p=p7(0),w[15]=p):p=w[15],w[16]!==x||w[17]!==i||w[18]!==L.scheme||w[19]!==L.tone||w[20]!==h||w[21]!==f||w[22]!==u?(m=(0,P.jsx)(v5,{"data-as":"textarea","data-scheme":S,"data-tone":E,...i,$fontSize:h,$padding:f,$scheme:R,$space:p,$tone:L.tone,$weight:u,disabled:x,ref:M}),w[16]=x,w[17]=i,w[18]=L.scheme,w[19]=L.tone,w[20]=h,w[21]=f,w[22]=u,w[23]=m):m=w[23],w[24]!==j?(g=p7(j),w[24]=j,w[25]=g):g=w[25];let V=b?"":void 0;return w[26]!==n||w[27]!==L.scheme||w[28]!==L.tone||w[29]!==g||w[30]!==V?(v=(0,P.jsx)(v2,{$radiu
980s:g,$unstableDisableFocusRing:n,$scheme:L.scheme,$tone:L.tone,"data-border":V,"data-scheme":L.scheme,"data-tone":L.tone}),w[26]=n,w[27]=L.scheme,w[28]=L.tone,w[29]=g,w[30]=V,w[31]=v):v=w[31],w[32]!==m||w[33]!==v?(y=(0,P.jsx)(v1,{"data-ui":"TextArea",children:(0,P.jsxs)(v0,{children:[m,v]})}),w[32]=m,w[33]=v,w[34]=y):y=w[34],y}).displayName="ForwardRef(TextArea)";let v3={zIndex:2},v4=nK(gV).attrs({forwardedAs:"span"}).withConfig({displayName:"StyledTextInput",componentId:"sc-h62wco-0"})(m0),v6=nK.span.withConfig({displayName:"InputRoot",componentId:"sc-h62wco-1"})`flex:1;min-width:0;display:block;position:relative;`,v8=nK(gV).attrs({forwardedAs:"span"}).withConfig({displayName:"Prefix",componentId:"sc-h62wco-2"})`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`,v9=nK(gV).attrs({forwardedAs:"span"}).withConfig({displayName:"Suffix",componentId:"sc-h62wco-3"})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`,v7=nK.input.withConfig({displayName:"Input",componentId:"sc-h62wco-4"})(mJ,m5,m2),ye=nK.span.withConfig({displayName:"Presentation",componentId:"sc-h62wco-5"})(m6,m3),yt=nK(gm).withConfig({displayName:"LeftBox",componentId:"sc-h62wco-6"})`position:absolute;top:0;left:0;`,yn=nK(gm).withConfig({displayName:"RightBox",componentId:"sc-h62wco-7"})`position:absolute;top:0;right:0;`,yr=nK(gV).withConfig({displayName:"RightCard",componentId:"sc-h62wco-8"})`background-color:transparent;position:absolute;top:0;right:0;`,yi=nK(gE).withConfig({displayName:"TextInputClearButton",componentId:"sc-h62wco-9"})({"&:not([hidden])":{display:"block"}}),yo=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O=(0,e1.c)(92);O[0]!==e?({__unstable_disableFocusRing:i,border:h,clearButton:o,disabled:f,fontSize:p,icon:n,iconRight:r,onClear:a,padding:m,prefix:l,radius:g,readOnly:d,space:v,suffix:c,customValidity:s,type:y,weight:w,...u}=e,O[0]=e,O[1]=n,O[2]=r,O[3]=i,O[4]=o,O[5]=s,O[6]=a,O[7]=l,O[8]=d,O[9]=u,O[10]=c,O[11]=h,O[12]=f,O[13]=p,O[14]=m,O[15]=g,O[16]=v,O[17]=y,O[18]=w):(n=O[1],r=O[2],i=O[3],o=O[4],s=O[5],a=O[6],l=O[7],d=O[8],u=O[9],c=O[10],h=O[11],f=O[12],p=O[13],m=O[14],g=O[15],v=O[16],y=O[17],w=O[18]);let W=void 0===h||h,z=void 0!==f&&f,N=void 0===p?2:p,D=void 0===m?3:m,F=void 0===g?2:g,Z=void 0===v?3:v,U=void 0===y?"text":y,G=(0,B.useRef)(null),q=ma();O[19]!==N?(b=p7(N),O[19]=N,O[20]=b):b=O[20];let Y=b;O[21]!==D?(x=p7(D),O[21]=D,O[22]=x):x=O[22];let X=x;O[23]!==F?(C=p7(F),O[23]=F,O[24]=C):C=O[24];let K=C;O[25]!==Z?(k=p7(Z),O[25]=Z,O[26]=k):k=O[26];let J=k,Q=!!o,ee=!!n,et=!!r,en=!!c,er=!!l;O[27]===Symbol.for("react.memo_cache_sentinel")?(j=()=>G.current,O[27]=j):j=O[27],(0,B.useImperativeHandle)(t,j),gA(G,s),O[28]!==a?(M=e=>{e.preventDefault(),e.stopPropagation(),a&&a(),G.current?.focus()},O[28]=a,O[29]=M):M=O[29];let ei=M;O[30]!==l||O[31]!==K?(L=l&&(0,P.jsx)(v8,{borderTop:!0,borderLeft:!0,borderBottom:!0,radius:K,sizing:"border",tone:"inherit",children:(0,P.jsx)("span",{children:l})}),O[30]=l,O[31]=K,O[32]=L):L=O[32];let eo=L,es=W?"":void 0;O[33]!==n||O[34]!==Y||O[35]!==X?(S=n&&(0,P.jsx)(yt,{padding:X,children:(0,P.jsxs)(gv,{size:Y,children:[(0,B.isValidElement)(n)&&n,(0,n1.isValidElementType)(n)&&(0,P.jsx)(n,{})]})}),O[33]=n,O[34]=Y,O[35]=X,O[36]=S):S=O[36],O[37]!==Q||O[38]!==r||O[39]!==Y||O[40]!==X?(E=!Q&&r&&(0,P.jsx)(yn,{padding:X,children:(0,P.jsxs)(gv,{size:Y,children:[(0,B.isValidElement)(r)&&r,(0,n1.isValidElementType)(r)&&(0,P.jsx)(r,{})]})}),O[37]=Q,O[38]=r,O[39]=Y,O[40]=X,O[41]=E):E=O[41],O[42]!==er||O[43]!==en||O[44]!==i||O[45]!==K||O[46]!==q.scheme||O[47]!==q.tone||O[48]!==es||O[49]!==S||O[50]!==E?(R=(0,P.jsxs)(ye,{$hasPrefix:er,$unstableDisableFocusRing:i,$hasSuffix:en,$radius:K,$scheme:q.scheme,$tone:q.tone,"data-border":es,"data-scheme":q.scheme,"data-tone":q.tone,children:[S,E]}),O[42]=er,O[43]=en,O[44]=i,O[45]=K,O[46]=q.scheme,O[47]=q.tone,O[48]=es,O[49]=S,O[50]=E,O[51]=R):R=O[51];let ea=R;O[52]!==X?(V=X.map(ya),O[52]=X,O[53]=V):V=O[53];let el=V;O[54]!==X?(H=X.map(yl),O[54]=X,O[55]=H):H=O[55];let ed=H,eu="object"==typeof o?o:pQ;O[56]!==o||O[57]!==el||O[58]!==ed||O[59]!==eu||O[60]!==s||O[61]!==z||O[62]!==Y||O[63]!==ei||O[64]!==K||O[65]!==d?($=!z&&!d&&o&&(0,P.jsx)(yr,{forwardedAs:"span",padding:el,style:v3,tone:s?"critical":"inherit",children:(0,P.jsx)(yi,{"aria-label":"Clear","data-qa":"clear-button",fontSize:Y,icon:rI,mode:"bleed",padding:ed,radius:K,...eu,onClick:ei,onMouseDown:ys})}),O[56]=o,O[57]=el,O[58]=ed,O[59]=eu,O[60]=s,O[61]=z,O[62]=Y,O[63]=ei,O[64]=K,O[65]=d,O[66]=$):$=O[66];let ec=$;O[67]!==K||O[68]!==c?(A=c&&(0,P.jsx)(v9,{borderTop:!0,borderRight:!0,borderBottom:!0,radius:K,sizing:"border",tone:"inherit",children:(0,P.jsx)("span",{children:c})}),O[67]=K,O[68]=c,O[69]=A):A=O[69];let eh=A,ef=et||Q;return O[70]!==ee||O[71]!==z||O[72]!==Y||O[73]!==X||O[74]!==d||O[75]!==u||O[76]!==q.scheme||O[77]!==q.tone||O[78]!==J||O[79]!==ef||O[80]!==U||O[81]!==w?(T=(0,P.jsx)(v7,{"data-as":"input","data-scheme":q.scheme,"data-tone":q.tone,...u,$fontSize:Y,$iconLeft:ee,$iconRight:ef,$padding:X,$scheme:q.sc
980heme,$space:J,$tone:q.tone,$weight:w,disabled:z,readOnly:d,ref:G,type:U}),O[70]=ee,O[71]=z,O[72]=Y,O[73]=X,O[74]=d,O[75]=u,O[76]=q.scheme,O[77]=q.tone,O[78]=J,O[79]=ef,O[80]=U,O[81]=w,O[82]=T):T=O[82],O[83]!==ec||O[84]!==ea||O[85]!==T?(_=(0,P.jsxs)(v6,{children:[T,ea,ec]}),O[83]=ec,O[84]=ea,O[85]=T,O[86]=_):_=O[86],O[87]!==eo||O[88]!==q.tone||O[89]!==eh||O[90]!==_?(I=(0,P.jsxs)(v4,{"data-ui":"TextInput",tone:q.tone,children:[eo,_,eh]}),O[87]=eo,O[88]=q.tone,O[89]=eh,O[90]=_,O[91]=I):I=O[91],I});function ys(e){e.preventDefault(),e.stopPropagation()}function ya(e){return 0===e?0:1===e||2===e?1:e-2}function yl(e){return 0===e||1===e?0:2===e?1:e-1}yo.displayName="ForwardRef(TextInput)";let yd={top:["top-end","top-start","bottom","left","right"],"top-start":["top","top-end","bottom-start","left-start","right-start"],"top-end":["top","top-start","bottom-end","left-end","right-end"],bottom:["bottom-end","bottom-start","top","left","right"],"bottom-start":["bottom","bottom-end","top-start","left-start","right-start"],"bottom-end":["bottom","bottom-start","top-end","left-end","right-end"],left:["left-end","left-start","right","top","bottom"],"left-start":["left","left-end","right-start","top-start","bottom-start"],"left-end":["left","left-start","right-end","top-end","bottom-end"],right:["right-end","right-start","left","top","bottom"],"right-start":["right","right-end","left-start","top-start","bottom-start"],"right-end":["right","right-start","left-end","top-end","bottom-end"]},yu=nK(f6.create(gV)).withConfig({displayName:"MotionCard",componentId:"sc-1xn138w-0"})`will-change:transform;`,yc=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j=(0,e1.c)(48);j[0]!==e?({animate:n,arrow:r,arrowRef:i,arrowX:o,arrowY:s,children:a,originX:l,originY:d,padding:u,placement:c,radius:h,scheme:p,shadow:m,style:g,...f}=e,j[0]=e,j[1]=n,j[2]=r,j[3]=i,j[4]=o,j[5]=s,j[6]=a,j[7]=l,j[8]=d,j[9]=u,j[10]=c,j[11]=h,j[12]=f,j[13]=p,j[14]=m,j[15]=g):(n=j[1],r=j[2],i=j[3],o=j[4],s=j[5],a=j[6],l=j[7],d=j[8],u=j[9],c=j[10],h=j[11],f=j[12],p=j[13],m=j[14],g=j[15]);let M=n?"transform":void 0;j[16]!==l||j[17]!==d||j[18]!==g||j[19]!==M?(v={originX:l,originY:d,willChange:M,...g},j[16]=l,j[17]=d,j[18]=g,j[19]=M,j[20]=v):v=j[20];let L=v,S=null!==o?o:void 0,E=null!==s?s:void 0;j[21]!==S||j[22]!==E?(y={left:S,top:E,right:void 0,bottom:void 0},j[21]=S,j[22]=E,j[23]=y):y=j[23];let R=y,V=f;return j[24]!==n?(w=n?["hidden","initial"]:void 0,j[24]=n,j[25]=w):w=j[25],j[26]!==n?(b=n?["visible","scaleIn"]:void 0,j[26]=n,j[27]=b):b=j[27],j[28]!==n?(x=n?["hidden","scaleOut"]:void 0,j[28]=n,j[29]=x):x=j[29],j[30]!==r||j[31]!==i||j[32]!==R?(C=r&&(0,P.jsx)(vi,{ref:i,style:R,width:15,height:6,radius:2}),j[30]=r,j[31]=i,j[32]=R,j[33]=C):C=j[33],j[34]!==a||j[35]!==u||j[36]!==c||j[37]!==h||j[38]!==t||j[39]!==L||j[40]!==p||j[41]!==m||j[42]!==V||j[43]!==w||j[44]!==b||j[45]!==x||j[46]!==C?(k=(0,P.jsxs)(yu,{"data-ui":"Tooltip__card",...V,"data-placement":c,padding:u,radius:h,ref:t,scheme:p,shadow:m,style:L,variants:p1,transition:p5,initial:w,animate:b,exit:x,children:[a,C]}),j[34]=a,j[35]=u,j[36]=c,j[37]=h,j[38]=t,j[39]=L,j[40]=p,j[41]=m,j[42]=V,j[43]=w,j[44]=b,j[45]=x,j[46]=C,j[47]=k):k=j[47],k});yc.displayName="ForwardRef(TooltipCard)";let yh=mi("@sanity/ui/context/tooltipDelayGroup",null),yf=nK(vv).withConfig({displayName:"StyledTooltip",componentId:"sc-13f2zvh-0"})`pointer-events:none;`,yp=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O,W,z,N,D,F,Z,U,G,q,Y,X,K,J,Q,ee=(0,e1.c)(137),et=vl(),{layer:en}=md();ee[0]!==e?({animate:h,arrow:f,boundaryElement:n,children:o,content:s,disabled:l,fallbackPlacements:r,padding:p,placement:m,portal:d,radius:g,scheme:c,shadow:v,zOffset:i,delay:a,...u}=e,ee[0]=e,ee[1]=n,ee[2]=r,ee[3]=i,ee[4]=o,ee[5]=s,ee[6]=a,ee[7]=l,ee[8]=d,ee[9]=u,ee[10]=c,ee[11]=h,ee[12]=f,ee[13]=p,ee[14]=m,ee[15]=g,ee[16]=v):(n=ee[1],r=ee[2],i=ee[3],o=ee[4],s=ee[5],a=ee[6],l=ee[7],d=ee[8],u=ee[9],c=ee[10],h=ee[11],f=ee[12],p=ee[13],m=ee[14],g=ee[15],v=ee[16]);let er=void 0!==h&&h,ei=void 0!==f&&f,eo=void 0===p?2:p,es=void 0===m?"bottom":m,ea=void 0===g?2:g,el=void 0===v?2:v,ed=n??et?.element,eu=r??yd[e.placement??"bottom"],ec=i??en.tooltip.zOffset,eh=!gD()&&er;ee[17]!==eu?(y=p7(eu),ee[17]=eu,ee[18]=y):y=ee[18];let ef=y,ep=(0,B.useRef)(null),[em,eg]=(0,B.useState)(null),ev=(0,B.useRef)(null),[ey,ew]=(0,B.useState)(0);ee[19]===Symbol.for("react.memo_cache_sentinel")?(w=()=>ep.current,ee[19]=w):w=ee[19],(0,B.useImperativeHandle)(t,w);let eb=vx(),ex="string"==typeof d?eb.elements?.[d]||null:eb.element;ee[20]!==eh||ee[21]!==ei||ee[22]!==ed||ee[23]!==ef?(b={animate:eh,arrowProp:ei,arrowRef:ev,boundaryElement:ed,fallbackPlacements:ef,rootBoundary:"viewport"}
980,ee[20]=eh,ee[21]=ei,ee[22]=ed,ee[23]=ef,ee[24]=b):b=ee[24];let eC=function(e){let t,n=(0,e1.c)(17),{animate:r,arrowProp:i,arrowRef:o,boundaryElement:s,fallbackPlacements:a,rootBoundary:l}=e;if(n[0]!==r||n[1]!==i||n[2]!==o||n[3]!==s||n[4]!==a||n[5]!==l){let e,d,u;t=[];let c=s||void 0;n[7]!==a||n[8]!==l||n[9]!==c?(e=aG({boundary:c,fallbackPlacements:a,padding:4,rootBoundary:l}),n[7]=a,n[8]=l,n[9]=c,n[10]=e):e=n[10],t.push(e),n[11]===Symbol.for("react.memo_cache_sentinel")?(d=aZ({mainAxis:4}),n[11]=d):d=n[11],t.push(d);let h=s||void 0;if(n[12]!==l||n[13]!==h?(u=aU({boundary:h,rootBoundary:l,padding:4}),n[12]=l,n[13]=h,n[14]=u):u=n[14],t.push(u),i){let e;n[15]!==o?(e=aq({element:o,padding:4}),n[15]=o,n[16]=e):e=n[16],t.push(e)}r&&t.push(g8),n[0]=r,n[1]=i,n[2]=o,n[3]=s,n[4]=a,n[5]=l,n[6]=t}else t=n[6];return t}(b);ee[25]!==em?(x={reference:em},ee[25]=em,ee[26]=x):x=ee[26],ee[27]!==eC||ee[28]!==es||ee[29]!==x?(C={middleware:eC,placement:es,whileElementsMounted:aI,elements:x},ee[27]=eC,ee[28]=es,ee[29]=x,ee[30]=C):C=ee[30];let{floatingStyles:ek,placement:ej,middlewareData:eM,refs:eL,update:eS}=aF(C),eE=eM.arrow?.x,eR=eM.arrow?.y,eV=eM["@sanity/ui/origin"]?.originX,eH=eM["@sanity/ui/origin"]?.originY,e$=(0,B.useId)(),[eA,eT]=function(e){let t,n,r,i,o=(0,e1.c)(5),[s,a]=(0,B.useState)(e),l=(0,B.useRef)(void 0);o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(e,t)=>{let n=()=>{a(e)};if(l.current&&(clearTimeout(l.current),l.current=void 0),!t)return n();l.current=setTimeout(n,t)},o[0]=t):t=o[0];let d=t;return o[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>()=>{l.current&&clearTimeout(l.current)},r=[],o[1]=n,o[2]=r):(n=o[1],r=o[2]),(0,B.useEffect)(n,r),o[3]!==s?(i=[s,d],o[3]=s,o[4]=i):i=o[4],i}(!1),e_=(0,B.useContext)(yh);ee[31]!==e_?(k=e_||{},ee[31]=e_,ee[32]=k):k=ee[32];let{setIsGroupActive:eP,setOpenTooltipId:eI}=k,eO=eA||e_?.openTooltipId===e$,eB=null!==e_,eW="number"==typeof a?a:a?.open||0,ez="number"==typeof a?a:a?.close||0,eN=eB?e_.openDelay:eW,eD=eB?e_.closeDelay:ez;ee[33]!==eD||ee[34]!==eB||ee[35]!==eN||ee[36]!==eP||ee[37]!==eT||ee[38]!==eI||ee[39]!==e$?(j=(e,t)=>{if(eB)if(e){let n=t?0:eN;eP?.(e,n),eI?.(e$,n)}else{let n=eD>200?eD:200;eP?.(e,n),eI?.(null,t?0:eD)}else eT(e,t?0:e?eN:eD)},ee[33]=eD,ee[34]=eB,ee[35]=eN,ee[36]=eP,ee[37]=eT,ee[38]=eI,ee[39]=e$,ee[40]=j):j=ee[40];let eF=j;ee[41]!==o?.props||ee[42]!==eF?(M=e=>{eF(!1),o?.props?.onBlur?.(e)},ee[41]=o?.props,ee[42]=eF,ee[43]=M):M=ee[43];let eZ=M;ee[44]!==o?.props||ee[45]!==eF?(L=e=>{eF(!1,!0),o?.props.onClick?.(e)},ee[44]=o?.props,ee[45]=eF,ee[46]=L):L=ee[46];let eU=L;ee[47]!==o?.props||ee[48]!==eF?(S=e=>{eF(!1,!0),o?.props.onContextMenu?.(e)},ee[47]=o?.props,ee[48]=eF,ee[49]=S):S=ee[49];let eG=S;ee[50]!==o?.props||ee[51]!==eF?(E=e=>{eF(!0),o?.props?.onFocus?.(e)},ee[50]=o?.props,ee[51]=eF,ee[52]=E):E=ee[52];let eq=E;ee[53]!==o?.props||ee[54]!==eF?(R=e=>{eF(!0),o?.props?.onMouseEnter?.(e)},ee[53]=o?.props,ee[54]=eF,ee[55]=R):R=ee[55];let eY=R;ee[56]!==o?.props||ee[57]!==eF?(V=e=>{eF(!1),o?.props?.onMouseLeave?.(e)},ee[56]=o?.props,ee[57]=eF,ee[58]=V):V=ee[58];let eX=V;ee[59]!==eF||ee[60]!==eB||ee[61]!==em||ee[62]!==eO?(H={handleIsOpenChange:eF,referenceElement:em,showTooltip:eO,isInsideGroup:eB},ee[59]=eF,ee[60]=eB,ee[61]=em,ee[62]=eO,ee[63]=H):H=ee[63],function(e){let t,n,r,i=(0,e1.c)(10),{handleIsOpenChange:o,referenceElement:s,showTooltip:a,isInsideGroup:l}=e;i[0]!==o||i[1]!==s?(t=(e,t)=>{s&&(s===e||e instanceof Node&&s.contains(e)||(o(!1),t()))},i[0]=o,i[1]=s,i[2]=t):t=i[2];let d=pX(t);i[3]!==l||i[4]!==d||i[5]!==a?(n=()=>{if(!a||l)return;let e=t=>{d(t.target,()=>window.removeEventListener("mousemove",e))};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},i[3]=l,i[4]=d,i[5]=a,i[6]=n):n=i[6],i[7]!==l||i[8]!==a?(r=[l,a],i[7]=l,i[8]=a,i[9]=r):r=i[9],(0,B.useEffect)(n,r)}(H),ee[64]!==l||ee[65]!==eF||ee[66]!==eO?($=()=>{l&&eO&&eF(!1)},A=[l,eF,eO],ee[64]=l,ee[65]=eF,ee[66]=eO,ee[67]=$,ee[68]=A):($=ee[67],A=ee[68]),(0,B.useEffect)($,A),ee[69]!==s||ee[70]!==eF||ee[71]!==eO?(T=()=>{!s&&eO&&eF(!1)},_=[s,eF,eO],ee[69]=s,ee[70]=eF,ee[71]=eO,ee[72]=T,ee[73]=_):(T=ee[72],_=ee[73]),(0,B.useEffect)(T,_),ee[74]!==eF||ee[75]!==eO?(I=()=>
980{if(!eO)return;let e=function(e){"Escape"===e.key&&eF(!1,!0)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},O=[eF,eO],ee[74]=eF,ee[75]=eO,ee[76]=I,ee[77]=O):(I=ee[76],O=ee[77]),(0,B.useEffect)(I,O),ee[78]!==ed||ee[79]!==ex?.offsetWidth?(W=()=>{ew(Math.min(...ed?[ed.offsetWidth]:[],ex?.offsetWidth||document.body.offsetWidth)-8)},ee[78]=ed,ee[79]=ex?.offsetWidth,ee[80]=W):W=ee[80],ee[81]!==ed||ee[82]!==ex?(z=[ed,ex],ee[81]=ed,ee[82]=ex,ee[83]=z):z=ee[83],(0,B.useLayoutEffect)(W,z),ee[84]!==eS?(N=e=>{ev.current=e,eS()},ee[84]=eS,ee[85]=N):N=ee[85];let eK=N;ee[86]!==eL?(D=e=>{ep.current=e,eL.setFloating(e)},ee[86]=eL,ee[87]=D):D=ee[87];let eJ=D;e:{let e;if(!o){F=null;break e}ee[88]!==o||ee[89]!==eZ||ee[90]!==eU||ee[91]!==eG||ee[92]!==eq||ee[93]!==eY||ee[94]!==eX?(e=(0,B.cloneElement)(o,{onBlur:eZ,onFocus:eq,onMouseEnter:eY,onMouseLeave:eX,onClick:eU,onContextMenu:eG,ref:eg}),ee[88]=o,ee[89]=eZ,ee[90]=eU,ee[91]=eG,ee[92]=eq,ee[93]=eY,ee[94]=eX,ee[95]=e):e=ee[95],F=e}let eQ=F;if(ee[96]!==o?(Z=o?vV(o):null,ee[96]=o,ee[97]=Z):Z=ee[97],ee[98]!==em?(U=()=>em,G=[em],ee[98]=em,ee[99]=U,ee[100]=G):(U=ee[99],G=ee[100]),(0,B.useImperativeHandle)(Z,U,G),!eQ){let e;return ee[101]===Symbol.for("react.memo_cache_sentinel")?(e=(0,P.jsx)(P.Fragment,{}),ee[101]=e):e=ee[101],e}if(l)return eQ;let e0=ey>0?`${ey}px`:void 0;ee[102]!==ek||ee[103]!==e0?(q={...ek,maxWidth:e0},ee[102]=ek,ee[103]=e0,ee[104]=q):q=ee[104],ee[105]!==eh||ee[106]!==ei||ee[107]!==eE||ee[108]!==eR||ee[109]!==s||ee[110]!==eV||ee[111]!==eH||ee[112]!==eo||ee[113]!==ej||ee[114]!==ea||ee[115]!==u||ee[116]!==c||ee[117]!==eK||ee[118]!==eJ||ee[119]!==el?(Y=(0,P.jsx)(yc,{...u,animate:eh,arrow:ei,arrowRef:eK,arrowX:eE,arrowY:eR,originX:eV,originY:eH,padding:eo,placement:ej,radius:ea,ref:eJ,scheme:c,shadow:el,children:s}),ee[105]=eh,ee[106]=ei,ee[107]=eE,ee[108]=eR,ee[109]=s,ee[110]=eV,ee[111]=eH,ee[112]=eo,ee[113]=ej,ee[114]=ea,ee[115]=u,ee[116]=c,ee[117]=eK,ee[118]=eJ,ee[119]=el,ee[120]=Y):Y=ee[120],ee[121]!==u||ee[122]!==eJ||ee[123]!==q||ee[124]!==Y||ee[125]!==ec?(X=(0,P.jsx)(yf,{"data-ui":"Tooltip",...u,ref:eJ,style:q,zOffset:ec,children:Y}),ee[121]=u,ee[122]=eJ,ee[123]=q,ee[124]=Y,ee[125]=ec,ee[126]=X):X=ee[126];let e5=X;ee[127]!==d||ee[128]!==eO||ee[129]!==e5?(K=eO&&(d?(0,P.jsx)(vC,{__unstable_name:"string"==typeof d?d:void 0,children:e5}):e5),ee[127]=d,ee[128]=eO,ee[129]=e5,ee[130]=K):K=ee[130];let e2=K;return ee[131]!==eh||ee[132]!==e2?(J=eh?(0,P.jsx)(po,{children:e2}):e2,ee[131]=eh,ee[132]=e2,ee[133]=J):J=ee[133],ee[134]!==eQ||ee[135]!==J?(Q=(0,P.jsxs)(P.Fragment,{children:[J,eQ]}),ee[134]=eQ,ee[135]=J,ee[136]=Q):Q=ee[136],Q});yp.displayName="ForwardRef(Tooltip)";let ym=nK.kbd.withConfig({displayName:"StyledHotkeys",componentId:"sc-b37mge-0"})`font:inherit;padding:1px;&:not([hidden]){display:block;}`,yg=nK(g6).withConfig({displayName:"Key",componentId:"sc-b37mge-1"})`&:not([hidden]){display:block;}`,yv=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h=(0,e1.c)(26);h[0]!==e?({fontSize:n,keys:r,padding:i,radius:o,space:a,...s}=e,h[0]=e,h[1]=n,h[2]=r,h[3]=i,h[4]=o,h[5]=s,h[6]=a):(n=h[1],r=h[2],i=h[3],o=h[4],s=h[5],a=h[6]);let f=void 0===a?.5:a;h[7]!==f?(l=p7(f),h[7]=f,h[8]=l):l=h[8];let p=l;if(!r||0===r.length){let e;return h[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,P.jsx)(P.Fragment,{}),h[9]=e):e=h[9],e}if(h[10]!==n||h[11]!==r||h[12]!==i||h[13]!==o){let e;h[15]!==n||h[16]!==i||h[17]!==o?(e=(e,t)=>(0,P.jsx)(yg,{fontSize:n,padding:i,radius:o,children:e},t),h[15]=n,h[16]=i,h[17]=o,h[18]=e):e=h[18],d=r.map(e),h[10]=n,h[11]=r,h[12]=i,h[13]=o,h[14]=d}else d=h[14];return h[19]!==p||h[20]!==d?(u=(0,P.jsx)(g2,{as:"span",space:p,children:d}),h[19]=p,h[20]=d,h[21]=u):u=h[21],h[22]!==t||h[23]!==s||h[24]!==u?(c=(0,P.jsx)(ym,{"data-ui":"Hotkeys",...s,ref:t,children:u}),h[22]=t,h[23]=s,h[24]=u,h[25]=c):c=h[25],c});yv.displayName="ForwardRef(Hotkeys)";let yy=mi("@sanity/ui/context/menu",null);function yw(e){return p3(e)&&"true"!==e.getAttribute("data-disabled")||p4(e)&&!e.disabled}function yb(e){return e.filter(yw)}let yx=[];function yC(){}let yk=nK(gm).withConfig({displayName:"StyledMenu",componentId:"sc-xt0tnv-0"})`outline:none;overflow:auto;`,yj=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M=(0,e1.c)(49);if(M[0]!==e){let{children:t,focusFirst:p,focusLast:m,onClickOutside:g,onEscape:v,onItemClick:y,onItemSelect:w,onKeyDown:b,originElement:x,padding:C,registerElement:k,shouldFocus:j,space:L,...S}=e;r=t,i=g,o=v,s=y,a=w,l=b,d=x,h=C,u=k,n=j,f=L,c=S,M[0]=e,M[1]=n,M[2]=r,M[3]=i,M[4]=o,M[5]=s,M[6]=a,M[7]=l,M[8]=d,M[9]=u,M[10]=c,M[11]=h,M[12]=f}else n=M[1],r=M[2],i=M[3],o=M[4],s=M[5],a=M[6],l=M[7],d=M[8],u=M[9],c=M[10],h=M[11],f=M[12];let L=void 0===h?1:h,S=void 0===f?1:f,E=n??(e.focusFirst&&"first"||e.focusLast&&"last"||null),R=(0,B.useRef)(null);M[13]===Symbol.for("react.memo_cache_sentinel")?(p=()=>R.current,M[13]=p):p=M[13],(0,B.useImperativeHandle)(t,p);let{isTopLayer:V}=vp();M[14]!==l||M[15]!==d||M[16]!==E?(m={onKeyDown:l,originElement:d,shouldFocus:E,rootElementRef:R},M[14]=l,M[15]=d,M[16]=E,M[17]=m):m=M[17];let{activeElement:H,activeIndex:$,handleItemMouseEnter:A,handleItemMouseLeave:T,handleKeyDown:_,mount:I}=function(e){let t,n,r,i,o,s,a,l,d,u=(0,e1.c)(21),{onKeyDown:c,originElement:h,shouldFocus:f,rootElementRef:p}=e;u[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],u[0]=t):t=u[0];let m=(0,B.useRef)(t),[g,v]=(0,B.useState)(-1),y=(0,B.useRef)(g),[w,b]=(0,B.useState)(null);u[1]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{v(e),y.current=e,b(m.current[e]||null)},u[1]=n):n=u[1];let x=n;u[2]!==p?(r=(e,t)=>
980e?(-1===m.current.indexOf(e)&&(m.current.push(e),function(e,t){if(!e)return;let n=new WeakMap;for(let r of t)n.set(r,function(e,t){let n=[],r=t;for(;r!==e;){let t=r.parentElement;if(!t)break;let i=Array.from(t.childNodes).indexOf(r);if(n.unshift(i),t===e)break;r=t}return n}(e,r));t.sort((e,t)=>{let r=n.get(e)||yx,i=n.get(t)||yx,o=Math.max(r.length,i.length);for(let e=0;e<o;e+=1){let t=r[e]||-1,n=i[e]||-1;if(t!==n)return t-n}return 0})}(p.current,m.current)),t&&x(m.current.indexOf(e)),()=>{let t=m.current.indexOf(e);t>-1&&m.current.splice(t,1)}):yC,u[2]=p,u[3]=r):r=u[3];let C=r;u[4]!==c||u[5]!==h?(i=e=>{if("Tab"===e.key){h&&h.focus();return}if("Home"===e.key){e.preventDefault(),e.stopPropagation();let t=yb(m.current)[0];if(!t)return;x(m.current.indexOf(t));return}if("End"===e.key){e.preventDefault(),e.stopPropagation();let t=yb(m.current),n=t[t.length-1];if(!n)return;x(m.current.indexOf(n));return}if("ArrowUp"===e.key){e.preventDefault(),e.stopPropagation();let t=yb(m.current),n=t.length;if(0===n)return;let r=m.current[y.current],i=t.indexOf(r),o=t[i=(i-1+n)%n];x(m.current.indexOf(o));return}if("ArrowDown"===e.key){e.preventDefault(),e.stopPropagation();let t=yb(m.current),n=t.length;if(0===n)return;let r=m.current[y.current],i=t.indexOf(r),o=t[i=(i+1)%n];x(m.current.indexOf(o));return}c&&c(e)},u[4]=c,u[5]=h,u[6]=i):i=u[6];let k=i;u[7]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{let t=e.currentTarget;x(m.current.indexOf(t))},u[7]=o):o=u[7];let j=o;u[8]!==p?(s=()=>{x(-2),p.current?.focus()},u[8]=p,u[9]=s):s=u[9];let M=s;return u[10]!==g||u[11]!==p||u[12]!==f?(a=()=>{if(!p.current)return;let e=requestAnimationFrame(()=>{if(-1===g){if("first"===f){let e=yb(m.current)[0];e&&x(m.current.indexOf(e))}if("last"===f){let e=yb(m.current),t=e[e.length-1];t&&x(m.current.indexOf(t))}return}(m.current[g]||null)?.focus()});return()=>cancelAnimationFrame(e)},l=[g,p,x,f],u[10]=g,u[11]=p,u[12]=f,u[13]=a,u[14]=l):(a=u[13],l=u[14]),(0,B.useEffect)(a,l),u[15]!==w||u[16]!==g||u[17]!==M||u[18]!==k||u[19]!==C?(d={activeElement:w,activeIndex:g,handleItemMouseEnter:j,handleItemMouseLeave:M,handleKeyDown:k,mount:C},u[15]=w,u[16]=g,u[17]=M,u[18]=k,u[19]=C,u[20]=d):d=u[20],d}(m),O=(0,B.useRef)(null);M[18]!==u?(g=e=>{O.current&&(O.current(),O.current=null),R.current=e,R.current&&u&&(O.current=u(R.current))},M[18]=u,M[19]=g):g=M[19];let W=g;M[20]!==$||M[21]!==a?(v=()=>{a&&a($)},y=[$,a],M[20]=$,M[21]=a,M[22]=v,M[23]=y):(v=M[22],y=M[23]),(0,B.useEffect)(v,y),M[24]===Symbol.for("react.memo_cache_sentinel")?(w=()=>[R.current],M[24]=w):w=M[24],gH(V&&i,w),M[25]!==V||M[26]!==o?(b=e=>{V&&"Escape"===e.key&&(e.stopPropagation(),o&&o())},M[25]=V,M[26]=o,M[27]=b):b=M[27],gI(b),M[28]!==H||M[29]!==A||M[30]!==T||M[31]!==I||M[32]!==i||M[33]!==o||M[34]!==s||M[35]!==u?(x={version:2,activeElement:H,mount:I,onClickOutside:i,onEscape:o,onItemClick:s,onItemMouseEnter:A,onItemMouseLeave:T,registerElement:u},M[28]=H,M[29]=A,M[30]=T,M[31]=I,M[32]=i,M[33]=o,M[34]=s,M[35]=u,M[36]=x):x=M[36];let z=x;return M[37]!==r||M[38]!==S?(C=(0,P.jsx)(vq,{space:S,children:r}),M[37]=r,M[38]=S,M[39]=C):C=M[39],M[40]!==_||M[41]!==W||M[42]!==L||M[43]!==c||M[44]!==C?(k=(0,P.jsx)(yk,{"data-ui":"Menu",...c,onKeyDown:_,padding:L,ref:W,role:"menu",tabIndex:-1,children:C}),M[40]=_,M[41]=W,M[42]=L,M[43]=c,M[44]=C,M[45]=k):k=M[45],M[46]!==k||M[47]!==z?(j=(0,P.jsx)(yy.Provider,{value:z,children:k}),M[46]=k,M[47]=z,M[48]=j):j=M[48],j});yj.displayName="ForwardRef(Menu)";let yM=nK.hr.withConfig({displayName:"MenuDivider",componentId:"sc-uhoxwu-0"})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;yM.displayName="MenuDivider";let yL=nK(gm).withConfig({displayName:"Selectable",componentId:"sc-1w01ang-0"})(m6,function(){return nX`
981    background-color: inherit;
982    color: inherit;
983
984    &[data-as='button'] {
985      -webkit-font-smoothing: inherit;
986      appearance: none;
987      outline: none;
988      font: inherit;
989      text-align: inherit;
990      border: 0;
991      width: -moz-available;
992      width: -webkit-fill-available;
993      width: stretch;
994    }
995
996    /* &:is(a) */
997    &[data-as='a'] {
998      text-decoration: none;
999    }
1000  `}
1000,function(e){let{$tone:t}=e,{color:n,style:r}=en(e.theme),i=n.selectable[t];return nX`
1001    ${gj(n,i.enabled)}
1002
1003    background-color: var(--card-bg-color);
1004    color: var(--card-fg-color);
1005    outline: none;
1006
1007    /* &:is(button) */
1008    &[data-as='button'] {
1009      &:disabled {
1010        ${gj(n,i.disabled)}
1011      }
1012
1013      &:not(:disabled) {
1014        &[aria-pressed='true'] {
1015          ${gj(n,i.pressed)}
1016        }
1017
1018        &[data-selected],
1019        &[aria-selected='true'] > & {
1020          ${gj(n,i.selected)}
1021        }
1022
1023        @media (hover: hover) {
1024          &:not([data-selected]) {
1025            &[data-hovered],
1026            &:hover {
1027              ${gj(n,i.hovered)}
1028            }
1029
1030            &:active {
1031              ${gj(n,i.pressed)}
1032            }
1033          }
1034        }
1035      }
1036    }
1037
1038    /* &:is(a) */
1039    &[data-as='a'] {
1040      &[data-disabled] {
1041        ${gj(n,i.disabled)}
1042      }
1043
1044      &:not([data-disabled]) {
1045        &[data-pressed] {
1046          ${gj(n,i.pressed)}
1047        }
1048
1049        &[data-selected] {
1050          ${gj(n,i.selected)}
1051        }
1052
1053        @media (hover: hover) {
1054          &:not([data-selected]) {
1055            &[data-hovered],
1056            &:hover {
1057              ${gj(n,i.hovered)}
1058            }
1059            &:active {
1060              ${gj(n,i.pressed)}
1061            }
1062          }
1063        }
1064      }
1065    }
1066
1067    ${r?.card?.root}
1068  `});function yS(){let e=(0,B.useContext)(yy);if(!e)throw Error("useMenu(): missing context value");if(!vs(e)||2!==e.version)throw Error("useMenu(): the context value is not compatible");return e}function yE(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O=(0,e1.c)(81);O[0]!==e?({as:a,children:n,fontSize:l,icon:t,menu:r,onClick:i,padding:d,popover:o,radius:u,space:c,text:f,tone:h,...s}=e,O[0]=e,O[1]=t,O[2]=n,O[3]=r,O[4]=i,O[5]=o,O[6]=s,O[7]=a,O[8]=l,O[9]=d,O[10]=u,O[11]=c,O[12]=h,O[13]=f):(t=O[1],n=O[2],r=O[3],i=O[4],o=O[5],s=O[6],a=O[7],l=O[8],d=O[9],u=O[10],c=O[11],h=O[12],f=O[13]);let W=void 0===a?"button":a,z=void 0===l?1:l,N=void 0===d?3:d,D=void 0===u?2:u,F=void 0===c?3:c,Z=void 0===h?"default":h,U=yS(),{scheme:G}=ma(),{activeElement:q,mount:Y,onClickOutside:X,onEscape:K,onItemClick:J,onItemMouseEnter:Q,registerElement:ee}=U,et=Q??U.onItemMouseEnter,[en,er]=(0,B.useState)(null),[ei,eo]=(0,B.useState)(!1),[es,ea]=(0,B.useState)(null),el=!!q&&q===en,[ed,eu]=(0,B.useState)(!1);O[14]!==et?(p=e=>{eu(!1),et(e),eo(!0)},O[14]=et,O[15]=p):p=O[15];let ec=p;O[16]!==en?(m=e=>{"ArrowLeft"===e.key&&(e.stopPropagation(),eo(!1),requestAnimationFrame(()=>{en?.focus()}))},O[16]=en,O[17]=m):m=O[17];let eh=m;O[18]!==i?(g=e=>{i?.(e),ea("first"),eo(!0)},O[18]=i,O[19]=g):g=O[19];let ef=g;O[20]!==J?(v=()=>{eo(!1),J?.()},O[20]=J,O[21]=v):v=O[21];let ep=v;O[22]===Symbol.for("react.memo_cache_sentinel")?(y=()=>eu(!0),O[22]=y):y=O[22];let em=y;O[23]!==Y||O[24]!==en?(w=()=>Y(en),b=[Y,en],O[23]=Y,O[24]=en,O[25]=w,O[26]=b):(w=O[25],b=O[26]),(0,B.useEffect)(w,b),O[27]!==el?(x=()=>{el||eo(!1)},C=[el],O[27]=el,O[28]=x,O[29]=C):(x=O[28],C=O[29]),(0,B.useEffect)(x,C),O[30]!==ei?(k=()=>{ei||eu(!1)},j=[ei],O[30]=ei,O[31]=k,O[32]=j):(k=O[31],j=O[32]),(0,B.useEffect)(k,j),O[33]!==es?(M=()=>{if(!es)return;let e=requestAnimationFrame(()=>ea(null));return()=>cancelAnimationFrame(e)},L=[es],O[33]=es,O[34]=M,O[35]=L):(M=O[34],L=O[35]),(0,B.useEffect)(M,L),O[36]!==n||O[37]!==ep||O[38]!==eh||O[39]!==r||O[40]!==X||O[41]!==K||O[42]!==ee||O[43]!==es?(S=(0,P.jsx)(yj,{...r,onClickOutside:X,onEscape:K,onItemClick:ep,onKeyDown:eh,onMouseEnter:em,registerElement:ee,shouldFocus:es,children:n}),O[36]=n,O[37]=ep,O[38]=eh,O[39]=r,O[40]=X,O[41]=K,O[42]=ee,O[43]=es,O[44]=S):S=O[44];let eg=S;O[45]===Symbol.for("react.memo_cache_sentinel")?(E=e=>{let t=e.currentTarget;if(document.activeElement===t&&"ArrowRight"===e.key){ea("first"),eo(!0),eu(!0);return}},O[45]=E):E=O[45];let ev=E,ey="button"===W?ed:void 0,ew="button"!==W?ed:void 0,eb=!ed&&el?"":void 0;O[46]!==D?(R=p7(D),O[46]=D,O[47]=R):R=O[47];let ex="button"===W?"button":void 0;return O[48]!==t||O[49]!==z?(V=t&&(0,P.jsxs)(gv,{size:z,children:[(0,B.isValidElement)(t)&&t,(0,n1.isValidElementType)(t)&&(0,P.jsx)(t,{})]}),O[48]=t,O[49]=z,O[50]=V):V=O[50],O[51]!==z||O[52]!==f?(H=(0,P.jsx)(gm,{flex:1,children:(0,P.jsx)(gv,{size:z,textOverflow:"ellipsis",weight:"medium",children:f})}),O[51]=z,O[52]=f,O[53]=H):H=O[53],O[54]===Symbol.for("react.memo_cache_sentinel")?($=(0,P.jsx)(rV,{}),O[54]=$):$=O[54],O[55]!==z?(A=(0,P.jsx)(gv,{size:z,children:$}
1068),O[55]=z,O[56]=A):A=O[56],O[57]!==N||O[58]!==F||O[59]!==V||O[60]!==H||O[61]!==A?(T=(0,P.jsxs)(gb,{gap:F,padding:N,children:[V,H,A]}),O[57]=N,O[58]=F,O[59]=V,O[60]=H,O[61]=A,O[62]=T):T=O[62],O[63]!==W||O[64]!==ef||O[65]!==ec||O[66]!==s||O[67]!==G||O[68]!==ey||O[69]!==ew||O[70]!==eb||O[71]!==R||O[72]!==ex||O[73]!==T||O[74]!==Z?(_=(0,P.jsx)(yL,{"data-as":W,"data-ui":"MenuGroup",forwardedAs:W,...s,"aria-pressed":ey,"data-pressed":ew,"data-selected":eb,$radius:R,$tone:Z,$scheme:G,onClick:ef,onKeyDown:ev,onMouseEnter:ec,ref:er,tabIndex:-1,type:ex,children:T}),O[63]=W,O[64]=ef,O[65]=ec,O[66]=s,O[67]=G,O[68]=ey,O[69]=ew,O[70]=eb,O[71]=R,O[72]=ex,O[73]=T,O[74]=Z,O[75]=_):_=O[75],O[76]!==eg||O[77]!==ei||O[78]!==o||O[79]!==_?(I=(0,P.jsx)(vI,{...o,content:eg,"data-ui":"MenuGroup__popover",open:ei,children:_}),O[76]=eg,O[77]=ei,O[78]=o,O[79]=_,O[80]=I):I=O[80],I}yL.displayName="Selectable",yE.displayName="MenuGroup";let yR=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I=(0,e1.c)(75);I[0]!==e?({as:v,children:i,disabled:o,fontSize:y,hotkeys:s,icon:n,iconRight:r,onClick:a,padding:w,paddingX:h,paddingY:f,paddingTop:c,paddingRight:u,paddingBottom:l,paddingLeft:d,pressed:p,radius:b,selected:g,space:x,text:k,tone:C,...m}=e,I[0]=e,I[1]=n,I[2]=r,I[3]=i,I[4]=o,I[5]=s,I[6]=a,I[7]=l,I[8]=d,I[9]=u,I[10]=c,I[11]=h,I[12]=f,I[13]=p,I[14]=m,I[15]=g,I[16]=v,I[17]=y,I[18]=w,I[19]=b,I[20]=x,I[21]=C,I[22]=k):(n=I[1],r=I[2],i=I[3],o=I[4],s=I[5],a=I[6],l=I[7],d=I[8],u=I[9],c=I[10],h=I[11],f=I[12],p=I[13],m=I[14],g=I[15],v=I[16],y=I[17],w=I[18],b=I[19],x=I[20],C=I[21],k=I[22]);let O=void 0===v?"button":v,W=void 0===y?1:y,z=void 0===w?3:w,N=void 0===b?2:b,D=void 0===x?3:x,F=void 0===C?"default":C,{scheme:Z}=ma(),U=yS(),{activeElement:G,mount:q,onItemClick:Y,onItemMouseEnter:X,onItemMouseLeave:K}=U,J=X??U.onItemMouseEnter,Q=K??U.onItemMouseLeave,[ee,et]=(0,B.useState)(null),en=!!G&&G===ee,er=(0,B.useRef)(null);I[23]===Symbol.for("react.memo_cache_sentinel")?(j=()=>er.current,I[23]=j):j=I[23],(0,B.useImperativeHandle)(t,j),I[24]!==q||I[25]!==ee||I[26]!==g?(M=()=>q(ee,g),L=[q,ee,g],I[24]=q,I[25]=ee,I[26]=g,I[27]=M,I[28]=L):(M=I[27],L=I[28]),(0,B.useEffect)(M,L),I[29]!==o||I[30]!==a||I[31]!==Y?(S=e=>{o||(a&&a(e),Y&&Y())},I[29]=o,I[30]=a,I[31]=Y,I[32]=S):S=I[32];let ei=S;I[33]!==z||I[34]!==l||I[35]!==d||I[36]!==u||I[37]!==c||I[38]!==h||I[39]!==f?(E={padding:z,paddingX:h,paddingY:f,paddingTop:c,paddingRight:u,paddingBottom:l,paddingLeft:d},I[33]=z,I[34]=l,I[35]=d,I[36]=u,I[37]=c,I[38]=h,I[39]=f,I[40]=E):E=I[40];let eo=E;I[41]!==W?(R=p7(W).map(yV),I[41]=W,I[42]=R):R=I[42];let es=R;I[43]===Symbol.for("react.memo_cache_sentinel")?(V=e=>{er.current=e,et(e)},I[43]=V):V=I[43];let ea=V,el="button"!==O&&p?"":void 0,ed=en?"":void 0,eu=o?"":void 0;I[44]!==N?(H=p7(N),I[44]=N,I[45]=H):H=I[45],I[46]===Symbol.for("react.memo_cache_sentinel")?($=p7(0),I[46]=$):$=I[46];let ec=o?"default":F,eh="button"===O?"button":void 0;return I[47]!==n||I[48]!==r||I[49]!==W||I[50]!==s||I[51]!==es||I[52]!==eo||I[53]!==D||I[54]!==k?(A=(n||k||r)&&(0,P.jsxs)(gb,{as:"span",gap:D,align:"center",...eo,children:[n&&(0,P.jsxs)(gv,{size:W,children:[(0,B.isValidElement)(n)&&n,(0,n1.isValidElementType)(n)&&(0,P.jsx)(n,{})]}),k&&(0,P.jsx)(gm,{flex:1,children:(0,P.jsx)(gv,{size:W,textOverflow:"ellipsis",weight:"medium",children:k})}),s&&(0,P.jsx)(yv,{fontSize:es,keys:s,style:{marginTop:-4,marginBottom:-4}}),r&&(0,P.jsxs)(gv,{size:W,children:[(0,B.isValidElement)(r)&&r,(0,n1.isValidElementType)(r)&&(0,P.jsx)(r,{})]})]}),I[47]=n,I[48]=r,I[49]=W,I[50]=s,I[51]=es,I[52]=eo,I[53]=D,I[54]=k,I[55]=A):A=I[55],I[56]!==i||I[57]!==eo?(T=i&&(0,P.jsx)(gm,{as:"span",...eo,children:i}),I[56]=i,I[57]=eo,I[58]=T):T=I[58],I[59]!==O||I[60]!==o||I[61]!==ei||I[62]!==J||I[63]!==Q||I[64]!==m||I[65]!==Z||I[66]!==el||I[67]!==ed||I[68]!==eu||I[69]!==H||I[70]!==ec||I[71]!==eh||I[72]!==A||I[73]!==T?(_=(0,P.jsxs)(yL,{"data-ui":"MenuItem",role:"menuitem",...m,"data-pressed":el,"data-selected":ed,"data-disabled":eu,forwardedAs:O,$radius:H,$padding:$,$tone:ec,$scheme:Z,disabled:o,onClick:ei,onMouseEnter:J,onMouseLeave:Q,ref:ea,tabIndex:-1,type:eh,children:[A,T]}),I[59]=O,I[60]=o,I[61]=ei,I[62]=J,I[63]=Q,I[64]=m,I[65]=Z,I[66]=el,I[67]=ed,I[68]=eu,I[69]=H,I[70]=ec,I[71]=eh,I[72]=A,I[73]=T,I[74]=_):_=I[74],_});function yV(e){return e-1}yR.displayName="ForwardRef(MenuItem)";let yH=nK(gE).withConfig({displayName:"CustomButton",componentId:"sc-1kns779-0"})`max-width:100%;`,y$=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y=(0,e1.c)(30);
1068y[0]!==e?({icon:r,id:i,focused:n,fontSize:u,label:o,onClick:s,onFocus:a,padding:c,selected:d,...l}=e,y[0]=e,y[1]=n,y[2]=r,y[3]=i,y[4]=o,y[5]=s,y[6]=a,y[7]=l,y[8]=d,y[9]=u,y[10]=c):(n=y[1],r=y[2],i=y[3],o=y[4],s=y[5],a=y[6],l=y[7],d=y[8],u=y[9],c=y[10]);let w=void 0===u?1:u,b=void 0===c?2:c,x=(0,B.useRef)(null),C=(0,B.useRef)(!1);y[11]===Symbol.for("react.memo_cache_sentinel")?(h=()=>x.current,y[11]=h):h=y[11],(0,B.useImperativeHandle)(t,h),y[12]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{C.current=!1},y[12]=f):f=y[12];let k=f;y[13]!==a?(p=e=>{C.current=!0,a&&a(e)},y[13]=a,y[14]=p):p=y[14];let j=p;y[15]!==n?(m=()=>{n&&!C.current&&(x.current&&x.current.focus(),C.current=!0)},g=[n],y[15]=n,y[16]=m,y[17]=g):(m=y[16],g=y[17]),(0,B.useEffect)(m,g);let M=d?"true":"false",L=d?0:-1;return y[18]!==w||y[19]!==j||y[20]!==r||y[21]!==i||y[22]!==o||y[23]!==s||y[24]!==b||y[25]!==l||y[26]!==d||y[27]!==M||y[28]!==L?(v=(0,P.jsx)(yH,{"data-ui":"Tab",...l,"aria-selected":M,fontSize:w,icon:r,id:i,mode:"bleed",onClick:s,onBlur:k,onFocus:j,padding:b,ref:x,role:"tab",selected:d,tabIndex:L,text:o,type:"button"}),y[18]=w,y[19]=j,y[20]=r,y[21]=i,y[22]=o,y[23]=s,y[24]=b,y[25]=l,y[26]=d,y[27]=M,y[28]=L,y[29]=v):v=y[29],v});y$.displayName="ForwardRef(Tab)";let yA=nK(g2).withConfig({displayName:"CustomInline",componentId:"sc-5cm04m-0"})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`,yT=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a=(0,e1.c)(15);a[0]!==e?({children:n,...r}=e,a[0]=e,a[1]=n,a[2]=r):(n=a[1],r=a[2]);let[l,d]=(0,B.useState)(-1);if(a[3]!==n||a[4]!==l){let e,t=B.Children.toArray(n).filter(B.isValidElement);a[6]!==l?(e=(e,t)=>(0,B.cloneElement)(e,{focused:l===t,key:t,onFocus:()=>d(t)}),a[6]=l,a[7]=e):e=a[7],i=t.map(e),a[3]=n,a[4]=l,a[5]=i}else i=a[5];let u=i,c=u.length;a[8]!==c?(o=e=>{"ArrowLeft"===e.key&&d(e=>(e+c-1)%c),"ArrowRight"===e.key&&d(e=>(e+1)%c)},a[8]=c,a[9]=o):o=a[9];let h=o;return a[10]!==h||a[11]!==t||a[12]!==r||a[13]!==u?(s=(0,P.jsx)(yA,{"data-ui":"TabList",...r,onKeyDown:h,ref:t,role:"tablist",children:u}),a[10]=h,a[11]=t,a[12]=r,a[13]=u,a[14]=s):s=a[14],s});yT.displayName="ForwardRef(TabList)";e.i(86403);function y_(e){return e.split(/[[.\]]/g).filter(Boolean).map(e=>{var t;return e.includes("==")?function(e){let[t,n]=e.split("==");if("_key"!==t)throw Error(`Currently only "_key" is supported as path segment. Found ${t}`);if(typeof n>"u")throw Error('Invalid path segment, expected `key=="value"`');return{_key:n.replace(/^['"]/,"").replace(/['"]$/,"")}}(e):yP.test(t=e)?Number(t):t})}let yP=/^-?\d+$/;function yI(e){return"string"==typeof e?._key}function yO(e){return"object"==typeof e&&"_key"in e&&"string"==typeof e._key}function yB(e){return"number"==typeof e||yO(e)}let yW=/^[a-z_$]+/;function yz(e){return e.map((e,t)=>{var n;return n=0===t,Array.isArray(e)?`[${e[0]}:${e[1]||""}]`:"number"==typeof e?`[${e}]`:yO(e)?`[_key==${JSON.stringify(e._key)}]`:"string"==typeof e&&yW.test(e)?n?e:`.${e}`:`['${e}']`}).join("")}function yN(e){return Array.isArray(e)?e:[e]}function yD(e){if("createIfNotExists"in e)return{type:"createIfNotExists",document:e.createIfNotExists};if("createOrReplace"in e)return{type:"createOrReplace",document:e.createOrReplace};if("create"in e)return{type:"create",document:e.create};if("delete"in e)return{id:e.delete.id,type:"delete"};if("patch"in e){var t,n,r,i,o,s,a;return{type:"patch",id:e.patch.id,patches:[..."set"in(n=t=e.patch)?Object.keys(n.set).map(e=>({path:y_(e),op:{type:"set",value:n.set[e]}})):[],..."setIfMissing"in(r=t)?Object.keys(r.setIfMissing).map(e=>({path:y_(e),op:{type:"setIfMissing",value:r.setIfMissing[e]}})):[],..."unset"in(i=t)?i.unset.map(e=>({path:y_(e),op:{type:"unset"}})):[],..."inc"in(o=t)?Object.keys(o.inc).map(e=>({path:y_(e),op:{type:"inc",amount:o.inc[e]}})):[],..."inc"in(s=t)?Object.keys(s.dec).map(e=>({path:y_(e),op:{type:"dec",amount:s.dec[e]}})):[],...function(e){if(!("insert"in e))return[];let t=function(e){let t=yF.filter(t=>t in e);if(t.length>1)throw Error(`Insert patch is ambiguous. Should only contain one of: ${yF.join(", ")}, instead found ${t.join(", ")}`);return t[0]}(e.insert);if(!t)throw Error("Insert patch missing position");let n=y_(e.insert[t]),r=n.pop();return[{path:n,op:{type:"insert",position:t,referenceItem:r,items:e.insert.items}}]}(t),..."diffMatchPatch"in(a=t)?Object.keys(a.diffMatchPatch).map(e=>({path:y_(e),op:{type:"diffMatchPatch",value:a.diffMatchPatch[e]}})):[]]}}throw Error(`Unknown mutation: ${JSON.stringify(e)}`)}let yF=["before","replace","after"];function yZ(e){return yq(e)}function yU(e){return e.flatMap(yZ)}function yG(e){return{transactionId:e.id,mutations:yU(e.mutations)}}function yq(e){switch(e.type){case"create":case"createIfNotExists":case"createOrReplace":return{[e.type]:e.document};case"delete":return{delete:{id:e.id}};case"patch":{let t=e.options?.ifRevision;return e.patches.map(n=>({patch:{id:e.id,...t&&{ifRevisionID:t},...yY(n)}}))}}}function yY(e){let{path:t,op:n}=e;if("unset"===n.type)return{unset:[yz(t)]};if("insert"===n.type)return{insert:{[n.position]:yz([...t,n.referenceItem]),items:n.items}};if("diffMatchPatch"===n.type)return{diffMatchPatch:{[yz(t)]:n.value}};if("inc"===n.type)return{inc:{[yz(t)]:n.amount}};if("dec"===n.type)return{dec:{[yz(t)]:n.amount}};if("set"===n.type||"setIfMissing"===n.type)return{[n.type]:{[yz(t)]:n.value}};if("truncate"===n.type){let e=[n.startIndex,"number"==typeof n.endIndex?n.endIndex:""].join(":");return{unset:[`${yz(t)}[${e}]`]}}if("upsert"===n.type)return{unset:n.items.map(e=>
1068yz([...t,{_key:e._key}])),insert:{[n.position]:yz([...t,n.referenceItem]),items:n.items}};if("assign"===n.type)return{set:Object.fromEntries(Object.keys(n.value).map(e=>[yz(t.concat(e)),n.value[e]]))};if("unassign"===n.type)return{unset:n.keys.map(e=>yz(t.concat(e)))};if("replace"===n.type)return{insert:{replace:yz(t.concat(n.referenceItem)),items:n.items}};if("remove"===n.type)return{unset:[yz(t.concat(n.referenceItem))]};throw"insertIfMissing"===n.type?Error("Patch type insertIfMissing is not supported by Sanity"):Error(`Unknown operation type ${n.type}`)}function yX(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function yK(e,t){return{path:"string"==typeof e?y_(e):e,op:t}}function yJ(e,t,n){return{type:"insert",referenceItem:n,position:t,items:yN(e)}}function yQ(e,t){return{type:"truncate",startIndex:e,endIndex:t}}function y1(e){return{type:"remove",referenceItem:e}}var y0=Object.freeze({__proto__:null,decode:function(e){return yD(e)},decodeAll:function(e){return e.map(yD)},encode:yZ,encodeAll:yU,encodeMutation:yq,encodePatch:yY,encodeTransaction:yG}),y5=e.i(25570);let y2=(0,y5.createEmptyActor)(),y3=y2,y4=new Set;function y6(e){return e===y2}function y8(e){for(let t of(y3=e,y4))t()}e.s(["actor",()=>y3,"emptyActor",0,y2,"isEmptyActor",0,y6,"listeners",0,y4,"setActor",0,y8],9506);let y9=/_key\s*==\s*['"](.*)['"]/,y7=/^\d*:\d*$/;function we(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function wt(e){return"string"==typeof e?y9.test(e.trim()):"object"==typeof e&&"_key"in e}let wn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/_key\s*==\s*['"](.*)['"]/;function wi(e,t,n){let r="string"==typeof t?function(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(wn);if(!t)throw Error("Invalid path string");return t.map(wo)}(t):t;if(!Array.isArray(r))throw Error("Path must be an array or a string");let i=e;for(let e=0;e<r.length;e++){let t=r[e];if(we(t)){if(!Array.isArray(i))return n;i=i[t]}if(wt(t)){if(!Array.isArray(i))return n;i=i.find(e=>e._key===t._key)}if("string"==typeof t&&(i="object"==typeof i&&null!==i?i[t]:void 0),typeof i>"u")return n}return i}function wo(e){return we(e)?Number(e.replace(/[^\d]/g,"")):wt(e)?{_key:e.match(wr)[1]}:!function(e){if("string"==typeof e&&y7.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}(e)?e:function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e)}function ws(){return(0,B.useSyncExternalStore)(wd,wl,wa)}function wa(){return y2}function wl(){return y3}function wd(e){return y4.add(e),()=>y4.delete(e)}function wu(){let e,t=(0,I.c)(2),n=ws();return t[0]!==n?(e=y6(n),t[0]=n,t[1]=e):e=t[1],!e}function wc(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(e,r)},t)}}function wh(e,t){let n=(0,O.isMaybePreviewIframe)(),r=(0,O.isMaybePreviewWindow)();if(y6(t)||!n&&!r)throw Error("The `useDocuments` hook cannot be used in this context");let i=(0,z.getDraftId)(e),o=(0,z.getPublishedId)(e),s=t.getSnapshot().context?.documents,a=s?.[i],l=s?.[o],d=a||l;if(!d)throw Error(`Document "${e}" not found`);let u=a.getSnapshot().context?.local||l.getSnapshot().context?.local,c=new Promise(e=>{if(u)e(u);else{let t=d.on("ready",n=>{let{snapshot:r}=n;e(r||null),t.unsubscribe()})}});return{draftDoc:a,draftId:i,getSnapshot:()=>c,publishedDoc:l,publishedId:o,get snapshot(){if(!u)throw Error(`Snapshot for document "${e}" not found`);return u}}}function wf(){let e,t,n,r=(0,I.c)(7),i=ws();r[0]!==i?(e=e=>({id:e,commit:()=>{let{draftDoc:t}=wh(e,i);t.send({type:"submit"})},get:t=>{let{snapshot:n}=wh(e,i);return t?wi(n,t):n},getSnapshot:function(e,t){let{getSnapshot:n}=wh(e,t);return n}(e,i),patch:async(t,n)=>{let r=wh(e,i),{draftDoc:o,draftId:s,getSnapshot:a,publishedId:l}=r,{commit:d=!0}=n||{},u=await ("function"==typeof t?t({draftId:s,publishedId:l,get snapshot(){return r.snapshot},getSnapshot:a}):t),c=await a();if(!c)throw Error(`Snapshot for document "${e}" not found`);o.send({type:"mutate",mutations:[{type:"createIfNotExists",document:{...c,_id:s}},{type:"patch",id:s,patches:yN(u),...{}}]}),d&&("object"==typeof d&&"debounce"in d?wc(()=>o.send({type:"submit"}),d.debounce)():o.send({type:"submit"}))}}),r[0]=i,r[1]=e):e=r[1];let o=e;
1068r[2]!==i?(t=(e,t,n)=>{let{draftDoc:r}=wh(e,i),{commit:o}=n||{},s=void 0===o||o;r.send({type:"mutate",mutations:t}),s&&("object"==typeof s&&"debounce"in s?wc(()=>r.send({type:"submit"}),s.debounce)():r.send({type:"submit"}))},r[2]=i,r[3]=t):t=r[3];let s=t;return r[4]!==o||r[5]!==s?(n={getDocument:o,mutateDocument:s},r[4]=o,r[5]=s,r[6]=n):n=r[6],n}function wp(e){let t=(()=>{if(f)return f;f=[];for(let e=0;e<256;++e)f[e]=(e+256).toString(16).slice(1);return f})();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}function wm(e){let t,n,r="string"==typeof e?e:e.path,i=r.lastIndexOf("."),o=r.substring(i+1,r.length);if(!o.indexOf("["))throw Error("Invalid path: not an array");let s=r.lastIndexOf("["),a=r.substring(0,s);if(o.includes("_key")){let e=o.indexOf('"')+1,r=o.indexOf('"',e);t=o.substring(e,r),n=!0}else{let e=o.indexOf("[")+1,r=o.indexOf("]",e);t=o.substring(e,r),n=!1}if(!a||!t)throw Error("Invalid path");return{path:a,key:t,hasExplicitKey:n}}function wg(e,t,n="after"){let{path:r,key:i}=wm(e);return[yK(r,yJ({...wi(t,e.path),_key:wp()},n,{_key:i}))]}function wv(e,t){let{path:n,key:r}=wm(e),i=wi(t,n).findIndex(e=>e._key===r);return[yK(n,yQ(i,i+1))]}function wy(e,t,n){let{path:r,key:i}=wm(e);return[yK(r,yJ([{_type:t,_key:wp()}],n,{_key:i}))]}async function ww(e,t,n){if(!e.type)throw Error("Node type is missing");let{path:r,key:i}=wm(e),o=await t.getSnapshot(),s=wi(o,r),a=wi(o,e.path),l=s.findIndex(e=>e._key===i),d=-1,u="before";if("first"===n){if(0===l)return[];d=0,u="before"}else if("last"===n){if(l===s.length-1)return[];d=-1,u="after"}else if("next"===n){if(l===s.length-1)return[];d=l,u="after"}else if("previous"===n){if(0===l)return[];d=l-1,u="before"}return[yK(r,yQ(l,l+1)),yK(r,yJ(a,u,d))]}function wb(e){return{lang:e?.lang??o?.lang,message:e?.message,abortEarly:e?.abortEarly??o?.abortEarly,abortPipeEarly:e?.abortPipeEarly??o?.abortPipeEarly}}function wx(e,t,n,r,i){var o,d,u,c;let h,f=i&&"input"in i?i.input:n.value,p=i?.expected??e.expects??null,m=i?.received??("string"==(h=typeof f)?`"${f}"`:"number"===h||"bigint"===h||"boolean"===h?`${f}`:"object"===h||"function"===h?(f&&Object.getPrototypeOf(f)?.constructor?.name)??"null":h),g={kind:e.kind,type:e.type,input:f,expected:p,received:m,message:`Invalid ${t}: ${p?`Expected ${p} but r`:"R"}eceived ${m}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},v="schema"===e.kind,y=i?.message??e.message??(o=e.reference,d=g.lang,l?.get(o)?.get(d))??(v?(u=g.lang,a?.get(u)):null)??r.message??(c=g.lang,s?.get(c));void 0!==y&&(g.message="function"==typeof y?y(g):y),v&&(n.typed=!1),n.issues?n.issues.push(g):n.issues=[g]}function wC(e){return{version:1,vendor:"valibot",validate:t=>e["~run"]({value:t},wb())}}e.s(["get",0,wi,"getArrayDuplicatePatches",0,wg,"getArrayInsertPatches",0,wy,"getArrayItemKeyAndParentPath",0,wm,"getArrayMovePatches",0,ww,"getArrayRemovePatches",0,wv,"useDocuments",0,wf,"useOptimisticActor",0,ws,"useOptimisticActorReady",0,wu],96481);var wk=class extends Error{constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function wj(e,t){return{kind:"validation",type:"min_length",reference:wj,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&wx(this,"length",e,t,{received:`${e.value.length}`}),e}}}function wM(e,t,n){return"function"==typeof e.fallback?e.fallback(t,n):e.fallback}function wL(e,t,n){return"function"==typeof e.default?e.default(t,n):e.default}function wS(e,t){return{kind:"schema",type:"object",reference:wS,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return wC(this)},"~run"(e,t){let n=e.value;if(n&&"object"==typeof n)for(let r in e.typed=!0,e.value={},this.entries){let i=this.entries[r];if(r in n||("exact_optional"===i.type||"optional"===i.type||"nullish"===i.type)&&void 0!==i.default){let o=r in n?n[r]:wL(i),s=i["~run"]({value:o},t);if(s.issues){let i={type:"object",origin:"value",input:n,key:r,value:o};for(let t of s.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.pu
1068sh(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value[r]=s.value}else if(void 0!==i.fallback)e.value[r]=wM(i);else if("exact_optional"!==i.type&&"optional"!==i.type&&"nullish"!==i.type&&(wx(this,"key",e,t,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:n,key:r,value:n[r]}]}),t.abortEarly))break}else wx(this,"type",e,t);return e}}}function wE(e,t){return{kind:"schema",type:"optional",reference:wE,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return wC(this)},"~run"(e,t){return void 0===e.value&&(void 0!==this.default&&(e.value=wL(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped["~run"](e,t)}}}function wR(e){return{kind:"schema",type:"string",reference:wR,expects:"string",async:!1,message:e,get"~standard"(){return wC(this)},"~run"(e,t){return"string"==typeof e.value?e.typed=!0:wx(this,"type",e,t),e}}}function wV(...e){return{...e[0],pipe:e,get"~standard"(){return wC(this)},"~run"(t,n){for(let r of e)if("metadata"!==r.kind){if(t.issues&&("schema"===r.kind||"transformation"===r.kind)){t.typed=!1;break}t.issues&&(n.abortEarly||n.abortPipeEarly)||(t=r["~run"](t,n))}return t}}}function wH(e,t,n){let r=e["~run"]({value:t},wb(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}let w$=wV(wR(),wj(1)),wA=wE(w$),wT=wS({baseUrl:w$,dataset:wA,id:w$,path:w$,projectId:wA,tool:wA,type:wA,workspace:wA,perspective:{...L=wR(),fallback:"drafts",get"~standard"(){return wC(this)},"~run"(e,t){let n=L["~run"](e,t);return n.issues?{typed:!0,value:wM(this,n,t)}:n}}});function w_(e){return!wT["~run"]({value:e},{abortEarly:!0}).issues}function wP(e){let t="";for(let n of e){if("string"==typeof n){t&&(t+="."),t+=n;continue}if("number"==typeof n){t&&(t+=":"),t+=`${n}`;continue}if(null!==n&&Array.isArray(n)){t&&(t+=":"),t+=`${n.join(",")}}`;continue}if(n._key){t&&(t+=":"),t+=`${n._key}`;continue}}return t}let wI=/^([\w-]+):(0|[1-9][0-9]*)$/,wO=/^([\w-]+):([0-9]+),([0-9]+)$/,wB=/^([\w-]+):([\w-]+)$/,wW=wV(wR(),wj(1)),wz=wS({origin:wW,href:wW,data:wE(function e(t,n,r){return{kind:"schema",type:"record",reference:e,expects:"Object",async:!1,key:t,value:n,message:r,get"~standard"(){return wC(this)},"~run"(e,t){let n=e.value;if(n&&"object"==typeof n){for(let r in e.typed=!0,e.value={},n)if(Object.hasOwn(n,r)&&"__proto__"!==r&&"prototype"!==r&&"constructor"!==r){let i=n[r],o=this.key["~run"]({value:r},t);if(o.issues){let s={type:"object",origin:"key",input:n,key:r,value:i};for(let t of o.issues)t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}let s=this.value["~run"]({value:i},t);if(s.issues){let o={type:"object",origin:"value",input:n,key:r,value:i};for(let t of s.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}o.typed&&s.typed||(e.typed=!1),o.typed&&(e.value[o.value]=s.value)}}else wx(this,"type",e,t);return e}}}(wR(),function e(){return{kind:"schema",type:"unknown",reference:e,expects:"unknown",async:!1,get"~standard"(){return wC(this)},"~run":e=>(e.typed=!0,e)}}()))});function wN(e){let t=wH(wT,e);if(t.success)return t.output;let n=wH(wz,e);if(n.success)try{let e=new URL(n.output.href,typeof document>"u"?"https://example.com":location.origin);return e.searchParams.size>0?function(e,t){let n=e["~run"]({value:t},wb(void 0));if(n.issues)throw new wk(n.issues);return n.value}(wT,Object.fromEntries(e.searchParams.entries())):n.output}catch(e){return console.error("Failed to parse sanity node",e),n.output}}function wD(e){if("object"==typeof e&&null!==e)return wN(e);try{let t=JSON.parse(e);return wN(t)}catch{let t=e.split(";").reduce((e,t)=>{let[n,r]=t.split("=");if(!n||t.includes("=")&&!r)return e;switch(n){case"id":e.id=r;break;case"type":e.type=r;break;case"path":e.path=z.studioPath.toString(function(e){let t=[];for(let n of e.split(".")){let e=wI.exec(n);if(e){t.push(e[1],Number(e[2]));continue}let r=wO.exec(n);if(r){t.push(r[1],[Number(r[2]),Number(r[3])]);continue}let i=wB.exec(n);if(i){t.push(i[1],{_key:i[2]});continue}t.push(n)}return t}(r));break;case"base":e.baseUrl=decodeURIComponent(r);break;case"perspective":e.perspective=r;break;case"tool":e.tool=r;break;case"workspace":e.workspace=r;break;case"projectId":e.projectId=r;break;case"dataset":e.dataset=r}return e},{});if(w_(t))return t;return}}e.s(["createDataAttribute",0,function e(t){function n(e){return e?"string"==typeof e?z.studioPath.fromString(e):e:[]}function r(e){if(!e.id)throw Error("`id` is required to create a data attribute");if(!e.type)throw Error("`type` is required to create a data attribute");if(!e.path||!e.path.length)throw Error("`path` is required to create a data attribute");return function(e){let{id:t,path:n,baseUrl:r,tool:i,workspace:o,type:s}=e;return w_(e)?[["id",(0,z.getPublishedId)(t)],["type",s],["path",wP(z.studioPath.fromString(n))],["base",encodeURIComponent(r)],["workspace",o],["tool",i]].filter(([,e])=>!!e).map(e=>e.join("=")).join(";"):void 0}({baseUrl:e.baseUrl||"/",workspace:e.workspace,tool:e.tool,type:e.type,id:e.id,path:"str
1068ing"==typeof e.path?e.path:z.studioPath.toString(e.path),perspective:e.perspective})}let i=e=>r({...t,path:[...n(t.path),...n(e)]});return i.toString=function(){return r(t)},i.combine=function(n){return e({...t,...n})},i.scope=function(r){return e({...t,path:[...n(t.path),...n(r)]})},i},"decodeSanityNodeData",0,wD,"pathToUrlString",0,wP],19867);var wF={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},wZ={0:8203,1:8204,2:8205,3:65279},wU={0:String.fromCodePoint(wZ[0]),1:String.fromCodePoint(wZ[1]),2:String.fromCodePoint(wZ[2]),3:String.fromCodePoint(wZ[3])},wG=[,,,,].fill(String.fromCodePoint(wZ[0])).join(""),wq=Object.fromEntries(Object.entries(wU).map(e=>[e[1],+e[0]])),wY=Object.fromEntries(Object.entries(wF).map(e=>e.reverse())),wX=`${Object.values(wF).map(e=>`\\u{${e.toString(16)}}`).join("")}`,wK=RegExp(`[${wX}]{4,}`,"gu");let wJ=[];for(let e=0;e<256;++e)wJ.push((e+256).toString(16).slice(1));let wQ=new Uint8Array(16);var w1="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);function w0(e,t,n){if(w1&&!e)return w1();let r=(e=e||{}).random??e.rng?.()??function(){if(!d){if(typeof crypto>"u"||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");d=crypto.getRandomValues.bind(crypto)}return d(wQ)}();if(r.length<16)throw Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(e,t=0){return(wJ[e[t+0]]+wJ[e[t+1]]+wJ[e[t+2]]+wJ[e[t+3]]+"-"+wJ[e[t+4]]+wJ[e[t+5]]+"-"+wJ[e[t+6]]+wJ[e[t+7]]+"-"+wJ[e[t+8]]+wJ[e[t+9]]+"-"+wJ[e[t+10]]+wJ[e[t+11]]+wJ[e[t+12]]+wJ[e[t+13]]+wJ[e[t+14]]+wJ[e[t+15]]).toLowerCase()}(r)}function w5(e){let t=e.getBoundingClientRect();return{x:t.x+scrollX,y:t.y+scrollY,w:t.width,h:t.height}}function w2(e,t,n){return"x"===n?{x:e.x+t,y:e.y,w:e.w-2*t,h:e.h}:{x:e.x,y:e.y+t,w:e.w,h:e.h-2*t}}function w3(e,t){return e.x===t.x&&e.y===t.y&&e.w===t.w&&e.h===t.h}function w4(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function w6(e,t,n){let r,i,o={x:e.x1,y:e.y1};if(t.some(e=>{var t;let r,i;return t=w2(e,Math.min(e.w,e.h)/10,"horizontal"===n?"x":"y"),r=o.x>=t.x&&o.x<=t.x+t.w,i=o.y>=t.y&&o.y<=t.y+t.h,r&&i}))return null;for(let s of t){let t=function(e,t){let n=[{x1:t.x,y1:t.y,x2:t.x+t.w,y2:t.y},{x1:t.x+t.w,y1:t.y,x2:t.x+t.w,y2:t.y+t.h},{x1:t.x+t.w,y1:t.y+t.h,x2:t.x,y2:t.y+t.h},{x1:t.x,y1:t.y+t.h,x2:t.x,y2:t.y}],r=[];for(let t=0;t<n.length;t++){let i=function(e,t){let{x1:n,y1:r,x2:i,y2:o}=e,{x1:s,y1:a,x2:l,y2:d}=t;if(n===i&&r===o||s===l&&a===d)return!1;let u=(d-a)*(i-n)-(l-s)*(o-r);if(0===u)return!1;let c=((l-s)*(r-a)-(d-a)*(n-s))/u,h=((i-n)*(r-a)-(o-r)*(n-s))/u;return!(c<0)&&!(c>1)&&!(h<0)&&!(h>1)&&{x:n+c*(i-n),y:r+c*(o-r)}}(e,n[t]);if(i){let e=!1;for(let t=0;t<r.length;t++)r[t].x===i.x&&r[t].y===i.y&&(e=!0);e||r.push(i)}}return 0!==r.length&&r.sort((t,n)=>w4(t,{x:e.x1,y:e.y1})-w4(n,{x:e.x1,y:e.y1}))}(e,w2(s,Math.min(s.w,s.h)/10,"horizontal"===n?"x":"y"));if(t){let e=t[0];r?w4(o,e)<w4(o,r)&&(r=e,i=s):(r=e,i=s)}}return i||null}function w8(e,t,n){let{x:r,y:i,w:o,h:s}=e,{x:a,y:l}=n;return{x:a+(r-a)*t,y:l+(i-l)*t,w:o*t,h:s*t}}function w9(e){let t=Math.max(0,Math.min(...e.map(e=>e.y))),n=Math.min(document.body.scrollHeight,Math.max(...e.map(e=>e.y+e.h)));return{min:t,max:n,height:n-t}}function w7(e,t){return t.find(t=>w3(w5(t.elements.element),e))?.sanity}function be(e,t,n){return Object.values(t).every(e=>null===e)?null:"horizontal"===n?{left:t.left?{rect:t.left,sanity:w7(t.left,e)}:null,right:t.right?{rect:t.right,sanity:w7(t.right,e)}:null}:{top:t.top?{rect:t.top,sanity:w7(t.top,e)}:null,bottom:t.bottom?{rect:t.bottom,sanity:w7(t.bottom,e)}:null}}function bt(e){let t=document.body.getBoundingClientRect();return{x:Math.max(t.x,Math.min(e.clientX,t.x+t.width)),y:e.clientY+window.scrollY}}function bn(e,t,n){let r=w5(t),i=[...t.querySelectorAll(":where(h1, h2, h3, h4, p, a, img, span, button):not(:has(*))")];e.x<=r.x&&(e.x=r.x),e.x>=r.x+r.w&&(e.x=r.x+r.w),e.y>=r.y+r.h&&(e.y=r.y+r.h),e.y<=r.y&&(e.y=r.y);let o=i.map(e=>{let t=w8(w5(e),n,{x:r.x,y:r.y});return{x:t.x-r.x,y:t.y-r.y,w:t.w,h:t.h,tagName:e.tagName}});return{offsetX:(r.x-e.x)*n,offsetY:(r.y-e.y)*n,w:r.w*n,h:r.h*n,maxWidth:r.w*n*.75,childRects:o}}async function br(e,t,n,r,i){return new Promise(o=>{e.addEventListener("transitionend",()=>{setTimeout(()=>{r({type:"overlay/dragEndMinimapTransition"})},2*i),o()},{once:!0}),r({type:"overlay/dragStartMinimapTransition"}),r({type:"overlay/dragToggleMinimap",display:!0}),document.body.style.overflow="hidden",document.body.style.height="100%",document.documentElement.style.overflow="initial",document.documentElement.style.height="100%",setTimeout(()=>{e.style.transformOrigin="50% 0px",e.style.transition="transform 150ms ease",e.style.transform=`translate3d(0px, ${-n+scrollY}px, 0px) scale(${t})`},25)})}function bi(e){let t,n,r=(t=Math.max(0,Math.min(...e.map(e=>e.x))),{min:t,max:n=Math.min(document.body.offsetWidth,Math.max(...e.map(e=>e.x+e.w))),width:n-t}),i=w9(e),o=r.min>8&&r.min+r.width<=window.innerWidth-8,s=i.min>8&&i.min+i.height<=document.body.scrollHeight-8,a=o&&s;return{x:a?r.min-8:r.min,y:a?i.min-8:i.min,w:a?r.width+16:r.width,h:a?i.height+16:i.height}}async function bo(e,t,n,r,i,o){return new Promise(s=>{if(1===new DOMMatrix(window.getComputedStyle(t).transform).a)return;let a=n-window.innerHeight,l=scrollY;(e-=window.innerHeight/2)<0&&(e=0),t.addEventListener("transitionend",()=>{t.style.transition="none",t.style.transform="none",scrollTo({top:e,behavior:"instant"}),setTimeout(()=>{r({type:"overlay/dragEndMinimapTransition"}),r({type:"overlay/dragToggleMinimap",display:!1})},2*i),s()},{once:!0}),r({type:"overlay/dragStartMinimapTransition"}),t.style.transform=`translateY(${Math.max(l-e,-a+l)}px) scale(1)`,o&&(document.body.style.overflow=o.body.overflow,document.body.style.height=o.body.height,document.documentElement.style.overflow=o.documentElement.overflow,document.documentElement.style.height=o.documentElement.height)})}let bs=!1,ba={y:0},bl={x:0,y:0},bd=typeof document>"u"?0:document.documentElement.scrollHeight,bu=null,bc=e=>e instanceof HTMLElement||e instanceof SVGElement,bh=e=>e&&bc(e)?e.dataset?.sanityOverlayElement?e:bh(e.parentElement):null;function bf(e){return wK.lastIndex=0,wK.test(e)}function bp(e,t=!1){return bf(e)?function(e,t=!1){try{let n=function(e){let t=e.match(wK);if(t)return function(e,t=!1){let n=Array.from(e),r=1/0,i=-1;for(let e=0;e<n.length;++e)n[e]===wG[0]&&n[e+1]===wG[1]&&n[e+2]===wG[2]&&n[e+3]===wG[3]&&(r=Math.min(r,e),i=Math.max(i,e));if(-1===i)return function(e,t){var n;let r=[];for(let t=.5*e.length;t--;){let n=`${wY[e[2*t].codePointAt(0)]}${wY[e[2*t+1].codePointAt(0)]}`;r.unshift(String.fromCharCode(parseInt(n,16)))}let i=[],o=[r.join("")],s=10;for(;o.length;){let e=o.shift();try{if(i.push(JSON.parse(e)),t)break}catch(r){if(!s--)throw r;let t=+(null==(n=r.message.match(/\sposition\s(\d+)$/))?void 0:n[1]);if(!t)throw r;o.unshift(e.substring(0,t),e.substring(t))}}return i}(n,t);for(let e=r;e<=i;++e)if(!((n.length-e)%4))try{let r=n.slice(e+4),i=new Uint8Array(r.length/4);for(let e=0;e<i.length;e++)i[e]=wq[r[4*e]]<<6|wq[r[4*e+1]]<<4|wq[r[4*e+2]]<<2|wq[r[4*e+3]];let o=new TextDecoder().decode(i);if(t){let e=o.indexOf("\0");return -1===e&&(e=o.length),[JSON.parse(o.slice(0,e))]}
1068return o.split("\0").filter(Boolean).map(e=>JSON.parse(e))}catch{}return[]}(t[0],!0)[0]}(e);return n&&"sanity.io"===n.origin?(t&&(n.href=n.href?.replace(".alt","")),n):null}catch(t){return console.error("Failed to decode stega for string: ",e,"with the original error: ",t),null}}(e,t):null}function bm(e){return"path"in e}function bg(e){if(!e.length||!e.map(e=>bm(e)).every((e,t,n)=>e===n[0]))return;if(!bm(e[0]))return e[0];let t=e.filter(bm),n=e[0],r=["projectId","dataset","id","baseUrl","workspace","tool"];for(let e=1;e<t.length;e++){let i=t[e];if(r.some(e=>i[e]!==n?.[e])){n=void 0;break}n={...n,path:function(e,t){let n=e.split("."),r=t.split("."),i=Math.min(n.length,r.length);return n=n.slice(0,i).reverse(),r=r.slice(0,i).reverse(),n.reduce((e,t,n)=>t===r[n]?[...e,t]:[],[]).reverse().join(".")}(n.path,i.path)}}return n}function bv(e){let t=e.lastIndexOf(".");return e.substring(t,e.length).includes("[")}function by(e){if(!bv(e))return null;let t=e.split(".");return t[t.length-1]=t[t.length-1].replace(/\[.*?\]/g,"[]"),t.join(".")}function bw(e,t){return!!bv(e.path)&&!!bv(t.path)&&by(e.path)===by(t.path)}function bb(e,t,n,r){if(!e.getAttribute("data-sanity")||e.getAttribute("data-sanity-drag-disable")||!t||!bm(t)||!bv(t.path))return null;let i=e.getAttribute("data-sanity-drag-group"),o=[...n].reduce((e,n)=>{let o=r.get(n),s=n.getAttribute("data-sanity-drag-disable"),a=n.getAttribute("data-sanity-drag-group"),l=null!==n.getAttribute("data-sanity");return o?.sanity&&!s&&bm(o.sanity)&&bw(t,o.sanity)&&(null===i||i===a)&&l&&e.push(o),e},[]);return o.length<=1?null:o}function bx({handler:e,overlayElement:t,inFrame:n,inPopUp:r,optimisticActorReady:i}){let o=!1,s=new Map,a=new WeakMap,l=new Set,d=new WeakMap,u=new WeakMap,c,h,f,p=!1,m=[],g=()=>m[m.length-1];function v(e,t){e.removeEventListener("click",t.click,{capture:!0}),e.removeEventListener("contextmenu",t.contextmenu,{capture:!0}),e.removeEventListener("mousemove",t.mousemove,{capture:!0}),e.removeEventListener("mousedown",t.mousedown,{capture:!0}),e.removeEventListener("mouseenter",t.mouseenter),e.removeEventListener("mouseleave",t.mouseleave)}function y({id:t,elements:n,handlers:r}){let{element:i,measureElement:o}=n;i.addEventListener("click",r.click,{capture:!0}),i.addEventListener("contextmenu",r.contextmenu,{capture:!0}),i.addEventListener("mousemove",r.mousemove,{once:!0,capture:!0}),i.addEventListener("mousedown",r.mousedown,{capture:!0}),c.observe(o),e({type:"element/activate",id:t})}function w({id:t,elements:n,handlers:r}){let{element:i,measureElement:o}=n;v(i,r),c.unobserve(o),m=m.filter(e=>e!==i),e({type:"element/deactivate",id:t})}function b(t){if(!(!n&&!r||!i))for(let n of m){if(t===n){let n=a.get(t)?.sanity;if(!n||!bm(n))return;if(bb(t,n,l,a)){let n=t.style.cursor;n&&u.set(t,n),e({type:"overlay/setCursor",element:t,cursor:"move"});continue}}x(n)}}function x(t){let n=u.get(t);e({type:"overlay/setCursor",element:t,cursor:n})}function C(u){for(let c of function e(t){let n=[];function r(e,t,n,r){let i=wD(t);if(!i)return;let o=function e(t){let{display:n}=window.getComputedStyle(t);if("inline"!==n)return t;let r=t.parentElement;return r?e(r):null}(e);if(o)return{elements:{element:e,measureElement:o},sanity:i,reason:n,preventGrouping:r}}if(t)for(let i of t.childNodes)!function t(i,o){let s=function(t){let{nodeType:n,parentElement:i,textContent:o}=t;if(t.nodeType===Node.ELEMENT_NODE&&t.dataset?.sanityEditTarget!==void 0){let n=bg(e(t).map(e=>"element"===e.type?e.commonSanity:void 0).filter(e=>void 0!==e));if(n)return{reason:"edit-target",elements:{element:t,measureElement:t},sanity:n}}else if(n===Node.TEXT_NODE&&i&&o){let e=bp(o);return e?r(i,e,"stega-text",!0):void 0}else if(t.nodeType===Node.ELEMENT_NODE){if("SCRIPT"===t.tagName||"SANITY-VISUAL-EDITING"===t.tagName)return;if(t.dataset?.sanity)return r(t,t.dataset.sanity,"data-attribute",!!(t.textContent&&bf(t.textContent)));if(t.dataset?.sanityEditInfo)return r(t,t.dataset.sanityEditInfo,"data-attribute",!!(t.textContent&&bf(t.textContent)));if("IMG"===t.tagName){let e=bp(t.alt,!0);return e?r(t,e,"stega-attribute"):void 0}if("TIME"===t.tagName){let e=bp(t.dateTime,!0);return e?r(t,e,"stega-attribute"):void 0}if("SVG"===t.tagName.toUpperCase()){if(!t.ariaLabel)return;let e=bp(t.ariaLabel,!0);return e?r(t,e,"stega-attribute"):void 0}}}(i),a=o;if(i.nodeType===Node.ELEMENT_NODE&&i.dataset?.sanityEditGroup!==void 0&&(a={type:"group",elements:{element:i,measureElement:i},targets:[]},n.push(a)),s){let e={elements:s.elements,sanity:s.sanity,reason:s.reason};a&&!s.preventGrouping?a.targets.push(e):n.push({elements:s.elements,type:"element",targets:[e]})}if(i.nodeType===Node.ELEMENT_NODE&&"IMG"!==i.tagName&&"SCRIPT"!==i.tagName&&"SANITY-VISUAL-EDITING"!==i.tagName)for(let e of i.childNodes)t(e,a)}(i,void 0);return n.map(e=>{if(0===e.targets.length&&"group"===e.type)return{...e,commonSanity:void 0};let t=1===e.targets.length?e.targets[0].sanity:bg(e.targets.map(({s
1068anity:e})=>e).filter(e=>void 0!==e))||e.targets[0].sanity;return t?{...e,commonSanity:t}:null}).filter(e=>null!==e)}(u)){if("group"===c.type){for(let e of c.targets){let t=a.get(e.elements.element);t&&"element"===t.type&&k(e.elements.element)}0===c.targets.length&&k(c.elements.element)}if(!c.commonSanity)continue;let{element:u}=c.elements;a.has(u)?function(t){let{element:n}=t.elements,r=a.get(n);r&&(a.set(n,{...r,sanity:t.commonSanity}),e({type:"element/update",elementType:r.type,id:r.id,rect:w5(n),sanity:t.commonSanity,targets:t.targets.map(e=>({sanity:e.sanity,element:e.elements.element}))}))}(c):function({type:u,elements:c,commonSanity:f,targets:v}){let{element:w,measureElement:C}=c,k={click(t){let r=t.target;if(w===g()&&w.contains(r)){n&&(t.preventDefault(),t.stopPropagation());let r=a.get(w)?.sanity;r&&!p&&e({type:"element/click",id:j,sanity:r})}},contextmenu(t){if(!("path"in f)||!n&&!r||!i||!f.path.split(".").pop()?.includes("[_key=="))return;let o=t.target;w===g()&&w.contains(o)&&((n||r)&&(t.preventDefault(),t.stopPropagation()),e({type:"element/contextmenu",id:j,position:{x:t.clientX,y:t.clientY},sanity:f}))},mousedown(t){if(t.preventDefault(),t.currentTarget!==m.at(-1)||w.getAttribute("data-sanity-drag-disable")||!n&&!r||!i)return;let o=a.get(w)?.sanity;if(!o||!bm(o)||!bv(o.path))return;let s=bb(w,f,l,a);s&&function(e){var t;let{mouseEvent:n,element:r,overlayGroup:i,handler:o,target:s,onSequenceStart:a,onSequenceEnd:l}=e;if(0!==n.button)return;window.focus();let d=i.map(e=>w5(e.elements.element)),u=r.getAttribute("data-sanity-drag-flow")||((t=d).some(e=>t.filter(t=>!w3(e,t)).some(t=>e.y===t.y))?"horizontal":"vertical"),c=r.getAttribute("data-sanity-drag-group"),h=!!r.getAttribute("data-sanity-drag-minimap-disable"),f=!!r.getAttribute("data-sanity-drag-prevent-default"),p=r.getAttribute("data-unstable_sanity-drag-document-height"),m=r.getAttribute("data-unstable_sanity-drag-group-height"),g=null,v=bt(n),y=document.body,{minYScaled:w,scaleFactor:b}=function(e,t){let n=t||w9(e).height,r=(n+=200)>window.innerHeight?window.innerHeight/n:1,{min:i}=w9(e.map(e=>w8(e,r,{x:window.innerWidth/2,y:0})));return{scaleFactor:r,minYScaled:i-100*r}}(d,m?~~m:null),x=!1,C=!1,k=!0;bs||(bu={body:{overflow:window.getComputedStyle(document.body).overflow,height:window.getComputedStyle(document.body).height},documentElement:{overflow:window.getComputedStyle(document.documentElement).overflow,height:window.getComputedStyle(document.documentElement).height}},bd=p?~~p:document.documentElement.scrollHeight);let j=setInterval(()=>{d=i.map(e=>w5(e.elements.element))},150),M=()=>{b>=1||(o({type:"overlay/dragUpdateSkeleton",skeleton:bn(bl,r,b)}),o({type:"overlay/dragToggleMinimapPrompt",display:!1}),br(y,b,w,o,150).then(()=>{setTimeout(()=>{o({type:"overlay/dragUpdateGroupRect",groupRect:bi(d)})},300)}))},L=e=>{Math.abs(e.deltaY)>=10&&b<1&&!bs&&!C&&!h&&k&&(o({type:"overlay/dragToggleMinimapPrompt",display:!0}),C=!0),!e.shiftKey||bs||h||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),bs=!0,setTimeout(()=>{M()},50))},S=e=>{if(e.preventDefault(),ba=function(e){let t=document.body,n=window.getComputedStyle(t).transform;if("none"===n)return{x:e.x,y:e.y};let r=new DOMMatrix(n).inverse(),i=new DOMPoint(e.x,e.y).matrixTransform(r);return{x:i.x,y:i.y}}(bl=bt(e)),4>Math.abs(w4(bl,v)))return;if(!x){let e=bi(d),t=bn(bl,r,1);o({type:"overlay/dragStart",flow:u}),o({type:"overlay/dragUpdateSkeleton",skeleton:t}),o({type:"overlay/dragUpdateGroupRect",groupRect:e}),x=!0,a()}o({type:"overlay/dragUpdateCursorPosition",x:bl.x,y:bl.y}),!e.shiftKey||bs||h||(window.dispatchEvent(new CustomEvent("unstable_sanity/dragApplyMinimap")),bs=!0,setTimeout(()=>{M()},50));let t=function(e,t,n){if("horizontal"===n){let r={x1:e.x,y1:e.y,x2:e.x-1e8,y2:e.y},i={x1:e.x,y1:e.y,x2:e.x+1e8,y2:e.y};return{left:w6(r,t,n),right:w6(i,t,n)}}{let r={x1:e.x,y1:e.y,x2:e.x,y2:e.y-1e8},i={x1:e.x,y1:e.y,x2:e.x,y2:e.y+1e8};return{top:w6(r,t,n),bottom:w6(i,t,n)}}}(bl,d,u);JSON.stringify(g)!==JSON.stringify(t)&&o({type:"overlay/dragUpdateInsertPosition",insertPosition:be(i,g=t,u)})},E=()=>{k=!1,o({type:"overlay/dragEnd",target:s,insertPosition:g?be(i,g,u):null,dragGroup:c,flow:u,preventInsertDefault:f}),C&&o({type:"overlay/dragToggleMinimapPrompt",display:!1}
1068),bs||(clearInterval(j),l(),A(),$()),H()},R=e=>{"Shift"===e.key&&bs&&(bs=!1,o({type:"overlay/dragUpdateSkeleton",skeleton:bn(bl,r,1/b)}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{bo(ba.y,y,bd,o,150,bu)},50),o({type:"overlay/dragUpdateGroupRect",groupRect:null}),k||(clearInterval(j),H(),A(),$(),l()))},V=()=>{o({type:"overlay/dragUpdateGroupRect",groupRect:null}),window.dispatchEvent(new CustomEvent("unstable_sanity/dragResetMinimap")),setTimeout(()=>{bo(ba.y,y,bd,o,150,bu).then(()=>{bs=!1})},50),clearInterval(j),H(),A(),$(),l()},H=()=>{window.removeEventListener("mousemove",S),window.removeEventListener("wheel",L),window.removeEventListener("mouseup",E)},$=()=>{window.removeEventListener("keyup",R)},A=()=>{window.removeEventListener("blur",V)};window.addEventListener("blur",V),window.addEventListener("keyup",R),window.addEventListener("wheel",L),window.addEventListener("mousemove",S),window.addEventListener("mouseup",E)}({element:w,handler:e,mouseEvent:t,overlayGroup:s,target:o,onSequenceStart:()=>{p=!0},onSequenceEnd:()=>{setTimeout(()=>{p=!1},250)}})},mousemove(e){k.mouseenter(e);let t=e.currentTarget;t&&(t.addEventListener("mouseenter",k.mouseenter),t.addEventListener("mouseleave",k.mouseleave))},mouseenter(){document.querySelector("vercel-live-feedback")&&w.closest("[data-vercel-edit-info]")||w.closest("[data-vercel-edit-target]")||(m.push(w),e({type:"element/mouseenter",id:j,rect:w5(w)}),b(w))},mouseleave(n){function r(){m.pop();let t=g();if(e({type:"element/mouseleave",id:j}),t){b(t);let n=a.get(t);n&&e({type:"element/mouseenter",id:n.id,rect:w5(t)})}x(w)}let{relatedTarget:i}=n,o=bh(i),s=t.contains(o);if(bc(o)&&s)return function e(t){let n=i=>{let{relatedTarget:o}=i;bh(o)?o&&bc(o)&&(t.removeEventListener("mouseleave",n),e(o)):(t.removeEventListener("mouseleave",n),r())};t.addEventListener("mouseleave",n)}(o);r()}},j=w0(),M={type:u,id:j,elements:c,sanity:f,handlers:k};l.add(w),d.set(C,w),s.set(j,w),a.set(w,M),h?.observe(w),e({type:"element/register",elementType:u,id:j,element:w,rect:w5(w),sanity:f,dragDisabled:!!w.getAttribute("data-sanity-drag-disable"),targets:v.map(e=>({sanity:e.sanity,element:e.elements.element}))}),o&&y(M)}(c)}}function k(t){let n=a.get(t);if(n){let{id:r,handlers:i}=n;v(t,i),c.unobserve(t),a.delete(t),l.delete(t),s.delete(r),e({type:"element/unregister",id:r})}}function j(t){let n=a.get(t);n&&e({type:"element/updateRect",id:n.id,rect:w5(t)})}function M(e){if(o)for(let t of e){let{target:e}=t,n=bc(e)&&a.get(e);n&&(t.isIntersecting?y(n):w(n))}}function L(t){let n=bh(t.target);if(n){"capture"===n.dataset.sanityOverlayElement&&(t.preventDefault(),t.stopPropagation());return}m=[],e({type:"overlay/blur"})}function S(){m=[],e({type:"overlay/reset-mouse-state"})}function E(){for(let e of l)j(e)}function R(t){"Escape"===t.key&&(m=[],e({type:"overlay/blur"}))}function V(e){let{target:t}=e;if(!(t===window.document||!bc(t)))for(let e of l)t.contains(e)&&j(e)}function H(){o||(h=new IntersectionObserver(M,{threshold:.3}),l.forEach(e=>h.observe(e)),e({type:"overlay/activate"}),o=!0)}function $(){o&&(h?.disconnect(),l.forEach(e=>{let t=a.get(e);t&&w(t)}),e({type:"overlay/deactivate"}),o=!1)}function A(t){let{id:n}=t.detail,r=s.get(n);if(!r)return;let i=a.get(r)?.sanity;i&&e({type:"element/click",id:n,sanity:i})}return window.document.fonts.ready.then(()=>{for(let e of l)j(e)}),window.addEventListener("click",L),window.addEventListener("contextmenu",L),window.addEventListener("sanity-overlay/exclusive-plugin-closed",S),window.addEventListener("sanity-overlay/label-click",A),window.addEventListener("keydown",R),window.addEventListener("resize",E),window.addEventListener("scroll",V,{capture:!0,passive:!0}),c=new ResizeObserver(function(e){for(let t of e){let e=t.target;if(bc(e)){let t=d.get(e);if(!t)return;j(t)}}}),(f=new MutationObserver(function(e){let n=!1;for(let r of e){let{target:e,type:i}=r,o="characterData"===i?e.parentElement:e;if(!(o===t||t.contains(o))&&(n=!0,bc(o))){let e=o.parentElement?.closest("[data-sanity-edit-group]")||null;C({childNodes:[bc(e)?e:o]})}}if(n)for(let e of l)e.isConnected||k(e),a.get(e)?.type!=="group"||e.hasAttribute("data-sanity-edit-group")||k(e)})).observe(document.body,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),C(document.body),H(),{activate:H,deactivate:$,destroy:function(){window.removeEventListener("click",L),window.removeEventListener("contextmenu",L),window.removeEventListener("sanity-overlay/exclusive-plugin-closed",S),window.removeEventListener("sanity-overlay/label-click",A),window.removeEventListener("keydown",R),window.removeEventListener("resize",E),window.removeEventListener("scroll",V),f.disconnect(),c.disconnect(),l.forEach(e
1068=>{k(e)}),s.clear(),l.clear(),m=[],$()}}}let bC=(0,B.createContext)(null);e.s(["SharedStateContext",0,bC,"createOverlayController",0,bx,"sanityNodesExistInSameArray",0,bw,"useOptimistic",0,function(e,t){let n,r,i,o,s,a,l,d,u,c=(0,I.c)(17),[h,f]=(0,B.useState)(!0),[p,m]=(0,B.useState)(e),[g,v]=(0,B.useState)(null),[y,w]=(0,B.useState)(e),b=ws(),x=(0,B.useRef)(null);c[0]!==t?(n=()=>{x.current=(e,n)=>(Array.isArray(t)?t:[t]).reduce((t,n)=>n(t,{document:e.document,id:(0,z.getPublishedId)(e.id),originalId:e.id,type:e.type}),n)},r=[t],c[0]=t,c[1]=n,c[2]=r):(n=c[1],r=c[2]),(0,B.useInsertionEffect)(n,r),c[3]!==e?(i=()=>w(e),c[3]=e,c[4]=i):i=c[4];let C=(0,B.useRef)(i);return c[5]!==e?(o=()=>{C.current=()=>w(e)},s=[e],c[5]=e,c[6]=o,c[7]=s):(o=c[6],s=c[7]),(0,B.useInsertionEffect)(o,s),c[8]!==b?(a=()=>{let e;if(y6(b))return;let t=b.on("rebased.local",t=>{let n={document:t.document,id:t.id,originalId:(0,z.getPublishedId)(t.id),type:"mutate"};m(e=>x.current?x.current(n,e):e),v(n),C.current(),f(!1),clearTimeout(e)}),n=b.on("pristine",()=>{e=setTimeout(()=>{(0,B.startTransition)(()=>f(!0))},15e3)});return()=>{t.unsubscribe(),n.unsubscribe()}},l=[b],c[8]=b,c[9]=a,c[10]=l):(a=c[9],l=c[10]),(0,B.useEffect)(a,l),c[11]!==g||c[12]!==y||c[13]!==e||c[14]!==h?(d=()=>{if(!h){if(!g)throw Error("No last event found when syncing passthrough");y!==e&&(0,B.startTransition)(()=>{m(x.current?x.current(g,e):e),w(e)})}},u=[g,y,e,h],c[11]=g,c[12]=y,c[13]=e,c[14]=h,c[15]=d,c[16]=u):(d=c[15],u=c[16]),(0,B.useEffect)(d,u),h?e:p},"v4",0,w0],99670);let bk=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n};var bj=(S={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},function(e){return null==S?void 0:S[e]}),bM=e.g&&e.g.Object===Object&&e.g,bL="object"==typeof self&&self&&self.Object===Object&&self,bS=(bM||bL||Function("return this")()).Symbol;let bE=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};var bR=Array.isArray,bV=Object.prototype,bH=bV.hasOwnProperty,b$=bV.toString,bA=bS?bS.toStringTag:void 0;let bT=function(e){var t=bH.call(e,bA),n=e[bA];try{e[bA]=void 0;var r=!0}catch(e){}var i=b$.call(e);return r&&(t?e[bA]=n:delete e[bA]),i};var b_=Object.prototype.toString,bP=bS?bS.toStringTag:void 0;let bI=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":bP&&bP in Object(e)?bT(e):b_.call(e)},bO=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==bI(e)};var bB=1/0,bW=bS?bS.prototype:void 0,bz=bW?bW.toString:void 0;let bN=function e(t){if("string"==typeof t)return t;if(bR(t))return bE(t,e)+"";if(bO(t))return bz?bz.call(t):"";var n=t+"";return"0"==n&&1/t==-bB?"-0":n},bD=function(e){return null==e?"":bN(e)};
1068var bF=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bZ=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),bU=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,bG=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bq="\\ud800-\\udfff",bY="\\u2700-\\u27bf",bX="a-z\\xdf-\\xf6\\xf8-\\xff",bK="A-Z\\xc0-\\xd6\\xd8-\\xde",bJ="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",bQ="['’]",b1="["+bJ+"]",b0="["+bX+"]",b5="[^"+bq+bJ+"\\d+"+bY+bX+bK+"]",b2="(?:\\ud83c[\\udde6-\\uddff]){2}",b3="[\\ud800-\\udbff][\\udc00-\\udfff]",b4="["+bK+"]",b6="(?:"+b0+"|"+b5+")",b8="(?:"+b4+"|"+b5+")",b9="(?:"+bQ+"(?:d|ll|m|re|s|t|ve))?",b7="(?:"+bQ+"(?:D|LL|M|RE|S|T|VE))?",xe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",xt="[\\ufe0e\\ufe0f]?",xn="(?:\\u200d(?:"+["[^"+bq+"]",b2,b3].join("|")+")"+xt+xe+")*",xr="(?:"+["["+bY+"]",b2,b3].join("|")+")"+(xt+xe+xn),xi=RegExp([b4+"?"+b0+"+"+b9+"(?="+[b1,b4,"$"].join("|")+")",b8+"+"+b7+"(?="+[b1,b4+b6,"$"].join("|")+")",b4+"?"+b6+"+"+b9,b4+"+"+b7,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",xr].join("|"),"g");let xo=function(e,t,n){if(e=bD(e),void 0===(t=n?void 0:t)){var r;return(r=e,bG.test(r))?e.match(xi)||[]:e.match(bU)||[]}return e.match(t)||[]};var xs=RegExp("['’]","g");let xa=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},xl=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:xa(e,t,n)};var xd=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let xu=function(e){return xd.test(e)};var xc="\\ud800-\\udfff",xh="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xf="\\ud83c[\\udffb-\\udfff]",xp="[^"+xc+"]",xm="(?:\\ud83c[\\udde6-\\uddff]){2}",xg="[\\ud800-\\udbff][\\udc00-\\udfff]",xv="(?:"+xh+"|"+xf+")?",xy="[\\ufe0e\\ufe0f]?",xw="(?:\\u200d(?:"+[xp,xm,xg].join("|")+")"+xy+xv+")*",xb=RegExp(xf+"(?="+xf+")|"+("(?:"+[xp+xh+"?",xh,xm,xg,"["+xc+"]"].join("|"))+")"+(xy+xv+xw),"g");let xx=function(e){var t,n=xu(e=bD(e))?xu(t=e)?t.match(xb)||[]:t.split(""):void 0,r=n?n[0]:e.charAt(0),i=n?xl(n,1).join(""):e.slice(1);return r.toUpperCase()+i};var xC=(E=function(e,t,n){return e+(n?" ":"")+xx(t)},function(e){var t;return bk(xo(((t=bD(t=e))&&t.replace(bF,bj).replace(bZ,"")).replace(xs,"")),E,"")});function xk(e){let t=function e(t){var n;return!!(n=t)&&("object"==typeof n||"function"==typeof n)&&("reference"===t.name||e(t.type))}(e)&&1===(e.to??[]).length?e.to[0].icon:void 0;return e.icon??e.type?.icon??t}function xj(e,t){return{query:"change query"===t.type?t.query:e.query,groups:"select group"===t.type?e.groups.map(e=>({...e,selected:t.name===e.name})):e.groups,views:"toggle view"===t.type?e.views.map(e=>({...e,selected:t.name===e.name})):e.views}}let xM="all-items",xL={gridTemplateColumns:"repeat(auto-fill, minmax(118px, 1fr))",alignItems:"start"};function xS(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v=(0,I.c)(54),y=void 0===e.showIcons||e.showIcons,w=void 0===e.filter||"auto"===e.filter?e.schemaTypes.length>5:e.filter;v[0]!==e.groups||v[1]!==e.labels?(t=e.groups?[{name:xM,title:e.labels["insert-menu.filter.all-items"],selected:!0},...e.groups.map(xV)]:[],v[0]=e.groups,v[1]=e.labels,v[2]=t):t=v[2],v[3]!==e.views?(n=e.views??[{name:"list"}],v[3]=e.views,v[4]=n):n=v[4],v[5]!==n?(r=n.map(xR),v[5]=n,v[6]=r):r=v[6],v[7]!==t||v[8]!==r?(i={query:"",groups:t,views:r},v[7]=t,v[8]=r,v[9]=i):i=v[9];let[b,x]=(0,B.useReducer)(xj,i);if(v[10]!==e||v[11]!==w||v[12]!==y||v[13]!==b.groups||v[14]!==b.query||v[15]!==b.views){var C,k,j;let t,n,r,i=(C=e.schemaTypes,k=b.query,j=b.groups,C.filter(e=>{var t,n;let r,i;return t=e,(!(r=j.find(e=>e.selected))||r.name===xM||r.of?.includes(t.name))&&(n=e,i=k.trim().toLowerCase(),n.title?n.title?.toLowerCase().includes(i):n.name.includes(i))})),p=b.views.find(xE),m=w||b.views.length>1,g=b.groups&&b.groups.length>0,M=m||g;a=yj,f=0,s=gb,u="column",c="fill",v[25]!==M?(t=M?{style:{borderBottom:"1px solid var(--card-border-color)"},paddingBottom:1}:{},v[25]=M,v[26]=t):t=v[26],v[27]!==e.labels||v[28]!==w||v[29]!==m||v[30]!==b.query||v[3
10681]!==b.views?(n=m?(0,P.jsxs)(gb,{flex:"none",align:"center",paddingTop:1,paddingX:1,gap:1,children:[w?(0,P.jsx)(gm,{flex:1,children:(0,P.jsx)(yo,{autoFocus:!0,border:!1,fontSize:1,icon:oN,onChange:e=>{x({type:"change query",query:e.target.value})},placeholder:e.labels["insert-menu.search.placeholder"],value:b.query})}):null,b.views.length>1?(0,P.jsx)(gm,{flex:"none",children:(0,P.jsx)(xA,{views:b.views,onToggle:e=>{x({type:"toggle view",name:e})},labels:e.labels})}):null]}):null,v[27]=e.labels,v[28]=w,v[29]=m,v[30]=b.query,v[31]=b.views,v[32]=n):n=v[32],v[33]!==g||v[34]!==b.groups?(r=g?(0,P.jsx)(gm,{paddingTop:1,paddingX:1,children:(0,P.jsx)(yT,{space:1,children:b.groups.map(e=>(0,P.jsx)(y$,{id:`${e.name}-tab`,"aria-controls":`${e.name}-panel`,label:e.title??xC(e.name),selected:e.selected,onClick:()=>{x({type:"select group",name:e.name})}},e.name))})}):null,v[33]=g,v[34]=b.groups,v[35]=r):r=v[35],v[36]!==t||v[37]!==n||v[38]!==r?(h=(0,P.jsxs)(gm,{...t,children:[n,r]}),v[36]=t,v[37]=n,v[38]=r,v[39]=h):h=v[39],o=gm,l=1,d=0===i.length?(0,P.jsx)(gm,{padding:2,children:(0,P.jsx)(gv,{muted:!0,size:1,children:e.labels["insert-menu.search.no-results"]})}):p?"grid"===p.name?(0,P.jsx)(g1,{autoRows:"auto",flex:1,gap:1,style:xL,children:i.map(t=>(0,P.jsx)(x_,{icon:y?xk(t):void 0,onClick:()=>{e.onSelect(t)},previewImageUrl:p.previewImageUrl?.(t.name),schemaType:t},t.name))}):(0,P.jsx)(vq,{flex:1,space:1,children:i.map(t=>(0,P.jsx)(yR,{icon:y?xk(t):void 0,onClick:()=>{e.onSelect(t)},text:t.title??xC(t.name)},t.name))}):null,v[10]=e,v[11]=w,v[12]=y,v[13]=b.groups,v[14]=b.query,v[15]=b.views,v[16]=o,v[17]=s,v[18]=a,v[19]=l,v[20]=d,v[21]=u,v[22]=c,v[23]=h,v[24]=f}else o=v[16],s=v[17],a=v[18],l=v[19],d=v[20],u=v[21],c=v[22],h=v[23],f=v[24];return v[40]!==o||v[41]!==l||v[42]!==d?(p=(0,P.jsx)(o,{padding:l,children:d}),v[40]=o,v[41]=l,v[42]=d,v[43]=p):p=v[43],v[44]!==s||v[45]!==p||v[46]!==u||v[47]!==c||v[48]!==h?(m=(0,P.jsxs)(s,{direction:u,height:c,children:[h,p]}),v[44]=s,v[45]=p,v[46]=u,v[47]=c,v[48]=h,v[49]=m):m=v[49],v[50]!==a||v[51]!==m||v[52]!==f?(g=(0,P.jsx)(a,{padding:f,children:m}),v[50]=a,v[51]=m,v[52]=f,v[53]=g):g=v[53],g}function xE(e){return e.selected}function xR(e,t){return{...e,selected:0===t}}function xV(e){return{...e,selected:!1}}let xH={grid:si,list:sb},x$={grid:"insert-menu.toggle-grid-view.tooltip",list:"insert-menu.toggle-list-view.tooltip"};function xA(e){let t,n,r,i,o=(0,I.c)(11),s=e.views.findIndex(xT),a=e.views[s+1]??e.views[0],l=e.labels[x$[a.name]];o[0]!==l?(t=(0,P.jsx)(gv,{size:1,children:l}),o[0]=l,o[1]=t):t=o[1];let d=xH[a.name];return o[2]!==a.name||o[3]!==e?(n=()=>{e.onToggle(a.name)},o[2]=a.name,o[3]=e,o[4]=n):n=o[4],o[5]!==d||o[6]!==n?(r=(0,P.jsx)(gE,{mode:"bleed",icon:d,onClick:n}),o[5]=d,o[6]=n,o[7]=r):r=o[7],o[8]!==t||o[9]!==r?(i=(0,P.jsx)(yp,{content:t,placement:"top",portal:!0,children:r}),o[8]=t,o[9]=r,o[10]=i):i=o[10],i}function xT(e){return e.selected}function x_(e){let t,n,r,i,o,s,a,l,d,u=(0,I.c)(19),[c,h]=(0,B.useState)(!1),f=e.icon;u[0]===Symbol.for("react.memo_cache_sentinel")?(t={overflow:"hidden"},u[0]=t):t=u[0],u[1]===Symbol.for("react.memo_cache_sentinel")?(n={backgroundColor:"var(--card-muted-bg-color)",paddingBottom:"66.6%",position:"relative"},u[1]=n):n=u[1],u[2]!==f?(r=(0,n1.isValidElementType)(f)?(0,P.jsx)(gb,{align:"center",justify:"center",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,P.jsx)(gv,{size:1,children:(0,P.jsx)(f,{})})}):null,u[2]=f,u[3]=r):r=u[3],u[4]!==c||u[5]!==e.previewImageUrl?(i=!e.previewImageUrl||c?null:(0,P.jsx)("img",{src:e.previewImageUrl,style:{objectFit:"contain",width:"100%",height:"100%",position:"absolute",inset:0},onError:()=>{h(!0)}}),u[4]=c,u[5]=e.previewImageUrl,u[6]=i):i=u[6],u[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,P.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",boxShadow:"inset 0 0 0 0.5px var(--card-fg-color)",opacity:.1}}),u[7]=o):o=u[7],u[8]!==r||u[9]!==i?(s=(0,P.jsxs)(gm,{flex:"none",style:n,children:[r,i,o]}),u[8]=r,u[9]=i,u[10]=s):s=u[10];
1068let p=e.schemaType.title??e.schemaType.name;return u[11]!==p?(a=(0,P.jsx)(gm,{flex:"none",paddingX:2,paddingY:1,children:(0,P.jsx)(gv,{size:1,weight:"medium",children:p})}),u[11]=p,u[12]=a):a=u[12],u[13]!==s||u[14]!==a?(l=(0,P.jsxs)(gb,{direction:"column",gap:1,padding:1,children:[s,a]}),u[13]=s,u[14]=a,u[15]=l):l=u[15],u[16]!==e.onClick||u[17]!==l?(d=(0,P.jsx)(yR,{padding:0,radius:2,onClick:e.onClick,style:t,children:l}),u[16]=e.onClick,u[17]=l,u[18]=d):d=u[18],d}function xP(e){if(!e)return(0,P.jsx)(rJ,{});if("string"===e.type)return(0,P.jsx)(o3,{});if("number"===e.type)return(0,P.jsx)(oc,{});let{value:t}=e;if("icon"in e&&e.icon)return(0,P.jsx)("div",{dangerouslySetInnerHTML:{__html:e.icon}});let{type:n}=t;if("string"===n)return(0,P.jsx)(o3,{});if("boolean"===n)return(0,P.jsx)(rL,{});if("number"===n)return(0,P.jsx)(oc,{});if("array"===n||"union"===n)return(Array.isArray(t.of)?t.of:[t.of]).some(e=>"name"in e&&"block"===e.name)?(0,P.jsx)(rc,{}):(0,P.jsx)(so,{});if("object"===n){if("image"===e.name)return(0,P.jsx)(iF,{});if("block"===e.name)return(0,P.jsx)(o3,{})}return(0,P.jsx)(rJ,{})}let xI=nX`
1069  overflow-y: scroll;
1070  overscroll-behavior: contain;
1071  -ms-overflow-style: none;
1072  scrollbar-width: none;
1073
1074  &:before {
1075    content: '';
1076    display: block;
1077    height: calc(100% + 1px);
1078    position: absolute;
1079    top: 0;
1080    width: 100%;
1081    z-index: -1;
1082  }
1083`,xO=nK.div`
1084  height: 100%;
1085  inset: 0;
1086  pointer-events: all;
1087  position: fixed;
1088  width: 100%;
1089  display: flex;
1090  justify-content: center;
1091  align-items: center;
1092
1093  ${e=>e.$blockScroll&&xI}
1094`,xB=nK.div`
1095  background: transparent;
1096  height: 100%;
1097  inset: 0;
1098  position: absolute;
1099  width: 100%;
1100`,xW=e=>{let t,n=(0,I.c)(2);return n[0]!==e?(t=(0,P.jsx)(vC,{children:(0,P.jsx)(xz,{...e})}),n[0]=e,n[1]=t):t=n[1],t},xz=e=>{let t,n,r=(0,I.c)(7),{children:i,onDismiss:o,setBoundaryElement:s,blockScroll:a}=e,l=void 0===a||a;return r[0]!==o?(t=(0,P.jsx)(xB,{onMouseDownCapture:()=>{o?.()}}),r[0]=o,r[1]=t):t=r[1],r[2]!==l||r[3]!==i||r[4]!==s||r[5]!==t?(n=(0,P.jsxs)(xO,{"data-sanity-overlay-element":!0,ref:s,onClick:xN,$blockScroll:l,children:[t,i]}),r[2]=l,r[3]=i,r[4]=s,r[5]=t,r[6]=n):n=r[6],n};function xN(e){e.stopPropagation()}function xD(e){return{type:"log",name:e.name,version:e.version,description:e.description,maxSampleRate:e.maxSampleRate,schema:void 0}}let xF={"Visual Editing Drag Sequence Completed":xD({name:"Visual Editing Drag Sequence Completed",description:"An array is successfully reordered using drag and drop.",version:1}),"Visual Editing Drag Minimap Enabled":xD({name:"Visual Editing Drag Minimap Enabled",description:"The zoomed-out minimap view is enabled during a drag sequence.",version:1}),"Visual Editing Context Menu Item Removed":xD({name:"Visual Editing Context Menu Item Removed",description:"An item is removed using the Context Menu.",version:1}),"Visual Editing Context Menu Item Duplicated":xD({name:"Visual Editing Context Menu Item Duplicated",description:"An item is duplicated using the Context Menu.",version:1}),"Visual Editing Context Menu Item Moved":xD({name:"Visual Editing Context Menu Item Moved",description:"An item is moved using the Context Menu.",version:1}),"Visual Editing Context Menu Item Inserted":xD({name:"Visual Editing Context Menu Item Inserted",description:"An item is inserted using the Context Menu.",version:1}),"Visual Editing Insert Menu Item Inserted":xD({name:"Visual Editing Insert Menu Item Inserted",description:"An item is inserted using the Insert Menu.",version:1}),"Visual Editing Overlay Clicked":xD({name:"Visual Editing Overlay Clicked",description:"An Overlay is clicked.",version:1})},xZ=(0,B.createContext)(void 0);function xU(){let e=(0,B.useContext)(xZ);if(!e)throw Error("Telemetry context is missing");return e}let xG={"insert-menu.filter.all-items":"All","insert-menu.search.no-results":"No results","insert-menu.search.placeholder":"Filter types…","insert-menu.toggle-grid-view.tooltip":"Toggle grid view","insert-menu.toggle-list-view.tooltip":"Toggle list view"},xq=e=>{let t,n,r,i,o=(0,I.c)(11),{node:s,onSelect:a}=e;o[0]!==s.options?.insertMenu?(t=s.options?.insertMenu||{},o[0]=s.options?.insertMenu,o[1]=t):t=o[1];let l=t;o[2]!==l.views?(n=l.views?.map(xY),o[2]=l.views,o[3]=n):n=o[3];let d=n;
1100return o[4]!==s.of?(r=s.of.map(xX),o[4]=s.of,o[5]=r):r=o[5],o[6]!==l||o[7]!==a||o[8]!==r||o[9]!==d?(i=(0,P.jsx)(xS,{...l,labels:xG,schemaTypes:r,onSelect:a,views:d}),o[6]=l,o[7]=a,o[8]=r,o[9]=d,o[10]=i):i=o[10],i};function xY(e){return"grid"===e.name?{...e,previewImageUrl:t=>e.previewImageUrls?.[t]}:e}function xX(e){return{...e,icon:xP(e)}}let xK=e=>{let t,n,r,i,o,s=(0,I.c)(10);return s[0]!==e?({children:t,style:r,...n}=e,s[0]=e,s[1]=t,s[2]=n,s[3]=r):(t=s[1],n=s[2],r=s[3]),s[4]!==r?(i={...r,pointerEvents:"all"},s[4]=r,s[5]=i):i=s[5],s[6]!==t||s[7]!==n||s[8]!==i?(o=(0,P.jsx)("div",{style:i,"data-sanity-overlay-element":!0,...n,children:t}),s[6]=t,s[7]=n,s[8]=i,s[9]=o):o=s[9],o};function xJ(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||(p3(e)?!!e.href&&"ignore"!==e.rel:p2(e)&&"INPUT"===e.nodeName?"hidden"!==e.type&&"file"!==e.type&&!e.disabled:!!(p4(e)||p2(e)&&"SELECT"===e.nodeName||p2(e)&&"TEXTAREA"===e.nodeName)&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function xQ(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(p2(n)&&(xJ(n)||xQ(n)))return!0}return!1}B.Component;let x1=nK.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-1igauft-0"})`line-height:0;`,x0=nK(gm).withConfig({displayName:"ListBox",componentId:"sc-1igauft-1"})`& > ul{list-style:none;padding:0;margin:0;}`,x5=nQ`
1101  from {
1102    transform: rotate(0deg);
1103  }
1104
1105  to {
1106    transform: rotate(360deg);
1107  }
1108`,x2=nK(oq).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-1igauft-2"})`animation:${x5} 500ms linear infinite;`;function x3(e){let t,n,r,i=(0,e1.c)(11),{children:o,id:s,onSelect:a,selected:l,value:d}=e;i[0]!==a||i[1]!==d?(t=()=>{setTimeout(()=>{a(d)},0)},i[0]=a,i[1]=d,i[2]=t):t=i[2];let u=t;i[3]!==u?(n=e=>{var t;"Enter"!==e.key||p3(t=e.currentTarget)||p4(t)||u()},i[3]=u,i[4]=n):n=i[4];let c=n;return i[5]!==o||i[6]!==u||i[7]!==c||i[8]!==s||i[9]!==l?(r=(0,P.jsx)("li",{"aria-selected":l,"data-ui":"AutocompleteOption",id:s,role:"option",onClick:u,onKeyDown:c,children:o}),i[5]=o,i[6]=u,i[7]=c,i[8]=s,i[9]=l,i[10]=r):r=i[10],r}function x4(e,t){return"input/change"===t.type?{...e,activeValue:null,focused:!0,query:t.query}:"input/focus"===t.type?{...e,focused:!0}:"root/blur"===t.type?{...e,focused:!1,query:null}:"root/clear"===t.type?{...e,activeValue:null,query:null,value:null}:"root/escape"===t.type?{...e,focused:!1,query:null}:"root/open"===t.type?{...e,query:e.query||t.query}:"root/setActiveValue"===t.type?{...e,activeValue:t.value,listFocused:t.listFocused||e.listFocused}:"root/setListFocused"===t.type?{...e,listFocused:t.listFocused}:"value/change"===t.type?{...e,activeValue:t.value,query:null,value:t.value}:e}let x6=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],x8=["bottom-start","top-start"],x9=(e,t)=>t?t.value:e,x7=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1;function Ce({renderPopover:e,content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o,resultsPopoverElementRef:s}){return e({content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o},s)}function Ct(e){return 0===e?0:1===e||2===e?1:e-2}function Cn(e){return Math.max(e-1,0)}(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_,I,O,W,z,N,D,F,Z,U,G,q,Y,X,K,J,Q,ee,et,en,er,ei,eo,es,ea,el,ed,eu,ec,eh,ef,ep=(0,e1.c)(181);ep[0]!==e?({border:k,customValidity:n,disabled:r,filterOption:i,fontSize:j,icon:o,id:s,listBox:M,loading:a,onBlur:l,onChange:d,onFocus:u,onQueryChange:c,onSelect:h,openButton:f,openOnFocus:p,options:m,padding:L,popover:S,prefix:g,radius:E,readOnly:v,relatedElements:y,renderOption:w,renderPopover:b,renderValue:R,suffix:C,value:V,...x}=e,ep[0]=e,ep[1]=n,ep[2]=r,ep[3]=i,ep[4]=o,ep[5]=s,ep[6]=a,ep[7]=l,ep[8]=d,ep[9]=u,ep[10]=c,ep[11]=h,ep[12]=f,ep[13]=p,ep[14]=m,ep[15]=g,ep[16]=v,ep[17]=y,ep[18]=w,ep[19]=b,ep[20]=x,ep[21]=C,ep[22]=k,ep[23]=j,ep[24]=M,ep[25]=L,ep[26]=S,ep[27]=E,ep[28]=R,ep[29]=V):(n=ep[1],r=ep[2],i=ep[3],o=ep[4],s=ep[5],a=ep[6],l=ep[7],d=ep[8],u=ep[9],c=ep[10],h=ep[11],f=ep[12],p=ep[13],m=ep[14],g=ep[15],v=ep[16],y=ep[17],w=ep[18],b=ep[19],x=ep[20],C=ep[21],k=ep[22],j=ep[23],M=ep[24],L=ep[25],S=ep[26],E=ep[27],R=ep[28],V=ep[29]);let em=void 0===k||k,eg=void 0===j?2:j,ev=void 0===M?pQ:M,ey=void 0===L?3:L,ew=void 0===S?pQ:S,eb=void 0===E?2:E,ex=void 0===R?x9:R,eC=V||null,ek=V||null;ep[30]!==eC||ep[31]!==ek?(H={activeValue:eC,focused:!1,listFocused:!1,query:null,value:ek},ep[30]=eC,ep[31]=ek,ep[32]=H):H=ep[32];let[ej,eM]=(0,B.useReducer)(x4,H),{activeValue:eL,focused:eS,listFocused:eE,query:eR,value:eV}=ej;ep[33]!==eg||ep[34]!==ey?($=e=>{let{value:t}=e;
1108return(0,P.jsx)(gV,{"data-as":"button",padding:ey,radius:2,tone:"inherit",children:(0,P.jsx)(gv,{size:eg,textOverflow:"ellipsis",children:t})})},ep[33]=eg,ep[34]=ey,ep[35]=$):$=ep[35];let eH="function"==typeof w?w:$,e$="function"==typeof i?i:x7,eA=(0,B.useRef)(null),eT=(0,B.useRef)(null),e_=(0,B.useRef)(null),eP=(0,B.useRef)(null),[eI,eO]=(0,B.useState)(null);ep[36]===Symbol.for("react.memo_cache_sentinel")?(A=e=>{(0,B.startTransition)(()=>eO(e))},ep[36]=A):A=ep[36];let eB=A,eW=(0,B.useRef)(!1),ez=(0,B.useRef)(eV),eN=(0,B.useRef)(V),eD=(0,B.useRef)(!1);ep[37]!==eI?(T=()=>eI,_=[eI],ep[37]=eI,ep[38]=T,ep[39]=_):(T=ep[38],_=ep[39]),(0,B.useImperativeHandle)(e_,T,_),ep[40]!==eI?(I=()=>eI,O=[eI],ep[40]=eI,ep[41]=I,ep[42]=O):(I=ep[41],O=ep[42]),(0,B.useImperativeHandle)(t,I,O);let eF=`${s}-listbox`,eZ=Array.isArray(m)?m:pJ,eU=p7(ey);ep[43]!==eZ||ep[44]!==eV?(W=null!==eV?eZ.find(e=>e.value===eV):void 0,ep[43]=eZ,ep[44]=eV,ep[45]=W):W=ep[45];let eG=W;if(ep[46]!==e$||ep[47]!==eZ||ep[48]!==eR){let e;ep[50]!==e$||ep[51]!==eR?(e=e=>!eR||e$(eR,e),ep[50]=e$,ep[51]=eR,ep[52]=e):e=ep[52],z=eZ.filter(e),ep[46]=e$,ep[47]=eZ,ep[48]=eR,ep[49]=z}else z=ep[49];let eq=z,eY=eq.length,eX=eL?`${s}-option-${eL}`:void 0,eK=null!==eR&&a||eS&&null!==eR;ep[53]!==l||ep[54]!==c||ep[55]!==y?(N=e=>{setTimeout(()=>{if(eD.current)return;let t=(y||[]).concat(eA.current?[eA.current]:[],eT.current?[eT.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(eM({type:"root/blur"}),eD.current=!1,c&&c(null),l&&l(e))},0)},ep[53]=l,ep[54]=c,ep[55]=y,ep[56]=N):N=ep[56];let eJ=N;ep[57]===Symbol.for("react.memo_cache_sentinel")?(D=e=>{let t=eP.current,n=e.target instanceof HTMLElement?e.target:null,r=t?.contains(n)||!1;r!==eW.current&&(eW.current=r,eM({type:"root/setListFocused",listFocused:r}))},ep[57]=D):D=ep[57];let eQ=D;ep[58]!==d||ep[59]!==c||ep[60]!==h?(F=e=>{eM({type:"value/change",value:e}),eD.current=!1,h&&h(e),ez.current=e,d&&d(e),c&&c(null),e_.current?.focus()},ep[58]=d,ep[59]=c,ep[60]=h,ep[61]=F):F=ep[61];let e0=F;ep[62]!==eL||ep[63]!==eq||ep[64]!==eY||ep[65]!==c?(Z=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!eY)return;let t=eq.find(e=>e.value===eL),n=t?eq.indexOf(t):-1,r=eq[(n+1)%eY];r&&eM({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!eY)return;let t=eq.find(e=>e.value===eL),n=t?eq.indexOf(t):-1,r=eq[-1===n?eY-1:(eY+n-1)%eY];r&&eM({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("Escape"===e.key){eM({type:"root/escape"}),eD.current=!1,c&&c(null),e_.current?.focus();return}let t=e.target,n=eP.current;if((n===t||n?.contains(t))&&!x6.includes(e.key))return void e_.current?.focus()},ep[62]=eL,ep[63]=eq,ep[64]=eY,ep[65]=c,ep[66]=Z):Z=ep[66];let e5=Z;ep[67]!==c?(U=e=>{let t=e.currentTarget.value;eM({type:"input/change",query:t}),c&&c(t)},ep[67]=c,ep[68]=U):U=ep[68];let e2=U;ep[69]!==eG||ep[70]!==ex||ep[71]!==eV?(G=()=>{eM({type:"root/open",query:eV?ex(eV,eG):""})},ep[69]=eG,ep[70]=ex,ep[71]=eV,ep[72]=G):G=ep[72];let e3=G;ep[73]!==e3||ep[74]!==eS||ep[75]!==u||ep[76]!==p?(q=e=>{eS||(eM({type:"input/focus"}),u&&u(e),p&&e3())},ep[73]=e3,ep[74]=eS,ep[75]=u,ep[76]=p,ep[77]=q):q=ep[77];let e4=q;ep[78]===Symbol.for("react.memo_cache_sentinel")?(Y=()=>{eD.current=!0},ep[78]=Y):Y=ep[78];let e6=Y;ep[79]===Symbol.for("react.memo_cache_sentinel")?(X=()=>{eD.current=!1},ep[79]=X):X=ep[79];let e8=X;ep[80]!==d||ep[81]!==c?(K=()=>{eM({type:"root/clear"}),ez.current="",d&&d(""),c&&c(null),e_.current?.focus()},ep[80]=d,ep[81]=c,ep[82]=K):K=ep[82];let e9=K;ep[83]===Symbol.for("react.memo_cache_sentinel")?(J=()=>{eM({type:"input/focus"})},ep[83]=J):J=ep[83];let e7=J;ep[84]!==V?(Q=()=>{if(V!==eN.current){eN.current=V,void 0!==V&&(eM({type:"value/change",value:V}),ez.current=V);return}V!==ez.current&&(ez.current=V||null,eM({type:"value/change",value:V||null}))},ee=[V],ep[84]=V,ep[85]=Q,ep[86]=ee):(Q=ep[85],ee=ep[86]),(0,B.useEffect)(Q,ee),ep[87]!==eS?(et=()=>{!eS&&ez.current&&eM({type:"root/setActiveValue",value:ez.current})}
1108,en=[eS],ep[87]=eS,ep[88]=et,ep[89]=en):(et=ep[88],en=ep[89]),(0,B.useEffect)(et,en),ep[90]!==eL||ep[91]!==eq?(er=()=>{let e=eP.current;if(!e)return;let t=eq.find(e=>e.value===eL);if(t){let n=eq.indexOf(t),r=e.childNodes[n];if(r){if(document.activeElement&&r.contains(document.activeElement))return;xQ(r)}}},ei=[eL,eq],ep[90]=eL,ep[91]=eq,ep[92]=er,ep[93]=ei):(er=ep[92],ei=ep[93]),(0,B.useEffect)(er,ei);e:{if(!a&&!r&&eV){let e;ep[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:e7},ep[94]=e):e=ep[94],eo=e;break e}eo=void 0}let te=eo,tt=eU.map(Ct),tn=eU.map(Cn),tr="object"==typeof f?f:pQ;ep[95]!==e3||ep[96]!==tr?(es=e=>{e3(),tr.onClick&&tr.onClick(e),requestAnimationFrame(()=>e_.current?.focus())},ep[95]=e3,ep[96]=tr,ep[97]=es):es=ep[97];let ti=es;ep[98]!==r||ep[99]!==eK||ep[100]!==eg||ep[101]!==ti||ep[102]!==f||ep[103]!==tt||ep[104]!==tn||ep[105]!==tr||ep[106]!==v?(ea=r||v||!f?void 0:(0,P.jsx)(gm,{"aria-hidden":eK,padding:tt,children:(0,P.jsx)(gE,{"aria-label":"Open",disabled:eK,fontSize:eg,icon:rE,mode:"bleed",padding:tn,...tr,onClick:ti})}),ep[98]=r,ep[99]=eK,ep[100]=eg,ep[101]=ti,ep[102]=f,ep[103]=tt,ep[104]=tn,ep[105]=tr,ep[106]=v,ep[107]=ea):ea=ep[107];let to=ea;t:{if(null===eR){if(null!==eV){let e;ep[108]!==eG||ep[109]!==ex||ep[110]!==eV?(e=ex(eV,eG),ep[108]=eG,ep[109]=ex,ep[110]=eV,ep[111]=e):e=ep[111],el=e;break t}el="";break t}el=eR}let ts=el;ep[112]!==eE?(ed=e=>{"Tab"===e.key&&eE&&e_.current?.focus()},ep[112]=eE,ep[113]=ed):ed=ep[113];let ta=ed;n:{let e,t,n;if(0===eq.length){eu=null;break n}if(ep[114]!==eL||ep[115]!==eG||ep[116]!==eq||ep[117]!==e0||ep[118]!==s||ep[119]!==eE||ep[120]!==a||ep[121]!==eH){let t;ep[123]!==eL||ep[124]!==eG||ep[125]!==e0||ep[126]!==s||ep[127]!==eE||ep[128]!==a||ep[129]!==eH?(t=e=>{let t=null!==eL?e.value===eL:eG===e;return(0,P.jsx)(x3,{id:`${s}-option-${e.value}`,onSelect:e0,selected:t,value:e.value,children:(0,B.cloneElement)(eH(e),{disabled:a,selected:t,tabIndex:eE&&t?0:-1})},e.value)},ep[123]=eL,ep[124]=eG,ep[125]=e0,ep[126]=s,ep[127]=eE,ep[128]=a,ep[129]=eH,ep[130]=t):t=ep[130],e=eq.map(t),ep[114]=eL,ep[115]=eG,ep[116]=eq,ep[117]=e0,ep[118]=s,ep[119]=eE,ep[120]=a,ep[121]=eH,ep[122]=e}else e=ep[122];ep[131]!==eF||ep[132]!==e?(t=(0,P.jsx)(vq,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:eF,ref:eP,role:"listbox",space:1,children:e}),ep[131]=eF,ep[132]=e,ep[133]=t):t=ep[133],ep[134]!==ta||ep[135]!==ev||ep[136]!==t?(n=(0,P.jsx)(x0,{"data-ui":"AutoComplete__results",onKeyDown:ta,padding:1,...ev,tabIndex:-1,children:t}),ep[134]=ta,ep[135]=ev,ep[136]=t,ep[137]=n):n=ep[137],eu=n}let tl=eu;r:{let e;if(b){let e,t=!eK;ep[138]!==tl||ep[139]!==e6||ep[140]!==e8||ep[141]!==eI||ep[142]!==b||ep[143]!==t?(e=(0,P.jsx)(Ce,{content:tl,hidden:t,inputElement:eI,onMouseEnter:e6,onMouseLeave:e8,resultsPopoverElementRef:eT,renderPopover:b}),ep[138]=tl,ep[139]=e6,ep[140]=e8,ep[141]=eI,ep[142]=b,ep[143]=t,ep[144]=e):e=ep[144],ec=e;break r}if(0===eY){ec=null;break r}ep[145]!==tl||ep[146]!==eK||ep[147]!==e6||ep[148]!==e8||ep[149]!==eI||ep[150]!==ew||ep[151]!==eb?(e=(0,P.jsx)(vI,{arrow:!1,constrainSize:!0,content:tl,fallbackPlacements:x8,matchReferenceWidth:!0,onMouseEnter:e6,onMouseLeave:e8,open:eK,overflow:"auto",placement:"bottom-start",portal:!0,radius:eb,ref:eT,referenceElement:eI,...ew}),ep[145]=tl,ep[146]=eK,ep[147]=e6,ep[148]=e8,ep[149]=eI,ep[150]=ew,ep[151]=eb,ep[152]=e):e=ep[152],ec=e}let td=ec,tu=a&&x2,tc=C||to;return ep[153]!==eX||ep[154]!==em||ep[155]!==te||ep[156]!==n||ep[157]!==r||ep[158]!==eK||ep[159]!==eg||ep[160]!==e9||ep[161]!==e2||ep[162]!==e4||ep[163]!==o||ep[164]!==s||ep[165]!==ts||ep[166]!==eF||ep[167]!==eU||ep[168]!==g||ep[169]!==eb||ep[170]!==v||ep[171]!==x||ep[172]!==tu||ep[173]!==tc?(eh=(0,P.jsx)(yo,{...x,"aria-activedescendant":eX,"aria-autocomplete":"list","aria-expanded":eK,"aria-owns":eF,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:em,clearButton:te,customValidity:n,disabled:r,fontSize:eg,icon:o,iconRight:tu,id:s,inputMode:"search",onChange:e2,onClear:e9,onFocus:e4,padding:eU,prefix:g,radius:eb,readOnly:v,ref:eB,role:"combobox",spell
1108Check:!1,suffix:tc,value:ts}),ep[153]=eX,ep[154]=em,ep[155]=te,ep[156]=n,ep[157]=r,ep[158]=eK,ep[159]=eg,ep[160]=e9,ep[161]=e2,ep[162]=e4,ep[163]=o,ep[164]=s,ep[165]=ts,ep[166]=eF,ep[167]=eU,ep[168]=g,ep[169]=eb,ep[170]=v,ep[171]=x,ep[172]=tu,ep[173]=tc,ep[174]=eh):eh=ep[174],ep[175]!==eJ||ep[176]!==eQ||ep[177]!==e5||ep[178]!==td||ep[179]!==eh?(ef=(0,P.jsxs)(x1,{"data-ui":"Autocomplete",onBlur:eJ,onFocus:eQ,onKeyDown:e5,ref:eA,children:[eh,td]}),ep[175]=eJ,ep[176]=eQ,ep[177]=e5,ep[178]=td,ep[179]=eh,ep[180]=ef):ef=ep[180],ef}).displayName="ForwardRef(Autocomplete)";let Cr=nK.ol.withConfig({displayName:"StyledBreadcrumbs",componentId:"sc-1es8h8q-0"})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`,Ci=nK(gE).withConfig({displayName:"ExpandButton",componentId:"sc-1es8h8q-1"})`appearance:none;margin:-4px;`;(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m=(0,e1.c)(29);m[0]!==e?({children:n,maxLength:r,separator:o,space:s,...i}=e,m[0]=e,m[1]=n,m[2]=r,m[3]=i,m[4]=o,m[5]=s):(n=m[1],r=m[2],i=m[3],o=m[4],s=m[5]);let g=void 0===s?2:s;m[6]!==g?(a=p7(g),m[6]=g,m[7]=a):a=m[7];let v=a,[y,w]=(0,B.useState)(!1),b=(0,B.useRef)(null),x=(0,B.useRef)(null);m[8]===Symbol.for("react.memo_cache_sentinel")?(l=()=>w(!1),m[8]=l):l=m[8];let C=l;m[9]===Symbol.for("react.memo_cache_sentinel")?(d=()=>w(!0),m[9]=d):d=m[9];let k=d;m[10]===Symbol.for("react.memo_cache_sentinel")?(u=()=>[b.current,x.current],m[10]=u):u=m[10],gH(C,u),m[11]!==n?(c=B.Children.toArray(n).filter(B.isValidElement),m[11]=n,m[12]=c):c=m[12];let j=c;m[13]!==r||m[14]!==y||m[15]!==j||m[16]!==v?(h={collapse:C,expand:k,expandElementRef:b,maxLength:r,open:y,popoverElementRef:x,rawItems:j,space:v},m[13]=r,m[14]=y,m[15]=j,m[16]=v,m[17]=h):h=m[17];let M=function(e){let t=(0,e1.c)(28),{collapse:n,expand:r,expandElementRef:i,maxLength:o,open:s,popoverElementRef:a,rawItems:l,space:d}=e,u=l.length;if(o&&u>o){let e,c=Math.ceil(o/2),h=Math.floor(o/2);if(t[0]!==h||t[1]!==c||t[2]!==n||t[3]!==r||t[4]!==i||t[5]!==u||t[6]!==s||t[7]!==a||t[8]!==l||t[9]!==d){let o,f,p,m,g=l.slice(0,c-1);t[11]!==h||t[12]!==c||t[13]!==u||t[14]!==l?(o=l.slice(c-1,u-h),t[11]=h,t[12]=c,t[13]=u,t[14]=l,t[15]=o):o=t[15],t[16]!==d||t[17]!==o?(f=(0,P.jsx)(vq,{as:"ol",overflow:"auto",padding:d,space:d,children:o}),t[16]=d,t[17]=o,t[18]=f):f=t[18];let v=s?n:r;t[19]!==i||t[20]!==s||t[21]!==v?(p=(0,P.jsx)(Ci,{fontSize:1,mode:"bleed",onClick:v,padding:1,ref:i,selected:s,text:"…"}),t[19]=i,t[20]=s,t[21]=v,t[22]=p):p=t[22],t[23]!==s||t[24]!==a||t[25]!==f||t[26]!==p?(m=(0,P.jsx)(vI,{constrainSize:!0,content:f,open:s,placement:"top",portal:!0,ref:a,children:p},"button"),t[23]=s,t[24]=a,t[25]=f,t[26]=p,t[27]=m):m=t[27],e=[...g,m,...l.slice(u-h)],t[0]=h,t[1]=c,t[2]=n,t[3]=r,t[4]=i,t[5]=u,t[6]=s,t[7]=a,t[8]=l,t[9]=d,t[10]=e}else e=t[10];return e}return l}(h);if(m[18]!==M||m[19]!==o||m[20]!==v){let e;m[22]!==o||m[23]!==v?(e=(e,t)=>(0,P.jsxs)(B.Fragment,{children:[t>0&&(0,P.jsx)(gm,{"aria-hidden":!0,as:"li",paddingX:v,children:o||(0,P.jsx)(gv,{muted:!0,children:"/"})}),(0,P.jsx)(gm,{as:"li",children:e})]},t),m[22]=o,m[23]=v,m[24]=e):e=m[24],f=M.map(e),m[18]=M,m[19]=o,m[20]=v,m[21]=f}else f=m[21];return m[25]!==t||m[26]!==i||m[27]!==f?(p=(0,P.jsx)(Cr,{"data-ui":"Breadcrumbs",...i,ref:t,children:f}),m[25]=t,m[26]=i,m[27]=f,m[28]=p):p=m[28],p}).displayName="ForwardRef(Breadcrumbs)";let Co=mi("@sanity/ui/context/dialog",{version:0});function Cs(e,t,n){return!e||!t||p6(e,n)||p6(t,n)}let Ca=nK(vv).withConfig({displayName:"StyledDialog",componentId:"sc-4n4xb3-0"})(m4,function({theme:e}){let{color:t}=en(e);return{"&:not([hidden])":{display:"flex"},top:0,left:0,right:0,bottom:0,alignItems:"center",justifyContent:"center",outline:"none",background:t.backdrop}},function(e){let{media:t}=en(e.theme);return p9(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?nX`
1109    @keyframes zoomIn {
1110      from {
1111        opacity: 0;
1112        transform: scale(0.95);
1113      }
1114      to {
1115        opacity: 1;
1116        transform: scale(1);
1117      }
1118    }
1119    @keyframes fadeIn {
1120      from {
1121        opacity: 0;
1122      }
1123      to {
1124        opacity: 1;
1125      }
1126    }
1127
1128    animation: fadeIn 200ms ease-out;
1129    // Animates the dialog card.
1130    & > [data-ui='DialogCard'] {
1131      animation: zoomIn 200ms ease-out;
1132    }
1133  `:nX``}),Cl=nK(gJ).withConfig({displayName:"DialogContainer",componentId:"sc-4n4xb3-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`,Cd=nK(gV).withConfig({displayName:"DialogCardRoot",componentId:"sc-4n4xb3-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,Cu=nK(gb).withConfig({displayName:"DialogLayout",componentId:"sc-4n4xb3-3"})`flex:1;min-height:0;width:100%;`,Cc=nK(gm).withConfig({displayName:"DialogHeader",componentId:"sc-4n4xb3-4"})`position:relative;z-index:2;`,Ch=nK(gm).withConfig({displayName:"DialogContent",componentId:"sc-4n4xb3-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,Cf=nK(gm).withConfig({displayName:"DialogFooter",componentId:"sc-4n4xb3-6"})`position:relative;z-index:3;`,Cp=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y=(0,e1.c)(44),{__unstable_autoFocus:w,__unstable_hideCloseButton:b,children:x,contentRef:C,footer:k,header:j,id:M,onClickOutside:L,onClose:S,portal:E,radius:R,scheme:V,shadow:H,width:$}=e,A=vx(),T=E?A.elements?.[E]||null:A.element,_=vl().element;y[0]!==R?(n=p7(R),y[0]=R,y[1]=n):n=y[1];let I=n;y[2]!==H?(r=p7(H),y[2]=H,y[3]=r):r=y[3];let O=r;y[4]!==$?(i=p7($),y[4]=$,y[5]=i):i=y[5];let W=i,z=(0,B.useRef)(null),N=(0,B.useRef)(null),{isTopLayer:D}=vp(),F=`${M}_label`,Z=!!S&&!1===b,U=!!j||Z;return y[6]===Symbol.for("react.memo_cache_sentinel")?(o=()=>z.current,y[6]=o):o=y[6],(0,B.useImperativeHandle)(t,o),y[7]===Symbol.for("react.memo_cache_sentinel")?(s=()=>N.current,y[7]=s):s=y[7],(0,B.useImperativeHandle)(C,s),y[8]!==w?(a=()=>{w&&z.current&&xQ(z.current)},l=[w,z],y[8]=w,y[9]=a,y[10]=l):(a=y[9],l=y[10]),(0,B.useEffect)(a,l),y[11]!==_||y[12]!==D||y[13]!==S||y[14]!==T?(d=e=>{if(!D||!S)return;let t=document.activeElement;t&&!Cs(_,T,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),S())},y[11]=_,y[12]=D,y[13]=S,y[14]=T,y[15]=d):d=y[15],gI(d),y[16]!==_||y[17]!==D||y[18]!==L||y[19]!==T?(u=D&&L&&(e=>{let t=e.target;t&&!Cs(_,T,t)||L()}),y[16]=_,y[17]=D,y[18]=L,y[19]=T,y[20]=u):u=y[20],y[21]===Symbol.for("react.memo_cache_sentinel")?(c=()=>[z.current],y[21]=c):c=y[21],gH(u,c),y[22]!==j||y[23]!==F||y[24]!==S||y[25]!==Z||y[26]!==U?(h=U&&(0,P.jsx)(Cc,{children:(0,P.jsxs)(gb,{align:"flex-start",padding:3,children:[(0,P.jsx)(gm,{flex:1,padding:2,children:j&&(0,P.jsx)(gv,{id:F,size:1,weight:"semibold",children:j})}),Z&&(0,P.jsx)(gm,{flex:"none",children:(0,P.jsx)(gE,{"aria-label":"Close dialog",disabled:!S,icon:rI,mode:"bleed",onClick:S,padding:2})})]})}),y[22]=j,y[23]=F,y[24]=S,y[25]=Z,y[26]=U,y[27]=h):h=y[27],y[28]!==x?(f=(0,P.jsx)(Ch,{flex:1,ref:N,tabIndex:-1,
1133children:x}),y[28]=x,y[29]=f):f=y[29],y[30]!==k?(p=k&&(0,P.jsx)(Cf,{children:k}),y[30]=k,y[31]=p):p=y[31],y[32]!==h||y[33]!==f||y[34]!==p?(m=(0,P.jsxs)(Cu,{direction:"column",children:[h,f,p]}),y[32]=h,y[33]=f,y[34]=p,y[35]=m):m=y[35],y[36]!==I||y[37]!==V||y[38]!==O||y[39]!==m?(g=(0,P.jsx)(Cd,{radius:I,ref:z,scheme:V,shadow:O,children:m}),y[36]=I,y[37]=V,y[38]=O,y[39]=m,y[40]=g):g=y[40],y[41]!==g||y[42]!==W?(v=(0,P.jsx)(Cl,{"data-ui":"DialogCard",width:W,children:g}),y[41]=g,y[42]=W,y[43]=v):v=y[43],v});Cp.displayName="ForwardRef(DialogCard)",(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_=(0,e1.c)(70),I=(0,B.useContext)(Co),{layer:O}=md();_[0]!==e?({__unstable_autoFocus:g,__unstable_hideCloseButton:v,cardRadius:y,cardShadow:w,children:i,contentRef:o,footer:s,header:a,id:l,onActivate:d,onClickOutside:u,onClose:c,onFocus:h,padding:b,portal:f,position:n,scheme:m,width:x,zOffset:r,animate:C,...p}=e,_[0]=e,_[1]=n,_[2]=r,_[3]=i,_[4]=o,_[5]=s,_[6]=a,_[7]=l,_[8]=d,_[9]=u,_[10]=c,_[11]=h,_[12]=f,_[13]=p,_[14]=m,_[15]=g,_[16]=v,_[17]=y,_[18]=w,_[19]=b,_[20]=x,_[21]=C):(n=_[1],r=_[2],i=_[3],o=_[4],s=_[5],a=_[6],l=_[7],d=_[8],u=_[9],c=_[10],h=_[11],f=_[12],p=_[13],m=_[14],g=_[15],v=_[16],y=_[17],w=_[18],b=_[19],x=_[20],C=_[21]);let W=void 0===g||g,z=void 0!==v&&v,N=void 0===y?4:y,D=void 0===w?3:w,F=void 0===b?3:b,Z=void 0===x?0:x,U=void 0!==C&&C,G=n??(I.position||"fixed"),q=r??(I.zOffset||O.dialog.zOffset),Y=!gD()&&U,X=vx(),K=f?X.elements?.[f]||null:X.element,J=vl().element;_[22]!==N?(k=p7(N),_[22]=N,_[23]=k):k=_[23];let Q=k;_[24]!==F?(j=p7(F),_[24]=F,_[25]=j):j=_[25];let ee=j;_[26]!==G?(M=p7(G),_[26]=G,_[27]=M):M=_[27];let et=M;_[28]!==Z?(L=p7(Z),_[28]=Z,_[29]=L):L=_[29];let en=L;_[30]!==q?(S=p7(q),_[30]=q,_[31]=S):S=_[31];let er=S,ei=(0,B.useRef)(null),eo=(0,B.useRef)(null),es=(0,B.useRef)(null),ea=(0,B.useRef)(null);_[32]!==h?(E=e=>{h?.(e);let t=e.target,n=es.current;n&&t===ei.current?function e(t){for(let n=t.childNodes.length-1;n>=0;n--){let r=t.childNodes[n];if(p2(r)&&(xJ(r)||e(r)))return!0}return!1}(n):n&&t===eo.current?xQ(n):p2(e.target)&&(ea.current=e.target)},_[32]=h,_[33]=E):E=_[33];let el=E,ed=`${l}_label`,eu=(0,B.useRef)(void 0);_[34]!==J||_[35]!==K?(R=()=>{eu.current&&clearTimeout(eu.current),eu.current=setTimeout(()=>{let e=document.activeElement;if(e&&!Cs(J,K,e)){let e=ea.current;if(!e||!document.body.contains(e)){let e=es.current;e&&xQ(e);return}
1133e.focus()}},0)},_[34]=J,_[35]=K,_[36]=R):R=_[36];let ec=R;return _[37]===Symbol.for("react.memo_cache_sentinel")?(V=(0,P.jsx)("div",{ref:ei,tabIndex:0}),_[37]=V):V=_[37],_[38]!==W||_[39]!==Q||_[40]!==D||_[41]!==i||_[42]!==o||_[43]!==s||_[44]!==a||_[45]!==z||_[46]!==l||_[47]!==u||_[48]!==c||_[49]!==f||_[50]!==m||_[51]!==en?(H=(0,P.jsx)(Cp,{__unstable_autoFocus:W,__unstable_hideCloseButton:z,contentRef:o,footer:s,header:a,id:l,onClickOutside:u,onClose:c,portal:f,radius:Q,ref:es,scheme:m,shadow:D,width:en,children:i}),_[38]=W,_[39]=Q,_[40]=D,_[41]=i,_[42]=o,_[43]=s,_[44]=a,_[45]=z,_[46]=l,_[47]=u,_[48]=c,_[49]=f,_[50]=m,_[51]=en,_[52]=H):H=_[52],_[53]===Symbol.for("react.memo_cache_sentinel")?($=(0,P.jsx)("div",{ref:eo,tabIndex:0}),_[53]=$):$=_[53],_[54]!==Y||_[55]!==el||_[56]!==ec||_[57]!==l||_[58]!==ed||_[59]!==d||_[60]!==ee||_[61]!==et||_[62]!==t||_[63]!==p||_[64]!==H||_[65]!==er?(A=(0,P.jsxs)(Ca,{...p,$animate:Y,$padding:ee,$position:et,"aria-labelledby":ed,"aria-modal":!0,"data-ui":"Dialog",id:l,onActivate:d,onClick:ec,onFocus:el,ref:t,role:"dialog",zOffset:er,children:[V,H,$]}),_[54]=Y,_[55]=el,_[56]=ec,_[57]=l,_[58]=ed,_[59]=d,_[60]=ee,_[61]=et,_[62]=t,_[63]=p,_[64]=H,_[65]=er,_[66]=A):A=_[66],_[67]!==f||_[68]!==A?(T=(0,P.jsx)(vC,{__unstable_name:f,children:A}),_[67]=f,_[68]=A,_[69]=T):T=_[69],T}).displayName="ForwardRef(Dialog)";let Cm=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M=(0,e1.c)(62),{__unstable_disableRestoreFocusOnClose:L,boundaryElement:S,button:E,id:R,menu:V,onClose:H,onOpen:$,placement:A,popoverScheme:T,portal:_,popover:I,popoverRadius:O,preventOverflow:W}=e,z=void 0!==L&&L,N=void 0===_||_,[D,F]=(0,B.useState)(!1),[Z,U]=(0,B.useState)(null),[G,q]=(0,B.useState)(null);M[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],M[0]=n):n=M[0];let[Y,X]=(0,B.useState)(n),K=(0,B.useRef)(D);M[1]!==$||M[2]!==D?(r=()=>{$&&D&&!K.current&&$()},i=[$,D],M[1]=$,M[2]=D,M[3]=r,M[4]=i):(r=M[3],i=M[4]),(0,B.useEffect)(r,i),M[5]!==H||M[6]!==D?(o=()=>{H&&!D&&K.current&&H()},s=[H,D],M[5]=H,M[6]=D,M[7]=o,M[8]=s):(o=M[7],s=M[8]),(0,B.useEffect)(o,s),M[9]!==D?(a=()=>{K.current=D},l=[D],M[9]=D,M[10]=a,M[11]=l):(a=M[10],l=M[11]),(0,B.useEffect)(a,l),M[12]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{F(Cg),U(null)},M[12]=d):d=M[12];let J=d;M[13]!==D?(u=e=>{D&&e.preventDefault()},M[13]=D,M[14]=u):u=M[14];let Q=u;M[15]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),F(!0),U("first");return}if("ArrowUp"===e.key){e.preventDefault(),F(!0),U("last");return}},M[15]=c):c=M[15];let ee=c;M[16]!==G||M[17]!==Y?(h=e=>{let t=e.target;if(t instanceof Node&&!(G&&(t===G||G.contains(t)))){for(let e of Y)if(t===e||e.contains(t))return;F(!1)}},M[16]=G,M[17]=Y,M[18]=h):h=M[18];let et=h;M[19]!==G||M[20]!==z?(f=()=>{F(!1),!z&&G&&G.focus()},M[19]=G,M[20]=z,M[21]=f):f=M[21];let en=f;M[22]!==Y?(p=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of Y)if(e===t||e.contains(t))return;F(!1)}},M[22]=Y,M[23]=p):p=M[23];let er=p;M[24]!==G||M[25]!==z?(m=()=>{F(!1),!z&&G&&G.focus()},M[24]=G,M[25]=z,M[26]=m):m=M[26];let ei=m;M[27]===Symbol.for("react.memo_cache_sentinel")?(g=e=>(X(t=>t.concat([e])),()=>X(t=>t.filter(t=>t!==e))),M[27]=g):g=M[27];let eo=g;M[28]!==G||M[29]!==er||M[30]!==ei||M[31]!==et||M[32]!==en||M[33]!==R||M[34]!==V||M[35]!==Z?(v=V&&(0,B.cloneElement)(V,{"aria-labelledby":R,onBlurCapture:er,onClickOutside:et,onEscape:en,onItemClick:ei,originElement:G,registerElement:eo,shouldFocus:Z}),M[28]=G,M[29]=er,M[30]=ei,M[31]=et,M[32]=en,M[33]=R,M[34]=V,M[35]=Z,M[36]=v):v=M[36];let es=v;M[37]!==E||M[38]!==Q||M[39]!==R||M[40]!==D?(y=E&&(0,B.cloneElement)(E,{"data-ui":"MenuButton",id:R,onClick:J,onKeyDown:ee,onMouseDown:Q,"aria-haspopup":!0,"aria-expanded":D,ref:q,selected:E.props.selected??D}),M[37]=E,M[38]=Q,M[39]=R,M[40]=D,M[41]=y):y=M[41];let ea=y;M[42]!==G?(w=()=>G,b=[G],M[42]=G,M[43]=w,M[44]=b):(w=M[43],b=M[44]),(0,B.useImperativeHandle)(t,w,b),M[45]!==I?(x=I||{},M[45]=I,M[46]=x):x=M[46],M[47]!==S||M[48]!==A||M[49]!==O||M[50]!==T||M[51]!==N||M[52]!==W||M[53]!==x?(C={boundaryElement:S,overflow:"auto",placement:A,portal:N,preventOverflow:W,radius:O,scheme:T,...x},M[47]=S,M[48]=A,M[49]=O,M[50]=T,M[51]=N,M[52]=W,M[53]=x,M[54]=C):C=M[54];let el=C;return M[55]!==ea?(k=ea||(0,P.jsx)(P.Fragment,{}),M[55]=ea,M[56]=k):k=M[56],M[57]!==es||M[58]!==D||M[59]!==el||M[60]!==k?(j=(0,P.jsx)(vI,{"data-ui":"MenuButton__popover",...el,content:es,open:D,children:k}),M[57]=es,M[58]=D,M[59]=el,M[60]=k,M[61]=j):j=M[61],j});function Cg(e){return!e}Cm.displayName="ForwardRef(MenuButton)";let Cv=nQ`
1134  0% {
1135    background-position: 100%;
1136  }
1137  100% {
1138    background-position: -100%;
1139  }
1140`,Cy=nX`
1141  background-image: linear-gradient(
1142    to right,
1143    var(--card-skeleton-color-from),
1144    var(--card-skeleton-color-to),
1145    var(--card-skeleton-color-from),
1146    var(--card-skeleton-color-from),
1147    var(--card-skeleton-color-from)
1148  );
1149  background-position: 100%;
1150  background-size: 200% 100%;
1151  background-attachment: fixed;
1152  animation-name: ${Cv};
1153  animation-timing-function: ease-in-out;
1154  animation-iteration-count: infinite;
1155  animation-duration: 2000ms;
1156`,Cw=nX`
1157  opacity: ${({$visible:e})=>+!!e};
1158  transition: opacity 200ms ease-in;
1159
1160  @media screen and (prefers-reduced-motion: no-preference) {
1161    ${({$animated:e})=>e?Cy:nX`
1162            background-color: var(--card-skeleton-color-from);
1163          `}
1164  }
1165
1166  @media screen and (prefers-reduced-motion: reduce) {
1167    background-color: var(--card-skeleton-color-from);
1168  }
1169`,Cb=nK(gm).withConfig({displayName:"StyledSkeleton",componentId:"sc-ebtpni-0"})(m6,Cw),Cx=(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u=(0,e1.c)(16);u[0]!==e?({animated:o,delay:n,radius:r,...i}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=i,u[4]=o):(n=u[1],r=u[2],i=u[3],o=u[4]);let c=void 0!==o&&o,[h,f]=(0,B.useState)(!n);u[5]!==n?(s=()=>
1169{if(!n)return;let e=setTimeout(()=>{f(!0)},n);return()=>{clearTimeout(e)}},a=[n],u[5]=n,u[6]=s,u[7]=a):(s=u[6],a=u[7]),(0,B.useEffect)(s,a),u[8]!==r?(l=p7(r),u[8]=r,u[9]=l):l=u[9];let p=!n||h;return u[10]!==c||u[11]!==t||u[12]!==i||u[13]!==l||u[14]!==p?(d=(0,P.jsx)(Cb,{...i,$animated:c,$radius:l,$visible:p,ref:t}),u[10]=c,u[11]=t,u[12]=i,u[13]=l,u[14]=p,u[15]=d):d=u[15],d});Cx.displayName="ForwardRef(Skeleton)";let CC=nK(Cx).withConfig({displayName:"StyledSkeleton",componentId:"sc-2p7a1v-0"})(e=>{let{$size:t,$style:n}=e,{font:r,media:i}=en(e.theme),o=r[n];return p9(i,t,e=>{let t=o.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})});(0,B.forwardRef)(function(e,t){let n,r,i,o,s=(0,e1.c)(9);s[0]!==e?({size:r,...n}=e,s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]);let a=void 0===r?2:r;s[3]!==a?(i=p7(a),s[3]=a,s[4]=i):i=s[4];let l=i;return s[5]!==l||s[6]!==t||s[7]!==n?(o=(0,P.jsx)(CC,{...n,$size:l,ref:t,$style:"text"}),s[5]=l,s[6]=t,s[7]=n,s[8]=o):o=s[8],o}).displayName="ForwardRef(TextSkeleton)",(0,B.forwardRef)(function(e,t){let n,r,i,o,s=(0,e1.c)(9);s[0]!==e?({size:r,...n}=e,s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]);let a=void 0===r?2:r;s[3]!==a?(i=p7(a),s[3]=a,s[4]=i):i=s[4];let l=i;return s[5]!==l||s[6]!==t||s[7]!==n?(o=(0,P.jsx)(CC,{...n,$size:l,ref:t,$style:"label"}),s[5]=l,s[6]=t,s[7]=n,s[8]=o):o=s[8],o}).displayName="ForwardRef(LabelSkeleton)",(0,B.forwardRef)(function(e,t){let n,r,i,o,s=(0,e1.c)(9);s[0]!==e?({size:r,...n}=e,s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]);let a=void 0===r?2:r;s[3]!==a?(i=p7(a),s[3]=a,s[4]=i):i=s[4];let l=i;return s[5]!==l||s[6]!==t||s[7]!==n?(o=(0,P.jsx)(CC,{...n,$size:l,ref:t,$style:"heading"}),s[5]=l,s[6]=t,s[7]=n,s[8]=o):o=s[8],o}).displayName="ForwardRef(HeadingSkeleton)",(0,B.forwardRef)(function(e,t){let n,r,i,o,s=(0,e1.c)(9);s[0]!==e?({size:r,...n}=e,s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]);let a=void 0===r?2:r;s[3]!==a?(i=p7(a),s[3]=a,s[4]=i):i=s[4];let l=i;return s[5]!==l||s[6]!==t||s[7]!==n?(o=(0,P.jsx)(CC,{...n,$size:l,ref:t,$style:"code"}),s[5]=l,s[6]=t,s[7]=n,s[8]=o):o=s[8],o}).displayName="ForwardRef(CodeSkeleton)",(0,B.forwardRef)(function(e,t){let n,r,i,o=(0,e1.c)(9);o[0]!==e?({flex:n,...r}=e,o[0]=e,o[1]=n,o[2]=r):(n=o[1],r=o[2]);let s=void 0===e.tabIndex?0:e.tabIndex;return o[3]!==n||o[4]!==e.children||o[5]!==t||o[6]!==r||o[7]!==s?(i=(0,P.jsx)(gm,{"data-ui":"TabPanel",...r,flex:n,ref:t,role:"tabpanel",tabIndex:s,children:e.children}),o[3]=n,o[4]=e.children,o[5]=t,o[6]=r,o[7]=s,o[8]=i):i=o[8],i}).displayName="ForwardRef(TabPanel)";let Ck={error:"critical",warning:"caution",success:"positive",info:"neutral"},Cj={error:"critical",warning:"caution",success:"positive",info:"neutral"},CM=nK(gb).withConfig({displayName:"TextBox",componentId:"sc-1rr7rxo-0"})`overflow-x:auto;`,CL=nK(gV).withConfig({displayName:"StyledToast",componentId:"sc-1rr7rxo-1"})`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`,CS=nK.div.withConfig({displayName:"LoadingBar",componentId:"sc-1rr7rxo-2"})`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`,CE=nK(gV).withConfig({displayName:"LoadingBarMask",componentId:"sc-1rr7rxo-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,CR=nK(gV).withConfig({displayName:"LoadingBarProgress",componentId:"sc-1rr7rxo-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=en(e.theme);return t.button.default[e.tone].enabled.bg}};`,CV={error:"alert",warning:"alert",success:"alert",info:"alert"};function CH(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x=(0,e1.c)(50);x[0]!==e?({closable:t,description:n,duration:r,onClose:i,radius:a,title:l,status:s,updatedAt:d,...o}=e,x[0]=e,x[1]=t,x[2]=n,x[3]=r,x[4]=i,x[5]=o,x[6]=s,x[7]=a,x[8]=l,x[9]=d):(t=x[1],n=x[2],r=x[3],i=x[4],o=x[5],s=x[6],a=x[7],l=x[8],d=x[9]);let C=void 0===a?3:a,k=s?Ck[s]:"default",j=s?Cj[s]:"default",M=s?CV[s]:"status",L=.26*!gD();x[10]!==L?(u=L?{type:"spring",visualDuration:L,bounce:.25}:{duration:0},x[10]=L,x[11]=u):u=x[11];let S=u,E=r&&isFinite(r)&&r<20736e5;x[12]===Symbol.for("react.memo_cache_sentinel")?(c=["hidden","initial"],x[12]=c):c=x[12];let R=c;x[13]===Symbol.for("react.memo_cache_sentinel")?(h=["visible","slideIn"],x[13]=h):h=x[13];let V=h;x[14]===Symbol.for("react.memo_cache_sentinel")?(f=["hidden","slideOut"],x[14]=f):f=x[14];let H=f,$=E?"":void 0;return x[15]!==l?(p=l&&(0,P.jsx)(gv,{size:1,weight:"medium",children:l}),x[15]=l,x[16]=p):p=x[16],x[17]!==n||x[18]!==S?(m=n&&(0,P.jsx)(CP,{muted:!0,size:1,variants:CA,transition:S,children:n}),x[17]=n,x[18]=S,x[19]=m):m=x[19],x[20]!==p||x[21]!==m?(g=(0,P.jsx)(CM,{flex:1,padding:3,children:(0,P.jsxs)(vq,{space:3,children:[p,m]})}),x[20]=p,x[21]=m,x[22]=g):g=x[22],x[23]!==j||x[24]!==t||x[25]!==i?(v=t&&(0,P.jsx)(gm,{padding:1,children:(0,P.jsx)(gE,{as:"button",icon:rI,mode:"bleed",padding:2,tone:j,onClick:i,style:{verticalAlign:"top"}})}),x[23]=j,x[24]=t,x[25]=i,x[26]=v):v=x[26],x[27]!==g||x[28]!==v||x[29]!==S?(y=(0,P.jsxs)(C_,{align:"flex-start",variants:CA,transition:S,children:[g,v]}),x[27]=g,x[28]=v,x[29]=S,x[30]=y):y=x[30],x[31]!==k||x[32]!==r||x[33]!==E||x[34]!==i||x[35]!==C||x[36]!==S||x[37]!==d||x[38]!==L?(w=E&&(0,P.jsxs)(CI,{variants:CA,transition:S,children:[(0,P.jsx)(CE,{tone:k,radius:C}),(0,P.jsx)(CO,{tone:k,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:L,duration:r/1e3,ease:"linear"},onAnimationComplete:i},`progress-${d}`)]}),x[31]=k,x[32]=r,x[33]=E,x[34]=i,x[35]=C,x[36]=S,x[37]=d,x[38]=L,x[39]=w):w=x[39],x[40]!==k||x[41]!==C||x[42]!==o||x[43]!==M||x[44]!==y||x[45]!==w||x[46]!==$||x[47]!==S||x[48]!==L?(b=(0,P.jsxs)(CT,{"data-ui":"Toast",role:M,...o,"data-has-duration":$,custom:L,radius:C,shadow:2,tone:k,forwardedAs:"li",layout:"position",variants:C$,initial:R,animate:V,exit:H,transition:S,children:[y,w]}),x[40]=k,x[41]=C,x[42]=o,x[43]=M,x[44]=y,x[45]=w,x[46]=$,x[47]=S,x[48]=L,x[49]=b):b=x[49],b}CH.displayName="Toast";let C$={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0}
1169,visible:e=>e?{opacity:1,transition:{when:"beforeChildren",staggerChildren:e/3,duration:e/3}}:{opacity:1},slideIn:{y:0,scale:1},slideOut:{zIndex:0,scale:.75}},CA={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},CT=f6.create(CL),C_=f6.create(gb),CP=f6.create(gv),CI=f6.create(CS),CO=f6.create(CR);mi("@sanity/ui/context/toast",null);nK(g1).withConfig({displayName:"StyledLayer",componentId:"sc-1tbwn58-0"})`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`;function CB(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}let CW=mi("@sanity/ui/context/tree",null);(0,B.forwardRef)(function(e,t){let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k=(0,e1.c)(37);k[0]!==e?({children:n,space:o,onFocus:r,...i}=e,k[0]=e,k[1]=n,k[2]=r,k[3]=i,k[4]=o):(n=k[1],r=k[2],i=k[3],o=k[4]);let j=void 0===o?1:o,M=(0,B.useRef)(null),[L,S]=(0,B.useState)(null),E=(0,B.useRef)(L);k[5]===Symbol.for("react.memo_cache_sentinel")?(s=[],k[5]=s):s=k[5];let R=s;k[6]===Symbol.for("react.memo_cache_sentinel")?(a=[],k[6]=a):a=k[6];let[V,H]=(0,B.useState)(a);k[7]===Symbol.for("react.memo_cache_sentinel")?(l={},k[7]=l):l=k[7];let[$,A]=(0,B.useState)(l),T=(0,B.useRef)($);k[8]===Symbol.for("react.memo_cache_sentinel")?(d=()=>M.current,k[8]=d):d=k[8],(0,B.useImperativeHandle)(t,d),k[9]!==L?(u=()=>{E.current=L},c=[L],k[9]=L,k[10]=u,k[11]=c):(u=k[10],c=k[11]),(0,B.useEffect)(u,c),k[12]!==$?(h=()=>{T.current=$},f=[$],k[12]=$,k[13]=h,k[14]=f):(h=k[13],f=k[14]),(0,B.useEffect)(h,f),k[15]===Symbol.for("react.memo_cache_sentinel")?(p=(e,t,n,r)=>(A(r=>({...r,[t]:{element:e,expanded:n}})),r&&S(e),()=>{A(e=>{let n={...e};return delete n[t],n})}),k[15]=p):p=k[15];let _=p;k[16]===Symbol.for("react.memo_cache_sentinel")?(m=(e,t)=>{A(n=>{let r=n[e];return r?{...n,[e]:{...r,expanded:t}}:n})},k[16]=m):m=k[16];let I=m,O=L||V[0]||null;k[17]!==j||k[18]!==$||k[19]!==O?(g={version:0,focusedElement:O,level:0,path:R,registerItem:_,setExpanded:I,setFocusedElement:S,space:j,state:$},k[17]=j,k[18]=$,k[19]=O,k[20]=g):g=k[20];let W=g;k[21]!==V?(v=e=>{if(E.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(r),o=t.length;for(let t=1;t<o;t+=1){if(!i[t])continue;let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){s=!1;break}}if(s)return i[t]}return null}(T.current,V,E.current);t&&(CB(t),S(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(0,r),o=i.length;for(let t=o-1;t>=0;t-=1){let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){s=!1;break}}if(s)return i[t]}return null}(T.current,V,E.current);t&&(CB(t),S(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=E.current.getAttribute("data-tree-key");if(!t)return;let n=T.current[t];if(!n)return;if(n.expanded)A(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!1}}:e});else{let e=t.split("/");e.pop();let n=e.join("/"),r=n&&T.current[n];r&&(r.element.focus(),S(r.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=E.current.getAttribute("data-tree-key");if(!t)return;T.current[t]?.expanded||A(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},k[21]=V,k[22]=v):v=k[22];let z=v;k[23]!==r?(y=e=>{S(e.target),r?.(e)},k[23]=r,k[24]=y):y=k[24];let N=y;return k[25]===Symbol.for("react.memo_cache_sentinel")?(w=()=>{M.current&&H(Array.from(M.current.querySelectorAll('[data-ui="TreeItem"]')))},k[25]=w):w=k[25],k[26]!==n?(b=[n],k[26]=n,k[27]=b):b=k[27],(0,B.useEffect)(w,b),k[28]!==n||k[29]!==N||k[30]!==z||k[31]!==i||k[32]!==j?(x=(0,P.jsx)(vq,{as:"ul","data-ui":"Tree",...i,onFocus:N,onKeyDown:z,ref:M,role:"tree",space:j,children:n}),k[28]=n,k[29]=N,k[30]=z,k[31]=i,k[32]=j,k[33]=x):x=k[33],k[34]!==W||k[35]!==x?(C=(0,P.jsx)(CW.Provider,{value:W,children:x}),k[34]=W,k[35]=x,k[36]=C):C=k[36],C}).displayName="ForwardRef(Tree)";nK(gv).withConfig({displayName:"ToggleArrowText",componentId:"sc-iiskig-2"})`& > svg{transition:transform 100ms;}`;let Cz=e=>"object"==typeof e&&null!=e&&1===e.nodeType,CN=(e,t)=>
1169(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,CD=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return CN(r.overflowY,t)||CN(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},CF=(e,t,n,r,i,o,s,a)=>o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0,CZ=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},CU=(e,t)=>{var n,r,i,o;let s;if("u"<typeof document)return[];let{scrollMode:a,block:l,inline:d,boundary:u,skipOverflowHiddenElements:c}=t,h="function"==typeof u?u:e=>e!==u;if(!Cz(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],m=e;for(;Cz(m)&&h(m);){if((m=CZ(m))===f){p.push(m);break}null!=m&&m===document.body&&CD(m)&&!CD(document.documentElement)||null!=m&&CD(m,c)&&p.push(m)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:w}=window,{height:b,width:x,top:C,right:k,bottom:j,left:M}=e.getBoundingClientRect(),{top:L,right:S,bottom:E,left:R}={top:parseFloat((s=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(s.scrollMarginRight)||0,bottom:parseFloat(s.scrollMarginBottom)||0,left:parseFloat(s.scrollMarginLeft)||0},V="start"===l||"nearest"===l?C-L:"end"===l?j+E:C+b/2-L+E,H="center"===d?M+x/2-R+S:"end"===d?k+S:M-R,$=[];for(let e=0;e<p.length;e++){let t=p[e],{height:n,width:r,top:i,right:o,bottom:s,left:u}=t.getBoundingClientRect();if("if-needed"===a&&C>=0&&M>=0&&j<=v&&k<=g&&(t===f&&!CD(t)||C>=i&&j<=s&&M>=u&&k<=o))break;let c=getComputedStyle(t),h=parseInt(c.borderLeftWidth,10),m=parseInt(c.borderTopWidth,10),L=parseInt(c.borderRightWidth,10),S=parseInt(c.borderBottomWidth,10),E=0,R=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-L:0,T="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-S:0,_="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)E="start"===l?V:"end"===l?V-v:"nearest"===l?CF(w,w+v,v,m,S,w+V,w+V+b,b):V-v/2,R="start"===d?H:"center"===d?H-g/2:"end"===d?H-g:CF(y,y+g,g,h,L,y+H,y+H+x,x),E=Math.max(0,E+w),R=Math.max(0,R+y);else{E="start"===l?V-i-m:"end"===l?V-s+S+T:"nearest"===l?CF(i,s,n,m,S+T,V,V+b,b):V-(i+n/2)+T/2,R="start"===d?H-u-h:"center"===d?H-(u+r/2)+A/2:"end"===d?H-o+L+A:CF(u,o,r,h,L+A,H,H+x,x);let{scrollLeft:e,scrollTop:a}=t;E=0===P?0:Math.max(0,Math.min(a+E/P,t.scrollHeight-n/P+T)),R=0===_?0:Math.max(0,Math.min(e+R/_,t.scrollWidth-r/_+A)),V+=a-E,H+=e-R}$.push({el:t,top:E,left:R})}return $};var CG=e.i(68446),Cq=e.i(5862),CY=e.i(59),CX=e.i(29863),CK=e.i(13644);e.i(36484);var CJ=e.i(43215);e.i(47693),e.i(46376),e.i(30270),e.i(60025),e.i(23366),e.i(81262),e.i(38223),e.i(34220);var CQ=e.i(29535),C1=e.i(7663);e.i(68847),e.i(72980),e.i(31869);let C0=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};function C5(e){let[t,n]=e;return[t,n]}function C2(e,t){let n=e,r=t,i=n.length,o=r.length;if(0===i||0===o)return 0;i>o?n=n.substring(i-o):i<o&&(r=r.substring(0,i));let s=Math.min(i,o);if(n===r)return s;let a=0,l=1;for(let e=0;-1!==e;){let t=n.substring(s-l);if(-1===(e=r.indexOf(t)))break;l+=e,(0===e||n.substring(s-l)===r.substring(0,l))&&(a=l,l++)}return a}function C3(e,t){if(!e||!t||e[0]!==t[0])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(o,i)===t.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function C4(e,t){if(!e||!t||e[e.length-1]!==t[t.length-1])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function C6(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function C8(e,t,n,r,i){let o=e.substring(0,n),s=t.substring(0,r),a=e.substring(n),l=t.substring(r),d=ko(o,s,{checkLines:!1,deadline:i}),u=ko(a,l,{checkLines:!1,deadline:i});return d.concat(u)}function C9(e,t,n){let r=e.slice(n,n+Math.floor(e.length/4)),i=-1,o="",s,a,l,d;for(;-1!==(i=t.indexOf(r,i+1));){let r=C3(e.slice(n),t.slice(i)),u=C4(e.slice(0,n),t.slice(0,i));o.length<u+r&&(o=t.slice(i-u,i)+t.slice(i,i+r),s=e.slice(0,n-u),a=e.slice(n+r),l=t.slice(0,i-u),d=t.slice(i+r))}return 2*o.length>=e.length?[s||"",a||"",l||"",d||"",o||""]:null}var C7=Object.defineProperty,ke=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,kr=(e,t,n
1169)=>t in e?C7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function ki(e,t,n){if(null===e||null===t)throw Error("Null input. (diff)");let r=ko(e,t,function(e){let t;var n,r={checkLines:!0,deadline:(n=e.timeout||1,t=1,"u">typeof n&&(t=n<=0?Number.MAX_VALUE:n),Date.now()+1e3*t)},i=e;for(var o in i||(i={}))kt.call(i,o)&&kr(r,o,i[o]);if(ke)for(var o of ke(i))kn.call(i,o)&&kr(r,o,i[o]);return r}(n||{}));return function(e){for(let t=0;t<e.length;t++){let[n,r]=e[t];if(0===r.length)continue;let i=r[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(r[r.length-1])&&0===n&&kl(e,t,1),C6(i)&&0===n&&kl(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(r),r}function ko(e,t,n){let r=e,i=t;if(r===i)return r?[[0,r]]:[];let o=C3(r,i),s=r.substring(0,o);o=C4(r=r.substring(o),i=i.substring(o));let a=r.substring(r.length-o),l=function(e,t,n){let r;if(!e)return[[1,t]];if(!t)return[[-1,e]];let i=e.length>t.length?e:t,o=e.length>t.length?t:e,s=i.indexOf(o);if(-1!==s)return r=[[1,i.substring(0,s)],[0,o],[1,i.substring(s+o.length)]],e.length>t.length&&(r[0][0]=-1,r[2][0]=-1),r;if(1===o.length)return[[-1,e],[1,t]];let a=function(e,t,n=1){let r,i,o,s,a;if(n<=0)return null;let l=e.length>t.length?e:t,d=e.length>t.length?t:e;if(l.length<4||2*d.length<l.length)return null;let u=C9(l,d,Math.ceil(l.length/4)),c=C9(l,d,Math.ceil(l.length/2));if(u&&c)r=u[4].length>c[4].length?u:c;else{if(!u&&!c)return null;c?u||(r=c):r=u}if(!r)throw Error("Unable to find a half match.");return e.length>t.length?(i=r[0],o=r[1],s=r[2],a=r[3]):(s=r[0],a=r[1],i=r[2],o=r[3]),[i,o,s,a,r[4]]}(e,t);if(a){let e=a[0],t=a[1],r=a[2],i=a[3],o=a[4],s=ko(e,r,n),l=ko(t,i,n);return s.concat([[0,o]],l)}return n.checkLines&&e.length>100&&t.length>100?function(e,t,n){let r=e,i=t,o=function(e,t){let n=[],r={};function i(e){let t="",i=0,s=-1,a=n.length;for(;s<e.length-1;){-1===(s=e.indexOf(`
1170`,i))&&(s=e.length-1);let l=e.slice(i,s+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(a===o&&(l=e.slice(i),s=e.length),t+=String.fromCharCode(a),r[l]=a,n[a++]=l),i=s+1}return t}n[0]="";let o=4e4,s=i(e);return o=65535,{chars1:s,chars2:i(t),lineArray:n}}(r,i);r=o.chars1,i=o.chars2;let s=o.lineArray,a=ko(r,i,{checkLines:!1,deadline:n.deadline});(function(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],i=[];for(let e=0;e<r.length;e++)i[e]=t[r.charCodeAt(e)];e[n][1]=i.join("")}})(a,s),(a=kd(a)).push([0,""]);let l=0,d=0,u=0,c="",h="";for(;l<a.length;){switch(a[l][0]){case 1:u++,h+=a[l][1];break;case -1:d++,c+=a[l][1];break;case 0:if(d>=1&&u>=1){a.splice(l-d-u,d+u),l=l-d-u;let e=ko(c,h,{checkLines:!1,deadline:n.deadline});for(let t=e.length-1;t>=0;t--)a.splice(l,0,e[t]);l+=e.length}u=0,d=0,c="",h="";break;default:throw Error("Unknown diff operation.")}l++}return a.pop(),a}(e,t,n):function(e,t,n){let r=e.length,i=t.length,o=Math.ceil((r+i)/2),s=2*o,a=Array(s),l=Array(s);for(let e=0;e<s;e++)a[e]=-1,l[e]=-1;a[o+1]=0,l[o+1]=0;let d=r-i,u=d%2!=0,c=0,h=0,f=0,p=0;for(let m=0;m<o&&!(Date.now()>n);m++){for(let f=-m+c;f<=m-h;f+=2){let p,g=o+f,v=(p=f===-m||f!==m&&a[g-1]<a[g+1]?a[g+1]:a[g-1]+1)-f;for(;p<r&&v<i&&e.charAt(p)===t.charAt(v);)p++,v++;if(a[g]=p,p>r)h+=2;else if(v>i)c+=2;else if(u){let i=o+d-f;if(i>=0&&i<s&&-1!==l[i]&&p>=r-l[i])return C8(e,t,p,v,n)}}for(let c=-m+f;c<=m-p;c+=2){let h,g=o+c,v=(h=c===-m||c!==m&&l[g-1]<l[g+1]?l[g+1]:l[g-1]+1)-c;for(;h<r&&v<i&&e.charAt(r-h-1)===t.charAt(i-v-1);)h++,v++;if(l[g]=h,h>r)p+=2;else if(v>i)f+=2;else if(!u){let i=o+d-c;if(i>=0&&i<s&&-1!==a[i]){let s=a[i],l=o+s-i;if(s>=(h=r-h))return C8(e,t,s,l,n)}}}}return[[-1,e],[1,t]]}(e,t,n.deadline)}(r=r.substring(0,r.length-o),i=i.substring(0,i.length-o),n);return s&&l.unshift([0,s]),a&&l.push([0,a]),l=kg(l)}function ks(e,t,n){return 1===n?e+t:t+e}function ka(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function kl(e,t,n){var r,i;let o=1===n?-1:1,s=null,a=null,l=t+n;for(;l>=0&&l<e.length&&(null===s||null===a);l+=n){let[r,i]=e[l];if(0!==i.length){if(1===r){null===s&&(s=l);continue}else if(-1===r){null===a&&(a=l);continue}else if(0===r){if(null===s&&null===a){let[r,i]=ka(e[t][1],n);e[t][1]=r,e[l][1]=ks(e[l][1],i,o);return}break}}}if(null!==s&&null!==a&&(r=s,i=a,1===n?e[r][1][e[r][1].length-1]===e[i][1][e[i][1].length-1]:e[r][1][0]===e[i][1][0])){let[r,i]=ka(e[s][1],o),[l]=ka(e[a][1],o);e[s][1]=r,e[a][1]=l,e[t][1]=ks(e[t][1],i,n);return}let[d,u]=ka(e[t][1],n);e[t][1]=d,null===s?(e.splice(l,0,[1,u]),null!==a&&a>=l&&a++):e[s][1]=ks(e[s][1],u,o),null===a?e.splice(l,0,[-1,u]):e[a][1]=ks(e[a][1],u,o)}function kd(e){let t=e.map(e=>C5(e)),n=!1,r=[],i=0,o=null,s=0,a=0,l=0,d=0,u=0;for(;s<t.length;)0===t[s][0]?(r[i++]=s,a=d,l=u,d=0,u=0,o=t[s][1]):(1===t[s][0]?d+=t[s][1].length:u+=t[s][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(d,u)&&(t.splice(r[i-1],0,[-1,o]),t[r[i-1]+1][0]=1,i--,s=--i>0?r[i-1]:-1,a=0,l=0,d=0,u=0,o=null,n=!0)),s++;for(n&&(t=kg(t)),t=km(t),s=1;s<t.length;){if(-1===t[s-1][0]&&1===t[s][0]){let e=t[s-1][1],n=t[s][1],r=C2(e,n),i=C2(n,e);r>=i?(r>=e.length/2||r>=n.length/2)&&(t.splice(s,0,[0,n.substring(0,r)]),t[s-1][1]=e.substring(0,e.length-r),t[s+1][1]=n.substring(r),s++):(i>=e.length/2||i>=n.length/2)&&(t.splice(s,0,[0,e.substring(0,i)]),t[s-1][0]=1,t[s-1][1]=n.substring(0,n.length-i),t[
1170s+1][0]=-1,t[s+1][1]=e.substring(i),s++),s++}s++}return t}let ku=/[^a-zA-Z0-9]/,kc=/\s/,kh=/[\r\n]/,kf=/\n\r?\n$/,kp=/^\r?\n\r?\n/;function km(e){let t=e.map(e=>C5(e));function n(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(ku),o=r.match(ku),s=i&&n.match(kc),a=o&&r.match(kc),l=s&&n.match(kh),d=a&&r.match(kh),u=l&&e.match(kf),c=d&&t.match(kp);return u||c?5:l||d?4:i&&!s&&a?3:s||a?2:i||o?1:0}let r=1;for(;r<t.length-1;){if(0===t[r-1][0]&&0===t[r+1][0]){let e=t[r-1][1],i=t[r][1],o=t[r+1][1],s=C4(e,i);if(s){let t=i.substring(i.length-s);e=e.substring(0,e.length-s),i=t+i.substring(0,i.length-s),o=t+o}let a=e,l=i,d=o,u=n(e,i)+n(i,o);for(;i.charAt(0)===o.charAt(0);){e+=i.charAt(0),i=i.substring(1)+o.charAt(0),o=o.substring(1);let t=n(e,i)+n(i,o);t>=u&&(u=t,a=e,l=i,d=o)}t[r-1][1]!==a&&(a?t[r-1][1]=a:(t.splice(r-1,1),r--),t[r][1]=l,d?t[r+1][1]=d:(t.splice(r+1,1),r--))}r++}return t}function kg(e){let t=e.map(e=>C5(e));t.push([0,""]);let n=0,r=0,i=0,o="",s="",a;for(;n<t.length;)switch(t[n][0]){case 1:i++,s+=t[n][1],n++;break;case -1:r++,o+=t[n][1],n++;break;case 0:r+i>1?(0!==r&&0!==i&&(0!==(a=C3(s,o))&&(n-r-i>0&&0===t[n-r-i-1][0]?t[n-r-i-1][1]+=s.substring(0,a):(t.splice(0,0,[0,s.substring(0,a)]),n++),s=s.substring(a),o=o.substring(a)),0!==(a=C4(s,o))&&(t[n][1]=s.substring(s.length-a)+t[n][1],s=s.substring(0,s.length-a),o=o.substring(0,o.length-a))),n-=r+i,t.splice(n,r+i),o.length&&(t.splice(n,0,[-1,o]),n++),s.length&&(t.splice(n,0,[1,s]),n++),n++):0!==n&&0===t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,i=0,r=0,o="",s="";break;default:throw Error("Unknown diff operation")}""===t[t.length-1][1]&&t.pop();let l=!1;for(n=1;n<t.length-1;)0===t[n-1][0]&&0===t[n+1][0]&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)===t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),l=!0):t[n][1].substring(0,t[n+1][1].length)===t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),l=!0)),n++;return l&&(t=kg(t)),t}var kv=Object.defineProperty,ky=Object.getOwnPropertySymbols,kw=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable,kx=(e,t,n)=>t in e?kv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kC=(e,t)=>{for(var n in t||(t={}))kw.call(t,n)&&kx(e,n,t[n]);if(ky)for(var n of ky(t))kb.call(t,n)&&kx(e,n,t[n]);return e};let kk={threshold:.5,distance:1e3};function kj(e,t,n,r={}){if(null===e||null===t||null===n)throw Error("Null input. (match())");let i=Math.max(0,Math.min(n,e.length));return e===t?0:e.length?e.substring(i,i+t.length)===t?i:function(e,t,n,r={}){if(t.length>32)throw Error("Pattern too long for this browser.");let i=kC(kC({},kk),r),o=function(e){let t={};for(let n=0;n<e.length;n++)t[e.charAt(n)]=0;for(let n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t}(t);function s(e,r){let o=e/t.length,s=Math.abs(n-r);return i.distance?o+s/i.distance:s?1:o}let a=i.threshold,l=e.indexOf(t,n);-1!==l&&(a=Math.min(s(0,l),a),-1!==(l=e.lastIndexOf(t,n+t.length))&&(a=Math.min(s(0,l),a)));let d=1<<t.length-1;l=-1;let u,c,h=t.length+e.length,f=[];for(let r=0;r<t.length;r++){for(u=0,c=h;u<c;)s(r,n+c)<=a?u=c:h=c,c=Math.floor((h-u)/2+u);h=c;let i=Math.max(1,n-c+1),p=Math.min(n+c,e.length)+t.length,m=Array(p+2);m[p+1]=(1<<r)-1;for(let t=p;t>=i;t--){let u=o[e.charAt(t-1)];if(0===r?m[t]=(m[t+1]<<1|1)&u:m[t]=(m[t+1]<<1|1)&u|((f[t+1]|f[t])<<1|1)|f[t+1],m[t]&d){let e=s(r,t-1);if(e<=a)if(a=e,(l=t-1)>n)i=Math.max(1,2*n-l);else break}}if(s(r+1,n)>a)break;f=m}return l}(e,t,i,r):-1}function kM(e){let t=[];for(let n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function kL(e){let t=[];for(let n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")}function kS(e,t){let n=0,r=0,i=0,o=0,s;for(s=0;s<e.length&&(1!==e[s][0]&&(n+=e[s][1].length),-1!==e[s][0]&&(r+=e[s][1].length),!(n>t));s++)i=n,o=r;return e.length!==s&&-1===e[s][0]?o:o+(t-i)}function kE(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);if(typeof r>"u")throw Error("Failed to get codepoint");t+=kR(r)}return t}function kR(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function kV(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}var kH=Object.defineProperty,k$=Object.getOwnPropertySymbols,kA=Object.prototype.hasOwnProperty,kT=Object.prototype.propertyIsEnumerable,k_=(e,t,n)=>t in e?kH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kP=(e,t)=>
1170{for(var n in t||(t={}))kA.call(t,n)&&k_(e,n,t[n]);if(k$)for(var n of k$(t))kT.call(t,n)&&k_(e,n,t[n]);return e};let kI={margin:4};function kO(e={}){return kP(kP({},kI),e)}function kB(e,t,n){if(0===t.length)return[];let r=[],i=kV(0,0),o=0,s=0,a=0,l=0,d=0,u=e,c=e;for(let e=0;e<t.length;e++){let h=t[e],[f,p]=h,m=p.length,g=kE(p);switch(!o&&0!==f&&(i.start1=s,i.start2=a,i.utf8Start1=l,i.utf8Start2=d),f){case 1:i.diffs[o++]=h,i.length2+=m,i.utf8Length2+=g,c=c.substring(0,a)+p+c.substring(a);break;case -1:i.length1+=m,i.utf8Length1+=g,i.diffs[o++]=h,c=c.substring(0,a)+c.substring(a+m);break;case 0:m<=2*n.margin&&o&&t.length!==e+1?(i.diffs[o++]=h,i.length1+=m,i.length2+=m,i.utf8Length1+=g,i.utf8Length2+=g):m>=2*n.margin&&o&&(kW(i,u,n),r.push(i),i=kV(-1,-1),o=0,u=c,s=a,l=d);break;default:throw Error("Unknown diff type")}1!==f&&(s+=m,l+=g),-1!==f&&(a+=m,d+=g)}return o&&(kW(i,u,n),r.push(i)),r}function kW(e,t,n){if(0===t.length)return;let r=t.substring(e.start2,e.start2+e.length1),i=0;for(;t.indexOf(r)!==t.lastIndexOf(r)&&r.length<32-n.margin-n.margin;)i+=n.margin,r=t.substring(e.start2-i,e.start2+e.length1+i);i+=n.margin;let o=e.start2-i;o>=1&&C6(t[o])&&o--;let s=t.substring(o,e.start2);s&&e.diffs.unshift([0,s]);let a=s.length,l=kE(s),d=e.start2+e.length1+i;d<t.length&&C6(t[d])&&d++;let u=t.substring(e.start2+e.length1,d);u&&e.diffs.push([0,u]);let c=u.length,h=kE(u);e.start1-=a,e.start2-=a,e.utf8Start1-=l,e.utf8Start2-=l,e.length1+=a+c,e.length2+=a+c,e.utf8Length1+=l+h,e.utf8Length2+=l+h}let kz=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function kN(e){return parseInt(e,10)}function kD(e){let t,n,r,{utf8Length1:i,utf8Length2:o,utf8Start1:s,utf8Start2:a,diffs:l}=e;t=0===i?`${s},0`:1===i?`${s+1}`:`${s+1},${i}`,n=0===o?`${a},0`:1===o?`${a+1}`:`${a+1},${o}`;let d=[`@@ -${t} +${n} @@
1171`];for(let e=0;e<l.length;e++){switch(l[e][0]){case 1:r="+";break;case -1:r="-";break;case 0:r=" ";break;default:throw Error("Unknown patch operation.")}d[e+1]=`${r+encodeURI(l[e][1])}
1172`}return d.join("").replace(/%20/g," ")}function kF(e,t){if("number"==typeof t){var n=e.length,r=t;if(0===n&&(-1===r||0===r))return 0;let i=r<0?n+r:r;return i>=n||i<0?null:i}if(yO(t)){let n=e.findIndex(e=>(null!==e&&"object"==typeof e&&"string"==typeof e._key&&e._key||null)===t._key);return -1===n?null:n}throw Error(`Expected path segment to be addressing a single array item either by numeric index or by '_key'. Instead saw ${JSON.stringify(t)}`)}function kZ(e,t,n,r){let i=e.slice();return i.splice(t,n,...r||[]),i}function kU(e,t){let n={...e};for(let e of t)delete n[e];return n}function kG(e,t){var n;if(!Array.isArray(t))throw TypeError('Cannot apply "insert()" on non-array value');let r=kF(t,e.referenceItem);if(null===r)throw Error(`Found no matching array element to insert ${e.position}`);return 0===t.length?e.items:kZ(t,(n=e.position,"before"===n?r:r+1),0,e.items)}let kq=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);var kY=Object.freeze({__proto__:null,assign:function(e,t){if(!yX(t))throw TypeError('Cannot apply "assign()" on non-object value');return!function(e){for(let t in e)if(kq(e,t))return!1;return!0}(e.value)?{...t,...e.value}:t},dec:function(e,t){if("number"!=typeof t)throw TypeError('Cannot apply "dec()" on non-numeric value');return t-e.amount},diffMatchPatch:function(e,t){if("string"!=typeof t)throw TypeError('Cannot apply "diffMatchPatch()" on non-string value');return function(e,t,n={}){if("string"==typeof e)throw Error("Patches must be an array - pass the patch to `parsePatch()` first");let r=t;if(0===e.length)return[r,[]];let i=function(e,t,n={}){let r=0,i=0;function o(e){for(;r<e;){let e=t.codePointAt(i);if(typeof e>"u")return i;r+=kR(e),e>65535?i+=2:i+=1}if(!n.allowExceedingIndices&&r!==e)throw Error("Failed to determine byte offset");return i}let s=[];for(let t of e)s.push({diffs:t.diffs.map(e=>C5(e)),start1:o(t.start1),start2:o(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return s}(e,r,{allowExceedingIndices:n.allowExceedingIndices}),o=n.margin||4,s=n.deleteThreshold||.4,a=function(e,t=4){let n="";for(let e=1;e<=t;e++)n+=String.fromCharCode(e);for(let n of e)n.start1+=t,n.start2+=t,n.utf8Start1+=t,n.utf8Start2+=t;let r=e[0],i=r.diffs;if(0===i.length||0!==i[0][0])i.unshift([0,n]),r.start1-=t,r.start2-=t,r.utf8Start1-=t,r.utf8Start2-=t,r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[0][1].length){let e=i[0][1].length,o=t-e;i[0][1]=n.substring(e)+i[0][1],r.start1-=o,r.start2-=o,r.utf8Start1-=o,r.utf8Start2-=o,r.length1+=o,r.length2+=o,r.utf8Length1+=o,r.utf8Length2+=o}if(0===(i=(r=e[e.length-1]).diffs).length||0!==i[i.length-1][0])i.push([0,n]),r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[i.length-1][1].length){let e=t-i[i.length-1][1].length;i[i.length-1][1]+=n.substring(0,e),r.length1+=e,r.length2+=e,r.utf8Length1+=e,r.utf8Length2+=e}return n}(i,o);r=a+r+a,function(e,t=4){for(let n=0;n<e.length;n++){if(e[n].length1<=32)continue;let r=e[n];e.splice(n--,1);let i=r.start1,o=r.start2,s="";for(;0!==r.diffs.length;){let a=kV(i-s.length,o-s.length),l=!0;if(""!==s){let e=kE(s);a.length1=s.length,a.utf8Length1=e,a.length2=s.length,a.utf8Length2=e,a.diffs.push([0,s])}for(;0!==r.diffs.length&&a.length1<32-t;){let e=r.diffs[0][0],n=r.diffs[0][1],s=kE(n);if(1===e){a.length2+=n.length,a.utf8Length2+=s,o+=n.length;let e=r.diffs.shift();e&&a.diffs.push(e),l=!1}else -1===e&&1===a.diffs.length&&0===a.diffs[0][0]&&n.length>64?(a.length1+=n.length,a.utf8Length1+=s,i+=n.length,l=!1,a.diffs.push([e,n]),r.diffs.shift()):(s=kE(n=n.substring(0,32-a.length1-t)),a.length1+=n.length,a.utf8Length1+=s,i+=n.length,0===e?(a.length2+=n.length,a.utf8Length2+=s,o+=n.length):l=!1,a.diffs.push([e,n]),n===r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(n.length))}s=(s=kL(a.diffs)).substring(s.length-t);let d=kM(r.diffs).substring(0,t),u=kE(d);""!==d&&(a.length1+=d.length,a.length2+=d.length,a.utf8Length1+=u,a.utf8Length2+=u,0!==a.diffs.length&&0===a.diffs[a.diffs.length-1][0]?a.diffs[a.diffs.length-1][1]+=d:a.diffs.push([0,d]
1172)),l||e.splice(++n,0,a)}}}(i,o);let l=0,d=[];for(let e=0;e<i.length;e++){let t=i[e].start2+l,n=kM(i[e].diffs),o,a=-1;if(n.length>32?-1!==(o=kj(r,n.substring(0,32),t))&&(-1===(a=kj(r,n.substring(n.length-32),t+n.length-32))||o>=a)&&(o=-1):o=kj(r,n,t),-1===o)d[e]=!1,l-=i[e].length2-i[e].length1;else{let u;if(d[e]=!0,l=o-t,u=-1===a?r.substring(o,o+n.length):r.substring(o,a+32),n===u)r=r.substring(0,o)+kL(i[e].diffs)+r.substring(o+n.length);else{let t=ki(n,u,{checkLines:!1});if(n.length>32&&function(e){let t=0,n=0,r=0;for(let i=0;i<e.length;i++){let o=e[i][0],s=e[i][1];switch(o){case 1:n+=s.length;break;case -1:r+=s.length;break;case 0:t+=Math.max(n,r),n=0,r=0;break;default:throw Error("Unknown diff operation.")}}return t+Math.max(n,r)}(t)/n.length>s)d[e]=!1;else{t=km(t);let n=0,s=0;for(let a=0;a<i[e].diffs.length;a++){let l=i[e].diffs[a];0!==l[0]&&(s=kS(t,n)),1===l[0]?r=r.substring(0,o+s)+l[1]+r.substring(o+s):-1===l[0]&&(r=r.substring(0,o+s)+r.substring(o+kS(t,n+l[1].length))),-1!==l[0]&&(n+=l[1].length)}}}}}return[r=r.substring(a.length,r.length-a.length),d]}(function(e){if(!e)return[];let t=[],n=e.split(`
1173`),r=0;for(;r<n.length;){let e=n[r].match(kz);if(!e)throw Error(`Invalid patch string: ${n[r]}`);let i=kV(kN(e[1]),kN(e[3]));for(t.push(i),""===e[2]?(i.start1--,i.utf8Start1--,i.length1=1,i.utf8Length1=1):"0"===e[2]?(i.length1=0,i.utf8Length1=0):(i.start1--,i.utf8Start1--,i.utf8Length1=kN(e[2]),i.length1=i.utf8Length1),""===e[4]?(i.start2--,i.utf8Start2--,i.length2=1,i.utf8Length2=1):"0"===e[4]?(i.length2=0,i.utf8Length2=0):(i.start2--,i.utf8Start2--,i.utf8Length2=kN(e[4]),i.length2=i.utf8Length2),r++;r<n.length;){let e,t=n[r],o=t.charAt(0);if("@"===o)break;if(""===o){r++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let s=kE(e)-e.length;if("-"===o)i.diffs.push([-1,e]),i.length1-=s;else if("+"===o)i.diffs.push([1,e]),i.length2-=s;else if(" "===o)i.diffs.push([0,e]),i.length1-=s,i.length2-=s;else throw Error(`Invalid patch mode "${o}" in: ${e}`);r++}}return t}(e.value),t)[0]},inc:function(e,t){if("number"!=typeof t)throw TypeError('Cannot apply "inc()" on non-numeric value');return t+e.amount},insert:kG,insertIfMissing:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "insertIfMissing()" on non-array value');
1173if(0===e.items.length)return t;let n=e.items.filter(e=>!t.find(t=>e._key===t?._key));return 0===n.length?t:kG({items:n,referenceItem:e.referenceItem,position:e.position},t)},remove:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "remove()" on non-array value');let n=kF(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return kZ(t,n,1,[])},replace:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "replace()" on non-array value');let n=kF(t,e.referenceItem);if(null===n)throw Error("Found no matching array element to replace");return kZ(t,n,e.items.length,e.items)},set:function(e,t){return e.value},setIfMissing:function(e,t){return t??e.value},truncate:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "truncate()" on non-array value');return"number"==typeof e.endIndex?t.slice(0,e.startIndex).concat(t.slice(e.endIndex)):t.slice(0,e.startIndex)},unassign:function(e,t){if(!yX(t))throw TypeError('Cannot apply "unassign()" on non-object value');return 0===e.keys.length?t:kU(t,e.keys)},unset:function(e){},upsert:function(e,t){if(!Array.isArray(t))throw TypeError('Cannot apply "upsert()" on non-array value');
1173if(0===e.items.length)return t;let n={},r=[];e.items.forEach((e,i)=>{let o=t.findIndex(t=>t?._key===e._key);o>=0?n[o]=i:r.push(e)});let i=Object.keys(n);if(0===i.length&&0==r.length)return t;let o=[...t];for(let t of i){let r=Number(t);o[r]=e.items[n[r]]}return kG({items:r,referenceItem:e.referenceItem,position:e.position},o)}});function kX(e,t){return e.reduce((e,t)=>kK(t,e),t)}function kK(e,t){return function e(t,n,r){if(!(t.length>0)){if(!(n.type in kY))throw Error(`Invalid operation type: "${n.type}"`);return kY[n.type](n,r)}let[i,...o]=t;if(yB(i)&&Array.isArray(r)){var s=i,a=o,l=n,d=r;let t=kF(d,s);if(null===t||-1===t)return d;let u=d[t],c=e(a,l,u);return c===u?d:kZ(d,t,1,void 0===c?[]:[c])}if("string"==typeof i&&yX(r)){var u=i,c=o,h=n,f=r;let t=f[u];if(void 0===t&&c.length>0)return f;let s=e(c,h,t);return void 0===s?kU(f,[u]):s===t?f:{...f,[u]:s}}throw Error(`Cannot apply operation of type "${n.type}" to path ${yz(t)} on ${typeof r} value`)}(e.path,e.op,t)}function kJ(e){return"_id"in e}let kQ=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"];class k1{model;root;patch;i;inputStack;outputStack;constructor(e,t,n){this.model=e,this.root=t,this.patch=n,this.i=0,this.inputStack=[],this.outputStack=[]}read(){return this.patch[this.i++]}process(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){let e=this.read(),t=kQ[e];if(!t)throw Error(`Unknown opcode: ${e}`);this[`process${t}`].apply(this)}let e=this.outputStack.pop();return this.finalizeOutput(e)}inputEntry(){return this.inputStack[this.inputStack.length-1]}inputKey(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]}outputEntry(){return this.outputStack[this.outputStack.length-1]}outputArray(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue}outputObject(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue}outputString(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue}finalizeOutput(e){return e.writeValue?this.model.finalize(e.writeValue):e.value}processValue(){let e=this.model.wrap(this.read());this.outputStack.push({value:e})}processCopy(){let e=this.inputEntry();this.outputStack.push({value:e.value})}processBlank(){this.outputStack.push({value:null})}processReturnIntoArray(){let e=this.outputStack.pop(),t=this.finalizeOutput(e),n=this.outputArray();this.model.arrayAppendValue(n,t)}processReturnIntoObject(){let e=this.read(),t=this.outputStack.pop(),n=this.finalizeOutput(t);n=this.model.markChanged(n);let r=this.outputObject();this.model.objectSetField(r,e,n)}processReturnIntoObjectSameKey(){let e=this.inputEntry(),t=this.outputStack.pop(),n=this.finalizeOutput(t),r=this.outputObject();this.model.objectSetField(r,e.key,n)}processPushField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.model.objectGetField(t.value,n);this.inputStack.push({value:r,key:n})}processPushElement(){let e=this.read(),t=this.inputEntry(),n=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:n})}processPop(){this.inputStack.pop()}processPushFieldCopy(){this.processPushField(),this.processCopy()}processPushFieldBlank(){this.processPushField(),this.processBlank()}processPushElementCopy(){this.processPushElement(),this.processCopy()}processPushElementBlank(){this.processPushElement(),this.processBlank()}processReturnIntoObjectPop(){this.processReturnIntoObject(),this.processPop()}processReturnIntoObjectSameKeyPop(){this.processReturnIntoObjectSameKey(),this.processPop()}processReturnIntoArrayPop(){this.processReturnIntoArray(),this.processPop()}processObjectSetFieldValue(){this.processValue(),this.processReturnIntoObject()}processObjectCopyField(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()}processObjectDeleteField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.outputObject();this.model.objectDeleteField(r,n)}processArrayAppendValue(){let e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)}processArrayAppendSlice(){let e=this.read(),t=this.read(),n=this.outputArray(),r=this.inputEntry().value;this.model.arrayAppendSlice(n,r,e,t)}processStringAppendString(){let e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)}processStringAppendSlice(){let e=this.read(),t=this.read(),n=this.outputString(),r=this.inputEntry().value;this.model.stringAppendSlice(n,r,e,t)}}function k0(e){return e>>16?4:e>>11?3:e>>7?2:1}function k5(e,t,n=0){let r=n,i=0;for(i=n;r<t;i++){let t=k0(e.codePointAt(i));4===t&&i++,r+=t}return i}class k2{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}
1173objectGetField(e,t){return e[t]}arrayGetElement(e,t){return e[t]}copyObject(e){let t={type:"object",data:{}};if(null!==e)for(let[n,r]of Object.entries(e))t.data[n]=r;return t}copyArray(e){return null===e?[]:e.slice()}copyString(e){return{type:"string",data:null===e?"":e}}objectSetField(e,t,n){e.data[t]=n}objectDeleteField(e,t){delete e.data[t]}arrayAppendValue(e,t){e.push(t)}arrayAppendSlice(e,t,n,r){e.push(...t.slice(n,r))}stringAppendSlice(e,t,n,r){let i=k5(t,n),o=k5(t,r,i);e.data+=t.slice(i,o)}stringAppendValue(e,t){e.data+=t}}var k3=new Uint8Array(16);let k4=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var k6=[],k8=0;k8<256;++k8)k6.push((k8+256).toString(16).substr(1));let k9=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(k6[e[t+0]]+k6[e[t+1]]+k6[e[t+2]]+k6[e[t+3]]+"-"+k6[e[t+4]]+k6[e[t+5]]+"-"+k6[e[t+6]]+k6[e[t+7]]+"-"+k6[e[t+8]]+k6[e[t+9]]+"-"+k6[e[t+10]]+k6[e[t+11]]+k6[e[t+12]]+k6[e[t+13]]+k6[e[t+14]]+k6[e[t+15]]).toLowerCase();if(!("string"==typeof n&&k4.test(n)))throw TypeError("Stringified UUID is invalid");return n},k7=function(e,t,n){var r=(e=e||{}).random||(e.rng||function(){if(!T&&!(T="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"u">typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(k3)})();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return k9(r)};function je(e,t){if(0===e.length)return t;let n=t;for(let t of e){if(yB(t)){if(!Array.isArray(n))return;if(yO(t)){n=n.find(e=>e._key===t._key);continue}n=n[t];continue}n=n[t]}return n}var jt=e.i(10354);function jn(e){if("patch"===e.type)return e.id;if("create"===e.type)return e.document._id;if("delete"===e.type)return e.id;if("createIfNotExists"===e.type||"createOrReplace"===e.type)return e.document._id;throw Error("Invalid mutation type")}function jr(e,t){return t.reduce((e,t)=>{let n=ji(e,t);if("error"===n.status)throw Error(n.message);return"noop"===n.status?e:n.after},e)}function ji(e,t){if("create"===t.type)return function(e,t){var n;if(e)return{status:"error",message:"Document already exist"};let r=(n=t.document,kJ(n)?n:{...n,_id:C0()});return{status:"created",id:r._id,after:r}}(e,t);if("createIfNotExists"===t.type){return n=e,kJ((r=t).document)?n?{status:"noop"}:{status:"created",id:r.document._id,after:r.document}:{status:"error",message:"Cannot createIfNotExists on document without _id"}}if("delete"===t.type){return i=e,o=t,i?o.id!==i._id?{status:"error",message:"Delete mutation targeted wrong document"}:{status:"deleted",id:o.id,before:i,after:void 0}:{status:"noop"}}if("createOrReplace"===t.type){return s=e,kJ((a=t).document)?s?{status:"updated",id:a.document._id,before:s,after:a.document}:{status:"created",id:a.document._id,after:a.document}:{status:"error",message:"Cannot createIfNotExists on document without _id"}}if("patch"===t.type){var n,r,i,o,s,a,l=e,d=t;if(!l)return{status:"error",message:"Cannot apply patch on nonexistent document"};let u=function(e,t){if(e.options?.ifRevision&&t._rev!==e.options.ifRevision)throw Error("Revision mismatch");if(e.id!==t._id)throw Error(`Document id mismatch. Refusing to apply mutation for document with id="${e.id}" on the given document with id="${t._id}"`);return kX(e.patches,t)}(d,l);return l===u?{status:"noop"}:{status:"updated",id:d.id,before:l,after:u}}throw Error(`Invalid mutation type: ${t.type}`)}function jo(e,t,n){let r=[];for(let n of e.slice().reverse()){if(t(n))return r;r.push(n)}return r.reverse()}function js(e,t){return yz(e)===yz(t)}function ja(e,t){let n=e;return t.reduce((e,t)=>{let r=n;if(n=kK(t,n),"set"===t.op.type&&"string"==typeof t.op.value){let n=je(t.path,r);if("string"==typeof n){let r={...t,op:{type:"diffMatchPatch",value:(function(e,t){if("string"==typeof e&&"string"==typeof t){let n=ki(e,t,{checkLines:!0});return n.length>2&&(n=function(e,t=4){let n=e.map(e=>
1173C5(e)),r=!1,i=[],o=0,s=null,a=0,l=!1,d=!1,u=!1,c=!1;for(;a<n.length;)0===n[a][0]?(n[a][1].length<t&&(u||c)?(i[o++]=a,l=u,d=c,s=n[a][1]):(o=0,s=null),u=!1,c=!1):(-1===n[a][0]?c=!0:u=!0,s&&(l&&d&&u&&c||s.length<t/2&&3===function(...e){return e.reduce((e,t)=>e+ +!!t,0)}(l,d,u,c))&&(n.splice(i[o-1],0,[-1,s]),n[i[o-1]+1][0]=1,o--,s=null,l&&d?(u=!0,c=!0,o=0):(a=--o>0?i[o-1]:-1,u=!1,c=!1),r=!0)),a++;return r&&(n=kg(n)),n}(n=kd(n))),kB(e,n,kO(void 0))}if(e&&Array.isArray(e)&&typeof t>"u")return kB(kM(e),e,kO(void 0));if("string"==typeof e&&t&&Array.isArray(t))return kB(e,t,kO(void 0));throw Error("Unknown call format to make()")})(n,t.op.value).map(kD).join("")}};return e.flatMap(e=>js(e.path,t.path)&&"diffMatchPatch"===e.op.type?[]:e).concat(r)}}return e.push(t),e},[])}function jl(e,t,n,r){let i=t,o=r.map(t=>{let n=t.mutations.flatMap(t=>{if(jn(t)!==e)return[];let n=i;return i=jr(i,[t]),n&&"patch"===t.type?{type:"dmpified",mutation:{...t,dmpPatches:ja(n,t.patches),original:t.patches}}:t});return{...t,mutations:n}}),s=n;return o.map(t=>{let n=[];return t.mutations.forEach(t=>{if("dmpified"===t.type)try{s=kX(t.mutation.dmpPatches,s),n.push(t)}catch{console.warn("Failed to apply dmp patch, falling back to original");try{s=kX(t.mutation.original,s),n.push(t)}catch(t){throw Error(`Failed to apply patch for document "${e}": ${t.message}`)}}else s=jr(s,[t])})}),[r.map(t=>({...t,mutations:t.mutations.map(t=>"patch"!==t.type||jn(t)!==e?t:{...t,patches:t.patches.map(e=>"set"!==e.op.type?e:{...e,op:{...e.op,value:je(e.path,s)}})})})),s]}var jd=e.i(63415),ju=e.i(4161),jc=e.i(28251),jh=e.i(52216),jf=1,jp={};function jm(e){return e in jp&&(delete jp[e],!0)}var jg=function(e){var t=jf++;return jp[t]=!0,_||(_=Promise.resolve()),_.then(function(){return jm(t)&&e()}),t},jv=function(e){jm(e)},jy={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=jy.delegate;return((null==n?void 0:n.setImmediate)||jg).apply(void 0,(0,jc.__spreadArray)([],(0,jc.__read)(e)))},clearImmediate:function(e){var t=jy.delegate;return((null==t?void 0:t.clearImmediate)||jv)(e)},delegate:void 0},jw=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,jc.__extends)(t,e),t.prototype.requestAsyncId=function(t,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=jy.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var i,o=t.actions;null!=n&&(null==(i=o[o.length-1])?void 0:i.id)!==n&&(jy.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(jh.AsyncAction),jb=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,jc.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,n=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift())if(this._active=!1,t){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw t}},t}(e.i(53609).AsyncScheduler))(jw),jx=e.i(72494),jC=e.i(82355),jC=jC,jk=e.i(77424),jj=e.i(89800),jM=e.i(97687),jL=e.i(39711),jL=jL,jS=e.i(87611);function jE(e){let t=e.listen('*[!(_id in path("_.**"))]',{},{events:["welcome","mutation","reconnect"],includeResult:!1,includePreviousRevision:!1,visibility:"transaction",effectFormat:"mendoza",includeMutations:!1}).pipe((0,CJ.share)({resetOnRefCountZero:!0})),n=t.pipe((0,C1.filter)(e=>"reconnect"===e.type)),r=t.pipe((0,C1.filter)(e=>"welcome"===e.type)),i=t.pipe((0,C1.filter)(e=>"mutation"===e.type)),o=(0,CK.merge)(r,n).pipe((0,jd.shareReplay)({bufferSize:1,refCount:!0})).pipe((0,C1.filter)(e=>"welcome"===e.type));return(0,CK.merge)(o,i,n)}let jR=(0,jx.setup)({types:{},actions:{"assign error to context":(0,jj.assign)({error:({event:e})=>e}),"clear error from context":(0,jj.assign)({error:void 0}),"connect to server-sent events":(0,jS.raise)({type:"connect"}),"listen to server-sent events":(0,jL.b)("server-sent events",{id:"listener",input:({context:e})=>({listener:e.sharedListener||jE(e.client),id:e.id})}),"stop listening to server-sent events":(0,jM.stopChild)("listener"),"buffer remote mutation events":(0,jj.assign)({mutationEvents:({event:e,context:t})=>((0,jx.assertEvent)(e,"mutation"),[...t.mutationEvents,e])}),"restore stashed changes":(0,jj.assign)({stagedChanges:({event:e,context:t})=>((0,jx.assertEvent)(e,"xstate.done.actor.submitTransactions"),t.stashedChanges),stashedChanges:[]}),"rebase fetched remote snapshot":(0,jk.enqueueActions)(({enqueue:e})=>{e.assign(({event:e,context:t})=>{(0,jx.assertEvent)(e,"xstate.done.actor.getDocument");let n=t.remote,r=e.output,i=!1;for(let e of t.mutationEvents)e.effects?.apply&&(e.previousRev||"appear"===e.transition)&&(i||e.previousRev!==r?._rev||(i=!0),i&&(r=jV(r,e.effects.apply,e.resultRev)));t.cache&&(!t.cache.has(t.id)||t.cache.get(t.id)._rev!==r?._rev)&&t.cache.set(t.i
1173d,r);let[o,s]=jl(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:s,stagedChanges:o,mutationEvents:[]}}),e.sendParent(({context:e})=>({type:"rebased.remote",id:e.id,document:e.remote}))}),"apply mendoza patch":(0,jj.assign)(({event:e,context:t})=>{(0,jx.assertEvent)(e,"mutation");let n=t.remote;if(e.transactionId===n?._rev)return{};let r=jV(n,e.effects.apply,e.resultRev);t.cache&&(!t.cache.has(t.id)||t.cache.get(t.id)._rev!==r?._rev)&&t.cache.set(t.id,r);let[i,o]=jl(t.id,null===n?void 0:n,null===r?void 0:r,t.stagedChanges);return{remote:r,local:o,stagedChanges:i}}),"increment fetch attempts":(0,jj.assign)({fetchRemoteSnapshotAttempts:({context:e})=>e.fetchRemoteSnapshotAttempts+1}),"reset fetch attempts":(0,jj.assign)({fetchRemoteSnapshotAttempts:0}),"increment submit attempts":(0,jj.assign)({submitTransactionsAttempts:({context:e})=>e.submitTransactionsAttempts+1}),"reset submit attempts":(0,jj.assign)({submitTransactionsAttempts:0}),"stage mutation":(0,jj.assign)({stagedChanges:({event:e,context:t})=>((0,jx.assertEvent)(e,"mutate"),[...t.stagedChanges,{transaction:!1,mutations:e.mutations}])}),"stash mutation":(0,jj.assign)({stashedChanges:({event:e,context:t})=>((0,jx.assertEvent)(e,"mutate"),[...t.stashedChanges,{transaction:!1,mutations:e.mutations}])}),"rebase local snapshot":(0,jk.enqueueActions)(({enqueue:e})=>{e.assign({local:({event:e,context:t})=>{var n;(0,jx.assertEvent)(e,"mutate");let r=new Map;return t.local&&r.set(t.id,t.local),n=function(e,t){let n=Object.create(null);for(let r of e){let e=jn(r);if(!e)throw Error("Unable to get document id from mutation");let i=n[e]?.after||t.get(e),o=ji(i,r);if("error"===o.status)throw Error(o.message);let s=n[e];s||(s={before:i,after:i,mutations:[]},n[e]=s);let a="noop"===o.status?i:o.after;t.set(e,a),s.after=a,s.mutations.push(r)}return Object.entries(n).map(([e,{before:t,after:n,mutations:r}])=>({id:e,status:n?t?"updated":"created":"deleted",mutations:r,before:t,after:n}))}(e.mutations,r),n.forEach(e=>{("created"===e.status||"updated"===e.status)&&r.set(e.id,e.after),"deleted"===e.status&&r.delete(e.id)}),r.get(t.id)}}),e.sendParent(({context:e})=>({type:"rebased.local",id:e.id,document:e.local}))}),"send pristine event to parent":(0,jC.b)(({context:e})=>({type:"pristine",id:e.id})),"send sync event to parent":(0,jC.b)(({context:e})=>({type:"sync",id:e.id,document:e.remote})),"send mutation event to parent":(0,jC.b)(({context:e,event:t})=>((0,jx.assertEvent)(t,"mutation"),{type:"mutation",id:e.id,previousRev:t.previousRev,resultRev:t.resultRev,effects:t.effects}))},actors:{"server-sent events":(0,y5.fromEventObservable)(({input:e})=>{let{listener:t,id:n}=e;return(0,CQ.defer)(()=>t).pipe((0,C1.filter)(e=>"welcome"===e.type||"reconnect"===e.type||"mutation"===e.type&&e.documentId===n),(0,ju.observeOn)(jb))}),"fetch remote snapshot":(0,y5.fromPromise)(async({input:e,signal:t})=>{let{client:n,id:r}=e;return await n.getDocument(r,{signal:t}).catch(e=>{if(!(e instanceof Error&&"AbortError"===e.name))throw e})}),"submit mutations as transactions":(0,y5.fromPromise)(async({input:e,signal:t})=>{let{client:n,transactions:r}=e;for(let e of r){if(t.aborted)return;await n.dataRequest("mutate",yG(e),{visibility:"async",returnDocuments:!1,signal:t}).catch(e=>{if(!(e instanceof Error&&"AbortError"===e.name))throw e})}})},delays:{fetchRemoteSnapshotTimeout:({context:e})=>1e3*Math.pow(2,e.fetchRemoteSnapshotAttempts),submitTransactionsTimeout:({context:e})=>1e3*Math.pow(2,e.submitTransactionsAttempts)}}).createMachine({id:"document-mutator",context:({input:e})=>({client:e.client.withConfig({allowReconfigure:!1}),sharedListener:e.sharedListener,id:e.id,remote:void 0,local:void 0,mutationEvents:[],stagedChanges:[],stashedChanges:[],error:void 0,fetchRemoteSnapshotAttempts:0,submitTransactionsAttempts:0,cache:e.cache}),entry:["connect to server-sent events"],on:{mutate:{actions:["rebase local snapshot","stage mutation"]}},initial:"disconnected",states:{disconnected:{on:{connect:{target:"connecting",actions:["listen to server-sent events"]}}},connecting:{on:{welcome:"connected",reconnect:"reconnecting",error:"connectFailure"},tags:["busy"]},connectFailure:{on:{connect:{target:"connecting",actions:["listen to server-sent events"]}},entry:["stop listening to server-sent events","assign error to context"],exit:["clear error from context"],tags:["error"]},reconnecting:{on:{welcome:{target:"connected"},error:{target:"connectFailure"}},tags:["busy","error"]},connected:{on:{mutation:{actions:["buffer remote mutation events"]},reconnect:"reconnecting"},entry:["clear error from context"],initial:"loading",states:{loading:{invoke:{src:"fetch remote snapshot",id:"getDocument",input:({context:e})=>({client:e.client,id:e.id}),onError:{target:"loadFailure"},onDone:{target:"loaded",actions:["rebase fetched remote snapshot","reset fetch attempts"]}},tags:["busy"]},loaded:{entry:["send sync event to parent"],on:{mutation:{actions:["apply mendoza patch","send mutation event to parent"]}},initial:"pristine",states:{pristine:{on:{mutate:{actions:["rebase local snapshot","stage mutation"],target:"dirty"}},tags:["ready"]},dirty:{on:{submit:"submitting"},tags:["ready"]},submitting:{on:{mutate:{actions:["rebase local snapshot","stash mutation"]}},invoke:{src:"submit mutations as transactions",id:"submitTransactions",input:({context:e})=>{var t,n;let r,i,o=new Map;return o.set(e.id,e.remote),{client:e.client,transactions:(t=e.stagedChanges,n=e=>
1173!e.transaction,r=[],i=[],t.forEach(e=>{n(e)?i.push(e):(i.length>0&&r.push(i),i=[],r.push([e]))}),i.length>0&&r.push(i),r).flatMap(e=>({...e[0],mutations:e.flatMap(e=>e.mutations)})).map(e=>{var t;return{...e,mutations:(t=e.mutations,Object.values((0,jt.default)(t,jn)).flatMap(e=>{var t,n;return(0===(n=0===(t=e).length?t:t.reduce((e,t)=>"delete"===t.type?[t]:(e.push(t),e),[])).length?n:n.reduce((e,t)=>("createIfNotExists"!==t.type?e.push(t):jo(e,e=>"delete"===e.type).find(e=>"createIfNotExists"===e.type)||e.push(t),e),[])).flat().reduce((e,t)=>{let n=e[e.length-1];return n&&"patch"!==n.type||"patch"!==t.type?e.concat(t):e.slice(0,-1).concat({...t,patches:(n?.patches||[]).concat(t.patches)})},[])}))}}).map(e=>({...e,mutations:e.mutations.map(e=>"patch"!==e.type?e:{...e,patches:e.patches.reduce((e,t)=>{if("unset"!==t.op.type)return e.push(t),e;let n=e.filter(e=>{var n,r;return n=t.path,r=e.path,!(n.length<=r.length&&n.every((e,t)=>{var n,i;return n=e,i=function(e,t){if(t<0||t>=e.length)throw Error("Index out of bounds");return e[t]}(r,t),yI(n)&&yI(i)?n._key===i._key:"number"==typeof n?Number(n)===Number(i):n===i}))});return n.push(t),n},[]).reduceRight((e,t)=>(e.find(e=>{var n,r;return n=e.op,("set"===(r=t.op).type||"unset"===r.type)&&("set"===n.type||"unset"===n.type)&&js(e.path,t.path)})||e.unshift(t),e),[]).reduce((e,t)=>("setIfMissing"!==t.op.type?e.push(t):jo(e,e=>"unset"===e.op.type).find(e=>"setIfMissing"===e.op.type&&js(e.path,t.path))||e.push(t),e),[])})})).map(e=>{var t;return{...e,mutations:(t=o,e.mutations.map((e,n)=>{var r,i;if("patch"!==e.type)return e;let o=t.get(e.id);return o?(r=o,{...i=e,patches:ja(r,i.patches)}):e}))}}).map(e=>e.transaction&&void 0!==e.id?{id:e.id,mutations:e.mutations}:{id:k7(),mutations:e.mutations})}},onError:{target:"submitFailure"},onDone:{target:"pristine",actions:["restore stashed changes","reset submit attempts","send pristine event to parent"]}},tags:["busy","ready"]},submitFailure:{exit:["clear error from context"],after:{submitTransactionsTimeout:{actions:["increment submit attempts"],target:"submitting"}},on:{retry:"submitting"},tags:["error","ready"]}}},loadFailure:{exit:["clear error from context"],after:{fetchRemoteSnapshotTimeout:{actions:["increment fetch attempts"],target:"loading"}},on:{retry:"loading"},tags:["error"]}}}}});function jV(e,t,n){var r;let i=(r=function(e){if(!e)return null;let{_rev:t,...n}=e;return n}(e),new k1(new k2,r,t).process());return i?Object.assign(i,{_rev:n}):null}var jH=e.i(60110);let j$=e=>{let t=(0,y5.fromPromise)(async({input:t,signal:n})=>{let{id:r}=t,{snapshot:i}=await e.fetch("visual-editing/fetch-snapshot",{documentId:r},{signal:n});return i}),n=(0,y5.fromPromise)(async({input:t})=>{let{transactions:n}=t;for(let t of n){let n=y0.encodeTransaction(t);return e.post("visual-editing/mutate",n)}});return jR.provide({actions:{"send sync event to parent":(0,jk.enqueueActions)(({enqueue:e})=>{e.sendParent(({context:e})=>({type:"sync",id:e.id,document:e.remote})),e.emit(({context:e})=>({type:"ready",snapshot:e.local}))})},actors:{"fetch remote snapshot":t,"submit mutations as transactions":n}})},jA=(0,jx.setup)({types:{},actions:{"emit sync event":(0,jH.emit)(({event:e})=>((0,jx.assertEvent)(e,"sync"),e)),"emit mutation event":(0,jH.emit)(({event:e})=>((0,jx.assertEvent)(e,"mutation"),e)),"emit rebased event":(0,jH.emit)(({event:e})=>((0,jx.assertEvent)(e,["rebased.local","rebased.remote"]),e)),"emit pristine event":(0,jH.emit)(({event:e})=>((0,jx.assertEvent)(e,["pristine"]),e)),"add document actor":(0,jj.assign)({documents:({context:e,event:t,spawn:n})=>{(0,jx.assertEvent)(t,"observe");let r=t.documentId;return e.documents[r]?e.documents:{...e.documents,[r]:n("documentMutatorMachine",{input
1173:{id:r,client:e.client,sharedListener:e.sharedListener||jE(e.client)},id:r})}}}),"stop remote snapshot":(0,jM.stopChild)(({context:e,event:t})=>((0,jx.assertEvent)(t,"unobserve"),e.documents[t.documentId])),"remove remote snapshot from context":(0,jj.assign)({documents:({context:e,event:t})=>{if((0,jx.assertEvent)(t,"unobserve"),!e.documents[t.documentId])return e.documents;let{[t.documentId]:n,...r}=e.documents;return r}})},actors:{documentMutatorMachine:jR}}).createMachine({id:"dataset-mutator",context:({input:e})=>({documents:{},client:e.client,sharedListener:e.sharedListener}),on:{sync:{actions:["emit sync event"]},mutation:{actions:["emit mutation event"]},"rebased.*":{actions:["emit rebased event"]},pristine:{actions:["emit pristine event"]},observe:{actions:["add document actor"]},unobserve:{actions:["stop remote snapshot","remove remote snapshot from context"]}},initial:"pristine",states:{pristine:{}}}),jT=e=>jA.provide({actors:{documentMutatorMachine:j$(e)}});e.s(["createDatasetMutator",0,jT,"createDocumentMutator",0,j$],19060);let j_=new Set,jP=null;function jI(e){if(jP!==e)for(let t of(jP=e,j_))t()}let jO=e=>{let t,n,r,i,o=(0,I.c)(8),{comlink:s,history:a}=e;return o[0]!==s||o[1]!==a?(t=()=>s?.on("presentation/navigate",e=>{a?.update(e)}),n=[s,a],o[0]=s,o[1]=a,o[2]=t,o[3]=n):(t=o[2],n=o[3]),(0,B.useEffect)(t,n),o[4]!==s||o[5]!==a?(r=()=>{if(a)return a.subscribe(e=>{e.title=e.title||document.title,s?.post("visual-editing/navigate",e)})},i=[s,a],o[4]=s,o[5]=a,o[6]=r,o[7]=i):(r=o[6],i=o[7]),(0,B.useEffect)(r,i),null},jB=new Set,jW=null,jz=null,jN=null,jD=null,jF=new Set,jZ=!1,jU=0;function jG(e){return jF.add(e),()=>jF.delete(e)}function jq(){return jZ}let jY=e=>{let t,n,r=(0,I.c)(3),{comlink:i}=e;return r[0]!==i?(t=()=>{let e=()=>{i.post("visual-editing/meta",{title:document.title})},t=new MutationObserver(t=>{let[n]=t;"TITLE"===n.target.nodeName&&e()});return t.observe(document.head,{subtree:!0,characterData:!0,childList:!0}),e(),()=>t.disconnect()},n=[i],r[0]=i,r[1]=t,r[2]=n):(t=r[1],n=r[2]),(0,B.useEffect)(t,n),null};function jX(e){let t=new CustomEvent("sanity/dragEnd",{detail:e,cancelable:!0});window.dispatchEvent(t)}let jK=(0,B.createContext)(null);function jJ(){let e=(0,B.useContext)(jK);if(!e)throw Error("Schema context is missing");return e}function jQ(e,t,n,r){if(!e.type)throw Error("Node type is missing");return()=>t.patch(()=>wy(e,n,r))}function j1(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Duplicate",icon:rY,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>wg(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Duplicated"}]:[]}function j0(e){let{node:t,doc:n}=e;return n?[{type:"action",label:"Remove",icon:oA,action:function(e,t){if(!e.type)throw Error("Node type is missing");return()=>t.patch(async({getSnapshot:t})=>wv(e,await t()))}(t,n),telemetryEvent:"Visual Editing Context Menu Item Removed"}]:[]}async function j5(e,t=!0){let{node:n,doc:r}=e;if(!r)return[];let i=[],o=[],[s,a,l,d]=await Promise.all([ww(n,r,"previous"),ww(n,r,"next"),ww(n,r,"first"),ww(n,r,"last")]);return l.length&&o.push({type:"action",label:"To top",icon:oE,action:()=>r.patch(l),telemetryEvent:"Visual Editing Context Menu Item Moved"}),s.length&&o.push({type:"action",label:"Up",icon:ri,action:()=>r.patch(s),telemetryEvent:"Visual Editing Context Menu Item Moved"}),a.length&&o.push({type:"action",label:"Down",icon:re,action:()=>r.patch(a),telemetryEvent:"Visual Editing Context Menu Item Moved"}),d.length&&o.push({type:"action",label:"To bottom",icon:sS,action:()=>r.patch(d),telemetryEvent:"Visual Editing Context Menu Item Moved"}),o.length&&(i.push({type:"group",label:"Move",icon:oZ,items:o}),t&&i.push({type:"divider"})),i}async function j2(e){let{node:t,field:n,doc:r}=e,i=[];return i.push(...j1(e)),i.push(...j0(e)),i.push(...await j5(e)),i.push({type:"action",label:"Insert before",icon:iJ,action:jQ(t,r,n.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),i.push({type:"action",label:"Insert after",icon:iQ,action:jQ(t,r,n.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}),i}let j3=e=>{let t,n,r,i,o,s=(0,I.c)(12),{label:a,parent:l,width:d,onSelect:u,boundaryElement:c}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=["left-start","right","left","right-end","left-end","bottom","top"],s[0]=t):t=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(n=[4,4,4,4],s[1]=n):n=s[1],s[2]!==c||s[3]!==d?(r={arrow:!1,constrainSize:!0,floatingBoundary:c,padding:0,placement:"right-start",fallbackPlacements:t,preventOverflow:!0,width:d,__unstable_margins:n},s[2]=c,s[3]=d,s[4]=r):r=s[4],s[5]!==u||s[6]!==l?(i=(0,P.jsx)(xq,{node:l,onSelect:u}),s[5]=u,s[6]=l,s[7]=i):i=s[7],s[8]!==a||s[9]!==r||s[10]!==i?(o=(0,P.jsx)(yE,{fontSize:1,icon:iQ,padding:2,popover:r,space
1173:2,text:a,children:i}),s[8]=a,s[9]=r,s[10]=i,s[11]=o):o=s[11],o};async function j4(e){let{doc:t,node:n,parent:r}=e,i=[];if(i.push(...j1(e)),i.push(...j0(e)),i.push(...await j5(e)),r.options?.insertMenu){let e=(r.options.insertMenu||{}).views?.some(e=>"grid"===e.name)?0:void 0;i.push({type:"custom",component:({boundaryElement:i,sendTelemetry:o})=>(0,P.jsx)(j3,{label:"Insert before",onSelect:e=>{jQ(n,t,e.name,"before")(),o("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:i})}),i.push({type:"custom",component:({boundaryElement:i,sendTelemetry:o})=>(0,P.jsx)(j3,{label:"Insert after",onSelect:e=>{jQ(n,t,e.name,"after")(),o("Visual Editing Context Menu Item Inserted",null)},parent:r,width:e,boundaryElement:i})})}else i.push({type:"group",label:"Insert before",icon:iJ,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",icon:xP(e),label:"block"===e.name?"Paragraph":e.title||e.name,action:jQ(n,t,e.name,"before"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))}),i.push({type:"group",label:"Insert after",icon:iQ,items:r.of.filter(e=>"unionOption"===e.type).map(e=>({type:"action",label:"block"===e.name?"Paragraph":e.title||e.name,icon:xP(e),action:jQ(n,t,e.name,"after"),telemetryEvent:"Visual Editing Context Menu Item Inserted"}))});return i}let j6=[-4,4,-4,4];function j8(e){let t,n=(0,I.c)(27),{node:r,onDismiss:i,boundaryElement:o}=e,s=xU();n[0]!==r||n[1]!==i||n[2]!==s?(t=()=>{"action"===r.type&&(r.action?.(),i?.(),r.telemetryEvent&&s(r.telemetryEvent,null))},n[0]=r,n[1]=i,n[2]=s,n[3]=t):t=n[3];let a=t;if("divider"===r.type){let e;return n[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,P.jsx)(yM,{}),n[4]=e):e=n[4],e}if("action"===r.type){let e,t=!r.action;return n[5]!==r.hotkeys||n[6]!==r.icon||n[7]!==r.label||n[8]!==a||n[9]!==t?(e=(0,P.jsx)(yR,{fontSize:1,hotkeys:r.hotkeys,icon:r.icon,padding:2,space:2,text:r.label,disabled:t,onClick:a}),n[5]=r.hotkeys,n[6]=r.icon,n[7]=r.label,n[8]=a,n[9]=t,n[10]=e):e=n[10],e}if("group"===r.type){let e,t,s,a=r.icon;n[11]===Symbol.for("react.memo_cache_sentinel")?(e={arrow:!1,constrainSize:!0,placement:"right-start",fallbackPlacements:["left-start","right","left","right-end","left-end","bottom","top"],preventOverflow:!0,__unstable_margins:j6},n[11]=e):e=n[11];let l=r.label;if(n[12]!==o||n[13]!==r.items||n[14]!==i){let e;n[16]!==o||n[17]!==i?(e=(e,t)=>(0,P.jsx)(j8,{node:e,onDismiss:i,boundaryElement:o},t),n[16]=o,n[17]=i,n[18]=e):e=n[18],t=r.items.map(e),n[12]=o,n[13]=r.items,n[14]=i,n[15]=t}else t=n[15];return n[19]!==r.icon||n[20]!==r.label||n[21]!==t?(s=(0,P.jsx)(yE,{fontSize:1,icon:a,padding:2,popover:e,space:2,text:l,children:t}),n[19]=r.icon,n[20]=r.label,n[21]=t,n[22]=s):s=n[22],s}if("custom"===r.type){let e,{component:t}=r;return n[23]!==t||n[24]!==o||n[25]!==s?(e=(0,P.jsx)(t,{boundaryElement:o,sendTelemetry:s}),n[23]=t,n[24]=o,n[25]=s,n[26]=e):e=n[26],e}return null}let j9=e=>{let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g=(0,I.c)(43),{node:v,onDismiss:y,position:w}=e,{x:b,y:x}=w,[C,k]=(0,B.useState)(null),{getField:j}=jJ(),{getDocument:M}=wf();g[0]!==j||g[1]!==v?(t=j(v),g[0]=j,g[1]=v,g[2]=t):t=g[2];let{field:L,parent:S}=t,E=L?.title||L?.name||"Unknown type",[R,V]=(0,B.useState)(void 0);g[3]!==L||g[4]!==M||g[5]!==v||g[6]!==S?(n=()=>{(async()=>{let e=M(v.id);e&&V(await function(e){let{node:t,field:n,parent:r,doc:i}=e;return n?.type==="arrayItem"?j2({node:t,field:n,doc:i}):r?.type==="union"?j4({node:t,parent:r,doc:i}):Promise.resolve([])}({node:v,field:L,parent:S,doc:e}))})()},r=[L,v,S,M],g[3]=L,g[4]=M,g[5]=v,g[6]=S,g[7]=n,g[8]=r):(n=g[7],r=g[8]),(0,B.useEffect)(n,r),g[9]!==b||g[10]!==x?(i={getBoundingClientRect:()=>({bottom:x,left:b,right:b,top:x,width:0,height:0})},g[9]=b,g[10]=x,g[11]=i):i=g[11];let H=i;g[12]!==L?(o=xP(L),g[12]=L,g[13]=o):o=g[13];let $=o;g[14]===Symbol.for("react.memo_cache_sentinel")?(s={minWidth:120,maxWidth:160},g[14]=s):s=g[14],g[15]!==$||g[16]!==R?(a=(0,P.jsx)(gm,{flex:"none",children:R?(0,P.jsx)(gv,{size:1,children:$}):(0,P.jsx)(gk,{size:1})}),g[15]=$,g[16]=R,g[17]=a):a=g[17];let A=R?E:"Loading...";g[18]!==A?(l=(0,P.jsx)(vq,{flex:1,space:2,children:(0,P.jsx)(gv,{size:1,weight:"semibold",children:A})}),g[18]=A,g[19]=l):l=g[19],g[20]!==a||g[21]!==l?(d=(0,P.jsxs)(gb,{gap:2,padding:2,children:[a,l]}),g[20]=a,g[21]=l,g[22]=d):d=g[22],g[23]!==C||g[24]!==R||g[25]!==y?(u=R&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(yM,{}),R.map((e,t)=>(0,P.jsx)(j8,{node:e,onDismiss:y,boundaryElement:C},t))]}),g[23]=C,g[24]=R,g[25]=y,g[26]=u):u=g[26],g[27]!==d||g[28]!==u?(c=(0,P.jsxs)(yj,{style:s,children:[d,u]}),g[27]=d,g[28]=u,g[29]=c):c=g[29];let T=`${b}-${x}`;return g[30]!==b||g[31]!==x?(h={position:"absolute",left:b,top:x},g[30]=b,g[31]=x,g[32]=h):h=g[32],g[33]!==T||g[34]!==h?(f=(0,P.jsx)("div",{style:h},T),g[33]=T,g[34]=h,g[35]=f):f=g[35],g[36]!==H||g[37]!==c||g[38]!==f?(p=(0,P.jsx)(vI,{__unstable_margins:j6,arrow:!1,open:!0,placement:"right-start",referenceElement:H,content:c,children:f}),g[36]=H,g[37]=c,g[38]=f,g[39]=p):p=g[39],g[40]!==y||g[41]!==p?(m=(0,P.jsx)(xW,{setBoundaryElement:k,onDismiss:y,children:p}),g[40]=y,g[41]=p,g[42]=m):m=g[42],m},j7=(0,B.createContext)(null),Me=nK(gV)`
1174  background-color: var(--overlay-bg);
1175  border-radius: 3px;
1176  pointer-events: none;
1177  position: absolute;
1178  will-change: transform;
1179  box-shadow: var(--overlay-box-shadow);
1180  transition: none;
1181
1182  --overlay-bg: transparent;
1183  --overlay-box-shadow: inset 0 0 0 1px transparent;
1184
1185  [data-overlays] & {
1186    --overlay-bg: color-mix(in srgb, transparent 95%, var(--card-focus-ring-color));
1187    --overlay-box-shadow: inset 0 0 0 2px
1188      color-mix(in srgb, transparent 50%, var(--card-focus-ring-color));
1189  }
1190
1191  [data-fading-out] & {
1192    transition:
1193      box-shadow 1550ms,
1194      background-color 1550ms;
1195
1196    --overlay-bg: rgba(0, 0, 255, 0);
1197    --overlay-box-shadow: inset 0 0 0 1px transparent;
1198  }
1199
1200  &[data-focused] {
1201    --overlay-box-shadow: inset 0 0 0 1px var(--card-focus-ring-color);
1202  }
1203
1204  &[data-hovered]:not([data-focused]) {
1205    transition: none;
1206    --overlay-box-shadow: inset 0 0 0 2px var(--card-focus-ring-color);
1207  }
1208
1209  /* [data-unmounted] & {
1210    --overlay-box-shadow: inset 0 0 0 1px var(--card-focus-ring-color);
1211  } */
1212
1213  :link {
1214    text-decoration: none;
1215  }
1216`,Mt=nK(gb)`
1217  bottom: 100%;
1218  cursor: pointer;
1219  pointer-events: none;
1220  position: absolute;
1221  right: 0;
1222
1223  [data-hovered]:not([data-menu-open]) & {
1224    pointer-events: all;
1225  }
1226
1227  [data-flipped] & {
1228    bottom: auto;
1229    top: 100%;
1230  }
1231`,Mn=nK(gb)`
1232  top: 100%;
1233  cursor: pointer;
1234  pointer-events: none;
1235  position: absolute;
1236  left: 0;
1237
1238  gap: 4px;
1239  padding: 4px 0;
1240  flex-wrap: wrap;
1241
1242  [data-hovered]:not([data-menu-open]) & {
1243    pointer-events: all;
1244  }
1245
1246  [data-flipped] & {
1247    top: calc(100% + 2rem);
1248  }
1249`,Mr=nK(gb)`
1250  margin: -0.5rem;
1251
1252  [data-hovered]:not([data-menu-open]) & {
1253    pointer-events: all;
1254  }
1255`,Mi=nK(gb)`
1256  bottom: 100%;
1257  cursor: pointer;
1258  pointer-events: none;
1259  position: absolute;
1260  left: 0;
1261
1262  [data-hovered]:not([data-menu-open]) & {
1263    pointer-events: all;
1264  }
1265
1266  [data-flipped] & {
1267    bottom: auto;
1268    top: 100%;
1269  }
1270`,Mo=nK(gV)`
1271  cursor: pointer;
1272  background-color: var(--card-focus-ring-color);
1273  right: 0;
1274  border-radius: 3px;
1275
1276  & [data-ui='Text'] {
1277    color: #fff;
1278    white-space: nowrap;
1279  }
1280`,Ms=nK(gb)`
1281  display: flex;
1282  align-items: center;
1283  background-color: var(--card-focus-ring-color);
1284  right: 0;
1285  border-radius: 3px;
1286  & [data-ui='Text'],
1287  & [data-sanity-icon] {
1288    color: #fff;
1289    white-space: nowrap;
1290  }
1291`,Ma=nK.div`
1292  position: absolute;
1293  inset: 0;
1294  pointer-events: all;
1295`,Ml=e=>{let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y=(0,I.c)(60),{id:w,element:b,focused:x,componentResolver:C,node:k,showActions:j,draggable:M,targets:L,elementType:S,comlink:E,onActivateExclusivePlugin:R,onMenuOpenChange:V,inFrame:H}=e,{getField:$,getType:A}=jJ();y[0]!==A||y[1]!==k?(t=A(k),y[0]=A,y[1]=k,y[2]=t):t=y[2];let T=t;y[3]!==k?(n="path"in k?function(e){let{id:t,type:n,path:r,baseUrl:i,tool:o,workspace:s,perspective:a}=e,[l,d]=(0,z.createEditUrl)({baseUrl:i,workspace:s,tool:o,type:n,id:t,path:r?wP(z.studioPath.fromString(r)):[]}).split("?"),u=new URLSearchParams(d),c=a||u.get("perspective");return"drafts"===c?u.delete("perspective"):c&&u.set("perspective",c),`${l}?${u}`}(k):k.href,y[3]=k,y[4]=n):n=y[4];let _=n,O=function(){let e=(0,B.useContext)(j7);if(!e)throw Error("Preview Snapshots context is missing");return e}();e:{let e;if(!("path"in k)){r=void 0;break e}y[5]!==k||y[6]!==O?(e=O.find(e=>e._id===k.id)?.title,y[5]=k,y[6]=O,y[7]=e):e=y[7],r=e}let W=r;y[8]!==b||y[9]!==x||y[10]!==$||y[11]!==A?(i=function(e,t){let n=A(e),{field:r,parent:i}=$(e);if(!("id"in e)||!r||!n)return;let o=r.value.type;return{document:n,element:b,targetElement:t||b,field:r,focused:!!x,node:e,parent:i,type:o}},y[8]=b,y[9]=x,y[10]=$,y[11]=A,y[12]=i):i=y[12];let N=i;if(y[13]!==S||y[14]!==N||y[15]!==k?(o="element"===S?N(k):void 0,y[13]=S,y[14]=N,y[15]=k,y[16]=o):o=y[16],y[17]!==N||y[18]!==L){let e;y[20]!==N?(e=e=>N(e.sanity,e.element),y[20]=N,y[21]=e):e=y[21],s=L.map(e).filter(Mh),y[17]=N,y[18]=L,y[19]=s}else s=y[19];y[22]!==o||y[23]!==s?(a={legacyComponentContext:o,pluginContexts:s},y[22]=o,y[23]=s,y[24]=a):a=y[24];let D=a,F=function(e,t){let n,r=(0,I.c)(3);if(r[0]!==e||r[1]!==t){e:{if(!e){n=void 0;break e}let r=t?.(e);if(!r){n=void 0;break e}if((0,B.isValidElement)(r)){n=r;break e}n=(Array.isArray(r)?r:[r]).map(Mu)}r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(D.legacyComponentContext,C),Z=function(e,t){let n,r=(0,I.c)(5);if(r[0]!==e||r[1]!==t){let i;r[3]!==t?(i=e=>{let n={id:w0(),context:e,hud:[],exclusive:[]};return t?.forEach(t=>{t.guard?.(e)&&("hud"===t.type&&n.hud.push(t),"exclusive"===t.type&&n.exclusive.push(t))}),n},r[3]=t,r[4]=i):i=r[4],n=e.map(i),r[0]=e,r[1]=t,r[2]=n}else n=r[2];return n}(D.pluginContexts,e.plugins);y[25]!==T?(l=T?.icon?(0,P.jsx)("div",{dangerouslySetInnerHTML:{__html:T.icon}}):(0,P.jsx)(r2,{}),y[25]=T,y[26]=l):l=y[26];let U=l,G=(0,B.useId)();y[27]!==Z?(d=Z?.some(Mf),y[27]=Z,y[28]=d):d=y[28];let q=d||Z?.length>1;y[29]!==w?(u=()=>{window.dispatchEvent(new CustomEvent("sanity-overlay/label-click",{detail:{id:w}}))},y[29]=w,y[30]=u):u=y[30];let Y=u;return y[31]!==_||y[32]!==H||y[33]!==j?(c=j?(0,P.jsx)(Mt,{gap:1,paddingY:1,children:(0,P.jsx)(Mc,{inFrame:H,href:_})}):null,y[31]=_,y[32]=H,y[33]=j,y[34]=c):c=y[34],y[35]!==E||y[36]!==M||y[37]!==Y||y[38]!==U||y[39]!==G||y[40]!==Z||y[41]!==R||y[42]!==V||y[43]!==q||y[44]!==W?(h=(W||q)&&(0,P.jsx)(Mi,{gap:1,paddingY:1,onClick:Y,children:(0,P.jsxs)(Ms,{gap:2,padding:2,children:[M&&(0,P.jsx)(gm,{marginRight:1,children:(0,P.jsx)(gv,{className:"drag-handle",size:0,children:(0,P.jsx)(id,{})})}),(0,P.jsx)(gv,{size:0,children:U}),W&&(0,P.jsx)(gv,{size:1,weight:"medium",children:W}),q&&(0,P.jsx)(gm,{paddingLeft:2,onClick:Mp,children:(0,P.jsx)(Mr,{children:(0,P.jsx)(Cm,{id:G,popover:{animate:!0,placement:"bottom-start",constrainSize:!0,tone:"default"},onOpen:()=>{V?.(!0)},onClose:()=>{V?.(!1)},button:(0,P.jsx)(gE,{icon:ig,tone:"primary",padding:2}),menu:(0,P.jsx)(yj,{paddingY:0,children:(0,P.jsx)(xK,{children:Z?.map((e,t)=>(0,P.jsxs)(B.Fragment,{children:[(0,P.jsxs)(vq,{role:"group",paddingY:1,space:0,children:[(0,P.jsx)(yR,{paddingY:2,text:(0,P.jsx)(gm,{paddingY:2,children:(0,P.jsx)(gv,{muted:!0,size:1,style:{textTransform:"capitalize"},children:`${e.context.document.name}: ${e.context.field?.name}`})}),onClick:()=>{e.context.node&&E?.post("visual-editing/focus",e.context.node)}}),e.exclusive.map(t=>
1295t.component?(0,P.jsx)(yR,{paddingY:2,icon:t.icon||(0,P.jsx)(ok,{}),text:(0,P.jsx)(gm,{paddingY:2,children:(0,P.jsx)(gv,{size:1,children:t.title||t.name})}),onClick:()=>R?.(t,e.context)},t.name):null)]}),t<Z.length-1&&(0,P.jsx)(yM,{})]},e.id))})})})})})]})}),y[35]=E,y[36]=M,y[37]=Y,y[38]=U,y[39]=G,y[40]=Z,y[41]=R,y[42]=V,y[43]=q,y[44]=W,y[45]=h):h=y[45],y[46]!==Z?(f=Z?.map(Mm),y[46]=Z,y[47]=f):f=y[47],y[48]!==f?(p=(0,P.jsx)(Mn,{children:f}),y[48]=f,y[49]=p):p=y[49],y[50]!==c||y[51]!==h||y[52]!==p?(m=(0,P.jsxs)(xK,{children:[c,h,p]}),y[50]=c,y[51]=h,y[52]=p,y[53]=m):m=y[53],y[54]!==F||y[55]!==D.legacyComponentContext?(g=Array.isArray(F)?F.map((e,t)=>{let{component:n,props:r}=e;return(0,P.jsx)(n,{PointerEvents:xK,...D.legacyComponentContext,...r},t)}):F,y[54]=F,y[55]=D.legacyComponentContext,y[56]=g):g=y[56],y[57]!==m||y[58]!==g?(v=(0,P.jsxs)(P.Fragment,{children:[m,g]}),y[57]=m,y[58]=g,y[59]=v):v=y[59],v},Md=(0,B.memo)(function(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p=(0,I.c)(39),{draggable:m,focused:g,hovered:v,rect:y,wasMaybeCollapsed:w,enableScrollIntoView:b,inFrame:x}=e,C=(0,B.useRef)(null),k=(0,B.useRef)(!1),j=`${y.w}px`,M=`${y.h}px`,L=`translate(${y.x}px, ${y.y}px)`;p[0]!==j||p[1]!==M||p[2]!==L?(t={width:j,height:M,transform:L},p[0]=j,p[1]=M,p[2]=L,p[3]=t):t=p[3];let S=t;p[4]!==b||p[5]!==g||p[6]!==w?(n=()=>{if(!k.current&&!w&&!0===g&&C.current&&b){let e=C.current;!function(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r={top:parseFloat((n=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(n.scrollMarginRight)||0,bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(CU(e,t));let i="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:o,left:s}of CU(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=o-r.top+r.bottom,t=s-r.left+r.right;n.scroll({top:e,left:t,behavior:i})}}(C.current,{behavior:t=>{0!==t.length&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},scrollMode:"if-needed",block:"center",inline:"nearest"})}k.current=!0===g},r=[g,w,b],p[4]=b,p[5]=g,p[6]=w,p[7]=n,p[8]=r):(n=p[7],r=p[8]),(0,B.useEffect)(n,r);let[E,R]=(0,B.useState)(!1);p[9]!==v?(i=()=>{if(!C.current||!v)return;let e=new IntersectionObserver(e=>{let[t]=e;R(t.boundingClientRect.top<0)},{threshold:1});return e.observe(C.current),()=>e.disconnect()},p[9]=v,p[10]=i):i=p[10],p[11]!==v||p[12]!==E?(o=[v,E],p[11]=v,p[12]=E,p[13]=o):o=p[13],(0,B.useEffect)(i,o);let[V,H]=(0,B.useState)(null);p[14]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{H(null),window.dispatchEvent(new CustomEvent("sanity-overlay/exclusive-plugin-closed"))},p[14]=s):s=p[14];let $=s;p[15]===Symbol.for("react.memo_cache_sentinel")?(a=(e,t)=>{H({plugin:e,context:t})},p[15]=a):a=p[15];let A=a,T=V?.plugin.component,[_,O]=(0,B.useState)(!1);p[16]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{(0,B.startTransition)(()=>O(!1))},p[16]=l):l=p[16],p[17]!==v?(d=[v],p[17]=v,p[18]=d):d=p[18],(0,B.useEffect)(l,d),p[19]!==T||p[20]!==_?(u=_||T?(0,P.jsx)(xz,{onDismiss:$,blockScroll:_}):null,p[19]=T,p[20]=_,p[21]=u):u=p[21];let W=g?"":void 0,z=v?"":void 0,N=E?"":void 0,D=m?"":void 0,F=_?"":void 0;return p[22]!==T||p[23]!==V||p[24]!==v||p[25]!==x||p[26]!==e?(c=T?(0,P.jsx)(Ma,{"data-sanity-overlay-element":!0,onClick:Mg,children:(0,P.jsx)(T,{...V.context,closeExclusiveView:$})}):v?(0,P.jsx)(Ml,{...e,inFrame:x,onActivateExclusivePlugin:A,onMenuOpenChange:O}):null,p[22]=T,p[23]=V,p[24]=v,p[25]=x,p[26]=e,p[27]=c):c=p[27],p[28]!==S||p[29]!==W||p[30]!==z||p[31]!==N||p[32]!==D||p[33]!==F||p[34]!==c?(h=(0,P.jsx)(Me,{"data-focused":W,"data-hovered":z,"data-flipped":N,"data-draggable":D,"data-menu-open":F,ref:C,style:S,children:c}),p[28]=S,p[29]=W,p[30]=z,p[31]=N,p[32]=D,p[33]=F,p[34]=c,p[35]=h):h=p[35],p[36]!==u||p[37]!==h?(f=(0,P.jsxs)(P.Fragment,{children:[u,h]}),p[36]=u,p[37]=h,p[38]=f):f=p[38],f});function Mu(e){return"object"==typeof e&&"component"in e?e:{component:e,props:{}}}let Mc=(0,B.memo)(function(e){let t,n,r,i=(0,I.c)(8),{inFrame:o}=e,s=(0,B.useSyncExternalStore)(Mv,My);i[0]!==e.href||i[1]!==s?(t=function e(t,n){try{let r=new URL(t,typeof location>"u"?void 0:location.origin);if(r.hash){let t=new URL(e(r.hash.slice(1),n));return`${r.origin}${r.pathname}${r.search}#${t.pathname}${t.search}`}return r.searchParams.set("preview",n),r.toString()}catch{return t}}(e.href,s),i[0]=e.href,i[1]=s,i[2]=t):t=i[2];let a=t,l=o?void 0:"_blank",d=o?"noopener":"noopener noreferrer";return i[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,P.jsx)(Mo,{padding:2,children:(0,P.jsx)(gv,{size:1,weight:"medium",children:"Open in Studio"})}),i[3]=n):n=i[3],i[4]!==a||i[5]!==l||i[6]!==d?(r=(0,P.jsx)(gm,{as:"a",href:a,target:l,rel:d,children:n}),i[4]=a,i[5]=l,i[6]=d,i[7]=r):r=i[7],r});function Mh(e){return void 0!==e}function Mf(e){return e.exclusive.length>0}function Mp(e){e.stopPropagation()}function Mm(e){return(0,P.jsx)(B.Fragment,{children:e.hud.map(t=>{let n=t.component;return n?(0,P.jsx)(n,{...e.context},t.name):null})},e.id)}function Mg(e){e.stopPropagation()}function Mv(e){let t=()=>e();return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}function My(){return window.location.href}let Mw=e=>{let t,n=(0,I.c)(5),{dragGroupRect:r}
1295=e,i=`${r.y}px`,o=`${r.x}px`,s=`${r.w-1}px`,a=`${r.h-1}px`;return n[0]!==i||n[1]!==o||n[2]!==s||n[3]!==a?(t=(0,P.jsx)("div",{style:{position:"absolute",top:i,left:o,width:s,height:a,border:"1px dashed #f0709b",pointerEvents:"none"}}),n[0]=i,n[1]=o,n[2]=s,n[3]=a,n[4]=t):t=n[4],t},Mb=e=>{let t,n=(0,I.c)(4),{dragInsertPosition:r}=e;if(null===r)return;let i=r?.left||r?.right?"horizontal":"vertical",o=0,s=0,a=0,l=0;if("horizontal"===i){let{left:e,right:t}=r;if(a=6,t&&e){let n=e.rect.x+e.rect.w,r=t.rect.x,i=.0125*Math.min(t.rect.h,e.rect.h);o=.5*n+.5*r-3,s=e.rect.y+i,l=Math.min(t.rect.h,e.rect.h)-2*i}else if(t&&!e){let e=.0125*t.rect.h;o=t.rect.x-3,s=t.rect.y+e,l=t.rect.h-2*e}else if(e&&!t){let t=.0125*e.rect.h;o=e.rect.x+e.rect.w-3,s=e.rect.y+t,l=e.rect.h-2*t}}else{let{bottom:e,top:t}=r;if(e&&t){let n=Math.min(t.rect.x,e.rect.x),r=t.rect.y+t.rect.h,i=e.rect.y,d=.0125*Math.min(e.rect.w,t.rect.w);l=6,o=n+d,s=.5*r+.5*i-3,a=Math.max(e.rect.w,t.rect.w)-2*d}else if(e&&!t){let t=.0125*e.rect.w;o=e.rect.x+t,s=e.rect.y-3,a=e.rect.w-2*t,l=6}else if(t&&!e){let e=.0125*t.rect.w;o=t.rect.x+e,s=t.rect.y+t.rect.h-3,a=t.rect.w-2*e,l=6}}let d=`${a}px`,u=`${l}px`,c=`translate(${o}px, ${s}px)`;return n[0]!==d||n[1]!==u||n[2]!==c?(t=(0,P.jsx)("div",{style:{position:"absolute",width:d,height:u,transform:c,background:"#556bfc",border:"2px solid white",borderRadius:"999px",zIndex:"999999"}}),n[0]=d,n[1]=u,n[2]=c,n[3]=t):t=n[3],t},Mx=nK.div`
1296  --drag-preview-opacity: 0.98;
1297  --drag-preview-skeleton-stroke: #ffffff;
1298
1299  @media (prefers-color-scheme: dark) {
1300    --drag-preview-skeleton-stroke: #383d51;
1301  }
1302
1303  position: fixed;
1304  display: grid;
1305  transform: ${({$scaleFactor:e,$width:t,$height:n})=>`translate(calc(var(--drag-preview-x) - ${t/2}px), calc(var(--drag-preview-y) - ${n/2}px)) scale(${e})`};
1306  width: ${({$width:e})=>`${e}px`};
1307  height: ${({$height:e})=>`${e}px`};
1308  z-index: 9999999;
1309  opacity: var(--drag-preview-opacity);
1310  cursor: move;
1311
1312  .drag-preview-content-wrapper {
1313    position: relative;
1314    width: 100%;
1315    height: 100%;
1316    container-type: inline-size;
1317  }
1318
1319  [data-ui='card'] {
1320    position: relative;
1321    width: 100%;
1322    height: 100%;
1323  }
1324
1325  .drag-preview-skeleton {
1326    position: absolute;
1327    inset: 0;
1328
1329    rect {
1330      stroke: var(--drag-preview-skeleton-stroke);
1331    }
1332  }
1333
1334  .drag-preview-handle {
1335    position: absolute;
1336    top: 4cqmin;
1337    left: 4cqmin;
1338    width: 6cqmin;
1339    fill: var(--drag-preview-handle-fill);
1340  }
1341`,MC=e=>{var t,n;let r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j=(0,I.c)(50),{skeleton:M}=e,L=Math.min(M.maxWidth,window.innerWidth/2),S=M.w>L?L/M.w:1,E=M.offsetX*S,R=M.offsetY*S,V=gz(),H=md(),$=H.radius[~~(n=(M.w-0)*((t=H.radius.length-2)-1)/1920+1,n<1?1:n>t?t:n)];if(j[0]!==E||j[1]!==R||j[2]!==V||j[3]!==$||j[4]!==S||j[5]!==M.childRects||j[6]!==M.h||j[7]!==M.w){let e=M.childRects.filter(Mk),t=M.childRects.filter(Mj);i=Mx,s=M.w,a=M.h,l=E,d=R,u=S,r=gV,p=$,m=4,g="hidden",v="transparent",y=V?"dark":"light",f="drag-preview-content-wrapper",c="drag-preview-skeleton",h=`0 0 ${M.w} ${M.h}`,o=[...e,...t],j[0]=E,j[1]=R,j[2]=V,j[3]=$,j[4]=S,j[5]=M.childRects,j[6]=M.h,j[7]=M.w,j[8]=r,j[9]=i,j[10]=o,j[11]=s,j[12]=a,j[13]=l,j[14]=d,j[15]=u,j[16]=c,j[17]=h,j[18]=f,j[19]=p,j[20]=m,j[21]=g,j[22]=v,j[23]=y}else r=j[8],i=j[9],o=j[10],s=j[11],a=j[12],l=j[13],d=j[14],u=j[15],c=j[16],h=j[17],f=j[18],p=j[19],m=j[20],g=j[21],v=j[22],y=j[23];return j[24]!==o||j[25]!==H.color?(w=o.map((e,t)=>(0,P.jsx)("rect",{x:e.x,y:e.y,width:e.w,height:e.h,fill:H.color.skeleton.from},t)),j[24]=o,j[25]=H.color,j[26]=w):w=j[26],j[27]!==w||j[28]!==c||j[29]!==h?(b=(0,P.jsx)("svg",{className:c,viewBox:h,children:w}),j[27]=w,j[28]=c,j[29]=h,j[30]=b):b=j[30],j[31]!==b||j[32]!==f?(x=(0,P.jsx)("div",{className:f,children:b}),j[31]=b,j[32]=f,j[33]=x):x=j[33],j[34]!==r||j[35]!==x||j[36]!==p||j[37]!==m||j[38]!==g||j[39]!==v||j[40]!==y?(C=(0,P.jsx)(r,{radius:p,shadow:m,overflow:g,tone:v,scheme:y,children:x}),j[34]=r,j[35]=x,j[36]=p,j[37]=m,j[38]=g,j[39]=v,j[40]=y,j[41]=C):C=j[41],j[42]!==i||j[43]!==s||j[44]!==a||j[45]!==l||j[46]!==d||j[47]!==u||j[48]!==C?(k=(0,P.jsx)(i,{$width:s,$height:a,$offsetX:l,$offsetY:d,$scaleFactor:u,children:C}),j[42]=i,j[43]=s,j[44]=a,j[45]=l,j[46]=d,j[47]=u,j[48]=C,j[49]=k):k=j[49],k};function Mk(e){return"IMG"===e.tagName}function Mj(e){return"IMG"!==e.tagName}let MM=nK(gV)`
1342  position: fixed;
1343  bottom: 2rem;
1344  left: 2rem;
1345`,ML=()=>{let e,t,n=(0,I.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e={zIndex:"999999"},n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,P.jsx)(MM,{padding:2,shadow:2,radius:2,style:e,children:(0,P.jsxs)(gb,{align:"center",gap:2,children:[(0,P.jsx)(yv,{keys:["Shift"]}),(0,P.jsx)(gv,{size:1,children:"Zoom Out"}),(0,P.jsx)(iM,{})]})}),n[1]=t):t=n[1],t};function MS(e,t){let{type:n}=t,{contextMenu:r,focusPath:i,perspective:o,isDragging:s,dragInsertPosition:a,dragShowMinimap:l,dragShowMinimapPrompt:d,dragSkeleton:u,dragMinimapTransition:c,dragGroupRect:h}=e,f=!1;if("presentation/focus"===n){let n=e.focusPath;n!==(i=t.data.path)&&(f=n.slice(i.length).startsWith("["))}return"presentation/perspective"===n&&(o=t.data.perspective),"element/contextmenu"===n&&(r="sanity"in t?{node:t.sanity,position:t.position}:null),("element/click"===n||"element/mouseleave"===n||"overlay/blur"===n||"presentation/blur"===n||"presentation/focus"===n)&&(r=null),"overlay/dragUpdateInsertPosition"===n&&(a=t.insertPosition),"overlay/dragStart"===n&&(s=!0),"overlay/dragUpdateSkeleton"===t.type&&(u=t.skeleton),"overlay/dragEnd"===n&&(s=!1),"overlay/dragToggleMinimapPrompt"===t.type&&(d=t.display),"overlay/dragStartMinimapTransition"===n&&(c=!0),"overlay/dragEndMinimapTransition"===n&&(c=!1),"overlay/dragUpdateGroupRect"===n&&(h=t.groupRect),"overlay/dragToggleMinimap"===n&&(l=t.display),{...e,contextMenu:r,elements:((e,t)=>{let{type:n}=t;switch(n){case"element/register":return e.find(e=>e.id===t.id)?e:[...e,{id:t.id,activated:!1,element:t.element,focused:!1,hovered:!1,rect:t.rect,sanity:t.sanity,dragDisabled:t.dragDisabled,targets:t.targets,elementType:t.elementType}];case"element/activate":return e.map(e=>e.id===t.id?{...e,activated:!0}:e);case"element/update":return e.map(e=>e.id===t.id?{...e,sanity:t.sanity,rect:t.rect,targets:t.targets,elementType:t.elementType}:e);case"element/unregister":return e.filter(e=>e.id!==t.id);case"element/deactivate":return e.map(e=>e.id===t.id?{...e,activated:!1,hovered:!1}:e);case"element/mouseenter":return e.map(e=>e.id===t.id?{...e,rect:t.rect,hovered:!0}:{...e,hovered:!1});case"element/mouseleave":return e.map(e=>e.id===t.id?{...e,hovered:!1}:e);case"element/updateRect":return e.map(e=>e.id===t.id?{...e,rect:t.rect}:e);case"element/click":return e.map(e=>({...e,focused:e.id===t.id&&"clicked"}));case"overlay/reset-mouse-state":return e.map(e=>({...e,focused:!1,hovered:!1}));case"overlay/blur":return e.map(e=>({...e,focused:!1}));case"presentation/blur":return e.map(e=>({...e,focused:!1}));case"presentation/focus":{let n=e.find(e=>"clicked"===e.focused);return e.map(e=>
1345{let r="path"in e.sanity&&e.sanity.id===t.data.id&&e.sanity.path===t.data.path;return n&&e===n&&r?e:{...e,focused:r&&n?"duplicate":r}})}default:return e}})(e.elements,t),dragInsertPosition:a,dragSkeleton:u,dragGroupRect:h,isDragging:s,focusPath:i,perspective:o,wasMaybeCollapsed:f,dragShowMinimap:l,dragShowMinimapPrompt:d,dragMinimapTransition:c}}let ME=function(e){let t,n,r,i,o,s,a,l=(0,I.c)(13),{comlink:d,children:u}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],l[0]=t):t=l[0];let[c,h]=(0,B.useState)(t);l[1]!==d?(n=async e=>{if(d)try{let t=await d.fetch("visual-editing/preview-snapshots",void 0,{signal:e,suppressWarnings:!0});h(t.snapshots)}catch{}},l[1]=d,l[2]=n):n=l[2];let f=n;return l[3]!==d||l[4]!==f?(r=()=>{if(!d)return;let e=new AbortController,t=d.onStatus(()=>{f(e.signal)},"connected");return()=>{e.abort(),t()}},i=[d,f],l[3]=d,l[4]=f,l[5]=r,l[6]=i):(r=l[5],i=l[6]),(0,B.useEffect)(r,i),l[7]!==d?(o=()=>d?.on("presentation/preview-snapshots",e=>{h(e.snapshots)}),s=[d],l[7]=d,l[8]=o,l[9]=s):(o=l[8],s=l[9]),(0,B.useEffect)(o,s),l[10]!==u||l[11]!==c?(a=(0,P.jsx)(j7.Provider,{value:c,children:u}),l[10]=u,l[11]=c,l[12]=a):a=l[12],a};function MR(e){return"document"===e.type}function MV(e){return"type"===e.type}let MH=function(e){let t,n,r,i,o,s,a,l,d,u,c,h=(0,I.c)(22),{comlink:f,children:p,elements:m}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(t=new Map,h[0]=t):t=h[0];let[g,v]=(0,B.useState)(t),[y,w]=(0,B.useState)(null);h[1]!==f?(n=()=>{if(!f)return;let e=async function(e){if(f)try{let t=await f.fetch("visual-editing/schema",void 0,{signal:e,suppressWarnings:!0});w(t.schema)}catch{}},t=new AbortController,n=f.onStatus(()=>{e(t.signal)},"connected");return()=>{t.abort(),n()}},r=[f],h[1]=f,h[2]=n,h[3]=r):(n=h[2],r=h[3]),(0,B.useEffect)(n,r),h[4]===Symbol.for("react.memo_cache_sentinel")?(i=[],h[4]=i):i=h[4];let b=(0,B.useRef)(i),x=(0,B.useDeferredValue)(m);h[5]!==x?(o=x.reduce((e,t)=>{let{sanity:n}=t;if(!("id"in n)||!n.path.includes("[_key=="))return e;let r=n.path.split(".").toReversed().reduce((e,t)=>e.length?[t,...e]:t.includes("[_key==")?[t]:[],[]).join(".");return e.find(e=>e.id===n.id&&e.path===r)||e.push({id:n.id,path:r}),e},[]),h[5]=x,h[6]=o):o=h[6];let C=o,k=(0,B.useRef)(null);h[7]!==f||h[8]!==C?(s=()=>{if(!C.length||!f)return;let e=async(e,t)=>{let n=b.current;try{b.current=e;let n=await f.fetch("visual-editing/schema-union-types",{paths:e},{signal:t,suppressWarnings:!0});if(t.aborted)return;v(n.types),k.current=null}catch{}t.aborted&&(b.current=n)};C.some(e=>!b.current.find(t=>{let{id:n,path:r}=t;return n===e.id&&r===e.path}))&&(k.current?.abort(),k.current=new AbortController,e(C,k.current.signal))},a=[f,C],h[7]=f,h[8]=C,h[9]=s,h[10]=a):(s=h[9],a=h[10]),(0,B.useEffect)(s,a),h[11]!==y?(l=(e,t)=>{if(!y||"string"!=typeof e&&(!("path"in e)||!Array.isArray(y)))return;let n="string"==typeof e?e:e.type;return y.filter("document"===(t||"document")?MR:MV).find(e=>e.name===n)},h[11]=y,h[12]=l):l=h[12];let j=l;h[13]!==j||h[14]!==g?(d=e=>{if(!("path"in e))return{field:void 0,parent:void 0};let t=j(e);if(!t)return{field:void 0,parent:void 0};let n=e.path.split(".").flatMap(M$);try{return function t(n,r,i,o){let s=void 0===o?[]:o;if(!n)return{field:void 0,parent:void 0};let[a,...l]=r;if("fields"in n){let e=n.fields[a];if(!e&&"rest"in n)return t(n.rest,r,n,s);if(!l.length)return{field:e,parent:i};if(!e)throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...s,...r].join(".")}"`);return t(e.value,l,n,[...s,a])}if("array"===n.type)return t(n.of,r,n,s);if("arrayItem"===n.type)return l.length?t(n.value,l,n,[...s,a]):{field:n,parent:i};if("union"===n.type){let r=a.startsWith("[_key==")?g?.get(e.id)?.get([s.join("."),a].filter(Boolean).join("")):a;return t(n.of.find(e=>"unionOption"===e.type?e.name===r:e),l,n,[...s,a])}if("unionOption"===n.type)return a?t(n.value,r,n,s):{field:n,parent:i};if("inline"===n.type)return t(j(n.name,"type").value,r,n,s);throw Error(`[@sanity/visual-editing] No field could be resolved at path: "${[...s,...r].join(".")}"`)}(t,n,void 0)}catch(e){return e instanceof Error&&console.warn(e.message),{field:void 0,parent:void 0}}},h[13]=j,h[14]=g,h[15]=d):d=h[15];let M=d;h[16]!==M||h[17]!==j?(u={getField:M,getType:j},h[16]=M,h[17]=j,h[18]=u):u=h[18];let L=u;return h[19]!==p||h[20]!==L?(c=(0,P.jsx)(jK.Provider,{value:L,children:p}),h[19]=p,h[20]=L,h[21]=c):c=h[21],c};function M$(e){return e.includes("[")?e.split(/(\[.+\])/,2):[e]}let MA=(p={},m=new Set,{getState:()=>p,setState:e=>
1345{p=e(p),m.forEach(e=>e())},subscribe:e=>(m.add(e),()=>m.delete(e))}),MT=e=>{let t,n,r,i,o,s,a=(0,I.c)(11),{comlink:l,children:d}=e;a[0]!==l?(t=()=>l?.on("presentation/shared-state",M_),n=[l],a[0]=l,a[1]=t,a[2]=n):(t=a[1],n=a[2]),(0,B.useEffect)(t,n),a[3]!==l?(r=()=>{(async function(){let e=await l?.fetch("visual-editing/shared-state",void 0,{suppressWarnings:!0});e&&MA.setState(()=>e.state)})().catch(MP)},i=[l],a[3]=l,a[4]=r,a[5]=i):(r=a[4],i=a[5]),(0,B.useEffect)(r,i),a[6]!==l?(o={comlink:l,store:MA},a[6]=l,a[7]=o):o=a[7];let u=o;return a[8]!==d||a[9]!==u?(s=(0,P.jsx)(bC.Provider,{value:u,children:d}),a[8]=d,a[9]=u,a[10]=s):s=a[10],s};function M_(e){"value"in e?MA.setState(t=>({...t,[e.key]:e.value})):MA.setState(t=>Object.fromEntries(Object.entries(t).filter(t=>{let[n]=t;return n!==e.key})))}function MP(e){console.debug(e),console.warn("[@sanity/visual-editing]: Failed to fetch shared state. Check your version of `sanity` is up-to-date")}let MI=e=>{let t,n,r=(0,I.c)(5),{children:i,comlink:o}=e;r[0]!==o?(t=(e,t)=>{if(!o)return;let n=xF[e];if(n)o.post("visual-editing/telemetry-log",{event:n,data:t});else throw Error(`Telemetry event: ${e} does not exist`)},r[0]=o,r[1]=t):t=r[1];let s=t;return r[2]!==i||r[3]!==s?(n=(0,P.jsx)(xZ.Provider,{value:s,children:i}),r[2]=i,r[3]=s,r[4]=n):n=r[4],n};function MO(){}function MB(e){return e.id}function MW(e){return!!e}function Mz(e){let{sanity:t}=e;return t&&"id"in t?t:null}let MN=nK.div`
1346  background-color: transparent;
1347  direction: ltr;
1348  inset: 0;
1349  pointer-events: none;
1350  position: absolute;
1351  width: 100%;
1352  height: 100%;
1353  z-index: ${({$zIndex:e})=>e??"9999999"};
1354`;function MD(e){let t,n;return t=requestAnimationFrame(()=>{n=requestAnimationFrame(e)}),()=>{void 0!==t&&cancelAnimationFrame(t),void 0!==n&&cancelAnimationFrame(n)}}let MF=e=>{let t,n,r,i,o,s=(0,I.c)(8),{documentIds:a}=e;s[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],s[0]=t):t=s[0];let[l,d]=(0,B.useState)(t);s[1]!==a?(n=()=>{(0,B.startTransition)(()=>d(e=>{let t=Array.from(new Set(a));return e.length===t.length&&e.reduce(M3,t)?.length===0?e:t}))},r=[a],s[1]=a,s[2]=n,s[3]=r):(n=s[2],r=s[3]),(0,B.useEffect)(n,r);let u=ws();return s[4]!==u||s[5]!==l?(i=()=>{for(let e of l)u.send({type:"observe",documentId:(0,z.getDraftId)(e)}),u.send({type:"observe",documentId:(0,z.getPublishedId)(e)});return()=>{for(let e of l)u.send({type:"unobserve",documentId:(0,z.getDraftId)(e)}),u.send({type:"unobserve",documentId:(0,z.getPublishedId)(e)})}},o=[u,l],s[4]=u,s[5]=l,s[6]=i,s[7]=o):(i=s[6],o=s[7]),(0,B.useEffect)(i,o),null},MZ=e=>{var t;let n,r,i,o,s,a,l,d,u=(0,I.c)(12),{comlink:c,dispatch:h,inFrame:f,inPopUp:p,onDrag:m,overlayEnabled:g,rootElement:v}=e,{dispatchDragEndEvent:y}=function(){let e,t,n,r=(0,I.c)(4),{getDocument:i}=wf();return r[0]!==i?(e=()=>{let e=e=>{let{insertPosition:t,target:n,preventInsertDefault:r}=e.detail;if(r)return;let o=function(e){if(e){let{top:t,right:n,bottom:r,left:i}=e;if(i||t)return{node:(i??t).sanity,position:"after"};if(n||r)return{node:(n??r).sanity,position:"before"}}}(t);if(o){let e=i(n.id),{node:t,position:r}=o,{key:s,hasExplicitKey:a}=wm(n),{path:l,key:d}=wm(t);l&&d&&d!==s&&e.patch(async e=>{let{getSnapshot:t}=e,i=wi(await t(),n.path);return a?[yK(l,y1({_key:s})),yK(l,yJ(i,r,{_key:d}))]:[yK(l,y1(~~s)),yK(l,yJ(i,r,d>s?~~d-1:~~d))]})}};return window.addEventListener("sanity/dragEnd",e),()=>{window.removeEventListener("sanity/dragEnd",e)}},t=[i],r[0]=i,r[1]=e,r[2]=t):(e=r[1],t=r[2]),(0,B.useEffect)(e,t),r[3]===Symbol.for("react.memo_cache_sentinel")?(n={dispatchDragEndEvent:jX},r[3]=n):n=r[3],n}(),w=xU();u[0]!==c||u[1]!==h||u[2]!==y||u[3]!==m||u[4]!==w?(n=e=>{if("element/click"===e.type){let{sanity:t}=e;c?.post("visual-editing/focus",t),w("Visual Editing Overlay Clicked",null)}else if("overlay/activate"===e.type)c?.post("visual-editing/toggle",{enabled:!0});else if("overlay/deactivate"===e.type)c?.post("visual-editing/toggle",{enabled:!1});else if("overlay/dragEnd"===e.type){let{insertPosition:t,target:n,dragGroup:r,flow:i,preventInsertDefault:o}=e;y({insertPosition:t,target:n,dragGroup:r,flow:i,preventInsertDefault:o}),t&&w("Visual Editing Drag Sequence Completed",null)}else if("overlay/dragUpdateCursorPosition"===e.type)return void m(e.x,e.y);else if("overlay/dragToggleMinimap"===e.type&&!0===e.display)w("Visual Editing Drag Minimap Enabled",null);else if("overlay/setCursor"===e.type){let{element:t,cursor:n}=e;n?t.style.cursor=n:t.style.removeProperty("cursor")}h(e)},u[0]=c,u[1]=h,u[2]=y,u[3]=m,u[4]=w,u[5]=n):n=u[5];let b=(t=n,a=(0,I.c)(7),l=(0,B.useRef)(void 0),d=wu(),a[0]!==v||a[1]!==t||a[2]!==f||a[3]!==p||a[4]!==d?(o=()=>
1354{if(v)return l.current=bx({handler:t,overlayElement:v,inFrame:f,inPopUp:p,optimisticActorReady:d}),()=>{l.current?.destroy(),l.current=void 0}},s=[v,t,f,p,d],a[0]=v,a[1]=t,a[2]=f,a[3]=p,a[4]=d,a[5]=o,a[6]=s):(o=a[5],s=a[6]),(0,B.useEffect)(o,s),l);return u[6]!==b.current||u[7]!==g?(r=()=>{g?b.current?.activate():b.current?.deactivate()},u[6]=b.current,u[7]=g,u[8]=r):r=u[8],u[9]!==b||u[10]!==g?(i=[b,g],u[9]=b,u[10]=g,u[11]=i):i=u[11],(0,B.useEffect)(r,i),null};function MU(e){let t,n,r,i,o,s,a,l,d,u,c,h,f,p,m,g,v,y,w,b,x,C,k,j,M,L,S,E,R,V,H,$,A,T,_=(0,I.c)(77),{comlink:O,comlinkStatus:W,componentResolver:z,inFrame:N,inPopUp:D,zIndex:F,onPerspectiveChange:Z}=e,U=gz();_[0]===Symbol.for("react.memo_cache_sentinel")?(t={contextMenu:null,dragInsertPosition:null,dragShowMinimap:!1,dragShowMinimapPrompt:!1,dragSkeleton:null,elements:[],focusPath:"",isDragging:!1,perspective:"published",wasMaybeCollapsed:!1,dragMinimapTransition:!1,dragGroupRect:null},_[0]=t):t=_[0];let[G,q]=(0,B.useReducer)(MS,t),{contextMenu:Y,dragInsertPosition:X,dragShowMinimap:K,dragShowMinimapPrompt:J,dragSkeleton:Q,elements:ee,isDragging:et,perspective:en,wasMaybeCollapsed:er,dragMinimapTransition:ei,dragGroupRect:eo}=G,[es,ea]=(0,B.useState)(null),[el,ed]=(0,B.useState)(!0);_[1]!==O?(n=()=>{let e=[O?.on("presentation/focus",e=>{q({type:"presentation/focus",data:e})}),O?.on("presentation/blur",e=>{q({type:"presentation/blur",data:e})}),O?.on("presentation/toggle-overlay",()=>{ed(M0)})].filter(Boolean);return()=>e.forEach(M1)},r=[O],_[1]=O,_[2]=n,_[3]=r):(n=_[2],r=_[3]),(0,B.useEffect)(n,r),(S=(0,I.c)(9))[0]!==q||S[1]!==Z?(j=e=>{q({type:"presentation/perspective",data:e}),Z?.(e.perspective)},S[0]=q,S[1]=Z,S[2]=j):j=S[2],E=(0,B.useEffectEvent)(j),S[3]!==O||S[4]!==E?(M=()=>{let e=new AbortController;O?.fetch("visual-editing/fetch-perspective",void 0,{signal:e.signal,suppressWarnings:!0}).then(e=>{E(e)}).catch(MO);let t=O?.on("presentation/perspective",e=>{E(e)});return()=>{t?.(),e.abort()}},S[3]=O,S[4]=E,S[5]=M):M=S[5],S[6]!==O||S[7]!==q?(L=[O,q],S[6]=O,S[7]=q,S[8]=L):L=S[8],(0,B.useEffect)(M,L),$=(0,I.c)(7),A=(0,B.useRef)(void 0),$[0]!==O?(R=(e,t)=>{O?.post("visual-editing/documents",{documents:e,perspective:t})},$[0]=O,$[1]=R):R=$[1],T=R,$[2]!==ee||$[3]!==en||$[4]!==T?(V=()=>{let e=ee.map(Mz).filter(MW),t=new Set(e.map(MB));if(!A.current||!function(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(t,A.current.nodeIds)||en!==A.current.perspective){let n=Array.from(t).map(t=>{let{type:n,projectId:r,dataset:i}=e.find(e=>e.id===t);return r&&i?{_id:t,_type:n,_projectId:r,_dataset:i}:{_id:t,_type:n}});A.current={nodeIds:t,perspective:en},T(n,en)}},H=[ee,en,T],$[2]=ee,$[3]=en,$[4]=T,$[5]=V,$[6]=H):(V=$[5],H=$[6]),(0,B.useEffect)(V,H),_[4]!==es?(i=(e,t)=>{es&&(es.style.setProperty("--drag-preview-x",`${e}px`),es.style.setProperty("--drag-preview-y",`${t-window.scrollY}px`))},_[4]=es,_[5]=i):i=_[5];let eu=i;_[6]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=!1,t=t=>{M2(t)&&e&&(e=!1,ed(MJ))},n=t=>{var n,r;if(M2(t)){if(t.ctrlKey||t.metaKey||t.shiftKey)return;e||(e=!0,ed(MK))}n=["mod","\\"],r=t,n.every(e=>M5[e]?r[M5[e]]:r.key===e.toUpperCase())&&ed(MX)},r=()=>{e&&(e=!1,ed(MY))};return window.addEventListener("click",MQ),window.addEventListener("keydown",n),window.addEventListener("keyup",t),window.addEventListener("blur",r),()=>{window.removeEventListener("click",MQ),window.removeEventListener("keydown",n),window.removeEventListener("keyup",t),window.removeEventListener("blur",r)}},s=[ed],_[6]=o,_[7]=s):(o=_[6],s=_[7]),(0,B.useEffect)(o,s);let[ec,eh]=(0,B.useState)(!1),[ef,ep]=(0,B.useState)(!1),em=(0,B.useRef)(void 0);_[8]!==el?(a=()=>{if(el)return MD(()=>{eh(!0),MD(()=>{ep(!0),em.current=setTimeout(()=>{ep(!1),eh(!1)},1500)})});em.current&&(clearTimeout(em.current),(0,B.startTransition)(()=>{eh(!1),ep(!1)}))},l=[el],_[8]=el,_[9]=a,_[10]=l):(a=_[9],l=_[10]),(0,B.useEffect)(a,l),_[11]!==ee?(d=ee.flatMap(Mq),_[11]=ee,_[12]=d):d=_[12];let eg=d;_[13]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{q({type:"overlay/blur"})},_[13]=u):u=_[13];let ev=u,ey=wu(),ew=ey?z:void 0,[eb,ex]=(0,B.useState)(!1);!eb&&N&&"connected"===W&&ex(!0);e:{let t;if(et){let e;_[14]===Symbol.for("react.memo_cache_sentinel")?(e=[],_[14]=e):e=_[14],c=e;break e}_[15]!==O||_[16]!==ew||_[17]!==ei||_[18]!==K||_[19]!==ee||_[20]!==N||_[21]!==et||_[22]!==ey||_[23]!==e.plugins||_[24]!==eb||_[25]!==er?(t=ee.filter(MG).map(t=>{let{id:n,element:r,focused:i,hovered:o,rect:s,sanity:a,dragDisabled:l,targets:d,elementType:u}=t,c=!l&&!!r.getAttribute("data-sanity")&&ey&&ee.some(e=>"id"in e.sanity&&"id"in a&&bw(e.sanity,a)&&e.sanity.path!==a.path);return(0,P.jsx)(Md,{comlink:O,componentResolver:ew,plugins:e.plugins,element:r,enableScrollIntoView:!et&&!ei&&!K,id:n,focused:i,hovered:o,node:a,rect:s,showActions:!eb,draggable:c,isDragging:et||ei,wasMaybeCollapsed:i&&er,targets:d,elementType:u,inFrame:N},n)}
1354),_[15]=O,_[16]=ew,_[17]=ei,_[18]=K,_[19]=ee,_[20]=N,_[21]=et,_[22]=ey,_[23]=e.plugins,_[24]=eb,_[25]=er,_[26]=t):t=_[26],c=t}let eC=c,ek=U?"dark":"light",ej=ef?"":void 0,eM=ec?"":void 0;return _[27]!==eg||_[28]!==en?(h=(0,P.jsx)(MF,{documentIds:eg,perspective:en}),_[27]=eg,_[28]=en,_[29]=h):h=_[29],_[30]!==O||_[31]!==N||_[32]!==D||_[33]!==el||_[34]!==es||_[35]!==eu?(f=(0,P.jsx)(MZ,{comlink:O,dispatch:q,inFrame:N,inPopUp:D,onDrag:eu,overlayEnabled:el,rootElement:es}),_[30]=O,_[31]=N,_[32]=D,_[33]=el,_[34]=es,_[35]=eu,_[36]=f):f=_[36],_[37]!==Y?(p=Y&&(0,P.jsx)(j9,{...Y,onDismiss:ev}),_[37]=Y,_[38]=p):p=_[38],_[39]!==eo||_[40]!==X||_[41]!==ei||_[42]!==J||_[43]!==et?(m=et&&!ei&&(0,P.jsxs)(P.Fragment,{children:[X&&(0,P.jsx)(Mb,{dragInsertPosition:X}),J&&(0,P.jsx)(ML,{}),eo&&(0,P.jsx)(Mw,{dragGroupRect:eo})]}),_[39]=eo,_[40]=X,_[41]=ei,_[42]=J,_[43]=et,_[44]=m):m=_[44],_[45]!==Q||_[46]!==et?(g=et&&Q&&(0,P.jsx)(MC,{skeleton:Q}),_[45]=Q,_[46]=et,_[47]=g):g=_[47],_[48]!==eC||_[49]!==ej||_[50]!==eM||_[51]!==h||_[52]!==f||_[53]!==p||_[54]!==m||_[55]!==g||_[56]!==F?(v=(0,P.jsxs)(MN,{"data-fading-out":ej,"data-overlays":eM,ref:ea,$zIndex:F,children:[h,f,p,eC,m,g]}),_[48]=eC,_[49]=ej,_[50]=eM,_[51]=h,_[52]=f,_[53]=p,_[54]=m,_[55]=g,_[56]=F,_[57]=v):v=_[57],_[58]!==O||_[59]!==v?(y=(0,P.jsx)(MT,{comlink:O,children:v}),_[58]=O,_[59]=v,_[60]=y):y=_[60],_[61]!==O||_[62]!==y?(w=(0,P.jsx)(ME,{comlink:O,children:y}),_[61]=O,_[62]=y,_[63]=w):w=_[63],_[64]!==O||_[65]!==ee||_[66]!==w?(b=(0,P.jsx)(MH,{comlink:O,elements:ee,children:w}),_[64]=O,_[65]=ee,_[66]=w,_[67]=b):b=_[67],_[68]!==es||_[69]!==b?(x=(0,P.jsx)(vc,{children:(0,P.jsx)(vk,{element:es,children:b})}),_[68]=es,_[69]=b,_[70]=x):x=_[70],_[71]!==ek||_[72]!==x?(C=(0,P.jsx)(ms,{scheme:ek,theme:pK,tone:"transparent",children:x}),_[71]=ek,_[72]=x,_[73]=C):C=_[73],_[74]!==O||_[75]!==C?(k=(0,P.jsx)(MI,{comlink:O,children:C}),_[74]=O,_[75]=C,_[76]=k):k=_[76],k}function MG(e){return e.activated||e.focused}function Mq(e){return"id"in e.sanity?[e.sanity.id]:[]}function MY(e){return!e}function MX(e){return!e}function MK(e){return!e}function MJ(e){return!e}function MQ(e){let t=e.target;if((p3(t)||p2(t)&&t.closest("a"))&&e.altKey){e.preventDefault(),e.stopPropagation();let t=new MouseEvent(e.type,{...e,altKey:!1,bubbles:!0,cancelable:!0});e.target?.dispatchEvent(t)}}function M1(e){return e()}function M0(e){return!e}let M5={alt:"altKey",ctrl:"ctrlKey",mod:"u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)?"metaKey":"ctrlKey",shift:"shiftKey"};function M2(e){return"Alt"===e.key}function M3(e,t){return e.filter(e=>e!==t)}let M4=e=>{let t,n,r=(0,I.c)(4),{comlink:i,refresh:o}=e,s=(0,B.useRef)(0),a=(0,B.useRef)(0);return r[0]!==i||r[1]!==o?(t=()=>i.on("presentation/refresh",e=>{if("manual"===e.source){clearTimeout(s.current);let t=o(e);if(!1===t)return;i.post("visual-editing/refreshing",e);let n=!1;s.current=window.setTimeout(()=>{i.post("visual-editing/refreshed",e),n=!0},3e3),t?.finally?.(()=>{n||(clearTimeout(s.current),i.post("visual-editing/refreshed",e))})}else if("mutation"===e.source){clearTimeout(a.current);let t=o(e);if(!1===t)return;i.post("visual-editing/refreshing",e),a.current=window.setTimeout(()=>{let t=o(e);!1!==t&&(i.post("visual-editing/refreshing",e),t?.finally?.(()=>{i.post("visual-editing/refreshed",e)})||i.post("visual-editing/refreshed",e))},1e3),t?.finally?.(()=>{i.post("visual-editing/refreshed",e)})||i.post("visual-editing/refreshed",e)}}),n=[i,o],r[0]=i,r[1]=o,r[2]=t,r[3]=n):(t=r[2],n=r[3]),(0,B.useEffect)(t,n),null};function M6(e){let{data:t,origin:n}=e;t&&"object"==typeof t&&"domain"in t&&"sanity/channels"===t.domain&&"from"in t&&"presentation"===t.from&&"type"in t&&"presentation/status"===t.type&&window.parent.postMessage({domain:"sanity/channels",type:"visual-editing/status",data:{origin:location.origin}},n)}function M8(){console.warn("[@sanity/visual-editing] Package version mismatch detected: Please update your Sanity studio to prevent potential compatibility issues.")}function M9(){}let M7=(0,B.lazy)(()=>e.A(79798)),Le=e=>{var t;let n,r,i,o,s,a,l,d,u,c,h,f,p,m,g=(0,I.c)(33),{components:v,plugins:y,history:w,portal:b,refresh:x,zIndex:C,onPerspectiveChange:k}=e,j=void 0===b||b,[M,L]=(0,B.useState)(null),[S,E]=(0,B.useState)(null);g[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{(0,B.startTransition)(()=>{L((0,O.isMaybePreviewIframe)()),E((0,O.isMaybePreviewWindow)())})},r=[],g[0]=n,g[1]=r):(n=g[0],r=g[1]),(0,B.useEffect)(n,r);let[R,V]=(0,B.useState)(null);g[2]!==j?(i=()=>
1354{if(!1===j)return;let e=document.createElement("sanity-visual-editing");return document.documentElement.appendChild(e),(0,B.startTransition)(()=>V(e)),()=>{(0,B.startTransition)(()=>V(null)),document.documentElement.contains(e)&&document.documentElement.removeChild(e)}},o=[j],g[2]=j,g[3]=i,g[4]=o):(i=g[3],o=g[4]),(0,B.useEffect)(i,o);let[H,$]=function(e){let t,n,r,i,o,s=(0,I.c)(9),a=void 0===e||e,[l,d]=(0,B.useState)(),[u,c]=(0,B.useState)("idle");return s[0]!==a?(t=()=>{if(!a)return;let e=(0,CG.createNode)({name:"visual-editing",connectTo:"presentation"},(0,CG.createNodeMachine)().provide({actors:(0,O.createCompatibilityActors)()})),t=e.onStatus(()=>c("connected"),"connected");(0,B.startTransition)(()=>d(e));let n=e.start();return()=>{t(),n(),(0,B.startTransition)(()=>d(void 0))}},n=[a],s[0]=a,s[1]=t,s[2]=n):(t=s[1],n=s[2]),(0,B.useEffect)(t,n),s[3]!==u?(r=()=>{if("connected"===u)return;let e=new AbortController;return window.addEventListener("message",M6,{signal:e.signal}),()=>{e.abort()}},i=[u],s[3]=u,s[4]=r,s[5]=i):(r=s[4],i=s[5]),(0,B.useEffect)(r,i),s[6]!==l||s[7]!==u?(o=[l,u],s[6]=l,s[7]=u,s[8]=o):o=s[8],o}(!0===M||!0===S);t="connected"===$?H:void 0,(m=(0,I.c)(3))[0]!==t?(f=()=>{let e,n;if(!t)return;let r=(e=new CY.ReplaySubject(1),n=new CX.Subject,t.fetch("visual-editing/snapshot-welcome",void 0,{suppressWarnings:!0}).then(t=>{e.next(t.event)}).catch(()=>{}
1354),t.on("presentation/snapshot-event",t=>{"reconnect"===t.event.type&&e.next(t.event),"mutation"===t.event.type&&n.next(t.event)}),(0,CK.merge)(e,n)),i=jT(t),o=(0,Cq.createActor)(i,{input:{client:{withConfig:M9},sharedListener:r}});o.start();let s=new AbortController;return t.fetch("visual-editing/features",void 0,{signal:s.signal,suppressWarnings:!0}).then(e=>{e.features.optimistic&&y8(o)}).catch(M8),()=>{o.stop(),s.abort()}},p=[t],m[0]=t,m[1]=f,m[2]=p):(f=m[1],p=m[2]),(0,B.useEffect)(f,p);let A=(0,B.useDeferredValue)((0,B.useSyncExternalStore)(jG,jq,Lt),!1);g[5]!==$||g[6]!==M||g[7]!==S?(s=()=>{if("connected"===$)jI(S?"presentation-window":"presentation-iframe");else if(M||S){let e=setTimeout(Ln,1e3);return()=>{clearTimeout(e),jI(null)}}else jI("standalone");return Lr},a=[$,S,M],g[5]=$,g[6]=M,g[7]=S,g[8]=s,g[9]=a):(s=g[8],a=g[9]),(0,B.useEffect)(s,a),g[10]!==H||g[11]!==$||g[12]!==v||g[13]!==M||g[14]!==S||g[15]!==k||g[16]!==y||g[17]!==C?(l=null!==M&&null!==S&&(0,P.jsx)(MU,{comlink:H,comlinkStatus:$,componentResolver:v,onPerspectiveChange:k,plugins:y,inFrame:M,inPopUp:S,zIndex:C}),g[10]=H,g[11]=$,g[12]=v,g[13]=M,g[14]=S,g[15]=k,g[16]=y,g[17]=C,g[18]=l):l=g[18],g[19]!==H||g[20]!==w||g[21]!==x?(d=H&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(jO,{comlink:H,history:w}),(0,P.jsx)(jY,{comlink:H}),x&&(0,P.jsx)(M4,{comlink:H,refresh:x})]}),g[19]=H,g[20]=w,g[21]=x,g[22]=d):d=g[22],g[23]!==$||g[24]!==A?(u="connected"===$&&A&&(0,P.jsx)(B.Suspense,{children:(0,P.jsx)(M7,{})}),g[23]=$,g[24]=A,g[25]=u):u=g[25],g[26]!==l||g[27]!==d||g[28]!==u?(c=(0,P.jsxs)(P.Fragment,{children:[l,d,u]}),g[26]=l,g[27]=d,g[28]=u,g[29]=c):c=g[29];let T=c;return!1!==j&&R?(g[30]!==T||g[31]!==R?(h=(0,W.createPortal)(T,R),g[30]=T,g[31]=R,g[32]=h):h=g[32],h):T};function Lt(){return!1}function Ln(){return jI("standalone")}function Lr(){return jI(null)}Le.displayName="VisualEditing",e.s(["VisualEditing",0,Le,"addQueryListener",0,function(){if(jU++,!jZ)for(let e of(jZ=!0,jF))e();return()=>{if(0==--jU&&jZ)for(let e of(jZ=!1,jF))e()}},"comlink",()=>jW,"comlinkDataset",()=>jN,"comlinkPerspective",()=>jD,"comlinkProjectId",()=>jz,"getSnapshot",0,function(){return jP},"setLoaderClientConfig",0,function(e,t){for(let n of(jz=e,jN=t,jB))n()},"setLoaderComlink",0,function(e){for(let t of(jW=e,jB))t()},"setLoaderPerspective",0,function(e){for(let t of(jD=e,jB))t()},"subscribe",0,function(e){return j_.add(e),()=>{j_.delete(e)}},"subscribe$1",0,function(e){return jB.add(e),()=>jB.delete(e)}],39740)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.